Louis Lam
239611a016
Do not set sendUrl if sendUrl is undefined
2 years ago
Matthew Nickson
fbfa5a33ed
Added Clickable hostname on status page. #1221
...
This should fully implement #1221 by modifying the API and adding two
new properties to the result. The `sendUrl` property denotes if the URL
is sent and `url` is included when required.
Client side checks have been implemented in order to only show a link
when the URL is vaugely correct. I.e not "" or "https://". This prevents
the link from being included if the monitor type is not HTTP without
having to publicly expose the monitor type.
The exposure of the URL is configuarable for each monitor on each
status page by clicking on the link icon.
Signed-off-by: Matthew Nickson <mnickson@sidingsmedia.com>
2 years ago
Matthew Nickson
068b920553
Add JSDoc to server/socket-handlers/*
...
Signed-off-by: Matthew Nickson <mnickson@sidingsmedia.com>
3 years ago
Louis Lam
29d2d95c71
Merge branch '1.14.X'
...
# Conflicts:
# package.json
# server/server.js
3 years ago
Louis Lam
919393cac9
Partially change the server core into a class, remove all require("./server") #1520
3 years ago
Louis Lam
8eb83394f7
Refine UI/UX for custom css / footer text. Add switch for show/hide powered by
3 years ago
Louis Lam
649f3106e1
Enforce semicolon, fix format globally
3 years ago
Louis Lam
e9ce1433cd
Change log_info to log.info by making it into an object
3 years ago
Louis Lam
279e2eb3f6
Merge branch 'master' into logging
...
# Conflicts:
# server/database.js
# server/jobs.js
# server/model/monitor.js
# server/routers/api-router.js
# server/server.js
# server/socket-handlers/status-page-socket-handler.js
# server/util-server.js
3 years ago
Louis Lam
c9fa183712
Manage domain names
3 years ago
Louis Lam
28d72fcd08
Fix #1409 , slug cannot be empty
3 years ago
Louis Lam
ad2130b7b5
[Status Page] Fix monitors are deleted unexpectedly #1399
3 years ago
Louis Lam
d7a839aa52
[Status Page] Fix reset entry page
3 years ago
Louis Lam
37be7df9b0
[Status Page] Delete status page
3 years ago
Louis Lam
27bfae67af
[Status Page] Add a new status page
3 years ago
Louis Lam
e87cdf4d09
[Status Page] wip, upload logo and status page listing
3 years ago
Louis Lam
1033ca5cf4
[Status Page] wip, combine api, add status_page_id into group and incident tables
3 years ago
Louis Lam
18ec42b060
[Status Page] wip
3 years ago
Louis Lam
7c7dbf68c1
[Status Page] wip, sidebar for editor
3 years ago
Andreas Brett
e5913c5abc
separate log functions
3 years ago
Andreas Brett
bdcdf47e52
introduce consistent logging
3 years ago
LouisLam
0a5a6e6a4b
[status page] fix monitor order
3 years ago
LouisLam
fe0fc63843
[status page] send uptime
3 years ago
LouisLam
8c7ee94769
add modified apicache library with disabling client cache
3 years ago
LouisLam
15c00d9158
upload logo and expose ./data/upload to url
3 years ago
LouisLam
5f6aa32844
fix store/fetch status page config
3 years ago
LouisLam
0b572df3d0
[status page] store config
3 years ago
LouisLam
fd95d41d9f
[status page] many update and save group list
3 years ago
LouisLam
9b8f01cfc6
since eslint can auto fix semicolon, standardize all end with semicolon
3 years ago
LouisLam
2955abb5d9
[status page] create incident
3 years ago