summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-01-20Use FeedEnclosure throughout RSSUtils.wn_
2024-01-19Merge branch 'bugfix/web-nginx-healthcheck' into 'master'Andrew Dolgov
Use APP_BASE in the web-nginx health check URL. See merge request tt-rss/tt-rss!21
2024-01-19Use APP_BASE in the web-nginx health check URL.wn_
2024-01-13Merge branch 'feature/unused-var-cleanup' into 'master'Andrew Dolgov
Clean up some unused variables. See merge request tt-rss/tt-rss!19
2024-01-13Merge branch 'feature/reduce-fetch-error-message' into 'master'Andrew Dolgov
Only include the exception message in 'UrlHelper::$fetch_last_error'. See merge request tt-rss/tt-rss!20
2024-01-09Only include the exception message in 'UrlHelper::$fetch_last_error'.wn_
Before this the stack trace was included, which is a bit much.
2024-01-09shorten DIGEST_MIN_SCORE help textAndrew Dolgov
2024-01-09 * mark get_pref/set_pref wrappers as deprecatedAndrew Dolgov
* add per-user preference for minimal score required for digest
2024-01-09* mail test - fill user email address as defaultAndrew Dolgov
* digest - fix some warnings
2024-01-08Clean up some unused variables.wn_
This is essentially https://gitlab.tt-rss.org/wn/tt-rss/-/commit/1ccc0c8c1af04dd9654b585c6d07e3a75d944a0c without the renames and some other things related to Psalm.
2023-12-31Merge branch 'feature/urlhelper-fetch-do-assoc-opts' into 'master'Andrew Dolgov
Update all UrlHelper::fetch() calls to use the associative array approach. See merge request tt-rss/tt-rss!18
2023-12-30Update all UrlHelper::fetch() calls to use the associative array approach.wn_
The other approach (passing in individual params) was marked as deprecated a few years ago.
2023-12-29Merge branch 'feature/early-fail-disallowed-redirects' into 'master'Andrew Dolgov
Perform validation of redirect URLs during the redirect process. See merge request tt-rss/tt-rss!17
2023-12-29Perform validation of redirect URLs during the redirect process.wn_
Previously, validation was only done after all redirects and the final request had completed. This approach ensures all redirects are to URLs that pass extended validation.
2023-12-24Merge branch 'feature/use-guzzle' into 'master'Andrew Dolgov
Use Guzzle See merge request tt-rss/tt-rss!16
2023-12-24Fix specifying auth type in UrlHelper::fetch(), add a test for 403 auth retry.wn_
2023-12-23Appease PHPStan in UrlHelperTestwn_
2023-12-23Add some tests for UrlHelper::fetch()wn_
2023-12-23Ensure the feed name is easily visible when looking at the feeds with errors ↵wn_
list.
2023-12-23Rework content encoding error retrying in UrlHelper::fetch()wn_
2023-12-23Clean up UrlHelper::resolve_redirects().wn_
Also: this doesn't appear to be used... but maybe in some plugin?
2023-12-23Add back 'any auth' retry in UrlHelper::fetch()wn_
2023-12-22Use Guzzlewn_
2023-12-18Merge branch 'dont-sanitize-figure-tag' into 'master'Andrew Dolgov
sanitizer: keep <figure> intact See merge request tt-rss/tt-rss!15
2023-12-18sanitizer: add a test to make sure <figure> is intactChih-Hsuan Yen
Somehow with the old approach, `<figure>` is rearranged into `<head>`, and the latter is stripped by `Sanitizer::strip_harmful_tags()` (see [1]). The issue is fixed by [2]. Here I added a test for the regression. [1] https://community.tt-rss.org/t/unexpected-behavior-with-figure-tag/6244 [2] https://gitlab.tt-rss.org/tt-rss/tt-rss/-/commit/67012f9dac7de22615b72be93fa360f53fefe3ec
2023-12-17Revert "Fix sanitizer with libxml2 >= 2.12.0"Andrew Dolgov
This reverts commit d4da4dcc321ca65fb2cd19877f395cc5f75933ab.
2023-12-10bump CI jobs & utility scripts to php83Andrew Dolgov
2023-12-10Merge branch 'master' of gitlab.tt-rss.org:tt-rss/tt-rssAndrew Dolgov
2023-12-10Merge branch 'feature/php-8.3' into 'master'Andrew Dolgov
Bump to Alpine 3.19 and PHP 8.3. See merge request tt-rss/tt-rss!14
2023-12-07Bump to Alpine 3.19 and PHP 8.3.wn_
* https://alpinelinux.org/posts/Alpine-3.19.0-released.html * https://www.php.net/releases/8.3/en.php
2023-12-02add coverage-filterAndrew Dolgov
2023-12-02add phpunit code coverage driverAndrew Dolgov
2023-12-02add some unittest options for xmlrunnerAndrew Dolgov
2023-12-02fix filenameAndrew Dolgov
2023-12-02enable unit test results for seleniumAndrew Dolgov
2023-12-02collect phpunit artifactsprotected/sanitizer-testAndrew Dolgov
2023-12-02add env prefixesAndrew Dolgov
2023-12-02add db varsAndrew Dolgov
2023-12-02add cobertura args for phpunit-integrationAndrew Dolgov
2023-12-02disable local rules for integration testssanitizer-testAndrew Dolgov
2023-12-02add sanitizer integration testAndrew Dolgov
2023-12-01Merge branch 'fix-sanitizer-new-libxml2' into 'master'Andrew Dolgov
Fix sanitizer with libxml2 >= 2.12.0 See merge request tt-rss/tt-rss!12
2023-11-26Fix sanitizer with libxml2 >= 2.12.0Chih-Hsuan Yen
Somehow with newer libxml2, `<?xml encoding="UTF-8">` no longer enforces UTF-8. Instead, non-ASCII contents are treated as ISO-8859-1 and get broken. For example, `<p>中文</p>` becomes `<p>&auml;&cedil;&shy;&aelig;&#150;&#135;</p>` (should be `<p>&#20013;&#25991;</p>`). Switching to another trick mentioned on [1] fixes the issue, and the new trick still works with older libxml2 (tested 2.11.5). As a side note, DOMDocument::loadHTML uses HTMLParser in libxml2 [2][3]. [1] https://stackoverflow.com/questions/8218230/php-domdocument-loadhtml-not-encoding-utf-8-correctly [2] https://github.com/php/php-src/blob/php-8.1.26/ext/dom/document.c#L1855 [3] https://gnome.pages.gitlab.gnome.org/libxml2/devhelp/libxml2-HTMLparser.html
2023-11-25set registry projectAndrew Dolgov
2023-11-07use variable for fastcgi_pass to force resolver usageAndrew Dolgov
2023-11-07explicitly set resolver in the nginx container (configurable envvar)Andrew Dolgov
2023-11-03add wip UI/backend stuff to filter feed treeAndrew Dolgov
2023-11-01add wait-for-element to selenium testAndrew Dolgov
2023-11-01remove .git before_scriptsAndrew Dolgov
2023-11-01Revert "pass .git to docker context so self-built images would have some way ↵Andrew Dolgov
to determine version without CI variables" This reverts commit 5cfde4cada59052a963903627752fb85d055267c.