1
1
Fork 0
mirror of https://code.mensbeam.com/MensBeam/Arsse.git synced 2024-12-22 21:22:40 +00:00
Arsse/lib
J. King 42a5ccb96c Handle request splitting in data model rather than controllers
Queries for multiple specific articles are limited in size because of limits on  the number of bound query parameters.

Currently this limit is somewhat arbitrarily set at 50, but it may increase.

Historically controllers would be responsible for chunking input, but this will present problems when the expected output is a result set, and of course the maintenance burden increases as the number of controllers increases.

This commit transfers the burden to the data model, and consequently introduces a ResultAggregate class which collects chunked result sets (currently only for articleList).

In the course of making these changes the mock Result class was also largely rewritten, fixing many bugs with it.

This commit does not modify the controllers nor their tests; this will be done in a subsequent commit.
2017-11-06 23:32:29 -05:00
..
Conf Passed code through linter 2017-08-29 10:50:31 -04:00
Db Handle request splitting in data model rather than controllers 2017-11-06 23:32:29 -05:00
Feed Passed code through linter 2017-08-29 10:50:31 -04:00
Lang Passed code through linter 2017-08-29 10:50:31 -04:00
Misc CS fixes 2017-10-20 19:02:42 -04:00
REST Implement TTRSS operation getFeeds; fixes #80 2017-11-02 17:17:46 -04:00
Service Passed code through linter 2017-08-29 10:50:31 -04:00
User Preliminary implementation of TTRSS sessions (needs tests; may not work) 2017-09-16 19:57:33 -04:00
AbstractException.php Merge from master 2017-11-06 15:58:26 -05:00
Arsse.php Merge master 2017-10-02 15:42:15 -04:00
CLI.php Merge master 2017-10-02 15:42:15 -04:00
Conf.php Merged master; CS fixes 2017-09-28 10:16:24 -04:00
Database.php Handle request splitting in data model rather than controllers 2017-11-06 23:32:29 -05:00
Exception.php Passed code through linter 2017-08-29 10:50:31 -04:00
ExceptionFatal.php Passed code through linter 2017-08-29 10:50:31 -04:00
ExceptionType.php Merge changes from master 2017-10-19 22:58:42 -04:00
Feed.php Merge master 2017-10-02 15:42:15 -04:00
Lang.php Sundry fixes 2017-09-05 19:35:14 -04:00
REST.php Partially implement labels 2017-10-05 17:42:12 -04:00
Service.php Preliminary implementation of TTRSS sessions (needs tests; may not work) 2017-09-16 19:57:33 -04:00
User.php Passed code through linter 2017-08-29 10:50:31 -04:00