J. King
6ef13d0880
Style fixes
5 years ago
J. King
3899ee6b4e
Allow for replacing label and tag associations
This supplements adding and removing
5 years ago
J. King
2d18be959c
Tests for undoing read marks
6 years ago
J. King
daeff63239
Test basic Fever responses
6 years ago
J. King
efd8492573
Tests for various invalid requests
6 years ago
J. King
52bc5fbda6
Tests for simple marking
6 years ago
J. King
98fc3f4940
Test for hot links
6 years ago
J. King
e8f4732b1f
Tests for saved and unread item ID lists
6 years ago
J. King
4ce371ece6
Tests and fixes for Fever item listing
6 years ago
J. King
e3d2215920
Style fixes
6 years ago
J. King
12f23ddc16
Updated tests for arbitrary sorting
6 years ago
J. King
de615c671a
Tests and fixed for Fever feeds and groups
6 years ago
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
6 years ago
J. King
7d95e8fc09
Split Fever user management from protocol handler
6 years ago
J. King
1ce95ef4d9
Add means of testing Fever authentication
6 years ago
J. King
fe008d4343
A few more Fever authentication tests
6 years ago
J. King
3b28634447
Verify even in exceptional cases
6 years ago
J. King
07122b524a
Rename Fever user functions for consistency
6 years ago
J. King
9ebaa20633
Tests for Fever password creation and removal
6 years ago
J. King
1e2d595992
Full set of authentication tests for Fever
6 years ago
J. King
d59223bbcb
First authentication test for Fever
6 years ago
J. King
44366f48bf
Remove arbitrary search term limits; fixes #150
6 years ago
J. King
3b8461b1ca
Add searching to TTRSS handler
6 years ago
J. King
85307bc90a
Add parser for TTRSS search strings
6 years ago
J. King
b950ac066f
Restrict options in not-context and hopefully make it easier to use
6 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
6 years ago
J. King
81acba90dc
Use strict equality when comparing strings
6 years ago
J. King
0513b606c2
Merge master
6 years ago
J. King
b9272ea2eb
Fix test failures in PHP 7.1
6 years ago
J. King
cf896121b2
Style fixes
6 years ago
J. King
51755a2ce6
Retire article field groups
6 years ago
J. King
7340d65c0e
Make data clearing in tests static
6 years ago
J. King
f22e53fdc9
Align result tests with driver tests
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
4869559fb3
Test NCNv1 user query
6 years ago
J. King
d40243a84c
Clean up configuration setting in tests
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
0be9dcb5a8
Update dependencies
6 years ago
J. King
e08d82f855
Style fix
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
edbfb12d17
Improve coverage slightly
Improves #66
6 years ago
J. King
cbc9491f75
CS fixes and version bump
7 years ago
J. King
cef061f6cd
Fix tests
7 years ago
J. King
aa57227097
Use PSR-7 for authentication; fixes #53
7 years ago
J. King
daea0ceb27
Make HTTP message testing generic
assertMessage will test the method and target URL of requests, attributes of server requests, as well as the existing testing of a response's status code. All messages' bodies and header fields are tested for equivalence (with a special case for JSON response bodies).
7 years ago
J. King
90dfeb727a
Implement CORS; fixes #126
7 years ago
J. King
0ec0a5b085
Ensure the request method is always uppercased
7 years ago
J. King
4b53c5e8b3
Tests and fixes for REST class; fixes #53 ; improves #66
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