3ce94409ab
feat: support itunes namespace in top channel feed ( #3776 )
...
Also preserves other properties.
2024-01-09 20:18:33 +01:00
ef378663aa
test: happy new year ( #3873 )
...
* test: happy new year
* yup
2024-01-02 16:21:52 +01:00
daef240cd2
test: add test for FeedParser ( #3754 )
2023-10-13 23:14:08 +02:00
41df17bc46
refactor ( #3712 )
...
* test: refactor test suite
* docs
* refactor
* yup
* docs
2023-10-01 19:23:30 +02:00
2172df9fa2
fix: various notice fixes ( #3718 )
2023-09-29 19:17:03 +02:00
ae53adefad
refactor: FeedItem::setTimestamp() ( #3711 )
2023-09-26 00:27:45 +02:00
f421c45b21
test: add feed item test ( #3709 )
...
* test: add feed item test
also some refactor
* yup
* yup
2023-09-25 22:32:15 +02:00
cd30c25b08
refactor ( #3708 )
2023-09-25 21:18:48 +02:00
f321f000c1
feat: add url component ( #3684 )
...
* feat: add url library
* fix
2023-09-24 18:34:09 +02:00
7329b83cc0
refactor: logger ( #3678 )
2023-09-21 22:05:55 +02:00
e6aef73a02
refactor ( #3668 )
2023-09-20 02:45:48 +02:00
4b9f6f7e53
fix: rewrite and improve caching ( #3594 )
2023-09-10 21:50:15 +02:00
a9fd3b9e61
fix(CacheInterface): logic bug in getTime ( #3491 )
...
* fix(CacheInterface): logic bug in getTime
* test
2023-07-05 17:37:21 +02:00
a21d496bc7
feat: add default arg to Configuration::getConfig ( #3331 )
2023-07-05 05:33:22 +02:00
372880b5ef
fix: file cache tweaks ( #3470 )
...
* fix: improve file cache
* fix(filecache): log when unserialize fails
2023-06-30 22:31:19 +02:00
0a8fe57003
feat: enable bridges using env var ( #3428 )
...
* refactor: bridgefactory, add tests
* refactor: move defaultly enabled bridges to config
* refactor
* refactor
* feat: add support for enabling bridges with env var
2023-06-11 03:16:03 +02:00
ca351edbfe
test: use correct path for bridges ( #3427 )
2023-06-08 23:44:26 +02:00
fbaf26e8bf
fix(html_format): add spacing below date if author is missing ( #3425 )
...
* small ui tweak
* remove unused <div>
* refactor: rename method
* refactor: inline const
* refactor
2023-06-08 23:04:16 +02:00
9e9a697b8b
feat: add config option "path" for file cache ( #3297 )
2023-03-20 19:10:01 +01:00
058e792b8f
feat: add filecache config to enable/disable real purge ( #3263 )
...
* refactor: cachefactory
* feat: add filecache config to enable/disable real purge
* test: fix test
2023-03-06 21:50:40 +01:00
007f2b2d8a
feat: sanitize root folder also in php error messages ( #3262 )
2023-03-06 21:47:25 +01:00
286790727b
fix: throw exception when outbox not found, #3255 ( #3260 )
2023-02-15 21:42:05 +01:00
c27a300e02
test: add failing mastodon test ( #3255 )
...
* fix: refactor cache factory
* test: add failing test
* add null cache
2023-02-15 21:22:37 +01:00
2ef98b299f
refactor: extract frontpage to template ( #3130 )
...
Also introduce usage of Response object
2022-11-07 18:22:54 +01:00
23f8c81646
refactor/fix: css organization and error rendering ( #3117 )
...
* fix: php notice
* refactor/feat: merge HtmlFormat.css into style.css
Also improve ux of error rendering.
* fix: center-align footer text
2022-10-29 10:46:37 +02:00
57d5aa45f7
fix: php notice in eztvbridge ( #2998 )
...
* fix: php notice in eztvbridge
Fixes Undefined property: stdClass::$torrents
* lint
2022-09-04 04:35:21 +02:00
5165ea265d
fix: case-insensitive config from env, fix #2935 ( #2973 )
...
* refactor
* fix: case-sensitive config from env, fix #2935
* lowercase all config section and keys
* test: add test for case-insensitivity
2022-08-23 21:19:53 +02:00
2bbce8ebef
refactor: general code base refactor ( #2950 )
...
* 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-06 22:46:28 +02:00
ecb486794b
refactor: use static values for cache scope
...
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-08-02 15:03:54 +02:00
0a060b2ad6
[Gab] feat: add new bridge GabBridge ( #2920 )
2022-07-31 03:52:27 +02:00
5e52ecc3f8
test: add new test for Configuration ( #2915 )
2022-07-10 20:05:27 +02:00
a966213cd7
refactor: inject the action params via its execute method ( #2907 )
2022-07-08 21:06:14 +02:00
dbf8c5b7ae
refactor(BridgeFactory): make methods only accept valid class names ( #2897 )
...
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-08 12:54:23 +02:00
d107f8ed30
Improve Factory variable names ( #2895 )
2022-07-06 12:14:04 +02:00
4f75591060
Reformat codebase v4 ( #2872 )
...
Reformat code base to PSR12
Co-authored-by: rssbridge <noreply@github.com >
2022-07-01 15:10:30 +02:00
1e7ad6ed51
[PixivBridge] Remove backwards compatability hack ( #2846 )
...
There is no need for this since the context is guessed if it's not
provided.
2022-06-24 11:31:24 +02:00
ee80f4918e
refactor: action ( #2836 )
2022-06-22 18:30:37 +02:00
b7b9378484
refactor: ActionFactory ( #2833 )
2022-06-22 18:28:07 +02:00
af5648d928
refactor: FormatFactory ( #2832 )
2022-06-22 18:27:20 +02:00
12ddee4054
tests/Formats: Simplify by using a base class ( #2779 )
...
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.
2022-06-08 02:17:32 +02:00
44e8007d9c
tests: Use PSR-4-style namespaces ( #2778 )
...
We cannot yet switch to namespaces for RSS-Bridge itself but for tests we are not limited by BC.
It does not actually do anything since PHPUnit will search for the test files without the help of the autoloader but it still makes the directory cleaner.
2022-06-07 23:22:33 +02:00
fb501652d5
Formats: Remove display & related method ( #2776 )
...
Format should not be responsible for sending HTTP response.
2022-06-07 18:05:33 +02:00
f00f90328d
refactor: extract class PepperBridgeAbstract
2022-05-13 09:29:56 +02:00
bb6d553dd5
Revert "refactor: remove unnecesary includes" ( #2723 )
...
This reverts commit fd449be4eb
.
2022-05-12 16:28:03 -04:00
fd449be4eb
refactor: remove unnecesary includes
2022-05-12 15:15:09 +02:00
158ee41be4
[AtomFormat] Remove redundant fallback content ( #2702 )
2022-05-08 04:21:32 +02:00
0c7a7f320f
refactor: BridgeFactory ( #2691 )
2022-05-08 03:58:42 +02:00
641e2eedf5
test: exclude Pixiv for a particular test
2022-05-08 03:55:24 +02:00
0ef298f9cc
refactor: add php autoloader ( #2655 )
2022-04-26 00:57:59 +02:00
d62b977394
refactor: ./tests ( #2649 )
...
* refactor: ./tests
* test: consolidate testsuites
* refactor: move config setup into rssbridge.php
Makes it easier to unit test.
* lint
2022-04-13 21:04:10 +02:00