-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Migration vers ProConnect (MAJ variables d'env necessaire) #4620
Draft
hfroot
wants to merge
22
commits into
staging
Choose a base branch
from
4482-migration-bouton-moncompte-pro
base: staging
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
3c3871e
Start renaming variables
hfroot b00dd44
Update button style
hfroot e50e3a6
Merge branch 'staging' into 4482-migration-bouton-moncompte-pro
hfroot 0979571
Debugging
hfroot dc0e510
Ability to attach VSCode debug session to Docker server
hfroot 8483ed7
Formatting changes
hfroot 002941c
Revert "Update button style"
hfroot 01108a7
Revert "Start renaming variables"
hfroot d9e132e
Get it working again with MCP
hfroot 559b752
Write custom userinfo method to parse user data from token
hfroot dd660da
Update user get/create for new ProConnect data structure
hfroot a3e4d71
Rename some variables
hfroot 473bf8c
Reapply "Update button style"
hfroot 95cf5f8
Fix spacing on registration page before new ProConnect button
hfroot 09c6fd2
Update docs
hfroot 564ed99
More variable renaming
hfroot cf65695
Merge branch 'staging' into 4482-migration-bouton-moncompte-pro
hfroot 74381f4
Configure leeway to be shorter to allow for the 60s expiration time o…
hfroot 69fee18
Merge branch 'staging' into 4482-migration-bouton-moncompte-pro
hfroot 5eb98f4
Rename MCP fields on user model and add read only admin view for migr…
hfroot 4cdb3b5
Remove outdated comment
hfroot 7461474
Revert "Ability to attach VSCode debug session to Docker server"
hfroot File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
52 changes: 52 additions & 0 deletions
52
data/migrations/0159_rename_created_with_mcp_user_created_with_proconnect_and_more.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
# Generated by Django 5.0.8 on 2024-11-26 12:10 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("data", "0158_merge_20241106_1432"), | ||
] | ||
|
||
operations = [ | ||
migrations.RenameField( | ||
model_name="user", | ||
old_name="created_with_mcp", | ||
new_name="created_with_proconnect", | ||
), | ||
migrations.RenameField( | ||
model_name="user", | ||
old_name="mcp_id", | ||
new_name="proconnect_id", | ||
), | ||
migrations.RenameField( | ||
model_name="user", | ||
old_name="mcp_organizations", | ||
new_name="proconnect_organizations", | ||
), | ||
migrations.AlterField( | ||
model_name="user", | ||
name="created_with_proconnect", | ||
field=models.BooleanField( | ||
default="False", | ||
verbose_name="Compte créé avec ProConnect (ex. MonComptePro)", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="user", | ||
name="proconnect_id", | ||
field=models.TextField( | ||
blank=True, null=True, verbose_name="ID ProConnect (ex. MonComptePro)" | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="user", | ||
name="proconnect_organizations", | ||
field=models.JSONField( | ||
blank=True, | ||
null=True, | ||
verbose_name="Organisations sous ProConnect (ex. MonComptePro)", | ||
), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
j'ai rajouté ces données pour qu'on puisse s'assurer que la migration des comptes créés avec MonComptePro a bien reussi