LouisLam
e032072900
eslint: allow while (true)
2021-07-30 15:13:51 +08:00
Nelson Chan
47b19ea2f2
ESLint: fix file
2021-07-30 12:35:02 +08:00
LouisLam
5a053e5875
parse the port to int
2021-07-30 11:33:44 +08:00
LouisLam
081abcb6a1
add util.ts for sharing common functions between frontend and backend
2021-07-30 11:23:04 +08:00
LouisLam
063697c20a
set the port by env.PORT, specific node version in package.json
2021-07-29 00:52:41 +08:00
LouisLam
7dbec90c95
cache index.html and fix basic auth applied to all routes
2021-07-28 23:40:50 +08:00
LouisLam
53a90347ca
update database schema, add upside_down and ignore_tls
2021-07-28 23:26:27 +08:00
LouisLam
3666ebb931
change no-unused-vars from error to warn
2021-07-28 20:52:49 +08:00
LouisLam
6bce270f42
cleanup code
2021-07-28 20:35:55 +08:00
LouisLam
4a9690437f
Merge branch 'eslint_stylelint'
...
# Conflicts:
# server/server.js
2021-07-28 20:20:10 +08:00
Nelson Chan
ac0f418294
Fix: passwordHash is not imported
2021-07-28 10:58:36 +08:00
Adam Stachowicz
d97091af51
Missing this
2021-07-27 20:02:20 +02:00
Adam Stachowicz
4c8fdd07d9
Manual fixes
2021-07-27 19:53:59 +02:00
Adam Stachowicz
9648d700d7
Autofix on save
2021-07-27 19:47:13 +02:00
LouisLam
209fa83cff
Add Basic Auth for /metrics
2021-07-28 00:52:31 +08:00
LouisLam
934b797623
Merge branch 'master' into feature/add_prometheus_metrics
...
# Conflicts:
# server/model/monitor.js
2021-07-27 23:13:03 +08:00
LouisLam
2819094377
improve the page load performance
2021-07-26 23:26:47 +08:00
LouisLam
06c4523ce3
update the latest db version to 3
2021-07-26 23:05:04 +08:00
LouisLam
caec933186
prevent unexpected error throw from checkCertificate interrupt the beat
2021-07-26 12:25:44 +08:00
Nelson Chan
51ac7a58dc
Fix: Fix incorrect error handling
2021-07-26 12:24:13 +08:00
Nelson Chan
db26b7d123
Fix: Fix no certificate caused by session reuse
2021-07-26 12:24:13 +08:00
Nelson Chan
7b8459c73a
Fix: use Optional chaining
2021-07-26 12:24:12 +08:00
Nelson Chan
d0c63ebe3e
Feat: Add database storage for TLS info
2021-07-26 12:24:12 +08:00
Nelson Chan
803f0d6219
Feat: Add Barebones certificate info display
2021-07-26 12:24:06 +08:00
LouisLam
d556509d07
戈mprove the readibility of important condition
2021-07-24 11:42:14 +08:00
Louis Lam
0dbecca10f
Merge pull request #102 from NiNiyas/pushover-enhancements
...
Pushover enhancements
2021-07-23 12:32:36 +08:00
Sam
1d4d7fa9c4
fix parenthesis mistake
2021-07-22 20:25:03 +02:00
Matthew Macdonald-Wallace
3a8fbff514
Change casing in README, apply DRY to label values
2021-07-22 16:00:56 +01:00
Matthew Macdonald-Wallace
3b45006567
Move common labels into dedicated const
2021-07-22 14:58:22 +01:00
Niyas
b7a32d4ab6
Pushover enhancements
2021-07-22 19:26:54 +05:30
Matthew Macdonald-Wallace
720051a351
Typo in monitor status name
2021-07-22 11:18:20 +01:00
LouisLam
86e18ac11d
Merge branch 'master' into Spiritreader_master
...
# Conflicts:
# src/pages/EditMonitor.vue
2021-07-22 17:34:41 +08:00
Matthew Macdonald-Wallace
3dcbae0889
Add labels to metrics for querying
2021-07-22 10:21:20 +01:00
Matthew Macdonald-Wallace
96242dce0d
Expose check status and response time to Prometheus
2021-07-22 09:38:27 +01:00
Matthew Macdonald-Wallace
582fb2fe29
Export general metrics via the /metrics endpoint
2021-07-22 08:43:04 +01:00
Matthew Macdonald-Wallace
e3d4a896b1
Fix up some formatting
2021-07-22 08:33:21 +01:00
Matthew Macdonald-Wallace
9a1bf6006a
Add initial package import and config
2021-07-22 08:24:25 +01:00
LouisLam
03b3bb5b30
fix if notification throw exception, the heartbeat is not stored in to the db.
2021-07-22 12:28:47 +08:00
LouisLam
7e4a1ad279
remove used vars
2021-07-22 11:15:53 +08:00
LouisLam
916b9da0dc
Merge branch 'master' into something
...
# Conflicts:
# server/notification.js
# src/components/NotificationDialog.vue
2021-07-22 11:12:52 +08:00
LouisLam
e02eb72863
add db migration
2021-07-22 02:02:35 +08:00
Adam Stachowicz
c4ca8e2acb
More info in server logs
2021-07-21 00:41:38 +02:00
Sam
054269ecf0
fix notification when changing from pending -> up
2021-07-20 11:50:33 +02:00
Sam
02230930c5
Merge branch 'master' of https://github.com/Spiritreader/uptime-kuma
2021-07-19 18:26:00 +02:00
Sam
a8b102ad4a
add retries for pinging function
...
backend:
- new field for monitor: maxretries
- new pending status while service is retrying: 2
- pending status event is not marked important
- pending pings however register as downtime in the calculation
frontend:
- added pending status while service is retrying
- added color for new pending status
- added field to configure amount of retries
database:
- IMPORTANT: THIS REQUIRES MIGRATION!!!!
- added field: maxretries with default value 0
2021-07-19 18:23:06 +02:00
Adam Stachowicz
7cba9ce231
Remove debug spam
2021-07-18 18:35:40 +02:00
LouisLam
9ca2444dab
improve testing notification response
2021-07-18 20:49:46 +08:00
LouisLam
66037e236c
add apprise support
2021-07-18 18:51:58 +08:00
Adam Stachowicz
7c94c3b502
Update server/notification.js
2021-07-18 09:42:34 +00:00
Adam Stachowicz
268c8e50f5
Merge branch 'master' into something
2021-07-18 09:42:08 +00:00