Andrew Dolgov
7c9b5a3fe4
move label stuff to Labels class
...
fix some unresolved functions
8 years ago
Andrew Dolgov
c2f0f24e4c
move digest stuff to Digest class
8 years ago
Andrew Dolgov
4a0da0e5bf
move get_article_labels to Article
8 years ago
Andrew Dolgov
2ed0d6c433
move counter cache to a separate class
...
fix references to get_article_tags
8 years ago
Andrew Dolgov
a230bf88a9
move to Article:
...
+ static function purge_orphans($do_output = false) {
move to Feeds
+ static function getGlobalUnread($user_id = false) {
+ static function getCategoryTitle($cat_id) {
+ static function getLabelUnread($label_id, $owner_uid = false) {
8 years ago
Andrew Dolgov
07d3431e28
update_rss_feed: minor code cleanup
8 years ago
Andrew Dolgov
ea79a0e033
remove some redundant php closing tags
8 years ago
Andrew Dolgov
7b55001eee
fix various issues reported by static analysis
...
update gitlab-ci config
8 years ago
Andrew Dolgov
86e534290e
enclosures: rewrite relative urls on import, duh
8 years ago
Andrew Dolgov
388d4dfa88
enable caching of media in article enclosures
8 years ago
Andrew Dolgov
41bead9baa
remove local file extensions and generalize some method names for cached media
...
file extensions may still be present in urls, but are ignored by the backend
MIGRATION (if you have any cached data worth keeping, not required):
in cache/images run "rename 's/\..*$//' *" i.e. strip file extensions
8 years ago
Luc Didry
453787526a
Improve update_feedbrowser_cache SQL query
8 years ago
Andrew Dolgov
5edd605ae1
image cache: do not try to cache data: schema urls; add caching of html5 video content (similar to cache_starred_images plugin)
8 years ago
Andrew Dolgov
cb3f877303
reference pubsubhubbub classes using their namespace
8 years ago
Anders Kaseorg
becd215a75
lib: Upgrade php-subscriber from ??? to 1213f89 (2016-11-15)
...
https://github.com/pubsubhubbub/php-subscriber
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
8 years ago
Andrew Dolgov
17a8e61d2a
deprecate encrypted feed passwords because mcrypt is getting removed from php 7.1
...
1. transparent decryption for existing installs stays for the time being
2. new passwords are not going to be encrypted even if FEED_CRYPT_KEY is defined
3. added update.php --decrypt-feeds to bulk decrypt existing encrypted passwords
4. updated install to not auto-generate crypt key
5. added warning to config.php-dist
8 years ago
Andrew Dolgov
3d5d289077
set_basic_feed_info: fix typo
8 years ago
Andrew Dolgov
bfe1eb4e52
rssfuncs: fix warning when trying to update nonexisting feed
8 years ago
Andrew Dolgov
12ff230bc2
maybe we shouldn't escape entry_author twice
8 years ago
Andrew Dolgov
e3dceca66b
get_article_filters: add unicode modifier to preg_match()
8 years ago
Andrew Dolgov
557d86fe42
better debugging for matched filter rules
8 years ago
Andrew Dolgov
5cbd1fe8e4
perform housekeeping tasks for plugins loaded in user-context only
8 years ago
JustAMacUser
babfadbfd2
Pass the value of cache_images to plugins in HOOK_ARTICLE_FILTER.
8 years ago
JustAMacUser
dae16f72c9
Only strings need 4-byte filtering.
8 years ago
Andrew Dolgov
638fdf732a
update_rss_feed: log warning when attempting to update unknown feed
9 years ago
Andrew Dolgov
9e84bab449
daemon common: use proper update condition checking for secondary-selected feeds
9 years ago
Andrew Dolgov
0edf1d0dc0
update_rss_feed: disable support for http 304 for the time being
9 years ago
Andrew Dolgov
0bc503ff9a
update_rss_feed: escape dumped content while debugging
9 years ago
Andrew Dolgov
312742db6e
updates: auto-disable CURL if open_basedir is enabled, notify possible issues w/ plugins
9 years ago
Andrew Dolgov
5bdcb8fd78
remove option ALLOW_DUPLICATE_POSTS as confusing/useless
9 years ago
Andrew Dolgov
4f186b1f10
fix broken article processing if ALLOW_DUPLICATE_POSTS is enabled
9 years ago
Andrew Dolgov
9b736a20b3
do not automatically call cleanup_tags() in housekeeping tasks
9 years ago
Thomas Kramer
98070db009
Update new feeds first in postgres
9 years ago
Andrew Dolgov
040aa5408a
fix previous, owner_uid not passed in daemon context
9 years ago
Andrew Dolgov
a8ac766132
do not discard custom set article tags when updating from source
9 years ago
Andrew Dolgov
24e6ff5d1c
calculate_article_hash: strip tags before hashing fields
9 years ago
Andrew Dolgov
9bd422c2e7
set_basic_feed_info: fix missing column
9 years ago
Andrew Dolgov
eed5467759
Revert "set_basic_feed_info: bail out if feed doesn't exist"
...
This reverts commit d77bd1a5d2
.
9 years ago
Andrew Dolgov
d77bd1a5d2
set_basic_feed_info: bail out if feed doesn't exist
9 years ago
Andrew Dolgov
fd3e5e8da4
get_article_filters: check if action.type is set
9 years ago
Andrew Dolgov
978989bb7b
shorten previous a bit
9 years ago
Skibbi
e22e0d686c
Prevent concatenating words for full text search index
9 years ago
JustAMacUser
4a27966e78
Keep local cached images fresh if file exists.
...
Updates the cache_images() function to `touch` images if the file exists already. Some sites (e.g. news) re-use stock images and this change updates the local file's modified time every time the image is referenced in new articles. This should prevent the local file from being expired/deleted only to be re-cached later on.
9 years ago
Andrew Dolgov
b87744534a
add plugin-based filter actions (see example plugin in attic)
...
bump schema
9 years ago
Andrew Dolgov
07877caf40
Revert "update: reenable first ref_id/id transaction"
...
This reverts commit 14ce0e2504
.
9 years ago
Andrew Dolgov
14ce0e2504
update: reenable first ref_id/id transaction
9 years ago
Andrew Dolgov
dab229cd1f
update_rss_feed: disable transactions for the time being
9 years ago
Andrew Dolgov
df659891ac
implement per-feed stemming language setting
9 years ago
Andrew Dolgov
e854442e1f
more fts stuff for simple index
9 years ago
Andrew Dolgov
35c3735494
fix article tags/labels not assigning properly on mysql because of the 4byte unicode workaround
10 years ago