Tanmay Shinde
e8c650797c
refactor: removed unnecessary todo comment, modified jsdoc of utility func ( #5164 )
3 months ago
Louis Lam
eca90a2b00
Revert "feat: structured logging (JSON)" ( #5175 )
3 months ago
vishalsabhaya
d0067a0a12
improve page load performance of large amount urls ( #5025 )
...
Co-authored-by: vishal sabhaya <vishals@vebuin.com>
Co-authored-by: Frank Elsinga <frank@elsinga.de>
3 months ago
Cassandra
b287a25de7
feat: structured logging (JSON) ( #5118 )
3 months ago
Frank Elsinga
c82de20c7b
fixed merge-typo
6 months ago
Frank Elsinga
71f9384c09
Merge branch 'master' into snmp-monitor
6 months ago
Louis Lam
88ba9755a6
Resolve conflict
6 months ago
Matt Visnovsky
8d8ce23f2b
Robustness and edge-case handling
7 months ago
Matt Visnovsky
9820f57c64
Truncate long responses
7 months ago
Matt Visnovsky
e2e81091c3
Helpful error when query returns object or array
7 months ago
Matt Visnovsky
82352910bf
Fix: Cast to string then eval
7 months ago
Matt Visnovsky
23f844d871
Error handling robustness
...
Cleanup of some things I missed yesterday...
7 months ago
Matt Visnovsky
fdc145bffd
Added Robustness
...
There are a lot of changes here:
-Fixed a lot of issues encountered during my testing
-JSON path is evaluated BEFORE making comparisons (this was the true intended behavior by @chakflying)
-Variable name changes (cosmetic)
-Added != operator
-Changed jsonQueryDescription (again)
7 months ago
Matt Visnovsky
eaa935cba0
Also return result of the evaluation
...
-Maximum compatibility with @chakflying's existing json-query monitor code.
7 months ago
Matt Visnovsky
10d3188dd3
Query json directly rather than with $.value
...
-This is less abstract
-Maximum compatibility with @chakflying's existing json-query monitor code.
7 months ago
Matt Visnovsky
36dc94b8f2
Better type handling
7 months ago
Matt Visnovsky
efb1642e3c
Blend json-query and snmp monitors
...
Utilizes the JSON Query library to handle comparison logic.
7 months ago
Matt Visnovsky
0384b34007
Remove unnecessary func getKey
...
Addresses:
- https://github.com/louislam/uptime-kuma/pull/4717#discussion_r1589856311
- https://github.com/louislam/uptime-kuma/pull/4717#discussion_r1589862733
8 months ago
Matt Visnovsky
c87ac2f043
Move getKey() to util.ts
8 months ago
Louis Lam
719ef856e8
Merge manually
1 year ago
Nelson Chan
46b300808d
Chore: Fix console colors & add JSDoc ( #4170 )
1 year ago
Louis Lam
e9bf02fc2c
Merge branch '1.23.X' into 1.23.X-merge-to-2.X.X-2
...
# Conflicts:
# package-lock.json
# package.json
# server/model/monitor.js
# server/monitor-types/tailscale-ping.js
# server/socket-handlers/general-socket-handler.js
# server/uptime-kuma-server.js
1 year ago
Louis Lam
afaa7bb2f0
Do not process debug log for production
1 year ago
Louis Lam
a362206fab
Fix: do not colorize non-string log message
1 year ago
Louis Lam
03e43ab364
Log color and simplify startup log for production ( #3889 )
1 year ago
Louis Lam
7212d884ef
Enable eslint for util.ts ( #3887 )
...
* Enable eslint for util.ts
* Drop babel (since eslint parser was replaced by typescript-parser and it doesn't seem to be used anywhere)
* Apply "plugin:@typescript-eslint/recommended"
* Minor
* Remove comment for generated file (Keep the first comment only)
1 year ago
Louis Lam
91b4ffc6dd
Minior
1 year ago
Matthew Nickson
dc8289df12
Added JSDoc for src/
...
Signed-off-by: Matthew Nickson <mnickson@sidingsmedia.com>
2 years ago
Louis Lam
1b6c587cc9
Fix #2472
2 years ago
Louis Lam
3b87209e26
Add configurable dns cache
2 years ago
Louis Lam
4cd5b5563f
Fix #1145
2 years ago
Louis Lam
e07aa982c3
WIP
2 years ago
Louis Lam
2271ac4a5a
Add info.serverTimezoneOffset and improve some styles
2 years ago
Louis Lam
a577fba848
Change DateTime Range using serverTimezone
2 years ago
Louis Lam
a36f24d827
Add configurable server timezone
2 years ago
Louis Lam
204339fbed
Make two functions to convert ISO 8601 <=> YYYY-MM-DD hh:mm:ss
2 years ago
Louis Lam
3f63cb246b
[WIP] Handle timezone offset for timeRange
2 years ago
Louis Lam
f11dfc8f43
[WIP] Add/Edit Maintenance with new UI and recurring
2 years ago
Louis Lam
bb883e6fa0
Move maintenance under `/maintenance`
2 years ago
Louis Lam
90761cf831
Merge remote-tracking branch 'origin/master' into karelkryda_master
...
# Conflicts:
# server/database.js
# server/model/monitor.js
# server/routers/api-router.js
# server/server.js
# src/components/HeartbeatBar.vue
# src/components/MonitorList.vue
# src/icon.js
# src/layouts/Layout.vue
# src/mixins/datetime.js
# src/mixins/socket.js
# src/router.js
# src/util.js
2 years ago
Matthew Nickson
c94dcf1533
Added JSDoc for src/*
...
Signed-off-by: Matthew Nickson <mnickson@sidingsmedia.com>
3 years ago
Karel Krýda
2b14bdae62
Merge branch 'master' into master
3 years ago
Louis Lam
410805052e
Log this.chartPeriodHrs
3 years ago
Karel Krýda
ed84e56a85
Merge remote-tracking branch 'origin_kuma/master'
...
# Conflicts:
# package-lock.json
# server/database.js
# server/model/monitor.js
# server/routers/api-router.js
# server/server.js
# src/components/MonitorList.vue
# src/components/PingChart.vue
# src/icon.js
# src/pages/DashboardHome.vue
# src/pages/StatusPage.vue
# src/router.js
# src/util.js
3 years ago
Louis Lam
30e113755e
Add HIDE_LOG and catch error if cannot subscribe topic
3 years ago
Louis Lam
649f3106e1
Enforce semicolon, fix format globally
3 years ago
Louis Lam
17dcf6d3a2
Merge pull request #910 from andreasbrett/logging
...
introduce consistent logging
3 years ago
Louis Lam
e9ce1433cd
Change log_info to log.info by making it into an object
3 years ago
Louis Lam
9ec29c1bc4
Add back debug() for safe, but it is marked as deprecated
3 years ago
Karel Krýda
0d3414c6d6
A complete maintenance planning system has been created
3 years ago