3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-03-14 21:31:50 +00:00
Commit graph

130 commits

Author SHA1 Message Date
Dragory
5772e27cda
refactor: convert /backend to ESM 2024-04-09 20:57:18 +03:00
Dragory
c2ae6d53d8
feat: update knub; use base Knub types for plugins 2024-03-30 12:35:22 +00:00
Dragory
509d96ce83
refactor: new dev/prod containers
- Use a single Dockerfile for all Zeppelin services
- Add a Dockerfile in project root that can be used by
  app hosting services
- Provide a standalone and lightweight prod setup
  - Standalone is the same as the old setup, with mysql+nginx
  - Lightweight only runs bot+backend+dash, no mysql/nginx
- Remove mounted mysql data folders for dev and prod
  - This resolves permission issues caused by the mount
  - The mysql service uses a regular named volume now
- Simplify .env options and clearly separate different prod setups
- Remove update.sh
  - Different setups require different update procedures, so a common
    update.sh no longer works
2024-03-17 18:49:31 +02:00
Dragory
77ab2718e7
chore: resolve lint errors 2024-01-27 14:21:32 +02:00
Dragory
761ff27771
feat: upgrade to TypeORM 0.3 2023-07-01 12:17:45 +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
5f194bf1ef
chore: fix lint errors; tweak lint rules 2023-05-08 22:58:51 +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
658300fcac
feat: update to Node.js 18 2023-04-29 20:47:20 +03:00
Dragory
c136c117d2
fix: log PluginLoadError guild id correctly 2023-04-01 22:57:30 +03:00
Dragory
d4292205b9
fix: remove deprecated success_emoji/error_emoji properties 2023-04-01 20:39:13 +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 a80af1e729.

* 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
3773d659cc
Consolidate .env files. More work on dev containers. 2022-06-26 14:34:54 +03:00
Dragory
9d301a4242
debug: reduce 'lowest global remaining' console spam
The lowest global remaining rate limit is now only logged when it's
below 30, which usually indicates an unusually high amount of API calls.
2022-01-22 17:20:49 +02:00
Dragory
673ec7b09a
chore: resolve eslint issues 2021-11-03 16:59:08 +02:00
Dragory
9105495d72
feat: upgrade to discord.js v13.3.1 2021-11-02 21:17:00 +02:00
Dragory
0064d8fe3e
debug: log query counts based on operation and table 2021-11-02 20:54:47 +02:00
Dragory
59a6d5a56b
debug: increase 'lowest global remaining' log interval 2021-11-02 20:14:19 +02:00
Dragory
13c94a81cc
feat: Phisherman integration 2021-10-31 17:17:31 +02:00
Dragory
95c3efbdb4
debug: add global rate limit logging 2021-10-28 17:19:07 +03:00
Dragory
bb94d77143
feat: add env var to enable profiling 2021-10-28 17:11:56 +03:00
Dragory
2fd5bb3d17
debug: track resolveUserId username match performance 2021-10-26 22:40:31 +03:00
Dragory
9b805379cf
fix: potential crash fix 2021-10-26 13:15:04 +03:00
Dragory
0a61d865ff
feat: remove monkeypatched d.js debug code 2021-10-26 12:34:18 +03:00
Dragory
0a3a5e4e58
debug: ++debug 2021-10-25 22:39:20 +03:00
Dragory
73c47bf39d
fix: temp fix, cache all members again 2021-10-17 21:02:44 +03:00
Dragory
dcc8dbb615
fix: increase member cache size to 15000 2021-10-17 19:53:26 +03:00
Dragory
5be1e8e5b0
debug: include guild id in RecoverablePluginError logs 2021-10-17 19:19:53 +03:00
Dragory
aea6999753
fix: fix custom emojis not being recognized in !reaction_roles 2021-10-09 15:03:09 +03:00
Dragory
72d5d9d17a
chore: move saved message clean-up loop with other global loops 2021-10-09 12:18:19 +03:00
Dragory
9b4c00915f
debug+++++ 2021-10-05 23:06:12 +03:00
Dragory
7f4195eb02
debug++++ 2021-10-05 22:52:10 +03:00
Dragory
215f560836
debug+++ 2021-10-05 22:47:33 +03:00
Dragory
570e5cc491
debug++ 2021-10-05 22:40:43 +03:00
Dragory
cb53061256
Limit cache size 2021-10-04 19:27:00 +03:00
Dragory
617a4ea7fc
Centralize archive deletion loop; stagger different centralized loops slightly 2021-09-25 21:53:48 +03:00
Dragory
c7751a9da1
Centralize periodic checks for mutes, tempbans, vcalerts, reminders, and scheduled posts
This should result in a significant performance improvement.
The new method is also more precise than the old one, allowing
the aforementioned checks to be performed with second-precision.
2021-09-25 21:34:07 +03:00
Dragory
57ed43b018
Add rate limit logging 2021-09-12 00:17:26 +03:00
Dragory
07f23d4137
Add adhoc REST call debug stats 2021-09-11 21:14:47 +03:00
Dragory
f5d1bbee90
Remove some debug code 2021-09-11 19:22:25 +03:00
Dragory
ac79eb09f5
Reformat all files with Prettier 2021-09-11 19:06:51 +03:00
Dragory
f13695c524
Add command to add servers from invites with eligibility check 2021-09-05 17:07:50 +03:00
Dragory
5e13938f60
More++ debug 2021-09-04 21:02:55 +03:00
Dragory
d0139f6c2e
Don't crash on PluginNotLoadedError 2021-08-20 22:13:02 +03:00
Dragory
3a7aaecf92
Suppress unknown override criteria errors temporarily 2021-08-20 21:40:07 +03:00
Dragory
6e4bc17dae
Reduce d.js debug event logging 2021-08-20 21:38:35 +03:00
Dragory
c86abb04a0
Remove REST request debug logging 2021-08-20 20:02:18 +03:00
Dragory
187e8235be
Add REST request/429 debugging, temporarily disable message fetch hotfix 2021-08-19 21:15:31 +03:00
Dragory
f27a188535
+tweak 2021-08-19 01:52:24 +03:00
Dragory
3ff5590744
Tweak 2021-08-19 01:44:06 +03:00