aboutsummaryrefslogtreecommitdiff
path: root/tests (follow)
AgeCommit message (Collapse)AuthorFilesLines
2025-01-25feat(FeedParser): recursively parse rss modules (#4422)Gravatar Dag 1-0/+79
Also stop excluding the media module fix #4415
2025-01-03fix(url): disallowed wonky path (#4386)Gravatar Dag 1-0/+6
2024-08-23refactor: format rendering (#4229)Gravatar Dag 2-2/+2
2024-08-08refactor: deprecate FeedItem constructor (#4201)Gravatar Dag 2-35/+6
* fix: bug in prior commit * refactor: deprecate FeedItem constructor * test: fix
2024-07-31fix(FeedParser): scrape out content from rss content:encoded (#4178)Gravatar Dag 1-8/+11
* fix(FeedParser): parse content module from rss2 * refactor
2024-03-12fix(reddit): url encoding (#4010)Gravatar Dag 2-23/+33
2024-01-29refactor(FeedParser): (#3928)Gravatar Dag 1-0/+55
2024-01-25refactor: introduce http Request object (#3926)Gravatar Dag 1-1/+1
2024-01-25refactor/fix (#3924)Gravatar Dag 2-7/+10
2024-01-24refactor: prepare for introduction of token based authentication (#3921)Gravatar Dag 1-0/+57
2024-01-09feat: support itunes namespace in top channel feed (#3776)Gravatar Dag 12-25/+93
Also preserves other properties.
2024-01-02test: happy new year (#3873)Gravatar Dag 1-2/+3
* test: happy new year * yup
2023-10-13test: add test for FeedParser (#3754)Gravatar Dag 1-0/+128
2023-10-01refactor (#3712)Gravatar Dag 4-103/+126
* test: refactor test suite * docs * refactor * yup * docs
2023-09-29fix: various notice fixes (#3718)Gravatar Dag 1-0/+10
2023-09-26refactor: FeedItem::setTimestamp() (#3711)Gravatar Dag 1-1/+18
2023-09-25test: add feed item test (#3709)Gravatar Dag 1-0/+30
* test: add feed item test also some refactor * yup * yup
2023-09-25refactor (#3708)Gravatar Dag 2-2/+2
2023-09-24feat: add url component (#3684)Gravatar Dag 1-0/+47
* feat: add url library * fix
2023-09-21refactor: logger (#3678)Gravatar Dag 5-165/+12
2023-09-20refactor (#3668)Gravatar Dag 1-2/+1
2023-09-10fix: rewrite and improve caching (#3594)Gravatar Dag 2-10/+7
2023-07-05fix(CacheInterface): logic bug in getTime (#3491)Gravatar Dag 1-0/+1
* fix(CacheInterface): logic bug in getTime * test
2023-07-05feat: add default arg to Configuration::getConfig (#3331)Gravatar Dag 1-0/+1
2023-06-30fix: file cache tweaks (#3470)Gravatar Dag 1-0/+12
* fix: improve file cache * fix(filecache): log when unserialize fails
2023-06-11feat: enable bridges using env var (#3428)Gravatar Dag 4-7/+52
* refactor: bridgefactory, add tests * refactor: move defaultly enabled bridges to config * refactor * refactor * feat: add support for enabling bridges with env var
2023-06-08test: use correct path for bridges (#3427)Gravatar Dag 1-1/+1
2023-06-08fix(html_format): add spacing below date if author is missing (#3425)Gravatar Dag 1-1/+1
* small ui tweak * remove unused <div> * refactor: rename method * refactor: inline const * refactor
2023-03-20feat: add config option "path" for file cache (#3297)Gravatar Dag 2-15/+38
2023-03-06feat: add filecache config to enable/disable real purge (#3263)Gravatar Dag 1-1/+1
* refactor: cachefactory * feat: add filecache config to enable/disable real purge * test: fix test
2023-03-06feat: sanitize root folder also in php error messages (#3262)Gravatar Dag 1-4/+11
2023-02-15fix: throw exception when outbox not found, #3255 (#3260)Gravatar Dag 1-17/+0
2023-02-15test: add failing mastodon test (#3255)Gravatar Dag 1-0/+17
* fix: refactor cache factory * test: add failing test * add null cache
2022-11-07refactor: extract frontpage to template (#3130)Gravatar Dag 1-31/+8
Also introduce usage of Response object
2022-10-29refactor/fix: css organization and error rendering (#3117)Gravatar Dag 1-0/+7
* fix: php notice * refactor/feat: merge HtmlFormat.css into style.css Also improve ux of error rendering. * fix: center-align footer text
2022-09-04fix: php notice in eztvbridge (#2998)Gravatar Dag 1-0/+9
* fix: php notice in eztvbridge Fixes Undefined property: stdClass::$torrents * lint
2022-08-23fix: case-insensitive config from env, fix #2935 (#2973)Gravatar Dag 1-5/+18
* refactor * fix: case-sensitive config from env, fix #2935 * lowercase all config section and keys * test: add test for case-insensitivity
2022-08-06refactor: general code base refactor (#2950)Gravatar Dag 1-0/+15
* refactor * fix: bug in previous refactor * chore: exclude phpcompat sniff due to bug in phpcompat * fix: do not leak absolute paths * refactor/fix: batch extensions checking, fix DOS issue
2022-08-02refactor: use static values for cache scopeGravatar Dag 1-6/+0
This fixes a future problem when code is placed under a namespace because `get_class($bridge)` will then return e.g. `RssBridge\Bridge\TwitterBridge` instead of the the current value `TwitterBridge`. Also a bit refactoring of `Configuration.php`.
2022-07-31[Gab] feat: add new bridge GabBridge (#2920)Gravatar Dag 1-0/+19
2022-07-10test: add new test for Configuration (#2915)Gravatar Dag 1-0/+31
2022-07-08refactor: inject the action params via its execute method (#2907)Gravatar Dag 1-1/+1
2022-07-08refactor(BridgeFactory): make methods only accept valid class names (#2897)Gravatar Jan Tojnar 2-2/+2
This moves the responsibility for getting a valid class name to the users of BridgeFactory, avoiding the repeated sanitation. Improper use can also be checked statically.
2022-07-06Improve Factory variable names (#2895)Gravatar Jan Tojnar 2-6/+6
2022-07-01Reformat codebase v4 (#2872)Gravatar Dag 9-507/+554
Reformat code base to PSR12 Co-authored-by: rssbridge <noreply@github.com>
2022-06-24[PixivBridge] Remove backwards compatability hack (#2846)Gravatar Yaman Qalieh 1-5/+1
There is no need for this since the context is guessed if it's not provided.
2022-06-22refactor: action (#2836)Gravatar Dag 2-5/+3
2022-06-22refactor: ActionFactory (#2833)Gravatar Dag 1-1/+0
2022-06-22refactor: FormatFactory (#2832)Gravatar Dag 1-1/+0
2022-06-08tests/Formats: Simplify by using a base class (#2779)Gravatar Jan Tojnar 4-171/+91
There is a lot of redundancy. Let’s not repeat ourselves. Unfortunately, since we do not install PHPUnit as a project dependency on CI, it does not use the composer’s PSR-4 autoloader and the tests are unable to find the `BaseFormatTest` class. Until we resolve that, let’s load the class explicitly.