Dag
6afd13eb06
refactor: deprecate FeedItem constructor ( #4201 )
...
* fix: bug in prior commit
* refactor: deprecate FeedItem constructor
* test: fix
2024-08-08 03:43:26 +02:00
Dag
2a96bf19b5
fix: bug in prior commit ( #4200 )
2024-08-08 02:55:35 +02:00
Dag
9973f731df
feat: introduce RateLimitException ( #4199 )
2024-08-08 02:13:04 +02:00
Dag
9215b95779
fix: bug in prior refactor ( #4197 )
2024-08-07 18:56:27 +02:00
Dag
6ec9193546
yuop ( #4193 )
2024-08-07 00:21:06 +02:00
Dag
8ae716e75c
fix: improve github issue template ( #4181 )
2024-07-31 21:57:33 +02:00
Dag
8a1f2604aa
fix: bug in prior refactor ( #4179 )
...
* fix: bug in prior refactor
* fix deprecation notice
2024-07-31 19:25:51 +02:00
Dag
b8a9f34527
fix(FeedParser): scrape out content from rss content:encoded ( #4178 )
...
* fix(FeedParser): parse content module from rss2
* refactor
2024-07-31 19:04:07 +02:00
Dag
73289324bd
feat: add vendor http header to cached responses ( #4040 )
2024-03-31 21:02:55 +02:00
Dag
545dc969d3
refactor ( #4037 )
2024-03-31 03:38:42 +02:00
Dag
e58c867a82
feat: token authentication ( #3927 )
2024-01-25 18:20:02 +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
d157816e07
fix(reddit): cache tweak for 403 forbidden ( #3830 )
2023-12-13 21:56:14 +01:00
Dag
41df17bc46
refactor ( #3712 )
...
* test: refactor test suite
* docs
* refactor
* yup
* docs
2023-10-01 19:23:30 +02:00
Dag
cd30c25b08
refactor ( #3708 )
2023-09-25 21:18:48 +02:00
Dag
b3b0736761
feat: improve error/exception ui ( #3690 )
2023-09-23 18:54:14 +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
ed97ce8646
fix: dont fail for non-existing enabled bridge ( #3589 )
...
* fix: dont fail for non-existing enabled bridge
* yup
2023-08-01 19:35:15 +02:00
Dag
74635fd752
fix(DisplayAction): improve error handling and cache logic ( #3558 )
...
* fix(DisplayAction): improve error handling and cache logic
* restore prev timeouts
* refactor
* yup
* test: fix unit test
* leave twitter client unchanged
* leave twitter bridge unchanged
2023-07-23 23:05:35 +02:00
Dag
6254b8593e
refactor(cache): extract and encapsulate cache expiration logic ( #3547 )
...
* refactor(cache): extract and encapsulate cache expiration logic
* fix: logic bug in getSimpleHTMLDOMCached
* fix: silly me, index should of course be on the key column
* silly me again, PRIMARY keys get index by default lol
* comment out the delete portion in loadData
* remove a few log statements
* tweak twitter cache timeout
2023-07-19 05:05:49 +02:00
Dag
310160fd92
feat: improve http 429 handling ( #3541 )
2023-07-16 07:18:38 +02:00
Dag
8b996e3056
refactor: display action ( #3508 )
2023-07-08 17:06:33 +02:00
Dag
c1c8304fc0
refactor: dont create multiple instances of the cache ( #3504 )
2023-07-08 17:03:12 +02:00
Dag
5e22459eb6
fix: remove unnecessary calls to purgeCache ( #3502 )
2023-07-06 18:52:19 +02:00
Dag
caac7f572c
refacor: improve cache interface ( #3492 )
...
* fix: proper typehint on setScope
* refactor: type hint setKey()
* typehint
2023-07-06 15:10:30 +02:00
Dag
f8801d8cb3
feat: add system config enable_maintenance_mode ( #3497 )
2023-07-06 15:09:44 +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
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
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
ee498eadf9
fix: move debug mode to config ( #3324 )
...
* fix: move debug mode to config
* fix: also move debug_whitelist to .ini config
* fix: move logic back to Debug class
* docs
* docs
* fix: disable debug mode by default
* fix: restore previous behavior for alerts
* fix: center-align alert text
2023-06-02 20:22:09 +02:00
Dag
7f1b32f390
feat: add a proper feed item uid when the bridge errors out ( #3237 )
...
* refactor: move function to class
* fix: use the computed bridge name as cache key
* refactor: extract method
* fix: set a feed item uid on errors
* docs
* fix: remove year from uid
2023-02-02 22:53:01 +01:00
Dag
88766e6fde
fix: produce smaller log records for http exceptions ( #3153 )
2022-11-18 21:36:06 +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
ffbc107687
Improve logging and error handling ( #3059 )
...
* refactor: logging and errror handling
2022-10-16 17:55:43 +02:00
Dag
27b3d7c34e
feat: improve logging and error handling ( #2994 )
...
* feat: improve logging and error handling
* trim absolute path from file name
* fix: suppress php errors from xml parsing
* fix: respect the error reporting level in the custom error handler
* feat: dont log error which is produced by bots
* ignore error about invalid bridge name
* upgrade bridge exception from warning to error
* remove remnants of using phps builin error handler
* move responsibility of printing php error from logger to error handler
* feat: include url in log record context
* fix: always include url in log record contect
Also ignore more non-interesting exceptions.
* more verbose httpexception
* fix
* fix
2022-09-08 19:07:57 +02:00
Dag
5e09a14acc
fix: include git tag in version ( #3000 )
...
Also include os and php version in github issue template.
2022-09-04 07:21:57 +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
3984427f44
feat: include os and php version in github issue body ( #2948 )
2022-08-03 17:05:13 +02:00
Jan Tojnar
5b5f3b4254
Do not use constants for configuration ( #2938 )
...
* docs: Do not use constant names when referring to config options
The options are customizable using a config file and no longer hardcoded in index.php since 8ac8e08abf
* Do not use constants for configuration
Since <8ac8e08abf
>, they are just set to the configuration object values.
2022-07-24 19:26:12 +02:00
Dag
a966213cd7
refactor: inject the action params via its execute method ( #2907 )
2022-07-08 21:06:14 +02:00
Dag
abc4af43b3
feat: improve error handling ( #2902 )
2022-07-08 20:39:13 +02:00
Dag
abfc6b4633
feat: introduce template engine ( #2899 )
2022-07-08 14:17:25 +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