Commit graph

87 commits

Author SHA1 Message Date
9119ad38b0
feat(accounts): Allow divergence between cas_login and username
- Adds a Translation table between cas_login and the effective username
- Show more descriptive errors when the connection cannot happen

TODO: The translation mechanism is currently fragile, we need to update
usernames when a translation is created/deleted and also disable updates
to a translation
2024-09-26 12:04:38 +02:00
5381b0379b
feat(index): Add a link to the services 2024-09-25 13:57:25 +02:00
88e2c25ce4
feat(shell): Add media root 2024-09-25 13:57:01 +02:00
48005ae251
chore(migrations): Reflect the change in models.Meta 2024-09-25 13:56:34 +02:00
91d5d68da3
feat(settings): Add console logging 2024-09-25 09:39:35 +02:00
59fa740950
fix(css): Don't overflow on group names 2024-09-24 23:29:01 +02:00
088d6d613a
fix: Always include django-browser-reload 2024-09-24 23:06:09 +02:00
1080ec0c44
feat(pkgs): Update loadcredential 2024-09-24 22:45:56 +02:00
7064a3aa4b
feat(settings): Add e-mail configuration 2024-09-24 22:45:42 +02:00
49f1133fed
fix(settings): We use wsgi 2024-09-24 22:40:53 +02:00
fee28c598c
chore(wsgi): Don't set an invalid settings module 2024-09-24 22:35:50 +02:00
76c07e3086
feat(settings): Make MEDIA_ROOT configurable 2024-09-24 22:08:09 +02:00
7537b26fbe
feat(settings): Make databases configurable 2024-09-24 22:06:50 +02:00
8a46e4ddb5
feat(pkgs/pykanidm): Update to current version 2024-09-24 20:37:12 +02:00
5f0dfff4ae
feat(accout): Add a view to self-create an account
Various checks are in place to make sure that the user does not already
have an account, and has accepted the rules of the association
2024-09-24 20:37:12 +02:00
6c18ec3855
chore(legal-documents): Add an icon 2024-09-24 20:37:12 +02:00
e370977aac
feat(user): Add a type guard to extract the user from a request 2024-09-24 20:37:12 +02:00
a9d369d55d
feat(kanidm): Use an async function to get the data 2024-09-24 14:32:22 +02:00
b5cedebda1
feat(legal-documents): Init list view and acceptance flow 2024-09-24 14:32:22 +02:00
abdcb2c8ad
feat: Setup media 2024-09-24 14:28:24 +02:00
1dc8305027
chore(index): Move the links outside of the class 2024-09-24 14:28:05 +02:00
2490d83459
feat(index): Add parametrization to links 2024-09-24 11:31:54 +02:00
b9f165c1e6
chore(index): Move the view inside dgsi 2024-09-24 11:31:05 +02:00
e10d33176b
chore(templates): Rename templates 2024-09-24 11:29:47 +02:00
e8ce6f343b
feat(unfold): Change the name 2024-09-24 11:28:44 +02:00
87e13b357e
chore(services): Add comments 2024-09-24 10:06:51 +02:00
cab8369558
feat(services): Add an icon, and a transitive redirect view 2024-09-23 23:59:48 +02:00
8c3cba0af8
feat(kanidm): Update the required group to be an admin 2024-09-23 23:59:48 +02:00
9b7f4f17e8
feat(dgsi): Add a Service model
This will allow to list our services, whith links directly in the app
and perform ToS verification
2024-09-23 23:59:48 +02:00
cfa14a6aae
fix(shell): Run linters at pre-push 2024-09-23 18:16:21 +02:00
39623a8802
feat(admin): Update the registration of the User model 2024-09-23 18:16:02 +02:00
0c54fd29ab
fix(profile): Tweak CSS so that the group names don't overflow
We do not really lose any information as all groups end with
`@sso.dgnum.eu`
2024-09-23 16:53:40 +02:00
26fdcbe8ef
feat(home):feat(templates): Move style to the sass bundle 2024-09-22 20:13:55 +02:00
ef9877ea60
chore(nix): Remove eslint hook, as it does not really work 2024-09-22 20:13:15 +02:00
ef80f9389b
feat(messages): Add support for dismissable notifications 2024-09-22 20:12:52 +02:00
01597ffb7b
feat(home): Add a link to the admin panel 2024-09-21 23:01:59 +02:00
5ec6a482cc
feat(accounts): Copy distant attributes 2024-09-21 23:01:42 +02:00
e31731f8e6
feat(apps): Install django-unfold 2024-09-21 23:01:21 +02:00
7c11b0de4b
feat(create_user): Send an email with the credentials reset link 2024-09-19 13:03:09 +02:00
283815d555
fix(create_user): Kanidm expects a list of email addresses 2024-09-19 11:59:24 +02:00
ea3c5cf6fd
fix(mixins): Use the correct test function 2024-09-19 11:40:16 +02:00
36ccc6be24
feat(account): Add a view to create accounts
TODO: include the reset mechanism for the password
2024-09-19 11:37:45 +02:00
cd8859f610
feat(account): Add a template with a message when a CAS account is forbidden 2024-09-19 09:14:42 +02:00
5af8e2fd24
feat(account): Prevent connections from some categories of users 2024-09-18 23:00:36 +02:00
c3f0e70384
feat(profile): Use the local name, add a notification when no dgn account exists 2024-09-18 22:32:44 +02:00
35d6a7fa8c
feat(templates): Tweak 2024-09-18 22:20:17 +02:00
97535a6bc0
fix(models): Don't crash when no kanidm profile exists 2024-09-18 22:20:05 +02:00
1d2f4a5866
feat(account): Use a custom adpater 2024-09-18 22:19:33 +02:00
1732249a2d
feat(pkgs): Add django-allauth and django-allauth-cas 2024-09-18 22:18:42 +02:00
763c2dfcbb
feat(profile): Add translations and tweak template 2024-09-17 17:12:48 +02:00