1
1
Fork 0
mirror of https://code.mensbeam.com/MensBeam/Arsse.git synced 2024-12-23 09:02:41 +00:00
Arsse/tests/lib/Database
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
..
DriverSQLite3.php Make exporting the database test fixture easier 2017-10-13 00:03:25 -04:00
SeriesArticle.php Handle request splitting in data model rather than controllers 2017-11-06 23:32:29 -05:00
SeriesCleanup.php Merged master; CS fixes 2017-09-28 10:16:24 -04:00
SeriesFeed.php Merged master; CS fixes 2017-09-28 10:16:24 -04:00
SeriesFolder.php Implement TTRSS getCategories; fixes #81 2017-10-07 12:46:05 -04:00
SeriesLabel.php Complete backend support for labels 2017-10-13 00:04:26 -04:00
SeriesMeta.php Passed code through linter 2017-08-29 10:50:31 -04:00
SeriesMiscellany.php Passed code through linter 2017-08-29 10:50:31 -04:00
SeriesSession.php Merged master; CS fixes 2017-09-28 10:16:24 -04:00
SeriesSubscription.php Allow subscriptions to be listed non-recursively 2017-10-31 18:09:16 -04:00
SeriesUser.php Partially implement labels 2017-10-05 17:42:12 -04:00
Setup.php Make exporting the database test fixture easier 2017-10-13 00:03:25 -04:00