Commit Graph

3802 Commits

Author SHA1 Message Date
Frédéric Péters 4c1824e22d formdef: change option selector to avoid elementtree warnings (#7212) 2015-05-22 13:32:42 +02:00
Frédéric Péters 8c5e72ccd9 admin: add a popup to display the public URL of the form (#7111) 2015-05-22 13:32:42 +02:00
Frédéric Péters 35c0eff0eb backoffice: add a "display online" link next to forms (#7111) 2015-05-22 13:32:42 +02:00
Frédéric Péters bf88dfebc6 hobo: handle services without a secret key (#7192) 2015-05-22 13:29:02 +02:00
Serghei Mihai 3493e2fbe2 hobo: compute api secret by service (#7192) 2015-05-22 10:35:31 +02:00
Frédéric Péters 9e94dbe7ac tests: fix test of submitter access to form (#7329) 2015-05-21 16:45:10 +02:00
Frédéric Péters 3baccb0b5d forms: fix receiver access to form submission (#7329) 2015-05-21 16:45:10 +02:00
Frédéric Péters f4f804f13d tests: add checks for formdef access 2015-05-21 15:38:51 +02:00
Frédéric Péters a1ce36d3e5 backoffice: add jsonp support to backoffice/menu.json endpoint (#7146) 2015-05-20 11:16:53 +02:00
Frédéric Péters 1be0db51de backoffice: export list of menu items as json (#7146) 2015-05-20 11:16:53 +02:00
Benjamin Dauvergne 31db8c2613 saml2: set user roles from the SAML attribute "role-slug" (#7281) 2015-05-19 16:04:35 +02:00
Frédéric Péters 971787de53 tests: add basic testing of "display form" workflow action 2015-05-19 13:16:48 +02:00
Frédéric Péters 85427a2669 tests: add basic date field test 2015-05-19 13:16:48 +02:00
Frédéric Péters 072aba3145 workflows: don't use json output to store workflow form data (#7132) 2015-05-19 13:16:48 +02:00
Frédéric Péters 46d8878fbd formdata: keep native ('raw') values in get_dict_with_varnames (#7132)
This is not advertised but may come handy later.
2015-05-19 13:16:48 +02:00
Frédéric Péters e65b09fb2f formdata: add a varnames_only variant to get_dict_with_varnames (#7132) 2015-05-19 13:16:47 +02:00
Frédéric Péters 2ca498b63f backoffice: revamp appearance of journal (#7125) 2015-05-19 12:08:58 +02:00
Frédéric Péters f46a9d5221 hobo: fix mapping of attributes (#7277) 2015-05-19 12:08:58 +02:00
Frédéric Péters bf1c8daf4a admin: use field ids as keys when listing them for attribute mapping (#7263) 2015-05-19 09:13:31 +02:00
Frédéric Péters e467996184 css: remove empty rule 2015-05-18 19:56:49 +02:00
Frédéric Péters 9853d639ca hobo: save admin-attributes as a string, not unicode (#7264) 2015-05-18 19:56:49 +02:00
Frédéric Péters ead9c7ef28 backoffice: style breadcrumb more adequately (#7256) 2015-05-15 16:13:51 +02:00
Frédéric Péters 80f73eba24 api: fix reference to AccessForbiddenError 2015-05-15 14:52:10 +02:00
Frédéric Péters 4ec1a5ae09 tests: add various tests about hobo deployment 2015-05-15 14:47:51 +02:00
Frédéric Péters 70e312a0fa hobo: do not lose varname when updating profile (#7253) 2015-05-15 14:47:50 +02:00
Frédéric Péters 82124a4edd api: expose role slugs (#7180) 2015-05-15 11:40:39 +02:00
Frédéric Péters 6a25e750d0 misc: add slug to roles (#7180) 2015-05-15 11:40:39 +02:00
Frédéric Péters 6841713c2f hobo: set name id format to 'unspecified' (#7219) 2015-05-15 10:04:03 +02:00
Frédéric Péters 345720c1a5 tests: add "counter" tests mimicking real life situation 2015-05-14 20:28:09 +02:00
Frédéric Péters 1c4a9f7cde formdata: restore formdef class in sys.modules namespace before saving (#7239) 2015-05-14 20:28:09 +02:00
Frédéric Péters 84ef7a452e admin: fix submit of editable text to go straight to backoffice 2015-05-12 16:29:08 +02:00
Frédéric Péters 859788bb02 template: hack to defer template to a script (#7209) 2015-05-12 16:29:08 +02:00
Frédéric Péters f03781948a template: refactor template.ezt lookup (#7209) 2015-05-12 16:29:08 +02:00
Frédéric Péters 94868cd068 hobo: update profile fields (#7187) 2015-05-12 12:40:04 +02:00
Jérôme Schneider 4cc5c26f4f hobo_deploy: use the correct database name during convert-to-sql (#7207) 2015-05-12 12:40:04 +02:00
Frédéric Péters 8bca53a0d7 hobo: consider timestamp as a string (#7189) 2015-05-10 15:39:38 +02:00
Frédéric Péters 184ba2f463 hobo: add support for --ignore-timestamp (#7186) 2015-05-08 14:10:43 +02:00
Frédéric Péters 39b4196b4c translation update 2015-05-08 14:05:28 +02:00
Frédéric Péters 99129c3ba0 backoffice: fix admin-for-all check to apply in all conditions (#7178) 2015-05-07 18:15:25 +02:00
Frédéric Péters 28f249224a backoffice: allow limiting ADMIN_FOR_ALL to specific IP addresses (#7122) 2015-05-07 16:58:08 +02:00
Frédéric Péters ba05822bba backoffice: move management of submitted forms to a subdirectory (#7151) 2015-05-07 16:58:08 +02:00
Frédéric Péters 9b0a625a1a backoffice: display some menu items on empty site (#6726) 2015-05-07 16:58:08 +02:00
Frédéric Péters 0c71152a89 backoffice: refactor check of backoffice access rights (#6726) 2015-05-07 16:58:08 +02:00
Frédéric Péters d85ca517cf backoffice: remove unused "forms/workflows in backoffice" classes (#6726) 2015-05-07 16:58:08 +02:00
Frédéric Péters dd5aae1660 general: import get_user_from_api_query_string as needed (#6726)
Avoids circular imports (the right fix will be to move the api directory stuff
out of api.py, or move get_user_from_api_query_string to another file).
2015-05-07 16:58:08 +02:00
Frédéric Péters e9ea1cd91e backoffice: refactor display of menu items (#6726) 2015-05-07 16:58:08 +02:00
Frédéric Péters 0772e483bf backoffice: don't display logger and bounces panels if disabled (#6726) 2015-05-07 16:58:08 +02:00
Frédéric Péters 98471fdaa1 tests: don't run text pages tests with backoffice open (#6726) 2015-05-07 16:58:08 +02:00
Frédéric Péters 694ad5b8eb tests: replace admin/ by backoffice/ in tests of admin pages (#6726) 2015-05-07 16:58:08 +02:00
Frédéric Péters a91e02856d backoffice: simplify ADMIN_FOR_ALL behaviour (#6726)
There was a workaround against the admin-permissions settings, temporarily
adding all roles to the user, this is no longer necessary and ADMIN_FOR_ALL
is now back to really give all administrative rights to all users.
2015-05-07 16:58:08 +02:00