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
J. King
ea08bbb87b
Implement TTRSS feed icons; fixes #121
...
This introduces a data model function of unusual privilege: it can retrieve favicon URLs for any subscription, regardless of user ID. This is a single-purpose hack and its use should be avoided if at all possible.
2017-11-10 12:02:59 -05:00
J. King
ea986f5032
Implement TTRSS operation updateArticle; fixes #83
...
This required adding the "notes" column to the arsse_marks table and adding same as a target value in Database::articleMark()
The Context class was also adjusted to remove the possibility of false positives in some tests
2017-11-09 14:21:12 -05:00
J. King
c6cd8b8aaa
Removing request chunking from NCN controller
2017-11-07 10:00:31 -05:00
J. King
9c9c34f7fe
Implement TTRSS operation getFeeds; fixes #80
2017-11-02 17:17:46 -04:00
J. King
fff6082e3c
Adjust TTRSS catchupFeed to use shallow subscription listing
2017-10-31 18:12:50 -04:00
J. King
f22fe8ba95
Tweak catchupFeed
2017-10-31 09:39:06 -04:00
J. King
2a08edb27d
Implement TTRSS catchupFeed operation; fixes #88
2017-10-30 23:18:43 -04:00
J. King
e4ae3ca6ea
Use constants for TTRSS' special feeds and categories
2017-10-30 16:18:09 -04:00
J. King
579551f5fd
Implement TTRSS operation getFeedTree; fixes #94
2017-10-30 13:11:27 -04:00