Dag
4bad1c140a
fix(reddit): url encoding ( #4010 )
2024-03-12 23:59:10 +01:00
Dag
c4fceab7b3
refactor(FeedParser): ( #3928 )
2024-01-29 21:51:06 +01:00
Dag
d08d13f2c8
refactor: introduce http Request object ( #3926 )
2024-01-25 16:06:24 +01:00
Dag
9574c17ddc
refactor/fix ( #3924 )
2024-01-25 13:03:00 +01:00
Dag
06b299e627
refactor: prepare for introduction of token based authentication ( #3921 )
2024-01-24 23:06:23 +01:00
Dag
3ce94409ab
feat: support itunes namespace in top channel feed ( #3776 )
...
Also preserves other properties.
2024-01-09 20:18:33 +01:00
Dag
ef378663aa
test: happy new year ( #3873 )
...
* test: happy new year
* yup
2024-01-02 16:21:52 +01:00
Dag
daef240cd2
test: add test for FeedParser ( #3754 )
2023-10-13 23:14:08 +02:00
Dag
41df17bc46
refactor ( #3712 )
...
* test: refactor test suite
* docs
* refactor
* yup
* docs
2023-10-01 19:23:30 +02:00
Dag
2172df9fa2
fix: various notice fixes ( #3718 )
2023-09-29 19:17:03 +02:00
Dag
ae53adefad
refactor: FeedItem::setTimestamp() ( #3711 )
2023-09-26 00:27:45 +02:00
Dag
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
Dag
cd30c25b08
refactor ( #3708 )
2023-09-25 21:18:48 +02:00
Dag
f321f000c1
feat: add url component ( #3684 )
...
* feat: add url library
* fix
2023-09-24 18:34:09 +02:00
Dag
7329b83cc0
refactor: logger ( #3678 )
2023-09-21 22:05:55 +02:00
Dag
e6aef73a02
refactor ( #3668 )
2023-09-20 02:45:48 +02:00
Dag
4b9f6f7e53
fix: rewrite and improve caching ( #3594 )
2023-09-10 21:50:15 +02:00
Dag
a9fd3b9e61
fix(CacheInterface): logic bug in getTime ( #3491 )
...
* fix(CacheInterface): logic bug in getTime
* test
2023-07-05 17:37:21 +02:00
Dag
a21d496bc7
feat: add default arg to Configuration::getConfig ( #3331 )
2023-07-05 05:33:22 +02:00
Dag
372880b5ef
fix: file cache tweaks ( #3470 )
...
* fix: improve file cache
* fix(filecache): log when unserialize fails
2023-06-30 22:31:19 +02:00
Dag
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
Dag
ca351edbfe
test: use correct path for bridges ( #3427 )
2023-06-08 23:44:26 +02:00
Dag
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
Dag
9e9a697b8b
feat: add config option "path" for file cache ( #3297 )
2023-03-20 19:10:01 +01:00
Dag
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
Dag
007f2b2d8a
feat: sanitize root folder also in php error messages ( #3262 )
2023-03-06 21:47:25 +01:00
Dag
286790727b
fix: throw exception when outbox not found, #3255 ( #3260 )
2023-02-15 21:42:05 +01:00
Dag
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
Dag
2ef98b299f
refactor: extract frontpage to template ( #3130 )
...
Also introduce usage of Response object
2022-11-07 18:22:54 +01:00
Dag
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
Dag
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
Dag
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
Dag
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
Dag
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
Dag
0a060b2ad6
[Gab] feat: add new bridge GabBridge ( #2920 )
2022-07-31 03:52:27 +02:00
Dag
5e52ecc3f8
test: add new test for Configuration ( #2915 )
2022-07-10 20:05:27 +02:00
Dag
a966213cd7
refactor: inject the action params via its execute method ( #2907 )
2022-07-08 21:06:14 +02:00
Jan Tojnar
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
Jan Tojnar
d107f8ed30
Improve Factory variable names ( #2895 )
2022-07-06 12:14:04 +02:00
Dag
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
Yaman Qalieh
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
Dag
ee80f4918e
refactor: action ( #2836 )
2022-06-22 18:30:37 +02:00
Dag
b7b9378484
refactor: ActionFactory ( #2833 )
2022-06-22 18:28:07 +02:00
Dag
af5648d928
refactor: FormatFactory ( #2832 )
2022-06-22 18:27:20 +02:00
Jan Tojnar
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
Jan Tojnar
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
Jan Tojnar
fb501652d5
Formats: Remove display & related method ( #2776 )
...
Format should not be responsible for sending HTTP response.
2022-06-07 18:05:33 +02:00
Dag
f00f90328d
refactor: extract class PepperBridgeAbstract
2022-05-13 09:29:56 +02:00
Yaman Qalieh
bb6d553dd5
Revert "refactor: remove unnecesary includes" ( #2723 )
...
This reverts commit fd449be4eb
.
2022-05-12 16:28:03 -04:00
Dag
fd449be4eb
refactor: remove unnecesary includes
2022-05-12 15:15:09 +02:00