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
J. King
c669273792
Implement TTRSS operation getHeadlines; fixe #82
2017-11-22 20:18:16 -05:00
J. King
e729cedeca
Make getCompactHeadlines use a whitelist instead
2017-11-20 09:49:47 -05:00
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
2017-11-20 00:09:20 -05:00
J. King
b595815eb9
Change NCNv1 handler to use new "typical" articleList fieldset
2017-11-17 18:12:00 -05:00
J. King
c88b5c4f18
Make distinction between modified and marked for articles
...
Also added various sets of fields to include when listing articles.
2017-11-17 17:52:00 -05:00
J. King
6da86428c4
Added per-file legal boilerplate
...
Includes PHPDoc license tag in the file-level block with accompanying copyright notice.
Also added an AUTHORS file on the off chance of outside contributions
2017-11-16 20:51:03 -05:00
J. King
11b2066922
Added per-file legal boilerplate
...
Includes PHPDoc license tag in the file-level block with accompanying copyright notice.
Also added an AUTHORS file on the off chance of outside contributions
2017-11-16 20:23:18 -05:00
J. King
6c8598d897
Implement contexts for non-recursive folders, and any/no label
...
Adjusted TTRSS handler accordingly
2017-11-16 15:56:14 -05:00
J. King
de92fb514b
Implement TTRSS opera getArticle; fixes #84
2017-11-15 15:38:49 -05:00