Commit Graph

4366 Commits

Author SHA1 Message Date
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
Frédéric Péters 98f638cedd api: add support for POST on existing formdata, for edition (#10749) 2016-05-04 14:31:50 +02:00
Thomas NOËL 51426266c2 update french translations (related to #10836) 2016-05-04 14:23:05 +02:00
Thomas NOËL 7d96cc9219 clarify condition use in post-conditions (#10836) 2016-05-04 14:16:40 +02:00
Frédéric Péters 4bb5cdaa80 fields: add css class to list field in view form (#10833) 2016-05-04 14:01:46 +02:00
Thomas NOËL bba00439d4 update french translations 2016-05-04 13:15:23 +02:00
Thomas NOËL a18adc30d3 i18n: use 'portfolio' instead of 'dropbox' (#10822) 2016-05-04 13:06:56 +02:00
Frédéric Péters e6a0acdac5 forms: always set prefill attributes (#10760) 2016-05-04 12:28:14 +02:00
Frédéric Péters 1e2d34506f misc: check for lost session in autosave (#10286) 2016-05-04 12:28:14 +02:00
Frédéric Péters fdb9fb9afc backoffice: add mini map to geolocated forms (#10581) 2016-05-04 09:42:43 +02:00
Frédéric Péters e5826951f7 workflows: add action to geolocate a formdata (#10581) 2016-05-04 09:42:43 +02:00
Frédéric Péters fd4aa8de1b backoffice: add "geolocations" option to forms (#10581) 2016-05-04 09:42:43 +02:00
Frédéric Péters ce9a73f690 general: add geolocation to formdata (#10581) 2016-05-04 09:42:43 +02:00
Frédéric Péters c033775703 js: invalidate leaflet map when container is displayed (#10780) 2016-05-04 09:42:43 +02:00
Thomas NOËL e39198f8c2 i18n: using format strings with named arguments (#10821) 2016-05-04 09:32:05 +02:00
Thomas NOËL 89924c1940 misc: support variadic URL with trailing / (#10813) 2016-05-03 19:15:26 +02:00
Frédéric Péters 334a4d3b34 misc: handle None when unserializing file field from json (#10786) 2016-05-02 17:00:00 +02:00
Thomas NOËL 59d3190118 data_source: dont ignore list items without text (#10798) 2016-05-02 14:17:18 +02:00
Frédéric Péters da9b867256 misc: fix handling of None visiting_objects 2016-04-30 23:25:45 +02:00
Benjamin Dauvergne b9b914b948 api: include more workflow details in formdef schema (#9849) 2016-04-30 21:00:39 +02:00
Frédéric Péters d660efd9df backoffice: keep track of agent doing backoffice submissions (#10108) 2016-04-29 17:41:35 +02:00