3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-03-15 05:41:51 +00:00
Commit graph

1576 commits

Author SHA1 Message Date
Lily Bergonzat
0be54912c4 Merge branch 'master' of github.com:ZeppelinBot/Zeppelin into feat/application-commands 2024-04-15 12:39:01 +02:00
Dragory
b28ca170ed
fix: standalone migrations
Recent fix for dropping/recreating PKs in environments with
sql_require_primary_key=1 also broke the migrations for environments
where the user doesn't have permissions to change the value of the
setting. The standalone setup is such an environment.

This commit changes those migrations so that the PKs are
dropped/recreated as one ALTER TABLE query, no longer requiring
changing the sql_require_primary_key setting.
2024-04-08 21:04:09 +03:00
Dragory
ae03c9e03b
feat: always use DB_* and API_PATH_PREFIX env vars if set 2024-04-07 09:10:02 +00:00
Dragory
1ef7ba8d0f
refactor: simplify db credential handling 2024-04-06 15:36:45 +00:00
Dragory
b40ed5ce49
feat: add api prefix option 2024-04-06 11:54:31 +00:00
Dragory
325341dced
fix: migrations with sql_require_primary_key=1 2024-04-06 11:49: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
Lily Bergonzat
cbec6101e0 Used guildPluginSlashCommand instead of raw blueprints 2024-03-05 05:05:03 +01:00
Dragory
7cd56303fc
refactor: use npm workspaces and ts project references 2024-03-02 09:24:07 +00:00
Lily Bergonzat
7eff7bcaa6 Fixed show option for case and cases commands 2024-02-26 22:23:30 +01:00
Lily Bergonzat
408f1b9c30 Added slash command deferral to avoid timeouts 2024-02-26 22:05:25 +01:00
Lily Bergonzat
ee861bb5e9 Fixed fatal error for massbans 2024-02-24 20:52:41 +01:00
Lily Bergonzat
e879a15aa4 Fixed incomplete attachment list for mass action message commands 2024-02-24 20:46:48 +01:00
Lily Bergonzat
91025d8569 Made mass action reason part of the slash command options 2024-02-24 20:30:11 +01:00
Lily Bergonzat
4d8b6b5cd7 Made confirms ephemeral and fixed slash command duration options 2024-02-24 03:41:43 +01:00
Lily Bergonzat
a49bb81ce1 Fixed ban command 2024-02-22 02:44:46 +01:00
Lily Bergonzat
2874a0cf83 Fixed case type filters 2024-02-22 01:07:19 +01:00
Lily Bergonzat
174e5cc23b Fixed mute command not updating case when no reason 2024-02-20 14:23:43 +01:00
Lily Bergonzat
0fee24e973 Fixed supposed-to-be-ephemeral message not being ephemeral 2024-02-18 17:08:31 +01:00
Lily Bergonzat
e4e7e1c695 Fixed race condition 2024-02-18 01:23:25 +01:00
Lily Bergonzat
ba65ecb48f Made cases commands ephemeral by default 2024-02-17 23:57:01 +01:00
Lily Bergonzat
b428e18fc7 Fixed config parsing error with tags 2024-02-17 22:06:02 +01:00
Lily Bergonzat
cafcc2839e Various fixes 2024-02-17 20:53:49 +01:00
Lily Bergonzat
2c0e4b37ca Merge branch 'master' of github.com:ZeppelinBot/Zeppelin into feat/application-commands 2024-02-16 14:26:34 +01:00
Lily Bergonzat
592d037148 Added Discord attachment link reaction, fixed emoji configuration and moved util functions 2024-02-16 11:51:58 +01:00
Lily Bergonzat
a4c4b17a14 feat: first batch of emojis 🎉 2024-02-14 09:18:40 +01:00
Dragory
ffa9eeb3f5
feat: handle template errors
Fixes ZDEV-20
2024-01-27 16:01:48 +02:00
Dragory
2ce5082018
fix: shorter than 6 character invite codes
Fixes ZDEV-108
2024-01-27 15:05:40 +02:00
Dragory
008ac1bec0
fix: missing imports 2024-01-27 15:04:39 +02:00
Dragory
6840fb4646
fix: clamp counter values in config 2024-01-27 14:57:57 +02:00
Dragory
90c7024b05
chore: run prettier 2024-01-27 14:50:57 +02:00
Dragory
e42bbb953f
fix: use lower casesPerPage
Temporary fix to make it unlikely to go over the 4096 character limit

Needs a proper fix in the future where we pre-render the case
summaries and paginate based on their length.
2024-01-27 14:47:59 +02:00
Dragory
e72abb05b2
Merge master 2024-01-27 14:45:35 +02:00
Miikka
c3601ae7ef
Merge pull request #452 from ZeppelinBot/fix-timeout-expiration-note
fix case note on timeout expiration for manual timeouts
2024-01-27 14:39:44 +02:00
Dragory
710bedd050
chore: run prettier 2024-01-27 14:38:02 +02:00
Dragory
1518d58e25
Merge master 2024-01-27 14:35:11 +02:00
Dragory
873bf7eb99
chore: run prettier 2024-01-27 14:23:13 +02:00
Dragory
77ab2718e7
chore: resolve lint errors 2024-01-27 14:21:32 +02:00
Dragory
59c5176cbd
Merge remote-tracking branch 'origin/master' into iots_to_zod 2024-01-27 14:12:06 +02:00
Dragory
49866d375a
feat: zod config schema formatting 2024-01-27 13:55:26 +02:00
Dragory
7ba318a6d9
chore: centralize common TS config options 2024-01-27 12:50:09 +02:00
Dragory
b83f388096
feat: add cli command to export configs as json schema 2024-01-27 12:47:30 +02:00
Dragory
b0a9cf1bcd
fix: tweaks to config types 2024-01-27 12:46:48 +02:00