Commit Graph

3880 Commits

Author SHA1 Message Date
Benjamin Dauvergne 704c420c0f hobo_notify: use publisher.user_class (#8664)
Using wcs.users.User directly is incompatible with SQL storage.
2015-10-16 10:51:39 +02:00
Benjamin Dauvergne 5d1bd13115 hobo_notify: reset user.roles before adding roles from the notification (#8444) 2015-10-13 16:30:17 +02:00
Benjamin Dauvergne 02b6add5cb hobo_notify: add user provisionning (#8444) 2015-10-13 15:18:45 +02:00
Benjamin Dauvergne ebe2e5b071 hobo_notify: adapt to change in message format (#8444) 2015-10-13 15:18:45 +02:00
Frédéric Péters 83a10b716e saml: handle PROFILE_ERROR_STATUS_NOT_SUCCESS like lasso.LOGIN_... (#8616) 2015-10-13 11:51:34 +02:00
Frédéric Péters 0d4f07d56f api: fix return of role associated to a workflow function (#8601) 2015-10-11 16:29:37 +02:00
Frédéric Péters caf87ecc34 misc: handle summary_url in submission context (#8595) 2015-10-09 18:32:15 +02:00
Frédéric Péters ae14c854da api: publish formdef workflow functions (#8589) 2015-10-09 16:56:28 +02:00
Frédéric Péters 123fc09698 forms: redirect to first form page on lost session (#8462) 2015-10-08 15:02:49 +02:00
Frédéric Péters f6b5a0f7e0 js: fix display of ckeditor (#8559) 2015-10-08 15:01:01 +02:00
Frédéric Péters 2dd44b7b44 misc: don't add new backoffice directories to _q_exports (#8550)
This brings a bypass of the _q_lookup call and the security checks are
therefore skipped.
2015-10-08 10:03:39 +02:00
Thomas NOËL 133e45f2b3 fix a french translation (#8556) 2015-10-08 09:30:53 +02:00
Thomas NOËL 2a6f0f36cc tests: use "Global View" string after d4b8bf3 (#8534) 2015-10-07 11:07:37 +02:00
Thomas NOËL f14d323eb1 update french translations 2015-10-07 10:40:49 +02:00
Thomas NOËL d4b8bf3a76 backoffice: rename "general listing" to "Global View" (#8534) 2015-10-07 10:24:26 +02:00
Frédéric Péters 4f421ba215 backoffice: add a link to the originating mail (#8446) 2015-10-07 10:14:46 +02:00
Frédéric Péters ffd3200c06 misc: simplify version discovery (#8531)
No more handwritten version number in wcs/__init__.py, no more support for
qommon as it was once used in Authentic, no more support for subversion.
2015-10-07 10:12:43 +02:00
Thomas NOËL 2af85d24c8 release 1.14 2015-10-06 16:31:40 +02:00
Frédéric Péters 4c02e6861c misc: handle ckeditor jquery adapter failing to load 2015-10-06 16:28:56 +02:00
Frédéric Péters b707e9591e admin: don't fail on duplicated role names when editing an user (#8443) 2015-10-06 15:46:39 +02:00
Frédéric Péters 90cc04bdcb misc: don't display tracking code entry box on category pages (#8441) 2015-10-06 15:46:38 +02:00
Frédéric Péters 1688c973c1 workflows: stay in (front/back)office after generating a document (#8447) 2015-10-06 12:11:04 +02:00
Thomas NOËL e2b5a50b5a api: allow for ?full=on on /api/user/drafts (#8450) 2015-10-01 23:35:52 +02:00
Frédéric Péters 68e26d3997 workflows: send correct file when multiple ones share the same name (#8453) 2015-10-01 17:17:04 +02:00
Frédéric Péters 8f76953579 sql: store workflow_roles_array as strings (#8451) 2015-10-01 13:25:04 +02:00
Frédéric Péters e58e2a4963 misc: mark "Load" (from tracking code) for translation (#8299) 2015-09-30 18:30:37 +02:00
Frédéric Péters bf2947ffea misc: always add wcs.listing.js when displaying global listing 2015-09-30 15:34:44 +02:00
Frédéric Péters 5e19aaf305 po: add translations for a few new strings 2015-09-30 15:16:56 +02:00
Frédéric Péters 9404eb65ee backoffice: add "current forms" view (#8227) 2015-09-30 15:16:56 +02:00
Benjamin Dauvergne 1e124b0cf2 hobo_notify: construct new roles using the uuid as their id (#8400)
To prevent any possibility of duplication we choose to use the uuid as
the id of new roles. So when a new Role is built in concurrent threads,
it will get the same id in both threads and so one will overwrite the
pickle written by the other preventing duplication.
2015-09-29 19:07:04 +02:00
Frédéric Péters 475abd5a6c misc: load json input as strings, not unicode (#8406) 2015-09-29 18:47:15 +02:00
Frédéric Péters b4f9caf21f forms: flatten list of steps (#8355) 2015-09-29 14:57:25 +02:00
Frédéric Péters a58fcf4cae api: export all role attributes with user info (#8397) 2015-09-29 09:35:16 +02:00
Frédéric Péters 558c4df65e general: keep submission context additional details (#8306) 2015-09-28 18:35:39 +02:00
Frédéric Péters f0e88b1cc3 api: add possibility to get to user API through /api/users/{user_id} 2015-09-25 18:14:12 +02:00
Frédéric Péters 5843ad8f33 api: add API to get list of users (#8345) 2015-09-25 18:14:12 +02:00
Frédéric Péters 17d6ad423e po: translate new string 2015-09-25 17:58:53 +02:00
Frédéric Péters dc9b180faa api: mark "xxx, draft saved on xxx" as translatable (#8384) 2015-09-25 17:55:42 +02:00
Frédéric Péters 31510a0f65 misc: allow duplicated role names (#8373)
This doesn't let the user create such roles as the result will always be
confusing lists but at least it won't crash if an external process creates
such roles.
2015-09-25 17:55:42 +02:00
Benjamin Dauvergne e38e9be0ac ctl/hobo_notify: filter potential app_dir by checking for config.pck (#8358) 2015-09-25 10:22:46 +02:00
Frédéric Péters 77ad631093 api: fix "formdefs of category" API to not return all formdefs (#8340) 2015-09-23 23:50:14 +02:00
Frédéric Péters 8afcddfaac api: add API to submit new formdata (#8298) 2015-09-23 14:26:51 +02:00
Frédéric Péters ca3698f6c6 sql: assert no table is created with None as formdef.id (#8315) 2015-09-22 18:57:55 +02:00
Frédéric Péters 3d252af241 forms: always set a new url_name when importing (#8315) 2015-09-22 18:57:55 +02:00
Frédéric Péters f22031acf4 tests: also run admin pages tests with sql enabled (#8315) 2015-09-22 18:57:51 +02:00
Frédéric Péters 59fd4c662b backoffice: add lists of backoffice submission drafts (#8176) 2015-09-22 18:57:41 +02:00
Frédéric Péters 1fd9ddf050 forms: add attribute to know formdatas created from backoffice (#8176) 2015-09-22 16:52:07 +02:00
Frédéric Péters ff4b2c152c formdata: add actions_roles index (#8281) 2015-09-22 16:52:07 +02:00
Frédéric Péters 1c20613197 sql: add a way to select() over different formdefs (#8179) 2015-09-22 16:52:07 +02:00
Frédéric Péters 20d84a0cda workflows: allow changes to "workflow functions" (#8256) 2015-09-22 16:52:07 +02:00