Commit Graph

7906 Commits

Author SHA1 Message Date
Andrew Dolgov 3b44aae0f3 sanitize: allow <description> 2016-01-23 02:17:00 +03:00
Andrew Dolgov 7d1e15c396 parser: properly support tag subtrees instead of text content for article content 2016-01-23 01:48:32 +03:00
Andrew Dolgov d2bb392bae Revert "parser: use node->c14n() instead of expecting html in nodeValue"
This reverts commit 1383514ad9.
2016-01-23 01:24:13 +03:00
Andrew Dolgov 1383514ad9 parser: use node->c14n() instead of expecting html in nodeValue 2016-01-23 01:04:24 +03:00
Andrew Dolgov a93047802c rebase translations 2016-01-17 16:34:59 +03:00
Andrew Dolgov 6a3c902f81 Merge branch 'po_fixes' into 'master'
Fixes to .po files

There were a few minor problems in the .po files, mostly invalid headers. Nothing serious, but the fixes are also quite simple.

See merge request !24
2016-01-17 16:33:32 +03:00
Andrew Dolgov 368bd7ea49 add feed debugger to update.php 2016-01-17 14:24:20 +03:00
Andrew Dolgov b1cefbc506 af_psql_trgm: fix min_title_length not being used while processing articles 2016-01-17 11:32:10 +03:00
Andrew Dolgov c352248651 get_article_tags: while getting tags from cache check if article entry actually exists 2016-01-14 12:12:35 +03:00
Andrew Dolgov 312742db6e updates: auto-disable CURL if open_basedir is enabled, notify possible issues w/ plugins 2016-01-13 18:12:31 +03:00
Andrew Dolgov 393fc7d6b5 update static version 2016-01-12 16:44:14 +03:00
Eduardo M KALINOWSKI 35a0a87913 Added (untranslated/fuzzy) boilerplate for messages with plural forms for tr_TR. 2016-01-10 20:53:54 -02:00
Eduardo M KALINOWSKI 1ec807cc2b Added Plural-Forms to ca_CA and nb_NO. 2016-01-10 20:53:54 -02:00
Eduardo M KALINOWSKI b6314220f1 The code for Denmark is DK, rename to reflect that. 2016-01-10 20:53:54 -02:00
Eduardo M KALINOWSKI 6e1862384c Fixed some small errors in the headers. 2016-01-10 20:53:54 -02:00
Eduardo M KALINOWSKI ea1623a1bd Correct Plural-Forms for pt_PT. 2016-01-10 20:53:54 -02:00
Andrew Dolgov 0b41bd3414 add some hacks to hopefully mitigate headlines memory leaks 2016-01-11 01:11:26 +03:00
Andrew Dolgov 5bdcb8fd78 remove option ALLOW_DUPLICATE_POSTS as confusing/useless 2016-01-07 22:01:35 +03:00
Andrew Dolgov 4f186b1f10 fix broken article processing if ALLOW_DUPLICATE_POSTS is enabled 2016-01-07 21:49:31 +03:00
Andrew Dolgov c203486e04 cache_starred_images: set filename when sending cached image 2016-01-06 21:00:53 +03:00
Andrew Dolgov 9b736a20b3 do not automatically call cleanup_tags() in housekeeping tasks 2016-01-04 10:42:24 +03:00
Andrew Dolgov 2dde1e2109 Merge branch 'lang_pt_BR' into 'master'
pt_BR translation update

I've updated the pt_BR translation, adding missing strings and correctly some other strings to make them more consistent across the application.

See merge request !23
2016-01-04 10:39:04 +03:00
Eduardo M KALINOWSKI 31d1cd42c6 pt_BR translation improvements. 2016-01-03 15:41:27 -02:00
Eduardo M KALINOWSKI 9fffa13981 Corrected Language field in header. 2016-01-03 08:39:23 -02:00
Eduardo M KALINOWSKI ed88573b5b Updated pt_BR translation. 2016-01-02 17:00:14 -02:00
Eduardo M KALINOWSKI c5f2c6332c Corrected Plural-Forms, as there are only two possible forms in Portuguese. 2016-01-02 17:00:14 -02:00
Andrew Dolgov 7f4fff96b1 Merge branch 'update-new-feeds-first-postgres' into 'master'
Update new feeds first in postgres

As disscussed in the forum: https://tt-rss.org/forum/viewtopic.php?f=10&t=3644&p=21594#p21594, 

this fixes a bug where newly added feeds wouldn't be updated if the number of total feeds exceeded the DAEMON_FEED_LIMIT.

See merge request !22
2015-12-31 16:58:08 +03:00
Thomas Kramer 98070db009 Update new feeds first in postgres 2015-12-31 12:54:52 +01:00
Andrew Dolgov 85d067e837 tag_is_valid: check numeric tags properly 2015-12-30 15:15:18 +03:00
Andrew Dolgov 9842b51c71 getfeedname: fix for non-numeric feeds (tags) 2015-12-30 15:11:39 +03:00
Andrew Dolgov 5eed9e2e18 Merge branch 'af_unburn_fetch_only_headers' into 'master'
af_unburn: Fetch only the headers in order to get the real article URL.

As discussed in the forum https://tt-rss.org/forum/viewtopic.php?f=8&t=3631 , this change makes af_unburn download only the headers in order to find the real URL, saving bandwidth.

See merge request !21
2015-12-25 15:10:45 +03:00
Eduardo M KALINOWSKI fb59c87932 Fetch only the headers in order to get the real article URL. 2015-12-25 09:59:51 -02:00
Andrew Dolgov a536f94c8d sanitize: clear out @srcset/@sizes on images leading to http sites when running over https 2015-12-17 09:59:53 +03:00
Andrew Dolgov 6eed9a7463 Merge branch 'master' of git.tt-rss.org:fox/tt-rss 2015-12-07 20:07:37 +03:00
Andrew Dolgov a956648502 catchup_feed: proper fix for mysql 5.7 2015-12-07 20:07:13 +03:00
Andrew Dolgov 33d131d699 ttrss_gc: return true 2015-12-07 15:25:31 +03:00
Andrew Dolgov 040aa5408a fix previous, owner_uid not passed in daemon context 2015-12-07 15:06:32 +03:00
Andrew Dolgov a8ac766132 do not discard custom set article tags when updating from source 2015-12-07 11:54:24 +03:00
Andrew Dolgov c4d0e08060 Merge branch 'af-readability' into 'master'
Fix array checking method in 2 places, add array check in one location for af_readability

See: https://tt-rss.org/gitlab/fox/tt-rss/merge_requests/19

Update method of array checking to is_array() in 2 locations, add the same check in another location that could have compared a NULL.

See merge request !20
2015-12-06 00:22:29 +03:00
Troy Engel 5d5f100f4f Fix array checking method in 2 places, add array check in one location 2015-12-05 15:03:01 -06:00
Troy Engel 3e220fd131 Revert "Fix accidental use of emtpy array: [E_WARNING (2) plugins/af_readability/init.php:186 Invalid argument supplied for foreach()]"
This reverts commit beaddcba96.
2015-12-05 14:49:54 -06:00
Andrew Dolgov f61f2a2699 format_headlines_list: fix pg_num_rows() called incorrectly when firstid check failed 2015-12-05 04:04:44 +03:00
Andrew Dolgov 24e6ff5d1c calculate_article_hash: strip tags before hashing fields 2015-12-05 03:10:57 +03:00
Troy Engel beaddcba96 Fix accidental use of emtpy array: [E_WARNING (2) plugins/af_readability/init.php:186 Invalid argument supplied for foreach()] 2015-12-04 13:45:10 -06:00
Andrew Dolgov bfd902bbcc sanity_check: enforce minimum php version (5.4) 2015-12-04 19:03:57 +03:00
Andrew Dolgov b8619f8db0 store formatted backtrace to sql log 2015-12-04 15:58:20 +03:00
Andrew Dolgov 555afc2ea7 disable inner p width restriction for now 2015-12-04 11:38:00 +03:00
Andrew Dolgov 1bd552ee31 compat patches for php7 2015-12-04 09:29:58 +03:00
Andrew Dolgov 9bd422c2e7 set_basic_feed_info: fix missing column 2015-12-03 19:21:17 +03:00
Andrew Dolgov eed5467759 Revert "set_basic_feed_info: bail out if feed doesn't exist"
This reverts commit d77bd1a5d2.
2015-12-03 19:18:50 +03:00