Commit Graph

6670 Commits

Author SHA1 Message Date
Frédéric Péters fa820fd677 auth: delegate legacy local authentication passwords to django (#43094) 2020-05-19 18:11:40 +02:00
Frédéric Péters 92f7c78835 sql: pass offset/limit as parameters to prepared statement (#43101)
(and note it is not possible to do so for ORDER BY)
2020-05-19 18:11:40 +02:00
Frédéric Péters 36e55b6865 misc: change session cookie prefix to be sessionid- (#43043) 2020-05-19 11:06:45 +02:00
Frédéric Péters 47e57c15db tests: use id to reference form (#42315) 2020-05-18 16:47:19 +02:00
Frédéric Péters a9d8db534a backoffice: add query parameter to keep custom view filters (#42315) 2020-05-18 16:23:16 +02:00
Nicolas Roche 06da67b5ac ics: add formdata digest to ics export (#33152) 2020-05-18 09:50:26 +02:00
Nicolas Roche c0a09241c3 fields: add validation on comment field (#30618) 2020-05-18 08:52:52 +02:00
Frédéric Péters 822df94654 translation update 2020-05-16 17:50:28 +02:00
Serghei Mihai 8ef0f08163 external_workflow: feed target data to substitutions context (#42652) 2020-05-15 23:38:12 +02:00
Thomas NOËL 053827b19b templatetags: add phonenumber_fr filter (#41723) 2020-05-15 23:33:18 +02:00
Thomas NOËL 2f6e7a3597 data_sources: return an empty list for an unknown carddef (#42960) 2020-05-15 23:30:17 +02:00
Frédéric Péters 5f8c3e5685 tests: remove access to settings/misc (#42958) 2020-05-15 16:50:10 +02:00
Frédéric Péters 21364341ea api: add http basic auth support to geojson endpoint (#42851) 2020-05-15 16:26:56 +02:00
Frédéric Péters 8d3e067c83 api: add custom view support to geojson API (#42850) 2020-05-15 16:26:56 +02:00
Frédéric Péters 9988c32906 settings: remove obsolete prefill/namespaces options (#42958) 2020-05-15 16:25:42 +02:00
Frédéric Péters 2dc4fd4854 backoffice: add multi-action support for status manual jump action (#37983) 2020-05-15 13:59:11 +02:00
Benjamin Dauvergne 3804075f6a wf: do not call store_display_value with None in create formdata (#42743) 2020-05-15 10:53:24 +02:00
Benjamin Dauvergne 3fa7e7391c tests: add test on empty item and create formdata (#42743) 2020-05-15 10:53:20 +02:00
Frédéric Péters e5848aa78a backoffice: detect CSV with wrong number of columns in card import (#41194) 2020-05-15 10:49:24 +02:00
Benjamin Dauvergne 531f3804f9 misc: make regexp validate whole strings (#42843) 2020-05-15 10:43:43 +02:00
Serghei Mihai 7ab878ff3c check_hobos: set idp session cookie name (#42878) 2020-05-15 10:41:46 +02:00
Benjamin Dauvergne 5b75356e17 misc: ignore FileNotFoundError when cleaning form-tokens (#42906) 2020-05-14 22:49:18 +02:00
Frédéric Péters cd886d0a15 misc: allow digits in order by clauses (#42897) 2020-05-14 20:31:59 +02:00
Frédéric Péters 4e9c5b8c22 backoffice: ignore invalid status filter in stats page (#42830) 2020-05-13 15:22:05 +02:00
Frédéric Péters 6065ab4d39 sql: check id parameter passed to .get() method (#42827) 2020-05-13 15:20:12 +02:00
Frédéric Péters c34a405504 misc: check order_by parameter is a correct identifier (#42825) 2020-05-13 13:38:10 +02:00
Frédéric Péters ad6be53657 misc: raise bad requests on invalid integers for limit/offset (#42818) 2020-05-13 13:38:10 +02:00
Serghei Mihai d46f05b8b3 external_workflow: handle trigger identifier changing (#42669) 2020-05-13 11:44:39 +02:00
Frédéric Péters 3690d3c987 misc: check SIREN code for ASCII digits (#42808) 2020-05-13 11:33:54 +02:00
Frédéric Péters 4c097aa37b translation update 2020-05-13 09:20:05 +02:00
Frédéric Péters e54fbcec91 backoffice: clear floats in form preview/submission (#42690) 2020-05-11 14:28:53 +02:00
Frédéric Péters 1a0642d45d misc: use lazy mode for global action expression date template (#42672) 2020-05-09 14:58:40 +02:00
Thomas NOËL 7e07d08a67 tests: try multiple times to get a database name (#42634) 2020-05-08 15:40:10 +02:00
Benjamin Dauvergne 84c72bd320 workflows: translate logged errors messages of create formdata action (#42102) 2020-05-08 15:38:24 +02:00
Frédéric Péters eeedc29c44 misc: don't check datasources during bulk import (#42585) 2020-05-08 15:36:25 +02:00
Frédéric Péters 2104bd26dc admin: adjust error message in case of workflow import error (#41252) 2020-05-08 15:35:40 +02:00
Frédéric Péters 735b7cce0a admin: warn about missing roles in site import (#41252) 2020-05-08 15:32:18 +02:00
Frédéric Péters 252551daba workflows: make sure field attributions are imported as strings (#42644) 2020-05-08 15:32:18 +02:00
Frédéric Péters b8d3f225b5 Revert "backoffice: add multi-action support for status manual jump action (#37983)"
This reverts commit 5cf979eb02.
2020-05-07 20:03:40 +02:00
Frédéric Péters 5cf979eb02 backoffice: add multi-action support for status manual jump action (#37983) 2020-05-07 16:09:09 +02:00
Serghei Mihai 6b69a5a1b6 external_workflow: check that field data source exists (#42613) 2020-05-07 13:28:16 +02:00
Frédéric Péters cc60c873c7 translation update 2020-05-06 20:48:32 +02:00
Nicolas Roche 3b81d6f4fb evalutils: strip exif medatada using utility function (#41679) 2020-05-06 19:58:49 +02:00
Frédéric Péters 919a2069f6 misc: display appropriate card label/link on logged error page (#42545) 2020-05-06 16:26:06 +02:00
Thomas NOËL 5889ee2d06 misc: validate iban size, refuse empty or null bban (#42562) 2020-05-06 16:10:51 +02:00
Serghei Mihai 55c655bc35 external_workflow: list forms/cards only with triggers having identifiers (#42540) 2020-05-06 12:26:37 +02:00
Frédéric Péters fad27b06ac translation update 2020-05-06 11:25:23 +02:00
Frédéric Péters 90c047e15a trivial: replace trailing space 2020-05-06 11:20:36 +02:00
Nicolas Roche 942afd8e9f templatetags: manage string concatenation on add filter (#42062) 2020-05-06 10:05:16 +02:00
Serghei Mihai 017b204bcd wf: add external workflow action (#40204) 2020-05-06 09:43:39 +02:00