Commit Graph

4730 Commits

Author SHA1 Message Date
Frédéric Péters 4d586ac5ef tests: run all set_backoffice_field tests with both pickle & sql 2017-04-10 12:31:25 +02:00
Frédéric Péters d76ac99155 workflows: fix setting dates as backoffice fields (#15809) 2017-04-10 12:31:25 +02:00
Frédéric Péters 62f0007524 formdef: add support for files in workflow options (#15781) 2017-04-10 10:44:11 +02:00
Frédéric Péters 699e9f63b2 sql: manage user.form_data being None (#15805) 2017-04-10 10:30:12 +02:00
Frédéric Péters a6cae077f1 sql: force views to be rebuilt (#15783) 2017-04-06 16:54:32 +02:00
Frédéric Péters d13dfc8ce9 admin: reduce size of variable names in workflow view (#15779) 2017-04-06 10:58:36 +02:00
Frédéric Péters dcc70e38f2 admin: display full variable name of form options (#15779) 2017-04-06 10:58:36 +02:00
Frédéric Péters 620f73e1e6 backoffice: invert sort order, from new to old ones (#15545) 2017-04-06 10:42:12 +02:00
Thomas NOËL 59b02dcab2 admin: display full varname for backoffice fields (#15439) 2017-04-06 02:17:51 +02:00
Frédéric Péters 1f1ebe035f general: search for users without looking at accents (#13061) 2017-04-05 17:03:28 +02:00
Frédéric Péters 0dfa04e91f general: add support for condition on first page (#15497) 2017-04-05 17:03:28 +02:00
Frédéric Péters b12750b094 backoffice: use white as biglist item background (#15161) 2017-04-05 17:03:28 +02:00
Frédéric Péters 9da9633c84 general: remove support for advanced fargo features (#15720) 2017-04-05 10:50:55 +02:00
Frédéric Péters d41956278a api: don't leave nonce files open (#15755) 2017-04-05 10:44:10 +02:00
Frédéric Péters 43f4ebafc9 misc: don't set a warning on expressions indexing an array (#15753) 2017-04-05 10:44:09 +02:00
Thomas NOËL 8aad054330 sql: create new id for new formdef (#15662) 2017-04-03 13:21:25 +02:00
Frédéric Péters 327d1b60ab hobo: only consider primary welco and fargo (#15721) 2017-04-03 10:00:56 +02:00
Frédéric Péters 326c2f19b3 fields: put radio buttons on individual lines if line is too long (#15425) 2017-04-03 10:00:56 +02:00
Frédéric Péters 170c331fdf misc: rename file_validation to match its generic portfolio contents (#15709) 2017-03-31 11:51:03 +02:00
Frédéric Péters 8027cb034c sessions: force new session id on login (#15698) 2017-03-31 11:51:03 +02:00
Frédéric Péters abd2ed2bf2 misc: remove unused "keep referer" form utilities (#15506) 2017-03-28 16:49:08 +02:00
Frédéric Péters 32d3e15686 hobo: improve flexibility in postgresql initial deployment (#15573) 2017-03-28 16:46:52 +02:00
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