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

791 commits

Author SHA1 Message Date
J. King
c49cb72528 Fail gracefully when extensions are missing
This still needs tests
2021-07-05 20:57:05 -04:00
J. King
75e87f31a0 Prototype code to check for missing extensions
This is useful in general, but will also provide clear error text if
trying to fork without the posix or pcntl extensions
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
e9394e8599 More forking tweaks 2021-07-05 20:57:05 -04:00
J. King
0bb5e916d2 Test PID writing 2021-07-05 20:57:05 -04:00
J. King
2767ab755e Use D modifier in pattern 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
32c9d761c3 Clean up more exceptions 2021-07-05 20:57:05 -04:00
J. King
5b3e8fbef0 Refine some exceptions 2021-07-05 20:57:05 -04:00
J. King
b9fd9ac32e Tweaks 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
bab64add9b Separate PID conflict checking from PID claiming 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
59cf27089a More daemon cleanup 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
e8cab78bd6 Handle last possible PID failures
Opening the PID file can still fail separately, though this is unlikely
2021-07-05 20:57:05 -04:00
J. King
9595c4f019 Start filling out PID file exceptions 2021-07-05 20:57:05 -04:00
J. King
372bf9f630 Exclude code from coverage 2021-07-05 20:57:05 -04:00
J. King
4ffc29781d Remove references to oldpass param 2021-07-05 20:57:05 -04:00
J. King
47af739e47 Catch more PID path failures 2021-07-05 20:57:05 -04:00
J. King
2c7b16ed27 Respond to termination signals and delete PID file 2021-07-05 20:57:05 -04:00
J. King
410310282f Load configuration after forking 2021-07-05 20:57:05 -04:00
J. King
29b83b4453 Prototype forking daemon 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
62d49e0d3c Fill out most of the manual page
Removed most of the online help as a consequence since maintaining
both is frought
2021-05-29 21:48:02 -04:00
J. King
0236b42052 Use tmpfiles to create link to config file 2021-05-23 17:57: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
fa4ab3218a Version bump 2021-03-18 10:45:28 -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
f90b78a976 Fix compatibility issues
- CORS OPTIONS requests may not ask for credentials
- Fever apparently didn't care about supplied Content-Type
2021-03-03 16:46:57 -05:00
J. King
8aca42c882 Minor fixes for correctness 2021-03-02 11:27:48 -05:00
J. King
6b7257a6c4 Work around more MySQL stupidity 2021-03-02 11:04:42 -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
fa6d641634 Implement CLI for tokens 2021-02-10 21:40:51 -05:00
J. King
3795b1ccd8 Simplify CLI command processing 2021-02-10 12:46:28 -05:00
J. King
e8ed716ae6 Fix errors in CLI documentation 2021-02-10 12:11:28 -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
29761d767a Update documentation 2021-02-08 23:52:13 -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
6c2de89f3e Revert copy-paste corruption 2021-02-06 23:55:40 -05:00
J. King
54a6fcc0d6 Consolidate object factoriesinto one place 2021-02-06 23:51:23 -05:00
J. King
b4ae988b79 Prototype OPML handling 2021-02-05 20:29:41 -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
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
23ca6bb77b Count articles without offset or limit 2021-02-02 16:14:04 -05:00
J. King
0e7abfa8f9 Largely complete article querying
Tests to come
2021-02-02 16:05:16 -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
9d7ada7f59 Partial implementation of article sorting 2021-02-01 22:11:15 -05:00
J. King
007183450a Context and column list for article queries
Sorting and transformation still need to be figured out
2021-02-01 21:02:46 -05:00
J. King
197cbba77d Document article column definitions 2021-02-01 15:48:44 -05:00
J. King
ddbcb598e8 Match more closely Miniflux query string behaviour
- The starred key is a simople boolean whose value is immaterial
- Blank values are honoured for keys other than starred and status
2021-01-31 10:44:27 -05:00
J. King
bb89083444 Perform strict validation of query parameters
This is in fact stricter than Miniflux, which ignores duplicate values
and does not validate anything other than the string enumerations
2021-01-30 21:37:19 -05:00
J. King
1e924bed83 Partial query string normalization 2021-01-30 13:38:02 -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
76f1cc8e91 Adjust users of subscriptionIcon 2021-01-26 13:44:44 -05:00
J. King
cc2672fb0a Improve icon fetching interface 2021-01-26 12:03:26 -05:00
J. King
8e749bb73c Report 404 on icons for absence of data
This is significant as upgraded databases have icon IDs, but no data
2021-01-25 09:02:52 -05:00
J. King
bdf9c0e9d2 Prototype feed icon querying 2021-01-24 21:53:45 -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
a646ad77b7 Use a read transaction when computing filter rules 2021-01-24 11:45:08 -05:00
J. King
cca4b205e4 Correct error output of getCategoryFeeds 2021-01-24 11:33:00 -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
6936f365e4 Add calls coming in next version of Miniflux 2021-01-21 11:11:25 -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
2cf4bf0d4d Prototype Miniflux feed listing 2021-01-16 22:52:07 -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
4cb23dd198 Partial implementation of proper content scraping 2021-01-16 14:24:01 -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