Commit Graph

9859 Commits

Author SHA1 Message Date
Andrew Dolgov 68e2b05f65 * move get_article_image to Article; implement better og:image detection (similar to android app)
* pass article image to API clients in headlines row object
2019-08-14 16:55:38 +03:00
Andrew Dolgov 26dbe02968 Merge branch 'weblate-integration' 2019-08-14 16:07:16 +03:00
Andrew Dolgov afc1ddb43a Translated using Weblate (Russian)
Currently translated at 88.8% (645 of 726 strings)

Translation: Tiny Tiny RSS/messages
Translate-URL: https://weblate.tt-rss.org/projects/tt-rss/messages/ru/
2019-08-14 10:49:37 +00:00
Edgar Pireyn 274fdd2733 Translated using Weblate (Dutch)
Currently translated at 99.0% (719 of 726 strings)

Translation: Tiny Tiny RSS/messages
Translate-URL: https://weblate.tt-rss.org/projects/tt-rss/messages/nl/
2019-08-14 10:49:36 +00:00
Edgar Pireyn 734c305e0c Translated using Weblate (French)
Currently translated at 100.0% (726 of 726 strings)

Translation: Tiny Tiny RSS/messages
Translate-URL: https://weblate.tt-rss.org/projects/tt-rss/messages/fr/
2019-08-14 10:49:34 +00:00
Andrew Dolgov 9806a2b5ff bump version_static 2019-08-14 13:38:20 +03:00
Andrew Dolgov c34726b2b2 consistency: use DiskCache->exists() to check for present files 2019-08-14 12:52:41 +03:00
Andrew Dolgov 6914ad1f74 retire MIN_CACHE_FILE_SIZE 2019-08-14 12:44:50 +03:00
Andrew Dolgov 84974c60a7 RSSUtils::cache_media, cache_enclosures: use DiskCache 2019-08-14 12:15:56 +03:00
Andrew Dolgov 39f459eb04 public/cached_url: forbid sending files with extensions 2019-08-14 10:45:46 +03:00
Andrew Dolgov d2f1cbfcb1 af_zz_imgproxy: redirect to cached_url (3!!) 2019-08-14 10:10:27 +03:00
Andrew Dolgov c6ae5fbda1 af_zz_imgproxy: redirect to cached_url if cache already exists so that urls are a bit shorter (2) 2019-08-14 10:01:05 +03:00
Andrew Dolgov e7edaca4db af_zz_imgproxy: redirect to cached_url if cache already exists so that urls are a bit shorter 2019-08-14 09:58:40 +03:00
Andrew Dolgov 3c075bfd21 DiskCache: more strict checking for input filenames, getUrl() is no longer static 2019-08-14 09:49:18 +03:00
Andrew Dolgov 65450f8a2b Merge branch 'master' of git.tt-rss.org:fox/tt-rss 2019-08-14 08:25:09 +03:00
Andrew Dolgov b0fbae938d Merge branch 'weblate-integration' 2019-08-14 08:25:01 +03:00
Andrew Dolgov fdb6066bf6 * HOOK_ENCLOSURE_ENTRY: pass article_id to handler
* DiskCache: multiple fixes; support isWritable() for cache entries, set content-disposition for send()
* public/cached_url: allow selecting files from sub-caches other than images
* plugins/Cache_Starred_Images: rework to use DiskCache, can be enabled per-user, properly handles article enclosures, etc
2019-08-13 16:40:21 +03:00
Andrew Dolgov bed695b127 DiskCache::expire: support .no-auto-expiry to prevent automatic cache maintenance 2019-08-13 14:18:14 +03:00
Andrew Dolgov 19b9b27662 expire_cached_files to DiskCache::expire() 2019-08-13 14:13:42 +03:00
Vladimir Budylnikov d0c82d33a7 Translated using Weblate (Russian)
Currently translated at 88.8% (645 of 726 strings)

Translation: Tiny Tiny RSS/messages
Translate-URL: https://weblate.tt-rss.org/projects/tt-rss/messages/ru/
2019-08-13 10:03:50 +00:00
Andrew Dolgov 133c2b482b move rewrite_cached_urls to DiskCache::rewriteUrls() 2019-08-13 12:46:57 +03:00
Andrew Dolgov b1dd38f880 add DiskCache.getUrl() and use it in a bunch of places 2019-08-13 12:39:21 +03:00
Andrew Dolgov 7602819b98 add DiskCache.send; switch af_zz_imgproxy to use DiskCache 2019-08-13 12:20:53 +03:00
Andrew Dolgov 82694bd6ce add DiskCache.isWritable 2019-08-13 12:15:43 +03:00
Andrew Dolgov 86308b30ea add classes/diskcache 2019-08-13 12:04:36 +03:00
Andrew Dolgov b68db2d02c Merge branch 'weblate-integration' 2019-08-09 15:40:01 +03:00
洪偉翔 9eb43aa74b Translated using Weblate (Chinese (Traditional))
Currently translated at 98.1% (712 of 726 strings)

Translation: Tiny Tiny RSS/messages
Translate-URL: https://weblate.tt-rss.org/projects/tt-rss/messages/zh_Hant/
2019-08-08 12:15:03 +00:00
洪偉翔 ae880a2d46 Translated using Weblate (Chinese (Traditional))
Currently translated at 98.1% (712 of 726 strings)

Translation: Tiny Tiny RSS/messages
Translate-URL: https://weblate.tt-rss.org/projects/tt-rss/messages/zh_Hant/
2019-08-07 07:15:05 +00:00
Andrew Dolgov a60297b920 remove import_export plugin (replaced with ttrss-data-migration) 2019-08-06 09:54:12 +03:00
Andrew Dolgov 6825aaff55 update SSL certificate wiki link 2019-08-02 08:03:20 +03:00
Andrew Dolgov aa40a268f0 parser: support multiple dc:creator elements (returns as comma-separated list) 2019-08-02 06:22:42 +03:00
Andrew Dolgov 4edfb526e1 change version.json endpoint URL 2019-08-01 11:51:27 +03:00
Andrew Dolgov 76bc53a499 Merge branch 'weblate-integration' 2019-07-31 22:20:00 +03:00
洪偉翔 062de4518b Translated using Weblate (Chinese (Traditional))
Currently translated at 86.8% (630 of 726 strings)

Translation: Tiny Tiny RSS/messages
Translate-URL: https://weblate.tt-rss.org/projects/tt-rss/messages/zh_Hant/
2019-07-31 13:04:09 +00:00
Marcin Sadowski 779651b9a0 Translated using Weblate (Polish)
Currently translated at 99.6% (723 of 726 strings)

Translation: Tiny Tiny RSS/messages
Translate-URL: https://weblate.tt-rss.org/projects/tt-rss/messages/pl/
2019-07-31 13:04:04 +00:00
Andrew Dolgov d172abb037 scroll handler: also invoke lazy load if last article in buffer is currently active 2019-07-30 16:13:47 +03:00
Andrew Dolgov c35a618b00 lazy load (infinite scrolling) changes:
1. invoke Headlines.loadMore() if last article row is close to becoming visible instead of relying on headlines-spacer offset to viewport

2. allow one final last lazy load request if incomplete buffer was received to permit some flexibility with unread counters possible changing while request was generated / serving remainder of articles
2019-07-30 15:54:47 +03:00
Andrew Dolgov 8c982679c7 Merge branch 'weblate-integration' 2019-07-30 07:29:43 +03:00
洪偉翔 72ee27e320 Translated using Weblate (Chinese (Traditional))
Currently translated at 82.2% (597 of 726 strings)

Translation: Tiny Tiny RSS/messages
Translate-URL: https://weblate.tt-rss.org/projects/tt-rss/messages/zh_Hant/
2019-07-27 10:11:34 +00:00
Eduardo Kalinowski 64dedd3e28 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (726 of 726 strings)

Translation: Tiny Tiny RSS/messages
Translate-URL: https://weblate.tt-rss.org/projects/tt-rss/messages/pt_BR/
2019-07-20 18:11:46 +00:00
Roberto Michán Sánchez ab7d91821a Translated using Weblate (Spanish)
Currently translated at 100.0% (726 of 726 strings)

Translation: Tiny Tiny RSS/messages
Translate-URL: https://weblate.tt-rss.org/projects/tt-rss/messages/es/
2019-07-20 18:11:39 +00:00
Andrew Dolgov 5829ee9498 main toolbar: set order values for main toolbar elements 2019-07-15 13:43:32 +03:00
Andrew Dolgov e8523733b0 filter dialog: add inline regexp checker 2019-07-12 12:40:42 +03:00
Andrew Dolgov 86a014f23b add placeholder Filters.filterDlgCheckRegExp 2019-07-12 10:47:18 +03:00
Andrew Dolgov ea30061cce public: fix share() returning random unshared articles if uuid is not given 2019-07-05 16:02:51 +03:00
Andrew Dolgov 088fcf8131 move more globals to more appropriate places
set libxml to always use internal errors
2019-06-20 08:40:02 +03:00
Andrew Dolgov 4fa9aee4e7 move several more global functions to more appropriate classes 2019-06-20 08:14:06 +03:00
Andrew Dolgov 6d746453c7 get_feeds_from_html: remove XML preamble hack
move several related helper functions to Feeds class
2019-06-20 07:51:48 +03:00
Andrew Dolgov 270b39a337 queryFeedHeadlines: support start_ts when browsing by tag 2019-06-18 13:10:32 +03:00
Andrew Dolgov 8b9c82f285 Merge branch 'weblate-integration' 2019-06-17 14:47:04 +03:00