Commit Graph

5953 Commits

Author SHA1 Message Date
Frédéric Péters af586c5190 workflows: migrate fields on load (#36915)
gitea-wip/wcs/pipeline/head There was a failure building this commit Details
gitea/wcs/pipeline/head Build started... Details
2019-10-14 22:24:38 +02:00
Frédéric Péters 6d3559fa12 misc: convert old roles module location when unpickling (#36860) 2019-10-11 16:59:37 +02:00
Frédéric Péters 91087f529c backoffice: always display multi actions if roles are okay (#36760) 2019-10-09 13:02:04 +02:00
Frédéric Péters d3eb54b88c backoffice: fix display of mass actions set to functions with dashes (#36734)
Function slugs are used in data attributes but those are normalized,

  The name of a custom data attribute in JavaScript is the name of the
  same HTML attribute but in camelCase and with no dashes, dots, etc.

  -- https://developer.mozilla.org/en-US/docs/Web/API/HTMLOrForeignElement/dataset

Prevent that by turning all dashes into underscores.
2019-10-09 11:39:36 +02:00
Frédéric Péters cf9a14411f misc: only use strings when recreating user label (#36781) 2019-10-08 15:03:44 +02:00
Frédéric Péters 160db73192 misc: display translated action name for notifications (#36762) 2019-10-08 11:29:25 +02:00
Frédéric Péters a6dfbcf669 sql: use publisher unpickler to unpickle sql data (#36697) 2019-10-06 09:24:05 +02:00
Frédéric Péters fdd25e474c translation update 2019-10-04 15:04:59 +02:00
Frédéric Péters 3a496d67c6 misc: add options to display/hide fields on validation/summary pages (#36505) 2019-10-04 14:54:10 +02:00
Lauréline Guérin c835c345bd
fields: render template for title and subtitle (#36620) 2019-10-04 14:38:27 +02:00
Emmanuel Cazenave a437f81087 jenkins: use ci@entrouvert.org for notifications 2019-10-02 15:57:24 +02:00
Emmanuel Cazenave d4600b2816 use tox to run tests (#15562) 2019-10-02 15:56:56 +02:00
Emmanuel Cazenave 564f96ab82 misc: PEP 440 compliant version number (#15562) 2019-10-02 15:56:07 +02:00
Frédéric Péters 776db6d218 misc: add possibility of internal roles (#36485) 2019-10-02 08:19:26 +02:00
Frédéric Péters bd7ae65c8e jenkins: limit attrs, for pytest 2019-10-02 08:19:20 +02:00
Frédéric Péters 6515fdff17 misc: ignore validation defined as regex but with no regex (#36442) 2019-10-01 13:47:28 +02:00
Frédéric Péters 59e506e86a misc: convert more import to be relative (#36566) 2019-10-01 13:38:48 +02:00
Frédéric Péters d50ce84406 misc: handle unpickling from classes that used absolute import (#36565) 2019-10-01 13:38:48 +02:00
Frédéric Péters 8b9c2f838e misc: use relative imports to get publisher in ctl command (#36517) 2019-09-30 15:08:00 +02:00
Frédéric Péters 1b1e596d1f misc: use relative imports (#36517) 2019-09-30 11:05:53 +02:00
Frédéric Péters f215eda29d python3: use six.class_types to check for classes (#36516) 2019-09-30 11:05:53 +02:00
Thomas NOËL 05173ccbfe admin: fix display of JSON data source dynamic parameters (#36511) 2019-09-29 15:22:08 +02:00
Thomas NOËL 66e1afc797 form: remove regex pattern on string widgets (#30419) 2019-09-27 16:54:23 +02:00
Frédéric Péters aa45dd1957 admin: display and use card default workflow when setting workflow (#36413) 2019-09-27 11:39:01 +02:00
Benjamin Dauvergne b8186bfb90 api: export Status.is_waitpoint() in schema (#36412) 2019-09-24 19:36:22 +02:00
Frédéric Péters fb9ed2bc3e fix typo in translation 2019-09-24 17:07:24 +02:00
Frédéric Péters 4728912d10 backoffice: move multi action checkbox after criticality/lock (#36342) 2019-09-23 11:59:56 +02:00
Frédéric Péters c00234973f misc: don't crash evaluating roles when formdef.workflow_roles is None (#36252) 2019-09-19 10:35:03 +02:00
Thomas NOËL 5a694524f3 translation update 2019-09-18 16:36:31 +02:00
Frédéric Péters 281b020996 backoffice: add checkboxes to run global actions on many items at once (#7865) 2019-09-18 15:48:00 +02:00
Frédéric Péters a3c3ec6b21 misc: add get_roles() accessor to user class (#7865) 2019-09-18 15:48:00 +02:00
Frédéric Péters 7f19df4992 misc: remove __version__ reference, served by middleware for long (#36219) 2019-09-18 12:02:45 +02:00
Frédéric Péters 510a02d416 translation update 2019-09-09 16:07:28 +02:00
Frédéric Péters f9358c5e96 cards: do not disable card after duplication (#35934) 2019-09-09 15:55:17 +02:00
Frédéric Péters d9d5fd2eed backoffice: create new comments as HTML (#35793) 2019-09-09 10:37:32 +02:00
Frédéric Péters a4f2fa1158 backoffice: clean context after submission, before workflow (#35768) 2019-09-09 10:37:32 +02:00
Frédéric Péters 2d4d577048 misc: switch default to expose https:// URLs (#35910) 2019-09-09 10:37:32 +02:00
Frédéric Péters 64d8fe5c01 misc: remove support for sentry (#35913) 2019-09-09 10:37:32 +02:00
Frédéric Péters f76434a7ed tests: adapt rate limit test for jenkins being sometimes too slow 2019-09-04 17:18:14 +02:00
Frédéric Péters dae1829c8c backoffice: add message after form/card is overwritten (#35642) 2019-09-04 16:41:59 +02:00
Frédéric Péters 26f5321cad misc: display potential file upload error in field (#35792) 2019-09-04 16:41:59 +02:00
Frédéric Péters fb7eea53a8 backoffice: add missing import for errors in data management (#35825) 2019-09-04 16:40:50 +02:00
Frédéric Péters cbd2b9550b translation update 2019-09-03 14:06:34 +02:00
Frédéric Péters 61fa742d63 misc: trigger event when an image is set into a file widget (#35775) 2019-09-03 13:02:44 +02:00
Frédéric Péters 9a6401409b tests: don't let headers accumulate in mock submission 2019-09-03 11:54:48 +02:00
Frédéric Péters 3628931d68 backoffice: display potential session messages in listing page (#35759) 2019-09-03 11:54:48 +02:00
Thomas NOËL 54d278ac2f backoffice: show a slashed eye next to user hidden statuses (#34919) 2019-09-02 14:55:58 +02:00
Frédéric Péters eeb8d79248 misc: use absolute package name to import CardDef in cleaning jobs (#35728) 2019-09-02 09:20:33 +02:00
Nicolas Roche e4a16a37c4 forms: do not keep empty values when parsing ComputedExpressionWidget (#31823) 2019-08-31 11:08:27 +02:00
Nicolas Roche 0cf37e198d workflow: ignore empty items on workflow import (#31823) 2019-08-31 11:08:27 +02:00