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
579551f5fd
Implement TTRSS operation getFeedTree; fixes #94
2017-10-30 13:11:27 -04:00
J. King
6a700f784c
Tests for TTRSS operation setArticleLabel; fixes #90
2017-10-28 10:52:38 -04:00
J. King
5c4772d95a
CS fixes
2017-10-20 19:02:42 -04:00
J. King
d05aaf688f
Preliminary TTRSS setArticleLabel implementation
2017-10-20 18:17:47 -04:00
J. King
488a7bddac
Adapt TTRSS to new type system
2017-10-20 09:54:08 -04:00
J. King
8c6c49d588
Merge changes from master
2017-10-19 22:58:42 -04:00
J. King
4e3369cd03
List all valid TTRSS input
2017-10-15 12:47:07 -04:00
J. King
fbbf751214
Implement the TTRSS getLabels operation; fixes #89
2017-10-13 17:05:06 -04:00
J. King
20ff08a431
Implement TTTRSS getCounters operation; fixes #79
2017-10-11 12:55:50 -04:00
J. King
c9c6891567
Implement TTRSS getCategories; fixes #81
2017-10-07 12:46:05 -04:00
J. King
7a2de95c70
Consolidate article context handling into articleQuery function
...
Also consolidated article star counting into a generic articleCount function which accepts a context.
This may lead to slight efficiency losses in either listing or marking (and more significant ones in counting starred), but the advantages of centralized context handling are significant with the future addition of labels and the need to count articles under various future contexts in TTRSS.
2017-10-06 20:26:22 -04:00
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
2017-10-05 17:42:12 -04:00
J. King
69b34a4e5a
Implement TTRSS feed updating; fixes #86
2017-10-03 16:14:37 -04:00
J. King
03d5d554a9
Imple TTRSS functions getUnread and getConfig
...
- Fixes #78
- Fixes #85
2017-10-03 12:43:46 -04:00
J. King
bd6f23692c
Implement TTRSS feed subscription; fixes #92
2017-10-03 10:43:09 -04:00
J. King
97b0134e56
Merge master
2017-10-02 15:42:15 -04:00
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
2017-09-30 22:15:55 -04:00
J. King
0a0aabe4ed
Merge master
2017-09-30 12:52:05 -04:00
J. King
5488b994f7
Merged master; CS fixes
2017-09-28 10:16:24 -04:00
J. King
1af8b733b5
Implement adding TTRSS categories; fixe #99
2017-09-26 22:45:54 -04:00
J. King
8487a56a60
Tests for TTRSS session handling and version/level reporting
...
- Fixes #73
- Fixes #74
- Fixes #75
- Fixes #76
- Fixes #77
2017-09-25 10:08:37 -04:00
J. King
c393dfc42b
Sundry fixes
...
- Make use of PHP 7's null coalescing operator
- remove use of static property in Lang class
- Improve code coverage slightly
2017-09-05 19:35:14 -04:00
J. King
f7e50fe95d
Passed code through linter
2017-08-29 10:50:31 -04:00
J. King
52104fb647
Implement article cleanup; fixes #28
2017-08-17 22:36:15 -04:00
J. King
3b018c89d1
Implemented cleanup of orphaned feeds; fixes #25
2017-08-02 18:27:04 -04:00
J. King
5df7217cff
Improve REST test coverage
2017-07-24 08:15:37 -04:00
J. King
d3bca6eb47
More code coverage accommodation
2017-07-20 22:40:09 -04:00
J. King
cbdcacd1c3
Added basic code coverage annotations
2017-07-20 18:36:03 -04:00
J. King
4cded011ff
Complete implementations of server status and user status REST calls
...
- Fixes #30
- Fixes #31
- Avatars are not yet supported by the data model; blocked by issue #52
2017-07-19 18:07:36 -04:00
J. King
da092d5f8c
Changed Misc\DateFormatter to a collection of static methods and renamed it to Date; renamed Data to Arsse to avoid confusion and better reflect its centrality
2017-07-17 07:47:57 -04:00
J. King
e797de05c2
Fix NCNv1 tests
...
- Version report test was failing
- Added test for offset=0
2017-07-16 11:51:18 -04:00
J. King
4992b2c669
Tests for NCN v1 article listing and marking, with slight fixes
...
-Fixes #7
-Fixes #13
-Fixes #14
-Fixes #15
-Fixes #16
-Fixes #17
-Fixes #18
-Fixes #19
-Fixes #20
-Fixes #21
-Fixes #22
-Fixes #23
-Fixes #24
2017-07-09 17:57:18 -04:00
J. King
b3f631e335
Use more reliable database locking strategy; reorganize tests
...
PostgreSQL and MySQL both have better locking mechanisms than what was previously implemented, as well
2017-07-07 21:06:38 -04:00
J. King
17ec6cf669
Move date formatting out of SQL and standardize on the DateFormatter trait
...
Fixes #56
2017-07-07 15:25:47 -04:00
J. King
3fad820be4
REST functions for article listing and marking
...
Needs testing
2017-07-07 08:13:03 -04:00
J. King
483874e21d
Implemented query contexts
...
- Fixes #55
- Included test for Context
- Adjusted Database::editionLatest() to use Context
- Adjusted NCN handler and tests accordingly
- Also refined experimental Database::articleList() method and added experimental Database::articlePropertiesSet() method
2017-06-18 10:23:37 -04:00
J. King
2332cd52a3
Cleanup
2017-06-04 08:15:10 -04:00
J. King
dd24246f49
Finished last of feedUpdate tests; implemented NCN API functions
...
- Fixes #26
- Fixes #27
2017-06-03 17:34:37 -04:00
J. King
81419452b5
Added topmost folder to output of subscriptionList. Fixes #54
...
- Adjusted NCN handler to use the topmost folder for folderId; suppressed the actual folder so as not to pollute output with non-standard data
- Updated tests
2017-06-01 18:12:08 -04:00
J. King
97a8f473a7
More Feed tests; Linux fixes
...
- Adjusted some namespace case
- Included Linux test runner; should also work with macOS
- Made the PHP server run in the background on Windows
2017-05-21 19:51:03 -04:00
J. King
88c0f4986c
Implement NCN API v1-2 feed handling: tests
...
- Fixes #8
- Fixes #9
- Fixes #10
- Fixes #11
- Fixes #12
- Differentiated between a missing ID which is the subject of an action (e.g. the subscription when moving a subscription) and other missing IDs (e.g. the folder when moving a subscription)
- Enforced same rules for subscription titles as for folder names, save that null is valid for subscriptions
2017-05-21 10:10:36 -04:00
J. King
0972cff660
Completely revamped NCNv1 REST handler
...
- URLs are now matched centrally against a whitelist
- %-encoded URLs are still handled correctly
- Dispatched methods now only handle one specific task
- Filler methods (e.g. versionPOST) are no longer required
- Unhandled URLs now return 501 Not Implemented rather than 404 Not Found; this removes some ambiguity in the semantics of 404
2017-05-19 23:52:26 -04:00
J. King
a67fe30408
Fix whitespace
...
Also fixed my editor so tabs won't happen again!
2017-04-06 21:41:21 -04:00
J. King
74ae1106a4
Implement NCN API v1-2 server version reporting
...
- Fixes #29
- Yes, it's trivial, but now it's done!
2017-04-02 21:49:37 -04:00
J. King
9cbfa378bc
Implement NCN API v1-2 folder deleting/renaming
...
- Fixes #5
- Fixes #6
- Rewrote the NCNv1 dispatcher to better handle URL edge cases
2017-04-02 21:34:30 -04:00
J. King
19abce85c3
Implement NCN API v1-2 folder creation
...
- Fixes #4
- Tests for failure modes still required
2017-04-02 12:14:15 -04:00
J. King
842e277d43
Implemented NCN API v1-2 folder list
...
- Fixes #2
- Also re-organized REST handling
2017-04-01 23:06:52 -04:00