Commit Graph

581 Commits

Author SHA1 Message Date
Isaac
b61b3dd2b1
Respond with error messages
instead of giving the user no information.
2022-10-31 15:35:41 +00:00
Isaac
76ed77fe0c
fix: typo 2022-10-31 14:17:59 +00:00
Isaac
4f0e91f269
integrated portal 2022-10-31 13:45:49 +00:00
Isaac
4b40f2cdbd
feat: add /transfer command 2022-10-29 19:59:09 +01:00
Isaac
26ab229c97
feat: add target ID 2022-10-29 00:54:38 +01:00
Isaac
1ecb6f5d32
fix: typo 2022-10-29 00:54:19 +01:00
Isaac
77216ba43d
feat: add ticket claiming 2022-10-29 00:33:19 +01:00
Isaac
15318df9e4
feat: /add and /remove commands 2022-10-28 17:32:43 +01:00
Isaac
1843400004
refactor: simplify commands i18n 2022-10-26 18:58:46 +01:00
Isaac
c6f1261478
feat: add /tickets command 2022-10-26 14:13:45 +01:00
Isaac
119f997ffe
fix: unnecessary message update logs 2022-10-26 11:34:55 +01:00
Isaac
9a916339ef
fix: only allow /topic in tickets 2022-10-26 10:26:43 +01:00
Isaac
72e264d04c
feat: add help hint for invalid stdin commands 2022-10-26 01:06:26 +01:00
Isaac
7417005782
perf: reduce database data transfer 2022-10-26 00:46:07 +01:00
Isaac
09095f71c1
perf: improve ticket/references autocompleters (and de-duplicate) 2022-10-26 00:41:40 +01:00
Isaac
f27feea2f9
feat: add /topic command 2022-10-25 22:56:13 +01:00
Isaac
30883032b7
fix(archives): role and member bug 2022-10-25 22:55:53 +01:00
Isaac
7812e62776
fix(logging): don't send empty changelogs
The previous fix didn't work because `{}` is true, not false as expected.
2022-10-25 22:53:12 +01:00
Isaac
066eb954e3
feat(archives): update transcript template
so it can actually be parsed as markdown if wanted
2022-10-24 23:53:42 +01:00
Isaac
92d5a7ed96
feat(archives): add transcript command 2022-10-24 20:17:40 +01:00
Isaac
7864c8d544
fix(logging): don't send empty changelogs 2022-10-24 20:16:56 +01:00
Isaac
0436952327
fix(logging): ignore ephemeral message updates 2022-10-24 18:24:53 +01:00
Isaac
ecd23a150a
refactor: remove cryptr prefix 2022-10-24 17:44:07 +01:00
Isaac
bb4f872c41
Archive & log message updates/deletes 2022-10-18 17:25:45 +01:00
Isaac
59c6ab3537
Make /tag and auto tag replies work
(very cool)
2022-10-18 16:39:03 +01:00
Isaac
8176293089
Add category option for closing multiple tickets 2022-10-16 14:16:38 +01:00
Isaac
9b0a1fe50f
Add new /transfer (ownership) command 2022-10-16 14:11:40 +01:00
Isaac
5b95610338
rename /transfer back to /move 2022-10-16 14:07:10 +01:00
Isaac
33d61869d8
Fix ticket and references autocompleters 2022-10-11 21:28:53 +01:00
Isaac
83ab003db5
fix command options & types
and start on closing
2022-10-11 21:24:09 +01:00
Isaac
4469aa4920
fix referencing messages 2022-10-11 20:12:40 +01:00
Isaac
f7b5031aab
Add message reference (for replies) to archives 2022-10-11 18:58:02 +01:00
Isaac
54506cf422
fix embeds 2022-10-11 18:49:39 +01:00
Marius
2bb9873be8
Rename trasnfer.js to transfer.js (#349) 2022-10-10 21:44:07 +01:00
Isaac
e4b104eb7e
👌 2022-10-10 20:14:00 +01:00
Isaac
6f535e7149
help 2022-10-10 15:44:13 +01:00
Isaac
35ad490ba6
improve error handling 2022-10-10 12:49:34 +01:00
Isaac
fbc2b8c6b9
stdin help 2022-10-06 14:39:37 +01:00
Isaac
507e963efc
update /force-close options 2022-10-06 12:49:38 +01:00
Isaac
52d880a038
disable warnings 2022-10-05 19:55:52 +01:00
Isaac
525e752833
speed 2022-10-05 19:55:08 +01:00
Isaac
b4238e26a1
fixes 2022-10-05 18:26:20 +01:00
Isaac
fad1abf579
log ticket update 2022-10-05 18:21:53 +01:00
Isaac
3f8663675d
remove bad code 2022-10-05 18:17:13 +01:00
Isaac
6c49544e7a
count user messages 2022-10-05 18:15:53 +01:00
Isaac
8ea372ea36
Add /priority command 2022-10-05 18:04:29 +01:00
Isaac
8b55c351ad
why 2022-10-05 17:09:08 +01:00
Isaac
c2fe7f73d1
env 2022-10-05 00:35:54 +01:00
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