J. King
029c23d0cf
Adapt API tests to allow for PDO mocks
6 years ago
J. King
095fe10aec
Reorganize PDO tests into namespaces
6 years ago
J. King
59fee52074
Reorganize tests into namespaces
6 years ago
J. King
3f65625090
Ensure tests do not rely in UTC default timezone
Six tests failed if the default timezone was not UTC. These were all due to faulty expectations, however, not faulty output.
6 years ago
J. King
3adfe8742f
Reorganize test cases
7 years ago
J. King
84bd624e94
Properly fix getCounters
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
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
b820a004d6
Complete testing of TTRSS handler
Also implemented OPTIONS handling for TTRSS; improves #107
7 years ago
J. King
a61aa0a22c
Simplify TTRSS test request boilerplate
7 years ago
J. King
c669273792
Implement TTRSS operation getHeadlines; fixe #82
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
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
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
42a5ccb96c
Handle request splitting in data model rather than controllers
Queries for multiple specific articles are limited in size because of limits on the number of bound query parameters.
Currently this limit is somewhat arbitrarily set at 50, but it may increase.
Historically controllers would be responsible for chunking input, but this will present problems when the expected output is a result set, and of course the maintenance burden increases as the number of controllers increases.
This commit transfers the burden to the data model, and consequently introduces a ResultAggregate class which collects chunked result sets (currently only for articleList).
In the course of making these changes the mock Result class was also largely rewritten, fixing many bugs with it.
This commit does not modify the controllers nor their tests; this will be done in a subsequent commit.
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
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
J. King
488a7bddac
Adapt TTRSS to new type system
7 years ago
J. King
4e3369cd03
List all valid TTRSS input
7 years ago
J. King
fbbf751214
Implement the TTRSS getLabels operation; fixes #89
7 years ago
J. King
20ff08a431
Implement TTTRSS getCounters operation; fixes #79
7 years ago
J. King
c9c6891567
Implement TTRSS getCategories; fixes #81
7 years ago
J. King
26f6922b25
Partially implement labels
- Backend functions for adding, listing, removing, and editing (renaming) labels currently implemented
- TTRSS functions for adding (fixes #96 ), removing (fixes #97 ), and renaming (fixes #98 ) labels currently implemented
7 years ago
J. King
69b34a4e5a
Implement TTRSS feed updating; fixes #86
7 years ago
J. King
03d5d554a9
Imple TTRSS functions getUnread and getConfig
- Fixes #78
- Fixes #85
7 years ago
J. King
bd6f23692c
Implement TTRSS feed subscription; fixes #92
7 years ago
J. King
97b0134e56
Merge master
7 years ago
J. King
91cce6b529
Implement all TTRSS feed and category handling except subscribing to feeds
- Fixes #93
- Fixes #100
- Fixes #101
- Fixes #102
- Fixes #103
- Fixes #104
7 years ago
J. King
5488b994f7
Merged master; CS fixes
7 years ago
J. King
1af8b733b5
Implement adding TTRSS categories; fixe #99
7 years ago
J. King
8487a56a60
Tests for TTRSS session handling and version/level reporting
- Fixes #73
- Fixes #74
- Fixes #75
- Fixes #76
- Fixes #77
7 years ago