Commit Graph

5987 Commits

Author SHA1 Message Date
Frédéric Péters fc73508917 misc: always hide status in front (#37517) 2019-11-07 20:00:20 +01:00
Frédéric Péters 5749ec05bf translation update 2019-11-07 14:25:24 +01:00
Frédéric Péters b4ad853ecf backoffice: unify workflows list (#37510) 2019-11-07 14:25:24 +01:00
Frédéric Péters daa9fa0b64 misc: update card related labels (#37510) 2019-11-07 14:25:24 +01:00
Lauréline Guérin 94c5dc13af
forms: add a query filter include-anonymised to /api/forms/ (#37176) 2019-11-07 10:02:07 +01:00
Lauréline Guérin 5911bf782d
misc: add an utility function to get flag from query (#37176) 2019-11-07 10:02:07 +01:00
Frédéric Péters f30ca1a8e1 misc: add missing errors import before raising themes 404 errors (#37373) 2019-11-03 08:48:33 +01:00
Frédéric Péters d57ade1eac backoffice: add early translation for mass action message (#37372) 2019-10-31 07:24:13 +01:00
Frédéric Péters a750588f7e data sources: make stub implement all methods (#37371) 2019-10-31 07:24:13 +01:00
Thomas NOËL e22d2b52ae misc: add has_role filter (#29342) 2019-10-30 14:56:55 +01:00
Frédéric Péters 25942171ba workflows: consider cards when evaluating timeout jumps (#37354) 2019-10-30 11:13:12 +01:00
Frédéric Péters 339374088e translation update 2019-10-30 09:11:05 +01:00
Frédéric Péters b9b53aac9a general: always push webservice/datasource/script in context (#37341) 2019-10-30 08:03:33 +01:00
Frédéric Péters 74b430284b workflows: also mark status on trigger/timeout jumps (#37169) 2019-10-29 15:46:20 +01:00
Frédéric Péters ab051a6cf0 misc: mark logged error emails with a tech_id reference (#36807) 2019-10-29 10:33:28 +01:00
Thomas NOËL 8aed02d1a9 misc: add strip templatetag (#37270) 2019-10-28 16:26:07 +01:00
Frédéric Péters 2eea37253e admin: revamp overriding forms (#36711)
* always display summary of changes if there are data
* -> skip summary of changes if there are no data (#13599)
* do not use scrolling in summary (#32177)
* ignore no-data fields when comparing types
* warn about data loss instead of data corruption/bugs
* remove data from incompatible columns (in SQL) (#15379)
2019-10-25 10:46:18 +02:00
Frédéric Péters a545f25984 admin: display all formdef types using a data source (#37105) 2019-10-25 10:45:08 +02:00
Frédéric Péters c8513a1a73 workflows: use correct class when importing workflow backoffice fields (#37105) 2019-10-25 10:45:07 +02:00
Frédéric Péters 9da3ee9901 misc: recreate workflow form after submission, to get live items (#35903) 2019-10-22 11:13:36 +02:00
Nicolas Roche e8384beceb tests: check for live data sources in workflow forms (#35903) 2019-10-22 11:13:36 +02:00
Frédéric Péters 497d8d83d2 misc: always allow restoring drafts (#37107) 2019-10-22 09:50:25 +02:00
Frédéric Péters e7887d2b0f admin: don't refer to slug widget if it has not been added (#37102) 2019-10-21 22:50:07 +02:00
Frédéric Péters cd216c1ff4 translation update 2019-10-18 12:15:22 +02:00
Nicolas Roche 0085120f84 datasources: avoid raising on lost datasource (#18431) 2019-10-18 11:00:02 +02:00
Nicolas Roche 215209fb98 admin: protect datasources in use from deletion or slug change (#15163) 2019-10-18 10:57:06 +02:00
Frédéric Péters b876213f44 api: do not advertise all forms for backoffice submission to admins (#36988) 2019-10-18 10:52:57 +02:00
Nicolas Roche 7c02aac054 formdefs: exclude None values from get_formdefs_of_all_kinds list (#37058) 2019-10-18 10:51:33 +02:00
Frédéric Péters e9d53a2569 backoffice: don't try displaying status visibility for missing status (#37005) 2019-10-16 19:03:59 +02:00
Frédéric Péters f028c69cc5 tests: add test for autosave/items field (#36893) 2019-10-15 10:28:32 +02:00
Frédéric Péters bd44241b93 misc: access django POST using original unicode keys() (#36893) 2019-10-15 10:28:32 +02:00
Frédéric Péters e7ad4c2c0b workflows: migrate fields on load (#36915) 2019-10-14 22:22:18 +02:00
Nicolas Roche 12df99eaba formdefs: add function to get formdefs of all kind (#36865) 2019-10-14 13:47:34 +02:00
Nicolas Roche e7e34cd498 datasources: return 404 on unknown datasource (#36808) 2019-10-14 13:39:58 +02:00
Frédéric Péters 2b9bfd93c9 misc: convert old roles module location when unpickling (#36860) 2019-10-11 16:52:53 +02:00
Frédéric Péters 20cefcf12e fields: set empty datasource when "none" is selected (#36851) 2019-10-11 11:19:16 +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