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 8fc31cfc40 Rewrite various queries to work in PostgreSQL
This involved changes to the driver interface as well as the database
schemata. The most significantly altered queries were for article
selection and marking, which relied upon unusual features of SQLite.
Overall query efficiency should not be adversely affected (it may have
even imprved) in the common case, while very rare cases (not presently
triggered by any REST handlers) require more queries.

One notable benefit of these changes is that functions which query
articles can now have complete control over which columns are returned.
This has not, however, been implemented yet: symbolic column groups are
still used for now.

Note that PostgreSQL still fails many tests, but the test suite runs to
completion. Note also that one line of the Database class is not
covered; later changes will eventually make it easier to cover the line
in question.
2018-12-04 20:41:21 -05:00
..
Conf Added per-file legal boilerplate 2017-11-16 20:23:18 -05:00
Db Rewrite various queries to work in PostgreSQL 2018-12-04 20:41:21 -05:00
Feed Added per-file legal boilerplate 2017-11-16 20:23:18 -05:00
Lang Added per-file legal boilerplate 2017-11-16 20:23:18 -05:00
Misc Rewrite various queries to work in PostgreSQL 2018-12-04 20:41:21 -05:00
REST Replicate some unspecified NCNv1 behaviour, and document the rest 2018-11-07 13:01:46 -05:00
Service Whitespace cleanup 2018-10-26 14:58:04 -04:00
User Tests for internal user driver; closes #50 2018-11-04 12:06:30 -05:00
AbstractException.php Ensure the Lang class always exists when throwing exceptions 2018-11-06 12:48:31 -05:00
Arsse.php Changelog and documentation updates 2018-11-07 10:24:35 -05:00
CLI.php Merge remote-tracking branch 'remotes/origin/user-rewrite' 2018-11-06 16:36:50 -05:00
Conf.php Improved timeout handling for both SQlite and PostgreSQL 2018-11-22 13:30:13 -05:00
Database.php Rewrite various queries to work in PostgreSQL 2018-12-04 20:41:21 -05:00
Exception.php Added per-file legal boilerplate 2017-11-16 20:23:18 -05:00
ExceptionFatal.php Added per-file legal boilerplate 2017-11-16 20:23:18 -05:00
ExceptionType.php Added per-file legal boilerplate 2017-11-16 20:23:18 -05:00
Feed.php Remove PicoFeed-related FIXMEs 2018-11-20 15:46:22 -05:00
Lang.php Improve coverage slightly 2018-08-17 08:35:13 -04:00
REST.php Strip out unused user management functionality 2018-10-28 10:59:17 -04:00
Service.php Whitespace cleanup 2018-10-26 14:58:04 -04:00
User.php Appease phpdbg coverage bug 2018-11-03 13:49:02 -04:00