Commit Graph

695 Commits

Author SHA1 Message Date
Lasse15
e68ece2207
feat(i18n): update German translations [skip ci]
Currently translated at 98.1% (270 of 275 strings)

Co-authored-by: Lasse15 <accounts@lasse-it.de>
Translate-URL: https://hosted.weblate.org/projects/discord-tickets/bot/de/
Translation: Discord Tickets/Bot
2023-06-02 20:53:24 +02:00
Manfred.exe
a1f575ebbd
feat(i18n): update German translations [skip ci]
Currently translated at 98.1% (270 of 275 strings)

Co-authored-by: Manfred.exe <max.clasani@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/discord-tickets/bot/de/
Translation: Discord Tickets/Bot
2023-06-02 20:53:23 +02:00
Lasse15
3bfe8b5bbc
feat(i18n): update German translations [skip ci]
Currently translated at 96.3% (265 of 275 strings)

Co-authored-by: Lasse15 <accounts@lasse-it.de>
Translate-URL: https://hosted.weblate.org/projects/discord-tickets/bot/de/
Translation: Discord Tickets/Bot
2023-06-01 03:48:35 +02:00
Manfred.exe
dc60c8b3bc
feat(i18n): update German translations [skip ci]
Currently translated at 96.3% (265 of 275 strings)

Co-authored-by: Manfred.exe <max.clasani@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/discord-tickets/bot/de/
Translation: Discord Tickets/Bot
2023-06-01 03:48:35 +02:00
Isaac
562e6b874d
fix: changelog URL 2023-05-31 21:20:18 +01:00
Isaac
797f85153c
fix: remove unintentional console.log() 2023-05-31 20:46:06 +01:00
Isaac
be6a0459a6
feat: strip trailing slash rather than complaining about it 2023-05-31 15:24:58 +01:00
Isaac
fbc08c6cd0
fix: creating the first ticket in a new guild (closes #428)
Previously required `sync`ing (or restarting) to avoid the ticket number error.
2023-05-31 15:11:41 +01:00
Isaac
8f51ff885c
feat: finish user create command (closes #291) 2023-05-30 00:25:25 +01:00
Isaac
540ee547ea
feat: finish /force-close command (closes #311) 2023-05-29 23:15:50 +01:00
Isaac
6b066c177a
fix(logging): don't log useless messageDelete events 2023-05-29 23:01:36 +01:00
Isaac
f1029b8320
fix: infinite feedback loop (closes #407) 2023-05-29 18:47:30 +01:00
Isaac
6f36ef9204
fix: ticket close DM 2023-05-29 18:41:59 +01:00
Isaac
6f227f2f48
style: change banner text 2023-05-29 18:09:04 +01:00
Isaac
f69bc9a185
fix: inactivity warning spam 2023-05-27 21:11:03 +01:00
Isaac
c3620309bd
fix: remove footer from close request embed 2023-05-27 01:57:15 +01:00
Isaac
3a47a7df3f
feat: inactivity warnings and automatic closure (closes #299 and #305) 2023-05-27 01:56:29 +01:00
Isaac
921bdfa447
fix(working hours): invalid timestamps with timezones (closes #417) 2023-05-26 16:11:31 +01:00
Isaac
f07e157642
fix: Infinity stats 2023-05-26 15:55:38 +01:00
Isaac
5b4f69ec9e
fix: NaN stats 2023-05-25 16:23:25 +01:00
Isaac
d1267360c8
fix: closing ticket with missing creator (closes #401) 2023-05-24 22:20:29 +01:00
Isaac
a44539914e
fix: allow staff to get transcripts of other members (closes #400) 2023-05-24 22:04:19 +01:00
Isaac
afa0123d22
perf: select 10 rows in SQL rather than JS 2023-05-24 21:04:28 +01:00
Isaac
22b15d7fd7
refactor: ticket logs 2023-05-24 20:50:10 +01:00
Isaac
cdfdf72026
fix: HTTP log colours 2023-05-24 16:24:19 +01:00
Jiri Nakola
0a73633ea9
feat(i18n): update Finnish translations [skip ci]
Currently translated at 32.5% (84 of 258 strings)

Co-authored-by: Jiri Nakola <github@nakola.fi>
Translate-URL: https://hosted.weblate.org/projects/discord-tickets/bot/fi/
Translation: Discord Tickets/Bot
2023-05-24 07:50:46 +02:00
Isaac
739efdcc3a
fix: guild selector not filtering guilds (closes #408) 2023-05-23 16:51:19 +01:00
Isaac
fa921fa5a6
fix: duplicated ticket numbers (fixes #418)
Now there is a change that a number will be skipped (if there's an error), but that isn't a problem.
2023-05-23 16:31:53 +01:00
Isaac
a4696273ea
fix: ticket creation 2023-05-23 16:29:51 +01:00
Isaac
1992ff641c
feat: version stdin command (closes #402) 2023-05-23 12:29:03 +01:00
Jörn Weigend
f8450af34e
feat(i18n): update German translations [skip ci]
Currently translated at 95.3% (246 of 258 strings)

Co-authored-by: Jörn Weigend <das.jott@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/discord-tickets/bot/de/
Translation: Discord Tickets/Bot
2023-05-07 20:50:54 +02:00
Ettore Atalan
6a25e3efb9
feat(i18n): update German translations [skip ci]
Currently translated at 95.3% (246 of 258 strings)

Co-authored-by: Ettore Atalan <atalanttore@googlemail.com>
Translate-URL: https://hosted.weblate.org/projects/discord-tickets/bot/de/
Translation: Discord Tickets/Bot
2023-05-07 20:50:53 +02:00
Isaac
cf93f085ac
fix(stats): average response/resolution times 2023-05-06 00:06:39 +01:00
i3sey
d7e538ee3c
feat(i18n): update Russian translations [skip ci]
Currently translated at 7.3% (19 of 258 strings)

Co-authored-by: i3sey <deniskedrovsky@mail.ru>
Translate-URL: https://hosted.weblate.org/projects/discord-tickets/bot/ru/
Translation: Discord Tickets/Bot
2023-04-29 22:51:56 +02:00
Alexander Morozov
ac58cdea97
feat(i18n): update Russian translations [skip ci]
Currently translated at 7.3% (19 of 258 strings)

Co-authored-by: Alexander Morozov <vorgan@me.com>
Translate-URL: https://hosted.weblate.org/projects/discord-tickets/bot/ru/
Translation: Discord Tickets/Bot
2023-04-29 22:51:55 +02:00
Kirill Plotnikov
1dd4449260
feat(i18n): update Russian translations [skip ci]
Currently translated at 7.3% (19 of 258 strings)

Co-authored-by: Kirill Plotnikov <ponfertato@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/discord-tickets/bot/ru/
Translation: Discord Tickets/Bot
2023-04-29 22:51:55 +02:00
Uzurka
d577b9d057
fix(api): logout (#415)
* Fixed logout

Fixed users can't logout

* Update logout.js

* Fix ESLint
2023-04-28 21:33:06 +01:00
Shinaii
6b70e315b5
feat(i18n): update German translations [skip ci]
Currently translated at 93.4% (241 of 258 strings)

Co-authored-by: Shinaii <niklas20013@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/discord-tickets/bot/de/
Translation: Discord Tickets/Bot
2023-04-17 01:51:36 +02:00
Isaac
4010b9735c
feat(i18n): add Greek translations [skip ci]
Co-authored-by: Isaac <git@eartharoid.me>
2023-03-31 15:08:57 +02:00
Isaac
36b9fd3502
fix: use channel not message.channel 2023-03-28 23:08:58 +01:00
Isaac
68e3ba69a9
fix(i18n): remove disallowed /claim command name 2023-03-24 19:14:39 +00:00
Isaac
b6d0c0e1df
fix(i18n): lowercase command name (fr) 2023-03-24 19:11:57 +00:00
Isaac
59dec28804
feat: notify when staff are offline (closes #304) 2023-03-23 21:48:46 +00:00
Noel Horvath
ee90fed50a
feat(i18n): update Hungarian translations [skip ci]
Currently translated at 99.6% (255 of 256 strings)

Co-authored-by: Noel Horvath <noelhorvath@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/discord-tickets/bot/hu/
Translation: Discord Tickets/Bot
2023-03-23 14:41:49 +01:00
Isaac
faf6edc463
feat: working hours (#304) 2023-03-17 21:45:53 +00:00
Isaac
8b692fa5e2
fix: update categories cache when guild settings are changed 2023-03-17 21:42:47 +00:00
Isaac
757f77fb1d
fix: infinite redirect when logging in
by setting `Same-Site=Lax`: https://bugs.chromium.org/p/chromium/issues/detail?id=696204#c41
2023-03-13 17:04:42 +00:00
Isaac
6773d9ddbe
feat: add API service keys 2023-03-12 22:21:21 +00:00
Ludovic CHEVALIER
f23b7522e8
feat(i18n): update French translations [skip ci]
Currently translated at 100.0% (252 of 252 strings)

Co-authored-by: Ludovic CHEVALIER <me@uzurka.fr>
Translate-URL: https://hosted.weblate.org/projects/discord-tickets/bot/fr/
Translation: Discord Tickets/Bot
2023-03-12 01:56:39 +01:00
Isaac
788f0fee05
fix: http log spam 2023-03-11 00:14:24 +00:00
Isaac
be7f431746
fix: settings app
needed `ORIGIN` environment variable
2023-03-11 00:11:54 +00:00
Isaac
96b5c92743
feat: settings v2 2023-03-10 23:47:43 +00:00
Isaac
cd71843bb0
feat: public bot warnings 2023-03-10 23:47:12 +00:00
Isaac
26329453ed
fix: cache commands at startup 2023-03-10 23:46:56 +00:00
Isaac
aeb4450a56
feat: oauth2 callback redirect (closes #333) 2023-03-10 23:46:24 +00:00
Isaac
f55ee02ce5
fix: revoke token on logout 2023-03-10 23:42:51 +00:00
Isaac
daadb5fe85
fix: check roles for staff-only commands 2023-03-10 23:42:51 +00:00
Isaac
b14f057dd0
feat: update command permissions (closes #392) 2023-03-10 23:42:51 +00:00
Isaac
b8c2a7cc13
fix(i18n): broken translations 2023-03-10 00:25:07 +00:00
Isaac
ea9d3e4e33
feat(api): show guilds that the bot isn't in 2023-03-10 00:24:33 +00:00
Isaac
25d7cdaee8
fix: catch errors 2023-03-09 18:48:52 +00:00
Isaac
f89419f4d0
Merge remote-tracking branch 'origin/v4' into v4 2023-03-06 22:09:11 +00:00
Isaac
6133a3d59f
feat: update checker 2023-03-06 22:09:05 +00:00
Noel Horvath
955feda708
feat(i18n): update Hungarian translations [skip ci]
Currently translated at 99.5% (243 of 244 strings)

Co-authored-by: Noel Horvath <noelhorvath@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/discord-tickets/bot/hu/
Translation: Discord Tickets/Bot
2023-03-06 04:40:24 +01:00
Ondráš
de825a5d81
feat(i18n): update Czech translations [skip ci]
Currently translated at 57.3% (140 of 244 strings)

Co-authored-by: Ondráš <ondrmox@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/discord-tickets/bot/cs/
Translation: Discord Tickets/Bot
2023-03-03 23:36:49 +01:00
Gdany
ad3abe1094
feat(i18n): update Czech translations [skip ci]
Currently translated at 57.3% (140 of 244 strings)

Co-authored-by: Gdany <gdanyxor@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/discord-tickets/bot/cs/
Translation: Discord Tickets/Bot
2023-03-03 23:36:49 +01:00
i3sey
ebcf81f8d3
feat(i18n): update Russian translations [skip ci]
Currently translated at 0.8% (2 of 244 strings)

Co-authored-by: i3sey <deniskedrovsky@mail.ru>
Translate-URL: https://hosted.weblate.org/projects/discord-tickets/bot/ru/
Translation: Discord Tickets/Bot
2023-03-02 18:37:17 +01:00
Ondráš
d6897e2654
feat(i18n): update Czech translations [skip ci]
Currently translated at 44.6% (109 of 244 strings)

Co-authored-by: Ondráš <ondrmox@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/discord-tickets/bot/cs/
Translation: Discord Tickets/Bot
2023-02-27 22:37:01 +01:00
Gdany
8843f306a7
feat(i18n): update Czech translations [skip ci]
Currently translated at 44.6% (109 of 244 strings)

Co-authored-by: Gdany <gdanyxor@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/discord-tickets/bot/cs/
Translation: Discord Tickets/Bot
2023-02-27 22:37:00 +01:00
Hawexx
325fe1d1c0
feat(i18n): update Turkish translations [skip ci]
Currently translated at 2.8% (7 of 244 strings)

Co-authored-by: Hawexx <kuzeycandemir01@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/discord-tickets/bot/tr/
Translation: Discord Tickets/Bot
2023-02-26 02:43:16 +01:00
sgtJohnny
12d97ee816
feat(i18n): update German translations [skip ci]
Currently translated at 99.5% (243 of 244 strings)

Co-authored-by: sgtJohnny <info@swissnixie.com>
Translate-URL: https://hosted.weblate.org/projects/discord-tickets/bot/de/
Translation: Discord Tickets/Bot
2023-02-26 02:43:15 +01:00
Hawexx
42bfb17b5b
feat(i18n): update Turkish translations [skip ci]
Currently translated at 2.0% (5 of 244 strings)

Co-authored-by: Hawexx <kuzeycandemir01@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/discord-tickets/bot/tr/
Translation: Discord Tickets/Bot
2023-02-25 20:03:58 +01:00
Isaac
f97a7ab61c
fix: default to production 2023-02-24 00:18:38 +00:00
Isaac
adab3831fa
feat: add PUBLISH_COMMANDS environment variable 2023-02-23 22:40:14 +00:00
Isaac
ea3413d8cb
feat: validate environment variables at startup 2023-02-23 21:53:18 +00:00
Dowík Botík
7cc75b8f35
feat(i18n): update Czech translations [skip ci]
Currently translated at 42.6% (104 of 244 strings)

Co-authored-by: Dowík Botík <thelegenddowy1@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/discord-tickets/bot/cs/
Translation: Discord Tickets/Bot
2023-02-22 02:47:40 +01:00
Gdany
f87d7e38bc
feat(i18n): update Czech translations [skip ci]
Currently translated at 42.2% (103 of 244 strings)

Co-authored-by: Gdany <gdanyxor@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/discord-tickets/bot/cs/
Translation: Discord Tickets/Bot
2023-02-21 20:31:35 +01:00
Dowík Botík
61571f8007
feat(i18n): update Czech translations [skip ci]
Currently translated at 42.2% (103 of 244 strings)

Co-authored-by: Dowík Botík <thelegenddowy1@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/discord-tickets/bot/cs/
Translation: Discord Tickets/Bot
2023-02-21 20:31:34 +01:00
G R
68765e530b
feat(i18n): update Italian translations [skip ci]
Currently translated at 10.6% (26 of 244 strings)

Co-authored-by: G R <gradaellig@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/discord-tickets/bot/it/
Translation: Discord Tickets/Bot
2023-02-17 22:38:41 +01:00
Phil
259a033752
feat(i18n): update Italian translations [skip ci]
Currently translated at 10.6% (26 of 244 strings)

Co-authored-by: Phil <me@criobits.me>
Translate-URL: https://hosted.weblate.org/projects/discord-tickets/bot/it/
Translation: Discord Tickets/Bot
2023-02-17 22:38:41 +01:00
Isaac
7e3ab21325
Merge remote-tracking branch 'origin/v4' into v4 2023-02-17 15:01:05 +00:00
Isaac
7b632ec54b
refactor: remove pad dependency
because it can be done in vanilla JS just as easily
2023-02-17 14:23:51 +00:00
Alessio Aquilano
46225f215d
feat(i18n): update Italian translations [skip ci]
Currently translated at 4.0% (10 of 244 strings)

Co-authored-by: Alessio Aquilano <srmalossi@hotmail.it>
Translate-URL: https://hosted.weblate.org/projects/discord-tickets/bot/it/
Translation: Discord Tickets/Bot
2023-02-17 04:39:06 +01:00
Phil
ab470f948b
feat(i18n): update Italian translations [skip ci]
Currently translated at 4.0% (10 of 244 strings)

Co-authored-by: Phil <me@criobits.me>
Translate-URL: https://hosted.weblate.org/projects/discord-tickets/bot/it/
Translation: Discord Tickets/Bot
2023-02-17 04:39:06 +01:00
Isaac
65eb2a3e86
feat: use long format for category time stats 2023-02-16 21:12:37 +00:00
Isaac
6f97e4adc8
feat(i18n): add Dutch translations [skip ci]
Co-authored-by: Isaac <git@eartharoid.me>
2023-02-14 23:36:20 +01:00
sgtJohnny
ecf95100c0
feat(i18n): update German translations [skip ci]
Currently translated at 98.7% (241 of 244 strings)

Co-authored-by: sgtJohnny <info@swissnixie.com>
Translate-URL: https://hosted.weblate.org/projects/discord-tickets/bot/de/
Translation: Discord Tickets/Bot
2023-02-14 03:41:06 +01:00
Isaac
c3d6d70316
style: lint 2023-02-13 15:07:05 +00:00
sgtJohnny
c03eafd329
Translated using Weblate (German)
Currently translated at 98.3% (240 of 244 strings)

Co-authored-by: sgtJohnny <info@swissnixie.com>
Translate-URL: https://hosted.weblate.org/projects/discord-tickets/bot/de/
Translation: Discord Tickets/Bot
2023-02-13 05:37:55 +01:00
sgtJohnny
a79141dd79
Translated using Weblate (German)
Currently translated at 79.5% (194 of 244 strings)

Co-authored-by: sgtJohnny <info@swissnixie.com>
Translate-URL: https://hosted.weblate.org/projects/discord-tickets/bot/de/
Translation: Discord Tickets/Bot
2023-02-12 22:39:22 +01:00
sgtJohnny
1614e6bceb
Translated using Weblate (German)
Currently translated at 78.2% (191 of 244 strings)

Co-authored-by: sgtJohnny <info@swissnixie.com>
Translate-URL: https://hosted.weblate.org/projects/discord-tickets/bot/de/
Translation: Discord Tickets/Bot
2023-02-12 01:59:43 +01:00
Isaac
b4ab7524e2
fix: uncomment 2023-02-10 23:34:00 +00:00
Isaac
ced14ce36a
fix: response & resolution time stats 2023-02-10 23:32:44 +00:00
Isaac
a953308532
fix: make /move edit the channel name and permission overwrites 2023-02-10 14:47:13 +00:00
Isaac
dc507df912
Merge remote-tracking branch 'origin/v4' into v4 2023-02-09 22:23:14 +00:00
Isaac
be58072e5c
😐 2023-02-09 22:23:08 +00:00
Phil
b4521e8657
Translated using Weblate (Italian)
Currently translated at 0.8% (2 of 235 strings)

Co-authored-by: Phil <me@criobits.me>
Translate-URL: https://hosted.weblate.org/projects/discord-tickets/bot/it/
Translation: Discord Tickets/Bot
2023-02-09 23:22:51 +01:00
Isaac
42ad5216f6
fix: update reject button correctly 2023-02-09 22:22:47 +00:00
Isaac
a0ffbae36d
feat: make closed ticket DM more useful 2023-02-09 21:51:28 +00:00
Isaac
5982754813
fix: decrypt referenced ticket's topic 2023-02-09 21:51:08 +00:00