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

296 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
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
d1da6fbe5e Use cases rather than casting bools to int in SQL 2022-05-30 17:29:34 -04:00
J. King
761b3d5333 Return removed articles correctly in Miniflux 2022-04-29 23:28:47 -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
7e5d8494c4 Tests for selecting arrays of ranges 2022-04-25 14:33:19 -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
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
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
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
3eab5aad5d Fix adding users to a blank database 2021-05-17 15:46:46 -04:00
J. King
4080b2d09d Apply new rules 2021-04-14 11:17:01 -04:00
J. King
dcb81ea043 Only provide icon ID when there is data 2021-03-05 19:31:11 -05:00
J. King
90034ac1f8 Style fixes 2021-02-08 19:14:11 -05:00
J. King
a43f8797c5 Add ability to sort by folder ID or name 2021-02-02 11:51:19 -05:00
J. King
197cbba77d Document article column definitions 2021-02-01 15:48:44 -05:00
J. King
3b2190ca10 Include folder names directly in subscription list 2021-01-28 14:55:18 -05:00
J. King
cc2672fb0a Improve icon fetching interface 2021-01-26 12:03:26 -05:00
J. King
a646ad77b7 Use a read transaction when computing filter rules 2021-01-24 11:45:08 -05:00
J. King
e7b2f54183 Prototype feed creation 2021-01-19 23:17:03 -05:00
J. King
14d2d19ae1 Tests for Miniflux feed listing 2021-01-17 13:02:31 -05:00
J. King
2cf4bf0d4d Prototype Miniflux feed listing 2021-01-16 22:52:07 -05:00
J. King
86897af0b3 Add ability to enable scraper
Also transfer any existing scraper booleans on database upgrade. It was
previously possible to enable scraping manually by editing the database,
and these settings will be honoured.
2021-01-16 19:06:20 -05:00
J. King
7897585d98 Test scraping
Text search should also match scraped content when appropriate
2021-01-16 17:58:31 -05:00
J. King
4cb23dd198 Partial implementation of proper content scraping 2021-01-16 14:24:01 -05:00
J. King
e74b44cc39 Change favicon to icon_url and add icon_id 2021-01-15 23:15:22 -05:00
J. King
2536c9fe03 Last tests for article filters 2021-01-15 23:02:33 -05:00
J. King
9f2b8d4f83 Imprement setting of filter rules 2021-01-14 12:42:33 -05:00
J. King
618fd67f80 Set marks for filtered articles on feed refresh 2021-01-13 14:54:22 -05:00
J. King
549c7bdc72 Style fixes 2021-01-08 15:47:19 -05:00
J. King
4f34b4ff29 Rule refactoring
- The Database class is now responsible for preparing rules
- Rules are now returned in an array keyed by user
- Empty strings are now passed through during rule preparation
2021-01-08 14:17:46 -05:00
J. King
461e256052 Work around MySQL syntax weirdness
Also improve test for token translation to actually test that the
translated tokens are accepted by the database system
2021-01-07 10:12:38 -05:00
J. King
5ec04d33c6 Add backend functionality to rename users 2020-12-25 17:47:36 -05:00
J. King
88cf3c6dae Test filter rule retrieval 2020-12-23 09:38:22 -05:00
J. King
d66cf32c1f Style fixes 2020-12-22 16:13:12 -05:00
J. King
a81760e39d Aggressivly clean up hidden articles
Notably, starred articles are cleaned up if hidden
2020-12-22 15:17:18 -05:00
J. King
f0bfe1fdff Simplify editionLatest Database method
Also adjust label querying to take hidden marks into account
2020-12-20 17:34:32 -05:00
J. King
8527c83976 Exclude hiddens from subscription unread count
Also fix a bug that would result in the unread count being null if
no marks existed
2020-12-20 11:55:36 -05:00
J. King
97010d8822 Tests for marking articles hidden 2020-12-19 10:59:40 -05:00
J. King
86c4a30744 Adjust articleStarred function to discount hidden 2020-12-17 18:12:52 -05:00