Commit Graph

7589 Commits

Author SHA1 Message Date
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
Frédéric Péters b9cbbe9893 backoffice: add option to skip header line in ods/csv exports (#52969) 2021-04-26 10:06:26 +02:00
Frédéric Péters 71fb98d24a backoffice: use a popup for csv/ods export (#52969) 2021-04-26 10:06:26 +02:00
Frédéric Péters 6819a292c7 settings: use a template to render import results (#53201)
This adds proper use of singular/plural forms and the display of card
categories.
2021-04-26 10:06:26 +02:00
Frédéric Péters 14c2aa6f9f build: ignore new consider-using-{with,max-builtin} pylint warnings 2021-04-25 09:06:38 +02:00
Frédéric Péters 711cecc69a misc: don't expose extra keys with invalid format as variables (#53345) 2021-04-22 15:29:25 +02:00
Frédéric Péters e407a3c8af workflows: don't fail on unconfigured export to model action (#34365) 2021-04-19 18:54:45 +02:00
Frédéric Péters 591cb8aa2e misc: ignore .max_id in zip export/import (#53225) 2021-04-19 18:54:03 +02:00
Frédéric Péters 5b45fe4681 misc: fix submitter email lookup in case of unfilled block data (#53254) 2021-04-19 18:53:21 +02:00
Frédéric Péters d1bd081f58 tests: remove usage of obsolete @postgresql mark (removed in #39641) 2021-04-18 12:10:52 +02:00
Frédéric Péters b10c47bfc9 tests: use context manager to load file contents 2021-04-18 09:52:28 +02:00