Commit graph

5548 commits

Author SHA1 Message Date
Louis Lam
87b2e45fbf Check if the password changed when user is not null 2023-10-22 00:51:03 +08:00
Ibrahim
ed4900cd71 [empy commit] pull request for #2477 2023-10-19 22:02:03 +07:00
atmaniak
9b599ccd1d
Add Grafana Oncall notification provider (#2783)
* Add Grafana Oncall notification provider

* Fix linter errors

* Remove useless variables

* Remove test message

Co-authored-by: Frank Elsinga <frank@elsinga.de>

* spelling consistency

* Update server/notification-providers/grafana-oncall.js

Co-authored-by: Frank Elsinga <frank@elsinga.de>

* Update server/notification-providers/grafana-oncall.js

Co-authored-by: Frank Elsinga <frank@elsinga.de>

* eslint requirements

Co-authored-by: Matthew Nickson <mnickson@sidingsmedia.com>

* Add Grafana Oncall translation

* Update src/components/notifications/GrafanaOncall.vue

Co-authored-by: Frank Elsinga <frank@elsinga.de>

* Check empty url

---------

Co-authored-by: Emmanuel Cohen <emmanuel.cohen@bso.co>
Co-authored-by: Frank Elsinga <frank@elsinga.de>
Co-authored-by: Matthew Nickson <mnickson@sidingsmedia.com>
Co-authored-by: Louis Lam <louislam@users.noreply.github.com>
2023-10-19 19:32:42 +08:00
Louis Lam
8412e19fe6 Add a comment 2023-10-19 09:41:30 +08:00
Louis Lam
bbaba29222 Set default ua for axios: Uptime-Kuma/version instead of axios/version 2023-10-18 21:54:49 +08:00
Louis Lam
e11aad2d60 Add some comments 2023-10-18 21:54:48 +08:00
DevMirza
8c7dea5219
🚀 Add CodeQL Action to analyze code (#3910)
* Create codeql-analysis.yml

* Update codeql-analysis.yml
2023-10-18 18:45:14 +08:00
Louis Lam
adc3548e9d
Update README.md 2023-10-17 20:23:58 +08:00
Frank Elsinga
1515f4e121
chore:Webhook custom documentation (#3636)
* improved the documentation

* fixed the `customBodyPlaceholder` not being translated

* fixed required not being set where necessary

* changed the docs that `monitorJSON` is also avalibale for cert-expiry
2023-10-16 22:24:47 +08:00
Frank Elsinga
3fcb7bf181
Feature: SMTP-templating of customBody and customHeader via liquidjs (#3414)
* replaced the regex replacement engine with `Liquid`

* added custom bodys

* fixed a typo

* formatting fixes

* switched all template-variables to be camelCase
2023-10-16 22:16:49 +08:00
Nelson Chan
e64bf0e3fe
Fix: Stop notification check on root certs (#3874)
* Fix: Stop notification check on root certs

* Chore: Use Set for optimization

* Fix: Manually calculate SHA256 to support node v14
2023-10-16 02:20:38 +08:00
Louis Lam
523d137e2b Lint 2023-10-16 00:43:07 +08:00
Louis Lam
18169c59a1
[MySQL monitor] Split password into a standalone field (#3899) 2023-10-16 00:38:56 +08:00
Louis Lam
4ccf263481
Update docker image base from Node.js 16 to Node.js 18 for Uptime Kuma v1 (#3901) 2023-10-16 00:27:47 +08:00
Louis Lam
579d7232c9 Translate login error 2023-10-15 01:35:27 +08:00
Louis Lam
966dfa6f88
Drop backup (#3892)
* Drop backup

* Fix warning
2023-10-14 23:38:31 +08:00
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