Commit graph

1414 commits

Author SHA1 Message Date
Dragory
d231c72a5b
chore: update to Knub v32.0.0-next.7 2023-04-02 03:17:00 +03:00
Dragory
c3e07c1607
fix: error on dashboard plugin usage page 2023-04-02 00:02:22 +03:00
Dragory
e43500abba
fix: additional checks for findTagByName 2023-04-01 23:51:29 +03:00
Dragory
b490302cd4
fix: config validation error formatting 2023-04-01 23:13:19 +03:00
Dragory
0e58301dc8
fix: timeout mutes always being applied for 28d
They were still being removed by the bot after the real mute time,
but the native timeout was always set to 28d.
2023-04-01 23:04:30 +03:00
Dragory
c136c117d2
fix: log PluginLoadError guild id correctly 2023-04-01 22:57:30 +03:00
Dragory
bd6c73891d
fix: api crash with certain config errors 2023-04-01 22:56:42 +03:00
Dragory
ef36ea6999
fix: additional checks for tag set/get 2023-04-01 22:13:48 +03:00
Dragory
c1a91d4dec
fix: check for too many permission overwrites in companion channels 2023-04-01 21:53:12 +03:00
Dragory
dd1afc4dab
fix: don't attempt to message users off-server
Co-authored-by: metal0 <metal@i0.tf>
2023-04-01 21:45:12 +03:00
Dragory
dd2eebd4a5
fix: occasional crash in context menus
Co-authored-by: metal <metal@i0.tf>
2023-04-01 21:40:27 +03:00
Dragory
3064a05b4d
fix: extra checks for tag get() function 2023-04-01 21:34:14 +03:00
Dragory
ab54dc215f
fix: missing data in template safe objects 2023-04-01 21:33:40 +03:00
Dragory
d4292205b9
fix: remove deprecated success_emoji/error_emoji properties 2023-04-01 20:39:13 +03:00
Dragory
c21aa7fbbf
chore: update dependencies 2023-04-01 20:31:44 +03:00
Dragory
a6750da5da
fix: reapply timeout on join for forcemutes 2023-04-01 20:19:17 +03:00
Dragory
017ef5674a
fix: isCommunicationDisabled() 2023-04-01 20:15:03 +03:00
Dragory
600ff6e4a4
docs: timestamp of the 2023-04-01 20:11:40 +03:00
Dragory
0ee5f0a863
fix: additional checks for unmuting without an active mute 2023-04-01 20:09:09 +03:00
Dragory
39e0dfa27f feat: timeout support 2023-04-01 20:05:11 +03:00
Tiago R
06877e90cc
Update djs & knub (#395)
* update pkgs

Signed-off-by: GitHub <noreply@github.com>

* new knub typings

Signed-off-by: GitHub <noreply@github.com>

* more pkg updates

Signed-off-by: GitHub <noreply@github.com>

* more fixes

Signed-off-by: GitHub <noreply@github.com>

* channel typings

Signed-off-by: GitHub <noreply@github.com>

* more message utils typings fixes

Signed-off-by: GitHub <noreply@github.com>

* migrate permissions

Signed-off-by: GitHub <noreply@github.com>

* fix: InternalPoster webhookables

Signed-off-by: GitHub <noreply@github.com>

* djs typings: Attachment & Util

Signed-off-by: GitHub <noreply@github.com>

* more typings

Signed-off-by: GitHub <noreply@github.com>

* fix: rename permissionNames

Signed-off-by: GitHub <noreply@github.com>

* more fixes

Signed-off-by: GitHub <noreply@github.com>

* half the number of errors

* knub commands => messageCommands

Signed-off-by: GitHub <noreply@github.com>

* configPreprocessor => configParser

Signed-off-by: GitHub <noreply@github.com>

* fix channel.messages

Signed-off-by: GitHub <noreply@github.com>

* revert automod any typing

Signed-off-by: GitHub <noreply@github.com>

* more configParser typings

Signed-off-by: GitHub <noreply@github.com>

* revert

Signed-off-by: GitHub <noreply@github.com>

* remove knub type params

Signed-off-by: GitHub <noreply@github.com>

* fix more MessageEmbed / MessageOptions

Signed-off-by: GitHub <noreply@github.com>

* dumb commit for @almeidx to see why this is stupid

Signed-off-by: GitHub <noreply@github.com>

* temp disable custom_events

Signed-off-by: GitHub <noreply@github.com>

* more minor typings fixes - 23 err left

Signed-off-by: GitHub <noreply@github.com>

* update djs dep

* +debug build method (revert this)

Signed-off-by: GitHub <noreply@github.com>

* Revert "+debug build method (revert this)"

This reverts commit a80af1e729b742d1aad1097df538d224fbd32ce7.

* Redo +debug build (Revert this)

Signed-off-by: GitHub <noreply@github.com>

* uniform before/after Load shorthands

Signed-off-by: GitHub <noreply@github.com>

* remove unused imports & add prettier plugin

Signed-off-by: GitHub <noreply@github.com>

* env fixes for web platform hosting

Signed-off-by: GitHub <noreply@github.com>

* feat: knub v32-next; related fixes

* fix: allow legacy keys in change_perms action

* fix: request Message Content intent

* fix: use Knub's config validation logic in API

* fix(dashboard): fix error when there are no message and/or slash commands in a plugin

* fix(automod): start_thread action thread options

* fix(CustomEvents): message command types

* chore: remove unneeded type annotation

* feat: add forum channel icon; use thread icon for news threads

* chore: make tslint happy

* chore: fix formatting

---------

Signed-off-by: GitHub <noreply@github.com>
Co-authored-by: almeidx <almeidx@pm.me>
Co-authored-by: Dragory <2606411+Dragory@users.noreply.github.com>
2023-04-01 14:58:17 +03:00
Dragory
293115af22
fix: crash on older discord.js version 2023-03-30 00:19:32 +03:00
Dragory
801cd2630b
fix: fix crash when decay period is 0 2022-12-15 00:38:24 +02:00
Dragory
ccd1d3d69e
fix: fix error if automod unloads after beforeLoad() but without running afterLoad() 2022-08-15 19:07:55 +03:00
Miikka
128700929e
Merge pull request #345 from almeidx/cases-user
fix: no response if user only has hidden cases in `!cases @user`
2022-08-14 00:22:42 +03:00
Dragory
a15b2f02a9
feat: small tweaks to tag list search 2022-08-14 00:21:21 +03:00
Miikka
e9fe0e03b9
Merge pull request #348 from DenverCoderOne/tag-list-search
feat: Tag list search and improved readability
2022-08-14 00:12:43 +03:00
Dragory
94802a665c
fix: fix expired api permissions not being deleted 2022-08-14 00:06:20 +03:00
metal
00591510ff
Automod add changeperms action (#309)
* initial

* fix typings UwU

* check no perms for overrides

* cleanup & add template rendering

* remove defaults

Co-authored-by: Almeida <almeidx@pm.me>

* Update backend/src/plugins/Automod/actions/changePerms.ts

Co-authored-by: Almeida <almeidx@pm.me>

* Update backend/src/plugins/Automod/actions/changePerms.ts

Co-authored-by: Almeida <almeidx@pm.me>

* Update backend/src/plugins/Automod/actions/changePerms.ts

Co-authored-by: Almeida <almeidx@pm.me>

* .resolve instead of .fetch

Co-authored-by: Almeida <almeidx@pm.me>

* fix

* add more template variables

* rename msg to message

* .edit instead of .create

Signed-off-by: GitHub <noreply@github.com>

Signed-off-by: GitHub <noreply@github.com>
Co-authored-by: metal <admin@metalruller.com>
Co-authored-by: Almeida <almeidx@pm.me>
2022-08-13 23:47:24 +03:00
Miikka
fdb81e37ed
Merge pull request #339 from metal0/fix-codeblocks-case-history
Fix codeblocks case history quote markdown
2022-08-13 23:31:21 +03:00
Dragory
d472fd4fa6
fix(logs): fix inconsistent thread/channel/category exclusions; add excluded_threads log channel option 2022-08-13 23:19:06 +03:00
Dragory
218c31231e
Merge branch '220601_docker_wip' 2022-08-07 14:02:44 +03:00
Dragory
9bd1b97a11
fix: ignore empty values for STAFF/DEFAULT_ALLOWED_SERVERS 2022-08-07 12:45:52 +03:00
Dragory
f0a96de371
debug: temporarily disable server auto-leaving
This is to avoid any potential funny business during the upcoming server migration.
2022-08-06 22:13:12 +03:00
Dragory
4a5e8ded75
feat: add DEFAULT_ALLOWED_SERVERS .env value 2022-08-06 22:12:40 +03:00
Dragory
f7fede47bd
refactor: use .env STAFF instead of global config owners for global commands 2022-08-06 22:11:54 +03:00
Dragory
91f54424ed
Early work on prod container 2022-07-16 22:16:34 +03:00
Miikka
3cf08e5a49 Update discord.js 2022-07-06 22:21:26 +00:00
Miikka
0e6c2619f0
Update applyRoleButtons.ts 2022-07-07 01:07:17 +03:00
Miikka
8574d61670
debug 2022-07-07 01:00:32 +03:00
Miikka
f5125cb3c3
Update applyRoleButtons.ts 2022-07-07 00:49:29 +03:00
Dragory
ce2255b6b7
Simplify dev docker setup 2022-06-26 19:30:46 +03:00
Dragory
f463abb3e2
Temporarily disable config clean-up
The current query doesn't work in MySQL 8.
2022-06-26 15:23:22 +03:00
Dragory
6b44027eb4
Fix error when compiling ormconfig 2022-06-26 15:02:34 +03:00
Dragory
12274a84b2
Fix .env number validation errors 2022-06-26 14:41:31 +03:00
Dragory
177a66a247
Merge remote-tracking branch 'origin/master' into 220601_docker_wip 2022-06-26 14:38:36 +03:00
Dragory
acbeddf11c
Fix old/broken env import 2022-06-26 14:37:37 +03:00
Dragory
b48b93a6de
Merge branch 'master' into 220601_docker_wip 2022-06-26 14:35:32 +03:00
Dragory
3773d659cc
Consolidate .env files. More work on dev containers. 2022-06-26 14:34:54 +03:00
Miikka
961a8c7fff
Merge pull request #337 from almeidx/userinfo-roles
fix: negative number in userinfo command
2022-06-26 14:10:05 +03:00