Commit graph

143 commits

Author SHA1 Message Date
Dragory
1ef7ba8d0f
refactor: simplify db credential handling 2024-04-06 15:36:45 +00:00
Dragory
e11d2b48e4
fix: connection errors in migrate-dev/migrate-rollback-dev 2024-04-06 10:45:47 +00:00
Dragory
769a5c2c7c
fix: add more missing --build flags 2024-04-06 10:45:05 +00:00
Dragory
4b63d03bdb
fix: use --build flag for watchers
This allows them to compile TS project references,
i.e. automatically compile shared from backend.
2024-04-06 12:42:01 +03:00
Dragory
f3fcede7f5
feat: switch to mysql2 package; fix typeorm cli path 2024-03-30 15:46:53 +00:00
Dragory
c89c5ea430
feat: update knub; update public interfaces for new knub 2024-03-30 13:31:30 +00: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
730b8c1d6b
feat: update to Knub v32.0.0-next.18 2024-03-09 14:10:01 +00:00
Dragory
7cd56303fc
refactor: use npm workspaces and ts project references 2024-03-02 09:24:07 +00:00
Dragory
1518d58e25
Merge master 2024-01-27 14:35:11 +02:00
Dragory
59c5176cbd
Merge remote-tracking branch 'origin/master' into iots_to_zod 2024-01-27 14:12:06 +02:00
Dragory
b83f388096
feat: add cli command to export configs as json schema 2024-01-27 12:47:30 +02:00
Dragory
6110b8190c
chore: use @zeppelinbot scope over @zeppelin for package names 2024-01-27 12:45:52 +02:00
Dragory
61b5f3f0d3
feat: add cli command to validate active configs 2024-01-15 22:44:43 +00:00
Dragory
28692962bc
refactor: replace io-ts with zod 2024-01-14 14:25:42 +00:00
Almeida
c07e4321a7
remove erlpack (#444) 2024-01-08 15:35:55 +00:00
Tiago R
43076b3db6 update djs
Signed-off-by: GitHub <noreply@github.com>
2023-12-27 20:20:17 +00:00
Dragory
ee3ef7c77f
fix: broken prod migrations 2023-07-01 16:14:15 +00:00
Dragory
370c3666c7
chore: update backend packages 2023-07-01 12:32:16 +00: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
f3627e0b17 chore: update discord.js to v14.11, knub to v32.0.0-next.16 2023-06-24 12:14:41 +00: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
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
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
d231c72a5b
chore: update to Knub v32.0.0-next.7 2023-04-02 03:17:00 +03:00
Dragory
bd6c73891d
fix: api crash with certain config errors 2023-04-01 22:56:42 +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
218c31231e
Merge branch '220601_docker_wip' 2022-08-07 14:02:44 +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
Dragory
b05fbe1d04
Update to discord.js v13.8.0, adding support for text-in-voice 2022-06-13 21:19:56 +03:00
Dragory
5387d4a82a
chore: update to discord.js 13.7.0 2022-06-01 19:26:43 +03:00
Almeida
280543df4e
chore: update erlpack (#331) 2022-04-04 23:40:28 +03:00
Dragory
0d59a7844c
chore: update backend dependencies to address npm audit issues 2022-04-04 23:18:34 +03:00
Dragory
b9422ce12d
feat: update to discord.js@13.6.0 and discord-api-types@0.31.0 2022-04-04 23:10:07 +03:00
Dragory
9c1568b911
feat: download data exports directly from the server without a JS download step 2021-11-03 01:14:41 +02:00
Dragory
901a723080
feat: remove blocked-at usage
The package never really worked with Zep, causing the
entire bot to freeze instead.
2021-11-02 22:14:44 +02:00
Dragory
3f0c1496dc
chore: remove unnecessary @discordjs/rest dependency 2021-11-02 22:13:36 +02:00
Dragory
9105495d72
feat: upgrade to discord.js v13.3.1 2021-11-02 21:17:00 +02:00
Dragory
13c94a81cc
feat: Phisherman integration 2021-10-31 17:17:31 +02:00