Skip to content

refactor: rewrite lockdown command#2593

Draft
kyranet wants to merge 1 commit intomainfrom
refactor/improved-lockdown
Draft

refactor: rewrite lockdown command#2593
kyranet wants to merge 1 commit intomainfrom
refactor/improved-lockdown

Conversation

@kyranet
Copy link
Copy Markdown
Member

@kyranet kyranet commented Mar 14, 2024

Changelog

  • Rewrite to slash (/lockdown).
  • Added global lockdown.
  • Added support for locking thread, category, and voice channels.
  • Added persistence for temporary lockdowns.
  • Increased maximum lockdown duration from 6 hours to 1 month.
  • Improved permissions restore in unlock.
  • Tweaked the permissions modified by the command, from Send Messages to:
    • Text-based:
      • Send Messages
      • Send Messages in Threads
      • Create Public Threads
      • Create Private Threads
    • Voice-based:
      • Connect
    • Mixed and categories:
      • All of the previous.

@codecov
Copy link
Copy Markdown

codecov bot commented Mar 14, 2024

Codecov Report

❌ Patch coverage is 32.62411% with 95 lines in your changes missing coverage. Please review.
✅ Project coverage is 72.56%. Comparing base (3400b53) to head (69dc1c1).
⚠️ Report is 81 commits behind head on main.

Files with missing lines Patch % Lines
src/lib/schedule/manager/ScheduleEntry.ts 0.00% 78 Missing ⚠️
src/lib/schedule/structures/Task.ts 0.00% 17 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2593      +/-   ##
==========================================
- Coverage   73.93%   72.56%   -1.38%     
==========================================
  Files          91       92       +1     
  Lines        4059     4195     +136     
  Branches      290      209      -81     
==========================================
+ Hits         3001     3044      +43     
- Misses       1053     1146      +93     
  Partials        5        5              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@kyranet kyranet force-pushed the refactor/improved-lockdown branch from 84a4064 to aee40dd Compare March 27, 2024 11:41
@kyranet kyranet changed the base branch from main to refactor/moderation/rewrite-actions-layer March 27, 2024 11:41
Base automatically changed from refactor/moderation/rewrite-actions-layer to main March 28, 2024 17:28
@kyranet kyranet force-pushed the refactor/improved-lockdown branch 3 times, most recently from 441ba5e to 5fca354 Compare March 28, 2024 19:18
@kyranet kyranet linked an issue Mar 28, 2024 that may be closed by this pull request
@kyranet kyranet force-pushed the refactor/improved-lockdown branch 2 times, most recently from e0397fb to d0160ac Compare April 5, 2024 21:46
@kyranet kyranet linked an issue Apr 21, 2024 that may be closed by this pull request
@kyranet kyranet force-pushed the refactor/improved-lockdown branch from d0160ac to 69dc1c1 Compare August 5, 2024 09:27
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.

feat(lockdown): add guild-wide lockdown support request(lockdown): deny create thread permissions

1 participant