Commit graph

2057 commits

Author SHA1 Message Date
Marc Harnos 0bbe157099
change parsing priority for all passed arguments
update all passed args in server.js to prioritize command line, then use
env.UPTIME_KUMA_ environment variables, then use the generic environment
variable versions env.HOST, env.PORT, env.SSL_KEY, env.SSL_CERT and fall
back to default values where applicable
2022-01-08 18:32:42 +01:00
Marc Harnos 0053a29d10
add validation to port value parsing
only port configurations that are valid (not isNaN) after parseInt
are considered to be used in port variable
2022-01-08 18:27:39 +01:00
Marc Harnos 2c8d5d28e9
simplify host fallback logic
move decision logic for freeBSD HOST environment var into temp var
2022-01-08 18:25:12 +01:00
Louis Lam d4b86dc472
Merge pull request #1133 from thomasleveil/patch-1
fix `TypeError: Cannot read property 'id' of null`
2022-01-06 16:19:36 +08:00
Thomas LÉVEIL 46fa6a56fa
fix TypeError: Cannot read property 'id' of null
when testing a Google Chat notification

see https://github.com/louislam/uptime-kuma/issues/1126#issuecomment-1006343423
2022-01-06 08:48:12 +01:00
Louis Lam ec5037f30d update to 1.11.3 2022-01-06 14:51:20 +08:00
Louis Lam 81a194d826 Merge remote-tracking branch 'origin/master' 2022-01-06 14:47:21 +08:00
Louis Lam 64b3e04d3f Fix #1129 2022-01-06 14:34:45 +08:00
Louis Lam 4ee829ab25
Merge pull request #1130 from bilipp/google-chat-notifications
Fix Google Chat notification type mismatch
2022-01-06 13:05:55 +08:00
Philipp Bischoff bcc3cec7d6 extract translation for notification type 2022-01-05 23:57:40 +01:00
Philipp Bischoff f8c5015e3f fix google chat type mismatch 2022-01-05 23:44:14 +01:00
Louis Lam 8f3ec33591 update to 1.11.2 2022-01-05 16:40:50 +08:00
Louis Lam c5fe3a64c2 Merge remote-tracking branch 'origin/master' 2022-01-05 16:26:03 +08:00
Louis Lam 2a1456cfd0
Merge pull request #1124 from MrEddX/bulgarian
Update bg-BG.js
2022-01-05 14:28:39 +08:00
MrEddX 69dfc0c0d2
Update bg-BG.js
Fixed some typos.
2022-01-05 08:15:34 +02:00
Louis Lam 6d11289257
Merge pull request #1095 from LeslieLeung/add-wecom-notification
feat(*): support WeCom notification
2022-01-04 22:50:30 +08:00
Leslie Leung 590859a95b
Merge branch 'master' into add-wecom-notification 2022-01-03 21:43:56 +08:00
Louis Lam f9c0ff1841
Merge pull request #1109 from iomataani/master
Updated translation
2022-01-03 20:05:46 +08:00
Louis Lam a8566acbaa
Merge pull request #1116 from Minvinea/master
Update translation FR
2022-01-03 20:04:33 +08:00
Minvinea 4b07ec23fe
Update 2022-01-03 00:27:51 +01:00
Ioma Taani 0e50b71290
Merge branch 'louislam:master' into master 2021-12-31 09:09:53 +01:00
Louis Lam 390b50353f
Merge pull request #1106 from MrEddX/bulgarian
Update bg-BG.js
2021-12-30 19:10:42 +08:00
MrEddX d7cb4fa331
Update bg-BG.js
- Updated Bulgarian language file
2021-12-30 08:12:25 +02:00
Louis Lam e18d4b6ad0
Merge pull request #1045 from bilipp/google-chat-notifications
Add support for Google Chat Notifications
2021-12-30 00:16:34 +08:00
Louis Lam f6fc3737fc Change name from "Google Chat" to Google Chat (Google Workspace only) 2021-12-30 00:10:54 +08:00
Louis Lam 4005856ba6 run build dist when building docker image 2021-12-27 19:09:51 +08:00
LeslieLeung 40b70277c7 feat(*): support WeCom notification 2021-12-26 13:11:42 +08:00
Ioma Taani a2bc74c4fd updated 2021-12-24 12:02:50 +01:00
Louis Lam a48176bd48
Merge pull request #1080 from chakflying/feat/smtp-dkim
Feat: Add SMTP DKIM settings
2021-12-22 20:08:29 +08:00
Louis Lam 7cfc5c64b7
Missing a full stop 2021-12-22 13:49:57 +08:00
Nelson Chan 624cd862a5 Feat: Expose SMTP DKIM settings 2021-12-19 13:30:53 +08:00
Louis Lam 0ca68f791f
Merge pull request #1060 from drodmantras/master
Added sl-SI language
2021-12-18 00:58:56 +08:00
Louis Lam 6127eab517
Merge pull request #1071 from MrEddX/bulgarian
Update bg-BG.js
2021-12-18 00:57:31 +08:00
MrEddX 0de7fb69f6
Update bg-BG.js
Added new fields.
Translated new fields.
2021-12-17 12:29:53 +02:00
Louis Lam a42932a43e Simulate Chrome's request Accept header. Better handling of #1067 2021-12-16 15:09:10 +08:00
Philipp Bischoff a6072a0e30 google chat: only show offline message in notification when service went down 2021-12-15 13:40:21 +01:00
Ivan Bratović 475a466c7e
Add attribute to basicauth-pass to prevent browsers from autocompleting (#1063) 2021-12-15 18:18:30 +08:00
Louis Lam 5bc68d7f3b
Update README.md 2021-12-15 02:50:45 +08:00
Louis Lam 000703837b
Update README.md 2021-12-15 02:46:13 +08:00
Erik b10cecb362 Added sl-SI language
Added sl-SI language
2021-12-14 17:59:26 +01:00
Louis Lam 6d6cb2ad49
Merge pull request #1047 from dhfhfk/master
Update Ko-KR.js
2021-12-14 17:28:38 +08:00
Louis Lam cb76801b85
Merge pull request #1049 from Ponkhy/german-language
Updated de-De.js
2021-12-14 13:17:22 +08:00
Ponkhy aa92727a61 Updated de-De 2021-12-12 21:52:51 +01:00
dhfhfk 56dfa05642
Update Ko-KR.js 2021-12-12 18:56:10 +09:00
Philipp Bischoff 8ad6bd31d4 Revert "order notification types by name"
This reverts commit 8398466860.
2021-12-12 00:08:33 +01:00
Philipp Bischoff a71569379e add missing import 2021-12-12 00:01:12 +01:00
Philipp Bischoff 8398466860 order notification types by name 2021-12-11 23:50:03 +01:00
Philipp Bischoff 8050cb8e99 implement google chat notification type 2021-12-11 23:43:12 +01:00
Louis Lam 71492aeb3a Merge remote-tracking branch 'origin/master' 2021-12-11 20:59:45 +08:00
Louis Lam 5ee5ea909d Add Github Action: close-incorrect-issue.yml 2021-12-11 20:59:31 +08:00