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

453 commits

Author SHA1 Message Date
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
4080b2d09d Apply new rules 2021-04-14 11:17:01 -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
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
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
J. King
9197a8d08b Implement feed deletion 2021-01-24 21:12:32 -05:00
J. King
8eebb75b18 Implement feed editing 2021-01-24 20:28:00 -05:00
J. King
5a8a044a92 Implement single-feed querying 2021-01-24 13:54:54 -05:00
J. King
cca4b205e4 Correct error output of getCategoryFeeds 2021-01-24 11:33:00 -05:00
J. King
a34edcb0d1 Last tests for feed creation 2021-01-24 11:25:38 -05:00
J. King
7893b5f59d More feed adding tests 2021-01-23 18:01:23 -05:00
J. King
36cc4928b9 Test feed fetching errors for Miniflux 2021-01-23 12:00:11 -05:00
J. King
727864f401 Implement feed listing by category
Also modify user list to reflect changes in Miniflux 2.0.27.
2021-01-22 18:24:33 -05:00
J. King
4972c79e32 Allow simpler feed exception creation 2021-01-21 22:44:22 -05:00
J. King
fd25be5c27 Basic tests for feed creation 2021-01-20 18:28:51 -05:00
J. King
e7b2f54183 Prototype feed creation 2021-01-19 23:17:03 -05:00
J. King
14d2d19ae1 Tests for Miniflux feed listing 2021-01-17 13:02:31 -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
e74b44cc39 Change favicon to icon_url and add icon_id 2021-01-15 23:15:22 -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
097362881b Tests for filtering during feed parsing 2021-01-11 23:12:43 -05:00
J. King
a4146ec129 Start on test for filtering during feed parsing 2021-01-11 09:53:09 -05:00
J. King
9e29235d87 Don't fetch from example.com during tests 2021-01-08 16:46:21 -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
6dba8aa66b Fixes for rules
- Whitespace is now collapsed before evaluating rules
- Feed tests are fixed to retrieve a dumy set of rules
- Rule evaluation during feed parsing also filled out
2021-01-07 15:08:50 -05:00
J. King
461e256052 Work around MySQL syntax weirdness
Also improve test for token translation to actually test that the
translated tokens are accepted by the database system
2021-01-07 10:12:38 -05:00
J. King
47ae65b9d3 Function to apply filter rules 2021-01-03 22:15:39 -05:00
J. King
ffc5579a7a Partial implementation of filter rule handling 2021-01-03 16:41:15 -05:00
J. King
7e17332714 Implement marking all as read for Miniflux 2020-12-31 17:50:40 -05:00
J. King
31f0539dc0 Implement Miniflux user deletion 2020-12-31 17:03:08 -05:00
J. King
bf95b134bd Fix up error codes for category changes 2020-12-31 15:46:47 -05:00
J. King
197922f92f Implement Miniflux user creation 2020-12-31 13:57:36 -05:00
J. King
ee0c3c9449 Tests and fixes for user modification 2020-12-30 17:01:17 -05:00
J. King
f58005640a Prototype user modification 2020-12-28 08:12:30 -05:00
J. King
2946d950f2 Forbid more user names
- Control characters are now forbidden
- Controls and colons are now also forbidden when renaming
2020-12-27 10:08:00 -05:00
J. King
405f3af257 Invalidate sessions and Fever passwords when renaming users 2020-12-25 22:22:37 -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
ade0402210 Adjust TT-RSS to ignore hidden items 2020-12-21 21:49:57 -05:00
J. King
b7ce6f5c79 Adjust Fever to ignore hidden items 2020-12-20 19:32:07 -05:00
J. King
b2fae336e8 Adjust Nextcloud News to ignore hidden items 2020-12-20 17:42:28 -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
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