Commit Graph

4336 Commits

Author SHA1 Message Date
Frédéric Péters c294c059e3 workflows: make sure attachments are saved only once (#11345) 2016-06-14 14:11:39 +02:00
Thomas NOËL d10eb2c59c update french translations 2016-06-13 17:44:20 +02:00
Frédéric Péters b3f3ed8c04 misc: don't use ⣿ in strings
(for a reason or another they don't get translated)
2016-06-13 17:38:33 +02:00
Thomas NOËL 4dfdd38145 update french translations 2016-06-13 17:17:36 +02:00
Frédéric Péters 5ae674eef6 misc: use eight dots to mark draggable items 2016-06-13 16:54:52 +02:00
Frédéric Péters 8f10a5c134 workflows: add support for per-workflow action availability check (#11230) 2016-06-13 16:51:28 +02:00
Frédéric Péters 81908abd75 admin: add handles to sortable items (#11015) 2016-06-13 16:36:57 +02:00
Benjamin Dauvergne fe688437e0 wscall: add parameters to add elements to query string (#11207) 2016-06-13 16:05:13 +02:00
Frédéric Péters 0f4809b388 misc: check uploaded image is valid before sending it back (#11276) 2016-06-12 11:01:54 +02:00
Frédéric Péters 79215353eb misc: return correct mimetype for thumbnailed files (#11307) 2016-06-12 11:01:54 +02:00
Frédéric Péters a9b8c3af0c misc: add httponly/secure flags on session cookie (#11275) 2016-06-12 11:01:54 +02:00
Frédéric Péters 367745e4bb form: translate "Add row" of WidgetList (#11070) 2016-06-09 16:24:06 +02:00
Frédéric Péters 30ea82855e workflows: add markup to give table cell widgets their classes (#11071) 2016-06-09 16:24:06 +02:00
Benjamin Dauvergne 9663ee1c83 wf: use ComputedExpressionWidget on SendSMSWorkflowStatusItem (#11233)
It's used for the "to" field.
2016-06-09 15:30:03 +02:00
Frédéric Péters 5ab794cdee po: use same format for all configure strings 2016-06-07 00:31:14 +02:00
Frédéric Péters 0f5cf75ded hobo: initialize site language (#11107) 2016-06-01 11:08:18 +02:00
Frédéric Péters ced3927a7f workflows: allow computed expression as choice button label (#11158) 2016-06-01 11:08:18 +02:00
Frédéric Péters bff7c291e2 forms: use declarative js for date widgets (#11108) 2016-05-31 14:45:16 +02:00
Frédéric Péters 1f93ef96f4 forms: use standalone js to give focus to the first field with errors (#11137) 2016-05-31 14:45:16 +02:00
Thomas NOËL 1717eebe01 update french translations 2016-05-26 15:36:04 +02:00
Frédéric Péters 4559de64ee misc: make sure no unicode is emitted in traces (#11005) 2016-05-26 14:30:29 +02:00
Frédéric Péters b3dc41e113 misc: close postgresql connection after cronjobs (#11035) 2016-05-26 14:16:07 +02:00
Frédéric Péters 946083ba25 workflows: add action to update user profile (#10622) 2016-05-26 14:16:07 +02:00
Frédéric Péters 048d7dbd05 forms: fix TableListRowsWidget to keep track of added rows (#11007) 2016-05-25 17:12:58 +02:00
Frédéric Péters d9e60d25e9 css: prefix expression field with a particular icon (#11042) 2016-05-25 14:33:32 +02:00
Frédéric Péters 754313f322 misc: add new widget to validate workflow expressions (#11042) 2016-05-25 14:33:32 +02:00
Frédéric Péters 8931dbf80c workflows: use self.compute() for geolocation and signature strings (#11016) 2016-05-25 14:33:32 +02:00
Frédéric Péters 2962cde6a8 workflows: make computed fields support both ezt and python (#10547) 2016-05-25 10:51:11 +02:00
Frédéric Péters cd1c46101d api: respect only_allow_one in form submit API (#10580) 2016-05-25 10:50:13 +02:00
Frédéric Péters 50398e12fb formdata: set raw value to False in variables of unchecked checkbox (#10981) 2016-05-23 17:53:44 +02:00
Frédéric Péters 9ca7b690de help: update URL to ezt syntax reference 2016-05-21 08:55:12 +02:00
Frédéric Péters 749747d938 admin: don't make data sources sortable (#11014) 2016-05-20 20:07:44 +02:00
Frédéric Péters d19874e633 misc: let Decimal be encoded in json (as strings) (#11001) 2016-05-20 11:42:08 +02:00
Frédéric Péters 2adbdc1720 misc: check for serializable file using hasattr() (#11000)
PicklableUpload may exist in different namespaces, and then there's also an
independant UploadedFile class; just check if will duck like a file.
2016-05-20 11:42:08 +02:00
Benjamin Dauvergne 885456f9a3 export evolutions in form API (#10820) 2016-05-17 19:47:04 +02:00
Benjamin Dauvergne 0b343f025b api: export if a status is an endpoint (#10904) 2016-05-17 15:10:50 +02:00
Frédéric Péters d3fff32cb3 backoffice: include formdata sidebar in edit mode (#10946) 2016-05-16 20:36:18 +02:00
Frédéric Péters 3d00861f86 tests: fix global listing check to ignore drafts 2016-05-15 23:40:58 +02:00
Frédéric Péters b337a4e53e formdata: clean submission context when anonymising (#10925) 2016-05-13 17:40:07 +02:00
Frédéric Péters bde59ead5a geolocate: don't fail on images without EXIF data (#10905) 2016-05-13 14:56:20 +02:00
Benjamin Dauvergne 842312f919 data_source: don't ignore list items whose id is 0 (#10920) 2016-05-13 14:23:14 +02:00
Frédéric Péters f55db7b5f6 misc: introduce a module with some utility function for eval() calls (#10898) 2016-05-12 16:28:56 +02:00
Benjamin Dauvergne 9e02e2e330 api: don't send a translated submission_channel (#10878) 2016-05-10 16:45:44 +02:00
Benjamin Dauvergne 2e0c8a1b9b add new parameter anonymise to API /api/forms/<slug>/ endpoints returning anonymized formdata (#9146)
Service is open to any request bearing a valid signature, without needing to to
authenticate as a known user. It's also open to authenticated admin users for
debugging.
2016-05-09 09:41:10 +02:00
Benjamin Dauvergne 557ca7be27 add anonymise parameter to JSON exports of formdata (#9146)
- FormData.get_json_export_dict(), .get_json_dict(), .export_to_json(),
  FormDefUI.get_listing_items(), .export_to_json() get a new anonymise
  parameter.
- in FormPage.json() and FormStatusPage().json if an anonymise parameter is
  present in the query string the anonymized mode is activated.
2016-05-09 09:40:25 +02:00
Benjamin Dauvergne a21f658abd tox.ini: add missing dependency on pillow 2016-05-09 09:38:57 +02:00
Benjamin Dauvergne f930d8d720 export workflow status as a list not a dict (#10807) 2016-05-09 09:25:34 +02:00
Frédéric Péters 7d3515a2f7 tests: add tests for add/remove role action calling to IdP 2016-05-05 23:16:05 +02:00
Frédéric Péters aa617eaf3d api: encode files that may exist in workflow_data (#10769) 2016-05-04 15:11:23 +02:00
Frédéric Péters 00d56c1424 fields: be lax on date(/time) format of date field settings (#10742) 2016-05-04 15:11:23 +02:00