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
J. King
c88b5c4f18
Make distinction between modified and marked for articles
Also added various sets of fields to include when listing articles.
7 years ago
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
7 years ago
J. King
6c8598d897
Implement contexts for non-recursive folders, and any/no label
Adjusted TTRSS handler accordingly
7 years ago
J. King
de92fb514b
Implement TTRSS opera getArticle; fixes #84
7 years ago
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.
7 years ago
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
7 years ago
J. King
c6cd8b8aaa
Removing request chunking from NCN controller
7 years ago
J. King
9c9c34f7fe
Implement TTRSS operation getFeeds; fixes #80
7 years ago
J. King
fff6082e3c
Adjust TTRSS catchupFeed to use shallow subscription listing
7 years ago
J. King
f22fe8ba95
Tweak catchupFeed
7 years ago
J. King
2a08edb27d
Implement TTRSS catchupFeed operation; fixes #88
7 years ago
J. King
e4ae3ca6ea
Use constants for TTRSS' special feeds and categories
7 years ago
J. King
579551f5fd
Implement TTRSS operation getFeedTree; fixes #94
7 years ago
J. King
6a700f784c
Tests for TTRSS operation setArticleLabel; fixes #90
7 years ago
J. King
5c4772d95a
CS fixes
7 years ago