1
1
Fork 0
mirror of https://code.mensbeam.com/MensBeam/Arsse.git synced 2024-12-22 05:02:40 +00:00
Commit graph

804 commits

Author SHA1 Message Date
J. King
e8be7d0f38 Address our own deprecations in PHP 8.4 2024-12-15 16:31:57 -05:00
J. King
1ae3c33344 Be more specific about coverage of Database class
This has uncovered a bug with nextFetch calculation, it seems. Fixing it is deferred for now.
2024-07-10 16:28:19 -04:00
J. King
aed3749da8 Shore up coverage 2024-07-09 14:58:31 -04:00
J. King
ade1c79361 Fix language-loading loop by applying incrementally 2024-07-06 12:24:16 -04:00
J. King
0170ec19c7 Fix language-loading infinite loop when throwing exceptions
This loop has existed since the very beginning, and was only ever papered over instead of actually fixing it.
2024-07-06 11:01:00 -04:00
J. King
b1154359e4 Prepare release 2024-01-09 19:04:28 -05:00
J. King
1b80ad37bc Merge branch 'csfixer3'
Code style cleanup to mostly conform to PSR-12
2023-03-22 23:33:05 -04:00
J. King
fe06ffc176 Avoid dynamic property creation with PicoFeed
This only leaves the Laminas XML deprecated behaviour to handle
2023-01-28 11:18:14 -05:00
J. King
0d6f8d2921 Avoid most deprecation warnings
The Feed class sets dynamic properties on Picofeed classes; this will
need to be completely rewritten. Version 1.2 of the Laminas XML class
also uses a deprecated function, but upgrading it to 1.3 will require
PHP 7.3.
2023-01-27 15:33:34 -05:00
J. King
92b1a840a1 Support PHP 8.2 properly 2023-01-24 15:12:21 -05:00
J. King
a25e777ec6 Version bump 2022-09-14 08:06:22 -04:00
J. King
459e44e041 Address remaining errors
Still many failures to fix
2022-08-06 16:03:50 -04:00
J. King
56f015bfb9 More Guzzle conversion 2022-08-06 13:40:02 -04:00
J. King
4d18bf27e2 Adjust most uses of Diactoros to Guzzle PSR-7 2022-08-05 22:08:36 -04:00
J. King
e588a52e88 Replace ServerRequestFactory 2022-08-04 22:15:43 -04:00
J. King
6c0183faea Replace instances of Diactoros' EmptyResponse 2022-08-04 22:04:39 -04:00
J. King
560d4db139 Remove Diactoros in favour of Guzzle PSR-7
For now this only adds convenience wrappers around Guzzle to somewhat
emulate Diactoros (albeit with a different API). Code and tests will be
adjusted in due course.
2022-08-04 09:26:17 -04:00
J. King
d1da6fbe5e Use cases rather than casting bools to int in SQL 2022-05-30 17:29:34 -04:00
J. King
90b66241b3 Fixes for PHP 7 2022-04-30 13:50:35 -04:00
J. King
761b3d5333 Return removed articles correctly in Miniflux 2022-04-29 23:28:47 -04:00
J. King
d64dc751f9 Tests for query filters 2022-04-29 20:53:05 -04:00
J. King
f51acb4264 Build exceptions correctly in Miniflux for clarity 2022-04-29 19:10:11 -04:00
J. King
300225439c Fix trivial error in Miniflux
This is not a bug as the behaviour that should have been implemented was
not being relied upon
2022-04-29 19:04:08 -04:00
J. King
c6cc2a1a42 Restore coverage for Query class 2022-04-29 17:23:41 -04:00
J. King
a44fe103d8 Prototype for nesting query filters 2022-04-29 16:37:16 -04:00
J. King
630536d789 Tests for union context 2022-04-29 16:35:46 -04:00
J. King
206c5c0012 Fill in union context 2022-04-28 22:32:10 -04:00
J. King
0c8f33c37c Remove setCTE and pushCTE from query builder 2022-04-28 21:24:57 -04:00
J. King
26e431b1a5 Simplify more queries 2022-04-28 17:57:31 -04:00
J. King
336207741d Add missing API documentation 2022-04-28 17:37:10 -04:00
J. King
65b1bb4fcd Allow multiple dates in TT-RSS searches 2022-04-26 17:13:16 -04:00
J. King
17832ac63e Allow timezone in TT-RSS search queries
Does not quite work yet
2022-04-25 22:28:16 -04:00
J. King
e65069885b Clean up obsolete FIXMEs 2022-04-25 18:30:13 -04:00
J. King
7e5d8494c4 Tests for selecting arrays of ranges 2022-04-25 14:33:19 -04:00
J. King
e6505a5fda Work around possible MySQL bug 2022-04-25 09:56:13 -04:00
J. King
2acacd2647 Implement handling for arrays of ranges
Multiple ranges of articles or editions were not implemented, but the
functionality is generic and could be extended if later needed.
2022-04-24 20:13:08 -04:00
J. King
f6799e2ab1 Tests for date ranges in contexts 2022-04-24 12:25:37 -04:00
J. King
2489743d0f Further simplifications 2022-04-23 13:21:52 -04:00
J. King
0bd01849bb Remove unnecessary in() clause 2022-04-23 11:51:53 -04:00
J. King
895c045c9b Simplify folder selection in article queries 2022-04-23 11:15:57 -04:00
J. King
fe02613214 Fix coverage 2022-04-22 22:46:13 -04:00
J. King
427bddd3b7 Allow multiple date ranges 2022-04-22 20:09:07 -04:00
J. King
53ba591720 Finish up article selection refactor 2022-04-22 19:22:50 -04:00
J. King
97dfef3267 Fix typos 2022-04-21 23:30:19 -04:00
J. King
396ca86482 Start on removal of conditional CTEs
This breaks the code for now, but will make clearer queries once done
2022-04-21 23:19:19 -04:00
J. King
4a87926dd5 Fix up context tests 2022-04-21 14:37:28 -04:00
J. King
308b592b18 Clean up coontext classes 2022-04-19 23:20:20 -04:00
J. King
983fa58ec8 Convert article and edition ranges to atomic
Unit tests for ranges are still missing
2022-04-19 22:53:36 -04:00
J. King
2c2bb4a856 Retrofits dates to use ranges
Article and edition ranges still need work
2022-04-19 20:19:51 -04:00
J. King
73497688fc Break contexts up into traits
This will make their expansion easier and will also be useful for using
typed properties later
2022-04-18 22:04:48 -04:00