Commit Graph

4156 Commits

Author SHA1 Message Date
Thomas NOËL 095504b20f update french translations 2016-02-26 17:12:26 +01:00
Benjamin Dauvergne efd1af0770 api: handle submit of forms with date, file and map fields (#10059) 2016-02-26 14:53:03 +01:00
Frédéric Péters 9f9599afee backoffice: rename and style the appearance of "remove draft" link (#10084) 2016-02-26 10:06:36 +01:00
Frédéric Péters d02de2c6b4 ezt: allow easy access to array/dict elements (#10074) 2016-02-26 10:06:36 +01:00
Benjamin Dauvergne 30ccbfebf2 api: allow varname in formdef submit (#10026)
structured and display value are also copied if found.
2016-02-25 19:11:21 +01:00
Frédéric Péters e9746fcc80 doc: add missing <code> tags in example 2016-02-22 11:13:42 +01:00
Benjamin Dauvergne d2c170e7e4 Revert "new command to pass batch commands to w.c.s. (#9822)"
This reverts commit 67430e8520 pushed
inadvertently.
2016-02-22 00:06:22 +01:00
Benjamin Dauvergne 96e0006505 Revert "add to_dict() and export_to_json() to Workflow (#9849)"
This reverts commit 2b1f868f67 pushed
inadvertently.
2016-02-22 00:05:54 +01:00
Benjamin Dauvergne cde8218cc0 Revert "export workflow in formdef json exports (fixes #9849)"
This reverts commit c78e8a671b inadvertently.
2016-02-22 00:01:14 +01:00
Benjamin Dauvergne 6772ebef00 wf/roles: handle case when user attributes are managed by the idp (#9210)
If the user's attributes are managed by an idp, we add/remove roles by calling
the idp role management web-services. It only works with authentic2.
2016-02-19 10:18:03 +01:00
Benjamin Dauvergne 9d13b21b69 misc: add an http_delete_request helper function (#9210) 2016-02-19 10:18:03 +01:00
Benjamin Dauvergne 790023bd11 add helper method to test if user attributes are IdP managed (#9210) 2016-02-19 10:18:03 +01:00
Benjamin Dauvergne c78e8a671b export workflow in formdef json exports (fixes #9849) 2016-02-19 10:17:56 +01:00
Benjamin Dauvergne 2b1f868f67 add to_dict() and export_to_json() to Workflow (#9849) 2016-02-19 10:17:56 +01:00
Benjamin Dauvergne 67430e8520 new command to pass batch commands to w.c.s. (#9822) 2016-02-19 10:17:56 +01:00
Frédéric Péters eedc7eaf73 preview: add support for tempfiles, used for thumbnails (#10023) 2016-02-18 15:37:15 +01:00
Frédéric Péters ef44e4fb69 hobo: generate a wscall-secrets section (#10022) 2016-02-18 15:37:15 +01:00
Frédéric Péters e7b2a1f35a admin: don't lose drafts when assigning a new workflow to a formdef (#10017) 2016-02-18 13:44:52 +01:00
Frédéric Péters a2bb9d6869 backoffice: always exclude drafts from exports and statistics (#10012) 2016-02-18 13:44:52 +01:00
Frédéric Péters c906cdaeba misc: fix invalid date check to work with start/end dates (#10004) 2016-02-18 13:44:52 +01:00
Thomas NOËL 4864e33791 update french translations 2016-02-16 14:08:27 +01:00
Frédéric Péters 4a0defb673 backoffice: keep sidebar sticky (#9879) 2016-02-16 12:29:17 +01:00
Thomas NOËL 489a0ab5c4 wscall: add a description label (#9958) 2016-02-16 12:27:08 +01:00
Thomas NOËL 766b7e8397 admin: use new dynamic-display js possibility in prefill widgets (#9559) 2016-02-16 11:24:53 +01:00
Frédéric Péters 7c071d5248 misc: use wysiwyg widgets for comments field (#9839) 2016-02-16 11:14:12 +01:00
Frédéric Péters 4c74750444 workflows: add missing import (#9968) 2016-02-15 10:44:18 +01:00
Frédéric Péters 9c2caf349b js: don't change invalid date into browser epoch (like 31/12/1899) (#9933) 2016-02-12 16:55:50 +01:00
Thomas NOËL 3637c3ef4d wscall: store more informations after the call (#9889) 2016-02-12 15:13:38 +01:00
Frédéric Péters 1838e47f4c backoffice: ignore callback query parameter when counting forms (#9884) 2016-02-12 13:33:36 +01:00
Thomas NOËL 2787175cda update french translations 2016-02-08 18:00:29 +01:00
Thomas NOËL a96492fae7 fold summary if form has already been seen (#9175) 2016-02-08 14:50:15 +01:00
Frédéric Péters 3c0c1ea243 style: add an icon to the journal items (#9903) 2016-02-08 10:42:54 +01:00
Frédéric Péters 00780d31a9 style: link journal items together (#9903) 2016-02-08 10:27:38 +01:00
Frédéric Péters 74d7cd6a7b forms: never insert empty <li><div> in journal (#9901) 2016-02-08 10:27:38 +01:00
Frédéric Péters 3c31553811 backoffice: sync style with gadjo (#9881) 2016-02-05 18:08:52 +01:00
Frédéric Péters 0da5b6aec8 general: disable form submit button when an upload is in progress (#9882) 2016-02-05 16:18:51 +01:00
Frédéric Péters 4b1a829340 misc: don't feed var_-prefixed variables into the substitution system (#9786)
They are only created for backward-compatibility when evaluating conditions and
interfere with variadic URLs that may be used for dynamic jsonp-based fields.
2016-02-04 18:23:29 +01:00
Thomas NOËL 176415b716 workflows: add target roles in display message workflow item (#9705) 2016-02-04 17:30:33 +01:00
Frédéric Péters e9fd0ae73b forms: add post-conditions to page fields (#8962) 2016-02-04 16:59:08 +01:00
Frédéric Péters 0faa9ef1af backoffice: use default columns when they're all turned off (#9653) 2016-02-04 16:46:41 +01:00
Frédéric Péters acb1ddb851 misc: make sure durations are integers (#9870) 2016-02-04 16:10:53 +01:00
Frédéric Péters 8ad17cbeb5 tests: check the json export has no value for fields from hidden pages 2016-02-04 16:10:53 +01:00
Frédéric Péters b20c836394 misc: make get_visible_status work out of request/response cycle (#9835) 2016-02-04 16:10:53 +01:00
Frédéric Péters 23b8f74fe1 misc: fix humantime for units with identical singular and plural forms (#9774) 2016-02-04 16:10:53 +01:00
Frédéric Péters 3a00c1bf3d style: increase size of date fields to 12 characters (#9859)
From HTML 3.2: "Used to set the visible size of text fields to a given number
of average character widths", but the "average character width" of Chrome is
smaller than a digit width and the last digits get cut.
2016-02-04 15:16:29 +01:00
Frédéric Péters fe5be30df4 wscall: handle saving errors missing data (#9773) 2016-02-04 15:15:18 +01:00
Frédéric Péters fc0e33e3f8 formdata: add substition variables for submission data (#9751) 2016-02-04 15:15:06 +01:00
Frédéric Péters f1e59b2bc3 sql: expose backoffice_submission into views (#9767) 2016-02-04 15:13:29 +01:00
Frédéric Péters f683f27fe1 misc: add a is_in_backoffice substitution variable (#9752) 2016-02-04 15:13:29 +01:00
Frédéric Péters 0419995735 general: don't load effective_tld_names.txt in scripts (#9831)
Take the occasion to also avoid registering cron jobs in those situations.
2016-02-03 15:07:55 +01:00