summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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.
2023-11-01forgot one jobAndrew Dolgov
2023-11-01do the same for :publish jobsAndrew Dolgov
2023-11-01fix yaml indentsAndrew Dolgov
2023-11-01add .git to .dockerignore when building master imagesAndrew Dolgov
2023-11-01pass .git to docker context so self-built images would have some way to ↵Andrew Dolgov
determine version without CI variables
2023-10-29add some more phpunit api testsprotected/phpunit-integrationAndrew Dolgov
2023-10-29pass API_URL to phpunit-integration CLIAndrew Dolgov
2023-10-29fix apitestAndrew Dolgov
2023-10-29fix circular dependencyAndrew Dolgov
2023-10-29reduce targetsAndrew Dolgov
2023-10-29add phpunit integration (wip)Andrew Dolgov
2023-10-28add stuff necessary to run integration tests using phpunitAndrew Dolgov
2023-10-28add always-failing mock of api testAndrew Dolgov
2023-10-28phpunit - skip integration testsAndrew Dolgov
2023-10-28use python unittest for selenium testsAndrew Dolgov