J. King
0a0aabe4ed
Merge master
7 years ago
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
7 years ago
J. King
f7e50fe95d
Passed code through linter
7 years ago
J. King
d3bca6eb47
More code coverage accommodation
7 years ago
J. King
054200dfc0
Fix potential of erroneous matching of URL containing encoded #.
7 years ago
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
7 years ago
J. King
a67fe30408
Fix whitespace
Also fixed my editor so tabs won't happen again!
8 years ago
J. King
19abce85c3
Implement NCN API v1-2 folder creation
- Fixes #4
- Tests for failure modes still required
8 years ago
J. King
842e277d43
Implemented NCN API v1-2 folder list
- Fixes #2
- Also re-organized REST handling
8 years ago
Dustin Wilson
7236020b8b
Changed "NewsSync" to "Arsse"
8 years ago
J. King
536fa5c4fd
Implement NextCloud News version detection
- Improves #47
- Still needs wrapping to actually output to clients
8 years ago
J. King
9a8def03c2
Fill in more of the REST handler.
Not yet functional.
8 years ago