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

66 commits

Author SHA1 Message Date
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
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
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
a77b47cd59 Merge branch 'master' into dbtest 2022-09-15 10:12:04 -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
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
a43f8797c5 Add ability to sort by folder ID or name 2021-02-02 11:51:19 -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
d66cf32c1f Style fixes 2020-12-22 16:13:12 -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
97010d8822 Tests for marking articles hidden 2020-12-19 10:59:40 -05:00
J. King
86c4a30744 Adjust articleStarred function to discount hidden 2020-12-17 18:12:52 -05:00
J. King
ffc98daff3 Adjust article marking tests to account for new hidden mark 2020-12-15 19:50:26 -05:00
J. King
8ae3740d5f Implement querying articles by hidden mark 2020-12-15 19:28:51 -05:00
J. King
771f79323c Strip out remnants of the authorizer 2020-11-09 16:51:30 -05:00
J. King
4db1b95cf4 Add numeric IDs and other Miniflux data to SQLite schema 2020-10-30 15:25:22 -04:00
J. King
e60f7ea03f Add class constant visibility 2020-03-01 18:32:01 -05:00
J. King
bc53a2d24a Style fixes 2020-03-01 15:16:50 -05:00
J. King
b5f118e8cb Cleanup 2020-01-20 13:52:48 -05:00
J. King
bbace7a0ac Use void and nullable return types where practical 2020-01-20 13:34:03 -05:00
J. King
17a2fa96f8 Upgrade to PHPUnit 8 2019-10-16 14:42:43 -04:00
J. King
29667464a1 Remove unnecessary namespace imports 2019-09-05 10:03:32 -04:00
J. King
b8b559b0f8 Correct spuriously failing tests 2019-08-05 16:33:48 -04:00
J. King
2aa16f3405 Merge branch 'fever' into opml 2019-07-24 14:04:04 -04:00
J. King
2628ff7bf4 Make database test helpers generic 2019-06-21 18:52:27 -04:00
J. King
6ef13d0880 Style fixes 2019-05-01 22:52:20 -04:00
J. King
e3d2215920 Style fixes 2019-04-05 11:03:15 -04:00
J. King
12f23ddc16 Updated tests for arbitrary sorting 2019-04-04 17:21:23 -04:00
J. King
f72c85c9f6 Hopefully working but maybe broken custom sorting 2019-04-04 11:22:50 -04:00
J. King
74fc39fca0 Implement multi-folder context option 2019-04-02 22:44:09 -04:00
J. King
cce1089e10 Handle edge case with folder 0
Folder 0 (the root folder) is a valid, though nonsensical selection:
using it as a positive option is the same as not using the option at
all, and using it as a negative option necessarily yields an empty set.

However, it can in some contexts be validly specified, and so it should
be handled consistently. It had not been previously, but is now.
2019-04-02 19:58:35 -04:00
J. King
98f6fca7e3 Enforce minimum array size (for now) 2019-04-02 18:37:46 -04:00
J. King
ef1b761f95 Implement most multiple-item context options
Selecting multiple folder trees will require further effort
2019-04-02 18:24:20 -04:00
J. King
38bdde1167 Add access tokens to the db, with relevant code
Tokens are similar to sessions in that they stand in for users, but the
protocol handlers will manage them; Fever login hashes are the
originating use case for them. These must never expire, for example,
and we need to specify their values.

This commit also performs a bit of database clean-up
2019-03-09 16:23:56 -05:00
J. King
5de1844f6d Add article selection by tag 2019-03-07 11:07:22 -05:00
J. King
44366f48bf Remove arbitrary search term limits; fixes #150 2019-03-02 13:53:43 -05:00