Commit Graph

648 Commits

Author SHA1 Message Date
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
Isaac
34c3ed1b6a
fix: /topic command when there was previously no topic 2023-02-09 21:50:50 +00:00
Isaac
c5f092ce2f
refactor 2023-02-09 17:40:25 +00:00
Isaac
d7ae5c0c9e
fix: don't give useless #unknown-channel in ticket close logs 2023-02-09 17:39:53 +00:00
Isaac
0d1cb90e7e
fix: convert pinned messages Map Iterator to array 2023-02-09 17:39:22 +00:00
Isaac
630d3ff4bb
fix: set tickets as closed (fixes #382) 2023-02-09 17:38:46 +00:00
Isaac
62ab9eb6c7
fix: don't throw errors on every message if a guild isn't configured 2023-02-09 17:34:17 +00:00
Isaac
df725185eb
Revert "fix: don't close tickets twice"
This reverts commit a73cc2bdd4.
2023-02-09 17:25:42 +00:00
Isaac
a73cc2bdd4
fix: don't close tickets twice 2023-02-09 16:52:29 +00:00
Isaac
0b44465024
Added translation using Weblate (Italian)
Co-authored-by: Isaac <git@eartharoid.me>
2023-02-09 17:15:49 +01:00
Hosted Weblate
7ef56cd2fc
Update translation files
Updated by "Remove blank strings" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/discord-tickets/bot/
Translation: Discord Tickets/Bot
2023-02-08 15:41:18 +01:00
Isaac
2caf4d3716
Translated using Weblate (German)
Currently translated at 74.4% (175 of 235 strings)

Translated using Weblate (Hungarian)

Currently translated at 99.1% (233 of 235 strings)

Co-authored-by: Isaac <git@eartharoid.me>
Translate-URL: https://hosted.weblate.org/projects/discord-tickets/bot/de/
Translate-URL: https://hosted.weblate.org/projects/discord-tickets/bot/hu/
Translation: Discord Tickets/Bot
2023-02-08 15:41:17 +01:00
Hosted Weblate
8158c3926b
Update translation files
Updated by "Remove blank strings" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/discord-tickets/bot/
Translation: Discord Tickets/Bot
2023-02-08 15:34:43 +01:00
Isaac
629a687c19
Translated using Weblate (German)
Currently translated at 72.7% (171 of 235 strings)

Co-authored-by: Isaac <git@eartharoid.me>
Translate-URL: https://hosted.weblate.org/projects/discord-tickets/bot/de/
Translation: Discord Tickets/Bot
2023-02-08 15:34:43 +01:00
Isaac
9ab2a37c03
Update strings 2023-02-08 14:34:38 +00:00
Isaac
0f98a98316
Update strings 2023-02-08 14:33:24 +00:00
Hosted Weblate
965b6f861d
Update translation files
Updated by "Remove blank strings" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/discord-tickets/bot/
Translation: Discord Tickets/Bot
2023-02-08 15:19:02 +01:00
Isaac
bb710ea442
Translated using Weblate (German)
Currently translated at 73.6% (173 of 235 strings)

Co-authored-by: Isaac <git@eartharoid.me>
Translate-URL: https://hosted.weblate.org/projects/discord-tickets/bot/de/
Translation: Discord Tickets/Bot
2023-02-08 15:19:01 +01:00
Isaac
bbd91c0110
Added translation using Weblate (Russian) 2023-02-08 13:29:12 +01:00
Nathan
b02a7cf4f3
Translated using Weblate (French)
Currently translated at 3.8% (9 of 235 strings)

Translation: Discord Tickets/Bot
Translate-URL: https://hosted.weblate.org/projects/discord-tickets/bot/fr/
2023-02-06 16:39:30 +01:00
sgtJohnny
308d38beb9
Translated using Weblate (German)
Currently translated at 74.8% (176 of 235 strings)

Translation: Discord Tickets/Bot
Translate-URL: https://hosted.weblate.org/projects/discord-tickets/bot/de/
2023-02-05 05:38:55 +01:00
Bruno Babica
2411aaa585
Translated using Weblate (Czech)
Currently translated at 18.7% (44 of 235 strings)

Translation: Discord Tickets/Bot
Translate-URL: https://hosted.weblate.org/projects/discord-tickets/bot/cs/
2023-02-04 21:59:57 +01:00
sgtJohnny
4043706efa
Translated using Weblate (German)
Currently translated at 36.1% (85 of 235 strings)

Translation: Discord Tickets/Bot
Translate-URL: https://hosted.weblate.org/projects/discord-tickets/bot/de/
2023-02-04 21:59:57 +01:00
Hosted Weblate
d4d69cc4ef
Update translation files
Updated by "Remove blank strings" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/discord-tickets/bot/
Translation: Discord Tickets/Bot
2023-02-03 23:56:26 +01:00
Isaac
9fb08a3ff4
Added translation using Weblate (Turkish)
Translated using Weblate (Czech)

Currently translated at 18.2% (43 of 235 strings)

Co-authored-by: Isaac <git@eartharoid.me>
Translate-URL: https://hosted.weblate.org/projects/discord-tickets/bot/cs/
Translation: Discord Tickets/Bot
2023-02-03 23:56:25 +01:00
Bruno Babica
41e3d768d9
Translated using Weblate (Czech)
Currently translated at 18.2% (43 of 235 strings)

Co-authored-by: Bruno Babica <bruno.babica@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/discord-tickets/bot/cs/
Translation: Discord Tickets/Bot
2023-02-03 23:56:25 +01:00
Noel Horvath
8edcf90000
Translated using Weblate (Hungarian)
Currently translated at 100.0% (235 of 235 strings)

Translated using Weblate (Hungarian)

Currently translated at 74.4% (175 of 235 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-02-03 23:56:24 +01:00
Aapo Katila
46b539c28b
Translated using Weblate (Finnish)
Currently translated at 36.1% (85 of 235 strings)

Translated using Weblate (Finnish)

Currently translated at 32.7% (77 of 235 strings)

Co-authored-by: Aapo Katila <abolakatila@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/discord-tickets/bot/fi/
Translation: Discord Tickets/Bot
2023-02-03 23:56:24 +01:00
sgtJohnny
e55a1b37ab
Translated using Weblate (German)
Currently translated at 34.4% (81 of 235 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-03 23:56:24 +01:00
Blutwurst
596a595996
Translated using Weblate (German)
Currently translated at 34.4% (81 of 235 strings)

Co-authored-by: Blutwurst <faid@live.de>
Translate-URL: https://hosted.weblate.org/projects/discord-tickets/bot/de/
Translation: Discord Tickets/Bot
2023-02-03 23:56:23 +01:00
Isaac
4464db07ba
Added translation using Weblate (Czech)
Co-authored-by: Isaac <git@eartharoid.me>
2023-02-03 23:56:23 +01:00
Aapo Katila
316de40160
Translated using Weblate (Finnish)
Currently translated at 5.5% (13 of 235 strings)

Co-authored-by: Aapo Katila <abolakatila@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/discord-tickets/bot/fi/
Translation: Discord Tickets/Bot
2023-02-03 18:40:50 +01:00
sgtJohnny
e1fa465c9b
Translated using Weblate (German)
Currently translated at 23.4% (55 of 235 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-03 18:40:49 +01:00
sgtJohnny
de1c08afce
Translated using Weblate (German)
Currently translated at 18.7% (44 of 235 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-03 18:32:40 +01:00
Rabenherz112
01e658a356
Translated using Weblate (German)
Currently translated at 18.7% (44 of 235 strings)

Co-authored-by: Rabenherz112 <jeremy8373@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/discord-tickets/bot/de/
Translation: Discord Tickets/Bot
2023-02-03 18:32:40 +01:00
Isaac
e96971f158
Added translation using Weblate (Finnish)
Co-authored-by: Isaac <git@eartharoid.me>
2023-02-03 18:32:39 +01:00
sgtJohnny
1243eac844
Translated using Weblate (German)
Currently translated at 9.7% (23 of 235 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-03 18:27:33 +01:00
Rabenherz112
1225592227
Translated using Weblate (German)
Currently translated at 9.7% (23 of 235 strings)

Co-authored-by: Rabenherz112 <jeremy8373@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/discord-tickets/bot/de/
Translation: Discord Tickets/Bot
2023-02-03 18:27:32 +01:00
Isaac
4f368bb507
Added translation using Weblate (German)
Co-authored-by: Isaac <git@eartharoid.me>
2023-02-03 18:18:59 +01:00
Isaac
7a40eec83f
Added translation using Weblate (Hungarian)
Co-authored-by: Isaac <git@eartharoid.me>
2023-02-03 18:14:52 +01:00
Isaac
fd2ab55a13
Added translation using Weblate (French) 2023-02-03 17:24:18 +01:00
Isaac
9fc1130c4c
fix: update cache when tags are updated 2023-02-02 20:45:18 +00:00
Isaac
12c741b255
fix: settings 2023-02-02 16:11:10 +00:00
Isaac
5a2106caa4
fix: http, improve env 2023-02-01 21:19:48 +00:00
Isaac
bcf474cc1c
fix: use environment variables 2023-01-31 15:18:40 +00:00
Isaac
9e4f532ae8
fix: listen on 0.0.0.0 2023-01-31 12:53:22 +00:00
Isaac
457ede3ac7
fix: don't allow removing the creator 2023-01-30 20:50:38 +00:00
Isaac
bb3179f28f
minor improvements 2023-01-30 17:10:02 +00:00