Commit Graph

145 Commits

Author SHA1 Message Date
Serghei Mihai d11d196fa8 feeder: preseve categories and form names order (#36930) 2020-03-02 22:07:03 +01:00
Benjamin Dauvergne 3afc79b42e wcs_api: handle empty dict in FormData.workflow (#39373) 2020-01-31 18:26:21 +01:00
Benjamin Dauvergne 8fc092f4d7 feeder: add prefix to join's names of fields (#39373) 2020-01-31 17:51:12 +01:00
Benjamin Dauvergne 04ad4ee2d2 feeder: factorize values in field's schemas (#39373) 2020-01-31 17:51:12 +01:00
Benjamin Dauvergne 047d03200c tests: add agents data (#39430) 2020-01-31 17:50:03 +01:00
Benjamin Dauvergne a6af6fd665 remove dead code (#39430) 2020-01-31 17:49:42 +01:00
Benjamin Dauvergne dce418d99d migrate to python3 (#39430) 2020-01-30 23:33:16 +01:00
Valentin Deniaud c304e0f8f8 misc: add slug to cubes (#38597)
This also reverts commit 084b0d06b4,
which has never been actually used.
2019-12-18 10:35:34 +01:00
Benjamin Dauvergne a368ae716b tox.ini: remove non working py3 test env 2019-12-09 15:35:00 +01:00
Benjamin Dauvergne f806b9d675 feeder: define all joins (#38066)
* join with the dates table must be inner because we do not want to
see results for forms outside the dates table (every form must have a
receipt_time),
* all other joins must be left because form's schemas are dynamic and
dimension can be absent from older forms but we still want to count them.
2019-12-04 10:17:24 +01:00
Frédéric Péters ba95cc7f28 ignore internal/unknown roles assigned to functions (#37015) 2019-10-17 09:46:21 +02:00
Benjamin Dauvergne 32ff0b75b5 ignore fields with duplicated varname (#26207) 2019-10-03 17:52:30 +02:00
Benjamin Dauvergne 0c78cf8731 tox.ini: test with python3 (#26207) 2019-10-03 17:52:30 +02:00
Benjamin Dauvergne 4fc741c9e0 use only unicode strings (#26207) 2019-10-03 17:52:30 +02:00
Emmanuel Cazenave dee2d6ab9e jenkins: use ci@entrouvert.org for notifications 2019-10-02 14:54:51 +02:00
Benjamin Dauvergne e38041b6a8 replace more explicit quoting by quote() (#36503) 2019-09-30 13:42:13 +02:00
Benjamin Dauvergne b544f4f938 quote status table (#36503) 2019-09-30 13:40:03 +02:00
Benjamin Dauvergne 9698d7852a quote all templated field and table names (#36503) 2019-09-28 11:01:50 +02:00
Frédéric Péters 8e60ac10d1 misc: reduce default batch size to 500 items (#36077) 2019-09-15 11:22:53 +02:00
Frédéric Péters 4953b05b75 switch data type of references to option tables to allow more options (#36129) 2019-09-15 10:20:14 +02:00
Serghei Mihai 238002e5bf feeder: quote item field name in cube schema (#35732) 2019-09-02 17:03:19 +02:00
Frédéric Péters a5168d1f15 always update dates table (#35725) 2019-09-02 15:19:31 +02:00
Frédéric Péters b5ceb76525 avoid crash on workflows without any status (#35726) 2019-09-02 09:25:12 +02:00
Frédéric Péters 3c4c0b6e41 allow for bigger labeled tables (#35568) 2019-09-02 09:25:12 +02:00
Benjamin Dauvergne e54a12df09 keep case of status stable in reference (#34559) 2019-08-16 14:26:08 +02:00
Benjamin Dauvergne 953ef05f00 keep case in tables' and fields' names (#34559) 2019-08-16 14:26:08 +02:00
Frédéric Péters f52de8e6af tox: update dependencies for new wcs django-ratelimit usage 2019-08-13 19:28:53 +02:00
Benjamin Dauvergne ba0859492b ignore empty formdefs (#34392) 2019-07-30 19:20:46 +02:00
Thomas NOËL 9a7a280d0a Revert "keep case in tables' and fields' names (#34559)"
This reverts commit 1d3705a7b1.
2019-07-26 09:16:49 +02:00
Thomas NOËL 0afea49dab Revert "keep case of status stable in reference (#34559)"
This reverts commit 0450cf32ca.
2019-07-26 09:16:41 +02:00
Benjamin Dauvergne 0450cf32ca keep case of status stable in reference (#34559) 2019-07-25 10:26:47 +02:00
Benjamin Dauvergne 1d3705a7b1 keep case in tables' and fields' names (#34559) 2019-07-24 17:56:09 +02:00
Frédéric Péters da5435384d feeder: always include hash in json index (#33059) 2019-05-31 07:35:05 +02:00
Frédéric Péters 89bfafb6dd misc: increase json index table name hash size (#33009) 2019-05-13 19:49:03 +02:00
Frédéric Péters 8eb9560d16 tox: add new w.c.s. dependency (pyproj) 2019-05-13 19:49:03 +02:00
Frédéric Péters 3460f300f9 misc: use NULL to store empty string field option (#32748) 2019-05-02 15:01:03 +02:00
Christophe Siraut dfa55d91a1 debian: switch package format to 3.0 (quilt) (#32261) 2019-04-16 14:48:17 +02:00
Christophe Siraut 1e0dddfb0b debian: bump debhelper compatibility level (#32260) 2019-04-16 14:36:12 +02:00
Frédéric Péters f628a6b6fd convert enumerate/generator into list before checking it't not empty (#32259) 2019-04-15 17:56:47 +02:00
Christophe Siraut 0ef61ec694 drop tables sequencially to avoid max_locks_per_transaction (#20190) 2019-04-15 16:30:45 +02:00
Benjamin Dauvergne 70a7271d15 feeder: prevent reseting sequences to 0 (#31667) 2019-04-01 11:12:26 +02:00
Frédéric Péters 25100cf7bd misc: fix insertion in previously empty table (#31655) 2019-03-29 17:00:03 +01:00
Frédéric Péters 084b0d06b4 misc: allow cubes to be given a slug (#30858) 2019-03-04 13:05:52 +01:00
Emmanuel Cazenave 90cc6318b9 re-use dimension tables from previous run (#30752) 2019-03-01 14:15:36 +01:00
Emmanuel Cazenave f53b4bf9d0 remove dead code (#30752)
An 'item' type field has no 'options'.
2019-03-01 13:58:15 +01:00
Emmanuel Cazenave d8bd9cc87b enable pyscopg2 unicode type caster (#30752)
Facilitate SELECT query with a WHERE clause
on a varchar column.
2019-03-01 12:30:50 +01:00
Emmanuel Cazenave 17bce30be9 coding style: move class attributes (#30752) 2019-03-01 12:29:44 +01:00
Frédéric Péters 504de3b096 jenkins: fix name of test results file 2019-02-22 14:48:45 +01:00
Frédéric Péters 98a98bf72a jenkins: publish results earlier 2019-02-22 14:13:27 +01:00
Frédéric Péters 8b5c52466f jenkins: use default eobuilder distribution targets 2019-02-22 14:11:43 +01:00