Commit Graph

7599 Commits

Author SHA1 Message Date
Frédéric Péters a80a9e4f5e api: don't mark API fake admin user as an API user (#53926) 2021-05-11 18:01:46 +02:00
Frédéric Péters 2ca413d3d3 wscalls: handle connection errors (#53900) 2021-05-11 13:13:59 +02:00
Frédéric Péters d029e24e4c api: allow http basic auth access to /api/forms/ (#53882) 2021-05-11 13:13:18 +02:00
Frédéric Péters e05865b1cd backoffice: fix URL used for autocomplete criterias on statistics pages (#53848) 2021-05-11 13:12:12 +02:00
Frédéric Péters e8a234da11 api: allow mixing anonymous restriction and basic authentication (#53883) 2021-05-10 16:19:27 +02:00
Frédéric Péters 3a641631b1 api: mark role-restricted api user as non anonymous (#53864) 2021-05-07 20:18:21 +02:00
Frédéric Péters 8b629deef1 api: don't open users API to restricted API users (#53865) 2021-05-07 20:18:21 +02:00
Frédéric Péters 6b73866bc2 translation update 2021-05-07 14:35:51 +02:00
Frédéric Péters abf0463348 workflows: don't return attachment contents for remote opaque files (#53842) 2021-05-07 13:02:48 +02:00
Frédéric Péters decc4d2465 fields: refine label/hint for computed data value field (#53843) 2021-05-07 13:02:05 +02:00
Thomas NOËL 6a37360efb workflows: allow a card to modify itself (#53789) 2021-05-06 10:03:16 +02:00
Nicolas Roche 51d935656a api: include attachment evolution parts in {card,form}data fetch API (#53253) 2021-05-05 22:30:08 +02:00
Frédéric Péters 07e14d9126 tests: remove misleading ?full=on passed to formdata API
(this parameter doesn't exist)
2021-05-05 21:37:43 +02:00
Frédéric Péters c05ae5877d sql: use custom json encoder for computed data storage (#53772) 2021-05-05 16:59:04 +02:00
Frédéric Péters 4fe72ddb49 translation update 2021-05-05 13:40:42 +02:00
Frédéric Péters 682ad691c5 translations: adjust force terminal status (#47154) 2021-05-05 13:34:05 +02:00
Frédéric Péters b1811b58e4 backoffice: display note about endpoint situation of status (#47154) 2021-05-05 13:29:37 +02:00
Frédéric Péters e424eebbba backoffice: use a template to render workflow status page (#47154) 2021-05-05 13:29:37 +02:00
Frédéric Péters d6816b90ad general: save session at the very end (#47154)
It's necessary for native django responses as rendering will not go
through CompatWcsPublisher.
2021-05-05 13:29:36 +02:00
Frédéric Péters d27d92dc4e api: accept HTTP Basic authentication scheme for API accesses (#20624) 2021-05-05 13:29:36 +02:00
Frédéric Péters 674ab42b3a api: add roles-based access restrictions (#48752) 2021-05-05 13:29:36 +02:00
Frédéric Péters 27756287a0 backoffice: add storage/UI to store/assign roles to API accesses (#48752) 2021-05-05 13:29:36 +02:00
Frédéric Péters 06b7412dd6 general: add support for tenants in a tenants subdirectory (#50828) 2021-05-05 13:29:36 +02:00
Frédéric Péters 675d37b8ab misc: redirect to form after stronger authentication login (#53751) 2021-05-04 19:30:37 +02:00
Frédéric Péters 69d300eb2a trivial: remove legacy import of "print function" from future 2021-05-04 14:46:28 +02:00
Frédéric Péters f01cb526a3 help: add note about ?full=on & ?anonymise in cards API documentation 2021-05-04 11:09:49 +02:00
Lauréline Guérin 423b5a18cb
backoffice: global view filtered bu category_slugs (#53373) 2021-05-03 09:03:21 +02:00
Frédéric Péters 49d871a6b6 misc: don't create subvariables for strings (#53641) 2021-05-01 09:30:26 +02:00
Frédéric Péters 4b802af856 backoffice: don't display invalid "option replacement field" varnames (#53526) 2021-05-01 09:30:26 +02:00
Frédéric Péters 9e8c88ce07 backoffice: apply form js to quick form preview (#53628) 2021-04-30 17:24:31 +02:00
Frédéric Péters 16ef227eb0 misc: handle adding a block line in workflow forms in front (#53607) 2021-04-30 16:59:41 +02:00
Lauréline Guérin 677ef4f88b
backoffice: hide notify/record_on_errors for user datasource (#53598) 2021-04-30 14:51:54 +02:00
Lauréline Guérin b6e849811a
misc: fix pylint consider-using-with (#53406) 2021-04-30 14:22:32 +02:00
Frédéric Péters 0af0024e32 translation update 2021-04-30 13:31:54 +02:00
Frédéric Péters 1576b3c0b6 tests: add test loading custom makemessages command 2021-04-30 12:46:03 +02:00
Frédéric Péters f78d10fd8f general: introduce a new "computed data" field (#52110) 2021-04-30 12:22:40 +02:00
Lauréline Guérin 24383fab9b
misc: fix pylint consider-using-max-builtin warning (#53405) 2021-04-30 10:57:00 +02:00
Frédéric Péters 21dd05b670 backoffice: prevent conflicts between custom and system view names (#53575) 2021-04-30 07:49:27 +02:00
Frédéric Péters 1cbef4e79a backoffice: force content-disposition for csv files (#53547) 2021-04-30 07:49:27 +02:00
Lauréline Guérin 4529a44961
API: filter formdefs, forms and drafts by category slugs (#53371) 2021-04-28 17:32:18 +02:00
Lauréline Guérin c79e88fd02
datasources: users datasource (#52941) 2021-04-28 14:50:14 +02:00
Lauréline Guérin 85834b9244
custom views: filter by current user (#50460) 2021-04-28 13:09:26 +02:00
Frédéric Péters b7b61df1ca worfklows: reindex carddata security columns on workflow changes (#53473) 2021-04-27 16:58:11 +02:00
Frédéric Péters 461a4b9c88 translation update 2021-04-27 16:06:52 +02:00
Frédéric Péters ae24eeb294 misc: create file token if it doesn't exist at all (#53432) 2021-04-27 14:43:04 +02:00
Emmanuel Cazenave d1b0510f55 tests: check editing a file field in a formdata created by workflow (#53432) 2021-04-27 14:43:04 +02:00
Frédéric Péters 7e11c14272 api: add option to restrict access to anonymised data (#52960) 2021-04-27 07:52:05 +02:00
Benjamin Dauvergne 28a9f746c3 translations: fix in remove wf action (#53400) 2021-04-26 15:28:20 +02:00
Frédéric Péters 1da13f2f32 misc: add support for a country to use as default in geocoding (#37048) 2021-04-26 10:06:26 +02:00
Frédéric Péters e47209ac47 workflows: handle "add block" buttons in display form action (#47898) 2021-04-26 10:06:26 +02:00