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
Frédéric Péters
7f6d4a354d
Revert "forms: store empty non required strings as empty strings ( #8862 )"
...
This reverts commit fe7f2a1ee2
.
2015-11-05 15:52:56 +01:00
Frédéric Péters
776c367f31
form: correctly ignore empty values in WidgetList ( #8866 )
...
(it used to ignore None but we also want it to ignore '')
2015-11-04 17:55:25 +01:00
Thomas NOËL
af16cb5948
update french translations
2015-11-04 16:07:13 +01:00
Frédéric Péters
7e83cd55e6
forms: give access to form_user_ from the first page ( #8859 )
2015-11-04 15:57:24 +01:00
Frédéric Péters
2d0251706f
wscall: increase transmission timeout according to post size ( #8865 )
2015-11-04 15:53:03 +01:00
Frédéric Péters
fe7f2a1ee2
forms: store empty non required strings as empty strings ( #8862 )
2015-11-04 15:47:59 +01:00
Frédéric Péters
18e4eafc20
api: export roles associated to a formdata ( #8485 )
2015-11-04 15:47:59 +01:00
Frédéric Péters
ade043ea2a
workflows: add custom graph transition message for wscall error jumps ( #8846 )
2015-11-04 15:47:59 +01:00
Frédéric Péters
d6db0571c7
forms: do not display message for fields prefilled with a fixed string ( #8838 )
2015-11-04 15:47:59 +01:00
Frédéric Péters
8bac659dcb
misc: display a different error message for formdef submits ( #8837 )
2015-11-04 15:47:59 +01:00
Frédéric Péters
99aa0994e5
api: fix looking up user attributes that would be missing ( #8851 )
2015-11-03 16:53:17 +01:00
Frédéric Péters
76e4bec2bd
tests: add basic checks for WysiwygWidget ( #8848 )
2015-11-03 16:16:13 +01:00
Frédéric Péters
2dddd3bd91
tests: fix backoffice_info_test assertion in case of missing feedparser ( #8848 )
2015-11-03 16:16:13 +01:00
Frédéric Péters
5f4ba2e429
api: apply users query to all text fields ( #8851 )
2015-11-03 16:16:13 +01:00
Frédéric Péters
a9a9a6f96b
tests: run API tests with both pickle and SQL storages
2015-11-03 16:16:13 +01:00
Frédéric Péters
bafda490e9
api: expose _structured field variants in json output ( #8844 )
2015-11-03 16:16:13 +01:00
Benjamin Dauvergne
febe201e16
wf/export_to_model: don't reuse prefix variable ( #4292 )
...
(bug introduced in 29c8e2b0
)
2015-11-03 14:02:51 +01:00
Benjamin Dauvergne
a01aa5870c
tests: fix test_store_async ( #8847 )
...
Test can fail if atomic_write() is slow, but behaviour is correct. Foobar.keys()
will always return a non True value as the file is first created by
get_new_id(create=True) and not by atomic_write().
2015-11-03 10:43:10 +01:00
Frédéric Péters
3413eb06fd
misc: expire old drafts ( #8468 )
2015-11-02 08:08:40 +01:00
Frédéric Péters
c7cb3b380b
workflows: import ExportToModel in module namespace, for compatibility ( #4292 )
2015-10-29 11:52:03 +01:00
Benjamin Dauvergne
d768286234
change signature for UploadWidget.validation parameter ( #4292 )
...
It should be a method raising qommon.forms.UploadValidationError if the
validation fails. Return value is ignored.
2015-10-29 11:21:13 +01:00
Benjamin Dauvergne
c9f9a2e6da
wf/export_to_model: add opendocument support ( #4292 )
2015-10-29 11:21:13 +01:00
Benjamin Dauvergne
29c8e2b02c
wf/export_to_model: isolate ExportToModel ( #4292 )
2015-10-29 11:21:13 +01:00
Benjamin Dauvergne
854ca48030
workflows: factorize context building in template_on_formdata ( #4292 )
2015-10-29 11:21:13 +01:00
Frédéric Péters
31c092b820
backoffice: add a custom style for important bo-block ( #8717 )
2015-10-28 16:41:36 +01:00
Frédéric Péters
034633a020
fields: review item field to get back to previous behaviour ( #8785 )
...
In recent commits we tried to handle optional item field with an empty value
prepended to the list of options but while this allows the user to leave
optional fields uncompleted this is not the same behaviour we add.
Return to the previous behaviour. The only way for an item field to be skipped
is now to be displayed as a <select> field with the hint put as the first
element.
2015-10-27 15:30:49 +01:00
Thomas NOËL
b0c5ce245c
update french translations
2015-10-26 15:57:42 +01:00
Frédéric Péters
abaf9825df
misc: add system icon, to be used for hobo
2015-10-26 15:35:06 +01:00
Frédéric Péters
9e1c4ead13
misc: fix check of window.console
2015-10-26 15:28:02 +01:00
Frédéric Péters
32a22ed1bf
misc: only use console.log if it's available
2015-10-26 15:23:45 +01:00
Frédéric Péters
e97b4d6233
fields: fix display of optional item fields that have no items ( #8769 )
2015-10-26 10:14:01 +01:00
Frédéric Péters
5c21487c4c
fields: fix handling of optional item fields ( #8737 )
...
External data sources would add an empty element when the list was optional but
this was not the case when using the internal elements, and things were worked
around when rendering, and inserting, sometimes, the hint as a first element.
This is changed to always have an empty element as first item, and replacing it
with the hint when rendering.
2015-10-23 09:32:19 +02:00
Frédéric Péters
a46d91e7d2
general: re-use draft formdata object if it exists ( #8668 )
2015-10-23 09:32:19 +02:00
Frédéric Péters
f3cfe17d58
form: skip over None variables when computing autocomplete variadic URL ( #8631 )
2015-10-23 09:32:19 +02:00
Frédéric Péters
39a88562d9
forms: show uploaded images as thumbnails in form and validation pages ( #8675 )
2015-10-23 09:29:53 +02:00
Frédéric Péters
7088b86772
form: add aria-required to widgets ( #8676 )
2015-10-23 09:29:24 +02:00
Frédéric Péters
05f8268ae2
api: expose formdata retrieval api under /api/ ( #8678 )
2015-10-23 09:28:57 +02:00