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

1546 commits

Author SHA1 Message Date
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
Dragory
7cd56303fc
refactor: use npm workspaces and ts project references 2024-03-02 09:24:07 +00: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
Dragory
6110b8190c
chore: use @zeppelinbot scope over @zeppelin for package names 2024-01-27 12:45:52 +02:00
Almeida
681b19b69c
fmt 2024-01-23 16:47:58 +00:00
Almeida
be87fe6c43
fix case note on timeout expiration for manual timeouts 2024-01-23 16:36:45 +00:00
Dragory
1b76af3579
fix: cases types 2024-01-15 22:45:07 +00:00
Dragory
61b5f3f0d3
feat: add cli command to validate active configs 2024-01-15 22:44:43 +00:00
Dragory
e4b098b563
fix: automod types 2024-01-15 22:39:27 +00:00
Dragory
5a5be89573
fix: counter types 2024-01-15 22:38:48 +00:00
Dragory
82d720d308
refactor: change LogType to a plain object instead of an enum 2024-01-15 22:37:39 +00:00
Dragory
cbec80981d
feat: improve ZodIssue rendering in config validation 2024-01-15 22:36:10 +00:00
Dragory
ac8926cdb8
chore: fix inconsistent import paths 2024-01-15 18:05:01 +00:00
Dragory
3db9090705
fix: circular dependency in automod types 2024-01-15 18:03:45 +00:00
Miikka
cfadfe2d91
Merge pull request #451 from metal0/disable-guild-member-cache
fix: Disable guildMemberCache plugin temporarily
2024-01-15 19:22:45 +02:00
Tiago R
39e8367f5f
disable guildmembercache
Signed-off-by: GitHub <noreply@github.com>
2024-01-15 12:23:52 +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
Almeida
47ad8fa4d3
only call disableInvites() if value has changed (#443) 2024-01-08 11:15:57 +00:00
Tiago R
f58e7f5eb7
Fix automod cooldown logic (#442)
* fix automod cooldowns

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

* almeida fixes

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

* https://shr2.i0.tf/82e683c8/bd310b9c-7492-44f0-aed5-af6a22a3c196.png

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

---------

Signed-off-by: GitHub <noreply@github.com>
2024-01-07 21:12:50 +00:00
Ben Richeson
094e94f0f4
Add pause_invites automod action (#423)
* feat(AutomodPlugin): toggle invite action

* feat: rename and change config shape

* refactor: rename disable_invites to pause_invites

* fix: make options an object, else setting an action to `false` ignores it
2024-01-05 01:41:12 +00:00
Tiago R
c53bfaa233
remove trimLines
Signed-off-by: GitHub <noreply@github.com>
2023-12-29 17:03:45 +00:00