fox
|
60658be5bc
|
Merge pull request 'Use PHP 7.4 features' (#77) from wn/tt-rss:feature/php-7.4-stuff into master
Reviewed-on: https://dev.tt-rss.org/fox/tt-rss/pulls/77
|
2022-08-17 19:38:15 +03:00 |
Andrew Dolgov
|
ec764f97e7
|
generate_syndicated_feed: add source section to JSON-formatted output
|
2022-08-16 20:02:28 +03:00 |
wn_
|
c301053965
|
Use the null coalescing assignment operator in various places.
|
2022-08-12 18:21:38 +00:00 |
Andrew Dolgov
|
c0385c2098
|
public: allow system plugins to expose public methods
|
2022-07-24 15:51:56 +03:00 |
Andrew Dolgov
|
5006c754c4
|
readability: add missing dependencies
|
2022-07-24 14:03:04 +03:00 |
Andrew Dolgov
|
cf1eaeedf3
|
* add UserHelper methods to manipulate user database (add, modify, delete)
* expose said methods via CLI (update.php)
* fix several invocations of deprecated functions
* set stricter type hints on several method arguments
|
2022-06-10 13:39:00 +03:00 |
Andrew Dolgov
|
53061d1508
|
* add HOOK_POST_LOGOUT
* auth_remote: add config option AUTH_REMOTE_POST_LOGOUT_URL
|
2021-12-06 13:20:18 +03:00 |
wn_
|
d532eb773b
|
Switch from null to false as the default for missing bool params.
|
2021-11-18 18:25:04 +00:00 |
wn_
|
2422aae577
|
Consistently handle param string to bool conversions in handlers.
|
2021-11-18 18:09:47 +00:00 |
Andrew Dolgov
|
55729b4bbd
|
fix HOOK_QUERY_HEADLINES being invoked with different argument lists, add some more phpdoc comments for base plugin class
|
2021-11-14 17:07:47 +03:00 |
wn_
|
1ec003ce35
|
Typing IHandler methods, typing Handler_Public, fix type of $feed_id (might be tag).
|
2021-11-13 14:05:48 +00:00 |
wn_
|
03495c11ed
|
Address PHPStan warnings in 'classes/sanitizer.php'.
This also includes some minor tweaks to things that call 'Sanitizer::sanitize()'.
|
2021-11-11 19:59:25 +00:00 |
Andrew Dolgov
|
9f734c9050
|
minor phpstan tweaks
|
2021-10-22 13:49:08 +03:00 |
jmechnich
|
e8f9567d79
|
fix password recovery
|
2021-08-25 18:18:04 +02:00 |
Oliver Haucke
|
cfd9e6b53b
|
FIX: public.php - Undefined index: feed_title
|
2021-04-19 10:43:30 +02:00 |
wn_
|
cd52ca80ab
|
Minor cleanup in 'Handler_Public->getProfiles'
|
2021-03-17 16:37:39 +00:00 |
wn_
|
baf3ecd4cf
|
Fix a couple of array index warnings in 'Handler_Public->forgotpass'
|
2021-03-17 16:30:17 +00:00 |
wn_
|
541a07250c
|
Switch 'Handler_Public->forgotpass' to ORM
|
2021-03-17 16:18:06 +00:00 |
wn_
|
f057c124d1
|
Switch 'Handler_Public->login' to ORM, fix 'Handler_Public->getProfiles'
|
2021-03-17 15:52:43 +00:00 |
wn_
|
7ea48f7a4b
|
Switch 'Handler_Public->rss' to ORM
|
2021-03-17 14:00:19 +00:00 |
wn_
|
b6ae280446
|
Switch 'Handler_Public->getProfiles' to ORM
|
2021-03-17 13:48:27 +00:00 |
Andrew Dolgov
|
44b274b6d4
|
remove published opml (use CLI instead)
|
2021-03-16 12:27:46 +03:00 |
Andrew Dolgov
|
27ab16b6dc
|
add Config::LOCAL_OVERRIDE_JS
|
2021-03-11 07:44:58 +03:00 |
Andrew Dolgov
|
ac6a59914b
|
nsfw: support API clients
|
2021-03-07 13:22:38 +03:00 |
Andrew Dolgov
|
4fda5ccd0e
|
fix a bunch of bookmarklets login forms not leading back
|
2021-03-04 13:40:54 +03:00 |
Andrew Dolgov
|
5eb0f3d640
|
bring back web dbupdate using new migrations system
|
2021-03-04 09:22:24 +03:00 |
Andrew Dolgov
|
d6629ed188
|
move dbupdater to db/updater; move base SCHEMA_VERSION constant inside db/updater class
|
2021-03-02 15:03:01 +03:00 |
Andrew Dolgov
|
70adfd4a74
|
* sanitize: never rewrite relative links to our own prefix
* use Config::get_self_url() instead of get_self_url_prefix() in a bunch
of places
|
2021-03-02 08:16:41 +03:00 |
Andrew Dolgov
|
f96abd2b52
|
generate_syndicated_feed: timestamp is a strtotime() expression, not an integer
|
2021-03-01 16:16:50 +03:00 |
Andrew Dolgov
|
320503dd39
|
move version-related stuff to Config; fix conditional feed requests
|
2021-03-01 13:43:37 +03:00 |
Andrew Dolgov
|
34c74400a4
|
enforce some stricter type checking for loggers
|
2021-02-25 17:10:03 +03:00 |
Andrew Dolgov
|
dcf0135285
|
logger: shorter syntax
|
2021-02-25 15:49:30 +03:00 |
Andrew Dolgov
|
59c14e9c00
|
api: remove base64 encoded passwords (wtf), log all authentication failures in userhelper
|
2021-02-25 15:39:46 +03:00 |
Andrew Dolgov
|
efd196839a
|
stop caching schema version entirely, fix some session_start() related warnings
|
2021-02-25 15:28:27 +03:00 |
Andrew Dolgov
|
c96172fa04
|
use constants in get_pref()/set_pref()
|
2021-02-25 14:49:58 +03:00 |
Andrew Dolgov
|
988eb3ac91
|
initial (wip) for new prefs
|
2021-02-25 09:33:36 +03:00 |
Andrew Dolgov
|
8d2e3c2528
|
drop errors.php and simplify error handling
|
2021-02-23 22:26:07 +03:00 |
Andrew Dolgov
|
e4107ac952
|
wip: initial for config object
|
2021-02-22 21:47:48 +03:00 |
Andrew Dolgov
|
be4e7b1340
|
fix several issues reported by phpstan
|
2021-02-22 14:41:09 +03:00 |
Andrew Dolgov
|
d1328321be
|
move published OPML endpoint to public.php
|
2021-02-21 15:16:39 +03:00 |
Andrew Dolgov
|
053b262aa7
|
rename public.php/cached_url to cached
|
2021-02-19 20:28:15 +03:00 |
Andrew Dolgov
|
fc0ebf0891
|
move bookmarklet-related methods out of public.php into the plugin
|
2021-02-19 20:21:36 +03:00 |
Andrew Dolgov
|
c088e9d9d8
|
get rid of a few more prototype-isms
|
2021-02-18 22:23:06 +03:00 |
Andrew Dolgov
|
70fa423026
|
initial for RIP prototype/scriptaculous
|
2021-02-18 21:51:18 +03:00 |
Andrew Dolgov
|
273ada7353
|
* implement shortcut syntax for exposed plugin methods
* move shared article rendering code to share plugin
|
2021-02-17 09:59:14 +03:00 |
Andrew Dolgov
|
26d6b84a57
|
add namespaced controls with unified naming; deprecated old-style control shortcuts
|
2021-02-16 14:23:00 +03:00 |
Andrew Dolgov
|
39604bedef
|
move reset_password to UserHelper
|
2021-02-15 16:59:54 +03:00 |
Andrew Dolgov
|
6426ae559a
|
dbupdater: unify naming
|
2021-02-15 16:14:00 +03:00 |
Andrew Dolgov
|
166f2d4666
|
diskcache: unify naming
|
2021-02-15 16:11:30 +03:00 |
Andrew Dolgov
|
8e79f1717d
|
prefs: unify naming
|
2021-02-15 16:07:22 +03:00 |