Commit Graph

747 Commits

Author SHA1 Message Date
Isaac
05979972fe
fix(i18n): lowercase names [skip ci] 2023-07-30 01:33:56 +01:00
Isaac
34b5090575
fix: keep priority when moving (closes #467) 2023-07-30 01:33:56 +01:00
Isaac
8a8bc2bebe
fix(🚨 security): being able to close tickets from other servers (closes #466) 2023-07-30 01:33:56 +01:00
Isaac
32697c6d13
fix: 🤦‍♂️ inflated ticket count and negative response times in stats 2023-07-30 00:58:15 +01:00
Dziondzio
a1be71c5d7
feat(i18n): update Polish translations [skip ci]
Currently translated at 100.0% (275 of 275 strings)

Co-authored-by: Dziondzio <dziondzioofficial@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/discord-tickets/bot/pl/
Translation: Discord Tickets/Bot
2023-07-23 14:25:51 +02:00
Dziondzio
c23530f962
feat(i18n): update Polish translations [skip ci]
Currently translated at 7.2% (20 of 275 strings)

Co-authored-by: Dziondzio <dziondzioofficial@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/discord-tickets/bot/pl/
Translation: Discord Tickets/Bot
2023-07-23 07:07:12 +02:00
Dziondzio
09ff025bf3
feat(i18n): update Polish translations [skip ci]
Currently translated at 0.3% (1 of 275 strings)

Co-authored-by: Dziondzio <dziondzioofficial@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/discord-tickets/bot/pl/
Translation: Discord Tickets/Bot
2023-07-22 23:08:50 +02:00
Isaac
e4fff0cba5
feat(i18n): add Polish translations [skip ci]
Co-authored-by: Isaac <git@eartharoid.me>
2023-07-22 21:59:19 +02:00
Isana Naradiel
e91d1ccb2a
feat(i18n): update Spanish translations [skip ci]
Currently translated at 100.0% (275 of 275 strings)

Co-authored-by: Isana Naradiel <isanaradiel@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/discord-tickets/bot/es/
Translation: Discord Tickets/Bot
2023-07-22 01:06:02 +02:00
Bruno Babica
d32b08c184
feat(i18n): update Czech translations [skip ci]
Currently translated at 50.1% (138 of 275 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-07-22 01:06:02 +02:00
Isaac
4b4dcd236e
feat: stats houston v4 2023-07-13 12:54:31 +01:00
Pierre LAGOUTTE
9e8b0a0cba
Update fr.yml (#455) [skip ci]
Correction of spelling mistakes
2023-07-12 21:19:43 +01:00
MemoryDri1
bd063c4655
feat(i18n): update Spanish translations [skip ci]
Currently translated at 100.0% (275 of 275 strings)

Co-authored-by: MemoryDri1 <elcokitogames@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/discord-tickets/bot/es/
Translation: Discord Tickets/Bot
2023-07-11 01:52:18 +02:00
Isaac
b7823266ff
fix(i18n): lowercase names [skip ci] 2023-07-10 13:32:43 +01:00
MemoryDri1
60e7447319
feat(i18n): update Spanish translations [skip ci]
Currently translated at 100.0% (275 of 275 strings)

feat(i18n): update Russian translations [skip ci]

Currently translated at 99.6% (274 of 275 strings)

Co-authored-by: MemoryDri1 <elcokitogames@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/discord-tickets/bot/es/
Translate-URL: https://hosted.weblate.org/projects/discord-tickets/bot/ru/
Translation: Discord Tickets/Bot
2023-07-10 05:51:50 +02:00
MemoryDri1
ffc44bf7ce
feat(i18n): update Spanish translations [skip ci]
Currently translated at 32.3% (89 of 275 strings)

Co-authored-by: MemoryDri1 <elcokitogames@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/discord-tickets/bot/es/
Translation: Discord Tickets/Bot
2023-07-09 13:52:58 +02:00
Isaac
65ce04def2
fix(i18n): shorten Hungarian command name 2023-07-07 14:07:48 +01:00
Noel Horvath
560ab786bb
feat(i18n): update Hungarian translations [skip ci]
Currently translated at 94.9% (261 of 275 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-07-07 02:53:14 +02:00
Isana Naradiel
0270402bd9
feat(i18n): update Spanish translations [skip ci]
Currently translated at 32.0% (88 of 275 strings)

Co-authored-by: Isana Naradiel <isanaradiel@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/discord-tickets/bot/es/
Translation: Discord Tickets/Bot
2023-07-04 18:53:15 +02:00
Isaac
ca09070c66
fix: disable presence check on public bots 2023-06-30 00:01:09 +01:00
Isaac
c7d9bbff53
fix: disable presence intent on public bots 2023-06-29 23:45:15 +01:00
Isaac
e8bf45a9a4
fix: use new changelog URL 2023-06-25 16:58:31 +01:00
Isaac
502f48866a
fix: encrypt topic 2023-06-25 15:01:39 +01:00
Isaac
48902f8131
fix: send image in embed (closes #441) 2023-06-25 14:31:36 +01:00
Isaac
3b5e58c1fe
feat: add prisma logging 2023-06-25 13:43:10 +01:00
Isaac
ff8e66638a
feat: new suid-time stdin command 2023-06-25 13:41:29 +01:00
Isaac
e8b95a2f31
feat: improve error handling 2023-06-25 13:41:07 +01:00
Isaac
47fc7bde43
fix: editing question answers in a category with customTopic set 2023-06-25 13:39:42 +01:00
Isaac
8971c0ad13
perf(sqlite): run optimize every 6h 2023-06-20 20:59:08 +01:00
Isaac
6e5ccd118d
fix: remove unnecessary code for updating questions 2023-06-18 23:58:30 +01:00
Isaac
6593250945
chore: update warning/error logs 2023-06-18 23:57:11 +01:00
Isaac
5895b3dd6e
perf(sqlite): synchronous=normal 2023-06-17 17:01:06 +01:00
Isana Naradiel
0bbed13560
feat(i18n): update Spanish translations [skip ci]
Currently translated at 30.1% (83 of 275 strings)

Co-authored-by: Isana Naradiel <isanaradiel@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/discord-tickets/bot/es/
Translation: Discord Tickets/Bot
2023-06-15 19:49:50 +02:00
Isaac
bd42781878
feat(docker): add non-root user, labels, and healthcheck (closes #433)
Now works with Pterodactyl.
2023-06-15 00:21:52 +01:00
Isaac
faddacc6df
feat(i18n): add Spanish translations [skip ci] 2023-06-12 17:00:16 +01:00
Isaac
7232e56729
feat(i18n): remove Spanish translations [skip ci] 2023-06-12 17:54:39 +02:00
Isaac
d5eff28b88
revert: weblate didn't like that
Refs: fa8d159
2023-06-12 16:21:38 +01:00
Isaac
fa8d159435
fix(i18n): rename es to es-ES
as required by Discord (https://discord.com/developers/docs/reference#locales)
2023-06-12 15:14:00 +01:00
Isaac
3c571304c3
feat(i18n): add Spanish translations [skip ci]
Co-authored-by: Isaac <git@eartharoid.me>
2023-06-12 16:11:56 +02:00
Isaac
2cfcdbaac8
fix: update notification 2023-06-09 15:37:53 +01:00
Isaac
24360e4dcd
fix: auto closing tickets 2023-06-06 20:22:36 +01:00
Alexander Morozov
f995589627
feat(i18n): update Russian translations [skip ci]
Currently translated at 99.6% (274 of 275 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-06-06 09:50:18 +02:00
Alexander Morozov
a3ae81ee77
feat(i18n): update Russian translations [skip ci]
Currently translated at 99.6% (274 of 275 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-06-05 11:52:18 +02:00
Felix
f5c7b431ba
feat(i18n): update Russian translations [skip ci]
Currently translated at 99.6% (274 of 275 strings)

Co-authored-by: Felix <haffk@duck.com>
Translate-URL: https://hosted.weblate.org/projects/discord-tickets/bot/ru/
Translation: Discord Tickets/Bot
2023-06-05 04:46:47 +02:00
Alexander Morozov
164ecb550f
feat(i18n): update Russian translations [skip ci]
Currently translated at 99.6% (274 of 275 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-06-05 04:46:47 +02:00
Felix
e53013cffb
feat(i18n): update Russian translations [skip ci]
Currently translated at 61.4% (169 of 275 strings)

Co-authored-by: Felix <haffk@duck.com>
Translate-URL: https://hosted.weblate.org/projects/discord-tickets/bot/ru/
Translation: Discord Tickets/Bot
2023-06-03 13:03:03 +02:00
Alexander Morozov
1a447972e5
feat(i18n): update Russian translations [skip ci]
Currently translated at 61.4% (169 of 275 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-06-03 13:03:02 +02:00
Manfred.exe
b0063e2619
feat(i18n): update German translations [skip ci]
Currently translated at 100.0% (275 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-03 03:48:00 +02:00
Manfred.exe
e32f2399bc
feat(i18n): update German translations [skip ci]
Currently translated at 98.9% (272 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:54:45 +02:00
Lasse15
98d7029483
feat(i18n): update German translations [skip ci]
Currently translated at 98.9% (272 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:54:44 +02:00
Alexander Morozov
604abe67b8
feat(i18n): update Russian translations [skip ci]
Currently translated at 15.2% (42 of 275 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-06-02 20:53:25 +02:00
Felix
a5e7105a5f
feat(i18n): update Russian translations [skip ci]
Currently translated at 15.2% (42 of 275 strings)

Co-authored-by: Felix <haffk@duck.com>
Translate-URL: https://hosted.weblate.org/projects/discord-tickets/bot/ru/
Translation: Discord Tickets/Bot
2023-06-02 20:53:24 +02:00
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