J. King
6c0183faea
Replace instances of Diactoros' EmptyResponse
2 years ago
J. King
983fa58ec8
Convert article and edition ranges to atomic
Unit tests for ranges are still missing
2 years ago
J. King
2c2bb4a856
Retrofits dates to use ranges
Article and edition ranges still need work
2 years ago
J. King
f90b78a976
Fix compatibility issues
- CORS OPTIONS requests may not ask for credentials
- Fever apparently didn't care about supplied Content-Type
3 years ago
J. King
b7c7915a65
Enforce admin rquirements in NCNv1
3 years ago
J. King
a760bf2ded
Implement "t" and "f" booleans in TT-RSS
3 years ago
J. King
e74b44cc39
Change favicon to icon_url and add icon_id
3 years ago
J. King
b2fae336e8
Adjust Nextcloud News to ignore hidden items
3 years ago
J. King
95a2018e75
Implement caategory marking as read
3 years ago
J. King
94154d4354
Implement Miniflux feed discovery
3 years ago
J. King
7fa5523a7d
Simplify handling of invalid paths and methods
3 years ago
J. King
c92bb12a11
Prototype Miniflux dispatcher
4 years ago
J. King
e60f7ea03f
Add class constant visibility
4 years ago
J. King
bc53a2d24a
Style fixes
4 years ago
J. King
5838af892f
Replace references to Zend with Laminas
4 years ago
J. King
c4ee7254cd
Refactor some tests to use data providers
4 years ago
J. King
bbe70b6abc
Corect CamelCase references to Nextcloud
4 years ago
J. King
4f5a8e3180
Make media type checking more robust
5 years ago
J. King
d9c769d40e
Remove Target class
5 years ago
J. King
f72c85c9f6
Hopefully working but maybe broken custom sorting
5 years ago
J. King
b950ac066f
Restrict options in not-context and hopefully make it easier to use
5 years ago
J. King
81acba90dc
Use strict equality when comparing strings
5 years ago
J. King
51755a2ce6
Retire article field groups
5 years ago
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
aa57227097
Use PSR-7 for authentication; fixes #53
6 years ago
J. King
3fa2d38f31
Initial rewrite of REST class; needs more testing, but should be functional
- improves #53
- improves #66
6 years ago
J. King
890f9b07d4
Replace Resquest objects with PSR-7 request messages; improves #53
6 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).
6 years ago
J. King
77793f95cb
Controller fixes for PDO databases; fixes #72
6 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
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
b242c70968
Refactor of NCNv1 in anticipation of OPTIONS requests
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
c6cd8b8aaa
Removing request chunking from NCN controller
7 years ago
J. King
8c6c49d588
Merge changes from master
7 years ago
J. King
d45401fb8b
Adapt NCN to new type converter
This has the side-effect of removing the ability to reset a feed's title by passing null explicitly. As a non-standard behaviour it was simpler to just remove it.
7 years ago
J. King
20ff08a431
Implement TTTRSS getCounters operation; fixes #79
7 years ago
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.
7 years ago
J. King
97b0134e56
Merge master
7 years ago
J. King
1b72d45adf
Relegate bootstrap.php to testing; fixes #117
7 years ago
J. King
5488b994f7
Merged master; CS fixes
7 years ago
J. King
96ebf936e4
CS fixes
7 years ago