Commit Graph

5142 Commits

Author SHA1 Message Date
Thomas NOËL d01d5a7928 add fault tolerance on convert_value_from_anything usage (#22793)
... and make None a legitimate value.
2018-03-27 16:27:11 +02:00
Frédéric Péters bd7b7e2692 maps: display location pointer whenever device location is known (#22819) 2018-03-27 16:24:45 +02:00
Frédéric Péters bf1d616c0f saml: don't crash logging unknown role uuids (#22826) 2018-03-27 16:16:41 +02:00
Benjamin Dauvergne 03123e9742 store IdP role's uuid in w.c.s. Role objects (#14207)
- added Role.uuid = None, make it indexed
- modify hobo_notify to store provisionnined roles' uuid in Role.uuid,
and roles' slug in Role.slug
- factorize role lookup in hobo_notify and implement those rules for
  lookup:
  - Role.uuid matches uuid OR
  - Role.id matches uuid (retro-compatibility) OR
  - Role.slug matches uuid (retro-compatibility) OR
  - Role.slug matches slug (NEW) OR
  - Role.name matches name (NEW)
- search users's roles by name too
- update roles provisionning through SAML to use the new .uuid field
- update workflow actions to add/remove roles to use the new .uuid field
2018-03-27 13:08:35 +02:00
Frédéric Péters e432c776ff fields: fix prefill options for map widgets (#22817) 2018-03-27 12:41:18 +02:00
Benjamin Dauvergne 3c30efe14a check_hobos: constrain database_name to 63 characters (#22797) 2018-03-26 17:49:39 +02:00
Thomas NOËL 5b582638d5 don't start a new cron if locked (#18519) 2018-03-26 15:35:42 +02:00
Frédéric Péters a26f30159f tests: fix declaration of page condition type 2018-03-24 10:53:33 +01:00
Frédéric Péters e7fabe042e workflows: ensure variables are reevaluated for new backoffice fields (#22748) 2018-03-22 17:51:33 +01:00
Frédéric Péters dda274abd1 trivial: add missing import 2018-03-20 23:18:51 +01:00
Frédéric Péters 3e7c60d4d4 workflows: add date support for idp profile change (#22586) 2018-03-20 23:00:31 +01:00
Frédéric Péters 5c37cdf39a workflows: add support for date fields to update profile action (#22578) 2018-03-20 23:00:31 +01:00
Frédéric Péters 849217f9f7 help: add reference to webservice action in triggers API page (#22633) 2018-03-20 11:04:13 +01:00
Frédéric Péters 56ff6a0d10 misc: mark current location using HTML/CSS instead of SVG (#22602) 2018-03-19 14:17:05 +01:00
Frédéric Péters 6b001ecd5e workflows: attach workflow form identifier to the form object (#22603) 2018-03-19 14:03:56 +01:00
Benjamin Dauvergne c7742a156f wscalls: include attribute name in AttributeError (#21521) 2018-03-19 13:13:07 +01:00
Frédéric Péters c44b70c622 api: fix content type of reverse geocoding responses (#22580) 2018-03-16 15:12:06 +01:00
Frédéric Péters c22b84459e backoffice: adjust unlock action link color to new background (#22571) 2018-03-16 12:16:18 +01:00
Frédéric Péters a6b528ab81 misc: don't invalidate cache when evaluating conditions (#22540) 2018-03-15 15:46:46 +01:00
Serghei Mihai d1023b693e geocoding: allow custom url for search and reverse geocoding (#22218) 2018-03-15 09:47:08 +01:00
Frédéric Péters b5293358bf sql: add indexes on formdata id in evolution tables (#22234) 2018-03-14 14:44:20 +01:00
Frédéric Péters 95651fc809 general: cache substitution variables in requests (#22107) 2018-03-14 14:12:56 +01:00
Frédéric Péters d686c0841f misc: only display data source value widget when appropriate (#22471) 2018-03-13 15:43:41 +01:00
Frédéric Péters 85d0aa04fa forms: check max length against characters, not bytes (#22175) 2018-03-13 15:24:01 +01:00
Frédéric Péters 392039216a misc: do not migrate empty strings to python conditions (#22466) 2018-03-12 17:53:37 +01:00
Frédéric Péters fe2b701f7d workflows: do not crash on incomplete jump condition (#22466) 2018-03-12 17:53:37 +01:00
Thomas NOËL dff62a8cb7 hobo: handle theme overlays as in hobo-agent (#20272) 2018-03-12 09:37:12 +01:00
Frédéric Péters dbfd4179f4 saml: add support for provisionning date fields (#22445) 2018-03-12 09:33:10 +01:00
Frédéric Péters 8ef533d0e3 hobo-notify/deploy: add support for date/birthdate kinds (#22444) 2018-03-12 09:33:10 +01:00
Frédéric Péters 98d2204b13 tests: add basic xls export check 2018-03-11 12:19:05 +01:00
Frédéric Péters 9c7c8633f2 tests: add check for display message line details 2018-03-11 12:19:05 +01:00
Frédéric Péters fe8c40f7fd tests: add check for forced_endpoint serialization 2018-03-11 12:19:04 +01:00
Frédéric Péters 2c0e8e4d05 general: store conditions as type/value dictionaries (#21550) 2018-03-09 17:02:15 +01:00
Frédéric Péters 653a2b8efc users: look for attributes in extra fields (#22389) 2018-03-09 16:10:04 +01:00
Frédéric Péters b8fa1798fd misc: allow global actions for submitters (#22228) 2018-03-09 16:07:22 +01:00
Frédéric Péters 952655c044 admin: make data source origin widget dynamic (#22247) 2018-03-09 16:06:46 +01:00
Frédéric Péters 1ce2a0082b widgets: add template name to let checkbox widgets be overridden (#22403) 2018-03-09 16:06:46 +01:00
Frédéric Péters b874b30185 wscalls: cache GET queries used in named calls (#22252) 2018-03-09 16:05:37 +01:00
Frédéric Péters 3b4d51a9d7 fields: allow prefilling of items fields (#22146) 2018-03-07 12:52:55 +01:00
Frédéric Péters 44080b2fae backoffice: only allow python as prefilling source for items field (#22146) 2018-03-07 12:52:55 +01:00
Frédéric Péters e3fa75cadc misc: encode field keys into bytes (#22299) 2018-03-06 12:56:08 +01:00
Thomas NOËL 7340516696 wf/roles: sign URL just before call IdP webservice (#22144) 2018-03-05 18:04:57 +01:00
Frédéric Péters 0e8f33c05e translation update 2018-03-02 10:49:02 +01:00
Frédéric Péters c8baf0fdaf widgets: add template name to let map widgets be overridden (#22202) 2018-03-02 10:45:43 +01:00
Frédéric Péters 7f2fd893d0 workflows: add a level parameter to message action (#21704) 2018-03-01 14:50:50 +01:00
Frédéric Péters 999773b35d admin: reword sms test success message
So the translation for "Success" can be claimed by #21704.
2018-03-01 09:53:18 +01:00
Frédéric Péters 9222d257e2 misc: allow comma separated list of emails as recipient (#22118) 2018-03-01 09:50:39 +01:00
Frédéric Péters a243987056 general: only save session when there are changes (#22104) 2018-02-26 16:31:52 +01:00
Frédéric Péters d222855787 backoffice: hide legacy excel export behind a site option (#22026) 2018-02-26 14:04:26 +01:00
Frédéric Péters da19af24c8 backoffice: include "empty site" message in classic forms view (#21949) 2018-02-26 14:04:26 +01:00