LouisLam
61e758d872
disable pool for sqlite, re-use a connection to improve the performance.
2021-08-17 15:59:23 +08:00
LouisLam
7a32e5e6ff
catch rejection error globally
2021-08-17 15:32:34 +08:00
LouisLam
eed6d3e847
add more query log for dev env
2021-08-17 02:09:40 +08:00
LouisLam
d5149f90b4
fix ping
2021-08-10 22:00:29 +08:00
LouisLam
70e7945a66
fix possible race condition
2021-08-10 21:37:51 +08:00
LouisLam
b413427a37
graceful shutdown when listen error
2021-08-10 21:28:54 +08:00
LouisLam
d93f6e2716
server.listen bind to ipv6 too
2021-08-10 16:45:37 +08:00
LouisLam
d6fad7f1ef
server.listen bind to ipv6 too
2021-08-10 16:36:21 +08:00
LouisLam
ba1d271afa
fix jwt error
2021-08-09 20:09:01 +08:00
LouisLam
b69185ee9e
control search engine visibility
2021-08-09 18:16:27 +08:00
LouisLam
d0aad3400c
add reset password in cli
2021-08-09 13:34:44 +08:00
LouisLam
f9cb8293f3
improve a bit ux
2021-08-09 01:58:56 +08:00
Adam Stachowicz
46c7e5d058
Save maxredirects
on edit
2021-08-08 18:23:51 +02:00
LouisLam
3265c3cbc3
improve multiselect
2021-08-08 21:03:10 +08:00
Nelson Chan
a50aa93e84
Fix: Fix monitor creation json parsing
2021-08-07 02:10:38 +08:00
LouisLam
adcd251076
Merge branch 'master' into redirects&status
2021-08-06 19:26:44 +08:00
LouisLam
a40816b948
fix high severity vulnerabilities by using my fork sqlite3 package
2021-08-06 19:09:00 +08:00
Nelson Chan
8f7885e58a
Feat: Implement MaxRedirects & StatusCodes
2021-08-05 19:04:38 +08:00
LouisLam
dffe3cf8f2
Revert "try to support subdirectory reverse proxy"
...
This reverts commit a03dd91e40
.
2021-08-05 18:20:34 +08:00
LouisLam
a03dd91e40
try to support subdirectory reverse proxy
2021-08-05 17:56:38 +08:00
LouisLam
38c0c170e7
add some comments
2021-08-04 13:31:17 +08:00
Nelson Chan
655536e457
Fix: use send() instead of end() ( #161 )
2021-08-04 11:56:10 +08:00
LouisLam
d707eba046
fix disable auth
2021-08-04 01:03:40 +08:00
LouisLam
6f868c9ec3
implement no auth
2021-07-31 23:41:24 +08:00
LouisLam
c6a66fad79
add setting for disable auth
2021-07-31 21:57:58 +08:00
LouisLam
60aa67892d
store ignoreTls and upsideDown into db
2021-07-30 19:18:26 +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
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
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
86e18ac11d
Merge branch 'master' into Spiritreader_master
...
# Conflicts:
# src/pages/EditMonitor.vue
2021-07-22 17:34:41 +08: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
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
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
268c8e50f5
Merge branch 'master' into something
2021-07-18 09:42:08 +00:00
Adam Stachowicz
d94894b7e0
Fix require-v-for-key
, remove unused declarations and double spaces
2021-07-18 03:10:15 +02:00