-
Notifications
You must be signed in to change notification settings - Fork 1
Fix: save workspace blocked date #491
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
Merged
Merged
Changes from all commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
078cdeb
pull new hawk types
talyguryn e0a39cc
Track blocked date for workspaces in LimiterWorker
talyguryn 4e12dcb
Add and populate blockedDate for blocked workspaces
talyguryn 62169a9
Add tests for blockedDate handling in workspaces
talyguryn 54c7965
Update index.ts
talyguryn a01f058
Refactor blocked workspace reminder to use days after block
talyguryn 857e8bc
Update yarn.lock to deduplicate and reorder entries
talyguryn d3e82b2
Rename daysAfterPayday to daysAfterBlock in payload
talyguryn 39f6a19
Handle undefined daysAfterBlock in reminders logic
talyguryn 697d090
Adjust blockedDate calculation in PaymasterWorker test
talyguryn 3b16ca7
Update workers/paymaster/tests/index.test.ts
talyguryn a01a12b
Update workers/paymaster/src/index.ts
talyguryn 3cd7142
Update lib/utils/payday.ts
talyguryn f250942
Update dbHelper.test.ts
talyguryn 55be33c
Merge branch 'fix/save-workspace-blocked-date' of https://github.com/…
talyguryn ed2f352
Remove obsolete test and update blocked workspace logic
talyguryn 9551b3f
Refactor blockedDate handling in workspace mocks
talyguryn 8c34583
Update index.test.ts
talyguryn 86e041d
Update dbHelper.test.ts
talyguryn 009004f
Update index.test.ts
talyguryn 91a2e63
Update index.test.ts
talyguryn 199a98d
Update workers/paymaster/tests/index.test.ts
talyguryn 45a8dce
Update index.test.ts
talyguryn 1f28410
Update workers/paymaster/src/index.ts
talyguryn bb84647
Update lib/utils/payday.ts
talyguryn 267497c
Update workers/paymaster/src/index.ts
talyguryn 09c12d9
Update emailOverview.ts
talyguryn e888848
Update workers/limiter/src/index.ts
talyguryn ef9e851
Update lib/utils/payday.ts
talyguryn a411041
Update index.test.ts
talyguryn 2f5edc1
Update index.test.ts
talyguryn 92bb5b9
Update index.ts
talyguryn 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
2 changes: 1 addition & 1 deletion
2
workers/email/src/templates/emails/blocked-workspace-reminder/subject.twig
This file contains hidden or 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 |
|---|---|---|
| @@ -1 +1 @@ | ||
| Требуется действие: мониторинг ошибок в {{ workspace.name }} не работает уже {{ daysAfterPayday }} {{ pluralize_ru(daysAfterPayday, ['день', 'дня', 'дней']) }} | ||
| Требуется действие: мониторинг ошибок в {{ workspace.name }} не работает уже {{ daysAfterBlock }} {{ pluralize_ru(daysAfterBlock, ['день', 'дня', 'дней']) }} |
2 changes: 1 addition & 1 deletion
2
workers/email/src/templates/emails/blocked-workspace-reminder/text.twig
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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.
Uh oh!
There was an error while loading. Please reload this page.