J. King
d9b90390e7
Update style rules
3 months ago
J. King
59a9329032
Upgrade dependencies where possible with PHP 7.3
6 months ago
J. King
be3adf7026
Document RoboFile better
6 months ago
J. King
eb371b75fe
Fix documentation errors
6 months ago
J. King
1b80ad37bc
Merge branch 'csfixer3'
Code style cleanup to mostly conform to PSR-12
6 months ago
J. King
3c83fc9139
Update php-cs-fixer rules
6 months ago
J. King
711f87aad8
Housekeeping
- Update Docopt
- Switch toin-house Picofeed branch for now
- Update composer-bin
- Update php-cs-fixer
Daux has been left as-is for now even though we're using an old version
6 months ago
J. King
0a8d19d37d
Require PHP 7.3
This addresses the last of the deprecation warnings in PHP 8.2
8 months ago
J. King
fe06ffc176
Avoid dynamic property creation with PicoFeed
This only leaves the Laminas XML deprecated behaviour to handle
8 months ago
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.
8 months ago
J. King
92b1a840a1
Support PHP 8.2 properly
8 months ago
J. King
a25e777ec6
Version bump
1 year ago
J. King
44e2c9c13e
Update documentation
1 year ago
J. King
866800dcc5
Finish last Guzzle-related tests
1 year ago
J. King
136d3782e3
Update changelog
1 year ago
J. King
3be3f43bab
Start on tests for response wrappers
1 year ago
J. King
d2f3f19128
Fix failures
1 year ago
J. King
459e44e041
Address remaining errors
Still many failures to fix
1 year ago
J. King
56f015bfb9
More Guzzle conversion
1 year ago
J. King
64ec3f6ae4
Use unused variable
1 year ago
J. King
4d18bf27e2
Adjust most uses of Diactoros to Guzzle PSR-7
1 year ago
J. King
e588a52e88
Replace ServerRequestFactory
1 year ago
J. King
6c0183faea
Replace instances of Diactoros' EmptyResponse
1 year ago
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.
1 year ago
J. King
2557c22410
Update dependencies
1 year ago
J. King
4ca7b65a65
Update dependencies
1 year ago
J. King
4d37ae30ae
Update dependencies
Addresses a Guzzle vulnerability, though it does not affect The Arsse
1 year ago
J. King
d1da6fbe5e
Use cases rather than casting bools to int in SQL
1 year ago
J. King
d54733ad98
Update link to Nextcloud News documentation again
The URL has changed again since it was updated two weeks ago
1 year ago
J. King
a0c31fac5d
Merge branch 'reader'
1 year ago
J. King
59358ec35b
More PHP 7 fixes
1 year ago
J. King
90b66241b3
Fixes for PHP 7
1 year ago
J. King
761b3d5333
Return removed articles correctly in Miniflux
1 year ago
J. King
d64dc751f9
Tests for query filters
1 year ago
J. King
f51acb4264
Build exceptions correctly in Miniflux for clarity
1 year ago
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
1 year ago
J. King
c6cc2a1a42
Restore coverage for Query class
1 year ago
J. King
a44fe103d8
Prototype for nesting query filters
1 year ago
J. King
630536d789
Tests for union context
1 year ago
J. King
206c5c0012
Fill in union context
1 year ago
J. King
0c8f33c37c
Remove setCTE and pushCTE from query builder
1 year ago
J. King
26e431b1a5
Simplify more queries
1 year ago
J. King
336207741d
Add missing API documentation
1 year ago
J. King
6863c182d7
Update reference to the "Reeder" client
1 year ago
J. King
f2aad7188c
Update links to TT-RSS documentation
1 year ago
J. King
65b1bb4fcd
Allow multiple dates in TT-RSS searches
1 year ago
J. King
2c5b9a6768
Fix missing TTRSS coverage
1 year ago
J. King
17832ac63e
Allow timezone in TT-RSS search queries
Does not quite work yet
1 year ago
J. King
e65069885b
Clean up obsolete FIXMEs
1 year ago
J. King
7e5d8494c4
Tests for selecting arrays of ranges
1 year ago
J. King
e6505a5fda
Work around possible MySQL bug
1 year ago
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.
1 year ago
J. King
f6799e2ab1
Tests for date ranges in contexts
1 year ago
J. King
33a3478a58
Avoid use of PHP 7.4 feature
1 year ago
J. King
2489743d0f
Further simplifications
1 year ago
J. King
0bd01849bb
Remove unnecessary in() clause
1 year ago
J. King
895c045c9b
Simplify folder selection in article queries
1 year ago
J. King
fe02613214
Fix coverage
1 year ago
J. King
427bddd3b7
Allow multiple date ranges
1 year ago
J. King
53ba591720
Finish up article selection refactor
1 year ago
J. King
97dfef3267
Fix typos
1 year ago
J. King
396ca86482
Start on removal of conditional CTEs
This breaks the code for now, but will make clearer queries once done
1 year ago
J. King
4a87926dd5
Fix up context tests
1 year ago
J. King
6f1332c559
Start to shore up testing
1 year ago
J. King
308b592b18
Clean up coontext classes
1 year ago
J. King
983fa58ec8
Convert article and edition ranges to atomic
Unit tests for ranges are still missing
1 year ago
J. King
2c2bb4a856
Retrofits dates to use ranges
Article and edition ranges still need work
1 year ago
J. King
c993168002
Update URL of Nextcloud News documentation
1 year ago
J. King
73497688fc
Break contexts up into traits
This will make their expansion easier and will also be useful for using
typed properties later
1 year ago
J. King
1b0256d6ce
Abandon automation of binary packaging for now
2 years ago
J. King
144a41e061
Prepare new version
2 years ago
J. King
60b4002329
Revert "Document that we actually emulate Miniflux 2.0.29"
This reverts commit d379aa2253
.
2 years ago
J. King
f24ec8b00b
Address security vulnerability in Guzzle's PSR-7
implementation, used by PicoFeed
2 years ago
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.
2 years ago
J. King
b707ecc942
Tag new version
2 years ago
J. King
afe26fb8e1
Style fixes
2 years ago
J. King
3a219a591d
Update dependencies
2 years ago
J. King
b5579d6e43
Support PHP 8.1
2 years ago
J. King
b660508009
Improve MySQL test performance
2 years ago
J. King
3c884f521b
Update dependencies
2 years ago
J. King
70b063e028
Make parts of generic packaging conditional
This should allow to rebuild old releases from before Debian packages,
Arch ppackages, manpages, or even the HTML manual were added
2 years ago
J. King
cf3d270077
Merge branch 'deb'
2 years ago
J. King
1fa75aba4a
Generate Debian source package without deb tooling
2 years ago
J. King
317d23c1bb
Fix copy-paste error in manual
2 years ago
J. King
75dbe380ba
Add Pandoc to AUR arsse-git build dependencies
2 years ago
J. King
08250841a0
Don't sign packages
2 years ago
J. King
2452264893
Date release
2 years ago
J. King
c1e57eb01f
Add manual installation instructions
2 years ago
J. King
e75e0dfd2f
Clarify exactly what "older Debians" is
This is relevant because Debian 11 (Bullseye) is not yet released
2 years ago
J. King
6c11c9e485
Fix Debian bugs
2 years ago
J. King
40a2856ae8
Use correct PHP_FPM socket paths for Debian
2 years ago
J. King
c7dcc36ba1
Update version
2 years ago
J. King
a31fb896d9
Update changelog
2 years ago
J. King
def4a3bc77
Move Debian adaptations to Debian packaging rules
Also add lintian to pbuilder packages
2 years ago
J. King
cd89472575
Fix up Debian documentation
2 years ago
J. King
beea98040c
Initial documentation for Debian packages
2 years ago
J. King
59ff88f3b6
Add all-in-one packaging task
2 years ago
J. King
4070870421
Enforce external tooling requirements
2 years ago
J. King
5ab9dc3840
Add missing pbuilder script
2 years ago
J. King
20ffb2484a
Simply Robo input for Arch and Deb packaging
2 years ago
J. King
f91b3c0120
Output packages to a "release" directory
Further fixups still needed for Arch
2 years ago
J. King
4121fc3e21
Database server ports must be integers
2 years ago
J. King
7ad3611a84
Set up configuration file for Debian properly
2 years ago
J. King
5412eb348f
Clean up maintainer scripts
2 years ago
J. King
c936ecc1af
Fix another typo
2 years ago
J. King
99c923b1b1
Fix typos
2 years ago
J. King
c2237532eb
Add glue for dbconfig-common configuration
2 years ago
J. King
9687ce026e
Add MySQL back to Debian depeendencies
Recent Debian seems to favour MySQL over MariaDb again,
removing the compatibility problem
2 years ago
J. King
30bed8a9d5
Typo
2 years ago
J. King
cf9059c2b0
Update tooling
2 years ago
J. King
93bcf93685
Prototype Debian maintainer scripts
2 years ago
J. King
46e20be983
Test for service reloading
2 years ago
J. King
ad32bf3340
Style fixes
2 years ago
J. King
b8ac646d22
Fix up hangup signal handling
2 years ago
J. King
37c58e186a
Handle hangup signal
2 years ago
J. King
88fe3e76cb
Fix up missing-extension message
2 years ago
J. King
3c8ee42666
Basic tests for exception checking
2 years ago
J. King
04adc3b997
Document forking in the manpage
2 years ago
J. King
c49cb72528
Fail gracefully when extensions are missing
This still needs tests
2 years ago
J. King
c9a2393a4e
Note requirement for filter extension
2 years ago
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
2 years ago
J. King
3b51d4daea
Fix license for Debian package
2 years ago
J. King
ce9dfc3f30
Add init script to Debian files
2 years ago
J. King
cbc7cd8ea7
Add an explicit path to init script
2 years ago
J. King
2e29f3f76e
Correct typo
2 years ago
J. King
8a1a1eee42
Prototype init script
It should work, but testing it is not altogether obvious
2 years ago
J. King
e160189224
Handle exceptions from child processes
2 years ago
J. King
e9394e8599
More forking tweaks
2 years ago
J. King
577356cd3d
Fork error test
2 years ago
J. King
514cb0a351
Ow
2 years ago
J. King
0bb5e916d2
Test PID writing
2 years ago
J. King
2767ab755e
Use D modifier in pattern
2 years ago
J. King
a4036afbf8
Partial tests for PID file reading
2 years ago
J. King
32c9d761c3
Clean up more exceptions
2 years ago
J. King
5b3e8fbef0
Refine some exceptions
2 years ago
J. King
b9fd9ac32e
Tweaks
2 years ago
J. King
23749b51aa
Tests for path resolution
2 years ago
J. King
dfaf44ac68
Basic path resolution tests
2 years ago
J. King
bab64add9b
Separate PID conflict checking from PID claiming
2 years ago
J. King
822158d1bd
Update dependencies
2 years ago
J. King
f1c29c99c7
Finish testing PID file path checking
2 years ago
J. King
59cf27089a
More daemon cleanup
2 years ago
J. King
4e1193bab2
Move forking daemon support code to own class
2 years ago
J. King
32e04e3938
Move forking and related to Service class
2 years ago
J. King
55acb87577
Start on PI(D file resolution tests
2 years ago
J. King
e8cab78bd6
Handle last possible PID failures
Opening the PID file can still fail separately, though this is unlikely
2 years ago
J. King
9595c4f019
Start filling out PID file exceptions
2 years ago
J. King
372bf9f630
Exclude code from coverage
2 years ago
J. King
4ffc29781d
Remove references to oldpass param
2 years ago
J. King
47af739e47
Catch more PID path failures
2 years ago
J. King
2c7b16ed27
Respond to termination signals and delete PID file
2 years ago
J. King
410310282f
Load configuration after forking
2 years ago
J. King
29b83b4453
Prototype forking daemon
2 years ago
J. King
fc2abc1203
Use D modifier for all patterns with $ anchors
2 years ago
J. King
59c5c2eb14
Oops
2 years ago
J. King
3cd3ac4a51
Correct filename conflict
2 years ago
J. King
837895fd6a
Adapt dist files for Debian
2 years ago
J. King
b4c9413130
Update README
2 years ago
J. King
bafb788b02
Correct errors in manual
2 years ago
J. King
68e3cd82ca
Don't include section number in title
2 years ago
J. King
c3fa4788d6
Use proper metadata block for manpage
2 years ago
J. King
3567f294a6
Merge branch 'manpage'
2 years ago
J. King
8c0f047747
Update HTML manual to mention man page
2 years ago
J. King
fd76b1b611
Add examples to manual page
2 years ago
J. King
4317a96db1
Work around double spacing
2 years ago
J. King
62d49e0d3c
Fill out most of the manual page
Removed most of the online help as a consequence since maintaining
both is frought
2 years ago
J. King
88487d27a2
Expand manual page
2 years ago
J. King
46c88f584f
Fix copying of man page in PKGBUILDs
2 years ago
J. King
92823d5bc2
Create directories before executing Pandoc
2 years ago
J. King
3e55ab3849
Move man pages to their own directory
2 years ago
J. King
2ec7acc50b
Turn off "smart" character substitution in Pandoc
2 years ago
J. King
d3a983e7f0
Move the markdown manpage
Daux uses Cmmonmark, which does not support indention, required for
proper formatting of manual pages. Consequently, the manul page will
instead be standalone.
2 years ago
J. King
176aac0ad7
Fix stupid typo properly
2 years ago
J. King
e439dd8277
Fix manpage in Arch PKGBUILD
2 years ago
J. King
6cc9f96728
Prototype manual page
2 years ago
J. King
d4569c77a9
Add database location to tmpfiles
2 years ago
J. King
add1acc87a
Fix more lintian complaints
2 years ago
J. King
14d3cdfe58
Hopefully fix some Debian problems
2 years ago
J. King
281760be71
Address some lintian complaints
2 years ago
J. King
758a02d667
Move generic configuration file
2 years ago
J. King
18846c19cb
Add install list for Debian package
2 years ago
J. King
b5bbdc2bc6
Date release
2 years ago
J. King
3be6c9984d
Update Apache documentation in manual
2 years ago
J. King
6c84b2199e
More Apache fixes
2 years ago
J. King
f9cbac2c31
Hopefully fix Apache configuration
2 years ago
J. King
32ca0c3fe4
Appease GitHub once and for all
2 years ago
J. King
a81bd0e45c
Add whitespace
2 years ago
J. King
86d82a2586
Use global flag when replacing with sed
2 years ago
J. King
f0bf55f9cf
Add ExecStart to parent systemd unit
2 years ago
J. King
1055611940
Add version constraints to Arch dependencies
2 years ago
J. King
2ccfb1fd33
Fix packaging process
2 years ago
J. King
9eabfd0f27
Fix up sed usage in PKGBUILD
2 years ago
J. King
0236b42052
Use tmpfiles to create link to config file
2 years ago
J. King
8aa9d81fd1
Update changelog
2 years ago
J. King
11fc83da60
Significant edits to the manual
2 years ago
J. King
de55290746
Fix build dependencies for Deb package
2 years ago
J. King
f844c17a94
More Debian fixes
2 years ago
J. King
0de9647809
Add compat file
2 years ago
J. King
e653fb3f73
Enhancements to Debian files
2 years ago
J. King
b7909d7cd3
Downgrade tool dependencies for Ubuntu
2 years ago
J. King
3c9f4dd66f
Prototype Debian rules file
2 years ago
J. King
3537e74d49
Update dependencies
2 years ago
J. King
d031d931a5
Tidy up the Robo file further
2 years ago
J. King
38cb1059b2
Shorten output of packaging task
2 years ago
J. King
16174f11b6
Add changelog parsing to packaging task
2 years ago
J. King
073f6b3c39
Prototype Debian control file and other changes
2 years ago
J. King
3f3f449da1
Re-organize manual
2 years ago
J. King
2260b7cc50
Back up all Web server configuration
2 years ago
J. King
61eb4a252e
Fix doc URLs
2 years ago
J. King
3f401f1cfa
Fix typo
2 years ago
J. King
6c750d2dc0
Documentation for installing on Arch
Documentations for Debian still needs to be amended
2 years ago
J. King
6d790c5efd
Add prototype for new Apache configuration
Needs testing
2 years ago
J. King
3a3b9231df
Use generic configuration where possible
2 years ago
J. King
fbe03a2534
Use chmod instead of touch
2 years ago
J. King
e75f8cebfb
Add Arch packaging to Robo file
2 years ago
J. King
79391446cd
Start moving Arch build responsibility to Robo
Also clean up the generic packaging task
2 years ago
J. King
19ab9df063
Fix more bugs
2 years ago
J. King
568b12600b
Drop privileges when executing CLI
2 years ago
J. King
488af80a85
Update changelog
2 years ago
J. King
44612cfe8f
Add tmpfiles
2 years ago
J. King
d1fd6e9653
Correct permissions
A tmpfiles.d configuration is still required
2 years ago
J. King
a97ca23631
Don't try to enable extensions
2 years ago
J. King
e2b182ebe6
Fix errors in Arch config file
2 years ago
J. King
3eab5aad5d
Fix adding users to a blank database
2 years ago
J. King
805a508ea6
Use correct state path
2 years ago
J. King
3ebc23ab13
Tweaks
2 years ago
J. King
7abdf05b7f
Make package from local files for now
2 years ago
J. King
971c12ff9f
Rename sample to example
2 years ago
J. King
febc7c7ca4
Add configuration for Nginx
2 years ago
J. King
edb146b826
Use PHP-FPM instead of uWSGI
2 years ago
J. King
7ba4cabdde
Prototype Arch PKGBUILD and supporting files
The package will be created, but the result itself has yet to be tested.
2 years ago
J. King
4080b2d09d
Apply new rules
2 years ago
J. King
73731fa9db
Fix up CS config file
2 years ago
J. King
18d296dcd6
Clean up CS fixer rules
2 years ago
J. King
114dcc568f
Update dependencies
2 years ago
Dustin Wilson
1331b14a04
Reverting for now
3 years ago
Dustin Wilson
035feae0ce
Removed postcss in favor of sass for building manual theme
3 years ago
J. King
8e063bea2f
Appease GitHub again
3 years ago
J. King
4a9e66d872
Fix inconsistent grammar
3 years ago
J. King
fa4ab3218a
Version bump
3 years ago
J. King
c4260323bc
Answer 201 to PUTs like Miniflux
This does not apply to PUTs to /v1/entries, which were always 204
3 years ago
J. King
abc291460c
Update Web server configuration in manual
3 years ago
J. King
bff3e21cd2
Date release
3 years ago
J. King
764b604edd
Note Fiery Feeds' support for HTTP auth with Fever
3 years ago
J. King
4b0571299a
Add results of client testing
3 years ago
J. King
2e4c57b75b
Work around Microflux for Miniflux
3 years ago
J. King
dcb81ea043
Only provide icon ID when there is data
3 years ago
J. King
77a9bb801d
Defer testing of Maxiflux
3 years ago
J. King
f90b78a976
Fix compatibility issues
- CORS OPTIONS requests may not ask for credentials
- Fever apparently didn't care about supplied Content-Type
3 years ago
J. King
e6b4edd160
Supress deprecation messages during runtime
3 years ago
J. King
8aca42c882
Minor fixes for correctness
3 years ago
J. King
458126416c
Fix PostgreSQL coverage annotations
3 years ago
J. King
6b7257a6c4
Work around more MySQL stupidity
3 years ago
J. King
5cfa01f4d5
Work around MySQL stupidity
3 years ago
J. King
64ca5f1be0
Fix strict comparison failures
3 years ago
J. King
ed285ee28b
Shut Robo up
3 years ago
J. King
4642b9fd1c
PRovide upgrade path for assertRegExp
3 years ago
J. King
3a1fcaac39
Remove last uses of Phake
3 years ago
J. King
75148bfbc6
Convert NCNv1 tests to PHony
3 years ago
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.
3 years ago
J. King
a322d034f3
More TT-RSS test conversions to Phony
3 years ago
J. King
2d951fb071
More TT-RSS test conversions
3 years ago
J. King
c7350c6d57
Convert Miniflux tests to using Phony
3 years ago
J. King
9dfe3919cf
Progress on TT-RSS tests
3 years ago
J. King
e90aa585b2
PArtial rewrite of TT-RSS tests
3 years ago
J. King
2348786a92
Start on replacing Phake with Phony
3 years ago
J. King
9b369d902f
Update tooling for PHP 8
3 years ago
J. King
dab4cb21e6
Geekttrss seems to work
3 years ago
J. King
d836d6a243
Add more clients to the untested list
3 years ago
J. King
50b2ca4500
Document tokens and metadata in the manual
3 years ago
J. King
9c0a3b7a57
Fix typo
3 years ago
J. King
3ba82b7c6d
Fix CLI bootstrap problem
3 years ago
J. King
fa6d641634
Implement CLI for tokens
3 years ago
J. King
3795b1ccd8
Simplify CLI command processing
3 years ago
J. King
e8ed716ae6
Fix errors in CLI documentation
3 years ago
J. King
97d1de46f8
Fill in upgrade notes
3 years ago
J. King
68422390da
Implement CLI for user metadata
3 years ago
J. King
b7c7915a65
Enforce admin rquirements in NCNv1
3 years ago
J. King
a760bf2ded
Implement "t" and "f" booleans in TT-RSS
3 years ago
J. King
9ad4a37ddf
Tests and fixes for Miniflux with PDO
3 years ago
J. King
687995c497
More potential Miniflux Web clints
3 years ago
J. King
29761d767a
Update documentation
3 years ago
J. King
dad74c2616
Implement Fever icons
3 years ago
J. King
90034ac1f8
Style fixes
3 years ago
J. King
211cea648e
Implement TT-RSS API level 15
3 years ago
J. King
f2e5d567ec
Update sample Web server configuration
3 years ago
J. King
eae0ba4b68
Tests fortoken operations
3 years ago
J. King
9cc779a717
Import/export tests
3 years ago
J. King
37fd2ad4e9
Tests for new exception features
3 years ago
J. King
6c2de89f3e
Revert copy-paste corruption
3 years ago
J. King
54a6fcc0d6
Consolidate object factoriesinto one place
3 years ago
J. King
a0d563e468
Update dependencies
3 years ago
J. King
b4ae988b79
Prototype OPML handling
3 years ago
J. King
681654f249
Documentation update
3 years ago
J. King
dd29ef6c1b
Add feed refreshing stubs
3 years ago
J. King
ab1cf7447b
Implement article marking
3 years ago
J. King
334a585cb8
Implement single-entry querying
3 years ago
J. King
a7d05a7717
Feed- and category-specific entry list routes
3 years ago
J. King
00ad1cc5b9
Last tests for article querying
3 years ago
J. King
d4a6909cf6
Positional article queries tests
3 years ago
J. King
e42e25d333
More article query tests
3 years ago
J. King
f7b3a473a9
Clarify ordering syntax rationale
3 years ago
J. King
af51377fe9
First set of article query tests
3 years ago
J. King
23ca6bb77b
Count articles without offset or limit
3 years ago
J. King
0e7abfa8f9
Largely complete article querying
Tests to come
3 years ago
J. King
a43f8797c5
Add ability to sort by folder ID or name
3 years ago
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
3 years ago
J. King
9d7ada7f59
Partial implementation of article sorting
3 years ago
J. King
007183450a
Context and column list for article queries
Sorting and transformation still need to be figured out
3 years ago
J. King
197cbba77d
Document article column definitions
3 years ago
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
3 years ago
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
3 years ago
J. King
1e924bed83
Partial query string normalization
3 years ago
J. King
3b2190ca10
Include folder names directly in subscription list
3 years ago
J. King
ad094f5217
Don't return icons without types at all
3 years ago
J. King
cd5f13f4b9
Tests for icon querying
3 years ago
J. King
76f1cc8e91
Adjust users of subscriptionIcon
3 years ago
J. King
cc2672fb0a
Improve icon fetching interface
3 years ago
J. King
1eea3b3a4c
Fix feed update test
3 years ago
J. King
8e749bb73c
Report 404 on icons for absence of data
This is significant as upgraded databases have icon IDs, but no data
3 years ago
J. King
bdf9c0e9d2
Prototype feed icon querying
3 years ago
J. King
9197a8d08b
Implement feed deletion
3 years ago
J. King
8eebb75b18
Implement feed editing
3 years ago
J. King
5a8a044a92
Implement single-feed querying
3 years ago
J. King
a646ad77b7
Use a read transaction when computing filter rules
3 years ago
J. King
cca4b205e4
Correct error output of getCategoryFeeds
3 years ago
J. King
a34edcb0d1
Last tests for feed creation
3 years ago
J. King
7893b5f59d
More feed adding tests
3 years ago
J. King
36cc4928b9
Test feed fetching errors for Miniflux
3 years ago
J. King
727864f401
Implement feed listing by category
Also modify user list to reflect changes in Miniflux 2.0.27.
3 years ago
J. King
4972c79e32
Allow simpler feed exception creation
3 years ago
J. King
6936f365e4
Add calls coming in next version of Miniflux
3 years ago
J. King
fd25be5c27
Basic tests for feed creation
3 years ago
J. King
e7b2f54183
Prototype feed creation
3 years ago
J. King
14d2d19ae1
Tests for Miniflux feed listing
3 years ago
J. King
2cf4bf0d4d
Prototype Miniflux feed listing
3 years ago
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.
3 years ago
J. King
7897585d98
Test scraping
Text search should also match scraped content when appropriate
3 years ago
J. King
76f70119fd
More work on scraping
3 years ago
J. King
4cb23dd198
Partial implementation of proper content scraping
3 years ago
J. King
e74b44cc39
Change favicon to icon_url and add icon_id
3 years ago
J. King
2536c9fe03
Last tests for article filters
3 years ago
J. King
9f2b8d4f83
Imprement setting of filter rules
3 years ago
J. King
618fd67f80
Set marks for filtered articles on feed refresh
3 years ago
J. King
7a6186f2d7
Update Miniflux documentation
3 years ago
J. King
097362881b
Tests for filtering during feed parsing
3 years ago
J. King
a4146ec129
Start on test for filtering during feed parsing
3 years ago
J. King
9e29235d87
Don't fetch from example.com during tests
3 years ago
J. King
549c7bdc72
Style fixes
3 years ago
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
3 years ago
J. King
c1eff8479c
Simplify configuration property caching
3 years ago
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
3 years ago
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
3 years ago
J. King
47ae65b9d3
Function to apply filter rules
3 years ago
J. King
b12f87e231
Support Xdebug 3.x for coverage
3 years ago
J. King
ffc5579a7a
Partial implementation of filter rule handling
3 years ago
J. King
7e17332714
Implement marking all as read for Miniflux
3 years ago
J. King
31f0539dc0
Implement Miniflux user deletion
3 years ago
J. King
bf95b134bd
Fix up error codes for category changes
3 years ago
J. King
197922f92f
Implement Miniflux user creation
3 years ago
J. King
ee0c3c9449
Tests and fixes for user modification
3 years ago
J. King
cc648e1c3a
Update tooling
3 years ago
J. King
67f577d573
Bump emulated Miniflux version
3 years ago
J. King
f58005640a
Prototype user modification
3 years ago
J. King
2946d950f2
Forbid more user names
- Control characters are now forbidden
- Controls and colons are now also forbidden when renaming
3 years ago
J. King
405f3af257
Invalidate sessions and Fever passwords when renaming users
3 years ago
J. King
5ec04d33c6
Add backend functionality to rename users
3 years ago
J. King
88cf3c6dae
Test filter rule retrieval
3 years ago
J. King
d66cf32c1f
Style fixes
3 years ago
J. King
a81760e39d
Aggressivly clean up hidden articles
Notably, starred articles are cleaned up if hidden
3 years ago
J. King
ade0402210
Adjust TT-RSS to ignore hidden items
3 years ago
J. King
f33359f3e3
Move some Miniflux features to abstract handler
3 years ago
J. King
b7ce6f5c79
Adjust Fever to ignore hidden items
3 years ago
J. King
b2fae336e8
Adjust Nextcloud News to ignore hidden items
3 years ago
J. King
f0bfe1fdff
Simplify editionLatest Database method
Also adjust label querying to take hidden marks into account
3 years ago
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
3 years ago
J. King
97010d8822
Tests for marking articles hidden
3 years ago
J. King
86c4a30744
Adjust articleStarred function to discount hidden
3 years ago
J. King
ffc98daff3
Adjust article marking tests to account for new hidden mark
3 years ago
J. King
8ae3740d5f
Implement querying articles by hidden mark
3 years ago
J. King
d5cd5b6a17
Implement hidden marks
Tests are still needed
3 years ago
J. King
c43d0dcae3
Groundwork for filtering rules
3 years ago
J. King
95a2018e75
Implement caategory marking as read
3 years ago
J. King
5124f76b70
Implementcategory deletion
3 years ago
J. King
eb079166de
Tests for category renaming
3 years ago
J. King
3ebb46f48e
Some work on categories
3 years ago
J. King
2e6c5d2ad2
Query Miniflux categories
3 years ago
J. King
4b73698381
More user query tests
3 years ago
J. King
ebdfad535c
More Miniflux user tests
Also added user lookup functionality
3 years ago
J. King
7c841b5fc2
Test for listing users
3 years ago
J. King
5c83655541
Add modification timestamp to user metadata
3 years ago
J. King
d85988f09d
Prototype Miniflux user querying
3 years ago
J. King
2eedf7d38c
Finally fix MySQL
3 years ago
J. King
e9d449a8ba
Fix user manager and tests
3 years ago
J. King
ce68566fcb
Hopefully fix MySQL
3 years ago
J. King
a431243421
Fixes for MySQL and PostgreSQL
3 years ago
J. King
fcf1260dab
Adjust database portion of user property manager
3 years ago
J. King
978929aabd
WIP redesign of user properties
3 years ago
J. King
0f3e0411f0
Document some differences frrom Miniflux
3 years ago
J. King
94154d4354
Implement Miniflux feed discovery
3 years ago
J. King
669e17a1f6
Add ability to discover multiple feeds
3 years ago
J. King
2a0d6e6599
OPTIONS tests
3 years ago
J. King
7fa5523a7d
Simplify handling of invalid paths and methods
3 years ago
J. King
def07bb1ad
Tests for Miniflux authentication
This appears to match Miniflux's behaviour
3 years ago
J. King
8c059773bb
Update tooling
3 years ago
J. King
90117b5cd7
Fix Miniflux strip value
3 years ago
J. King
06dee77bac
First tests for Miniflux
3 years ago
J. King
f6cd2b87ce
Port token data from Microsub branch
3 years ago
J. King
d4bcdcdadd
Fix TTRSS coverage
3 years ago
J. King
d3ebb1bd56
Last set of tests for user management. Fixes #180
3 years ago
J. King
e16df90bae
Style fixes
3 years ago
J. King
180b4ecc9b
More user tests
3 years ago
J. King
27d9c046d5
More work on user management
3 years ago
J. King
7f2117adaa
Differentiate between duplicate/missing users and other failure modes
3 years ago
J. King
351f972512
Tests for internal user driver
3 years ago
J. King
4baf5fa2f9
Tests for new user functionality in Database
3 years ago
J. King
dde9d7a28a
Refinements to user manager
A greater effort is made to keep the internal database synchronized
3 years ago
J. King
eb2fe522bf
Last bits of the new user metadata handling
3 years ago
J. King
5a17efc7b5
Clean up user driver API
- It is no longer assumed a driver knows whether a user exists
- The $password param is now required (but nullable when setting
3 years ago
J. King
771f79323c
Strip out remnants of the authorizer
3 years ago
J. King
576d7e16a8
Fix handling of bytea-typed nulls
3 years ago
J. King
1b1789988a
More client compatibility updates
3 years ago
J. King
532ce4a502
Prototype changes to user management
The driver itself has not been expnaded; more is probably required to ensure
metadata is kept in sync and users created when the internal database does
not list a user an external database claims to have
3 years ago
J. King
ee050e505c
Add more Android clients to manual
3 years ago
J. King
9fb185a8e2
Add TT-RSS Web client to manual
3 years ago
J. King
b62c11a43e
Lasts tests for icon cache; fixes #177
3 years ago
J. King
1d3725341a
Fix detection of Xdebug for coverage
3 years ago
J. King
311910795a
More tests for icon cache
3 years ago
J. King
3d3c20de5c
Don't anticipate API features
3 years ago
J. King
4d532cba3f
Initial Miniflux documentation
3 years ago
J. King
e861cca53d
Integrate schema change necessary for microsub
3 years ago
J. King
b24c469dca
Update changelog
3 years ago
J. King
8f739cec85
Excluse empty-string URLs from icons table
3 years ago
J. King
424b14d2b4
Clean up use of subscriptionFavicon
3 years ago
J. King
dd1a80f279
Consolidate subscription icon querying
Users and tests still need adjusting
3 years ago
J. King
4fc208d940
More consistent icon API
3 years ago
J. King
c3a57ca68b
Tests for icon cache population
3 years ago
J. King
bd650765e1
Generalize icon fetching tests
3 years ago
J. King
50fd127ac4
Test for icon fetching
3 years ago
J. King
7c40c81fb3
Add icons to the database upon feed update
3 years ago
J. King
c25782f98c
Partial icon handling skeleton
3 years ago
J. King
af675479b8
Remove excess whitespace
3 years ago
J. King
2438f35f3d
Add icon cache to database
Feed updating has not yet been adapted to store
icon data (nor their URLs anymore)
3 years ago
J. King
5e60da00a9
Merge branch 'master' into miniflux
3 years ago
J. King
b5f959aabf
Fix blob tests
3 years ago
J. King
41bcffd6fb
Correctly query PostgreSQL byte arrays
This required different workarouynd for the native and PDO interfaces
3 years ago
J. King
c21ae3eca9
Correctly send binary data to PostgreSQL
This finally brings PostgreSQL to parity with SQLite and MySQL.
Two tests casting binary data to text were removed since behaviour here
should in fact be undefined
Accountinf for any encoding when retrieving data will be addressed by
a later commit
3 years ago
J. King
c92bb12a11
Prototype Miniflux dispatcher
3 years ago
J. King
905f8938e2
Typo
3 years ago
J. King
8ad7fc81a8
Initially mapping out of Miniflux API
3 years ago
J. King
16d2e01668
New schema for PostgreSQL and MySQL
3 years ago
J. King
4db1b95cf4
Add numeric IDs and other Miniflux data to SQLite schema
3 years ago
J. King
3ac010d5b6
Fix tests in absence of database extensions
3 years ago
J. King
b58a326461
Prepare for schema changes
3 years ago
J. King
e9682bc601
Correct typos
3 years ago
J. King
5a09dcb3ed
Update changelog
3 years ago
J. King
e3ebd89aa8
Add NewsFlash to supported clients
3 years ago
J. King
0117e7f9bf
Relax Fever's HTTP correctness for client compat
- Unread on iOS appears to send all API requests as GETs
- Newsflash on Linux sends multipart/form-data input
3 years ago
J. King
7ef02e1d65
Revert wishful thinking
3 years ago
J. King
3d909da1e5
Update iOS/macOS client URLs
3 years ago
J. King
6520ed38fb
Update dependencies
3 years ago
J. King
9b11001402
Fix sample Nginx configuration
3 years ago
J. King
2e0ed5e923
Add reference to MariaDB missing features
3 years ago
J. King
afbf3be031
Use 'union all' instead of 'union' in queries
3 years ago
J. King
6ee7ca4aa4
Update PicoFeed to latest release version
3 years ago
J. King
9bc1373998
Version bump
3 years ago
J. King
0f3ada598e
Work around Picofeed bug
A fix is pending merging upstream
3 years ago
J. King
d29917caf8
Update Yarn again
3 years ago
J. King
e75d15e552
Update dependencies
3 years ago
J. King
77aef9c995
Yarn update
3 years ago
J. King
ee549cdee7
Appease GitHub (yet again)
3 years ago
J. King
2620314583
GitHub should now be kept in sync at all times
3 years ago
J. King
20fe65b67e
Make changelog point to manual instead of readme
3 years ago
J. King
66a4f71ef3
Minor simplification
3 years ago
J. King
5f35a680e3
Appease GitHub (again)
4 years ago
J. King
c1e27684d4
Appease GitHub
4 years ago
J. King
1268e5fd73
Finally fix DST error in tests
4 years ago
J. King
7777ff962f
Group more style rules under PSR-12
4 years ago
J. King
e60f7ea03f
Add class constant visibility
4 years ago
J. King
bc53a2d24a
Style fixes
4 years ago
J. King
a7f69c845f
Use a more specific house style
4 years ago
J. King
3aa17ee70f
Whitespace
4 years ago
J. King
e8091fa740
Speed up coverage slightly.
4 years ago
J. King
9696d55b31
Prepare ugfix release
4 years ago
J. King
670fb61299
Merge branch 'php7.1'
4 years ago
J. King
1d514e4739
Remove forked picofeed repository
4 years ago
J. King
cf4a9e6436
Use archived copy of MySQL critique
4 years ago
J. King
39a1895867
Refine and cover new Guzzle error handling
4 years ago
J. King
cb41912f36
Merge branch 'master' into php7.1
4 years ago
J. King
d7e10e40ee
Prefer PCOV for code coverage
4 years ago
J. King
04878bda9d
Documentation changes
4 years ago
J. King
06d3af0ac3
Fix remaining Picofeed-related test failures
4 years ago
J. King
9cb7cf485d
Style fix
4 years ago
J. King
e29c573210
Update tools
4 years ago
J. King
49d003082d
Fix problems with nicolus/picofeed
This involved multiple fixes to Picofeed itself, not all of which have
been merged upstream yet
4 years ago
J. King
e583ffea67
Start on integrating well-maintained picofeed fork
Picofeed configuration does not seem to get passed to Guzzle.
4 years ago
J. King
b5f118e8cb
Cleanup
4 years ago
J. King
bbace7a0ac
Use void and nullable return types where practical
4 years ago
J. King
5838af892f
Replace references to Zend with Laminas
4 years ago
J. King
0565553d4a
Change PHP requirement in manual
4 years ago
J. King
9e1087914c
Change tool dependencies to "dev" type
4 years ago
J. King
2fa2799b64
Require PHP 7.1 in Composer
In reality we have unwittingly required PHP 7.1 for some time
4 years ago
J. King
14ef33879b
Re-arrange database tests by engine
4 years ago
J. King
c4ee7254cd
Refactor some tests to use data providers
4 years ago
J. King
fb2602fe04
Don't load actual configuration during CLI tests
4 years ago
J. King
38501ce4f2
Add Newsie to documented clients
4 years ago
J. King
cca56b09fc
Order failing tests first
This only seems to work under some conditions, but it's a start.
4 years ago
J. King
4421a9e510
Offload coveraage whitelisting to xdebug
4 years ago
J. King
524b1ca140
Merge branch 'master' into phpunit-8
4 years ago
J. King
3ee89bf669
Version bump
4 years ago
J. King
c9d4540616
Merge branch 'mysql'
4 years ago
J. King
3cb8dfafe2
Change download URL in manual
4 years ago
J. King
bbe70b6abc
Corect CamelCase references to Nextcloud
4 years ago
J. King
794fb506a5
Widen URL field
4 years ago
J. King
484510cf8c
Expand text fields other than user id and feed URL
4 years ago
J. King
e3144ecbf5
Update tool dependencies
4 years ago
J. King
5df89009e6
Merge branch 'master' of https://code.mensbeam.com/MensBeam/arsse
4 years ago
J. King
15de8c2320
Fix PostgreSQL connection error message
4 years ago
J. King
f4b08170bf
Fix MySQL schema
4 years ago
J. King
568e6e4660
Delete dangling MySQL records when updating
MySQL seems to reject queries involving arsse_folders.parent and
arsse_subscription.folder, though they appear to be valid. More testing
is required.
4 years ago
J. King
737dd9f6b8
Fix foreign keys in MySQL
4 years ago
J. King
c1a3e64bfa
Fix new tests to work with PHPUnit 8
4 years ago
J. King
de424e42f6
Merge branch 'master' into phpunit-8
4 years ago
J. King
c6b79d49ba
Documentation corrections
4 years ago
J. King
5ede4cbdb2
Clarify coverage requirements
4 years ago
J. King
bbc96e4f37
Remove reference to obsolete CSS-only manual task
4 years ago
J. King
733f0d7fd5
Fix typo
4 years ago
J. King
17a2fa96f8
Upgrade to PHPUnit 8
4 years ago
J. King
1809fb254e
Deal with trailing whitespace in media types
4 years ago
J. King
4f5a8e3180
Make media type checking more robust
4 years ago