Andrew Dolgov
dd9d017f7d
add another coalesce for rule inverse
4 years ago
Andrew Dolgov
9b321be270
get_article_filters: set coalesce values for inverse and match_any_rule
4 years ago
Andrew Dolgov
270f0c3132
general cleanup, set some type hints
4 years ago
Andrew Dolgov
63651bd91d
fix some leftover variables
4 years ago
Andrew Dolgov
e5469479c1
* don't try to update custom set feed favicons
...
* cleanup update_rss_feed() a bit, use ORM
4 years ago
Andrew Dolgov
e8e6329040
rename unfairly prefixed get_enclosures() in feeditem
4 years ago
Andrew Dolgov
5eb0f3d640
bring back web dbupdate using new migrations system
4 years ago
Andrew Dolgov
d6629ed188
move dbupdater to db/updater; move base SCHEMA_VERSION constant inside db/updater class
4 years ago
Andrew Dolgov
2005a7bf4f
revise behavior of Feeds::_cat_of
4 years ago
Andrew Dolgov
b150e46a52
revert back load_filters-related changes
4 years ago
Andrew Dolgov
56f658711f
use orm for a bunch of short feed/cat queries
4 years ago
Andrew Dolgov
320503dd39
move version-related stuff to Config; fix conditional feed requests
4 years ago
Andrew Dolgov
afc7142250
move all $fetch globals to UrlHelper
4 years ago
Andrew Dolgov
126b1fd2de
don't try to compare null value against anything
4 years ago
Andrew Dolgov
a1ca62af50
cache schema version better
4 years ago
Andrew Dolgov
dcf0135285
logger: shorter syntax
4 years ago
Andrew Dolgov
c96172fa04
use constants in get_pref()/set_pref()
4 years ago
Andrew Dolgov
7f18e8c33b
updater: show owner login instead of just uid
4 years ago
Andrew Dolgov
7869378436
deal with feed update scheduling w/ new prefs
4 years ago
Andrew Dolgov
2ae0b7059f
cleanup some defined-stuff
4 years ago
Andrew Dolgov
211f699aa0
migrate the rest into Config::
4 years ago
Andrew Dolgov
e4107ac952
wip: initial for config object
4 years ago
wn_
6fbf7ef368
Remove check against the old file in 'RSSUtils::check_feed_favicon'.
4 years ago
wn_
02a9485966
Try to limit max favicon size, don't store current/old in a var.
4 years ago
wn_
cb401af6f6
Let 'RSSUtils::check_feed_favicon' update existing favicons.
4 years ago
Andrew Dolgov
7fad6ce651
move rgb/hsl functions to their own namespace
4 years ago
Andrew Dolgov
166f2d4666
diskcache: unify naming
4 years ago
Andrew Dolgov
257efb43c6
article: unify naming
4 years ago
Andrew Dolgov
020f062a76
feeds: unify naming
4 years ago
Andrew Dolgov
71dfc83466
force _ENABLED_PLUGINS to string when passed to pluginhost
4 years ago
Andrew Dolgov
7874f6ac58
remove PHPMD.UnusedFormalParameter
4 years ago
Andrew Dolgov
363b3629a4
rewrite a few more hooks
4 years ago
Andrew Dolgov
3b52cea811
move some old-style handlers to new callback ones
4 years ago
Andrew Dolgov
1eb1629d9e
pluginhost: rework run_hooks() to be shorter, add callback variant; implement exception handling for both
4 years ago
Andrew Dolgov
3ad820e083
oops, remove unneeded warnings
4 years ago
Andrew Dolgov
479da5aa86
jimIcon: hide GD warning
4 years ago
Andrew Dolgov
b6e1a5c91a
fix several warnings reported by phpstan
4 years ago
Andrew Dolgov
ce489a724b
fix a few more warnings
4 years ago
Andrew Dolgov
403dca154c
initial WIP for php8; bump php version requirement to 7.0
4 years ago
Andrew Dolgov
da0ad82c24
Archive cleanup:
...
- remove code to manually archive/unarchive articles
- remove ttrss_archived_feeds/orig_feed_id handling - the whole thing was implemented for
this data to be kept indefinitely; it doesn't make a lot of sense to deal with this stuff
now that it is expired after one month anyway (same reasons as feed browser being removed - privacy)
- remove "originally from"-related stuff because of the above
- also remove unused remaining frontend/backend code related to feed browser (rip)
4 years ago
Andrew Dolgov
40f38fc87f
pluginhost: load plugin data automatically (also marks load_data method as private)
4 years ago
Andrew Dolgov
f59c567831
update_rss_feed: fix BLACKLISTED_TAGS not working properly, simplify tag-related code
4 years ago
JustAMacUser
f782ee46ad
Fix incorrect parenthesis placement in `count()`.
4 years ago
Andrew Dolgov
f1fd5e8db1
mark feed as having an error if update task fails (and no last error is already stored for this feed)
4 years ago
Andrew Dolgov
4ea407f613
when auto disabling feeds based on DAEMON_UNSUCCESSFUL_DAYS_LIMIT only consider feeds with recent attempts to update (to prevent clashes with not recently logged users, etc)
4 years ago
Andrew Dolgov
38a7a1da88
hide uninteresting errors in several DOMDocument->loadHTML() invocations
4 years ago
Andrew Dolgov
8a02a728c8
add DAEMON_UNSUCCESSFUL_DAYS_LIMIT tunable (defaults to 30 days)
4 years ago
Andrew Dolgov
e641547d37
set ttrss_feeds.last_successful_update as needed
4 years ago
Andrew Dolgov
15e8ee3471
housekeeping: add task to cleanup orphan feed icons
4 years ago
Andrew Dolgov
82bc740363
Logger::log - allow specifying errno
...
bump severity of PDO exception log messages to E_USER_WARNING
4 years ago