Commit graph

5030 commits

Author SHA1 Message Date
Louis Lam 8e441dd8f7
Follow up #3263 (#3847) 2023-10-14 19:00:27 +08:00
Louis Lam 9ebf4f97bb Add npm run start-server-dev:watch 2023-10-14 17:50:54 +08:00
Louis Lam a362206fab Fix: do not colorize non-string log message 2023-10-14 17:48:41 +08:00
Nelson Chan f6bdaacbba
Fix: Clear toasts button blocked by bottom bar (#3863)
* Fix: Clear toasts button blocked

* Chore: Fix lint
2023-10-14 16:52:38 +08:00
Louis Lam 03e43ab364
Log color and simplify startup log for production (#3889) 2023-10-14 03:00:34 +08:00
Louis Lam 7212d884ef
Enable eslint for util.ts (#3887)
* Enable eslint for util.ts

* Drop babel (since eslint parser was replaced by typescript-parser and it doesn't seem to be used anywhere)

* Apply "plugin:@typescript-eslint/recommended"

* Minor

* Remove comment for generated file (Keep the first comment only)
2023-10-13 22:42:45 +08:00
Louis Lam 1c13a75970
Fix #3868 postgres monitor could possibly crash Uptime Kuma (#3880)
* Bump pg

* Handle uncaughtException

* Fix parsing issue of postgres connection and fix the query example
2023-10-13 02:50:10 +08:00
Louis Lam aa676150eb Fix shutdown issue and tidy up 2023-10-12 21:26:11 +08:00
Louis Lam a3a81f8059
Merge pull request #3659 from UptimeKumaBot/weblate-uptime-kuma-uptime-kuma
Translations Update from Weblate
2023-10-11 21:04:07 +08:00
simonghpub 4e401faefb Translated using Weblate (Danish)
Currently translated at 71.5% (601 of 840 strings)

Translated using Weblate (Danish)

Currently translated at 70.8% (595 of 840 strings)

Translated using Weblate (Danish)

Currently translated at 70.8% (595 of 840 strings)

Co-authored-by: simonghpub <simonpmt@gmail.com>
Translate-URL: https://weblate.kuma.pet/projects/uptime-kuma/uptime-kuma/da/
Translation: Uptime Kuma/Uptime Kuma
2023-10-11 11:28:16 +00:00
Andrea Biasi 53710b5f26 Translated using Weblate (Italian)
Currently translated at 70.2% (590 of 840 strings)

Co-authored-by: Andrea Biasi <andrea.biasi@gmail.com>
Translate-URL: https://weblate.kuma.pet/projects/uptime-kuma/uptime-kuma/it/
Translation: Uptime Kuma/Uptime Kuma
2023-10-11 11:28:16 +00:00
Muhammad Ari Al Ghifari 07a7233e6c Translated using Weblate (Indonesian)
Currently translated at 90.9% (764 of 840 strings)

Co-authored-by: Muhammad Ari Al Ghifari <ari@alfari.id>
Translate-URL: https://weblate.kuma.pet/projects/uptime-kuma/uptime-kuma/id/
Translation: Uptime Kuma/Uptime Kuma
2023-10-11 11:28:16 +00:00
Dim d7797b8086 Translated using Weblate (French)
Currently translated at 100.0% (840 of 840 strings)

Translated using Weblate (French)

Currently translated at 100.0% (823 of 823 strings)

Co-authored-by: Dim <DimitriDR@users.noreply.weblate.kuma.pet>
Translate-URL: https://weblate.kuma.pet/projects/uptime-kuma/uptime-kuma/fr/
Translation: Uptime Kuma/Uptime Kuma
2023-10-11 11:28:16 +00:00
Nelson Chan e9efbaa1df Translated using Weblate (Chinese (Traditional))
Currently translated at 91.8% (756 of 823 strings)

Translated using Weblate (Chinese (Traditional, Hong Kong))

Currently translated at 87.9% (724 of 823 strings)

Translated using Weblate (English)

Currently translated at 100.0% (823 of 823 strings)

Co-authored-by: Nelson Chan <chakflying@hotmail.com>
Translate-URL: https://weblate.kuma.pet/projects/uptime-kuma/uptime-kuma/en/
Translate-URL: https://weblate.kuma.pet/projects/uptime-kuma/uptime-kuma/zh_Hant/
Translate-URL: https://weblate.kuma.pet/projects/uptime-kuma/uptime-kuma/zh_Hant_HK/
Translation: Uptime Kuma/Uptime Kuma
2023-10-11 11:28:16 +00:00
Jesper e0ffdb8371 Translated using Weblate (Swedish)
Currently translated at 45.3% (373 of 823 strings)

Co-authored-by: Jesper <jesper.bjorkbrant@gmail.com>
Translate-URL: https://weblate.kuma.pet/projects/uptime-kuma/uptime-kuma/sv/
Translation: Uptime Kuma/Uptime Kuma
2023-10-11 11:28:16 +00:00
AmadeusGraves 87d595760d Translated using Weblate (Spanish)
Currently translated at 100.0% (820 of 820 strings)

Co-authored-by: AmadeusGraves <angelfx19@gmail.com>
Translate-URL: https://weblate.kuma.pet/projects/uptime-kuma/uptime-kuma/es/
Translation: Uptime Kuma/Uptime Kuma
2023-10-11 11:28:16 +00:00
Michal 6b81554281 Translated using Weblate (Czech)
Currently translated at 100.0% (840 of 840 strings)

Translated using Weblate (Czech)

Currently translated at 99.6% (837 of 840 strings)

Translated using Weblate (Czech)

Currently translated at 99.7% (818 of 820 strings)

Co-authored-by: Michal <black23@gmail.com>
Translate-URL: https://weblate.kuma.pet/projects/uptime-kuma/uptime-kuma/cs/
Translation: Uptime Kuma/Uptime Kuma
2023-10-11 11:28:16 +00:00
Yoswaris Lawpaiboon b70b8b8f12 Translated using Weblate (Thai)
Currently translated at 79.4% (651 of 819 strings)

Co-authored-by: Yoswaris Lawpaiboon <konglha19@outlook.co.th>
Translate-URL: https://weblate.kuma.pet/projects/uptime-kuma/uptime-kuma/th/
Translation: Uptime Kuma/Uptime Kuma
2023-10-11 11:28:16 +00:00
AlwaleedAlwabel 0e97721c13 Translated using Weblate (Arabic)
Currently translated at 83.2% (682 of 819 strings)

Co-authored-by: AlwaleedAlwabel <xomsd1@hotmail.com>
Translate-URL: https://weblate.kuma.pet/projects/uptime-kuma/uptime-kuma/ar/
Translation: Uptime Kuma/Uptime Kuma
2023-10-11 11:28:16 +00:00
Alexandre bfaa6fd86a Translated using Weblate (Portuguese (Brazil))
Currently translated at 96.5% (791 of 819 strings)

Co-authored-by: Alexandre <alexandre@lopes.eng.br>
Translate-URL: https://weblate.kuma.pet/projects/uptime-kuma/uptime-kuma/pt_BR/
Translation: Uptime Kuma/Uptime Kuma
2023-10-11 11:28:16 +00:00
Ivan Bratović b0421e9651 Translated using Weblate (Croatian)
Currently translated at 100.0% (840 of 840 strings)

Translated using Weblate (Croatian)

Currently translated at 100.0% (820 of 820 strings)

Translated using Weblate (Croatian)

Currently translated at 100.0% (819 of 819 strings)

Translated using Weblate (Croatian)

Currently translated at 98.0% (803 of 819 strings)

Co-authored-by: Ivan Bratović <ivanbratovic4@gmail.com>
Translate-URL: https://weblate.kuma.pet/projects/uptime-kuma/uptime-kuma/hr/
Translation: Uptime Kuma/Uptime Kuma
2023-10-11 11:28:16 +00:00
Rasmus Uhrskov 8691d171cf Translated using Weblate (Danish)
Currently translated at 68.4% (561 of 819 strings)

Co-authored-by: Rasmus Uhrskov <rasmus@outscale.dk>
Translate-URL: https://weblate.kuma.pet/projects/uptime-kuma/uptime-kuma/da/
Translation: Uptime Kuma/Uptime Kuma
2023-10-11 11:28:16 +00:00
KDY 820950fced Translated using Weblate (Korean)
Currently translated at 88.7% (727 of 819 strings)

Co-authored-by: KDY <admin@gjan.info>
Translate-URL: https://weblate.kuma.pet/projects/uptime-kuma/uptime-kuma/ko/
Translation: Uptime Kuma/Uptime Kuma
2023-10-11 11:28:16 +00:00
Marco b8efc8603e Translated using Weblate (German)
Currently translated at 100.0% (840 of 840 strings)

Translated using Weblate (German (Switzerland))

Currently translated at 100.0% (840 of 840 strings)

Translated using Weblate (German)

Currently translated at 100.0% (823 of 823 strings)

Translated using Weblate (German (Switzerland))

Currently translated at 100.0% (823 of 823 strings)

Translated using Weblate (German)

Currently translated at 100.0% (820 of 820 strings)

Translated using Weblate (German (Switzerland))

Currently translated at 100.0% (820 of 820 strings)

Translated using Weblate (German)

Currently translated at 100.0% (819 of 819 strings)

Co-authored-by: Marco <marco@nanoweb.ch>
Translate-URL: https://weblate.kuma.pet/projects/uptime-kuma/uptime-kuma/de/
Translate-URL: https://weblate.kuma.pet/projects/uptime-kuma/uptime-kuma/de_CH/
Translation: Uptime Kuma/Uptime Kuma
2023-10-11 11:28:16 +00:00
Vincent Peng 0ba2c1181a Translated using Weblate (Chinese (Traditional))
Currently translated at 92.3% (756 of 819 strings)

Co-authored-by: Vincent Peng <51seer.vincent@gmail.com>
Translate-URL: https://weblate.kuma.pet/projects/uptime-kuma/uptime-kuma/zh_Hant/
Translation: Uptime Kuma/Uptime Kuma
2023-10-11 11:28:16 +00:00
Buchtič aecd95e72b Translated using Weblate (Czech)
Currently translated at 100.0% (815 of 815 strings)

Co-authored-by: Buchtič <martin.buchta@gmail.com>
Translate-URL: https://weblate.kuma.pet/projects/uptime-kuma/uptime-kuma/cs/
Translation: Uptime Kuma/Uptime Kuma
2023-10-11 11:28:16 +00:00
MasatoSaitou 7c05ac6539 Translated using Weblate (Japanese)
Currently translated at 68.9% (562 of 815 strings)

Co-authored-by: MasatoSaitou <m3110.ebi@gmail.com>
Translate-URL: https://weblate.kuma.pet/projects/uptime-kuma/uptime-kuma/ja/
Translation: Uptime Kuma/Uptime Kuma
2023-10-11 11:28:16 +00:00
Nathan Nogueira ce4461d85b Translated using Weblate (Portuguese (Brazil))
Currently translated at 96.5% (791 of 819 strings)

Translated using Weblate (Portuguese (Brazil))

Currently translated at 93.8% (765 of 815 strings)

Co-authored-by: Nathan Nogueira <nathannogueira@hotmail.com>
Translate-URL: https://weblate.kuma.pet/projects/uptime-kuma/uptime-kuma/pt_BR/
Translation: Uptime Kuma/Uptime Kuma
2023-10-11 11:28:16 +00:00
Alex Javadi b6f7e3fe2a Translated using Weblate (Persian)
Currently translated at 100.0% (840 of 840 strings)

Translated using Weblate (Persian)

Currently translated at 100.0% (820 of 820 strings)

Translated using Weblate (Persian)

Currently translated at 100.0% (815 of 815 strings)

Co-authored-by: Alex Javadi <15309978+aljvdi@users.noreply.github.com>
Translate-URL: https://weblate.kuma.pet/projects/uptime-kuma/uptime-kuma/fa/
Translation: Uptime Kuma/Uptime Kuma
2023-10-11 11:28:16 +00:00
Saimo 58bf3c784f Translated using Weblate (German)
Currently translated at 100.0% (815 of 815 strings)

Co-authored-by: Saimo <adam.yusupov@outlook.at>
Translate-URL: https://weblate.kuma.pet/projects/uptime-kuma/uptime-kuma/de/
Translation: Uptime Kuma/Uptime Kuma
2023-10-11 11:28:16 +00:00
Michal f527f4b69d Translated using Weblate (Czech)
Currently translated at 99.7% (813 of 815 strings)

Co-authored-by: Michal <black23@gmail.com>
Translate-URL: https://weblate.kuma.pet/projects/uptime-kuma/uptime-kuma/cs/
Translation: Uptime Kuma/Uptime Kuma
2023-10-11 11:28:16 +00:00
DoyunShin bbca82845a Translated using Weblate (Korean)
Currently translated at 88.0% (718 of 815 strings)

Co-authored-by: DoyunShin <doyun.shin@gmail.com>
Translate-URL: https://weblate.kuma.pet/projects/uptime-kuma/uptime-kuma/ko/
Translation: Uptime Kuma/Uptime Kuma
2023-10-11 11:28:16 +00:00
Marco 8cb6df2718 Translated using Weblate (German (Switzerland))
Currently translated at 100.0% (819 of 819 strings)

Translated using Weblate (German (Switzerland))

Currently translated at 100.0% (815 of 815 strings)

Translated using Weblate (German)

Currently translated at 100.0% (814 of 814 strings)

Co-authored-by: Marco <marco@nanoweb.ch>
Translate-URL: https://weblate.kuma.pet/projects/uptime-kuma/uptime-kuma/de/
Translate-URL: https://weblate.kuma.pet/projects/uptime-kuma/uptime-kuma/de_CH/
Translation: Uptime Kuma/Uptime Kuma
2023-10-11 11:28:16 +00:00
kennychan 58263c02af Translated using Weblate (Malay)
Currently translated at 6.3% (51 of 809 strings)

Co-authored-by: kennychan <me@kennychan.xyz>
Translate-URL: https://weblate.kuma.pet/projects/uptime-kuma/uptime-kuma/ms/
Translation: Uptime Kuma/Uptime Kuma
2023-10-11 11:28:16 +00:00
Ömer Faruk Genç 2d51cfbbe2 Translated using Weblate (Turkish)
Currently translated at 100.0% (840 of 840 strings)

Translated using Weblate (Turkish)

Currently translated at 100.0% (823 of 823 strings)

Translated using Weblate (Turkish)

Currently translated at 100.0% (823 of 823 strings)

Translated using Weblate (Turkish)

Currently translated at 100.0% (820 of 820 strings)

Translated using Weblate (Turkish)

Currently translated at 100.0% (819 of 819 strings)

Translated using Weblate (Turkish)

Currently translated at 100.0% (815 of 815 strings)

Translated using Weblate (Turkish)

Currently translated at 100.0% (814 of 814 strings)

Translated using Weblate (Turkish)

Currently translated at 100.0% (809 of 809 strings)

Co-authored-by: Ömer Faruk Genç <omer@farukgenc.com>
Translate-URL: https://weblate.kuma.pet/projects/uptime-kuma/uptime-kuma/tr/
Translation: Uptime Kuma/Uptime Kuma
2023-10-11 11:28:16 +00:00
Wishw 8e5317fdd0 Translated using Weblate (Telugu)
Currently translated at 38.4% (311 of 809 strings)

Co-authored-by: Wishw <62600445+Wisw@users.noreply.github.com>
Translate-URL: https://weblate.kuma.pet/projects/uptime-kuma/uptime-kuma/te/
Translation: Uptime Kuma/Uptime Kuma
2023-10-11 11:28:16 +00:00
Lance 89cfa74163 Translated using Weblate (Chinese (Traditional))
Currently translated at 92.5% (749 of 809 strings)

Co-authored-by: Lance <2124757129@qq.com>
Translate-URL: https://weblate.kuma.pet/projects/uptime-kuma/uptime-kuma/zh_Hant/
Translation: Uptime Kuma/Uptime Kuma
2023-10-11 11:28:16 +00:00
AnnAngela 05fb3d942c Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (840 of 840 strings)

Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (823 of 823 strings)

Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (820 of 820 strings)

Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (819 of 819 strings)

Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (815 of 815 strings)

Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (814 of 814 strings)

Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (809 of 809 strings)

Co-authored-by: AnnAngela <naganjue@vip.qq.com>
Translate-URL: https://weblate.kuma.pet/projects/uptime-kuma/uptime-kuma/zh_Hans/
Translation: Uptime Kuma/Uptime Kuma
2023-10-11 11:28:16 +00:00
stanol bef4452af3 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (840 of 840 strings)

Translated using Weblate (Ukrainian)

Currently translated at 100.0% (823 of 823 strings)

Translated using Weblate (Ukrainian)

Currently translated at 100.0% (820 of 820 strings)

Translated using Weblate (Ukrainian)

Currently translated at 100.0% (819 of 819 strings)

Translated using Weblate (Ukrainian)

Currently translated at 100.0% (815 of 815 strings)

Translated using Weblate (Ukrainian)

Currently translated at 100.0% (814 of 814 strings)

Translated using Weblate (Ukrainian)

Currently translated at 100.0% (809 of 809 strings)

Co-authored-by: stanol <stanol777@gmail.com>
Translate-URL: https://weblate.kuma.pet/projects/uptime-kuma/uptime-kuma/uk/
Translation: Uptime Kuma/Uptime Kuma
2023-10-11 11:28:16 +00:00
Christian O'Neill cd4404ce3b Translated using Weblate (Swedish)
Currently translated at 44.6% (361 of 809 strings)

Co-authored-by: Christian O'Neill <oneill.christian97@gmail.com>
Translate-URL: https://weblate.kuma.pet/projects/uptime-kuma/uptime-kuma/sv/
Translation: Uptime Kuma/Uptime Kuma
2023-10-11 11:28:16 +00:00
ITQ 2af35c161a Translated using Weblate (Russian)
Currently translated at 100.0% (823 of 823 strings)

Translated using Weblate (Russian)

Currently translated at 100.0% (815 of 815 strings)

Translated using Weblate (Russian)

Currently translated at 100.0% (809 of 809 strings)

Co-authored-by: ITQ <itq.dev@ya.ru>
Translate-URL: https://weblate.kuma.pet/projects/uptime-kuma/uptime-kuma/ru/
Translation: Uptime Kuma/Uptime Kuma
2023-10-11 11:28:16 +00:00
Adam Stachowicz e40b48be8e Translated using Weblate (Polish)
Currently translated at 100.0% (840 of 840 strings)

Translated using Weblate (Polish)

Currently translated at 100.0% (815 of 815 strings)

Translated using Weblate (Polish)

Currently translated at 100.0% (809 of 809 strings)

Co-authored-by: Adam Stachowicz <saibamenppl@gmail.com>
Translate-URL: https://weblate.kuma.pet/projects/uptime-kuma/uptime-kuma/pl/
Translation: Uptime Kuma/Uptime Kuma
2023-10-11 11:28:16 +00:00
Cyril59310 1adda5899c Translated using Weblate (French)
Currently translated at 100.0% (823 of 823 strings)

Translated using Weblate (French)

Currently translated at 100.0% (820 of 820 strings)

Translated using Weblate (French)

Currently translated at 100.0% (819 of 819 strings)

Translated using Weblate (French)

Currently translated at 100.0% (815 of 815 strings)

Translated using Weblate (French)

Currently translated at 100.0% (814 of 814 strings)

Translated using Weblate (French)

Currently translated at 100.0% (809 of 809 strings)

Co-authored-by: Cyril59310 <archas.cyril@hotmail.fr>
Translate-URL: https://weblate.kuma.pet/projects/uptime-kuma/uptime-kuma/fr/
Translation: Uptime Kuma/Uptime Kuma
2023-10-11 11:28:16 +00:00
01Joel-Hazas 6d83385742 Translated using Weblate (Spanish)
Currently translated at 100.0% (809 of 809 strings)

Translated using Weblate (Spanish)

Currently translated at 100.0% (809 of 809 strings)

Co-authored-by: 01Joel-Hazas <joel.hazas@outlook.es>
Translate-URL: https://weblate.kuma.pet/projects/uptime-kuma/uptime-kuma/es/
Translation: Uptime Kuma/Uptime Kuma
2023-10-11 11:28:16 +00:00
Asdrubal Duarte fc01150af8 Translated using Weblate (Spanish)
Currently translated at 100.0% (809 of 809 strings)

Co-authored-by: Asdrubal Duarte <magyarlatin@gmail.com>
Translate-URL: https://weblate.kuma.pet/projects/uptime-kuma/uptime-kuma/es/
Translation: Uptime Kuma/Uptime Kuma
2023-10-11 11:28:16 +00:00
Alexander 2e3565b345 Translated using Weblate (German)
Currently translated at 100.0% (809 of 809 strings)

Co-authored-by: Alexander <info@torexit.in>
Translate-URL: https://weblate.kuma.pet/projects/uptime-kuma/uptime-kuma/de/
Translation: Uptime Kuma/Uptime Kuma
2023-10-11 11:28:16 +00:00
Marco a410a9d142 Translated using Weblate (German (Switzerland))
Currently translated at 100.0% (814 of 814 strings)

Translated using Weblate (German (Switzerland))

Currently translated at 100.0% (809 of 809 strings)

Co-authored-by: Marco <marco@nanoweb.ch>
Translate-URL: https://weblate.kuma.pet/projects/uptime-kuma/uptime-kuma/de_CH/
Translation: Uptime Kuma/Uptime Kuma
2023-10-11 11:28:16 +00:00
MrEddX b484c90176 Translated using Weblate (Bulgarian)
Currently translated at 100.0% (840 of 840 strings)

Translated using Weblate (Bulgarian)

Currently translated at 98.2% (825 of 840 strings)

Translated using Weblate (Bulgarian)

Currently translated at 100.0% (823 of 823 strings)

Translated using Weblate (Bulgarian)

Currently translated at 100.0% (820 of 820 strings)

Translated using Weblate (Bulgarian)

Currently translated at 100.0% (819 of 819 strings)

Translated using Weblate (Bulgarian)

Currently translated at 100.0% (819 of 819 strings)

Translated using Weblate (Bulgarian)

Currently translated at 99.6% (811 of 814 strings)

Translated using Weblate (Bulgarian)

Currently translated at 100.0% (809 of 809 strings)

Co-authored-by: MrEddX <mreddx@chatrix.one>
Translate-URL: https://weblate.kuma.pet/projects/uptime-kuma/uptime-kuma/bg/
Translation: Uptime Kuma/Uptime Kuma
2023-10-11 11:28:16 +00:00
Andreas Brett 42bf27fe5a
push monitor: increase token security (#912)
* increased pushToken security

* Merge manually

---------

Co-authored-by: Andreas Brett <github@abrett.de>
Co-authored-by: Louis Lam <louislam@users.noreply.github.com>
2023-10-11 19:28:06 +08:00
DevMirza 67d0ef571d
🐛 fix: lint warnings & errors (#3862)
* fix: lint warnings & errors

* fix: lint warning

* fix: lint warnings

* Update user.js

* Update util-server.js

* Update server/util-server.js

Co-authored-by: Nelson Chan <3271800+chakflying@users.noreply.github.com>

* Update server/model/user.js

Co-authored-by: Nelson Chan <3271800+chakflying@users.noreply.github.com>

---------

Co-authored-by: Nelson Chan <3271800+chakflying@users.noreply.github.com>
2023-10-10 00:39:55 +08:00