Commit Graph

5080 Commits

Author SHA1 Message Date
Frank Elsinga 0e3b3a9ab8
Made sure that more of the async usages are awaited (#4574) 2024-03-15 15:02:55 +01:00
Frank Elsinga a9a1cf1353
Chore: General notification reformatting (#3182)
- 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
2024-03-14 14:21:15 +01:00
Frank Elsinga bfd65ab6e3
Add Heii On-Call Notification Provider (#4485) 2024-03-11 20:51:34 +01:00
Frank Elsinga 1db750a2e1
Merge branch 'master' into hevans/add-heii-on-call-notification-provider 2024-03-11 20:49:42 +01:00
Frank Elsinga ca14c34977
Set `mqtt`-`clientId` to `uptime-kuma_..` instead of `mqttjs_..` (#4503) 2024-03-10 15:16:07 +01:00
Frank Elsinga 2a3a2201e6
make monitor start() and stop() async (#2830) 2024-03-09 23:36:00 +01:00
Frank Elsinga 6eef2192b0
Refactor MS-Teams notification to use AdaptiveCards (#4538) 2024-03-07 15:36:32 +01:00
taschenuhr 9789931edf
Merge branch 'master' into feature/msteams-adaptivecards 2024-03-07 15:30:26 +01:00
taschenuhr 4aaa0b92fb fix test notification after method refactoring 2024-03-07 15:11:19 +01:00
Frank Elsinga fdf562fe39
Test for db file existance instead of creating a new one in `password-restet.js` (#4519)
Test for db file existance instead of creating a new one in `password-restet.js`
2024-03-06 13:03:07 +01:00
Frank Elsinga e2239bc7b7
Merge branch 'master' into hevans/add-heii-on-call-notification-provider 2024-03-05 19:20:14 +01:00
Frank Elsinga da92400401
[Ntfy] Only include action link if monitor url is defined #3274 (#4411) 2024-03-05 19:19:18 +01:00
Humberto Evans daa59b812c
Update en.json
Fix misspelled "Trigger"
2024-03-04 14:54:17 -08:00
Frank Elsinga 574705a4c3
Updated strings for `LINE Messenger` as changed in their developer portal (#4527) 2024-03-03 18:29:24 +01:00
Andi Pätzold a0c62d8ab0
Fix: handle monitor names with slashes (#4472)
Co-authored-by: Frank Elsinga <frank@elsinga.de>
2024-03-03 17:59:38 +08:00
Huzaifa Azim 8fd713d642
migrate timezones-list lib to @vvo/tzdb issue #4479 (#4521) 2024-03-03 17:54:14 +08:00
Frank Elsinga 4c683da0dd
Refactored the `Can I create a pull request for Uptime Kuma` section (#4545) 2024-03-03 17:45:35 +08:00
Frank Elsinga 507ff76728
More readable Contribution guide (#4525)
Co-authored-by: Nelson Chan <3271800+chakflying@users.noreply.github.com>
2024-03-03 17:44:53 +08:00
taschenuhr 8bd69d78a8 some more tweaking of the card content and notification summary 2024-02-28 17:41:00 +01:00
taschenuhr cc09147b4b fix adding optional ActionSet 2024-02-28 16:31:47 +01:00
taschenuhr b8941403d1 code cleanup 2024-02-28 16:30:48 +01:00
taschenuhr 5b87da94b3 push notificationMessage to card header and add action button to dashboard 2024-02-28 14:19:32 +01:00
Vista2003 9209210e7c
Merge branch 'master' into master 2024-02-28 13:00:03 +00:00
Nelson Chan c7b8bb9e4a
Fix: Incorrect handling of status page not found (#4537) 2024-02-28 18:57:58 +08:00
taschenuhr 7756070c57 refactor MS-Teams notification to use adaptive cards 2024-02-28 09:47:14 +01:00
Louis Lam d88e7702b9
Update axios from 0.27.x to 0.28.x (#4532) 2024-02-27 22:07:43 +08:00
Frank Elsinga ee99ee9460
changed which translation we are using 2024-02-27 00:09:56 +01:00
Vista2003 800847d0df Correcting label to fit what it says on the page 2024-02-26 20:23:57 +00:00
Vista2003 3fd0c822d6 Removed trailing space 2024-02-25 16:31:25 +00:00
Vista2003 e74d6a7471 Fixing strings as reported on issue #4526 2024-02-25 10:35:32 +00:00
Huzaifa Azim 99dccd9e90 reset-password-issue-4518 2024-02-23 18:10:09 +05:00
Louis Lam e61589d02e
Add Vue DevTools (#4509) 2024-02-21 09:13:49 +08:00
Stefan Heine 6bfc58674a MQTT monitor, set the MQTT clientId to make it easier in the MQTT broker to identify where the connections are coming from 2024-02-19 07:57:34 +01:00
Stefan Heine 1b293f2754 MQTT monitor, set the MQTT clientId to make it easier in the MQTT broker to identify where the connections are coming from 2024-02-19 07:42:37 +01:00
Humberto Evans 9a52a8761c
Apply suggestions from code review
Co-authored-by: Frank Elsinga <frank@elsinga.de>
2024-02-16 15:08:59 -07:00
Frank Elsinga 1fdb7e48ed
Formatting fixes 2024-02-14 23:45:23 +01:00
Frank Elsinga cc000117ca
Updated the code to look more like the other notification providers 2024-02-14 23:41:35 +01:00
Frank Elsinga cf2d603e27
`Stale`, incorrect issue template and `cannot-reproduce` Comments (#4490) 2024-02-14 13:43:31 +08:00
Humberto Evans 5a9c3ad353 move try/catch into main control flow and more from code review comments 2024-02-13 17:27:59 -08:00
Humberto Evans 4cdc8f344b
Apply suggestions from code review
Co-authored-by: Frank Elsinga <frank@elsinga.de>
2024-02-13 16:54:52 -08:00
Aindriú Mac Giolla Eoin 0efdfc4497
Added Irish language (#4487) 2024-02-13 19:44:53 +08:00
Humberto Evans 673f9a7744 get the linter to be happy with my vue file 2024-02-12 18:12:07 -08:00
Humberto Evans f254940b64 spell things correctly 2024-02-12 18:01:06 -08:00
Humberto Evans 71dd5e2369 do not assume missing heartbeat is a test 2024-02-12 17:54:36 -08:00
Humberto Evans 09d249ca36 add form to NotificationDialog 2024-02-12 17:48:53 -08:00
Humberto Evans 5f25a75f65 remove line at end of file 2024-02-12 17:39:41 -08:00
Humberto Evans 92488290fa add newline at end of file 2024-02-12 17:38:50 -08:00
Humberto Evans 246316f55b Undo my overzelous linter 2024-02-12 17:24:42 -08:00
Humberto Evans 10659d07b2 add link to documentation explaining how to get id and token 2024-02-12 16:56:41 -08:00
Humberto Evans 80bdc455da lint 2024-02-12 16:31:58 -08:00