Commit Graph

136 Commits

Author SHA1 Message Date
Benjamin Dauvergne c83b694f58 load-pratic-ldif: allow modifying existing users 2015-11-25 15:33:32 +01:00
Benjamin Dauvergne a0b156ffab load-pratic-ldif: allow modifying existing service instances 2015-11-25 15:33:22 +01:00
Benjamin Dauvergne cb05afb2f9 trivial: fix typo 2015-09-28 16:50:50 +02:00
Benjamin Dauvergne 49a0dabce5 load-pratic-ldif: privatize variable siid shared with a closure 2015-09-28 14:12:18 +02:00
Benjamin Dauvergne 7a2883ee45 update rbac on collectivity deletions 2015-09-24 12:13:02 +02:00
Benjamin Dauvergne 863d43d18d orverride natural key implementation for User 2015-09-24 12:12:18 +02:00
Benjamin Dauvergne 20200c0216 load-pratic-ldif: report validation errors 2015-09-24 12:11:15 +02:00
Benjamin Dauvergne 08703e196d load-pratic-ldif: handle partial loading 2015-09-24 11:17:11 +02:00
Benjamin Dauvergne ad48c52cb4 Add sirh_code to user forms 2015-09-24 11:17:06 +02:00
Benjamin Dauvergne 4f5d9beb96 always allow superuser SSO (fixes #7687) 2015-08-04 12:25:21 +02:00
Frédéric Péters d084ab08ce adapt manage/menu.json to return pratic links (#7676) 2015-08-04 12:22:19 +02:00
Benjamin Dauvergne f7640fe9bf hide username_is_unique and email_is_unique fields (fixes #8016)
They are not needed in the Pr@tic context.
2015-08-04 12:17:20 +02:00
Benjamin Dauvergne e89de5ef00 Fix access to the .service_url field in get_service_links() 2015-06-30 11:59:31 +02:00
Benjamin Dauvergne 85ba12f504 Add a CN attribute to pratic attributes 2015-06-30 10:17:07 +02:00
Benjamin Dauvergne 83b5373434 models: authorize access to all administrators of a collectivity to their collectivity's services 2015-06-30 10:04:08 +02:00
Benjamin Dauvergne 15958accb5 translation update (#7678) 2015-06-25 10:18:25 +02:00
Benjamin Dauvergne 269a730660 Remove the agent homepage (fixes #7678) 2015-06-25 10:16:24 +02:00
Benjamin Dauvergne f617f2f298 Add debug log of ssl_info dict in the login view (fixes #7674) 2015-06-24 12:16:27 +02:00
Benjamin Dauvergne 0aafb33887 Return only absolute URIs in services.json (fixes #7673) 2015-06-24 12:15:58 +02:00
Benjamin Dauvergne 954410bcfa Test if ssl_info.collectivity is not None before validating the received collectivity 2015-06-23 10:13:22 +02:00
Benjamin Dauvergne 9105c33cb0 Do not a Python 2.7 only syntax (dict comprehension) 2015-06-22 23:46:54 +02:00
Benjamin Dauvergne d92c9cfc82 Add a user_info view returning JSON and JSONP (fixes #7657) 2015-06-22 23:41:23 +02:00
Benjamin Dauvergne 6ea51c1914 Created authenticating URL for CAS services (fixes #7624) 2015-06-22 23:25:54 +02:00
Benjamin Dauvergne e7bc916ef7 Use URL for idp-initiated SSO in the user dashboard (#7624) 2015-06-22 23:20:20 +02:00
Benjamin Dauvergne d7987958de Set an explicit list of fields on service and service instance forms (fixes #7656)
For hidding the new field a2_service.
2015-06-22 23:14:31 +02:00
Benjamin Dauvergne 215be187e0 Add missing loop over events (fixes #7655) 2015-06-22 22:54:46 +02:00
Benjamin Dauvergne 86a74dcaa5 Add JSONP view of accessible services (fixes #7624) 2015-06-22 17:57:02 +02:00
Benjamin Dauvergne 4d35b94827 update translation (#7653) 2015-06-22 17:56:58 +02:00
Benjamin Dauvergne 3cac2e4402 Replace the certificate field by an authentication_level field (fixes #7653)
The field cannot be empty. On each sso it's matched agains the
authentication levels found in the session.
2015-06-22 17:56:58 +02:00
Benjamin Dauvergne 40b1b6d5f2 update translation (#7651) 2015-06-22 16:52:32 +02:00
Benjamin Dauvergne 590dc442be Restrict the collectivity selectors to collectivities linked to the certificate, if only one collectivity exists, set readonly (fixes #7651) 2015-06-22 16:52:27 +02:00
Benjamin Dauvergne 06630a6ab8 Reorder authentication backend so that SSL is tried before login/password (#7651) 2015-06-22 16:52:07 +02:00
Benjamin Dauvergne 34302b62de Add migration for adding a2_service, fix import path for ForeignKey 2015-06-22 16:51:51 +02:00
Benjamin Dauvergne a81f23a5d4 Add migration for fixes on verbose names 2015-06-22 16:51:51 +02:00
Benjamin Dauvergne 2c661ba5b2 Order users by first_name then last_name in AccessesView 2015-06-22 16:51:51 +02:00
Benjamin Dauvergne ad213b4917 update translation
"Authentication" not "Authentificiation"
2015-06-19 10:12:20 +02:00
Benjamin Dauvergne 1998d379f7 Do not allow users to manager federations to Pr@tic service providers 2015-06-17 16:14:49 +02:00
Benjamin Dauvergne 8c60d7cc34 In manager adapt greetings to type of user 2015-06-17 15:57:04 +02:00
Benjamin Dauvergne 03ace51c89 Fix displayig name of instance of non global services on agent homepage (fixes #7586) 2015-06-17 15:57:04 +02:00
Benjamin Dauvergne d7e5f8b9a6 Show pratic fields when showing the profile 2015-06-17 15:57:04 +02:00
Benjamin Dauvergne 2dcf3f9f6a translation update 2015-06-17 15:57:04 +02:00
Benjamin Dauvergne adce66e675 Change verbose_name of service_url fields 2015-06-17 15:56:44 +02:00
Benjamin Dauvergne a58d258c83 Change verbose_name of slug fields 2015-06-17 15:56:44 +02:00
Benjamin Dauvergne fea29efe18 Check unicity of (slug, collectivity) pair in ServiceInstanceForm (fixes #7587)
The constraint is not checked in the full_clean() because collectivity is
an excluded field (as it's already set on the initial instance).
2015-06-17 15:56:44 +02:00
Benjamin Dauvergne 9715f60fc2 Hide the default field from the collectivity form (fixes #7582) 2015-06-17 15:56:44 +02:00
Benjamin Dauvergne d0cb1c3805 Dont traceback if ServiceInstance is not completely initialised
If .service_id is None, .service would raise.
2015-06-17 15:56:44 +02:00
Benjamin Dauvergne 083222b34c Fix service_post_save when applied on a ServiceInstance model
ServiceInstance lacks the is_global field.
2015-06-17 15:56:44 +02:00
Benjamin Dauvergne 43e4ea8c9c Translate "This username is already used" 2015-06-17 15:56:44 +02:00
Benjamin Dauvergne 36abecb7c2 Fix sirh_label field verbose_name 2015-06-17 15:56:13 +02:00
Benjamin Dauvergne a456a8430c Rebase the agent_homepage template on new gadjo homepage of authentic2 2015-06-17 15:56:13 +02:00