Commit Graph

11251 Commits

Author SHA1 Message Date
Andrew Dolgov e35a4a1306 tests: add stub autoloader, add a few more rewrite_relative tests 2022-03-22 14:32:32 +03:00
Andrew Dolgov 1c4f7ab3b8 * add phpunit as a dev dependency
* add some basic tests for UrlHelper::rewrite_relative()
 * fix UrlHelper::rewrite_relative() to work better on non-absolute
   relative URL paths
2022-03-22 12:24:31 +03:00
Andrew Dolgov 7116629487 af_readability: ask readability-php library to fix relative URLs 2022-03-22 11:26:22 +03:00
Andrew Dolgov 1703850215 Merge branch 'master' of git.tt-rss.org:fox/tt-rss 2022-03-10 14:45:44 +03:00
Andrew Dolgov 6f14a5b261 Merge branch 'weblate-integration' 2022-03-10 14:45:19 +03:00
Pascal Borkenhagen 451556b171 Translated using Weblate (German)
Currently translated at 98.4% (655 of 665 strings)

Translation: Tiny Tiny RSS/messages
Translate-URL: https://weblate.tt-rss.org/projects/tt-rss/messages/de/
2022-03-10 09:59:26 +00:00
fox 95431890be Merge pull request 'Support PHP 8.1 while keeping compatibility with 7.x' (#67) from yan12125/tt-rss:php8.1 into master
Reviewed-on: https://git-gitea.tt-rss.org/fox/tt-rss/pulls/67
2022-03-08 20:15:01 +03:00
David Edler de1e218a83
various fixes vor php 8.1 compatibility
Cherry-picked from https://git-gitea.tt-rss.org/fox/tt-rss/pulls/56,
while excluding changes in vendor/ (causes compatiblity issues with
PHP<8 [1]) and strftime-related ones (already re-applied in
https://git-gitea.tt-rss.org/fox/tt-rss/pulls/66).

[1] https://community.tt-rss.org/t/support-for-php-8-1/5089/9
2022-03-09 00:46:15 +08:00
Andrew Dolgov a395574516 actions dropdown: add context-sensitive UI layout labels 2022-02-25 18:45:00 +03:00
Andrew Dolgov 39c0bd378a getAllCounters: set default value if frontend doesn't pass label or feed id count 2022-02-25 12:41:53 +03:00
Andrew Dolgov 806b46d0c4 * add actions dropdown to toggle combined mode
* hide 'toggle widescreen' menu item when in combined mode
 * unify some mode toggling code in App
2022-02-24 21:07:53 +03:00
Andrew Dolgov bd0af3ae9e inline attachment links: break long words to prevent horizontal scrolling 2022-02-23 22:16:59 +03:00
Andrew Dolgov 9a5c21630b update.php: better error reporting if invoked with PHP SAPI other than CLI 2022-02-20 16:35:32 +03:00
Andrew Dolgov f7e2f62022 fix Feeds::_get_counters() used improperly as a replacement for
getFeedUnread()
2022-02-20 12:48:38 +03:00
Andrew Dolgov 77f39d65b5 * Feeds::_get_counters - fix retrieving unread for tags
* mark several symbols as @deprecated properly
 * replace uses of (deprecated) getFeedUnread() with Feeds::_get_counters()
2022-02-20 11:04:40 +03:00
Andrew Dolgov 168dc6fe57 rewrite_relative: prevent php warning when checking for unset content type in EXTRA_SCHEMES_BY_CONTENT_TYPE 2022-02-18 16:44:03 +03:00
Andrew Dolgov 74a247fc5c rewrite_relative: whitelist specific schemes for URLs with 'known' content-types i.e. specified for enclosures 2022-02-17 22:38:38 +03:00
Andrew Dolgov 89ef98e57e allow running as root in a container environment 2022-02-17 17:32:02 +03:00
Andrew Dolgov 079f6dfdd0 Merge branch 'master' of git.tt-rss.org:fox/tt-rss 2022-02-05 11:50:02 +03:00
Andrew Dolgov 6738f5c86b note: use proper hook to set click handlers 2022-02-05 11:49:33 +03:00
xosé m 9282804b35 Translated using Weblate (Galician)
Currently translated at 100.0% (665 of 665 strings)

Translation: Tiny Tiny RSS/messages
Translate-URL: https://weblate.tt-rss.org/projects/tt-rss/messages/gl/
2022-02-04 12:18:26 +00:00
fox a7d6ead956 Merge pull request 'Replace deprecated `strftime`' (#66) from dxbi/tt-rss:replace-strftime into master
Reviewed-on: https://git.tt-rss.org/fox/tt-rss/pulls/66
2022-02-03 18:34:10 +03:00
Felix Eckhofer cc30198b3d
Replace deprecated `strftime` 2022-02-03 16:13:01 +01:00
Andrew Dolgov 4e35c44add Merge branch 'master' of git.tt-rss.org:fox/tt-rss 2022-02-01 13:17:11 +03:00
Andrew Dolgov 6077175c57 plugins/note: allow editing note by clicking on it 2022-02-01 13:16:23 +03:00
xosé m f2d71d62b7 Translated using Weblate (Galician)
Currently translated at 69.6% (463 of 665 strings)

Translation: Tiny Tiny RSS/messages
Translate-URL: https://weblate.tt-rss.org/projects/tt-rss/messages/gl/
2022-01-30 07:18:15 +00:00
fox b59bde7b45 Merge pull request 'Add workaround for boolean values being intergers with MySQL/PHP 8.1' (#65) from Schrottfresse/tt-rss:master into master
Reviewed-on: https://git.tt-rss.org/fox/tt-rss/pulls/65
2022-01-28 10:43:34 +03:00
Schrottfresse 931e33c381 Add workaround for boolean values being intergers with MySQL/PHP 8.1 2022-01-28 08:37:29 +01:00
xosé m 14b1a037ff Translated using Weblate (Galician)
Currently translated at 49.7% (331 of 665 strings)

Translation: Tiny Tiny RSS/messages
Translate-URL: https://weblate.tt-rss.org/projects/tt-rss/messages/gl/
2022-01-26 08:41:22 +00:00
Andrew Dolgov 478c9b64a9 make sure notification is closed when saving/creating filter 2022-01-25 22:39:18 +03:00
Andrew Dolgov c57ebf2c10 fix filter last_triggered not updating 2022-01-25 22:33:13 +03:00
xosé m b4684ed462 Translated using Weblate (Galician)
Currently translated at 39.5% (263 of 665 strings)

Translation: Tiny Tiny RSS/messages
Translate-URL: https://weblate.tt-rss.org/projects/tt-rss/messages/gl/
2022-01-23 14:41:07 +00:00
Andrew Dolgov fc432f95f7 Added translation using Weblate (Galician) 2022-01-21 15:58:10 +00:00
Andrew Dolgov 56fd06d611 make sure #headline-spacer click to open prompt is not obscured when
mark as read on scroll is enabled

https://community.tt-rss.org/t/click-to-open-next-unread-feed-hidden-by-scrolling/5190
2022-01-21 17:41:11 +03:00
Андрій Жук 765dff83f2 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (665 of 665 strings)

Translation: Tiny Tiny RSS/messages
Translate-URL: https://weblate.tt-rss.org/projects/tt-rss/messages/uk/
2022-01-19 09:41:30 +00:00
fox 49d93989af Merge pull request 'Fix starred images not being deleted' (#64) from klempin/tt-rss:master into master
Reviewed-on: https://git.tt-rss.org/fox/tt-rss/pulls/64
2022-01-17 20:14:29 +03:00
Philip Klempin a769ccc51c Fix starred images not being deleted 2022-01-16 22:44:46 +00:00
Andrew Dolgov 3cdbd4422c share plugin: fix previous 2022-01-14 18:08:33 +03:00
Andrew Dolgov f1759786d7 rework several instances of translated strings being used with single quotes as HTML element attribute values 2022-01-14 18:03:50 +03:00
fox d3f26cc4a6 Merge pull request '[RFC] update_rss_feed: juxtapose pdo and ORM commit on timestamp update' (#63) from rtollert/tt-rss:update-rss-deadlock1 into master
Reviewed-on: https://git.tt-rss.org/fox/tt-rss/pulls/63
2022-01-14 10:24:57 +03:00
Richard Tollerton aaccf89501 update_rss_feed: juxtapose pdo and ORM commit on timestamp update
If for whatever reason $pdo holds a DDL lock on ttrss_entries, it could
block ORM's save, leading to a deadlock. To work around this, call
$pdo->commit() before ORM::for_table()->save().
2022-01-13 23:39:49 -06:00
Andrew Dolgov 420782418d Merge branch 'master' of git.tt-rss.org:fox/tt-rss 2022-01-13 13:59:41 +03:00
Andrew Dolgov 304845f380 Merge branch 'master' of git.fakecake.org:fox/tt-rss 2022-01-13 13:59:36 +03:00
Andrew Dolgov 8cf9c451dc Headlines: fix multiple article ids not passed to setScore as an array 2022-01-13 13:59:21 +03:00
fox 4a4928ea25 Merge pull request 'af_readability: use data-src for images if available' (#62) from woodoo/tt-rss:master into master
Reviewed-on: https://git.tt-rss.org/fox/tt-rss/pulls/62
2022-01-09 14:54:18 +03:00
Eugene Molotov ac6a34f097
af_readability: use data-src for images if available
data-src is popular attribute to store original images for lazy loading via javascript
2022-01-09 14:51:36 +05:00
fox f1607902e6 Merge pull request 'themes: Fix incorrect blur and opacity interaction' (#61) from suraia/tt-rss:blur-opacity into master
Reviewed-on: https://git.tt-rss.org/fox/tt-rss/pulls/61
2022-01-06 10:38:42 +03:00
Andrew Dolgov c3482fbe6b generate a warning if plugin-generated content of HOOK_ARTICLE_BUTTON or _LEFT_BUTTON can't be parsed as valid XML 2022-01-06 10:37:03 +03:00
Michael Kuhn 1ff52bff81 themes: Fix incorrect blur and opacity interaction
Chrome sometimes seems to have problems when using a blur
backdrop-filter in combination with opacity. On Linux, this often
results in the blur being completely ignored. This also seems to apply
to other systems, though. See the following issue for more details:
https://bugs.chromium.org/p/chromium/issues/detail?id=1129838

Making the background opaque using rgba seems to fix the problem.
2022-01-05 20:42:21 +01:00
Andrew Dolgov 97baf3e8b9 process gallery media in the correct order 2021-12-23 17:33:04 +03:00