J. King
94154d4354
Implement Miniflux feed discovery
2020-12-02 18:00:27 -05:00
J. King
2a0d6e6599
OPTIONS tests
2020-12-01 12:08:45 -05:00
J. King
7fa5523a7d
Simplify handling of invalid paths and methods
2020-12-01 11:06:29 -05:00
J. King
def07bb1ad
Tests for Miniflux authentication
...
This appears to match Miniflux's behaviour
2020-11-30 10:52:32 -05:00
J. King
06dee77bac
First tests for Miniflux
2020-11-23 09:31:50 -05:00
J. King
e16df90bae
Style fixes
2020-11-16 10:26:14 -05:00
J. King
7f2117adaa
Differentiate between duplicate/missing users and other failure modes
2020-11-15 16:24:26 -05:00
J. King
424b14d2b4
Clean up use of subscriptionFavicon
2020-11-06 10:27:30 -05:00
J. King
c92bb12a11
Prototype Miniflux dispatcher
2020-11-01 19:11:01 -05:00
J. King
8ad7fc81a8
Initially mapping out of Miniflux API
2020-10-31 21:26:11 -04:00
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
2020-10-27 10:49:54 -04:00
J. King
e60f7ea03f
Add class constant visibility
2020-03-01 18:32:01 -05:00
J. King
bc53a2d24a
Style fixes
2020-03-01 15:16:50 -05:00
J. King
bbace7a0ac
Use void and nullable return types where practical
2020-01-20 13:34:03 -05:00
J. King
5838af892f
Replace references to Zend with Laminas
2020-01-20 10:40:05 -05:00
J. King
c4ee7254cd
Refactor some tests to use data providers
2020-01-08 12:02:43 -05:00
J. King
bbe70b6abc
Corect CamelCase references to Nextcloud
2019-12-05 13:02:02 -05:00
J. King
5df89009e6
Merge branch 'master' of https://code.mensbeam.com/MensBeam/arsse
2019-12-02 19:09:16 -05:00
J. King
728eecfbb5
Additional service tests
2019-10-19 12:14:13 -04:00
J. King
64c3ec3571
Coverage fixes and OPML bugfix
2019-10-17 13:00:56 -04:00
J. King
4f5a8e3180
Make media type checking more robust
2019-09-27 22:38:03 -04:00
J. King
53aa7a4d0d
Style fixes
2019-09-05 10:21:36 -04:00
J. King
d9c769d40e
Remove Target class
2019-09-05 10:19:05 -04:00
J. King
29667464a1
Remove unnecessary namespace imports
2019-09-05 10:03:32 -04:00
J. King
137be8bde2
Fix whitespace
2019-07-26 23:24:29 -04:00
J. King
45a43488ee
Increase compatibility with misbehaving Fever clients
2019-07-26 23:23:22 -04:00
J. King
2aa16f3405
Merge branch 'fever' into opml
2019-07-24 14:04:04 -04:00
J. King
61b942df70
Defer Fever favicons to a future release
2019-07-24 12:27:50 -04:00
J. King
0480465e7e
Test Fever XML responses
...
Fixes #158
2019-07-24 09:10:13 -04:00
J. King
6ef13d0880
Style fixes
2019-05-01 22:52:20 -04:00
J. King
3899ee6b4e
Allow for replacing label and tag associations
...
This supplements adding and removing
2019-04-27 18:32:15 -04:00
J. King
2d18be959c
Tests for undoing read marks
2019-04-10 18:27:57 -04:00
J. King
c55a960b85
Slight cleanup
2019-04-10 15:14:45 -04:00
J. King
8532c581a8
Handle OPTIONS requests in Fever
2019-04-10 10:51:02 -04:00
J. King
afb95e53b0
Initial implementation of read-undo
2019-04-10 10:21:14 -04:00
J. King
52bc5fbda6
Tests for simple marking
2019-04-10 09:48:28 -04:00
J. King
15915a4393
Initial implementation of simple marks
2019-04-08 23:31:22 -04:00
J. King
c783ec4357
Prototype XML output for Fever
2019-04-08 20:58:45 -04:00
J. King
98fc3f4940
Test for hot links
2019-04-08 19:21:21 -04:00
J. King
4ce371ece6
Tests and fixes for Fever item listing
2019-04-08 18:41:56 -04:00
J. King
e3d2215920
Style fixes
2019-04-05 11:03:15 -04:00
J. King
0ef606aa03
Return string list of item IDs
2019-04-05 08:20:05 -04:00
J. King
0752e9cf3d
Implement Fever sync
2019-04-04 19:37:48 -04:00
J. King
c6d241e653
Implement Fever item list
2019-04-04 17:57:12 -04:00
J. King
f72c85c9f6
Hopefully working but maybe broken custom sorting
2019-04-04 11:22:50 -04:00
J. King
5d994f3dad
Normalize Fever input consistently
...
Two parameters are undocumented, but other implementations consistently
accept them from clients
2019-03-28 14:54:31 -04:00
J. King
de615c671a
Tests and fixed for Fever feeds and groups
2019-03-27 15:09:04 -04:00
J. King
7faec3b0db
Fever fixes
...
- Ensure the last refresh time is included in authenticated requests
- Use a partial mock in auth tests so that other processing does not
get in the way of results
- Make sure the group list includes unused groups
- Make sure the update time of subscriptions is correct
2019-03-27 11:54:47 -04:00
J. King
acb3973149
Prototype implementation of Fever groups and feeds
2019-03-26 08:53:26 -04:00
J. King
bf3bf9589f
Merge branch 'master' into fever
2019-03-25 14:12:08 -04:00
J. King
65f723c7d4
Fix missing reference to author in TT-RSS.
2019-03-25 11:30:35 -04:00
J. King
22c2629078
Partial tests for new CLI features
2019-03-25 10:45:05 -04:00
J. King
7d95e8fc09
Split Fever user management from protocol handler
2019-03-25 08:31:49 -04:00
J. King
1ce95ef4d9
Add means of testing Fever authentication
2019-03-24 15:05:21 -04:00
J. King
07122b524a
Rename Fever user functions for consistency
2019-03-21 10:19:30 -04:00
J. King
9ebaa20633
Tests for Fever password creation and removal
2019-03-20 22:24:35 -04:00
J. King
9168155244
Add method to unset a Fever password
2019-03-20 10:42:04 -04:00
J. King
1e2d595992
Full set of authentication tests for Fever
2019-03-19 23:37:08 -04:00
J. King
d59223bbcb
First authentication test for Fever
2019-03-18 22:49:47 -04:00
J. King
3aa2b62d02
Basic Fever skeleton
...
Authentication should work, but not tests have been written yet
2019-03-09 22:44:59 -05:00
J. King
3b8461b1ca
Add searching to TTRSS handler
2019-02-28 16:22:04 -05:00
J. King
85307bc90a
Add parser for TTRSS search strings
2019-02-28 15:31:33 -05:00
J. King
b950ac066f
Restrict options in not-context and hopefully make it easier to use
2019-02-25 22:41:12 -05:00
J. King
5cd84c4ab4
Validate configuration parameters on import, and other changes
...
- Each parameter is checked for type and normalized
- Interval strings are converted to DateInterval objects
- Timeouts can be specified as interval strings
- Most intervals can be null to signify infinity
- Driver classes are checked that they implement the correct interface
- Short driver names may be used, and are used by default
- Helpful errors messages are printed in case of erroneous configuration
Exporting is currently broken; this will be fixed in an upcoming commit
2019-01-20 22:40:49 -05:00
J. King
81acba90dc
Use strict equality when comparing strings
2019-01-11 10:38:06 -05:00
J. King
cf896121b2
Style fixes
2018-12-05 17:28:11 -05:00
J. King
51755a2ce6
Retire article field groups
2018-12-05 16:55:14 -05:00
J. King
3b3b810f10
Replicate some unspecified NCNv1 behaviour, and document the rest
...
See #139 for list
Closes #139
Closes #140
Closes #141
2018-11-07 13:01:46 -05:00
J. King
27edcddc9b
Simplify NCNv1 userStatus call
2018-10-28 13:59:09 -04:00
J. King
11747c93fd
Strip out unused user management functionality
...
Tests have been removed as well; new tests are forthcoming
2018-10-28 10:59:17 -04:00
J. King
f64f0c6a22
Whitespace cleanup
2018-10-26 14:58:04 -04:00
J. King
1aa556cf12
Add HTTP authentication support to TTRSS; fixes #133
...
Also bump version to 0.4.0
2018-10-26 14:40:20 -04:00
J. King
cbc9491f75
CS fixes and version bump
2018-01-12 09:48:33 -05:00
J. King
34b508171b
Merge CORS branch
2018-01-12 09:41:13 -05:00
J. King
aa57227097
Use PSR-7 for authentication; fixes #53
2018-01-11 15:48:29 -05:00
J. King
3fa2d38f31
Initial rewrite of REST class; needs more testing, but should be functional
...
- improves #53
- improves #66
2018-01-06 12:02:45 -05:00
J. King
890f9b07d4
Replace Resquest objects with PSR-7 request messages; improves #53
2018-01-04 23:08:53 -05:00
J. King
9ad0b47201
Add Target class to manipulate request traget URL parts
...
The query part is not parsed for now because PSR-7 request objects/PHP take care of that parsing for us.
2018-01-04 14:06:45 -05:00
J. King
9eadd602bd
Replace Response objects with PSR-7 response messages; improves #53
...
While the test suite passes, this commit yields a broken server: replacing ad hoc request objectss with PSR-7 ones is still required, as is emission of PSR-7 responses. Both will come in subsequent commits, with tests
Diactoros was chosen specifically because it includes facilities for emitting responses, something which is awkward to test. The end of this refactoring should see both the Response and Request classes disappear, and the general REST class fully covered (as well as any speculative additions to AbstractHanlder).
2018-01-03 23:13:08 -05:00
J. King
77793f95cb
Controller fixes for PDO databases; fixes #72
2017-12-31 17:24:40 -05:00
J. King
79f9808f1f
CS fixes
2017-12-07 15:18:25 -05:00
J. King
84bd624e94
Properly fix getCounters
2017-12-06 19:16:35 -05:00
J. King
af42bceac0
Do not omit zero-unread items in TTRSS getCounter operation
...
Though TTRSS itself (usually) omits items that have a counter of zero, at least one client takes this to mean the last-seen counter is unchanged, rather than zero.
2017-12-06 15:50:40 -05:00
J. King
adece521a9
TTRSS: Correct mark toggling; fixes #132
2017-12-01 22:13:27 -05:00
J. King
9ac2421fe3
TTRSS: accept base64 passwords; fixes #130
2017-11-30 19:31:40 -05:00
J. King
3ffcd6dd97
Make TTRSS handler reject erroneous paths
2017-11-30 17:54:56 -05:00
J. King
a404d4d108
NCNv1: Be explicit about types; fixes #129
...
This is actually mandated by the specification: a change in data type requires a protocol version number change
2017-11-30 14:47:39 -05:00
J. King
4d4e8e3580
TTRSS: correct feed renaming; fixes #128
2017-11-30 12:49:23 -05:00
J. King
22cdc8916d
Documentation tweaks and CS fixes
2017-11-29 22:42:50 -05:00
J. King
5cd7268c0a
Added incorrectDbCharset to NCNv1 server status
...
This has been exposed since version 11.0.3, released before our version 0.1.0, but after implementation work had begun
2017-11-29 18:14:59 -05:00
J. King
40944a9b58
Merge remote-tracking branch 'remotes/origin/ttrss'
2017-11-29 16:05:23 -05:00
J. King
3d958547a5
Implement OPTIONS requests for NCNv1; fixes #107
2017-11-29 15:28:33 -05:00
J. King
e1f1c8b859
Refactoring
2017-11-29 13:41:26 -05:00
J. King
2bbc83aeb0
Tweak
2017-11-29 12:15:37 -05:00
J. King
40e9b7f986
Changed all TTRSS outputs to match original types exactly; improves #125
2017-11-29 11:47:10 -05:00
J. King
b4890eaced
Make TTRSS tests consider data types; improves #125
2017-11-29 09:22:59 -05:00
J. King
b242c70968
Refactor of NCNv1 in anticipation of OPTIONS requests
2017-11-28 13:46:07 -05:00
J. King
999f255203
Fixes for bugs uncovered during client testing
2017-11-27 13:05:08 -05:00
J. King
05620602bf
Tweak
2017-11-23 18:12:18 -05:00
J. King
b820a004d6
Complete testing of TTRSS handler
...
Also implemented OPTIONS handling for TTRSS; improves #107
2017-11-23 18:07:56 -05:00