J. King
4b3cfba495
Abandon the new marking method
...
It was less accurate and turned out to be more complex rather than less.
2023-02-16 23:32:04 -05:00
J. King
4d0ce01acb
Select editions properly
2023-02-12 21:34:40 -05:00
J. King
9fb57defa2
Sundry article test fixes; things are still broken
2023-02-12 18:30:19 -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
b81596a2de
Fix feed test series
2023-02-03 21:52:27 -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
9d391469ad
Merge branch 'master' into redup
2023-01-28 15:08:54 -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
ac38659e3a
Fix most references to feedUpdate
2022-12-30 12:41:12 -05:00
J. King
7414d3844e
Fix up the rest of the subscriptionUpdate function
2022-12-27 14:20:13 -05: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
307ab7fa2a
Merge branch 'dbtest' into redup
2022-09-15 10:42:33 -04:00
J. King
a77b47cd59
Merge branch 'master' into dbtest
2022-09-15 10:12:04 -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
07bac4ead3
Remove colukmn types from test data
...
For some reason this breaks PostgreSQL tests; this will have to be fixed
2022-06-05 17:41:32 -04:00
J. King
51ce4ae92b
Partial rewrite of database table comparison
...
Contents still need to be sorted for tests to pass.
2022-06-03 22:10:49 -04:00
J. King
4ed650fd87
Style fixes
2022-05-31 23:21:33 -04:00
J. King
2c19aa06b7
Put column defs in one place in tests
2022-05-31 23:08:05 -04:00
J. King
761b3d5333
Return removed articles correctly in Miniflux
2022-04-29 23:28:47 -04:00
J. King
7e5d8494c4
Tests for selecting arrays of ranges
2022-04-25 14:33:19 -04:00
J. King
fe02613214
Fix coverage
2022-04-22 22:46:13 -04:00
J. King
6f1332c559
Start to shore up testing
2022-04-20 19:11:04 -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
ad32bf3340
Style fixes
2021-07-05 21:47:44 -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
2348786a92
Start on replacing Phake with Phony
2021-02-27 15:24:02 -05:00
J. King
a43f8797c5
Add ability to sort by folder ID or name
2021-02-02 11:51:19 -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
4972c79e32
Allow simpler feed exception creation
2021-01-21 22:44:22 -05:00
J. King
e7b2f54183
Prototype feed creation
2021-01-19 23:17:03 -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
76f70119fd
More work on scraping
2021-01-16 16:48:35 -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
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