Miikka
0a38440bca
Merge pull request #475 from rubyowo/feat/pretty_name
...
feat: pretty_name for automod
2024-05-19 13:33:21 +03:00
Ruby
dfb2b82272
feat: pretty_name for automod
2024-05-12 14:55:49 +02:00
Dragory
8ad12a91ad
refactor: remove obsolete index re-exports from /shared
2024-04-09 21:12:35 +03:00
Dragory
5772e27cda
refactor: convert /backend to ESM
2024-04-09 20:57:18 +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
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
7cd56303fc
refactor: use npm workspaces and ts project references
2024-03-02 09:24:07 +00:00
Dragory
6840fb4646
fix: clamp counter values in config
2024-01-27 14:57:57 +02:00
Dragory
873bf7eb99
chore: run prettier
2024-01-27 14:23:13 +02:00
Dragory
59c5176cbd
Merge remote-tracking branch 'origin/master' into iots_to_zod
2024-01-27 14:12:06 +02:00
Dragory
61b5f3f0d3
feat: add cli command to validate active configs
2024-01-15 22:44:43 +00:00
Dragory
82d720d308
refactor: change LogType to a plain object instead of an enum
2024-01-15 22:37:39 +00:00
Dragory
ac8926cdb8
chore: fix inconsistent import paths
2024-01-15 18:05:01 +00:00
Tiago R
d162418be5
Add missing dependency to mutes plugin & fix timeout expiry ( #430 )
...
* +debug
Signed-off-by: GitHub <noreply@github.com>
* Revert "+debug"
This reverts commit 83daee09d9e63ad0c162f4ec30d42b03ab4bdc7f.
* add missing dependency to mutes
Signed-off-by: GitHub <noreply@github.com>
* lower max timeout duration
Signed-off-by: GitHub <noreply@github.com>
---------
Signed-off-by: GitHub <noreply@github.com>
2023-12-27 18:38:26 +00:00
Almeida
cf55eb161f
fix formatting and globs in package.json ( #440 )
2023-12-27 18:30:08 +00:00
Tiago R
48d5696552
add missing "where"
...
Signed-off-by: GitHub <noreply@github.com>
2023-12-22 20:21:22 +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
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
5f194bf1ef
chore: fix lint errors; tweak lint rules
2023-05-08 22:58:51 +03:00
Dragory
16fa19d3e9
chore: prettier
2023-05-08 21:33:40 +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
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
801cd2630b
fix: fix crash when decay period is 0
2022-12-15 00:38:24 +02:00
Dragory
94802a665c
fix: fix expired api permissions not being deleted
2022-08-14 00:06:20 +03:00
Dragory
4a5e8ded75
feat: add DEFAULT_ALLOWED_SERVERS .env value
2022-08-06 22:12:40 +03:00
Dragory
f463abb3e2
Temporarily disable config clean-up
...
The current query doesn't work in MySQL 8.
2022-06-26 15:23:22 +03:00
Dragory
6b44027eb4
Fix error when compiling ormconfig
2022-06-26 15:02:34 +03:00
Dragory
3773d659cc
Consolidate .env files. More work on dev containers.
2022-06-26 14:34:54 +03:00
Dragory
3fe71b3e27
feat: add internal role manager plugin; add role buttons plugin
2022-04-23 16:31:41 +03:00
Dragory
9314d57645
chore: formatter pass
2022-04-23 13:14:08 +03:00
Luke
be5b6a8d49
feat: add check to refreshApiKeyExpiryTime to not refresh long lived keys ( #301 )
2022-04-21 22:47:06 +03:00
Dragory
673ec7b09a
chore: resolve eslint issues
2021-11-03 16:59:08 +02:00
Dragory
fe7872888b
fix(phisherman): fix caught errors still throwing in getPhishermanDomainInfo()
2021-11-03 16:49:27 +02:00
Dragory
fb44a6558f
fix(phisherman): fix api response handling issue when checking subdomains
2021-11-03 03:29:57 +02:00
Dragory
45941e47d6
feat(dashboard): add support for importing/exporting cases
2021-11-03 00:08:01 +02:00
Dragory
31f18ba27f
feat: add editing support to InternalPoster
2021-11-02 23:10:37 +02:00
Dragory
ecd9a5863c
debug(phisherman): gracefully handle and log unexpected API responses
2021-11-02 22:48:54 +02:00
Dragory
ac03711574
feat(phisherman): assume master API key is always valid
2021-11-02 22:16:06 +02:00
Dragory
4179bc4ee1
feat: move log timestamp prepending to log message format; use native timestamps by default
2021-11-02 21:27:08 +02:00
Dragory
65b87f4e0b
fix: add missing queryLogger.ts
2021-11-02 21:03:55 +02:00
Dragory
0064d8fe3e
debug: log query counts based on operation and table
2021-11-02 20:54:47 +02:00
Dragory
d80e642cba
perf: smaller DELETE chunks for saved messages, sleep 1s between batches
2021-11-02 20:08:54 +02:00
Dragory
55a39e0758
feat: use webhooks for logs when possible
2021-11-02 19:59:42 +02:00
Dragory
1081d1b361
fix: fix not being able to catch Phisherman API call errors
2021-11-01 17:10:42 +02:00