Commit Graph

4778 Commits

Author SHA1 Message Date
Frédéric Péters 8310df8b67 workflow: don't fail odt creation on draw:frame missing a name (#16510) 2017-05-26 11:08:49 +02:00
Frédéric Péters a90993f8ad misc: allow form-less traces to be printed (#16508) 2017-05-26 11:08:49 +02:00
Frédéric Péters 2df98ce225 trivial: remove erronenous spaces before colons in English strings (#16501) 2017-05-24 19:59:06 +02:00
Thomas NOËL 7a3286c9d4 update french translations 2017-05-19 15:30:05 +02:00
Frédéric Péters 70da7d2ac4 backoffice: include page numbers in list of fields (#15426) 2017-05-19 15:27:17 +02:00
Frédéric Péters 4c3c150f2b misc: limit paste and drop zone to the file widget itself (#16219) 2017-05-19 15:26:10 +02:00
Thomas NOËL 91a2d15857 settings: do not crash on invalid postgresql port value (#16340) 2017-05-15 17:39:22 +02:00
Frédéric Péters f13cfbc98c backoffice: keep displaying tracking code to agent for 30 minutes (#14898) 2017-05-15 09:35:15 +02:00
Frédéric Péters 7dd6857c30 admin: remove unnecessary users debug page (#16231) 2017-05-15 09:34:07 +02:00
Frédéric Péters c6061e7017 tests: add additional checks on admin users pages 2017-05-14 20:47:59 +02:00
Frédéric Péters 2dff35d87d misc: make sure request.form keys are also simple str objects (#15843) 2017-05-14 18:04:24 +02:00
Frédéric Péters 6ec13787dd workflows: make it possible to replace odt images with variables (#16259)
This uses the "name" attribute of an image (in LibreOffice, double click
on the picture and go to the options tab to set it).  It must be set to
a Python expression, prefixed with = (e.g. =form_var_image_raw).

The expression should return a wcs-file-like object (must have a
get_content() method).  The replacement image mime type should be the
same as the original one.
2017-05-14 17:59:46 +02:00
Frédéric Péters 330e1788a7 sessions: store form tokens in external directory (#16048) 2017-05-14 17:59:46 +02:00
Frédéric Péters 4ef7361b45 help: only use varnames in submit API example 2017-05-11 18:14:42 +02:00
Frédéric Péters 9e8873a655 backoffice: use fixed limit to ellipsize columns (#16279) 2017-05-11 16:33:44 +02:00
Frédéric Péters 8232919d17 misc: keep get_field_view_value behaviour when max_length is 0 (#16279) 2017-05-11 16:33:43 +02:00
Frédéric Péters ca04f8acde misc: let utils.make_date() parse more datetime formats (#16234) 2017-05-10 13:49:52 +02:00
Frédéric Péters ac8fb24d0b forms: keep backoffice fields after editing existing formdata (#16245) 2017-05-10 13:46:47 +02:00
Frédéric Péters c522d82104 backoffice: autorefresh listings every 30 seconds (#16235) 2017-05-10 13:46:46 +02:00
Frédéric Péters da958b4f8e form: fix selection of initial value in select2 widgets (#15546) 2017-05-10 11:03:05 +02:00
Frédéric Péters aceb6992fd form: use non-minified form of select2 in debug mode (#16240) 2017-05-10 11:03:05 +02:00
Frédéric Péters 2f660f1288 trivial: remove obsolete comment 2017-05-10 11:03:05 +02:00
Frédéric Péters 3befbadace trivial: remove unused imports 2017-05-10 11:03:05 +02:00
Frédéric Péters b041aaffd9 utils: add parsing of datetimes formatted as %Y-%m-%dT%H:%M:%SZ (#16033) 2017-05-03 17:48:53 +02:00
Thomas NOËL 30f6b1ffd2 use FranceConnect official vocabulary in french translation 2017-05-03 17:03:06 +02:00
Thomas NOËL 29f1235cb4 add i18n on platforms list in FranceConnect settings (#16155)
and typo s/PLAFTORMS/PLATFORMS/
2017-05-03 16:33:13 +02:00
Thomas NOËL a990f86986 update french translations 2017-05-03 16:08:00 +02:00
Thomas NOËL c1a923c2d0 add FranceConnect authentication method (#14510)
use session.extra_user_variables to store attributes retrieved
during FranceConnect SSO.
2017-05-03 16:07:36 +02:00
Thomas NOËL 9bcea1225e add session.extra_user_variables to store auth informations (#16145) 2017-05-03 11:34:10 +02:00
Thomas NOËL 58fe0dc8cc allow a context (dict) in compute (#16144) 2017-05-03 11:18:50 +02:00
Benjamin Dauvergne 3fad5b09a5 tox.ini: change URL of quixote 2.7b2 which moved (#16142) 2017-05-03 11:06:27 +02:00
Benjamin Dauvergne 93bf69e2eb tox.ini: use pytest-catchlog instead of pytest-capturelog (#16142)
capturelog is unmaintained.
2017-05-03 11:06:27 +02:00
Frédéric Péters 29704b1640 formdata: return empty string as view value for None fields (#16073) 2017-05-03 11:04:27 +02:00
Frédéric Péters 7bfd364ac4 form: keep order of elements in checkboxes widget (#16140) 2017-05-03 10:54:52 +02:00
Frédéric Péters 0f14390084 workflows: don't include uncompleted choice actions (#15887) 2017-04-27 13:59:19 +02:00
Frédéric Péters dfede0736e misc: fix "ask for confirmation" setting to work with new buttons (#15920) 2017-04-27 13:58:31 +02:00
Thomas NOËL f4a82557ba don't display portfolio pick link if it's not present (#15944) 2017-04-21 17:13:14 +02:00
Serghei Mihai eebb6d5bce widgets: append fargo.js on FileWithPreviewWidget rendering only (#15899) 2017-04-21 15:33:49 +02:00
Thomas NOËL d9d4ffa3be update french translations 2017-04-21 15:17:09 +02:00
Serghei Mihai 01dd49631f geojson: don't return fields with no value (#15889) 2017-04-20 11:19:35 +02:00
Serghei Mihai 8304a4d902 tests: update form fields localy for geojson tests (#15532) 2017-04-14 18:36:47 +02:00
Serghei Mihai 6965577da8 backoffice: display form's selected fields on maps (#15532) 2017-04-14 17:34:48 +02:00
Serghei Mihai 2411c70fed backoffice: display status-coloured markers on maps (#15533) 2017-04-14 17:34:48 +02:00
Frédéric Péters fd919d60e1 general: refactor FakeField handling to avoid code duplication (#15842) 2017-04-14 15:38:11 +02:00
Frédéric Péters 6f9d0c3aed misc: add fake "name" attribute to HtmlWidget, for duck typing (#15884) 2017-04-14 15:09:45 +02:00
Frédéric Péters 2d058949e1 backoffice: fix multiple javascript selection of "other" choice (#14401) 2017-04-13 17:52:53 +02:00
Frédéric Péters b6b8c85aa5 backoffice: fix javascript selection of multiple recipients (#15867) 2017-04-13 15:40:05 +02:00
Frédéric Péters 6c45cec968 backoffice: consider roles when displaying done/all forms in listing (#15818) 2017-04-11 11:41:17 +02:00
Frédéric Péters 4d586ac5ef tests: run all set_backoffice_field tests with both pickle & sql 2017-04-10 12:31:25 +02:00
Frédéric Péters d76ac99155 workflows: fix setting dates as backoffice fields (#15809) 2017-04-10 12:31:25 +02:00