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

1417 commits

Author SHA1 Message Date
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
J. King
2557c22410 Update dependencies 2022-06-22 15:33:17 -04:00
J. King
4ca7b65a65 Update dependencies 2022-06-09 21:21:17 -04:00
J. King
387de940ff Start on update test 2022-06-08 22:36:06 -04:00
J. King
3f7df467e6 Tweak 2022-06-07 13:49:13 -04:00
J. King
fc2428713a Fix remaining MySQL schema problems 2022-06-06 22:02:12 -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
9459ef044f Use existing infrastructure for update tests 2022-06-06 10:51:41 -04:00
J. King
4d37ae30ae Update dependencies
Addresses a Guzzle vulnerability, though it does not affect The Arsse
2022-06-05 21:38:08 -04:00
J. King
fbf7848c14 Merge branch 'dbtest' into redup 2022-06-05 19:02:54 -04:00
J. King
e9c6ddcfdf Adjust date fix-up after column changes 2022-06-05 18:17:26 -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
0f2da754c5 Fix remaining test problems 2022-06-04 23:02:24 -04:00
J. King
c40f39e34e Work around MySQL absurdities 2022-06-04 22:07:21 -04:00
J. King
2822864a85 Fix most test failures
MySQL is still being stubborn. It may be a type-conversion issue.
2022-06-04 20:16:22 -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
9ac615e4a4 Apply more PSR-12 style rules 2022-05-31 23:55:04 -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
d1da6fbe5e Use cases rather than casting bools to int in SQL 2022-05-30 17:29:34 -04:00
J. King
bd728e3e12 New schema for MySQL 2022-05-30 16:57:13 -04:00
J. King
55012255bb New schema for PostgreSQL
This also address various omissions in the SQLite schema
2022-05-30 15:10:09 -04:00
J. King
a2115a50fa Complete new database schema for SQLite 2022-05-26 17:33:16 -04:00
J. King
5a78fc0492 New schema fixup 2022-05-03 15:51:33 -04:00
J. King
94b816ff53 Fill out the new schema a bit more 2022-05-02 23:35:25 -04:00
J. King
3e2fce3129 Law out the plan for the new schema 2022-05-02 17:23:08 -04:00