Currently translated at 100.0% (1053 of 1053 strings)
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (1062 of 1062 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
Currently translated at 100.0% (1053 of 1053 strings)
Translated using Weblate (German (Switzerland))
Currently translated at 100.0% (1053 of 1053 strings)
Translated using Weblate (German)
Currently translated at 100.0% (1062 of 1062 strings)
Translated using Weblate (German (Switzerland))
Currently translated at 100.0% (1062 of 1062 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
Currently translated at 100.0% (1016 of 1016 strings)
Translated using Weblate (Romanian)
Currently translated at 95.5% (971 of 1016 strings)
Co-authored-by: kindercat <156439718+kindercat@users.noreply.github.com>
Translate-URL: https://weblate.kuma.pet/projects/uptime-kuma/uptime-kuma/ro/
Translation: Uptime Kuma/Uptime Kuma
Currently translated at 100.0% (1016 of 1016 strings)
Translated using Weblate (Indonesian)
Currently translated at 95.1% (967 of 1016 strings)
Co-authored-by: Harry Suryapambagya <harsxv@gmail.com>
Translate-URL: https://weblate.kuma.pet/projects/uptime-kuma/uptime-kuma/id/
Translation: Uptime Kuma/Uptime Kuma
Currently translated at 100.0% (1016 of 1016 strings)
Translated using Weblate (French)
Currently translated at 100.0% (1016 of 1016 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
Currently translated at 94.5% (904 of 956 strings)
Translated using Weblate (Chinese (Traditional))
Currently translated at 94.3% (902 of 956 strings)
Translated using Weblate (Chinese (Traditional))
Currently translated at 91.9% (879 of 956 strings)
Co-authored-by: Max <max.tsai@alfred.camera>
Translate-URL: https://weblate.kuma.pet/projects/uptime-kuma/uptime-kuma/zh_Hant/
Translation: Uptime Kuma/Uptime Kuma
Currently translated at 100.0% (957 of 957 strings)
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (956 of 956 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
Currently translated at 70.9% (670 of 944 strings)
Translated using Weblate (Japanese)
Currently translated at 69.9% (660 of 944 strings)
Co-authored-by: nazo6 <git@nazo6.dev>
Translate-URL: https://weblate.kuma.pet/projects/uptime-kuma/uptime-kuma/ja/
Translation: Uptime Kuma/Uptime Kuma
Currently translated at 69.9% (660 of 944 strings)
Translated using Weblate (Japanese)
Currently translated at 67.9% (641 of 944 strings)
Translated using Weblate (Japanese)
Currently translated at 67.7% (640 of 944 strings)
Co-authored-by: KEINOS <github@keinos.com>
Translate-URL: https://weblate.kuma.pet/projects/uptime-kuma/uptime-kuma/ja/
Translation: Uptime Kuma/Uptime Kuma
Currently translated at 99.5% (953 of 957 strings)
Translated using Weblate (Czech)
Currently translated at 100.0% (944 of 944 strings)
Translated using Weblate (Czech)
Currently translated at 100.0% (944 of 944 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
Currently translated at 100.0% (957 of 957 strings)
Translated using Weblate (Finnish)
Currently translated at 100.0% (956 of 956 strings)
Translated using Weblate (Finnish)
Currently translated at 100.0% (944 of 944 strings)
Co-authored-by: Ilkka Myller <ilkka.myller@nodefield.com>
Translate-URL: https://weblate.kuma.pet/projects/uptime-kuma/uptime-kuma/fi/
Translation: Uptime Kuma/Uptime Kuma
Currently translated at 100.0% (957 of 957 strings)
Translated using Weblate (Swedish)
Currently translated at 100.0% (956 of 956 strings)
Translated using Weblate (Swedish)
Currently translated at 100.0% (944 of 944 strings)
Co-authored-by: Gunnar Norin <gunnar.norin@gmail.com>
Translate-URL: https://weblate.kuma.pet/projects/uptime-kuma/uptime-kuma/sv/
Translation: Uptime Kuma/Uptime Kuma
Currently translated at 100.0% (957 of 957 strings)
Translated using Weblate (Romanian)
Currently translated at 100.0% (956 of 956 strings)
Translated using Weblate (Romanian)
Currently translated at 100.0% (944 of 944 strings)
Translated using Weblate (Romanian)
Currently translated at 99.8% (944 of 945 strings)
Co-authored-by: kindercat <156439718+kindercat@users.noreply.github.com>
Translate-URL: https://weblate.kuma.pet/projects/uptime-kuma/uptime-kuma/ro/
Translation: Uptime Kuma/Uptime Kuma
Currently translated at 100.0% (957 of 957 strings)
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (956 of 956 strings)
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (945 of 945 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
Currently translated at 100.0% (957 of 957 strings)
Translated using Weblate (Turkish)
Currently translated at 100.0% (956 of 956 strings)
Translated using Weblate (Turkish)
Currently translated at 100.0% (944 of 944 strings)
Translated using Weblate (Turkish)
Currently translated at 100.0% (945 of 945 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
Currently translated at 100.0% (957 of 957 strings)
Translated using Weblate (French)
Currently translated at 100.0% (956 of 956 strings)
Translated using Weblate (French)
Currently translated at 100.0% (945 of 945 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
Currently translated at 100.0% (957 of 957 strings)
Translated using Weblate (German (Switzerland))
Currently translated at 100.0% (957 of 957 strings)
Translated using Weblate (German)
Currently translated at 100.0% (956 of 956 strings)
Translated using Weblate (German (Switzerland))
Currently translated at 100.0% (956 of 956 strings)
Translated using Weblate (German)
Currently translated at 100.0% (945 of 945 strings)
Translated using Weblate (German (Switzerland))
Currently translated at 100.0% (945 of 945 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
Currently translated at 100.0% (957 of 957 strings)
Translated using Weblate (Bulgarian)
Currently translated at 100.0% (956 of 956 strings)
Translated using Weblate (Bulgarian)
Currently translated at 99.8% (943 of 944 strings)
Translated using Weblate (Bulgarian)
Currently translated at 100.0% (945 of 945 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
- show PORT (cloned switchcase from discord,squadcast,servenio)
- show monitorName in the first row to get on point also from messagge preview notification
- avoid duplication of monitorName and monitorName in the message content
There are a lot of changes here:
-Fixed a lot of issues encountered during my testing
-JSON path is evaluated BEFORE making comparisons (this was the true intended behavior by @chakflying)
-Variable name changes (cosmetic)
-Added != operator
-Changed jsonQueryDescription (again)
Currently translated at 100.0% (940 of 940 strings)
Translated using Weblate (Finnish)
Currently translated at 100.0% (923 of 923 strings)
Translated using Weblate (Finnish)
Currently translated at 100.0% (923 of 923 strings)
Co-authored-by: Ilkka Myller <ilkka.myller@nodefield.com>
Translate-URL: https://weblate.kuma.pet/projects/uptime-kuma/uptime-kuma/fi/
Translation: Uptime Kuma/Uptime Kuma
Currently translated at 89.4% (826 of 923 strings)
Translated using Weblate (Russian)
Currently translated at 96.2% (888 of 923 strings)
Co-authored-by: glauder <glauder@mail.ru>
Translate-URL: https://weblate.kuma.pet/projects/uptime-kuma/uptime-kuma/ru/
Translation: Uptime Kuma/Uptime Kuma
Currently translated at 5.3% (49 of 923 strings)
Translated using Weblate (Malayalam)
Currently translated at 3.6% (34 of 923 strings)
Co-authored-by: gclme <github@cloudlink.media>
Translate-URL: https://weblate.kuma.pet/projects/uptime-kuma/uptime-kuma/ml/
Translation: Uptime Kuma/Uptime Kuma
Currently translated at 100.0% (945 of 945 strings)
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (940 of 940 strings)
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (923 of 923 strings)
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (922 of 922 strings)
Translated using Weblate (Chinese (Simplified))
Currently translated at 99.8% (921 of 922 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
Currently translated at 100.0% (940 of 940 strings)
Translated using Weblate (German (Switzerland))
Currently translated at 100.0% (940 of 940 strings)
Translated using Weblate (German)
Currently translated at 100.0% (923 of 923 strings)
Translated using Weblate (German (Switzerland))
Currently translated at 100.0% (923 of 923 strings)
Translated using Weblate (German)
Currently translated at 100.0% (922 of 922 strings)
Translated using Weblate (German (Switzerland))
Currently translated at 100.0% (922 of 922 strings)
Translated using Weblate (German)
Currently translated at 100.0% (914 of 914 strings)
Translated using Weblate (German (Switzerland))
Currently translated at 100.0% (914 of 914 strings)
Translated using Weblate (German)
Currently translated at 100.0% (912 of 912 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
Currently translated at 100.0% (940 of 940 strings)
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (923 of 923 strings)
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (923 of 923 strings)
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (922 of 922 strings)
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (917 of 917 strings)
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (914 of 914 strings)
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (912 of 912 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
Currently translated at 100.0% (940 of 940 strings)
Translated using Weblate (Turkish)
Currently translated at 100.0% (923 of 923 strings)
Translated using Weblate (Turkish)
Currently translated at 100.0% (923 of 923 strings)
Translated using Weblate (Turkish)
Currently translated at 100.0% (922 of 922 strings)
Translated using Weblate (Turkish)
Currently translated at 100.0% (912 of 912 strings)
Translated using Weblate (Turkish)
Currently translated at 100.0% (889 of 889 strings)
Translated using Weblate (Turkish)
Currently translated at 100.0% (887 of 887 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
Currently translated at 99.8% (911 of 912 strings)
Translated using Weblate (Czech)
Currently translated at 99.4% (884 of 889 strings)
Translated using Weblate (Czech)
Currently translated at 99.5% (883 of 887 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
Currently translated at 100.0% (912 of 912 strings)
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (907 of 907 strings)
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (894 of 894 strings)
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (889 of 889 strings)
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (887 of 887 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
Currently translated at 100.0% (894 of 894 strings)
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (889 of 889 strings)
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (887 of 887 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
Currently translated at 100.0% (923 of 923 strings)
Translated using Weblate (Swedish)
Currently translated at 100.0% (922 of 922 strings)
Translated using Weblate (Swedish)
Currently translated at 100.0% (912 of 912 strings)
Translated using Weblate (Swedish)
Currently translated at 100.0% (889 of 889 strings)
Translated using Weblate (Swedish)
Currently translated at 100.0% (887 of 887 strings)
Co-authored-by: Gunnar Norin <gunnar.norin@gmail.com>
Translate-URL: https://weblate.kuma.pet/projects/uptime-kuma/uptime-kuma/sv/
Translation: Uptime Kuma/Uptime Kuma
Currently translated at 100.0% (940 of 940 strings)
Translated using Weblate (Bulgarian)
Currently translated at 100.0% (923 of 923 strings)
Translated using Weblate (Bulgarian)
Currently translated at 100.0% (922 of 922 strings)
Translated using Weblate (Bulgarian)
Currently translated at 100.0% (917 of 917 strings)
Translated using Weblate (Bulgarian)
Currently translated at 100.0% (914 of 914 strings)
Translated using Weblate (Bulgarian)
Currently translated at 100.0% (912 of 912 strings)
Translated using Weblate (Bulgarian)
Currently translated at 100.0% (907 of 907 strings)
Translated using Weblate (Bulgarian)
Currently translated at 100.0% (894 of 894 strings)
Translated using Weblate (Bulgarian)
Currently translated at 100.0% (889 of 889 strings)
Translated using Weblate (Bulgarian)
Currently translated at 100.0% (887 of 887 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
Currently translated at 6.8% (61 of 885 strings)
Added translation using Weblate (Afrikaans)
Co-authored-by: Peter Paul <henco@techguide.co.za>
Translate-URL: https://weblate.kuma.pet/projects/uptime-kuma/uptime-kuma/af/
Translation: Uptime Kuma/Uptime Kuma
Currently translated at 100.0% (912 of 912 strings)
Translated using Weblate (German)
Currently translated at 100.0% (912 of 912 strings)
Translated using Weblate (German (Switzerland))
Currently translated at 100.0% (912 of 912 strings)
Translated using Weblate (German)
Currently translated at 100.0% (912 of 912 strings)
Translated using Weblate (German (Switzerland))
Currently translated at 100.0% (912 of 912 strings)
Translated using Weblate (German)
Currently translated at 100.0% (907 of 907 strings)
Translated using Weblate (German (Switzerland))
Currently translated at 100.0% (907 of 907 strings)
Translated using Weblate (German)
Currently translated at 100.0% (894 of 894 strings)
Translated using Weblate (German (Switzerland))
Currently translated at 100.0% (894 of 894 strings)
Translated using Weblate (German)
Currently translated at 100.0% (889 of 889 strings)
Translated using Weblate (German (Switzerland))
Currently translated at 100.0% (889 of 889 strings)
Translated using Weblate (German)
Currently translated at 100.0% (887 of 887 strings)
Translated using Weblate (German (Switzerland))
Currently translated at 100.0% (887 of 887 strings)
Translated using Weblate (German)
Currently translated at 100.0% (887 of 887 strings)
Translated using Weblate (German (Switzerland))
Currently translated at 100.0% (887 of 887 strings)
Translated using Weblate (German (Switzerland))
Currently translated at 100.0% (885 of 885 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
Currently translated at 100.0% (940 of 940 strings)
Translated using Weblate (Irish)
Currently translated at 96.4% (890 of 923 strings)
Translated using Weblate (Irish)
Currently translated at 100.0% (885 of 885 strings)
Translated using Weblate (Irish)
Currently translated at 80.0% (708 of 885 strings)
Translated using Weblate (Irish)
Currently translated at 47.4% (420 of 885 strings)
Translated using Weblate (Irish)
Currently translated at 7.7% (69 of 885 strings)
Co-authored-by: Aindriú Mac Giolla Eoin <aindriu80@gmail.com>
Translate-URL: https://weblate.kuma.pet/projects/uptime-kuma/uptime-kuma/ga/
Translation: Uptime Kuma/Uptime Kuma
Currently translated at 0.4% (4 of 885 strings)
Added translation using Weblate (Bavarian)
Co-authored-by: John Doe <weplaet@candymail.de>
Translate-URL: https://weblate.kuma.pet/projects/uptime-kuma/uptime-kuma/bar/
Translation: Uptime Kuma/Uptime Kuma
Currently translated at 89.8% (795 of 885 strings)
Translated using Weblate (Hungarian)
Currently translated at 87.7% (777 of 885 strings)
Co-authored-by: Máté Tallósi <tallosimate@gmail.com>
Translate-URL: https://weblate.kuma.pet/projects/uptime-kuma/uptime-kuma/hu/
Translation: Uptime Kuma/Uptime Kuma
Currently translated at 100.0% (940 of 940 strings)
Translated using Weblate (Croatian)
Currently translated at 100.0% (912 of 912 strings)
Translated using Weblate (Croatian)
Currently translated at 100.0% (885 of 885 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
Currently translated at 100.0% (923 of 923 strings)
Translated using Weblate (Romanian)
Currently translated at 100.0% (914 of 914 strings)
Translated using Weblate (Romanian)
Currently translated at 100.0% (912 of 912 strings)
Translated using Weblate (Romanian)
Currently translated at 100.0% (907 of 907 strings)
Translated using Weblate (Romanian)
Currently translated at 100.0% (894 of 894 strings)
Translated using Weblate (English)
Currently translated at 100.0% (889 of 889 strings)
Translated using Weblate (Romanian)
Currently translated at 100.0% (889 of 889 strings)
Translated using Weblate (Romanian)
Currently translated at 100.0% (887 of 887 strings)
Translated using Weblate (Romanian)
Currently translated at 100.0% (885 of 885 strings)
Translated using Weblate (Romanian)
Currently translated at 100.0% (885 of 885 strings)
Translated using Weblate (Romanian)
Currently translated at 100.0% (885 of 885 strings)
Translated using Weblate (Romanian)
Currently translated at 100.0% (885 of 885 strings)
Translated using Weblate (Romanian)
Currently translated at 100.0% (885 of 885 strings)
Translated using Weblate (Romanian)
Currently translated at 100.0% (885 of 885 strings)
Translated using Weblate (Romanian)
Currently translated at 100.0% (885 of 885 strings)
Translated using Weblate (Romanian)
Currently translated at 100.0% (885 of 885 strings)
Co-authored-by: kindercat <156439718+kindercat@users.noreply.github.com>
Translate-URL: https://weblate.kuma.pet/projects/uptime-kuma/uptime-kuma/en/
Translate-URL: https://weblate.kuma.pet/projects/uptime-kuma/uptime-kuma/ro/
Translation: Uptime Kuma/Uptime Kuma
Currently translated at 100.0% (940 of 940 strings)
Translated using Weblate (French)
Currently translated at 100.0% (936 of 936 strings)
Translated using Weblate (French)
Currently translated at 100.0% (932 of 932 strings)
Translated using Weblate (French)
Currently translated at 100.0% (923 of 923 strings)
Translated using Weblate (French)
Currently translated at 100.0% (922 of 922 strings)
Translated using Weblate (French)
Currently translated at 100.0% (917 of 917 strings)
Translated using Weblate (French)
Currently translated at 100.0% (914 of 914 strings)
Translated using Weblate (French)
Currently translated at 100.0% (912 of 912 strings)
Translated using Weblate (French)
Currently translated at 100.0% (908 of 908 strings)
Translated using Weblate (French)
Currently translated at 100.0% (907 of 907 strings)
Translated using Weblate (French)
Currently translated at 100.0% (894 of 894 strings)
Translated using Weblate (French)
Currently translated at 100.0% (889 of 889 strings)
Translated using Weblate (French)
Currently translated at 100.0% (887 of 887 strings)
Translated using Weblate (French)
Currently translated at 100.0% (885 of 885 strings)
Translated using Weblate (French)
Currently translated at 100.0% (885 of 885 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
Further testing of SNMP feat, however I'm running into the issue `Error in SNMP check: RequestTimedOutError: Request timed out` when the check function is called. I am unsure as to why since my local SNMP script works great with very similar code.
This commit introduces a new SNMP monitor feature to the application, allowing users to monitor devices using SNMP (Simple Network Management Protocol).
- I unified where in file the name of `NotificationProvider.name` is placed
- I made sure that all the providers adhere to the signature of `NotificationProvider.send()`
- I made sure that all the providers use `okMsg` if returning success messages directly from the function.
Here a discussion should be had:
Should this be refactored into a constant of `NotificationProvider`? I could imagine that `NotificationProvider.SENDING_SUCCESSFULL` could be a suitable alternative.
- I made sure all providers have the URL they `POST`/`GET` to be extraced into a variable.
=> refactored this way due to Nelsons suggestion
Currently translated at 61.3% (542 of 884 strings)
Translated using Weblate (Norwegian Bokmål)
Currently translated at 60.4% (534 of 884 strings)
Translated using Weblate (Norwegian Bokmål)
Currently translated at 54.9% (486 of 884 strings)
Co-authored-by: Markus Fenes <mafen@users.noreply.github.com>
Translate-URL: https://weblate.kuma.pet/projects/uptime-kuma/uptime-kuma/nb_NO/
Translation: Uptime Kuma/Uptime Kuma
Currently translated at 99.5% (881 of 885 strings)
Translated using Weblate (Czech)
Currently translated at 99.5% (880 of 884 strings)
Translated using Weblate (Czech)
Currently translated at 97.7% (864 of 884 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
Currently translated at 100.0% (885 of 885 strings)
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (884 of 884 strings)
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (884 of 884 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
Currently translated at 99.8% (883 of 884 strings)
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (884 of 884 strings)
Co-authored-by: Abner Santana <abnerss@outlook.com>
Translate-URL: https://weblate.kuma.pet/projects/uptime-kuma/uptime-kuma/pt_BR/
Translation: Uptime Kuma/Uptime Kuma
Currently translated at 100.0% (885 of 885 strings)
Translated using Weblate (Bulgarian)
Currently translated at 100.0% (884 of 884 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
Currently translated at 100.0% (885 of 885 strings)
Translated using Weblate (German (Switzerland))
Currently translated at 100.0% (885 of 885 strings)
Translated using Weblate (German)
Currently translated at 100.0% (884 of 884 strings)
Translated using Weblate (German (Switzerland))
Currently translated at 100.0% (884 of 884 strings)
Translated using Weblate (German)
Currently translated at 100.0% (884 of 884 strings)
Translated using Weblate (German (Switzerland))
Currently translated at 100.0% (884 of 884 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
Currently translated at 100.0% (884 of 884 strings)
Translated using Weblate (Croatian)
Currently translated at 100.0% (884 of 884 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
Currently translated at 100.0% (885 of 885 strings)
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (884 of 884 strings)
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (884 of 884 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
Currently translated at 100.0% (885 of 885 strings)
Translated using Weblate (Turkish)
Currently translated at 100.0% (884 of 884 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
Currently translated at 100.0% (885 of 885 strings)
Translated using Weblate (Swedish)
Currently translated at 100.0% (884 of 884 strings)
Translated using Weblate (Swedish)
Currently translated at 100.0% (884 of 884 strings)
Translated using Weblate (Swedish)
Currently translated at 97.0% (858 of 884 strings)
Translated using Weblate (English)
Currently translated at 100.0% (884 of 884 strings)
Co-authored-by: Gunnar Norin <gunnar.norin@gmail.com>
Translate-URL: https://weblate.kuma.pet/projects/uptime-kuma/uptime-kuma/en/
Translate-URL: https://weblate.kuma.pet/projects/uptime-kuma/uptime-kuma/sv/
Translation: Uptime Kuma/Uptime Kuma
Currently translated at 100.0% (885 of 885 strings)
Translated using Weblate (French)
Currently translated at 100.0% (884 of 884 strings)
Translated using Weblate (French)
Currently translated at 100.0% (884 of 884 strings)
Translated using Weblate (French)
Currently translated at 100.0% (884 of 884 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
Currently translated at 100.0% (877 of 877 strings)
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (877 of 877 strings)
Co-authored-by: renph <renph96@gmail.com>
Translate-URL: https://weblate.kuma.pet/projects/uptime-kuma/uptime-kuma/zh_Hans/
Translation: Uptime Kuma/Uptime Kuma
Currently translated at 86.5% (759 of 877 strings)
Translated using Weblate (Swedish)
Currently translated at 86.3% (757 of 877 strings)
Translated using Weblate (English)
Currently translated at 100.0% (877 of 877 strings)
Translated using Weblate (Swedish)
Currently translated at 49.0% (430 of 877 strings)
Co-authored-by: Gunnar Norin <gunnar.norin@gmail.com>
Translate-URL: https://weblate.kuma.pet/projects/uptime-kuma/uptime-kuma/en/
Translate-URL: https://weblate.kuma.pet/projects/uptime-kuma/uptime-kuma/sv/
Translation: Uptime Kuma/Uptime Kuma
Currently translated at 99.8% (876 of 877 strings)
Translated using Weblate (Indonesian)
Currently translated at 100.0% (861 of 861 strings)
Co-authored-by: Harry Suryapambagya <harsxv@gmail.com>
Translate-URL: https://weblate.kuma.pet/projects/uptime-kuma/uptime-kuma/id/
Translation: Uptime Kuma/Uptime Kuma
Currently translated at 100.0% (861 of 861 strings)
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (861 of 861 strings)
Co-authored-by: Marcus Vechiato <vechiato@gmail.com>
Translate-URL: https://weblate.kuma.pet/projects/uptime-kuma/uptime-kuma/pt_BR/
Translation: Uptime Kuma/Uptime Kuma
Currently translated at 98.7% (866 of 877 strings)
Translated using Weblate (Chinese (Traditional))
Currently translated at 99.8% (860 of 861 strings)
Translated using Weblate (Chinese (Traditional))
Currently translated at 87.6% (755 of 861 strings)
Co-authored-by: Peter Dave Hello <hsu@peterdavehello.org>
Translate-URL: https://weblate.kuma.pet/projects/uptime-kuma/uptime-kuma/zh_Hant/
Translation: Uptime Kuma/Uptime Kuma
Currently translated at 100.0% (862 of 862 strings)
Translated using Weblate (Russian)
Currently translated at 100.0% (859 of 859 strings)
Co-authored-by: Listum <listum@orudo.ru>
Translate-URL: https://weblate.kuma.pet/projects/uptime-kuma/uptime-kuma/ru/
Translation: Uptime Kuma/Uptime Kuma
Currently translated at 10.9% (94 of 861 strings)
Translated using Weblate (Uzbek)
Currently translated at 8.6% (74 of 859 strings)
Translated using Weblate (Uzbek)
Currently translated at 0.2% (2 of 859 strings)
Co-authored-by: G'olib Narzullayev <gnarzullayev2000@gmail.com>
Translate-URL: https://weblate.kuma.pet/projects/uptime-kuma/uptime-kuma/uz/
Translation: Uptime Kuma/Uptime Kuma
Currently translated at 99.4% (856 of 861 strings)
Translated using Weblate (Czech)
Currently translated at 97.9% (841 of 859 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
Currently translated at 100.0% (877 of 877 strings)
Translated using Weblate (Chinese (Simplified))
Currently translated at 98.0% (860 of 877 strings)
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (862 of 862 strings)
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (861 of 861 strings)
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (859 of 859 strings)
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (858 of 858 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
Currently translated at 100.0% (877 of 877 strings)
Translated using Weblate (German (Switzerland))
Currently translated at 100.0% (877 of 877 strings)
Translated using Weblate (German)
Currently translated at 100.0% (877 of 877 strings)
Translated using Weblate (German (Switzerland))
Currently translated at 100.0% (877 of 877 strings)
Translated using Weblate (German)
Currently translated at 100.0% (862 of 862 strings)
Translated using Weblate (German (Switzerland))
Currently translated at 100.0% (862 of 862 strings)
Translated using Weblate (German (Switzerland))
Currently translated at 100.0% (861 of 861 strings)
Translated using Weblate (German)
Currently translated at 100.0% (861 of 861 strings)
Translated using Weblate (German (Switzerland))
Currently translated at 100.0% (861 of 861 strings)
Translated using Weblate (German)
Currently translated at 100.0% (859 of 859 strings)
Translated using Weblate (German (Switzerland))
Currently translated at 100.0% (859 of 859 strings)
Translated using Weblate (German)
Currently translated at 100.0% (858 of 858 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
Currently translated at 0.5% (5 of 861 strings)
Translated using Weblate (Punjabi (Pakistan))
Currently translated at 1.1% (10 of 861 strings)
Translated using Weblate (Urdu)
Currently translated at 62.4% (538 of 861 strings)
Translated using Weblate (Urdu)
Currently translated at 61.3% (528 of 861 strings)
Translated using Weblate (Punjabi (Pakistan))
Currently translated at 0.4% (4 of 841 strings)
Translated using Weblate (Urdu)
Currently translated at 60.2% (507 of 841 strings)
Added translation using Weblate (Punjabi)
Added translation using Weblate (Punjabi (Pakistan))
Co-authored-by: DevMirza <pzhafeez@gmail.com>
Translate-URL: https://weblate.kuma.pet/projects/uptime-kuma/uptime-kuma/pa/
Translate-URL: https://weblate.kuma.pet/projects/uptime-kuma/uptime-kuma/pa_PK/
Translate-URL: https://weblate.kuma.pet/projects/uptime-kuma/uptime-kuma/ur/
Translation: Uptime Kuma/Uptime Kuma
Currently translated at 100.0% (877 of 877 strings)
Translated using Weblate (Ukrainian)
Currently translated at 99.8% (876 of 877 strings)
Translated using Weblate (Ukrainian)
Currently translated at 99.8% (876 of 877 strings)
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (862 of 862 strings)
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (861 of 861 strings)
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (861 of 861 strings)
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (859 of 859 strings)
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (858 of 858 strings)
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (841 of 841 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
Currently translated at 100.0% (877 of 877 strings)
Translated using Weblate (Turkish)
Currently translated at 99.8% (876 of 877 strings)
Translated using Weblate (Turkish)
Currently translated at 100.0% (862 of 862 strings)
Translated using Weblate (Turkish)
Currently translated at 100.0% (861 of 861 strings)
Translated using Weblate (Turkish)
Currently translated at 100.0% (861 of 861 strings)
Translated using Weblate (Turkish)
Currently translated at 100.0% (859 of 859 strings)
Translated using Weblate (Turkish)
Currently translated at 100.0% (858 of 858 strings)
Translated using Weblate (Turkish)
Currently translated at 100.0% (841 of 841 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
Currently translated at 100.0% (858 of 858 strings)
Translated using Weblate (Polish)
Currently translated at 100.0% (841 of 841 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
Currently translated at 100.0% (862 of 862 strings)
Translated using Weblate (Croatian)
Currently translated at 100.0% (861 of 861 strings)
Translated using Weblate (Croatian)
Currently translated at 100.0% (859 of 859 strings)
Translated using Weblate (Croatian)
Currently translated at 100.0% (841 of 841 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
Currently translated at 100.0% (877 of 877 strings)
Translated using Weblate (French)
Currently translated at 100.0% (877 of 877 strings)
Translated using Weblate (French)
Currently translated at 100.0% (862 of 862 strings)
Translated using Weblate (French)
Currently translated at 100.0% (861 of 861 strings)
Translated using Weblate (French)
Currently translated at 100.0% (861 of 861 strings)
Translated using Weblate (French)
Currently translated at 100.0% (859 of 859 strings)
Translated using Weblate (French)
Currently translated at 100.0% (858 of 858 strings)
Translated using Weblate (French)
Currently translated at 100.0% (841 of 841 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
Currently translated at 100.0% (877 of 877 strings)
Translated using Weblate (Bulgarian)
Currently translated at 100.0% (877 of 877 strings)
Translated using Weblate (Bulgarian)
Currently translated at 100.0% (862 of 862 strings)
Translated using Weblate (Bulgarian)
Currently translated at 100.0% (861 of 861 strings)
Translated using Weblate (Bulgarian)
Currently translated at 100.0% (859 of 859 strings)
Translated using Weblate (Bulgarian)
Currently translated at 100.0% (858 of 858 strings)
Translated using Weblate (Bulgarian)
Currently translated at 100.0% (841 of 841 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
* WIP, still need to handle npm run reset-password
* Implement it for "npm run reset-password"
Bug fixes and change along with this commit
- Move `ssl`, `hostname`, `port` to ./server/config.js, so `reset-password` is able to read it
- Fix: FBSD is missing, no idea who dropped it.
- Fix: Frontend code should not require any backend code (./server/config.js), moved "badgeConstants" to the common util (./src/util.ts) and drop vite-common.js
* Minor
* feat(cli): Allow unattended password reset via CLI
This commit adds a way to reset the admin password via CLI without any
user interaction (unattended operation).
It adds an optional `new_password` CLI argument that, when present is
used instead of prompting the user for password and password
confirmation.
It also makes sure the user is informed the password could leak into
it's shell history (it's up to him to do some cleaning if
needed/wanted).
* Change to dash style
* Add dry-run
* Fix number password issue
---------
Co-authored-by: Louis Lam <louislam@users.noreply.github.com>
* Feat: Add json-query MQTT monitor type
* Fix: Allow result to be null
* Fix: Remove unused parameter
* Chore: Update JSDoc
* Fix: Add default if checkType is not set
---------
Co-authored-by: Louis Lam <louislam@users.noreply.github.com>
* made the status domain selector more accessible
* linting fix
* implemented the suggested changes
---------
Co-authored-by: Louis Lam <louislam@users.noreply.github.com>
* feat: Set and send cookies on redirection (louislam#3587).
* feat: Make proxy agents handle cookies
* Merge package-lock.json
* Merge package-lock.json
* Fix lint
---------
Co-authored-by: Louis Lam <louislam@users.noreply.github.com>
* 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
* replaced the regex replacement engine with `Liquid`
* added custom bodys
* fixed a typo
* formatting fixes
* switched all template-variables to be camelCase
@ -3,14 +3,14 @@ description: "Submit a bug report to help us improve"
#title: "[Bug] "
labels:[bug]
body:
- type:checkboxes
id:no-duplicate-issues
- type:textarea
id:related-issues
validations:
required:true
attributes:
label:"⚠️ Please verify that this bug has NOT been raised before."
description:"Search in the issues sections by clicking [HERE](https://github.com/louislam/uptime-kuma/issues?q=)"
options:
- label:"I checked and didn't find similar issue"
required:true
label:"📑 I have found these related issues/pull requests"
description:"Search related issues by clicking [HERE](https://github.com/louislam/uptime-kuma/issues?q=) and explain what the difference between them or explain that you are unable to find any related issues"
placeholder:"Related to #1 by also touching the ... system. They should not be merged because ..."
- type:checkboxes
attributes:
label:"🛡️ Security Policy"
@ -31,7 +31,7 @@ body:
required:true
attributes:
label:"👟 Reproduction steps"
description:"How do you trigger this bug? Please walk us through it step by step."
description:"How do you trigger this bug? Please walk us through it step by step. Include all important details and add screenshots where appropriate"
placeholder:"..."
- type:textarea
id:expected-behavior
@ -73,22 +73,23 @@ body:
placeholder:"Ex. Google Chrome 95.0.4638.69"
validations:
required:true
- type:input
id:docker-version
- type:textarea
id:deployment-info
attributes:
label:"🐋 Docker Version"
description:"If running with Docker, which version are you running?"
@ -3,14 +3,14 @@ description: "Submit a proposal for a new feature"
#title: "[Feature] "
labels:[feature-request]
body:
- type:checkboxes
id:no-duplicate-issues
- type:textarea
id:related-issues
validations:
required:true
attributes:
label:"⚠️ Please verify that this feature request has NOT been suggested before."
description:"Search in the issues sections by clicking [HERE](https://github.com/louislam/uptime-kuma/issues?q=)"
options:
- label:"I checked and didn't find similar feature request"
required:true
label:"📑 I have found these related issues/pull requests"
description:"Search related issues by clicking [HERE](https://github.com/louislam/uptime-kuma/issues?q=) and explain what the difference between them or explain that you are unable to find any related issues"
placeholder:"Related to #1 by also touching the ... system. They should not be merged because ..."
- type:dropdown
id:feature-area
attributes:
@ -18,10 +18,17 @@ body:
description:"What kind of feature request is this?"
stale-issue-message:'We are clearing up our old issues and your ticket has been open for 3 months with no activity. Remove stale label or comment or this will be closed in 2 days.'
close-issue-message:'This issue was closed because it has been stalled for 2 days with no activity.'
days-before-stale:90
days-before-close:2
days-before-pr-stale:999999999
days-before-pr-close:1
stale-issue-message:|-
We are clearing up our old `help`-issues and your issue has been open for 60 days with no activity.
If no comment is made and the stale label is not removed, this issue will be closed in 7 days.
First of all, I want to thank everyone who made pull requests for Uptime Kuma. I never thought the GitHub Community would be so nice! Because of this, I also never thought that other people would actually read and edit my code. It is not very well structured or commented, sorry about that.
First of all, I want to thank everyone who has submitted issues or shared pull requests for Uptime Kuma.
I never thought the GitHub community would be so nice!
Because of this, I also never thought that other people would actually read and edit my code.
Parts of the code are not very well-structured or commented, sorry about that.
The project was created with vite.js (vue3). Then I created a subdirectory called "server" for the server part. Both frontend and backend share the same package.json.
The project was created with `vite.js` and is written in `vue3`.
Our backend lives in the `server`-directory and mostly communicates via websockets.
Both frontend and backend share the same `package.json`.
The frontend code builds into "dist" directory. The server (express.js) exposes the "dist" directory as the root of the endpoint. This is how production is working.
## Key Technical Skills
- Node.js (You should know about promise, async/await and arrow function etc.)
- Socket.io
- SCSS
- Vue.js
- Bootstrap
- SQLite
For production, the frontend is built into the `dist`-directory and the server (`express.js`) exposes the `dist` directory as the root of the endpoint.
For development, we run vite in development mode on another port.
## Directories
- config (dev config files)
- data (App data)
- db (Base database and migration scripts)
- dist (Frontend build)
- docker (Dockerfiles)
- extra (Extra useful scripts)
- public (Frontend resources for dev only)
- server (Server source code)
- src (Frontend source code)
- test (unit test)
- `config` (dev config files)
- `data` (App data)
- `db` (Base database and migration scripts)
- `dist` (Frontend build)
- `docker` (Dockerfiles)
- `extra` (Extra useful scripts)
- `public` (Frontend resources for dev only)
- `server` (Server source code)
- `src` (Frontend source code)
- `test` (unit test)
## Can I create a pull request for Uptime Kuma?
Yes or no, it depends on what you will try to do. Since I don't want to waste your time, be sure to **create an empty draft pull request or open an issue, so we can have a discussion first**. Especially for a large pull request or you don't know if it will be merged or not.
Yes or no, it depends on what you will try to do.
Both yours and our maintainers' time is precious, and we don't want to waste either.
Here are some references:
If you have any questions about any process/.. is not clear, you are likely not alone => please ask them ^^
### ✅ Usually accepted
Different guidelines exist for different types of pull requests (PRs):
Submitting security fixes is something that may put the community at risk.
Please read through our [security policy](SECURITY.md) and submit vulnerabilities via an [advisory](https://github.com/louislam/uptime-kuma/security/advisories/new) + [issue](https://github.com/louislam/uptime-kuma/issues/new?assignees=&labels=help&template=security.md) instead.
We encourage you to submit how to fix a vulnerability if you know how to, this is not required.
Following the security policy allows us to properly test, fix bugs.
This review allows us to notice, if there are any changes necessary to unrelated parts like the documentation.
[**PLEASE SEE OUR SECURITY POLICY.**](SECURITY.md)
To set up a new notification provider these files need to be modified/created:
- `server/notification-providers/PROVIDER_NAME.js` is where the heart of the notification provider lives.
- Both `monitorJSON` and `heartbeatJSON` can be `null` for some events.
If both are `null`, this is a general testing message, but if just `heartbeatJSON` is `null` this is a certificate expiry.
- Please wrap the axios call into a
```js
try {
let result = await axios.post(...);
if (result.status === ...) ...
} catch (error) {
this.throwGeneralAxiosError(error);
}
```
- `server/notification.js` is where the backend of the notification provider needs to be registered.
*If you have an idea how we can skip this step, we would love to hear about it ^^*
- `src/components/NotificationDialog.vue` you need to decide if the provider is a regional or a global one and add it with a name to the respective list
- `src/components/notifications/PROVIDER_NAME.vue` is where the frontend of each provider lives.
Please make sure that you have:
- used `HiddenInput` for secret credentials
- included all the necessary helptexts/placeholder/.. to make sure the notification provider is simple to setup for new users.
- include all translations (`{{ $t("Translation key") }}`, [`i18n-t keypath="Translation key">`](https://vue-i18n.intlify.dev/guide/advanced/component.html)) in `src/lang/en.json` to enable our translators to translate this
- `src/components/notifications/index.js` is where the frontend of the provider needs to be registered.
*If you have an idea how we can skip this step, we would love to hear about it ^^*
- Bug fix
- Security fix
- Adding notification providers
- Adding new language files (see [these instructions](https://github.com/louislam/uptime-kuma/blob/master/src/lang/README.md))
- Adding new language keys: `$t("...")`
Offering notifications is close to the core of what we are as an uptime monitor.
Therefore, making sure that they work is also really important.
Because testing notification providers is quite time intensive, we mostly offload this onto the person contributing a notification provider.
To make sure you have tested the notification provider, please include screenshots of the following events in the pull-request description:
- `UP`/`DOWN`
- Certificate Expiry via https://expired.badssl.com/
- Testing (the test button on the notification provider setup page)
Using the following way to format this is encouraged:
To set up a new notification provider these files need to be modified/created:
- `server/monitor-types/MONITORING_TYPE.js` is the core of each monitor.
the `async check(...)`-function should:
- throw an error for each fault that is detected with an actionable error message
- in the happy-path, you should set `heartbeat.msg` to a successful message and set `heartbeat.status = UP`
- `server/uptime-kuma-server.js` is where the monitoring backend needs to be registered.
*If you have an idea how we can skip this step, we would love to hear about it ^^*
- `src/pages/EditMonitor.vue` is the shared frontend users interact with.
Please make sure that you have:
- used `HiddenInput` for secret credentials
- included all the necessary helptexts/placeholder/.. to make sure the notification provider is simple to setup for new users.
- include all translations (`{{ $t("Translation key") }}`, [`i18n-t keypath="Translation key">`](https://vue-i18n.intlify.dev/guide/advanced/component.html)) in `src/lang/en.json` to enable our translators to translate this
-
### ❌ Won't be merged
- A dedicated PR for translating existing languages (see [these instructions](https://github.com/louislam/uptime-kuma/blob/master/src/lang/README.md))
- Do not pass the auto-test
- Any breaking changes
- Duplicated pull requests
- Buggy
- UI/UX is not close to Uptime Kuma
- Modifications or deletions of existing logic without a valid reason.
- Adding functions that is completely out of scope
- Converting existing code into other programming languages
- Unnecessarily large code changes that are hard to review and cause conflicts with other PRs.
<sub>Because maintainer time is precious, junior maintainers may merge uncontroversial PRs in this area.</sub>
</p>
</details>
- <details><summary><b>new features/ major changes / breaking bugfixes</b></summary>
<p>
be sure to **create an empty draft pull request or open an issue, so we can have a discussion first**.
This is especially important for a large pull request or when you don't know if it will be merged or not.
<sub>Because of the large impact of this work, only senior maintainers may merge PRs in this area.</sub>
</p>
</details>
The above cases may not cover all possible situations.
The following rules are essential for making your PR mergable:
- Merging multiple issues by a huge PR is more difficult to review and causes conflicts with other PRs. Please
- (if possible) **create one PR for one issue** or
- (if not possible) **explain which issues a PR addresses and why this PR should not be broken apart**
- Make sure your **PR passes our continuous integration**.
PRs will not be merged unless all CI-Checks are green.
- **Breaking changes** (unless for a good reason and discussed beforehand) will not get merged / not get merged quickly.
Such changes require a major version release.
- **Test your code** before submitting a PR.
Buggy PRs will not be merged.
- Make sure the **UI/UX is close to Uptime Kuma**.
- **Think about the maintainability**:
Don't add functionality that is completely **out of scope**.
Keep in mind that we need to be able to maintain the functionality.
- Don't modify or delete existing logic without a valid reason.
- Don't convert existing code into other programming languages for no reason.
I (@louislam) have the final say. If your pull request does not meet my expectations, I will reject it, no matter how much time you spend on it. Therefore, it is essential to have a discussion beforehand.
I ([@louislam](https://github.com/louislam)) have the final say.
If your pull request does not meet my expectations, I will reject it, no matter how much time you spent on it.
Therefore, it is essential to have a discussion beforehand.
I will assign your pull request to a [milestone](https://github.com/louislam/uptime-kuma/milestones), if I plan to review and merge it.
Also, please don't rush or ask for an ETA, because I have to understand the pull request, make sure it is no breaking changes and stick to my vision of this project, especially for large pull requests.
Please don't rush or ask for an ETA.
We have to understand the pull request, make sure it has no breaking changes and stick to the vision of this project, especially for large pull requests.
## I'd like to work on an issue. How do I do that?
We have found that assigning people to issues is management-overhead that we don't need.
A short comment that you want to try your hand at this issue is appreciated to save other devs time.
If you come across any problem during development, feel free to leave a comment with what you are stuck on.
### Recommended Pull Request Guideline
Before deep into coding, discussion first is preferred. Creating an empty pull request for discussion would be recommended.
Before diving deep into coding, having a discussion first by creating an empty pull request for discussion is preferred.
The rationale behind this is that we can align the direction and scope of the feature to eliminate any conflicts with existing and planned work, and can help by pointing out any potential pitfalls.
6. Prepare a pull request: https://github.com/louislam/uptime-kuma/compare
7. Write a proper description. You can mention @louislam in it, so @louislam will get the notification.
8. Create your pull request as a Draft
9. Wait for the discussion
## Project Styles
I personally do not like something that requires so many configurations before you can finally start the app. I hope Uptime Kuma installation will be as easy as like installing a mobile app.
I personally do not like something that requires a lot of configuration before you can finally start the app.
The goal is to make the Uptime Kuma installation as easy as installing a mobile app.
- Easy to install for non-Docker users, no native build dependency is needed (for x86_64/armv7/arm64), no extra config, and no extra effort required to get it running
- Single container for Docker users, no very complex docker-compose file. Just map the volume and expose the port, then good to go
- Easy to install for non-Docker users
- no native build dependency is needed (for `x86_64`/`armv7`/`arm64`)
- no extra configuration and
- no extra effort required to get it running
- Single container for Docker users
- no complex docker-compose file
- mapping the volume and exposing the port should be the only requirements
- Settings should be configurable in the frontend. Environment variables are discouraged, unless it is related to startup such as `DATA_DIR`
- Easy to use
- The web UI styling should be consistent and nice
@ -108,18 +230,12 @@ I personally do not like something that requires so many configurations before y
## Tools
- [`Node.js`](https://nodejs.org/) >= 14
- [`npm`](https://www.npmjs.com/) >= 8.5
- [`Node.js`](https://nodejs.org/) >= 18
- [`npm`](https://www.npmjs.com/) >= 9.3
- [`git`](https://git-scm.com/)
- IDE that supports [`ESLint`](https://eslint.org/) and EditorConfig (I am using [`IntelliJ IDEA`](https://www.jetbrains.com/idea/))
- A SQLite GUI tool (f.ex. [`SQLite Expert Personal`](https://www.sqliteexpert.com/download.html) or [`DBeaver Community`](https://dbeaver.io/download/))
### GitHub Codespace
If you don't want to setup an local environment, you can now develop on GitHub Codespace, read more:
- `uptime-kuma-server.js` (UptimeKumaServer class, main logic should be here, but some still in `server.js`)
## Frontend Dev Server
@ -212,14 +328,15 @@ npm test
## Dependencies
Both frontend and backend share the same package.json. However, the frontend dependencies are eventually not used in the production environment, because it is usually also baked into dist files. So:
Both frontend and backend share the same `package.json`.
However, the frontend dependencies are eventually not used in the production environment, because it is usually also baked into `dist` files. So:
- Frontend dependencies = "devDependencies"
- Examples: vue, chart.js
- Examples: `vue`, `chart.js`
- Backend dependencies = "dependencies"
- Examples: socket.io, sqlite3
- Examples: `socket.io`, `sqlite3`
- Development dependencies = "devDependencies"
- Examples: eslint, sass
- Examples: `eslint`, `sass`
### Update Dependencies
@ -231,9 +348,9 @@ If for security / bug / other reasons, a library must be updated, breaking chang
## Translations
Please add **all** the strings which are translatable to `src/lang/en.json` (If translation keys are omitted, they can not be translated).
Please add **all** the strings which are translatable to `src/lang/en.json` (if translation keys are omitted, they can not be translated.)
**Don't include any other languages in your initial Pull-Request** (even if this is your mother tongue), to avoid merge-conflicts between weblate and `master`.
**Don't include any other languages in your initial pull request** (even if this is your mother tongue), to avoid merge-conflicts between weblate and `master`.
The translations can then (after merging a PR into `master`) be translated by awesome people donating their language skills.
If you want to help by translating Uptime Kuma into your language, please visit the [instructions on how to translate using weblate](https://github.com/louislam/uptime-kuma/blob/master/src/lang/README.md).
@ -245,7 +362,7 @@ My mother language is not English and my grammar is not that great.
## Wiki
Since there is no way to make a pull request to wiki's repo, I have set up another repo to do that.
Since there is no way to make a pull request to the wiki, I have set up another repo to do that.
@ -17,9 +17,9 @@ Uptime Kuma is an easy-to-use self-hosted monitoring tool.
Try it!
- Tokyo Demo Server: https://demo.uptime.kuma.pet (Sponsored by [Uptime Kuma Sponsors](https://github.com/louislam/uptime-kuma#%EF%B8%8F-sponsors))
Demo Server (Location: Frankfurt - Germany): https://demo.kuma.pet/start-demo
It is a temporary live demo, all data will be deleted after 10 minutes. Use the one that is closer to you, but I suggest that you should install and try it out for the best demo experience.
It is a temporary live demo, all data will be deleted after 10 minutes. Sponsored by [Uptime Kuma Sponsors](https://github.com/louislam/uptime-kuma#%EF%B8%8F-sponsors).
## ⭐ Features
@ -43,10 +43,17 @@ It is a temporary live demo, all data will be deleted after 10 minutes. Use the
Uptime Kuma is now running on http://localhost:3001
Uptime Kuma is now running on <http://0.0.0.0:3001>.
> [!WARNING]
> **NFS** (Network File System) are **NOT** supported. Please map to a local directory or volume.
> File Systems like **NFS** (Network File System) are **NOT** supported. Please map to a local directory or volume.
> [!NOTE]
> If you want to limit exposure to localhost (without exposing port for other users or to use a [reverse proxy](https://github.com/louislam/uptime-kuma/wiki/Reverse-Proxy)), you can expose the port like this:
- I was looking for a self-hosted monitoring tool like "Uptime Robot", but it is hard to find a suitable one. One of the close ones is statping. Unfortunately, it is not stable and no longer maintained.
- Want to build a fancy UI.
- I was looking for a self-hosted monitoring tool like "Uptime Robot", but it is hard to find a suitable one. One of the closest ones is statping. Unfortunately, it is not stable and no longer maintained.
- Wanted to build a fancy UI.
- Learn Vue 3 and vite.js.
- Show the power of Bootstrap 5.
- Try to use WebSocket with SPA instead of REST API.
- Try to use WebSocket with SPA instead of a REST API.
- Deploy my first Docker image to Docker Hub.
If you love this project, please consider giving me a ⭐.
If you love this project, please consider giving it a ⭐.
## 🗣️ Discussion / Ask for Help
⚠️ For any general or technical questions, please don't send me an email, as I am unable to provide support in that manner. I will not respond if you asked such questions.
⚠️ For any general or technical questions, please don't send me an email, as I am unable to provide support in that manner. I will not respond if you ask questions there.
I recommend using Google, GitHub Issues, or Uptime Kuma's Subreddit for finding answers to your question. If you cannot find the information you need, feel free to ask:
I recommend using Google, GitHub Issues, or Uptime Kuma's subreddit for finding answers to your question. If you cannot find the information you need, feel free to ask:
@ -181,8 +190,6 @@ If you want to translate Uptime Kuma into your language, please visit [Weblate R
### Spelling & Grammar
Feel free to correct the grammar in the documentation or code.
My mother language is not english and my grammar is not that great.
My mother language is not English and my grammar is not that great.
### Create Pull Requests
If you want to modify Uptime Kuma, please read this guide and follow the rules here: https://github.com/louislam/uptime-kuma/blob/master/CONTRIBUTING.md
1. Please report security issues to https://github.com/louislam/uptime-kuma/security/advisories/new.
1. Please also create an empty security issue to alert me, as GitHub Advisories do not send a notification, I probably will miss it without this. https://github.com/louislam/uptime-kuma/issues/new?assignees=&labels=help&template=security.md
2. Please also create an empty security issue to alert me, as GitHub Advisories do not send a notification, I probably will miss it without this. https://github.com/louislam/uptime-kuma/issues/new?assignees=&labels=help&template=security.md
Do not use the public issue tracker or discuss it in public as it will cause more damage.
@ -19,12 +19,12 @@ You should use or upgrade to the latest version of Uptime Kuma. All `1.X.X` vers
body:`@${username}: Hello! :wave:\n\nThis issue is being automatically closed because it does not follow the issue template. Please DO NOT open a blank issue.`
body:`@${username}: Hello! :wave:\n\nThis issue is being automatically closed because it does not follow the issue template. Please **DO NOT open blank issues and use our [issue-templates](https://github.com/louislam/uptime-kuma/issues/new/choose) instead**.\nBlank Issues do not contain the context nessesary for a good discussions.`
<xs:documentation>A list of assembly names to exclude from the default action of "embed all Copy Local references", delimited with line breaks</xs:documentation>
<xs:documentation>A list of assembly names to include from the default action of "embed all Copy Local references", delimited with line breaks.</xs:documentation>
<xs:documentation>A list of runtime assembly names to exclude from the default action of "embed all Copy Local references", delimited with line breaks</xs:documentation>
<xs:documentation>A list of runtime assembly names to include from the default action of "embed all Copy Local references", delimited with line breaks.</xs:documentation>
<xs:documentation>This will copy embedded files to disk before loading them into memory. This is helpful for some scenarios that expected an assembly to be loaded from a physical file.</xs:documentation>
<xs:documentation>Embedded assemblies are compressed by default, and uncompressed when they are loaded. You can turn compression off with this option.</xs:documentation>
<xs:documentation>As part of Costura, embedded assemblies are no longer included as part of the build. This cleanup can be turned off.</xs:documentation>
<xs:documentation>Costura by default will load as part of the module initialization. This flag disables that behavior. Make sure you call CosturaUtility.Initialize() somewhere in your code.</xs:documentation>
<xs:documentation>Costura will by default use assemblies with a name like 'resources.dll' as a satellite resource and prepend the output path. This flag disables that behavior.</xs:documentation>
<xs:documentation>A list of assembly names to exclude from the default action of "embed all Copy Local references", delimited with |</xs:documentation>
<xs:documentation>A list of assembly names to include from the default action of "embed all Copy Local references", delimited with |.</xs:documentation>
<xs:documentation>A list of runtime assembly names to exclude from the default action of "embed all Copy Local references", delimited with |</xs:documentation>
<xs:documentation>A list of runtime assembly names to include from the default action of "embed all Copy Local references", delimited with |.</xs:documentation>
Console.WriteLine("The --intranet argument was provided, so we will not try to access the internet. The first time this application runs you'll need to run it without the --intranet param or copy the result from another machine to the intranet server.");
varresult=MessageBox.Show("A new version is available. Do you want to update?","Update",MessageBoxButtons.YesNo);
if(result==DialogResult.Yes){
// Create a empty file `update`, so the app will download the core files again at startup
File.Create("update").Close();
trayIcon.Visible=false;
process?.Kill();
// Restart the app, it will download the core files again at startup
Application.Restart();
}
}else{
MessageBox.Show("You are using the latest version.");
}
}
}
voidVisitGitHub(objectsender,EventArgse){
if(intranetOnly){
MessageBox.Show("You have parsed in --intranet so we will not try to access the internet or visit github.com, please go to https://github.com/louislam/uptime-kuma if you want to visit github.");
<ErrorText>This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105.The missing file is {0}.</ErrorText>
defaultPingColor:"blue",// as defined by badge-maker / shields.io
defaultStyle:"flat",
defaultPingValueSuffix:"ms",
defaultPingLabelSuffix:"h",
defaultUptimeValueSuffix:"%",
defaultUptimeLabelSuffix:"h",
defaultCertExpValueSuffix:" days",
defaultCertExpLabelSuffix:"h",
// Values Come From Default Notification Times
defaultCertExpireWarnDays:"14",
defaultCertExpireDownDays:"7"
};
// If host is omitted, the server will accept connections on the unspecified IPv6 address (::) when IPv6 is available and the unspecified IPv4 address (0.0.0.0) otherwise.
// Dual-stack support for (::)
// Also read HOST if not FreeBSD, as HOST is a system environment variable in FreeBSD