mirror of
https://code.mensbeam.com/MensBeam/Arsse.git
synced 2024-12-22 21:22:40 +00:00
d365529493
- Database functions now accept any input, but throw typeViolation exceptions where appropriate instead of idMissing or subjectMissing - Added unit tests for the new Misc\ValueInfo static class - Added ValueInfo::id() method to centrally validate database IDs, and made use of it consistently - Made use of PHP's filter_var() function where appropriate when validating or sanitizing input - Made the NCN protocol handler reject most invalid IDs before handing off to method handlers - Made NCN's feedUpdate and subscriptionMove methods return 422 on invalid input - Adjusted several tests to handler type violations |
||
---|---|---|
.. | ||
Conf | ||
Db | ||
docroot | ||
Exception | ||
Feed | ||
Lang | ||
lib | ||
Misc | ||
REST/NextCloudNews | ||
Service | ||
User | ||
phpunit.xml | ||
server.php | ||
test | ||
test.bat |