Commit Graph

516 Commits (325f3520e1e43c096185eb5285ee147ae71a9717)

Author SHA1 Message Date
Aram Akhavan bb7d67f717
Apply suggestions from code review
3 years ago
Karel Krýda 9a35386841
Merge branch 'master' into master
3 years ago
Louis Lam 429ad384d0 Fix hardcoded path for error.log and move errorLog() to UptimeKumaServer.errorLog()
3 years ago
OidaTiftla 98ee9caf2c
Add variable for currentTime
3 years ago
OidaTiftla 8e99cbf426 Merge branch 'master' into introduce-resend-interval
3 years ago
Greg Smith cbfecab850 switch to the more-up-to-date esm-wallaby
3 years ago
Greg Smith d0546afe71 fix esm require: no ugly warnings
3 years ago
Karel Krýda b4ffcc5555 Added JSDoc
3 years ago
Karel Krýda f78d01d770 Resolve lint errors
3 years ago
Greg Smith f4515ad8c5 add axios cached dns resolve to monitor
3 years ago
Karel Krýda ed84e56a85 Merge remote-tracking branch 'origin_kuma/master'
3 years ago
Matthew Nickson 3c01e8732c
Merge branch 'master' into #1059-specify-dns-resolver-port
3 years ago
Louis Lam 1687de163c
Merge pull request #1565 from Saibamen/eslint
3 years ago
Aram Akhavan 39df4eea92 Ssynchronize push monitor heartbeats to api calls
3 years ago
Adam Stachowicz 5fbfacf5ce Fix ESlint warnings
3 years ago
Matthew Nickson d1a3cd047a
Merge branch 'master' into #1059-specify-dns-resolver-port
3 years ago
Matthew Nickson 46da5e51be
Fix JSDoc grammar
3 years ago
Matthew Nickson 1eecdec2d9
Update JSDoc for better clarity
3 years ago
Matthew Nickson 09e61d9d63
Changed Array<T> to type[]
3 years ago
Matthew Nickson 0083485d4c
Updated server/model/* JSDoc to match new methods
3 years ago
OidaTiftla 7ed8ae9f7c Fix trailing space warning
3 years ago
OidaTiftla d6b591a513
Make comment more readable
3 years ago
Matthew Nickson 6d22ebedca
Merge branch 'master' into add-JSDoc-comments
3 years ago
OidaTiftla 60f8ab7285 Use new logging mechanism
3 years ago
OidaTiftla b7e2489d22
Merge branch 'master' into introduce-resend-interval
3 years ago
Louis Lam 359a490ae3 Fix #1510
3 years ago
Louis Lam 5fa62a888c Merge branch 'master' into mqtt2
3 years ago
Louis Lam e6a8a84278 Include only nessacary data in webhook
3 years ago
Louis Lam 47c72192e1 [eslint] Enable yoda and eqeqeq
3 years ago
Louis Lam d71c086447 Standardize array bracket spacing
3 years ago
Louis Lam 8eb83394f7 Refine UI/UX for custom css / footer text. Add switch for show/hide powered by
3 years ago
Matthew Nickson 45f44b183d
Add JSDoc to server/model/*
3 years ago
Louis Lam 8d8c38b1a8 Allow unused vars in args and fix more eslint issues
3 years ago
Louis Lam e34420368b Remove try-catch and fix username/password/port not working for mqtt
3 years ago
Louis Lam b1c7915bc1 Merge branch 'master' into mqtt2
3 years ago
Matthew Nickson 8c8eeaf627
Merge branch 'master' into #1059-specify-dns-resolver-port
3 years ago
Matthew Nickson b893d50e45
Implement specify Port for DNS Monitor #1059
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
Moritz R 361e44ad6a
Merge branch 'louislam:master' into master
3 years ago
Louis Lam 279e2eb3f6 Merge branch 'master' into logging
3 years ago
Louis Lam c9fa183712 Manage domain names
3 years ago
Louis Lam c4e74c9943 Render <StatusPage> if domain matched
3 years ago
Louis Lam 70311f7a5a Add an option to enable/disable the domain name expiry notification #1364
3 years ago
Moritz R af44b0beab
Merge branch 'master' into master
3 years ago
Moritz R 84a0b24448
Update server/model/monitor.js
3 years ago
Jimmy Huang a4be651118
Update server/model/monitor.js
3 years ago
Louis Lam 04e3394d02 Merge branch 'master' into feature/request-with-http-proxy
3 years ago
OidaTiftla 91366ff565
Merge branch 'master' into introduce-resend-interval
3 years ago
Louis Lam be88351eb3
Merge pull request #1136 from chakflying/fix/prometheus-on-delete
3 years ago
Louis Lam aef0a66205 [Status Page] Simplify show tags logic
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 50d6e888c2 [new status page] wip
3 years ago
Uğur Erkan 8078d0618d Add socks proxy support to proxy feature
3 years ago
Uğur Erkan 78d76512ba Add http and https proxy feature
3 years ago
Louis Lam 595cd93220 Check invalid interval
3 years ago
Jimmy Huang 244a7b3671
Update server/model/monitor.js
3 years ago
Karel Krýda b49e5d5c39 The SQL query to determine if the monitor is under maintenance is now in its own method.
3 years ago
Jimmy Huang ee90d2713f refs issue-1201 in upstream.
3 years ago
Karel Krýda e7b2832967 The start and end dates of the maintenance are now stored in UTC, which allows it to be converted between time zones
3 years ago
OidaTiftla f390a8caf1 Fix missing DB patch and use DATETIME as column format
3 years ago
Karel Krýda 5fda1f0f59 minor fixes (missing commas, spaces, translations)
3 years ago
OidaTiftla 11e9eee09d Change seconds to minutes
3 years ago
OidaTiftla 1ac904d6d6 Introduce resend interval if down
3 years ago
Karel Krýda 0d3414c6d6 A complete maintenance planning system has been created
3 years ago
c0derMo 29df70949d Add ability to connect to daemon via http / tcp for windows compatibility
3 years ago
Tarun Singh 22256dfcd2 added timeout for removing the dead loop state
3 years ago
c0derMo 4818bb67d6 Added trailing comma, fixed spelling & translation
3 years ago
c0derMo c5cc42272f Fixing the editing of docker container & adding english translation
3 years ago
c0derMo b0259b5592 Added docker container monitor
3 years ago
Louis Lam 227bbdea2f [MQTT] Try to improve error handling
3 years ago
Louis Lam 6272514820 [MQTT] Use existing fields instead of creating new ones (Server)
3 years ago
Louis Lam 076d6bdbb6 Merge branch 'master' into mqtt
3 years ago
Nelson Chan 1e92487f30 Chore: Remove onDelete as unused
3 years ago
Nelson Chan edd2534a1b Fix: Clear metrics also on stop and edit
3 years ago
Nelson Chan f6ef390c76 Fix: Remove Prom. metrics on delete monitor
3 years ago
Tarun Singh d3c90df8a8 fixed edit monitor fields empty issues
3 years ago
Louis Lam a42932a43e Simulate Chrome's request Accept header. Better handling of #1067
3 years ago
Juan Cruz Vincenti 934d633d4d Add description to monitor
3 years ago
Andreas Brett 38f8a8ac2f
Merge branch 'louislam:master' into logging
3 years ago
Louis Lam dcc91d6c72 Fix #922
3 years ago
Andreas Brett a13bdaac84
Merge branch 'master' into logging
3 years ago
Louis Lam 92a5f18bf5
Merge pull request #864 from ivanbratovic/http-basicauth
3 years ago
Louis Lam 3d222ac5f5 fix btoa is not define
3 years ago
Tarun Singh 35da8c78f4 added connection timeout and refactored code
3 years ago
Tarun Singh 3f5133d1ba Added authentication logic
3 years ago
Andreas Brett e5913c5abc separate log functions
3 years ago
Andreas Brett bdcdf47e52 introduce consistent logging
3 years ago
Louis Lam 41a6d1b701 Fix parseCertificateInfo possibly in dead loop
3 years ago
Ivan Bratović 34d8984e3a
Merge branch 'master' into http-basicauth
3 years ago
Louis Lam c92153c97e add more debug msg
3 years ago
Tarun Singh 2d802585ff
Update review suggestions
3 years ago
Ivan Bratović 179ca232bc Minor refactor - change variable names and add commas to object definitions
3 years ago
Ivan Bratović 0dcb7aed21 Delinting
3 years ago
Ivan Bratović 23736549f9 Implement HTTP basic auth feature
3 years ago
Tarun Singh 670754b697 added MQTT monitor type
3 years ago
Louis d7f7dba13f write some error logs to ./data/error.log
3 years ago
Louis Lam eb22ad5ffe [certificate notification] error handling and better msg
3 years ago
Louis Lam f5f4835b74 [certificate notification] clear sent history if the cert is changed
3 years ago
Louis Lam 44c1b336dc send certificate notifications in 21, 14, 7 days
3 years ago
Louis Lam 640b6e5b1c prevent monitor dead for unexpected error
3 years ago
Louis Lam 698a38e773 clear status page cache in a better place
3 years ago
Louis Lam 68d44dd9b3 [steam] do not request if there is no steam api key
3 years ago
Louis Lam 20d59e5a13 fix and move the steam api key to settings page
3 years ago
Louis Lam ae31eb6ba9 Merge branch 'master' into Revyn112_master
3 years ago
Bert Verhelst 1d63dd9ddd fix(monitor): safely get status of previous beat if first beat
3 years ago
Louis Lam 7276f34d90 fix reset-password
3 years ago
Louis Lam cd211a6be7 [http options] fine tune
3 years ago
Louis Lam 4e71ab7406 Merge branch 'master' into feature/add-support-for-method-body-and-headers
3 years ago
Louis Lam 3b74b727f2 [Push Type] fix missing important flag and missing up notification
3 years ago
Bert Verhelst 5445c2a2ff fix(monitor): revert unintentional change to comment
3 years ago
Bert Verhelst dc08510e72 Merge remote-tracking branch 'origin/master' into feature/add-support-for-method-body-and-headers
3 years ago
LouisLam 82131f4dd2 merge conflict
3 years ago
Bert Verhelst 5137c80c07 fix(monitor): handle empty headers
3 years ago
LouisLam 56ae6f6117 fix demoMode export
3 years ago
LouisLam 5c89562650 not allow lower than 20s for demo mode
3 years ago
Bert Verhelst d71d27220b fix(edit-monitor): store headers as JSON
3 years ago
Bert Verhelst fba4f86552 Merge branch 'master' into feature/add-support-for-method-body-and-headers
3 years ago
LouisLam a15e9077fc [status page] clear cache if it is an important beat
3 years ago
Bert Verhelst ec4b7e4064 Merge remote-tracking branch 'louislam/master' into feature/add-support-for-method-body-and-headers
3 years ago
LouisLam e5f6d7f047 slack and rocket.chat use the primary base url
3 years ago
Bert Verhelst 3f0b85e5a8 feat(http-requests): add support for methods, body and headers for http
3 years ago
LouisLam 1ed4ac9494 add Push-based monitoring (#279)
3 years ago
LouisLam 3e4154dfb5 Fix retry interval affected bug
3 years ago
Denis Freund b67b4d5afd add steam gameserver for monitoring
3 years ago
LouisLam 0a5a6e6a4b [status page] fix monitor order
3 years ago
LouisLam fe0fc63843 [status page] send uptime
3 years ago
LouisLam 7ee98d989c [status page] implement rest api for heartbeat
3 years ago
LouisLam fd95d41d9f [status page] many update and save group list
3 years ago
Louis a6fdd272a6 [status page] minor
3 years ago
LouisLam 2955abb5d9 [status page] create incident
3 years ago
LouisLam 392f8275b3 Merge branch 'master' into public-dashboard
3 years ago
Louis Lam 72783fd94c
Merge pull request #380 from No0Vad/retry-heartbeat-interval
3 years ago
No0Vad 1300448bed Adjustments to the retry interval
3 years ago
LouisLam 9902c181bc Merge branch 'master' into public-dashboard
3 years ago
Nelson Chan 6e3a904aaa WIP: Add tags functionality
3 years ago
LouisLam e205adfd7b [status page] developing
3 years ago
No0Vad f8f9f59464 Added support for a retry interval to monitors
3 years ago
LouisLam 8ee34c7904 also handle the first beat problem in uptime
3 years ago
LouisLam 4f07c2ea9a uptime calculation fully sum in sql
3 years ago
LouisLam 6006038689 fix monitor.stop() in some cases
3 years ago
LouisLam 0ddbac5109 Revert "move userMonitorList out of server.js"
3 years ago
LouisLam 0f440596c8 Revert "cache last heartbeat list in memory"
3 years ago
LouisLam 87678ea92d cache last heartbeat list in memory
3 years ago
LouisLam a7cf14c663 move userMonitorList out of server.js
3 years ago
LouisLam bf29f28726 send stats only if there is at least one client in the room
3 years ago
Ponkhy 858affa808 Removed useless database query
3 years ago
Ponkhy 303adbf9b1 Show latest dns result in Details.vue
3 years ago
LouisLam 46ac753c46 Merge branch 'master' into dns-monitor
3 years ago
Ponkhy d313a06d5c Optimizations for output handling
3 years ago
Ponkhy 44d9fa63f0 Adjusted the output for A and AAAA records
3 years ago
Ponkhy b2041cb36b Fixed ESLint Errors
3 years ago
LouisLam aa2233eb2d log notification error
3 years ago
Ponkhy e5981b10ce Replaced var with let and removed re-declaration
3 years ago
LouisLam 50f300dd28 heartbeat interval change to use setTimeout()
3 years ago
Ponkhy c79be19ec3 Added DNS Monitor Type
3 years ago
LouisLam eed6d3e847 add more query log for dev env
3 years ago
Louis Lam af34e861c5
Merge pull request #200 from proffalken/feature/187_add_cert_checks_to_prometheus
3 years ago
LouisLam d39b43dacc fix require problem
3 years ago
LouisLam 6a8ccf627a add version to user agent
3 years ago
LouisLam b14f63491d timeout change to 80% of its interval
3 years ago
LouisLam 692a11e51e pass tls info to prometheus.update
3 years ago
LouisLam f099e4270d change to Accept: */* to better support all websites
3 years ago
LouisLam 59ef1f13db set longer timeout for axios request
3 years ago
LouisLam d0aad3400c add reset password in cli
3 years ago
LouisLam 3005585c0f Merge branch 'master' into redirects&status
3 years ago
Philipp Dormann 123fca43a1
FEAT: darkmode (#155)
3 years ago
Nelson Chan 8f7885e58a Feat: Implement MaxRedirects & StatusCodes
3 years ago
LouisLam 63f0a36811 implement upside down mode and ignore tls error
3 years ago
LouisLam 06377af7e5 turn off object-curly-newline, it makes const { a, b, c, d } = require(...) ugly
3 years ago
LouisLam 60aa67892d store ignoreTls and upsideDown into db
3 years ago
LouisLam 081abcb6a1 add util.ts for sharing common functions between frontend and backend
3 years ago
Adam Stachowicz 4c8fdd07d9 Manual fixes
3 years ago
Adam Stachowicz 9648d700d7 Autofix on save
3 years ago
LouisLam 209fa83cff Add Basic Auth for /metrics
3 years ago
LouisLam 934b797623 Merge branch 'master' into feature/add_prometheus_metrics
3 years ago
LouisLam caec933186 prevent unexpected error throw from checkCertificate interrupt the beat
3 years ago
Nelson Chan db26b7d123 Fix: Fix no certificate caused by session reuse
3 years ago
Nelson Chan 7b8459c73a Fix: use Optional chaining
3 years ago
Nelson Chan d0c63ebe3e Feat: Add database storage for TLS info
3 years ago
Nelson Chan 803f0d6219 Feat: Add Barebones certificate info display
3 years ago
LouisLam d556509d07 戈mprove the readibility of important condition
3 years ago
Sam 1d4d7fa9c4 fix parenthesis mistake
3 years ago
Matthew Macdonald-Wallace 3a8fbff514 Change casing in README, apply DRY to label values
3 years ago
Matthew Macdonald-Wallace 3b45006567 Move common labels into dedicated const
3 years ago
Matthew Macdonald-Wallace 720051a351 Typo in monitor status name
3 years ago
LouisLam 86e18ac11d Merge branch 'master' into Spiritreader_master
3 years ago
Matthew Macdonald-Wallace 3dcbae0889 Add labels to metrics for querying
3 years ago
Matthew Macdonald-Wallace 96242dce0d Expose check status and response time to Prometheus
3 years ago
LouisLam 03b3bb5b30 fix if notification throw exception, the heartbeat is not stored in to the db.
3 years ago
LouisLam 916b9da0dc Merge branch 'master' into something
3 years ago
Adam Stachowicz c4ca8e2acb More info in server logs
3 years ago
Sam 054269ecf0 fix notification when changing from pending -> up
3 years ago
Sam a8b102ad4a add retries for pinging function
3 years ago
Adam Stachowicz d94894b7e0 Fix `require-v-for-key`, remove unused declarations and double spaces
3 years ago
LouisLam a9d19ae06a support json for keyword type
3 years ago
TheGuyDanish f84f7aca75
Introduce custom user agent. Fixes #5
3 years ago
LouisLam d357dcb334 fix first beat's uptime is 0%
3 years ago
LouisLam 86492f6dad remove some debug msg
3 years ago
LouisLam ff4259380e do not send notification if first beat is UP
3 years ago
LouisLam 0ad04d1468 implement webhook
3 years ago
LouisLam d24a15410e send notification for important heartbeat
3 years ago
LouisLam 3bdf174e90 add telegram notification
3 years ago
LouisLam ea1556ef81 improve uptime calculation
3 years ago
LouisLam 55bd6b6d7a implement timezone
3 years ago
LouisLam 1d64f643b1 implement keyword monitor
3 years ago
LouisLam a6b5986dd6 add ping and fix uptime
3 years ago
LouisLam 9c653c3d05 implement tcping
3 years ago
LouisLam 84c21b71c0 implement uptime
3 years ago
LouisLam 82afddcfd6 add duration to heartbeat, add timezone array
3 years ago
LouisLam 46f07fc17e many update again
3 years ago
Louis 9fa84a0a2b many update
3 years ago
LouisLam d02401b1c2 many update
3 years ago
LouisLam 0a4fb45a8c init
3 years ago