Commit Graph

3969 Commits

Author SHA1 Message Date
Thomas NOËL 58ceaf311d update french translations 2015-11-11 20:29:51 +01:00
Frédéric Péters b73d34032e backoffice: add a bit of text and style to non validated files (#8947) 2015-11-11 19:35:03 +01:00
Frédéric Péters 4f80ae3bfc api: export list of formdef keywords in user/forms and user/drafts (#8951) 2015-11-11 19:35:03 +01:00
Frédéric Péters 8ed71906f9 fields: fix label set after file type suggestion migration (#8946) 2015-11-11 18:00:52 +01:00
Frédéric Péters 626c320110 tests: make fake pdf file content look enough like a pdf
("foobar" got caught by python-magic as not a valid PDF file)
2015-11-11 16:56:57 +01:00
Benjamin Dauvergne 9c4be6b929 formdef: rewrite update_mimetypes as update_filetype (#8402)
As filetype/mimetypes handling has been changed, handling of settings'
filetypes changes must be updated.
2015-11-10 18:40:19 +01:00
Benjamin Dauvergne 9f9e9685a0 add support for file validation (#8402) 2015-11-10 18:40:19 +01:00
Benjamin Dauvergne 0a6d248824 fields: handle non string value in export_to_xml() (#8402)
Fields using this facility must override import_from_xml() to convert the imported string value to
the real type, for example a list of strings converted to CSV, must be splitted.
2015-11-10 18:39:43 +01:00
Benjamin Dauvergne c2b87bbe70 formdef: allow field classes to have migrate methods (#8402)
Allow modifying the storage of fields.
2015-11-10 18:39:43 +01:00
Frédéric Péters 2bbe00c58a backoffice: prefill with form user data (#8940) 2015-11-10 17:23:31 +01:00
Frédéric Péters d178357a7f style: remove duplication of css rule 2015-11-10 15:46:38 +01:00
Frédéric Péters 346cfce686 backoffice: redirect formdata to submission page if appropriate (#8926) 2015-11-10 15:46:38 +01:00
Frédéric Péters bd026edd42 misc: add label for phone submission channel 2015-11-10 15:46:38 +01:00
Frédéric Péters bcaba55970 api: fix list of roles in formdata API (#8922) 2015-11-10 15:46:38 +01:00
Frédéric Péters fe8020dddb workflows: don't fail displaying unconfigured "form" action (#8921) 2015-11-10 15:46:38 +01:00
Frédéric Péters 11fdd4cea0 backoffice: make global listing sortable (#8542) 2015-11-10 15:46:38 +01:00
Frédéric Péters f70887eb38 backoffice: add channel and modification time columns to global listing (#8918) 2015-11-10 15:46:38 +01:00
Frédéric Péters 7c5f54ea9f formdata: move submission channel to its own attribute (#8888) 2015-11-10 15:46:35 +01:00
Frédéric Péters fe6a3195d9 misc: include current date/time in statistics PDF (#8917) 2015-11-10 15:43:37 +01:00
Frédéric Péters c49bd4976c backoffice: display applied filters in PDF output (#8916) 2015-11-10 15:43:37 +01:00
Frédéric Péters c839bc2dbb tests: add test for menu.json (and json/jsonp handling) 2015-11-10 15:43:37 +01:00
Frédéric Péters fefcfb7079 backoffice: add jsonp endpoints to get various counters (#8915) 2015-11-10 15:43:36 +01:00
Frédéric Péters 8a8c2e04e0 backoffice: include formdata channel name in submission screen (#8913) 2015-11-10 15:43:36 +01:00
Frédéric Péters e31fa5600e backoffice: divide submission screen in three sections (#8913)
- create: to create new formdata
- existing: to get back to existing drafts
- empty: to get back empty drafts (typically, mails)
2015-11-10 15:43:31 +01:00
Frédéric Péters e1a7462e63 backoffice: refactor display of submission listing screen (#8913) 2015-11-10 08:53:18 +01:00
Frédéric Péters 1583fc4de5 backoffice: add a new "Include in default filters" option for lists (#8908) 2015-11-10 08:53:18 +01:00
Benjamin Dauvergne 300e0a1aca check_hobos: fix attribute_mapping if it contains None (#8923) 2015-11-09 10:18:23 +01:00
Frédéric Péters 7d683e7031 tests: add a few additional tests on homepage content 2015-11-07 17:02:05 +01:00
Frédéric Péters fa58317d73 misc: add data-keywords attributes on formdef and categories elements (#8907) 2015-11-07 16:47:15 +01:00
Frédéric Péters 115d8d1aba misc: protect against removed category (#8906) 2015-11-07 14:17:48 +01:00
Frédéric Péters cd2b7360b5 misc: create a property to get formdef keywords as a list (#8905) 2015-11-07 14:05:02 +01:00
Frédéric Péters 135aa22363 tests: add test for themes page 2015-11-07 11:31:45 +01:00
Frédéric Péters 4358c5d2d2 misc: cut locals displayed in traces to 10000 characters (#8904) 2015-11-07 09:07:53 +01:00
Frédéric Péters c5d284e0e7 misc: use sessionStorage if localStorage is not available (#8806) 2015-11-06 15:20:38 +01:00
Frédéric Péters 6cf22249aa misc: extend variadic URL to support even more variations (#8889) 2015-11-06 15:10:56 +01:00
Thomas NOËL 143d432905 misc: don't lose query string in variadic URL (#8889) 2015-11-06 15:09:34 +01:00
Benjamin Dauvergne 03b6acee8b hobo_notify: provision all received user fields (#8861) 2015-11-06 13:42:48 +01:00
Thomas NOËL 4d2cd42bb6 update french translations 2015-11-05 20:14:33 +01:00
Frédéric Péters 07efca8dcc backoffice: display current user forms in the sidebar (#8879) 2015-11-05 19:06:37 +01:00
Frédéric Péters b6f08cfaf6 backoffice: add tracking code form for agents (#8755) 2015-11-05 19:06:36 +01:00
Frédéric Péters 5954e10d37 sql: add a "last_update_time" column to views (#8886) 2015-11-05 19:06:36 +01:00
Frédéric Péters 81521921ef tests: add a test for autosave calls 2015-11-05 19:01:09 +01:00
Frédéric Péters 1ec1e9a8f5 forms: display a tracking code on first page (#8760)
It will only get turned into a proper formdata when data are saved, either by
going to the next page or by the javascript autosave.
2015-11-05 18:58:44 +01:00
Benjamin Dauvergne 2f84160f44 add 'attachments' substitution variable to formdatas (#8829) 2015-11-05 16:19:11 +01:00
Benjamin Dauvergne 0810ac6d0c wf/export_to_model: add varname field (#8829) 2015-11-05 16:19:11 +01:00
Benjamin Dauvergne 8f4c675703 wf/attachment: add varname field (#8829) 2015-11-05 16:19:11 +01:00
Benjamin Dauvergne 7423ada42d add varname to AttachmentEvolutionPart (#8829)
It allows differentiating between attached files from different workflow actions:
ExportToModel or AddAttachmentWorkflowStatusItem.
2015-11-05 16:19:11 +01:00
Frédéric Péters 480bf287e4 tests: add a bunch of tests on fields (#8878) 2015-11-05 15:52:56 +01:00
Frédéric Péters 66a4068db6 forms: don't restore empty fields for drafts (#8878) 2015-11-05 15:52:56 +01:00
Frédéric Péters f99f0fc313 Revert "form: correctly ignore empty values in WidgetList (#8866)"
This reverts commit 776c367f31.
2015-11-05 15:52:56 +01:00