Skip to content
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

feat: Conversations: anonymize data #1618

Merged
merged 7 commits into from
Dec 31, 2024
Merged

Conversation

Guilouf
Copy link
Collaborator

@Guilouf Guilouf commented Dec 30, 2024

Quoi ?

Les conversations considérées comme inactive, au lieu d'être supprimées au bout de 6 mois comme c'est le cas actuellement, sont anonymisées.
Le titre de la conversation est conservé, mais le corps du message est supprimé, remplacé par son nombre de caractères.
Pour le champs data, seuls sont conservés "SentAtDate" et "Attachments"

Pourquoi ?

Comment ?

Un flag is_disabled=True est ajouté pour éviter d'avoir la conversation qui se réactive si un des participants envoie un mail passé le délai.

@Guilouf Guilouf added the enhancement New feature or request label Dec 30, 2024
@Guilouf Guilouf self-assigned this Dec 30, 2024
@Guilouf Guilouf changed the title Add INACTIVE_CONVERSATION_TIMEOUT_IN_MONTHS setting param feat: Add INACTIVE_CONVERSATION_TIMEOUT_IN_MONTHS setting param Dec 30, 2024
@Guilouf Guilouf force-pushed the guilouf/conversation-anonymisation branch from c3573d6 to 3762179 Compare December 30, 2024 10:50
@Guilouf Guilouf changed the title feat: Add INACTIVE_CONVERSATION_TIMEOUT_IN_MONTHS setting param feat: Conversations: anonymize data Dec 30, 2024
@madjid-asa madjid-asa self-requested a review December 30, 2024 12:11
@Guilouf Guilouf force-pushed the guilouf/conversation-anonymisation branch from 8b3d453 to 57fb431 Compare December 30, 2024 13:53
@Guilouf Guilouf marked this pull request as ready for review December 30, 2024 13:55
Copy link
Contributor

@madjid-asa madjid-asa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Niice 🎉

lemarche/conversations/constants.py Outdated Show resolved Hide resolved
@Guilouf Guilouf force-pushed the guilouf/conversation-anonymisation branch from 2eaac02 to 7501083 Compare December 31, 2024 09:35
@Guilouf Guilouf merged commit 4d65073 into master Dec 31, 2024
8 checks passed
@Guilouf Guilouf deleted the guilouf/conversation-anonymisation branch December 31, 2024 09:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants