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
d3bca6eb47
More code coverage accommodation
2017-07-20 22:40:09 -04:00
J. King
054200dfc0
Fix potential of erroneous matching of URL containing encoded #.
2017-05-20 08:57:24 -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
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
Dustin Wilson
7236020b8b
Changed "NewsSync" to "Arsse"
2017-03-27 23:12:12 -05:00
J. King
536fa5c4fd
Implement NextCloud News version detection
...
- Improves #47
- Still needs wrapping to actually output to clients
2017-03-19 21:50:00 -04:00
J. King
9a8def03c2
Fill in more of the REST handler.
...
Not yet functional.
2017-03-18 22:30:36 -04:00