J. King
7d95e8fc09
Split Fever user management from protocol handler
5 years ago
J. King
1ce95ef4d9
Add means of testing Fever authentication
5 years ago
J. King
07122b524a
Rename Fever user functions for consistency
5 years ago
J. King
9ebaa20633
Tests for Fever password creation and removal
5 years ago
J. King
9168155244
Add method to unset a Fever password
5 years ago
J. King
1e2d595992
Full set of authentication tests for Fever
5 years ago
J. King
d59223bbcb
First authentication test for Fever
5 years ago
J. King
3aa2b62d02
Basic Fever skeleton
Authentication should work, but not tests have been written yet
5 years ago
J. King
3b8461b1ca
Add searching to TTRSS handler
5 years ago
J. King
85307bc90a
Add parser for TTRSS search strings
5 years ago
J. King
b950ac066f
Restrict options in not-context and hopefully make it easier to use
5 years ago
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
5 years ago
J. King
81acba90dc
Use strict equality when comparing strings
6 years ago
J. King
cf896121b2
Style fixes
6 years ago
J. King
51755a2ce6
Retire article field groups
6 years ago
J. King
3b3b810f10
Replicate some unspecified NCNv1 behaviour, and document the rest
See #139 for list
Closes #139
Closes #140
Closes #141
6 years ago
J. King
27edcddc9b
Simplify NCNv1 userStatus call
6 years ago
J. King
11747c93fd
Strip out unused user management functionality
Tests have been removed as well; new tests are forthcoming
6 years ago
J. King
f64f0c6a22
Whitespace cleanup
6 years ago
J. King
1aa556cf12
Add HTTP authentication support to TTRSS; fixes #133
Also bump version to 0.4.0
6 years ago
J. King
cbc9491f75
CS fixes and version bump
7 years ago
J. King
aa57227097
Use PSR-7 for authentication; fixes #53
7 years ago
J. King
3fa2d38f31
Initial rewrite of REST class; needs more testing, but should be functional
- improves #53
- improves #66
7 years ago
J. King
890f9b07d4
Replace Resquest objects with PSR-7 request messages; improves #53
7 years ago
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.
7 years ago
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).
7 years ago
J. King
77793f95cb
Controller fixes for PDO databases; fixes #72
7 years ago
J. King
79f9808f1f
CS fixes
7 years ago
J. King
84bd624e94
Properly fix getCounters
7 years ago
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.
7 years ago
J. King
adece521a9
TTRSS: Correct mark toggling; fixes #132
7 years ago
J. King
9ac2421fe3
TTRSS: accept base64 passwords; fixes #130
7 years ago
J. King
3ffcd6dd97
Make TTRSS handler reject erroneous paths
7 years ago
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
7 years ago
J. King
4d4e8e3580
TTRSS: correct feed renaming; fixes #128
7 years ago
J. King
22cdc8916d
Documentation tweaks and CS fixes
7 years ago
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
7 years ago
J. King
3d958547a5
Implement OPTIONS requests for NCNv1; fixes #107
7 years ago
J. King
e1f1c8b859
Refactoring
7 years ago
J. King
2bbc83aeb0
Tweak
7 years ago
J. King
40e9b7f986
Changed all TTRSS outputs to match original types exactly; improves #125
7 years ago
J. King
b4890eaced
Make TTRSS tests consider data types; improves #125
7 years ago
J. King
b242c70968
Refactor of NCNv1 in anticipation of OPTIONS requests
7 years ago
J. King
999f255203
Fixes for bugs uncovered during client testing
7 years ago
J. King
05620602bf
Tweak
7 years ago
J. King
b820a004d6
Complete testing of TTRSS handler
Also implemented OPTIONS handling for TTRSS; improves #107
7 years ago
J. King
c669273792
Implement TTRSS operation getHeadlines; fixe #82
7 years ago
J. King
e729cedeca
Make getCompactHeadlines use a whitelist instead
7 years ago
J. King
5c140aedc4
Implement TTRSS operation getCompactHeadlines; fixes #95
This commit also implements the back-end for the standard getHeadlines operation and handles all special feeds and categories; fixes #119
7 years ago
J. King
b595815eb9
Change NCNv1 handler to use new "typical" articleList fieldset
7 years ago