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: clear conversations without purpose #717

Merged
merged 54 commits into from
Jul 20, 2023

Conversation

LomyW
Copy link
Contributor

@LomyW LomyW commented Jul 6, 2023

Description
A cronjob should clean up conversations. When a conversation no longer serves a purpose after 30 days, whether a subcourse has ended or a match has been resolved.

What was done?

  • added cronjob to clean up conversations
  • add system messages

Testing

  • Test cron job

LomyW and others added 30 commits June 2, 2023 17:55
mark past subcourse chat
mark empty conversation
@realmayus realmayus temporarily deployed to backend-feat-723-clear--epgfbs July 19, 2023 06:11 Inactive
common/chat/conversation.ts Outdated Show resolved Hide resolved
common/chat/conversation.ts Outdated Show resolved Hide resolved
jobs/manualExecution.ts Show resolved Hide resolved
jobs/periodic/flag-old-conversations/index.ts Show resolved Hide resolved
jobs/periodic/flag-old-conversations/index.ts Outdated Show resolved Hide resolved
jobs/periodic/flag-old-conversations/index.ts Show resolved Hide resolved
jobs/periodic/flag-old-conversations/index.ts Outdated Show resolved Hide resolved
jobs/periodic/flag-old-conversations/index.ts Outdated Show resolved Hide resolved
jobs/periodic/flag-old-conversations/index.ts Show resolved Hide resolved
@realmayus realmayus requested a deployment to backend-feat-723-clear--epgfbs July 19, 2023 11:41 Abandoned
@realmayus realmayus temporarily deployed to backend-feat-723-clear--rv9fou July 19, 2023 11:41 Inactive
@realmayus realmayus temporarily deployed to backend-feat-723-clear--epgfbs July 19, 2023 11:41 Inactive
Jonasdoubleyou
Jonasdoubleyou previously approved these changes Jul 19, 2023
common/chat/contacts.ts Outdated Show resolved Hide resolved
dhenkel92
dhenkel92 previously approved these changes Jul 19, 2023
@realmayus realmayus temporarily deployed to backend-feat-723-clear--vslhps July 20, 2023 10:17 Inactive
@realmayus realmayus temporarily deployed to backend-feat-723-clear--nmz5sb July 20, 2023 10:17 Inactive
@LomyW LomyW merged commit 70e730c into master Jul 20, 2023
2 checks passed
@LomyW LomyW deleted the feat/723-clear-conversations-without-purpose branch July 20, 2023 17:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants