Commit Graph

5270 Commits

Author SHA1 Message Date
Elias Showk c29fd73345 wip: CheckboxesWidget corrections 2018-06-11 11:42:36 +02:00
Elias Showk 93d25abdda CheckboxesWidget: use a template and support extra options (#23413) 2018-06-06 18:57:29 +02:00
Frédéric Péters a1d072bd0f workflows: ignore webservice errors when evaluating evolution emptyness (#24241) 2018-06-04 14:16:27 +02:00
Frédéric Péters 25d0af3a4c backoffice: fix display of expression widgets embedded in WidgetDict (#24260) 2018-06-04 14:16:27 +02:00
Frédéric Péters d88fb7e2d7 translation update 2018-06-03 09:02:15 +02:00
Frédéric Péters f6e89c2a25 forms: include titles and subtitles in summary page (#18779) 2018-06-03 08:56:30 +02:00
Thomas NOËL 0f19aab60b workflows: store structured values in backoffice fields (#24209) 2018-06-01 18:03:10 +02:00
Thomas NOËL cfe5f85502 wscall: hide signature key field by default (#24210) 2018-06-01 18:01:43 +02:00
Thomas NOËL 156b198b1a settings: do not export roles when managed by idp (#24224) 2018-06-01 17:55:56 +02:00
Frédéric Péters bbe38a8fad general: update UI of expression widget to match condition widget (#19112) 2018-06-01 17:53:20 +02:00
Frédéric Péters c6232cf715 fields: add support for max bounds to map widget (#23061) 2018-06-01 17:42:45 +02:00
Thomas NOËL d7b938d4d7 misc: create hashed subdir for attachments (#24211) 2018-06-01 17:02:41 +02:00
Frédéric Péters b6aa07137a trivial: remove leftover logging code from old prefill mode (#23975) 2018-06-01 08:07:25 +02:00
Frédéric Péters 149fd04a50 misc: remove leftover error display code (#23975)
This was only used in signature mode, that got removed in #4744.
2018-06-01 08:07:25 +02:00
Frédéric Péters 42e5273232 misc: remove leftover code related to form invitations (#23975) 2018-06-01 08:07:25 +02:00
Frédéric Péters e0f071b670 forms: add an option to have items field shown in default criterias (#23369) 2018-05-28 16:02:26 +02:00
Frédéric Péters f89f11e154 misc: don't let condition pass over condition type label (#24108) 2018-05-28 10:23:37 +02:00
Frédéric Péters e0322433ec forms: remove possibility to add a custom message to widgets (#24100)
It was only used to add a "This value has been prefilled" message and we
do not do that anymore.
2018-05-28 09:51:51 +02:00
Frédéric Péters 56f0105440 misc: do not add a message to prefilled fields (#24100) 2018-05-28 09:51:48 +02:00
Thomas NOËL 7b6dc1dddf forbid Django {{ in Python expression or condition (#23616) 2018-05-28 09:36:38 +02:00
Thomas NOËL 579b1c17e3 workflows: really log invalid status detection (#23894) 2018-05-28 09:32:59 +02:00
Thomas NOËL c8a06c48f3 tests: use or remove |safe now that autoescape is off (#21343) 2018-05-27 17:43:05 +02:00
Frédéric Péters 19227e7a6d misc: change condition widget ui to have type selector on the right (#24046) 2018-05-27 14:30:54 +02:00
Frédéric Péters 1d1259adc0 misc: add a css class to resubmit button (#24074) 2018-05-27 14:27:37 +02:00
Frédéric Péters ec79067e51 forms: always use a template to render map widget (#23994) 2018-05-27 14:27:37 +02:00
Frédéric Péters 4f138d141e misc: always define form_role_<slug>_emails (#24003) 2018-05-27 14:27:37 +02:00
Frédéric Péters 398ebbdda5 sessions: use dedicated get_sessions_for_saml in SQL backend (#23972) 2018-05-27 12:00:46 +02:00
Frédéric Péters 96f57e96e3 tests: check fields from undisplayed conditional pages are not saved (#19521) 2018-05-27 12:00:46 +02:00
Frédéric Péters 93374961c2 threads: make sure logger and substitution singletons are not reused (#24078) 2018-05-25 12:07:19 +02:00
Frédéric Péters 3cd48901e7 misc: attach a copy of environment to requests (#24058) 2018-05-24 17:52:51 +02:00
Frédéric Péters 832a34c032 misc: add dedicated methods for copy and deepcopy (#24033)
copy and deepcopy are recycling __getstate__ originally defined for
pickling objects; however we have a custom __getstate__ method for
formdefs because we want to save fields in a different pickle chunk.

But while removing fields in __getstate__ during pickling wouldn't
affect a "live" object, copy/deepcopy are supposed to create usable
objects, and a formdef with its fields attribute reduced to None
doesn't qualify.

Practically this could cause all sorts of malfunctions including a
not-so-subtle removal of all fields (if the copied formdef was stored
on disk).
2018-05-23 18:11:11 +02:00
Thomas NOËL 0f30572297 update french translations 2018-05-23 16:27:58 +02:00
Thomas NOËL 3ceab69928 wscall: show wscall error 'reason' in formdata history (#24031) 2018-05-23 15:59:18 +02:00
Frédéric Péters 04f6bc20bb misc: create more SQL tables when switching from the UI (#24014) 2018-05-23 10:02:48 +02:00
Frédéric Péters 3d79ca4cbc misc: restore backoffice drafts to the correct page (#23942) 2018-05-22 11:14:35 +02:00
Frédéric Péters 6d9d9fddb0 misc: use a copy of sources when temporarily feeding a new source (#23935) 2018-05-18 18:19:49 +02:00
Frédéric Péters 77473ca0d0 translation update 2018-05-18 15:53:37 +02:00
Frédéric Péters 31156f6ca1 sql: always rebuild security attributes of formdata in the same order (#23918) 2018-05-18 15:53:37 +02:00
Frédéric Péters e7dac1590c misc: use an afterjob to update formdatas when a workflow is changed (#23918) 2018-05-18 15:53:37 +02:00
Frédéric Péters 4dc3d6ea3a misc: use an afterjob to update form digests (#23919) 2018-05-18 15:17:02 +02:00
Frédéric Péters 493bc0078d backoffice: adjust sidebar to not be sticky on mobile (#23911) 2018-05-18 09:52:47 +02:00
Thomas NOËL 063e73b769 update french translations 2018-05-17 15:32:32 +02:00
Thomas NOËL 52ba7c30ac do not jump after edit if target status is unknown (#23882) 2018-05-17 15:07:33 +02:00
Frédéric Péters 64bad2d27e forms: use a template to render file fields (#23281) 2018-05-17 14:05:55 +02:00
Frédéric Péters 4b9fb90018 management: use SQL global view for formdata lookup on identifier (#23517) 2018-05-17 11:12:27 +02:00
Frédéric Péters a2fab65a14 misc: save empty conditions as None (#23855) 2018-05-16 13:48:35 +02:00
Frédéric Péters 7b0b2a35e6 workflows: handle empty <condition> tags in exports (#23855) 2018-05-16 13:48:35 +02:00
Thomas NOËL ce94b90179 do not add an evolution on static jump (#22236) 2018-05-16 13:47:30 +02:00
Frédéric Péters 771dec087b misc: unify context processors into an extended one (#23856) 2018-05-16 11:43:37 +02:00
Thomas NOËL c298493c4b wscall: do not post form data by default (#23111) 2018-05-16 08:45:37 +02:00