Commit Graph

2465 Commits

Author SHA1 Message Date
Louis Lam 188fdcb6ad Merge branch 'master' into 1.23.X-merge-to-2.X.X
# Conflicts:
#	server/model/monitor.js
#	server/util-server.js
2023-11-13 21:25:49 +08:00
Louis Lam ace1fe00c2 Merge branch 'master' into 1.23.X-merge-to-2.X.X
# Conflicts:
#	docker/debian-base.dockerfile
#	package-lock.json
#	server/database.js
#	server/model/monitor.js
#	server/uptime-kuma-server.js
#	server/util-server.js
2023-11-13 21:15:51 +08:00
Louis Lam 8e3ff25f7b
Followup #3864, rebase for 1.23.x (#4016)
* Fix: Use ActionSelect Docker Host & validate input

* Fix: Handle docker host deleted while editing

* UI: Use add for ActionSelect & prevent delete instead

---------

Co-authored-by: Nelson Chan <chakflying@hotmail.com>
2023-11-12 20:32:40 +08:00
Nelson Chan 5b6522a54e
Fix: entryPage setting can be null (#3994) 2023-11-08 20:46:10 +08:00
Nelson Chan b534fde265
Fix: Use ActionSelect for Docker Host & validate input (#3864)
* Fix: Use ActionSelect Docker Host & validate input

* Fix: Handle docker host deleted while editing

* UI: Use add for ActionSelect & prevent delete instead
2023-11-03 21:25:28 +08:00
Louis Lam df832f15fe
Add Uzbek language (#3959)
* Add uz

* Update i18n.js
2023-10-30 09:23:47 +08:00
Muhammed Hussein karimi 9f170a68d7
🐛 fix: boolean fields in kafka producer monitor (#3949)
* 🐛 fix: boolean fields in kafka producer monitor

Signed-off-by: Muhammed Hussein Karimi <info@karimi.dev>

* 🐛 fix: boolean fields db patch table modify

Signed-off-by: Muhammed Hussein Karimi <info@karimi.dev>

* ✏️  typo: remove `_old` COLUMNs in patch-fix-kafka-producer-booleans

Signed-off-by: Muhammed Hussein Karimi <info@karimi.dev>

---------

Signed-off-by: Muhammed Hussein Karimi <info@karimi.dev>
2023-10-28 14:42:55 +08:00
Nelson Chan 201c10416e
Fix: Entry page setting in Dev mode (#3940) 2023-10-28 10:34:15 +08: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
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
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 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 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
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