Commit Graph

11484 Commits

Author SHA1 Message Date
Andrew Dolgov 185234bc67 gulp task: add flatpak node16 sdk to path because it doesn't inherit launch environment 2022-06-05 11:23:01 +03:00
Andrew Dolgov 9457bb090a fix PHP8 undefined array key warning when resetting prefs to defaults 2022-06-05 11:14:42 +03:00
Andrew Dolgov d391a01de7 bookmarklets: fix wiki URL 2022-05-30 11:50:25 +03:00
Andrew Dolgov 5adedcd3d0 fix custom-set site URLs never used while updating feeds 2022-05-29 08:02:12 +03:00
Andrew Dolgov 484ab26a3b Merge branch 'weblate-integration' 2022-05-28 23:04:12 +03:00
Andrew Dolgov b0059d3f88 when determining feed-specific favicon, instead of using first match or generic fallback, go through entire list of determined favicon URLs 2022-05-28 22:27:59 +03:00
fox 09fb2273e6 Merge pull request 'minor: Support html content in mailer.php' (#72) from hardway/tt-rss:master into master
Reviewed-on: https://dev.tt-rss.org/fox/tt-rss/pulls/72
2022-05-24 16:49:26 +03:00
Hardway Hou 9e557501fa trivia: coding style 2022-05-24 20:49:01 +08:00
Hardway Hou b91ffae292 minor: Support html content in mailer.php 2022-05-24 10:09:46 +08:00
Andrew Dolgov 1b3e655f89 use CURLAUTH_BASIC by default for password-protected feeds, keeping
CURLAUTH_ANY as a fallback in case we got a 403.
2022-05-23 08:43:04 +03:00
fox 1152b2454e Merge pull request 'Fix xml parsing error' (#70) from Sie/tt-rss:parsing-fix into master
Reviewed-on: https://dev.tt-rss.org/fox/tt-rss/pulls/70
2022-05-22 12:34:45 +03:00
Siemenskun 3406a16025 Fix typo 2022-05-22 02:02:56 +03:00
Siemenskun d33d026b12 Fix xml parsing error
Move re-requesting logic before parsing response body, otherwise it puts HTTP headers into XML body
2022-05-22 01:46:46 +03:00
fox 659ad8537a Update 'CONTRIBUTING.md' 2022-05-21 21:21:32 +03:00
Andrew Dolgov 68e49203d1 make phpstan stfu about unmatcher ignored errors (seriously) 2022-05-11 11:12:45 +03:00
Andrew Dolgov d781354539 add some more phpstan excludes 2022-05-11 07:56:29 +03:00
Mikalai 715ff2145b Translated using Weblate (Belarusian)
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/be/
2022-04-18 19:08:29 +00:00
Andrew Dolgov b17b4a4b9e fix be locale label 2022-04-18 13:04:29 +03:00
Andrew Dolgov ddb6f4316c enable Belarusian translation (proper UI label pending) 2022-04-18 10:49:18 +03:00
Andrew Dolgov 06940cdd6e Merge branch 'weblate-integration' 2022-04-18 10:21:39 +03:00
Mikalai c9de9f55bc Translated using Weblate (Belarusian)
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/be/
2022-04-17 16:50:10 +00:00
Mikalai f41ab8e0c8 Translated using Weblate (Belarusian)
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/be/
2022-04-17 16:34:49 +00:00
Mikalai d3160af52d Translated using Weblate (Belarusian)
Currently translated at 48.5% (323 of 665 strings)

Translation: Tiny Tiny RSS/messages
Translate-URL: https://weblate.tt-rss.org/projects/tt-rss/messages/be/
2022-04-17 11:57:52 +00:00
Andrew Dolgov 1b1236dc49 Added translation using Weblate (Belarusian) 2022-04-17 06:55:31 +00:00
Andrew Dolgov 2654b3c6be disable some pointless startup sanity checks when running under docker 2022-04-03 19:39:34 +03:00
Andrew Dolgov 41a52c8333 update CONTRIBUTING.md re: gitea registration 2022-03-31 16:35:18 +03:00
Andrew Dolgov 585f37e418 Merge branch 'master' of git.tt-rss.org:fox/tt-rss 2022-03-29 13:52:39 +03:00
Andrew Dolgov 4250386ba5 set last_login_update session variable immediately when logging in 2022-03-29 13:52:22 +03:00
fox ea4bbd7a46 Merge pull request 'Fix af_comics for explosm after site changes' (#68) from ekalin/tt-rss:fix_explosm into master
Reviewed-on: https://git-gitea.tt-rss.org/fox/tt-rss/pulls/68
2022-03-28 20:33:14 +03:00
Eduardo M KALINOWSKI fdd1831c5d Fix af_comics for explosm after site changes 2022-03-28 12:32:30 -03:00
Andrew Dolgov 385da287d8 rewrite_relative: deal with undefined path warning 2022-03-22 19:43:32 +03:00
Andrew Dolgov 0345e9d3f6 rewrite_relative: use isset() to check for relative path 2022-03-22 16:18:22 +03:00
Andrew Dolgov ee54904274 add phpunit configuration 2022-03-22 14:34:05 +03:00
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