J. King
212d842e05
Rewrite article marking procedure
...
- Marking of a simple context is now done with one query; the "touched"
field is no longer needed
- Union contexts are now handled, with some quirks; these quirks can be
worked around later if needed
2023-02-10 14:59:11 -05:00
J. King
b1d2611e5b
Fix up main article selection test series
2023-02-06 09:43:33 -05:00
J. King
19da22e144
Initial work on refactoring article tests
2023-02-05 09:26:59 -05:00
J. King
e110dfcf89
Partially fix up feed tests
...
The main test still needs fixing, and a new test may need to be written
to properly exercise the reduplicated schema.
2023-01-29 22:13:29 -05:00
J. King
9196dcfbc4
Remove the last uses of feedAdd
2023-01-29 10:59:39 -05:00
J. King
9d391469ad
Merge branch 'master' into redup
2023-01-28 15:08:54 -05: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
5129ed710b
Small fixe-ups
...
- Process subscription addition in Miniflux correctly
- Honour user stricture when updating feeds
2023-01-18 13:26:14 -05:00
J. King
7414d3844e
Fix up the rest of the subscriptionUpdate function
2022-12-27 14:20:13 -05:00
J. King
cc2f3ea996
Start on rewrite of feed updating
2022-10-22 20:14:14 -04:00
J. King
6958c24be2
Fix most subscription tests
...
Two tests depend upon article functions which will be addressed in due
course.
2022-10-07 18:38:17 -04:00
J. King
9f784251e8
Fix up the aadding of subscription
...
Tests to come.
Because a feed could be added without adding a subscription previously,
it was possible to check feeds for validity before adding subscriptions,
yielding visibly atomic operations. These new functions replicate this
functionality by adding soft-deleted subscriptions and undeleting them
once the fetch succeeds.
2022-10-04 16:46:23 -04:00
J. King
b24a76b744
Fix up the simpler database functions
2022-09-27 21:13:04 -04:00
J. King
df185bbe42
Address the schema changing on the service
2022-09-22 20:49:54 -04:00
J. King
e4a7e6622b
Fix most problems with the new schema
...
Some issues remain with MySQL
2022-06-06 19:54:48 -04:00
J. King
c40f39e34e
Work around MySQL absurdities
2022-06-04 22:07:21 -04:00
J. King
4ed650fd87
Style fixes
2022-05-31 23:21:33 -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
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
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