Skip to content

Commit

Permalink
refactor(auth): utilisation de next-auth (#1322)
Browse files Browse the repository at this point in the history
* fix: code

* fix: code

* fix: code

* fix: code

* fix: permissions

* fix: permissions

* fix: permissions

* fix: permissions

* fix: permissions

* fix: permissions

* fix: permissions

* fix: permissions

* fix: permissions

* fix: permissions

* feat: upgrade urql (#1332)

* fix: permissions

* fix: permissions

* fix: permissions

* fix: permissions

* fix: permissions

* fix: items

* fix: items

* fix: items

* fix: items

* fix: items

* fix: items

* fix: items

* fix: items

* fix: items

* fix: items

* fix: items

* fix: delete db logic

* fix: delete db logic

* fix: delete db logic

* fix: delete db logic

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: regex

* fix: naming

* fix: naming

* fix: naming

* fix: test

* fix: test

* fix: test

* fix: test

* fix: test

* fix: test

* fix: test

* fix: test

* fix: test

* fix: test

* fix: test

* fix: test

* fix: test

* fix: test

* fix: bug

* fix: merge

* fix: merge

* fix: merge

* fix: bug

* fix: returning

* fix: returning

* fix: merge

* fix: types

* fix: types

* fix: done

* Update targets/frontend/src/components/user/List.tsx

Co-authored-by: Caroline <[email protected]>

* fix: done

* fix: creation compte

---------

Co-authored-by: Caroline <[email protected]>
  • Loading branch information
maxgfr and carolineBda authored Apr 8, 2024
1 parent cf9eec0 commit db0a75e
Show file tree
Hide file tree
Showing 275 changed files with 2,642 additions and 3,332 deletions.
9 changes: 0 additions & 9 deletions .kontinuous/env/dev/templates/contributions.configmap.yaml

This file was deleted.

17 changes: 0 additions & 17 deletions .kontinuous/env/dev/templates/contributions.sealed-secret.yaml

This file was deleted.

3 changes: 2 additions & 1 deletion .kontinuous/env/dev/templates/www.sealed-secret.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ spec:
PUBLICATION_SECRET: AgAtDPOTr9khd47wV5WPXJaLSj+6Kmh5N/Wt9SJUTmRgn9jp8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nw26ZBbMXL0NpJZ+0XnLmqJR4MC0xIaStxahvngqv8qQe0yXCn74SMxSCiXsf2ao6mGXNCj62dxp47OUgF20uDS93ABLpkemOdcsZLzUZrjs1ZpYExJE+H8+uRp+ntkp3+kxyFqM+5IR6g+53OqdaNDJtdcgx4Lb9of0n+VWSwuH99rY8KKtfHZa0px326hksXrMGSi1bmZMTjh4LNg6RGMF3J35fRTL1RiaL1J/ie6ucBCBOJwuwnh47jWdkS7WEhz86FXFIIRkDQwNd3WNE2BNGaQ6tkgoHpvMa1fLI8/UeHinH6kcQQoXw6AwzK848ZJN5Ybl0DXaB0o51TKVIgO/eXCJiVjC2fI+94FV1EFlh4dSPqeEalK7SwXMYftnSW/+1w==
template:
metadata:
annotations: *a1
Expand Down
4 changes: 2 additions & 2 deletions .kontinuous/env/dev/values.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
hasura:
imagePackage: hasura
~needs: [post-restore, build-hasura]
~needs: [build-hasura]
~preDeploy.cleaner:
match:
kind: Deployment
Expand Down Expand Up @@ -73,7 +73,7 @@ pg:
jobs:
runs:
post-restore:
~needs: [pg]
~needs: [pg, hasura]
use: psql
with:
sqlFile: .kontinuous/sql/post-restore.sql
Expand Down

This file was deleted.

17 changes: 0 additions & 17 deletions .kontinuous/env/preprod/templates/contributions.sealed-secret.yaml

This file was deleted.

3 changes: 2 additions & 1 deletion .kontinuous/env/preprod/templates/www.sealed-secret.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ spec:
PUBLICATION_SECRET: AgAtDPOTr9khd47wV5WPXJaLSj+6Kmh5N/Wt9SJUTmRgn9jp8trclhS5DvZxmfVv/rYRRiDTuPATDR4yMbfvtrO9ABAhmRZFvmU5VbxdtCDrc9qtv5ZJ4dsYIVxyXIad7+CumHkunXYSwgmCqr2bvv5oeWRmTx2x4uwaNzhEKQ4hUzYCyWp9laJHt5mYT/c/IWZu0PaDXJQVWQuep3fJvjtxQw9EZVy+ehGAqyClL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mLBm58TFxOS7zn331/oUaDdzFSgqli0FSbAPDiQxrxZLJjVKebe1HdLtK3X39En3L9GAp7bLx0AtSBrze6vP0XQ1FBTap7sl/H4sE3V0jbbZFMRPgyobjj3YpFiP8eIOvE3JBpqcZ+s7mMTgtWXVVgSKdicW63kygloxBmo92UBBmnUYFXJThHfl30rhfF6CwhxM//y22A==
template:
metadata:
annotations: *a1
Expand Down
10 changes: 6 additions & 4 deletions .kontinuous/env/preprod/values.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
hasura:
imagePackage: hasura
~needs: [post-restore, build-hasura]
~needs: [build-hasura]
~preDeploy.cleaner:
match:
kind: Deployment
Expand All @@ -16,8 +16,10 @@ hasura:
www:
host: cdtn-admin-preprod.ovh.fabrique.social.gouv.fr
env:
- name: "FRONTEND_HOST"
value: cdtn-admin-preprod.ovh.fabrique.social.gouv.fr
- name: NEXTAUTH_URL
value: https://cdtn-admin-preprod.ovh.fabrique.social.gouv.fr
- name: NEXT_PUBLIC_BASE_PATH
value: https://cdtn-admin-preprod.ovh.fabrique.social.gouv.fr

pg:
~chart: pg
Expand Down Expand Up @@ -52,7 +54,7 @@ pg:
jobs:
runs:
post-restore:
~needs: [pg]
~needs: [pg, hasura]
use: psql
with:
sqlFile: .kontinuous/sql/post-restore.sql
Expand Down
10 changes: 0 additions & 10 deletions .kontinuous/env/prod/templates/contributions.configmap.yaml

This file was deleted.

14 changes: 0 additions & 14 deletions .kontinuous/env/prod/templates/contributions.sealed-secret.yaml

This file was deleted.

Loading

0 comments on commit db0a75e

Please sign in to comment.