Draft: Authens ! #767

Open
mpepin wants to merge 5 commits from kerl/authens into master
mpepin commented 2020-09-17 21:40:11 +02:00 (Migrated from git.eleves.ens.fr)
  • On utilise authens partout (pas que dans GestioBDS)
  • J'ai monkey-patch le CSS d'authens pour que ce soit similaire à GestioCOF, pour moi ça suffit je ne suis pas contre un second avis
  • TODO DONE: migrer les comptes existants vers authens
- On utilise authens partout (pas que dans GestioBDS) - J'ai monkey-patch le CSS d'authens pour que ce soit similaire à GestioCOF, pour moi ça suffit je ne suis pas contre un second avis - **~~TODO~~ DONE**: migrer les comptes existants vers authens
mpepin commented 2020-09-22 20:54:53 +02:00 (Migrated from git.eleves.ens.fr)

added 1 commit

  • 6e1e4631 - Migrate django_cas_ng accounts to authens

Compare with previous version

added 1 commit <ul><li>6e1e4631 - Migrate django_cas_ng accounts to authens</li></ul> [Compare with previous version](/klub-dev-ens/gestioCOF/-/merge_requests/463/diffs?diff_id=2158&start_sha=8f5b43c010cf28efaebe588e3707060fa91caf7b)
mpepin commented 2020-09-22 20:56:05 +02:00 (Migrated from git.eleves.ens.fr)

unmarked as a Work In Progress

unmarked as a **Work In Progress**
mpepin commented 2020-09-22 20:56:05 +02:00 (Migrated from git.eleves.ens.fr)

changed the description

changed the description
mpepin commented 2020-09-22 21:42:50 +02:00 (Migrated from git.eleves.ens.fr)

added 23 commits

  • 6e1e4631...3869c02d - 18 commits from branch master
  • 26455ae5 - Monkey-patch authens to make it look like GestioCOF
  • a98e56d3 - Switch to Authens for GestioCOF authentication
  • 7b8d1575 - Break a redirection loop in teamkfet_required
  • 0815f797 - Update auth urls in tests
  • 3967831e - Migrate django_cas_ng accounts to authens

Compare with previous version

added 23 commits <ul><li>6e1e4631...3869c02d - 18 commits from branch <code>master</code></li><li>26455ae5 - Monkey-patch authens to make it look like GestioCOF</li><li>a98e56d3 - Switch to Authens for GestioCOF authentication</li><li>7b8d1575 - Break a redirection loop in teamkfet_required</li><li>0815f797 - Update auth urls in tests</li><li>3967831e - Migrate django_cas_ng accounts to authens</li></ul> [Compare with previous version](/klub-dev-ens/gestioCOF/-/merge_requests/463/diffs?diff_id=2161&start_sha=6e1e46311f731d65d6a2d8e16f509241d0ce8a6f)
lstephan commented 2020-09-25 16:31:01 +02:00 (Migrated from git.eleves.ens.fr)

Ce changement fait raler isort... Il doit y avoir un pb de version.

Ce changement fait raler isort... Il doit y avoir un pb de version.
lstephan commented 2020-09-25 16:32:30 +02:00 (Migrated from git.eleves.ens.fr)

Si c'est commun, il y a un problème à le mettre sur auth seulement ?

Si c'est commun, il y a un problème à le mettre sur `auth` seulement ?
mpepin commented 2020-09-26 23:33:23 +02:00 (Migrated from git.eleves.ens.fr)

Je pense que ça a plus sa place sous {cof,bds}.ens.fr/gestion/auth que sous {cof,bds}.ens.fr/auth tout court, c'est l'auth de GestioCOF/GestioBDS, pas forcément des autres trucs que peut vouloir mettre sous ces noms de domaine.

Je pense que ça a plus sa place sous `{cof,bds}.ens.fr/gestion/auth` que sous `{cof,bds}.ens.fr/auth` tout court, c'est l'auth de GestioCOF/GestioBDS, pas forcément des autres trucs que peut vouloir mettre sous ces noms de domaine.
mpepin commented 2020-09-26 23:57:02 +02:00 (Migrated from git.eleves.ens.fr)

Hum, en fait il y a encore un million de trucs à changer dans le code dès lors qu'on touche à CofProfile.login_clipper, va savoir pourquoi c'est utilisé partout

Hum, en fait il y a encore un million de trucs à changer dans le code dès lors qu'on touche à `CofProfile.login_clipper`, va savoir pourquoi c'est utilisé partout
mpepin commented 2021-02-07 19:35:48 +01:00 (Migrated from git.eleves.ens.fr)

marked this merge request as draft

marked this merge request as **draft**
mpepin commented 2021-02-07 19:35:49 +01:00 (Migrated from git.eleves.ens.fr)

changed the description

changed the description
lstephan commented 2021-03-04 09:21:49 +01:00 (Migrated from git.eleves.ens.fr)

mentioned in issue #288

mentioned in issue #288
This pull request has changes conflicting with the target branch.
  • cof/settings/bds_prod.py
  • cof/settings/cof_prod.py
  • cof/settings/common.py
  • cof/urls.py
  • gestioncof/views.py
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin kerl/authens:kerl/authens
git checkout kerl/authens

Merge

Merge the changes and update on Forgejo.
git checkout master
git merge --no-ff kerl/authens
git checkout master
git merge --ff-only kerl/authens
git checkout kerl/authens
git rebase master
git checkout master
git merge --no-ff kerl/authens
git checkout master
git merge --squash kerl/authens
git checkout master
git merge --ff-only kerl/authens
git checkout master
git merge kerl/authens
git push origin master
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: DGNum/gestioCOF#767
No description provided.