Commit graph

2347 commits

Author SHA1 Message Date
Dragory
0a3fe2d334
chore: update packages in /shared 2023-07-01 11:11:48 +00:00
Dragory
6ae2fe03c3
chore: now they're fighting amongst each other 2023-07-01 11:03:55 +00:00
Tiago R
f5d6c895aa
Fix counters set_value not defaulting nulls if not using per_user/per_channel (#366) 2023-07-01 13:58:01 +03:00
Tiago R
0da204ed5a
Fix: Utility-Clean command increased limit & chunk messages to be deleted (#393)
Co-authored-by: Almeida <almeidx@pm.me>
2023-07-01 13:47:56 +03:00
Tiago R
7c2a50921b
Fix: Utility-ServerInfo several fixes (#394) 2023-07-01 13:46:21 +03:00
Dragory
7edc5f68eb
chore: appease our robot overlords 2023-07-01 10:42:54 +00:00
Dragory
b67b3c35b7
build: refactor production containers
Production containers now copy the Zeppelin source files at
build-time rather than using a shared volume. This means fewer
permission issues and backend/dashboard builds only have to run once
at build-time, not every time the containers are started.

Docs in PRODUCTION.md have been updated accordingly.
2023-07-01 10:33:35 +00:00
Dragory
b60a7fb145
fix: clinic.js 0kb output files
Something in our signal handlers/code that touched signal handlers
conflicted with clinic.js's signal handler code. With this commit,
we don't touch signal handlers at all if DEBUG mode is enabled.
2023-06-26 19:55:16 +00:00
Dragory
29a1161c05
refactor: change how DEBUG behaves in prod
The env var now only affects the bot container, not the API.
This is because we don't currently need this extra debug information
for the API.

For the bot, with DEBUG set, the bot container will now start and do
nothing. To start the bot in this container in debug mode, open a
shell into the container and run the start-bot-prod-debug script
manually. This change was made to allow more control over what
profiling scripts and other things are run in the debug environment.
2023-06-26 19:35:19 +00:00
Dragory
1734ba4ac9
fix: 'not found' errors (cross-env, clinic) in prod env 2023-06-26 19:26:44 +00:00
Dragory
06a003ca09
fix(dashboard): yaml.dump instead of safeDump 2023-06-26 19:01:11 +00:00
Dragory
a23beadf24
fix(devenv): shut down immediately on ctrl+c 2023-06-25 12:28:18 +03:00
Dragory
c1281d90af
feat(devenv): use latest git 2023-06-25 12:27:54 +03:00
Dragory
2fe92ff76d fix(tags): user_cooldown now applies per-user, not per-tag 2023-06-24 12:33:56 +00:00
Dragory
319461285f Merge branch 'master' of github.com:Dragory/ZeppelinBot 2023-06-24 12:16:32 +00:00
Dragory
f3627e0b17 chore: update discord.js to v14.11, knub to v32.0.0-next.16 2023-06-24 12:14:41 +00:00
Dragory
63c41f0278 feat: new username support vol 2 2023-06-24 12:07:58 +00:00
Dragory
ecaa16bf7c feat: use native timestamps more 2023-06-24 11:55:49 +00:00
Dragory
0e70412bc4 feat: new username support 2023-06-24 10:48:45 +00:00
Dragory
e8b8c11bf0 feat: new username support 2023-06-24 10:41:02 +00:00
Dragory
514e93aa23 feat(persist): reapply persisted data after delay
This enables better interoperability with other bots that apply roles
on join. This is because bots that apply roles on join often run into
a race condition where they're both setting the member's roles at the
same time without knowing about the other, which results in one bot's
roles overriding the other one's. Reapplying Zeppelin's roles after a
delay should ensure that persisted roles get applied properly even in
these cases.
2023-06-24 09:53:06 +00:00
Dragory
1e5378a274 fix: update dashboard packages, fix build on Node.js 18 2023-06-24 09:21:06 +00:00
Dragory
fd4097cefc fix: add missing permissions to permissionNames.ts 2023-06-24 08:29:19 +00:00
Dragory
392d6a427d chore: update dependencies; recreate package locks 2023-06-24 08:28:24 +00:00
Dragory
5f194bf1ef
chore: fix lint errors; tweak lint rules 2023-05-08 22:58:51 +03:00
Dragory
9b3d6f5d68
chore: switch from tslint to eslint 2023-05-08 21:53:09 +03:00
Dragory
16fa19d3e9
chore: prettier 2023-05-08 21:33:40 +03:00
Dragory
111295361e
fix: only lint/format src; update base packages; use Node 18 in gh workflow 2023-05-08 21:32:33 +03:00
Dragory
baee6d2d45
feat: fixes to GuildMemberCache events 2023-05-08 21:23:19 +03:00
Dragory
fa50110766
feat: add member cache; handle all role changes with RoleManagerPlugin; exit gracefully 2023-05-07 17:57:40 +03:00
Dragory
fd60a09947
feat: update to TypeScript 5; reorganize deps 2023-04-29 21:07:18 +03:00
Dragory
658300fcac
feat: update to Node.js 18 2023-04-29 20:47:20 +03:00
Dragory
fefa5649b7
chore: update to Knub v32.0.0-next.15 2023-04-29 20:41:47 +03:00
Dragory
025e67d6b6
feat: -r for !edit_embed 2023-04-09 01:06:49 +03:00
Dragory
434c1543ff
fix: permission check before renewing timeouts 2023-04-06 08:31:15 +03:00
Dragory
3e2862306d
debug: +1 2023-04-04 21:02:56 +03:00
Dragory
fd654a8623
debug: send bot/api clinic dumps to different folders 2023-04-04 21:00:36 +03:00
Dragory
f423f4bdcb
fix: type issue 2023-04-04 20:56:21 +03:00
Dragory
ae1c0c2278
debug: debug+ 2023-04-04 20:55:01 +03:00
Dragory
acdde9b3d7
debug: add clinic.js for debugging 2023-04-04 20:44:13 +03:00
Dragory
fcf30fbc00
chore: update Knub to v32.0.0-next.10 2023-04-02 23:57:02 +03:00
Dragory
1ff476581d
chore: update Knub 2023-04-02 23:02:38 +03:00
Dragory
23e42c9217
chore: update to Knub v32.0.0-next.8 and discord.js v14.9.0 2023-04-02 03:23:12 +03:00
Dragory
9d4e9cf364
fix: broken config regex parsing 2023-04-02 03:18:55 +03:00
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