Commit Graph

385 Commits

Author SHA1 Message Date
Lauréline Guérin aa6ce7c35d
misc: remove old digest migrations (#73775) 2023-01-27 11:18:32 +01:00
Frédéric Péters 899fbadb09 general: use a dedicated table to record workflow actions/events (#72802) 2023-01-02 17:18:37 +01:00
Frédéric Péters 2d94f4f865 i18n: do not create translate digests when no template is defined (#72862) 2023-01-02 10:29:17 +01:00
Frédéric Péters 645ab45827 misc: always give a tz to anonymisation time (#72851) 2022-12-31 10:23:53 +01:00
Frédéric Péters 87865cf8b9 cards: create/use translated digests (#71590) 2022-12-30 12:02:46 +01:00
Frédéric Péters 45fc5b7cb2 backoffice: do not include link for files from related card in tables (#72312) 2022-12-26 17:10:27 +01:00
Frédéric Péters c08c250a1d sql: get display/structured columns for related fields (#72312) 2022-12-26 17:10:27 +01:00
Lauréline Guérin f0a20e8afb
api: get formdata from history (#70271)
gitea-wip/wcs/pipeline/head Build started... Details
2022-12-26 13:55:04 +01:00
Frédéric Péters d03df0cf92 backoffice: fix links to files in block in management tables (#72570) 2022-12-17 12:40:57 +01:00
Lauréline Guérin 1b610f6f2e
formdata: fix anonymise method, store all cleaned evolutions (#71915)
gitea-wip/wcs/pipeline/head Build started... Details
2022-12-01 14:46:14 +01:00
Lauréline Guérin 78f3396e71
api: add include-xxx params to formdata get endpoint (#71480)
gitea-wip/wcs/pipeline/head Build started... Details
2022-11-28 14:13:32 +01:00
Frédéric Péters 0fac2cb096 misc: clean old migrate methods (#71693) 2022-11-25 09:28:35 +01:00
Frédéric Péters 43daf96689 misc: allow /lang/ prefix to force language (#70584) 2022-11-18 07:23:09 +01:00
Frédéric Péters 08ce5e4ea3 misc: apply translations to forms and workflows (#70584) 2022-11-18 07:23:09 +01:00
Lauréline Guérin 575bea2a4f
api: add include-workflow-data param (#71330)
gitea-wip/wcs/pipeline/head Build started... Details
gitea/wcs/pipeline/head Something is wrong with the build of this commit Details
2022-11-15 18:01:03 +01:00
Lauréline Guérin 4c80343e0b
formdata: prefetch also users from evolutions (#71303)
gitea-wip/wcs/pipeline/head Build started... Details
gitea/wcs/pipeline/head Something is wrong with the build of this commit Details
2022-11-15 11:41:10 +01:00
Lauréline Guérin d821015c4c
formdata: rename user param into formdata_user (#71303)
refacto - Evolution.get_json_export_dict: rename param user into
formdata_user to show that it is not the user calling the api that is
used.
2022-11-15 11:34:54 +01:00
Lauréline Guérin 3fbb0ec4d1
api: use formdata user on formdata.get_json_export_dict (#71303)
and not user calling the api
2022-11-15 11:34:46 +01:00
Lauréline Guérin 29f3352978
api: split full param (#69108)
gitea-wip/wcs/pipeline/head Build started... Details
gitea/wcs/pipeline/head Something is wrong with the build of this commit Details
new params:
- include-fields
- include-evolution
- include-roles
- include-submission
- include-workflow
2022-11-14 20:27:35 +01:00
Lauréline Guérin b6b7203358
formdata: look at files in history when deleting unused files (#62800)
gitea-wip/wcs/pipeline/head Build started... Details
gitea/wcs/pipeline/head Something is wrong with the build of this commit Details
2022-10-31 11:43:04 +01:00
Lauréline Guérin 5fc369a082
formdata: store data history (#62800) 2022-10-31 11:43:04 +01:00
Frédéric Péters 8f43c01bea misc: redirect form{def,data} URL to include category slug (#69546) 2022-10-28 10:24:35 +02:00
Frédéric Péters 446fc206e9 workflows: allow interactive actions in global actions (#16782) 2022-09-23 09:25:35 +02:00
Lauréline Guérin b1a905bf98
api: add backoffice agent info in formdata result (#68753)
gitea-wip/wcs/pipeline/head Build started... Details
2022-09-13 11:01:20 +02:00
Lauréline Guérin 58424eec2c
api: add user fields in carddef schema and carddata (#68911)
gitea-wip/wcs/pipeline/head Build started... Details
2022-09-12 14:06:14 +02:00
Frédéric Péters 1b01c7d635 backoffice: add json import for cards (#60303) 2022-08-12 09:03:13 +02:00
Frédéric Péters ff65edef0a backoffice: add a json export format for cards (#60303) 2022-08-12 09:03:13 +02:00
Frédéric Péters dd79662c1b fields: use accessor to get prefill configuration (#67843)
This allows an uniform handling of the unexpected {'type': 'none'}
situation.
2022-08-08 20:25:16 +02:00
Frédéric Péters 1a85d14ff5 backoffice: log lateral template errors (#67853) 2022-08-04 12:43:09 +02:00
Frédéric Péters 3484ae5341 general: remove is_using_postgresql conditionals (#67190) 2022-07-15 08:32:31 +02:00
Pierre Ducroquet 0c08fc01ec sql: rework the rebuild_security function (#66315)
The function rewrote the whole table without checking if updates were really required.
Instead, we now check before updating, and we commit every 100 rows to prevent any
long lock
2022-06-30 13:49:04 +02:00
Frédéric Péters 62cf0c9b02 misc: rephrase and mark for translation location of linked data source (#66656) 2022-06-28 20:41:41 +02:00
Frédéric Péters b7a24377ed misc: add support for actions on cards linked via items fields (#66648) 2022-06-28 19:42:46 +02:00
Frédéric Péters d97880ee72 misc: use a single sql query to get item ids (#65511) 2022-05-31 17:29:25 +02:00
Frédéric Péters 143e78d635 api: prefetch roles and users (#65749) 2022-05-31 12:52:20 +02:00
Frédéric Péters 8ca17f4147 api: add api & backoffice URLs to formdata endpoint response (#64861) 2022-05-13 08:23:44 +02:00
Frédéric Péters e8668e89b6 workflows: delay cleaning of live workflow form data (#64792) 2022-05-04 11:47:03 +02:00
Frédéric Péters c8519aaa48 forms: add direct download of files from workflow forms (#59672) 2022-05-04 08:27:56 +02:00
Frédéric Péters 9de9af6ad3 workflows: move all actions to their own files (#64722) 2022-05-02 11:19:37 +02:00
Lauréline Guérin 03d27d1817
backoffice: handle bool in fields block in listing exports (#64573)
gitea-wip/wcs/pipeline/head Build started... Details
2022-04-29 17:18:36 +02:00
Lauréline Guérin 09bdef5a26
backoffice: handle file in fields block in listing exports (#63150)
gitea-wip/wcs/pipeline/head Build started... Details
2022-04-29 15:46:51 +02:00
Thomas NOËL 7ddc176914 wf: don't crash on remove formdef in a linked formdata (#63859) 2022-04-14 12:28:55 +02:00
Lauréline Guérin 4a715a3661
backoffice: handle fields block in listing exports (#62424)
gitea-wip/wcs/pipeline/head There was a failure building this commit Details
2022-03-04 15:55:09 +01:00
Frédéric Péters a7ef7434cd misc: keep handling function assigned to a single role (#62316) 2022-03-01 19:45:51 +01:00
Frédéric Péters 6f79725fee backoffice: handle html block field columns (#61894) 2022-02-17 12:41:37 +01:00
Frédéric Péters ce56962efb workflows: use check_condition method to evaluate jump condition (#59914) 2022-02-14 20:06:45 +01:00
Frédéric Péters 79cbaf02b7 sql: add workflow_merged_roles_dict jsonb column (#58881) 2022-02-14 10:04:52 +01:00
Frédéric Péters e9445f9384 formdata: handle function name variables with combined users and roles (#58881) 2022-02-11 07:52:42 +01:00
Lauréline Guérin 6bb3e9aaa5
backoffice: formdata display fields in block field (#46500) 2022-01-29 11:17:42 +01:00
Frédéric Péters 97fd18e747 misc: include item fields with custom view as datasource in links (#60917) 2022-01-21 14:23:17 +01:00