Commit Graph

3688 Commits

Author SHA1 Message Date
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
Frédéric Péters 39207e7970 backoffice: make users and settings accessible when there are no users (#6726) 2015-05-07 16:58:08 +02:00
Frédéric Péters a065d01eec backoffice: remove link to admin/ (#6726) 2015-05-07 16:58:08 +02:00
Frédéric Péters e568cc0ba3 admin: change to be a redirect to /admin/$1 (#6726) 2015-05-07 16:58:07 +02:00
Frédéric Péters 5fe7ec796a template: remove 'admin' as location_hint (#6726) 2015-05-07 16:58:07 +02:00
Frédéric Péters 820b9e0a94 myspace: remove link to admin/ (#6726) 2015-05-07 16:58:07 +02:00
Frédéric Péters be53941118 backoffice: limit menu to main items, add more items with small blocks (#6726)
Main items are determined as having an attributed icon, it's not that good as a
reference but will do for now.
2015-05-07 16:58:07 +02:00
Frédéric Péters a61084667a admin: use backoffice (now unified) menu items in header (#6726) 2015-05-07 16:58:07 +02:00
Frédéric Péters 077db23202 backoffice: include all pages from admin/ (#6726) 2015-05-07 16:58:07 +02:00
Frédéric Péters d907d49bad backoffice: include version number and gpl intro text in sidebar (#6726) 2015-05-07 16:58:07 +02:00
Thomas NOËL a44f1c8f1c release 1.12.16 2015-05-07 11:01:09 +02:00
Frédéric Péters 4e78b42ae5 api: allow signed queries that do not specify email or NameID (#7156) 2015-05-06 18:24:24 +02:00
Frédéric Péters 1e200cd30c tests: test new features of the forms API (#7113, #7114, #7115) 2015-05-06 18:23:17 +02:00
Frédéric Péters 594c6db59d doc: document new features of the forms API (#7113, #7114, #7115) 2015-05-06 18:23:17 +02:00
Frédéric Péters c173fd8854 api: allow named parameters as filters for formdata listing (#7115) 2015-05-06 18:23:17 +02:00