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

1495 commits

Author SHA1 Message Date
J. King
63454b94d9 Fix label tests 2023-02-24 20:35:24 -05:00
J. King
6d9a3fb3bd Fix last article tests 2023-02-24 10:56:16 -05:00
J. King
7ddea9877e Fix most remaining article tests
The remaining five will require special attention.
2023-02-24 10:27:52 -05:00
J. King
04d26fc911 Properly revert edition querying 2023-02-23 10:30:12 -05:00
J. King
770e8fc98d A few more fixed article tests 2023-02-22 18:13:06 -05:00
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
30dbd850e3 Remove references to marks table in label routines 2023-02-10 16:11:55 -05:00
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
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
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
0a8d19d37d Require PHP 7.3
This addresses the last of the deprecation warnings in PHP 8.2
2023-01-28 12:43:42 -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
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
2868f734e5 Merge branch 'master' into redup 2023-01-25 10:55:46 -05:00
J. King
92b1a840a1 Support PHP 8.2 properly 2023-01-24 15:12:21 -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
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
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
2c9daedb14 Add provision for soft deletion of subscriptions 2022-09-30 12:32:28 -04:00
J. King
b24a76b744 Fix up the simpler database functions 2022-09-27 21:13:04 -04:00
J. King
15a2e7fe0f Actually-last tests for schema upgrade 2022-09-27 16:32:46 -04:00
J. King
95d20f33c7 Last tests for schema upgrade 2022-09-27 11:17:06 -04:00
J. King
63e780b06d Tests for articles, with fixes
Related tables (categories, enclosures, label members) still need tests
2022-09-26 16:49:41 -04:00
J. King
48accdfad8 Fix subs in the new MySQL schema 2022-09-22 20:50:51 -04:00
J. King
df185bbe42 Address the schema changing on the service 2022-09-22 20:49:54 -04:00
J. King
d5652296ea Test feed reduplication 2022-09-19 13:06:19 -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
a25e777ec6 Version bump 2022-09-14 08:06:22 -04:00
J. King
44e2c9c13e Update documentation 2022-09-13 19:56:01 -04:00
J. King
866800dcc5 Finish last Guzzle-related tests 2022-09-13 19:52:29 -04:00
J. King
136d3782e3 Update changelog 2022-08-07 20:16:27 -04:00
J. King
3be3f43bab Start on tests for response wrappers 2022-08-06 22:59:25 -04:00
J. King
d2f3f19128 Fix failures 2022-08-06 16:16:18 -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
64ec3f6ae4 Use unused variable 2022-08-05 22:10:36 -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