Commit Graph

56 Commits

Author SHA1 Message Date
Yohann D'ANELLO f75dbc4525
OAuth2 implementation documentation
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
2021-09-02 20:59:45 +02:00
Yohann D'ANELLO 9b26207515
Rework templates for OAuth2
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
2021-09-02 20:59:43 +02:00
Yohann D'ANELLO 7ea36a5415
[oauth2] Add view to generate authorization link per application with given scopes
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
2021-09-02 20:59:33 +02:00
Yohann D'ANELLO 898f6d52bf
Better templates for OAuth2 authentication
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
2021-09-02 20:59:20 +02:00
Yohann D'ANELLO 733f145be3
BDE members can now use they note even if they are not in the Kfet club
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
2021-08-29 14:39:36 +02:00
Yohann D'ANELLO a6f23df7d5
Load the good translation file, fixes #85
Signed-off-by: Yohann D'ANELLO <yohann.danello@gmail.com>
2021-01-19 11:58:19 +01:00
Yohann D'ANELLO 8434c0062c Merge branch 'beta' into JS_translations
# Conflicts:
#	apps/note/static/note/js/consos.js
#	locale/de/LC_MESSAGES/django.po
#	locale/es/LC_MESSAGES/django.po
#	locale/fr/LC_MESSAGES/django.po
2020-11-16 00:59:26 +01:00
Yohann D'ANELLO b9d49d53f2 Export JS translation files as static files 2020-11-16 00:29:27 +01:00
Yohann D'ANELLO b58a0c43cd Include auto-generated javascript translation file 2020-11-15 22:53:00 +01:00
Yohann D'ANELLO e5e758f9d9 Display banners when a user is no more a BDE or Kfet member 2020-10-07 11:46:43 +02:00
Yohann D'ANELLO 65a2e8c08c Better index page: non-Kfet members will be redirected to their profile page, the account note (when it will be managed) will see the consumption page 2020-10-07 11:29:52 +02:00
Yohann D'ANELLO fb72385773 Warn users that they have to open they Sogé account 2020-10-07 10:59:37 +02:00
Yohann D'ANELLO c3d613947f Pre-registered users can declare that they opened a bank account in the signup form 2020-10-07 10:33:57 +02:00
Alexandre Iooss 70448db8e5
Remove Django CAS server and add oauth toolkit 2020-09-21 10:31:42 +02:00
Yohann D'ANELLO f89234b69a JS was broken, please close your HTML tags 2020-09-13 23:18:00 +02:00
Alexandre Iooss e8005a6c58 Update Django locale selector 2020-09-13 20:17:59 +02:00
Alexandre Iooss 4452d112e3 Navbar should expand only on large screen 2020-09-06 21:50:06 +02:00
Alexandre Iooss c06354211b Translate login page 2020-09-06 20:21:31 +02:00
Alexandre Iooss cc5996121b Change HTML localization 2020-09-06 20:04:10 +02:00
Yohann D'ANELLO 0f47412c38 Fix Ansible script for production 2020-09-04 22:37:18 +02:00
Alexandre Iooss cc7ebd2d8a Sometimes the nk20 is too laggy 2020-09-03 00:35:25 +02:00
Alexandre Iooss 5feb23ad51 Use Debian font awesome 2020-09-01 14:33:38 +02:00
Alexandre Iooss b4ef4b8089 Use local javascript and css libs 2020-09-01 14:28:11 +02:00
Alexandre Iooss dd9ca315fa Clean up templates header 2020-09-01 10:20:16 +02:00
Alexandre Iooss d9e003a8f4 Remove contenttitle 2020-09-01 10:13:05 +02:00
Yohann D'ANELLO e74f92cf8d Set current page as active button 2020-08-31 22:11:46 +02:00
erdnaxe 93e5e4c8cd Merge branch 'morefront' into 'beta'
Do not list alias on profile page

See merge request bde/nk20!99
2020-08-25 16:44:55 +02:00
Alexandre Iooss 2e659c63cd Member templates inherit from member/base.html 2020-08-25 15:39:57 +02:00
Yohann D'ANELLO b25935e579 When data is imported from the NK15, prevent users whenever some aliases are deleted 2020-08-24 12:41:51 +02:00
Alexandre Iooss c64de202a6 Remove title from error pages 2020-08-23 14:21:13 +02:00
Alexandre Iooss e3898d0b1e Cards on error pages 2020-08-23 09:51:03 +02:00
Alexandre Iooss 196f796570 Move alias.js to local static 2020-08-22 23:54:58 +02:00
Alexandre Iooss 8063354e0f He's stupid Tim\! 2020-08-22 09:39:07 +02:00
Alexandre Iooss 2272cf5294 Update URL when searching 2020-08-22 09:35:55 +02:00
Alexandre Iooss aa98c4848d Create base template for search page 2020-08-21 23:11:25 +02:00
Alexandre Iooss 5ea1eed76d Password reset use cards 2020-08-21 18:34:20 +02:00
Alexandre Iooss b7d4a17ffd Better footer on mobile phone 2020-08-21 18:08:32 +02:00
Alexandre Iooss 5c3451bda7 Use cards for registration templates 2020-08-21 17:52:48 +02:00
Alexandre Iooss 8c46321c95 Make page title always white 2020-08-21 17:52:30 +02:00
Alexandre Iooss 501d02d05c Fix back to top btn 2020-08-21 15:25:39 +02:00
Alexandre Iooss 310f55a28e Light background on login box 2020-08-21 14:43:25 +02:00
Alexandre Iooss 197bd28ceb Use a fluid-container for navbar 2020-08-21 14:38:07 +02:00
Alexandre Iooss e03a3f7fd2 Do not show login and register on these pages 2020-08-21 14:33:43 +02:00
Alexandre Iooss 51230e029d Better navbar buttons and less shadow 2020-08-21 14:21:26 +02:00
Alexandre Iooss bd49a36bcc Dark background and custom navbar color 2020-08-21 13:24:04 +02:00
Pierre-antoine Comby 448d379315 no need to disable turbolinks if we don't use select2 2020-08-18 11:45:30 +02:00
Alexandre Iooss 7719ff41ad Make tables responsive 2020-08-10 15:10:02 +02:00
Alexandre Iooss 8933fddaf3 Add comment on custom CSS 2020-08-10 15:05:00 +02:00
Alexandre Iooss c3081d9cc3 Add missing space in menu 2020-08-10 13:59:29 +02:00
Alexandre Iooss 8e886f1431 Remove debug banner as it does not work 2020-08-10 13:56:06 +02:00