Commit Graph

4858 Commits

Author SHA1 Message Date
Frédéric Péters 9a7deaf742 workflow: do not fail geolocating None as address (#15624) 2017-03-28 16:32:44 +02:00
Frédéric Péters 57455936ad misc: support site template using a json file for config (#15575) 2017-03-28 16:32:44 +02:00
Benjamin Dauvergne 0f2c472af2 restore extraction of verified attributes from SAML attributes (#15659) 2017-03-28 15:49:43 +02:00
Serghei Mihai f3cd921963 sms: sign calls to passerelle sms endpoint (#15534) 2017-03-28 15:40:52 +02:00
Benjamin Dauvergne 1229348401 tests: make a fixture of SMSMocking (#15534) 2017-03-28 15:40:52 +02:00
Benjamin Dauvergne d3412c6d81 tests: add a saml auth test with nid format "unspecified" (#8627) 2017-03-28 14:46:58 +02:00
Benjamin Dauvergne 057eb0ae3d import Saml2Directory.lookup_user() from auquotidien (#8627)
SAML authentication tests had to be changed since with this new code display
name and an email are mandatory when creating an new user during SSO.

Also order idps by their key before using them.
2017-03-28 14:46:58 +02:00
Serghei Mihai de64f6877c log http response body of sms sending gateway (#14942) 2017-03-28 12:35:26 +02:00
Frédéric Péters 73d1eee5ee workflow: add custom handling for backoffice date fields (#15583) 2017-03-28 09:10:45 +02:00
Benjamin Dauvergne 5c28912e91 tests: make a fixture of EmailsMocking (#15555) 2017-03-27 23:21:13 +02:00
Benjamin Dauvergne c56fada49e api: check signature's nonce (#10923)
It's mandatory to prevent replays. Request is marked as valid after the first
check so that multiple call to is_url_signed() on the same request do not
fail.

Tests had to be modified so they don't use the same signed URL for their web
service calls.
2017-03-27 12:57:33 +02:00
Frédéric Péters ba3828785a api: always return category description as valid HTML (#15633) 2017-03-27 10:55:20 +02:00
Thomas NOËL 966015f830 backoffice: optimize locking of related user formdata (#15537)
Use actions_roles instead of get_workflow_form, because
get_workflow_form could contain a workflow form, which could use
data_sources, which could call webservices.
2017-03-21 23:42:05 +01:00
Frédéric Péters 4a51316f09 api: fix submission of empty map field data (#15504) 2017-03-20 10:42:07 +01:00
Frédéric Péters bec4f243b8 api: return 0 in counters when there is no formdef at all (#15424) 2017-03-20 09:48:31 +01:00
Frédéric Péters b6ea6ccd1e misc: restore possibility for a theme to override translations (#15486) 2017-03-17 14:11:21 +01:00
Frédéric Péters b177c79e3f backoffice: extend global status filter to waiting/open/done/all (#15003) 2017-03-13 16:02:11 +01:00
Frédéric Péters 81cfa1bfd3 misc: do not focus field if form has global errors (#15134) 2017-03-12 19:48:24 +01:00
Frédéric Péters 8aef487eb0 misc: move creation of template args to its own function (#15246) 2017-03-12 14:16:31 +01:00
Frédéric Péters c4d913febc misc: do not fail on unknown language (#15388) 2017-03-12 14:14:11 +01:00
Frédéric Péters cf7124504e general: don't put _ in __builtin__ (#15245) 2017-03-12 13:23:53 +01:00
Frédéric Péters 4f61bbf815 misc: ignore skeletons directory when looking for tenants (#15358) 2017-03-12 13:22:55 +01:00
Frédéric Péters b821ffa2aa hobo: deploy new sites as utf-8 (#15311) 2017-03-07 16:02:04 +01:00
Frédéric Péters 02de046896 backoffice: force backoffice fields area to have some height (#15271) 2017-03-06 15:16:39 +01:00
Frédéric Péters 6b2ce5c750 workflows: correctly pass over wscall connection errors (#15239) 2017-03-06 09:12:29 +01:00
Frédéric Péters 53527eb0c1 misc: always include trailing slash in login URI (#15241) 2017-03-05 11:54:48 +01:00
Frédéric Péters fbf8f8b145 tests: get publisher class via publisher object 2017-03-05 11:54:48 +01:00
Frédéric Péters f993d12bdf tests: don't try to use publisher via the webtest app object 2017-03-05 11:45:12 +01:00
Frédéric Péters 3dbe232788 tests: don't use environment to get test request URL 2017-03-05 11:45:12 +01:00
Frédéric Péters 5355206515 tests: make sure password tests are run in utf-8 2017-03-05 11:45:12 +01:00
Frédéric Péters f3e25827f6 tests: makes sure long traces are enabled by default 2017-03-05 11:45:12 +01:00
Frédéric Péters 75c16add32 tests: refer to actual publisher app directory 2017-03-05 11:45:12 +01:00
Thomas NOËL fed851716c update french translations 2017-03-03 14:45:07 +01:00
Frédéric Péters 63c3fdd4d5 workflows: add parameter to set custom from address in email action (#10175) 2017-03-03 14:15:49 +01:00
Frédéric Péters 12124f14ab general: remove "user hash" stuff (#13840) 2017-03-03 14:15:49 +01:00
Frédéric Péters 2702aca978 misc: limit formdata id to 10 digits (#15158) 2017-03-03 13:57:48 +01:00
Frédéric Péters a17243a412 backoffice: add global map (#15178) 2017-03-01 13:58:37 +01:00
Frédéric Péters 8ed2ba4c3c management: add global geojson view (#14785) 2017-03-01 13:47:24 +01:00
Frédéric Péters e385356263 sql: add geolocation to views (#14784) 2017-03-01 13:23:11 +01:00
Frédéric Péters 83826dd478 misc: remove unused "lost password behaviour" option (#14879) 2017-02-27 10:29:26 +01:00
Frédéric Péters da9dd1024c help: add note about configuring shared keys (#14872) 2017-02-20 10:25:21 +01:00
Frédéric Péters c428b89bcd misc: adjust pagination links for corner cases (#14677) 2017-02-20 10:08:32 +01:00
Frédéric Péters 4f31842a06 backoffice: give appropriate roles access to private histories (#15040) 2017-02-17 13:16:42 +01:00
Frédéric Péters 7ed398fd7f backoffice: add default-sort-order configuration key (#14969) 2017-02-17 10:54:40 +01:00
Frédéric Péters 71e1fffe21 api: allow passing extra fields to submit API (#14796) 2017-02-17 10:54:40 +01:00
Frédéric Péters 705dbc3722 api: allow passing of backoffice fields (#14795) 2017-02-17 10:54:40 +01:00
Frédéric Péters 9c22da7588 admin: correctly sort roles with accents in their names (#14346) 2017-02-14 18:04:00 +01:00
Frédéric Péters d9667d6068 misc: update notification markup to match django/gadjo (#14615) 2017-02-13 12:30:07 +01:00
Frédéric Péters ada1113838 forms: use <button> instead of <input type="submit"/> (#14467) 2017-02-13 12:30:07 +01:00
Frédéric Péters d3eb18632b misc: remove usage of jquery ui css (except for old themes) (#14466) 2017-02-13 12:30:07 +01:00