Re: [RFC PATCH] REST: Add new setting for maximum API page size

2018-08-06 Thread Andrew Donnellan
On 26/07/18 23:24, Daniel Axtens wrote: Andrew Donnellan writes: On 24/07/18 15:10, Andrew Donnellan wrote: In 41790caf59ad ("REST: Limit max page size") we limited the maximum page size to the default page size in the settings. This turns out to be rather restrictive, as we usually want to

Database consistency issues

2018-08-06 Thread Konstantin Ryabitsev
Hi, all: I'm trying to figure out how this can possibly happen: > SELECT id, submission_id FROM patchwork_comment WHERE submission_id=9896319; +--+---+ | id | submission_id | +--+---+ | 20810589 | 9896319 | +--+---+ 1 row in

[PATCH v2 2/3] Default dev settings, set host to empty (unix socket) on postgresql

2018-08-06 Thread Daniel Black
An empty environment variable resulted in localhost, meaning posgresql connecting to domain sockets wasn't available. Signed-off-by: Daniel Black --- .travis.yml | 3 +++ patchwork/settings/dev.py | 1 + 2 files changed, 4 insertions(+) diff --git a/.travis.yml b/.travis.yml

[PATCH v2 1/3] travis: test against postgresql 10 and 11

2018-08-06 Thread Daniel Black
Signed-off-by: Daniel Black --- .travis.yml | 51 +-- 1 file changed, 49 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 6cb983f..58e0b08 100644 --- a/.travis.yml +++ b/.travis.yml @@ -23,14 +23,61 @@ env: global:

[PATCH v2 3/3] travis: add mariadb-10.3 as test

2018-08-06 Thread Daniel Black
Signed-off-by: Daniel Black --- .travis.yml | 5 + 1 file changed, 5 insertions(+) diff --git a/.travis.yml b/.travis.yml index 0c6e79d..70b42c1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -26,6 +26,11 @@ env: matrix: include: +- addons: +mariadb: '10.3' + env: +