Commit Graph

5291 Commits

Author SHA1 Message Date
Frédéric Péters 320dee2376 forms: use django templates to render form pages (#21627) 2018-06-20 14:14:47 +02:00
Frédéric Péters 055d6a29f3 api: mark restricted formdefs as requiring authentication (#24522) 2018-06-19 15:36:10 +02:00
Frédéric Péters 7ea96855b3 sessions: do not access session temporary files for unsaved sessions (#24643) 2018-06-19 15:36:10 +02:00
Frédéric Péters 3c344f4edb backoffice: allow two-digit years in filters (#15204) 2018-06-19 15:36:10 +02:00
Thomas NOËL 699e5752e7 data_source: raise en explicit keyerror if slug does not exist (#24627) 2018-06-19 09:07:56 +02:00
Christophe Siraut e8c7cd4678 tests: use modern mechanize method (#24499) 2018-06-18 13:51:07 +02:00
Christophe Siraut 8eeba98ed8 forms: use python-magic when available (#24497) 2018-06-18 13:50:23 +02:00
Frédéric Péters eea1a3b2d5 publisher: add basic substitution sources after detaching (#24585) 2018-06-15 16:36:09 +02:00
Frédéric Péters 4787a65732 translations: don't capitalize month name (#24502) 2018-06-13 13:22:51 +02:00
Frédéric Péters 83c4f1f956 forms: allow prefilling a map field with an address (#23293) 2018-06-11 13:27:26 +02:00
Frédéric Péters a30fae2d11 general: add support for using templates to prefill fields (#24094) 2018-06-11 12:10:02 +02:00
Frédéric Péters f7090e7524 misc: don't crash templates on variables with invalid characters (#24393) 2018-06-11 09:51:18 +02:00
Frédéric Péters fd0bdda641 backoffice: enable back filter submit after new listing is loaded (#24398) 2018-06-11 09:51:18 +02:00
Thomas NOËL 7d4b3099ed update french translations 2018-06-07 18:13:16 +02:00
Thomas NOËL 9a86adf174 workflows: use format strings on logged error message (i18n) (#24327) 2018-06-07 18:13:03 +02:00
Thomas NOËL e617568561 tests: do not check mail message on logged errors backoffice (#24327) 2018-06-07 18:04:24 +02:00
Thomas NOËL 30732d5b12 misc: only log missing statuses as functional errors (#24327) 2018-06-07 17:34:11 +02:00
Frédéric Péters eed3861a3d forms: only include pages with actual data in summary (#24048) 2018-06-07 16:53:31 +02:00
Frédéric Péters f0fd073219 scripts: include __file__ in globals() (#24341) 2018-06-07 11:34:29 +02:00
Frédéric Péters 240ba37244 misc: give widget templates full access to publisher context (#24338) 2018-06-07 10:24:54 +02:00
Frédéric Péters a0dfbf8046 templates: restore {% load qommon %} in pure django template (#24296) 2018-06-06 21:50:21 +02:00
Frédéric Péters 996749aace general: load some templatetags libraries by default (#24296) 2018-06-06 21:10:23 +02:00
Thomas NOËL 635e309d41 use repr on logging invalid status (#24245) 2018-06-06 14:33:38 +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