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

819 commits

Author SHA1 Message Date
J. King
e6505a5fda Work around possible MySQL bug 2022-04-25 09:56:13 -04:00
J. King
2acacd2647 Implement handling for arrays of ranges
Multiple ranges of articles or editions were not implemented, but the
functionality is generic and could be extended if later needed.
2022-04-24 20:13:08 -04:00
J. King
f6799e2ab1 Tests for date ranges in contexts 2022-04-24 12:25:37 -04:00
J. King
2489743d0f Further simplifications 2022-04-23 13:21:52 -04:00
J. King
0bd01849bb Remove unnecessary in() clause 2022-04-23 11:51:53 -04:00
J. King
895c045c9b Simplify folder selection in article queries 2022-04-23 11:15:57 -04:00
J. King
fe02613214 Fix coverage 2022-04-22 22:46:13 -04:00
J. King
427bddd3b7 Allow multiple date ranges 2022-04-22 20:09:07 -04:00
J. King
53ba591720 Finish up article selection refactor 2022-04-22 19:22:50 -04:00
J. King
97dfef3267 Fix typos 2022-04-21 23:30:19 -04:00
J. King
396ca86482 Start on removal of conditional CTEs
This breaks the code for now, but will make clearer queries once done
2022-04-21 23:19:19 -04:00
J. King
4a87926dd5 Fix up context tests 2022-04-21 14:37:28 -04:00
J. King
308b592b18 Clean up coontext classes 2022-04-19 23:20:20 -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
73497688fc Break contexts up into traits
This will make their expansion easier and will also be useful for using
typed properties later
2022-04-18 22:04:48 -04:00
J. King
144a41e061 Prepare new version 2022-04-04 14:05:04 -04:00
J. King
60b4002329 Revert "Document that we actually emulate Miniflux 2.0.29"
This reverts commit d379aa2253.
2022-04-04 13:43:20 -04:00
J. King
d379aa2253 Document that we actually emulate Miniflux 2.0.29
At the time The Arsse 0.9.0 was released the new feature in 2.0.29 was
already implemented, but that version of Miniflux had not been released.
2022-03-14 13:16:46 -04:00
J. King
b707ecc942 Tag new version 2022-01-17 19:31:06 -05:00
J. King
b5579d6e43 Support PHP 8.1 2022-01-11 17:54:02 -05:00
J. King
6c11c9e485 Fix Debian bugs 2021-07-10 22:47:34 -04:00
J. King
c7dcc36ba1 Update version 2021-07-09 22:41:00 -04: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
37c58e186a Handle hangup signal 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
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