J. King
6c0183faea
Replace instances of Diactoros' EmptyResponse
2022-08-04 22:04:39 -04:00
J. King
560d4db139
Remove Diactoros in favour of Guzzle PSR-7
...
For now this only adds convenience wrappers around Guzzle to somewhat
emulate Diactoros (albeit with a different API). Code and tests will be
adjusted in due course.
2022-08-04 09:26:17 -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
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
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
d1da6fbe5e
Use cases rather than casting bools to int in SQL
2022-05-30 17:29:34 -04:00
J. King
90b66241b3
Fixes for PHP 7
2022-04-30 13:50:35 -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
f51acb4264
Build exceptions correctly in Miniflux for clarity
2022-04-29 19:10:11 -04:00
J. King
300225439c
Fix trivial error in Miniflux
...
This is not a bug as the behaviour that should have been implemented was
not being relied upon
2022-04-29 19:04:08 -04:00
J. King
c6cc2a1a42
Restore coverage for Query class
2022-04-29 17:23:41 -04:00
J. King
a44fe103d8
Prototype for nesting query filters
2022-04-29 16:37:16 -04:00
J. King
630536d789
Tests for union context
2022-04-29 16:35:46 -04:00
J. King
206c5c0012
Fill in union context
2022-04-28 22:32:10 -04:00
J. King
0c8f33c37c
Remove setCTE and pushCTE from query builder
2022-04-28 21:24:57 -04:00
J. King
26e431b1a5
Simplify more queries
2022-04-28 17:57:31 -04:00
J. King
336207741d
Add missing API documentation
2022-04-28 17:37:10 -04:00
J. King
65b1bb4fcd
Allow multiple dates in TT-RSS searches
2022-04-26 17:13:16 -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
e65069885b
Clean up obsolete FIXMEs
2022-04-25 18:30:13 -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
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
4080b2d09d
Apply new rules
2021-04-14 11:17:01 -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