Commit Graph

7672 Commits

Author SHA1 Message Date
Frédéric Péters aafc32cfe2 misc: allow adding users to functions (#.....)
gitea-wip/wcs/pipeline/head Build started... Details
gitea/wcs/pipeline/head Build queued... Details
2021-06-21 21:42:09 +02:00
Frédéric Péters a6c1aa0eca formdata: add support for multiple roles for a single function (#55019) 2021-06-21 20:12:21 +02:00
Frédéric Péters 7b25253cf9 forms: do not call validation function on empty values (#55014) 2021-06-21 14:10:12 +02:00
Serghei Mihai 65d7693f3e fields: don't cast items fields values to string (#54976) 2021-06-19 14:54:53 +02:00
Thomas NOËL 66b15214ca datasource: use only underscore in slug (#54979) 2021-06-18 13:50:28 +02:00
Frédéric Péters 032b9c8da3 general: store computed data fields after backoffice submission (#54928) 2021-06-17 08:43:18 +02:00
Frédéric Péters 1725e65cda translation update 2021-06-16 22:39:11 +02:00
Frédéric Péters 00540aa4f8 forms: give prefilling access to form_parent_* variables (#54220) 2021-06-16 21:14:28 +02:00
Frédéric Péters 4fb8aee1c8 forms: add prefilling of address autocompletion by reverse geocoding (#54836) 2021-06-16 21:14:28 +02:00
Serghei Mihai 467ebb16ca fields: return TableField's original json value (#54881) 2021-06-15 12:21:56 +02:00
Frédéric Péters a8c4f9e021 misc: always display spaces between {{ }} and variable names (#54801) 2021-06-15 12:13:24 +02:00
Frédéric Péters b3c171bfeb workflows: add (conditional) to manual jump label in graphs (#54824) 2021-06-15 12:13:24 +02:00
Frédéric Péters 39d7b83bd6 workflows: don't mark status as having a timeout if it's not valid (#54858) 2021-06-14 22:32:56 +02:00
Frédéric Péters 2089a212f0 backoffice: don't run mass actions on anonymised forms (#54830) 2021-06-14 14:03:02 +02:00
Frédéric Péters ffc4d8e611 templatetags: add adjust_to_week_monday and iterate_days_until (#54806) 2021-06-14 12:35:27 +02:00
Frédéric Péters 1e13d82e8e templatetags: introduce |list, to turn a generator into a list (#54807) 2021-06-14 06:32:51 +02:00
Frédéric Péters 822e3311a2 templatetags: introduce and use a unlazy function 2021-06-14 06:32:51 +02:00
Frédéric Péters edb3b7ea6d forms: add extended data source attributes to checkboxes rendering (#54805) 2021-06-14 06:31:56 +02:00
Frédéric Péters 948eb64360 workflows: optimise timeout jump queries to exclude recent formdatas (#54238) 2021-06-12 16:38:19 +02:00
Lauréline Guérin 671d651784
misc: |add_hours filter (#54411) 2021-06-11 14:41:44 +02:00
Frédéric Péters 4255ed1674 api: don't check category permissions (#54757) 2021-06-11 11:09:58 +02:00
Frédéric Péters e8926cd070 forms: ignore hidden evolution parts when joining statuses in history (#38621) 2021-06-11 09:04:44 +02:00
Frédéric Péters 2b6df5d5f8 misc: replace get_role_translation() with a get_function_roles() method (#53726)
It removes the unobvious "_translation()" that has nothing to do with
languages and returns a set() instead of a single role identifier; this
may allow multiple roles filling a single function, at a later stage.
2021-06-11 09:04:44 +02:00
Frédéric Péters 2056255db0 fields: do not allow adding computed data field to workflow forms (#54683) 2021-06-09 12:12:07 +02:00
Frédéric Péters 92c51f43f3 debian: enable uwsgi memory reports (#54610) 2021-06-07 13:35:22 +02:00
Frédéric Péters 009b64315e workflows: don't crash on removed create formdata action target formdef (#54390) 2021-06-04 13:24:57 +02:00
Frédéric Péters 2675eefcfd backoffice: avoid action labels overlapping icons (#54451) 2021-06-04 13:24:57 +02:00
Frédéric Péters bf063692b6 forms: fix creation of captcha answer when using translations (#54368) 2021-06-03 21:19:12 +02:00
Frédéric Péters 523ff3ab98 api: always return id as strings (#54447) 2021-06-03 21:19:12 +02:00
Frédéric Péters 8d80ecbedb api: accept integers as inputs for item fields (#54447) 2021-06-03 21:19:12 +02:00
Frédéric Péters c162b659eb workflows: fix status reassignment after deletion (#54493) 2021-06-01 18:01:28 +02:00
Frédéric Péters 4a49964e5b translation update 2021-06-01 09:49:43 +02:00
Frédéric Péters bc887791d8 settings: add a warning on import page if there's content already (#54125) 2021-06-01 09:47:24 +02:00
Frédéric Péters 90f7469ccc misc: fix check for view method on evolution part (#54453) 2021-06-01 00:20:13 +02:00
Frédéric Péters fdefa688cc tox: avoid astroid 2.5.7 that has a severe performance regression
https://github.com/PyCQA/astroid/issues/1003
2021-05-31 22:33:51 +02:00
Frédéric Péters 380b1a1178 backoffice: don't display disabled emails/texts options (#52641) 2021-05-31 22:06:20 +02:00
Frédéric Péters a69c78ef73 translation update 2021-05-31 16:37:49 +02:00
Frédéric Péters 5783fd8f0a backoffice: check category permissions for export/statistics views (#53667) 2021-05-31 16:30:09 +02:00
Frédéric Péters 7225537069 categories: add new export_roles and statistics_roles attributes (#53667) 2021-05-31 16:30:09 +02:00
Frédéric Péters fe12631493 backoffice: use a template to render category page (#53667) 2021-05-31 16:30:09 +02:00
Frédéric Péters 6bf202a98d api: add basic auth support to cards submit and import from csv APIs (#54350) 2021-05-31 16:29:25 +02:00
Frédéric Péters 57544f2059 misc: add |done filter (#54351) 2021-05-31 16:28:44 +02:00
Frédéric Péters d7214c5dab workflows: exclude some evolution parts from full text search (#54401) 2021-05-31 16:27:59 +02:00
Frédéric Péters c868c778cd misc: add comments to disable new pylint false positives 2021-05-30 22:51:09 +02:00
Frédéric Péters d8b7b5342b sql: do not fail indexing on missing block (#54384) 2021-05-28 15:29:09 +02:00
Lauréline Guérin 08bb5f7387
data_source: don't record errors on preview (#54326) 2021-05-28 14:03:37 +02:00
Frédéric Péters cf7c21bbbd translation update 2021-05-28 13:30:23 +02:00
Frédéric Péters 471c4a32dc sql: use a server cursor to iterate over rows (#54242) 2021-05-28 13:24:08 +02:00
Frédéric Péters 374a282488 sql: remove legacy postgresql version check (#54242) 2021-05-28 13:24:08 +02:00
Nicolas Roche b5d252719d sql: add blockdef fields to fulltext indexation (#53284) 2021-05-28 12:06:28 +02:00