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

777 commits

Author SHA1 Message Date
J. King
3f7df467e6 Tweak 2022-06-07 13:49:13 -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
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
59358ec35b More PHP 7 fixes 2022-04-30 17:11:18 -04:00
J. King
761b3d5333 Return removed articles correctly in Miniflux 2022-04-29 23:28:47 -04:00
J. King
d64dc751f9 Tests for query filters 2022-04-29 20:53:05 -04:00
J. King
c6cc2a1a42 Restore coverage for Query class 2022-04-29 17:23:41 -04:00
J. King
630536d789 Tests for union context 2022-04-29 16:35:46 -04:00
J. King
0c8f33c37c Remove setCTE and pushCTE from query builder 2022-04-28 21:24:57 -04:00
J. King
65b1bb4fcd Allow multiple dates in TT-RSS searches 2022-04-26 17:13:16 -04:00
J. King
2c5b9a6768 Fix missing TTRSS coverage 2022-04-26 12:13:15 -04:00
J. King
17832ac63e Allow timezone in TT-RSS search queries
Does not quite work yet
2022-04-25 22:28:16 -04:00
J. King
7e5d8494c4 Tests for selecting arrays of ranges 2022-04-25 14:33:19 -04:00
J. King
e6505a5fda Work around possible MySQL bug 2022-04-25 09:56:13 -04:00
J. King
f6799e2ab1 Tests for date ranges in contexts 2022-04-24 12:25:37 -04:00
J. King
33a3478a58 Avoid use of PHP 7.4 feature 2022-04-23 17:24:25 -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
4a87926dd5 Fix up context tests 2022-04-21 14:37:28 -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
afe26fb8e1 Style fixes 2022-01-14 19:28:42 -05:00
J. King
b5579d6e43 Support PHP 8.1 2022-01-11 17:54:02 -05:00
J. King
b660508009 Improve MySQL test performance 2021-12-30 18:22:50 -05:00
J. King
46e20be983 Test for service reloading 2021-07-06 10:07:56 -04:00
J. King
ad32bf3340 Style fixes 2021-07-05 21:47:44 -04:00
J. King
b8ac646d22 Fix up hangup signal handling 2021-07-05 20:57:05 -04:00
J. King
88fe3e76cb Fix up missing-extension message 2021-07-05 20:57:05 -04:00
J. King
3c8ee42666 Basic tests for exception checking 2021-07-05 20:57:05 -04:00
J. King
e160189224 Handle exceptions from child processes 2021-07-05 20:57:05 -04:00
J. King
577356cd3d Fork error test 2021-07-05 20:57:05 -04:00
J. King
514cb0a351 Ow 2021-07-05 20:57:05 -04:00
J. King
0bb5e916d2 Test PID writing 2021-07-05 20:57:05 -04:00
J. King
a4036afbf8 Partial tests for PID file reading 2021-07-05 20:57:05 -04:00
J. King
23749b51aa Tests for path resolution 2021-07-05 20:57:05 -04:00
J. King
dfaf44ac68 Basic path resolution tests 2021-07-05 20:57:05 -04:00
J. King
f1c29c99c7 Finish testing PID file path checking 2021-07-05 20:57:05 -04:00
J. King
4e1193bab2 Move forking daemon support code to own class 2021-07-05 20:57:05 -04:00
J. King
32e04e3938 Move forking and related to Service class 2021-07-05 20:57:05 -04:00
J. King
55acb87577 Start on PI(D file resolution tests 2021-07-05 20:57:05 -04:00
J. King
fc2abc1203 Use D modifier for all patterns with $ anchors 2021-06-24 11:58:50 -04:00
J. King
19ab9df063 Fix more bugs 2021-05-18 18:42:42 -04:00
J. King
3eab5aad5d Fix adding users to a blank database 2021-05-17 15:46:46 -04:00
J. King
c4260323bc Answer 201 to PUTs like Miniflux
This does not apply to PUTs to /v1/entries, which were always 204
2021-03-18 10:38:20 -04:00
J. King
2e4c57b75b Work around Microflux for Miniflux 2021-03-06 11:26:14 -05:00
J. King
dcb81ea043 Only provide icon ID when there is data 2021-03-05 19:31:11 -05:00
J. King
e6b4edd160 Supress deprecation messages during runtime 2021-03-02 11:54:28 -05:00
J. King
8aca42c882 Minor fixes for correctness 2021-03-02 11:27:48 -05:00
J. King
458126416c Fix PostgreSQL coverage annotations 2021-03-02 11:11:04 -05:00
J. King
5cfa01f4d5 Work around MySQL stupidity 2021-03-02 11:04:21 -05:00
J. King
64ca5f1be0 Fix strict comparison failures 2021-03-01 23:27:58 -05:00
J. King
4642b9fd1c PRovide upgrade path for assertRegExp 2021-03-01 18:20:50 -05:00
J. King
3a1fcaac39 Remove last uses of Phake 2021-03-01 18:01:25 -05:00
J. King
75148bfbc6 Convert NCNv1 tests to PHony 2021-03-01 10:03:52 -05:00
J. King
95812b8ba3 Convert last TT-RSS test
This is a particularly lazy one since I no longer understand how it
works—a problem for another day.
2021-03-01 09:37:56 -05:00
J. King
a322d034f3 More TT-RSS test conversions to Phony 2021-03-01 08:00:30 -05:00
J. King
2d951fb071 More TT-RSS test conversions 2021-02-28 12:07:53 -05:00
J. King
c7350c6d57 Convert Miniflux tests to using Phony 2021-02-28 09:23:38 -05:00
J. King
9dfe3919cf Progress on TT-RSS tests 2021-02-27 21:17:20 -05:00
J. King
e90aa585b2 PArtial rewrite of TT-RSS tests 2021-02-27 15:24:45 -05:00
J. King
2348786a92 Start on replacing Phake with Phony 2021-02-27 15:24:02 -05:00
J. King
fa6d641634 Implement CLI for tokens 2021-02-10 21:40:51 -05:00
J. King
68422390da Implement CLI for user metadata 2021-02-10 11:24:01 -05:00
J. King
b7c7915a65 Enforce admin rquirements in NCNv1 2021-02-09 10:05:44 -05:00
J. King
a760bf2ded Implement "t" and "f" booleans in TT-RSS 2021-02-09 09:37:31 -05:00
J. King
9ad4a37ddf Tests and fixes for Miniflux with PDO 2021-02-09 09:26:12 -05:00
J. King
dad74c2616 Implement Fever icons 2021-02-08 23:51:40 -05:00
J. King
90034ac1f8 Style fixes 2021-02-08 19:14:11 -05:00
J. King
211cea648e Implement TT-RSS API level 15 2021-02-08 19:07:49 -05:00
J. King
eae0ba4b68 Tests fortoken operations 2021-02-07 19:20:10 -05:00
J. King
9cc779a717 Import/export tests 2021-02-07 13:04:44 -05:00
J. King
37fd2ad4e9 Tests for new exception features 2021-02-07 09:07:53 -05:00
J. King
54a6fcc0d6 Consolidate object factoriesinto one place 2021-02-06 23:51:23 -05:00
J. King
dd29ef6c1b Add feed refreshing stubs 2021-02-05 09:04:00 -05:00
J. King
ab1cf7447b Implement article marking 2021-02-05 08:48:14 -05:00
J. King
334a585cb8 Implement single-entry querying 2021-02-04 20:19:35 -05:00
J. King
a7d05a7717 Feed- and category-specific entry list routes 2021-02-04 17:52:40 -05:00
J. King
00ad1cc5b9 Last tests for article querying 2021-02-04 17:07:22 -05:00
J. King
d4a6909cf6 Positional article queries tests 2021-02-03 23:00:14 -05:00
J. King
e42e25d333 More article query tests 2021-02-03 16:27:55 -05:00
J. King
f7b3a473a9 Clarify ordering syntax rationale 2021-02-03 14:20:34 -05:00
J. King
af51377fe9 First set of article query tests 2021-02-03 13:06:36 -05:00
J. King
a43f8797c5 Add ability to sort by folder ID or name 2021-02-02 11:51:19 -05:00
J. King
ed27e0aaaa Sort nulls consistently
PostgreSQL normally sorts nulls after everything else in ascending order
and vice versa; we reverse this, to match SQLIte and MySQL
2021-02-02 10:00:08 -05:00
J. King
3b2190ca10 Include folder names directly in subscription list 2021-01-28 14:55:18 -05:00
J. King
ad094f5217 Don't return icons without types at all 2021-01-27 13:41:10 -05:00
J. King
cd5f13f4b9 Tests for icon querying 2021-01-27 11:53:07 -05:00
J. King
cc2672fb0a Improve icon fetching interface 2021-01-26 12:03:26 -05:00
J. King
1eea3b3a4c Fix feed update test 2021-01-26 10:32:27 -05:00