Commit Graph

533 Commits

Author SHA1 Message Date
Isaac
bf4d17bd42
bug fixes 2022-10-04 21:23:01 +01:00
Isaac
74c0fd0fd1
fix auto complete 2022-10-04 20:54:48 +01:00
Isaac
96ec85f14a
Add ticket first response 2022-09-30 21:26:29 +01:00
David Ralph
ce6e2b7d8f
optimise by removing unneeded modules and replacing with built-in methods (#344) 2022-09-30 19:21:59 +01:00
Isaac
460138fb73
Progress on message archiving 2022-09-30 17:09:35 +01:00
Isaac
9682fcf22b
trust proxy 2022-09-30 16:58:31 +01:00
Isaac
8e0d9a6a5d
Add sync stdin command 2022-09-30 16:05:28 +01:00
Isaac
10ef6bb617
Add pin command 2022-09-29 16:08:46 +01:00
Isaac
9d46abcbb3
Improve logging 2022-09-26 16:39:32 +01:00
Isaac
7eabce1a83
Add stats posting 2022-09-11 21:11:12 +01:00
Isaac
94c6fc21e7
Question answer & topic encryption 2022-09-11 19:46:53 +01:00
Isaac
98c6f7a445
fix http logging spam, and login loop 2022-09-07 22:15:46 +01:00
Isaac
be0795cde0
Settings reverse proxy (doesn't work) 2022-09-07 21:24:16 +01:00
Isaac
fdce924b22
Complete settings integration 2022-09-06 20:46:18 +01:00
Isaac
c101562dcc
Integrate settings UI 2022-09-06 20:30:28 +01:00
Isaac
98dca5b974
fix edit topic log 2022-09-06 00:19:23 +01:00
Isaac
75be93db77
. 2022-09-06 00:19:23 +01:00
Isaac
b1965909e6
Fix env
`PUBLIC` is a path to the Public user dir on Windows, and !! does not convert a string to a boolean as expected
2022-09-05 12:52:26 +01:00
Isaac
34a4e071b5
Make edit button work 2022-09-05 12:43:27 +01:00
Isaac
44ee84d8f7
Added more logging 2022-09-04 21:20:24 +01:00
Isaac
bae6af96f7
Add exit stdin command 2022-09-04 21:08:36 +01:00
Isaac
84505c2a5f
Add for option to /tag command 2022-09-04 21:04:05 +01:00
Isaac
956648c265
Update ticket autocompleter 2022-09-04 21:00:18 +01:00
Isaac
3697423fda
Fix sqlite middleware 2022-09-04 19:55:32 +01:00
Isaac
f74069deb6
fix: API not working on Windows 2022-08-25 23:35:17 +01:00
Isaac
07af37b4a2
Improve option format 2022-08-17 20:41:51 +01:00
Isaac
4c176d082f
#303 and other stuff 2022-08-13 23:58:41 +01:00
Isaac
c64b18a397
Add message and ticket referencing, fixes 2022-08-13 23:01:44 +01:00
Isaac
f6666b103e
fix DM 2022-08-13 00:21:03 +01:00
Isaac
975d30c261
😭 2022-08-12 23:31:02 +01:00
Isaac
a190c1ac27
Finish pre-open checks, reduce database reads with more caching 2022-08-11 22:59:50 +01:00
Isaac
c6abefe30d
Rename move command to transfer 2022-08-10 19:50:19 +01:00
Isaac
0bc02e808a
Use SQL sort 2022-08-09 22:47:24 +01:00
Isaac
1992072493
Add other checks 2022-08-09 01:19:03 +01:00
Isaac
913465a165
Implement required roles 2022-08-09 00:21:15 +01:00
Isaac
53f00b715b
Implement blocklist 2022-08-09 00:09:28 +01:00
Isaac
5ed394f5c2
fix 2022-08-08 23:43:22 +01:00
Isaac
25d70630a7
Add ticket logging & minor fixes 2022-08-08 23:37:47 +01:00
Isaac
80399cd294
Fix Discord's UI problem 2022-08-08 23:36:45 +01:00
Isaac
f419cbf967
Fix schema issues 2022-08-08 22:38:54 +01:00
Isaac
bc3ccdcb82
ticket creation works 2022-08-08 21:55:09 +01:00
Isaac
01e479dab5
Make progress on ticket creations + fixes 2022-08-08 01:36:14 +01:00
Isaac
fcd390bc9d
Fix DM 2022-08-06 22:55:36 +01:00
Isaac
ae72266b82
Ticket creation rate limiting + fixes 2022-08-06 22:50:28 +01:00
Isaac
efe7ede041
Make sure category hasn't been deleted 2022-08-06 21:58:02 +01:00
Isaac
0a10d91f8d
Closes #288 2022-08-06 21:52:08 +01:00
Isaac
7b692facc1
Add category cache 2022-08-06 21:35:42 +01:00
Isaac
3318ddcaa6
Add presence & placeholders (closes #302) 2022-08-06 21:07:40 +01:00
Isaac
052c159157
start making things 2022-08-05 22:21:55 +01:00
Isaac
cdb8fa04c4
Closes #321 2022-08-05 14:01:19 +01:00
Isaac
954681685a
Add move command 2022-08-02 21:29:44 +01:00
Isaac
b4618aac1b
Create commands 2022-08-02 21:13:32 +01:00
Isaac
e28392352c
Add autocomplete, button, menu, and modal files 2022-08-02 18:03:55 +01:00
Isaac
327573a38a
Add application commands publishing 2022-08-02 17:32:55 +01:00
Isaac
aa51cd0554
Update to @eartharoid/dbf@0.3 2022-08-02 17:25:53 +01:00
Isaac
31635cc7cb
Fix tags 2022-07-25 00:25:26 +01:00
Isaac
5f5ffca74c
Finally "fix" (hack) Prisma middleware bug
Middleware runs twice on question upsert?
2022-07-23 20:28:48 +01:00
Isaac
3de9cd8c3a
Add support for SQLite and PostgreSQL. Also add/fix encryption...
...for a smaller number of fields
2022-07-23 01:44:03 +01:00
Isaac
08e757febf
Add logout & tags endpoints 2022-07-23 01:13:25 +01:00
Isaac
cc97a58165
Select menu question type and finally fix logging diff 2022-07-22 00:17:07 +01:00
Isaac
3a9483dbfb
Remove CONFIG_PATH env var 2022-07-21 14:30:03 +01:00
Isaac
f93d058f55
Panels! 2022-07-21 01:25:37 +01:00
Isaac
98b35e3a81
Finish questions 2022-07-19 22:34:45 +01:00
Isaac
5786c3598d Giving up on encryption
and life
2022-07-19 15:57:19 +01:00
Isaac
28f1e85759 More fixes 2022-07-18 21:53:17 +01:00
Isaac
3a1c0f54bd Node v18, discord.js v14 2022-07-18 13:34:29 +01:00
Isaac
c04787bb80 don't create a new category again 2022-07-17 23:05:12 +01:00
Isaac
4a48ba635a Fix everything (db/encryption, logging etc) 2022-07-17 23:01:00 +01:00
Isaac
24d5e6d99d Fixes and stuff 2022-07-17 22:33:42 +01:00
Isaac
3aa9a9b2c6 Encryption/schema fixes 2022-07-17 19:00:12 +01:00
Isaac
3e3ac50f08 Fix diff 2022-07-17 18:59:58 +01:00
Isaac
5aac998bee new log diff 2022-07-17 14:13:44 +01:00
Isaac
79462e83e6 Settings, encryption, logging 2022-07-16 22:18:50 +01:00
Isaac
97623f3203 Changes 2022-07-15 23:19:42 +01:00
Isaac
145514a86b Add DELETE guild settings route
For completely resetting a guild
2022-05-07 21:28:33 +01:00
Isaac
41ccd778c6 Add GET & POST guild categories routes 2022-05-07 21:16:18 +01:00
Isaac
66b46cf3e2 Add PATCH guild settings route 2022-05-07 18:46:19 +01:00
Isaac
cb4013337f Add GET guild settings route 2022-05-07 18:41:39 +01:00
Isaac
c082552fae Update guilds route 2022-05-07 18:28:38 +01:00
Isaac
ad9bd98933 Add user route 2022-05-07 18:28:22 +01:00
Isaac
a1823a750e Add authentication 2022-05-06 21:17:53 +01:00
Isaac
425e7ab151 en-GB 2022-05-06 11:09:56 +01:00
Isaac
b89328125a prisma 2022-05-06 00:27:27 +01:00
Isaac
e65405c183 Add logging 2022-05-06 00:12:38 +01:00
Isaac
11ec090ab6 Start on API 2022-05-06 00:01:19 +01:00
Isaac
a37d5e7613 First command 2022-05-05 21:47:08 +01:00
Isaac
cbfbf05e8c mjs -> cjs 2022-05-05 21:29:28 +01:00
Isaac
88782ec1a5 Finish database schema 2022-03-22 22:05:22 +00:00
Isaac
e569642240 Start on database schema 2022-03-21 23:28:20 +00:00
Isaac
5ae4da227e Entrypoint, env and config etc 2022-03-18 16:27:32 +00:00
Isaac
83e7ff6019 Reset for new version 2022-03-11 21:09:17 +00:00
Multi
aa50daa3a7
Update Spanish translations (#275) 2022-02-25 15:36:32 +00:00
Justin Nogossek
5436b84617
feat(translations): update Chinese (Traditional) translation
Currently translated at 99.6% (273 of 274 strings)

Translation: Discord Tickets/Bot
Translate-URL: http://i18n.capestar.net/projects/discord-tickets/bot/zh_Hant/
2022-02-24 15:35:12 +00:00
Justin Nogossek
3a01ecad24
feat(translations): update Vietnamese translation
Currently translated at 43.0% (118 of 274 strings)

Translation: Discord Tickets/Bot
Translate-URL: http://i18n.capestar.net/projects/discord-tickets/bot/vi/
2022-02-24 15:35:12 +00:00
Justin Nogossek
07d5e89673
feat(translations): update German translation
Currently translated at 100.0% (274 of 274 strings)

Translation: Discord Tickets/Bot
Translate-URL: http://i18n.capestar.net/projects/discord-tickets/bot/de/
2022-02-24 15:35:12 +00:00
Ari Horesh
6c8d77624c
feat(translations): update Hebrew (Israel) translation
Currently translated at 19.3% (53 of 274 strings)

Translation: Discord Tickets/Bot
Translate-URL: http://i18n.capestar.net/projects/discord-tickets/bot/he_IL/
2022-02-23 07:45:29 +00:00
Excelsior
eb2add7ac6
style: Typo fix (#274)
* Fix typo

* Fixed typo

For stats cmd, TIckets to Tickets
2022-02-23 07:45:26 +00:00
Ari Horesh
453f4c74c3
feat(translations): update Hebrew (Israel) translation
Currently translated at 14.2% (39 of 274 strings)

Translation: Discord Tickets/Bot
Translate-URL: http://i18n.capestar.net/projects/discord-tickets/bot/he_IL/
2022-02-19 21:35:10 +00:00
Isaac
a875e1521d
feat(translations): add Hebrew (Israel) translation 2022-02-18 20:40:32 +00:00
Justin Nogossek
4ddf77bd22
feat(translations): update German translation
Currently translated at 100.0% (274 of 274 strings)

Translation: Discord Tickets/Bot
Translate-URL: http://i18n.capestar.net/projects/discord-tickets/bot/de/
2022-02-06 11:52:23 +00:00
Justin Nogossek
7bf6689616
feat(translations): update English (United Kingdom) translation
Currently translated at 100.0% (274 of 274 strings)

Translation: Discord Tickets/Bot
Translate-URL: http://i18n.capestar.net/projects/discord-tickets/bot/en_GB/
2022-02-06 11:52:22 +00:00
Justin Nogossek
2f54e1ac19
feat(translations): update German translation
Currently translated at 100.0% (274 of 274 strings)

Translation: Discord Tickets/Bot
Translate-URL: http://i18n.capestar.net/projects/discord-tickets/bot/de/
2022-02-05 18:35:05 +00:00
Isaac
1698bbcca6
feat(translations): update Dutch translation
Currently translated at 61.3% (168 of 274 strings)

Translation: Discord Tickets/Bot
Translate-URL: http://i18n.capestar.net/projects/discord-tickets/bot/nl/
2022-02-02 22:35:03 +00:00
Windless
401a854135
feat(translations): update Chinese (Simplified) translation
Currently translated at 100.0% (274 of 274 strings)

Translation: Discord Tickets/Bot
Translate-URL: http://i18n.capestar.net/projects/discord-tickets/bot/zh_Hans/
2022-01-26 07:35:04 +00:00
Windless
4c01e3dec8
feat(translations): update Chinese (Traditional) translation
Currently translated at 100.0% (274 of 274 strings)

Translation: Discord Tickets/Bot
Translate-URL: http://i18n.capestar.net/projects/discord-tickets/bot/zh_Hant/
2022-01-25 07:13:27 +00:00
Windless
e768f2f12e
feat(translations): add Chinese (Simplified) translation 2022-01-25 07:10:31 +00:00
Windless
07e41d6946
feat(translations): update Chinese (Traditional) translation
Currently translated at 100.0% (274 of 274 strings)

Translation: Discord Tickets/Bot
Translate-URL: http://i18n.capestar.net/projects/discord-tickets/bot/zh_Hant/
2022-01-25 07:01:50 +00:00
Oliwier Thomas
3c3b7ec63e
feat(translations): update Polish translation
Currently translated at 50.0% (137 of 274 strings)

Translation: Discord Tickets/Bot
Translate-URL: http://i18n.capestar.net/projects/discord-tickets/bot/pl/
2022-01-21 12:52:57 +00:00
Jonas W
30bd6f0238
feat(translations): update German translation
Currently translated at 58.0% (159 of 274 strings)

Translation: Discord Tickets/Bot
Translate-URL: http://i18n.capestar.net/projects/discord-tickets/bot/de/
2022-01-11 14:34:52 +00:00
Emma Johnson
afe84acc9d
Fix some language errors lmfao (#258) 2021-12-27 16:19:57 +00:00
林奈柔
81766857b3
feat(translations): update Chinese (Traditional) translation
Currently translated at 1.0% (3 of 274 strings)

Translation: Discord Tickets/Bot
Translate-URL: http://i18n.capestar.net/projects/discord-tickets/bot/zh_Hant/
2021-12-11 04:21:56 +00:00
林奈柔
d686bf334f
feat(translations): add Chinese (Traditional) translation 2021-12-10 03:40:55 +00:00
Iris
7903cdbea0
feat(translations): update French translation
Currently translated at 90.5% (248 of 274 strings)

Translation: Discord Tickets/Bot
Translate-URL: http://i18n.capestar.net/projects/discord-tickets/bot/fr/
2021-12-01 22:21:54 +00:00
Seya
d72b51ae9e
feat(translations): update Korean translation
Currently translated at 49.2% (135 of 274 strings)

Translation: Discord Tickets/Bot
Translate-URL: http://i18n.capestar.net/projects/discord-tickets/bot/ko/
2021-11-21 12:21:47 +00:00
Bruno Babica
fdaeee9a7c
feat(translations): update Czech translation
Currently translated at 50.7% (139 of 274 strings)

Translation: Discord Tickets/Bot
Translate-URL: http://i18n.capestar.net/projects/discord-tickets/bot/cs/
2021-11-16 20:21:45 +00:00
PierreG
f3ac834263
feat(translations): update French translation
Currently translated at 56.2% (154 of 274 strings)

Translation: Discord Tickets/Bot
Translate-URL: http://i18n.capestar.net/projects/discord-tickets/bot/fr/
2021-11-15 06:21:45 +00:00
Alejandro Q
09510512b3
feat(translations): update Spanish translation
Currently translated at 61.3% (168 of 274 strings)

Translation: Discord Tickets/Bot
Translate-URL: http://i18n.capestar.net/projects/discord-tickets/bot/es/
2021-11-15 06:21:45 +00:00
Ismael Maneh
697a1be7ae
feat(translations): update Spanish translation
Currently translated at 61.3% (168 of 274 strings)

Translation: Discord Tickets/Bot
Translate-URL: http://i18n.capestar.net/projects/discord-tickets/bot/es/
2021-11-15 06:21:45 +00:00
Filip
9ba39174d8
feat(translations): update Czech translation
Currently translated at 48.1% (132 of 274 strings)

Translation: Discord Tickets/Bot
Translate-URL: http://i18n.capestar.net/projects/discord-tickets/bot/cs/
2021-11-01 18:21:39 +00:00
Lennard
a3e7ffc247
feat(translations): update German translation
Currently translated at 54.3% (149 of 274 strings)

Translation: Discord Tickets/Bot
Translate-URL: http://i18n.capestar.net/projects/discord-tickets/bot/de/
2021-10-27 20:21:37 +00:00
Isaac
f49a044340
Revert "Merge remote-tracking branch 'origin/main' into main"
This reverts commit feb116b4df.
2021-10-26 23:35:18 +01:00
Isaac
e38b66e4dd
fix: problem caused by previous #250 fix 2021-10-26 20:27:42 +01:00
Isaac
f8121771f7
Merge remote-tracking branch 'origin/main' into main 2021-10-26 16:59:19 +01:00
Isaac
7411fb9c39
fix(settings): role ID parsing
Fixes Discord's dumb `,` problem and also allows writing something like `none` to clear the array
2021-10-26 16:59:14 +01:00
Isaac
d3ed6405db
fix: #250 by deferring then editing the reply 2021-10-26 16:58:06 +01:00
MAXOUXAX
092922bb54
feat(translations): update French translation
Currently translated at 54.3% (149 of 274 strings)

Translation: Discord Tickets/Bot
Translate-URL: http://i18n.capestar.net/projects/discord-tickets/bot/fr/
2021-10-19 20:13:59 +00:00
Steven Schröter
5431ea8afa
feat(translations): update German translation
Currently translated at 50.0% (137 of 274 strings)

Translation: Discord Tickets/Bot
Translate-URL: http://i18n.capestar.net/projects/discord-tickets/bot/de/
2021-10-19 20:13:58 +00:00
time
7302be78a6
feat(translations): update Vietnamese translation
Currently translated at 43.7% (120 of 274 strings)

Translation: Discord Tickets/Bot
Translate-URL: http://i18n.capestar.net/projects/discord-tickets/bot/vi/
2021-10-16 15:27:44 +00:00
time
83dab799ec
feat(translations): update Vietnamese translation
Currently translated at 17.1% (47 of 274 strings)

Translation: Discord Tickets/Bot
Translate-URL: http://i18n.capestar.net/projects/discord-tickets/bot/vi/
2021-10-15 10:27:42 +00:00
time
6b9c54cadf
feat(translations): add Vietnamese translation 2021-10-14 09:10:47 +00:00
Benke Tamás
f4e7077358
feat(translations): update Hungarian translation
Currently translated at 100.0% (274 of 274 strings)

Translation: Discord Tickets/Bot
Translate-URL: http://i18n.capestar.net/projects/discord-tickets/bot/hu/
2021-10-08 20:21:12 +00:00
notninelel
8ddfc3f32e
feat(translations): update Thai translation
Currently translated at 52.1% (143 of 274 strings)

Translation: Discord Tickets/Bot
Translate-URL: http://i18n.capestar.net/projects/discord-tickets/bot/th/
2021-10-08 20:21:12 +00:00
Emil Nielsen
ea38a3652f
feat(translations): update Danish translation
Currently translated at 100.0% (274 of 274 strings)

Translation: Discord Tickets/Bot
Translate-URL: http://i18n.capestar.net/projects/discord-tickets/bot/da/
2021-10-08 20:21:11 +00:00
Emil Nielsen
e94c999705
feat(translations): update Danish translation
Currently translated at 100.0% (274 of 274 strings)

Translation: Discord Tickets/Bot
Translate-URL: http://i18n.capestar.net/projects/discord-tickets/bot/da/
2021-10-07 16:01:20 +00:00
Isaac
678e9413a6
chore: remove bad upgrade code 2021-10-07 13:59:54 +01:00
Isaac
dae9a8c0d0
fix: convert surveys to buttons 2021-10-07 12:21:44 +01:00
Isaac
c607771c9e
fix: creating multi-category panels in non-english locales
The Discord client replaces `,` with `.` in some locales (why!!?). This removes the requirement for category IDs to be separated by commas.
2021-10-07 11:49:07 +01:00
Isaac
4146665e13
Merge remote-tracking branch 'origin/main' into main 2021-10-07 11:28:01 +01:00
Isaac
09d9c4d5a2
fix: new lines in opening message and panels 2021-10-07 11:27:54 +01:00
Isaac
eb964ab85b
fix: setting opening questions 2021-10-07 11:27:31 +01:00
Benke Tamás
09f594ef08
feat(translations): update Hungarian translation
Currently translated at 100.0% (268 of 268 strings)

Translation: Discord Tickets/Bot
Translate-URL: http://i18n.capestar.net/projects/discord-tickets/bot/hu/
2021-10-07 10:10:18 +00:00
Emil Nielsen
90fa8883dc
feat(translations): update Danish translation
Currently translated at 100.0% (268 of 268 strings)

Translation: Discord Tickets/Bot
Translate-URL: http://i18n.capestar.net/projects/discord-tickets/bot/da/
2021-10-07 10:10:18 +00:00
Isaac
6d21838f7f
fix: tag command errors 2021-10-07 11:10:06 +01:00
Isaac
c3ac408733
fix: anyone being able to close any ticket 2021-10-07 11:09:53 +01:00
Benke Tamás
150e9d5393
feat(translations): update Hungarian translation
Currently translated at 49.6% (133 of 268 strings)

Translation: Discord Tickets/Bot
Translate-URL: http://i18n.capestar.net/projects/discord-tickets/bot/hu/
2021-10-05 19:58:30 +00:00
Emil Nielsen
78a539d376
feat(translations): update Danish translation
Currently translated at 100.0% (268 of 268 strings)

Translation: Discord Tickets/Bot
Translate-URL: http://i18n.capestar.net/projects/discord-tickets/bot/da/
2021-10-05 19:58:28 +00:00
Almos
6ea9302e46
feat(translations): update Hungarian translation
Currently translated at 16.0% (43 of 268 strings)

Translation: Discord Tickets/Bot
Translate-URL: http://i18n.capestar.net/projects/discord-tickets/bot/hu/
2021-10-02 17:35:55 +00:00
Alejandro Q
18108896e8
feat(translations): update Spanish translation
Currently translated at 60.4% (162 of 268 strings)

Translation: Discord Tickets/Bot
Translate-URL: http://i18n.capestar.net/projects/discord-tickets/bot/es/
2021-10-01 00:35:54 +00:00
Weblate
814a4431fc
feat(translations): update translation files
Updated by "Cleanup translation files" hook in Weblate.

Translation: Discord Tickets/Bot
Translate-URL: http://i18n.capestar.net/projects/discord-tickets/bot/
2021-09-27 17:35:59 +00:00
Pedro Miguel Trindade dos Santos
55e1e310c5
feat(translations): update Portuguese translation
Currently translated at 100.0% (268 of 268 strings)

Translation: Discord Tickets/Bot
Translate-URL: http://i18n.capestar.net/projects/discord-tickets/bot/pt/
2021-09-27 17:35:57 +00:00