Commit Graph

4100 Commits

Author SHA1 Message Date
Frédéric Péters 536b58961f debian: don't restart wcs on hobo-deploy trigger (#9405) 2016-01-21 11:17:32 +01:00
Frédéric Péters 63c850e1cb forms: let autosave() call finish before starting a new one 2016-01-20 15:45:09 +01:00
Frédéric Péters 5fa59bdcc4 forms: don't record autosave() error as success 2016-01-20 15:45:09 +01:00
Frédéric Péters e910a6148e forms: don't let autosave() with errors modify user session (#9701) 2016-01-20 15:45:09 +01:00
Frédéric Péters 92e5188522 forms: don't let autosave() replace values that were submitted later on (#9701) 2016-01-20 15:45:09 +01:00
Frédéric Péters 926780efa6 general: don't use session for after_url persistence (#5637) 2016-01-19 18:40:08 +01:00
Frédéric Péters 7bcfdbf920 workflows: validate email body and subject are correct ezt strings (#9524) 2016-01-19 18:40:08 +01:00
Frédéric Péters 350aa8f2c7 general: don't display repeated status in journal (#9186) 2016-01-19 18:38:19 +01:00
Benjamin Dauvergne 0c44cbb69c saml2: extract sessionNotOnOrAfter and use it to set session expire (#8887) 2016-01-19 16:37:11 +01:00
Benjamin Dauvergne 9f67c7c010 misc: add helper method to parse xsd:datetime value in the UTC timezone (#8887) 2016-01-19 16:37:11 +01:00
Benjamin Dauvergne 114fc8ebd7 sessions: allow setting an explicit expire date (#8887) 2016-01-19 16:37:11 +01:00
Benjamin Dauvergne b302ef5265 allow setting session durations (#8887) 2016-01-19 16:37:11 +01:00
Frédéric Péters ac5adb3648 hobo: create [options] section if necessary (#9696) 2016-01-19 12:46:57 +01:00
Frédéric Péters d95287c2fb workflows: let anonymous signed calls trigger jumps (#9659) 2016-01-14 14:54:06 +01:00
Frédéric Péters 35380fdd47 forms: make sure display_id is a string (#9651) 2016-01-14 14:53:42 +01:00
Frédéric Péters e912728fe3 hobo: discover portal-{user,agent} from template names (#9656) 2016-01-14 14:46:06 +01:00
Frédéric Péters 09631790b0 backoffice: mark statistics links with a class (#9630) 2016-01-14 11:54:48 +01:00
Frédéric Péters 1cbb565a54 tests: allow clean_temporary_pub to be called multiple times in a row 2016-01-13 22:10:18 +01:00
Frédéric Péters a2a5dde73a admin: highlight correct section when editing workflow variables (#9626) 2016-01-13 14:13:41 +01:00
Frédéric Péters dcbff97b3d backoffice: fold pages in confirmation page (#9452) 2016-01-13 11:06:47 +01:00
Thomas NOËL c10f41413a backoffice: display id after formdef name (#9602) 2016-01-12 14:47:57 +01:00
Thomas NOËL 8eac9837c5 update french translations 2016-01-12 14:29:04 +01:00
Frédéric Péters 9da49b398f hobo: correctly import and setup publisher for --redeploy command (#9599) 2016-01-12 11:48:39 +01:00
Frédéric Péters 143783b334 debian: fix trigger to call the right command (#9599) 2016-01-12 11:48:39 +01:00
Thomas NOËL c253306853 backoffice: rename first submission list (#9500) 2016-01-11 19:13:22 +01:00
Frédéric Péters 0ab8fc4876 backoffice: don't let new forms be created when welco is deployed (#9500) 2016-01-11 16:21:58 +01:00
Thomas NOËL 728697c013 menu.json: put "submit" before "managment" (#9574) 2016-01-11 11:24:13 +01:00
Frédéric Péters 5ef4a2c486 workflows: add possibility to dispatch function according to a variable (#9091) 2016-01-08 18:56:48 +01:00
Frédéric Péters 8262d99e90 form: change WidgetListAsTable to use the global render() method 2016-01-08 17:41:46 +01:00
Frédéric Péters b92bec8459 js: make it possible to dynamically show/hide widgets with radio buttons
Give the parent radio buttons data-dynamic-display-parent="true" and the
widgets that have to be shown/hidden a data-dynamic-display-child-of attribute
with the @name of the parent and a data-dynamic-display-value attribute with
the value that will show this element.

form.add(RadiobuttonsWidget, 'foo', ...,
         options=[('1', 'Foo1), ('2', 'Foo2')],
         attrs={'data-dynamic-display-parent': 'true'})
form.add(StringWidget, 'bar', ...,
         attrs={'data-dynamic-display-child-of': 'foo',
                'data-dynamic-display-value': 'Foo2'})
2016-01-08 17:41:46 +01:00
Frédéric Péters 1dd5e103ba general: add support for global actions (#3659) 2016-01-08 17:41:46 +01:00
Frédéric Péters 1990c9ff40 backoffice: include an "identifier" column in global listing (#9537) 2016-01-08 16:50:06 +01:00
Frédéric Péters 7251ebe85a backoffice: use display id in "related user forms" (#9537) 2016-01-08 16:50:06 +01:00
Frédéric Péters a2d7c63ffc backoffice: use display id in breadcrumb (#9537) 2016-01-08 16:50:06 +01:00
Frédéric Péters e374d48750 pylint: remove unused variable 2016-01-08 16:48:38 +01:00
Frédéric Péters f1a8efadbe pylint: indentation fix 2016-01-08 16:48:34 +01:00
Frédéric Péters 73447c5c0f backoffice: make it possible to remove backoffice submission drafts (#9536) 2016-01-08 16:32:29 +01:00
Frédéric Péters 62025102a9 forms: keep access to roles that are mentioned in formdef functions (#9545) 2016-01-08 16:23:46 +01:00
Frédéric Péters ceebeda2b5 hobo_notify: consider role.details, not role.description (#9523) 2016-01-06 14:46:26 +01:00
Frédéric Péters a631083c8a update French translation 2016-01-06 13:16:51 +01:00
Benjamin Dauvergne c693b7fa26 hobo_notify: handle new user attribute is_superuser (fixes #9488) 2016-01-06 10:53:08 +01:00
Benjamin Dauvergne 208152976b debian: add postinst and triggers files for hobo-redeploy (#8894) 2016-01-06 10:30:22 +01:00
Benjamin Dauvergne 0257dee49f check_hobos: add --redeploy option (#8894) 2016-01-06 10:30:22 +01:00
Frédéric Péters cdd412648b forms: fix is_of_concern_for_user to take formdata into account (#9494) 2016-01-05 19:11:47 +01:00
Frédéric Péters 2f0caaaa68 api: expose backoffice_submission and submission_channel in formdata (#9515) 2016-01-05 15:39:34 +01:00
Benjamin Dauvergne 0632245289 check_hobos: store hobo.json in app_dir (fixes #7272) 2016-01-04 09:40:56 +01:00
Frédéric Péters 14825d8a7e help: spelling fixes 2016-01-04 09:29:09 +01:00
Frédéric Péters bd1d04d385 api: protect against removed roles (#9447) 2016-01-04 08:39:14 +01:00
Frédéric Péters 288754ab0c admin: make it possible to reset formdef function back to none (#8711) 2016-01-04 08:39:14 +01:00
Frédéric Péters eb09a4c77b formdata: always create a display identifier (#9135) 2016-01-04 08:39:14 +01:00