-
Notifications
You must be signed in to change notification settings - Fork 23
Feature/discord bot moderation #215
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
Open
YuriSouzaDev
wants to merge
30
commits into
he4rt:4.x
Choose a base branch
from
YuriSouzaDev:feature/discord-bot-moderation
base: 4.x
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.
Open
Changes from all commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
5a86ff9
fix(docker): update postgres volume mount path for PG 18 compatibilit…
YuriSouzaDev 9b81210
Merge branch '4.x' of https://github.com/he4rt/heartdevs.com into 4.x
YuriSouzaDev 00c3721
Merge branch '4.x' of https://github.com/he4rt/heartdevs.com into 4.x
YuriSouzaDev 754648e
Merge branch '4.x' of https://github.com/he4rt/heartdevs.com into 4.x
YuriSouzaDev 59ac75b
feat(config): adicionar token do Discord e chave da OpenAI nas config…
YuriSouzaDev 5c0160f
feat(moderation): implementar JsonSerializable e aceitar autor por pa…
YuriSouzaDev d67bd42
feat(moderation): priorizar regras manuais e preservar ação sugerida …
YuriSouzaDev 5765bd1
test(moderation): atualizar testes da pipeline de classificação com n…
YuriSouzaDev abc4fd1
feat(bot-discord): implementar DiscordModerationAdapter com mute, kic…
YuriSouzaDev 6ca0fd9
feat(moderation): adicionar traduções de DM do Discord para ações de …
YuriSouzaDev 315f9e2
feat(bot-discord): integrar pipeline de moderação automática ao event…
YuriSouzaDev b6a61c0
test(bot-discord): adicionar testes de feature do DiscordModerationAd…
YuriSouzaDev 3a22a0b
chore: registrar HubPanelProvider e adicionar dependência he4rt/hub
YuriSouzaDev 9c1a942
feat(database): adicionar seeder do servidor Discord pessoal para des…
YuriSouzaDev 94c9a88
fix(bot-discord): usar dispatch assíncrono no ExecuteAction para não …
YuriSouzaDev 6a2c84e
fix(bot-discord): centralizar cliente HTTP com timeout explícito de 1…
YuriSouzaDev cdef161
fix(moderation): substituir instanciação desnecessária de User no Ing…
YuriSouzaDev 6520f45
fix(moderation): adicionar type guard instanceof User no fromPlatform…
YuriSouzaDev a8cda07
fix(moderation): corrigir expectativa de status no RouteDecisionTest …
YuriSouzaDev 182b24a
fix(bot-discord): tratar channelID em branco no DiscordModerationAdap…
YuriSouzaDev 82f9558
fix(bot-discord): remocao de dependencia adicionada precocemente
YuriSouzaDev 5e18561
chore: remocao de depedencia prematura do he4rt/hub
YuriSouzaDev 2517bbd
fix(moderation): adicionar anotação de tipo de retorno para jsonSeria…
YuriSouzaDev 4f5705c
fix(moderacao): alinhar escalada de penalidades aos testes
YuriSouzaDev 2285bd5
test(moderacao): ajustar plataforma invalida no teste
YuriSouzaDev f37d6a6
fix(bot-discord): refatorar PersonalDiscordServerSeeder para reutiliz…
YuriSouzaDev 74dc714
fix(moderacao): preservar acao de regra no roteamento
YuriSouzaDev 008c6d6
fix(bot-discord): alinhar execucao de moderacao e requests
YuriSouzaDev 510b84f
Merge branch '4.x' into feature/discord-bot-moderation
YuriSouzaDev ebd1e34
fix(panel): corrigir namespace do Dashboard
YuriSouzaDev 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| ## Summary | ||
|
|
||
| - Ajusta a escalada de penalidades para alinhar com as regras esperadas pelos testes. | ||
| - Corrige o teste de execucao para validar plataforma realmente nao suportada. | ||
|
|
||
| ## Changes | ||
|
|
||
| - `app-modules/moderation/src/Classification/Actions/Advisors/HistoryBasedPenaltyAdvisor.php` | ||
| - `app-modules/moderation/tests/Feature/Enforcement/ExecuteActionTest.php` | ||
|
|
||
| ## Testing | ||
|
|
||
| - `vendor/bin/pest --ci --parallel` | ||
|
|
||
| ## Notes | ||
|
|
||
| - O teste "skips platforms not in target list" foi ajustado porque o Discord agora e uma plataforma registrada; antes, nao existia adapter Discord e o teste passava mesmo com `discord` na lista. Agora a lista usa `skype` (plataforma inexistente) para garantir que a execucao seja realmente ignorada. |
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.
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.