Commit Graph

1513 Commits (35479c7690791cde3a1c6a18b938a9fc917edbfd)

Author SHA1 Message Date
LouisLam e4b76717be revert back to node-sqlite3
3 years ago
LouisLam cd1a3a2fb9 revert back to node-sqlite3, as better-sqlite3 causes a lot of installation problems
3 years ago
Ponkhy 7b92166d18 Added clear all db statistics function
3 years ago
Ponkhy 1341d220ed
Merge branch 'louislam:master' into clear-monitor-data
3 years ago
LouisLam 697fa6bdfd fix discord notification appended port unexpectedly
3 years ago
LouisLam 527e0c3444 raise the ping timeout from 2s to 10s (avoid #294)
3 years ago
LouisLam a41534ca60 no declare vars with comma, one line only one statement
3 years ago
LouisLam ec731d174d Merge branch 'MichelBaie_master'
3 years ago
LouisLam 0d65918a6a change bcrypt to bcryptjs, use my own prebuilt better-sqlite3, supports more prebuilt
3 years ago
LouisLam bf29f28726 send stats only if there is at least one client in the room
3 years ago
Ponkhy 1952e34110 Added the possibility to clear monitor data
3 years ago
LouisLam ada6606217 move the new sql to patch8.sql
3 years ago
Ponkhy 858affa808 Removed useless database query
3 years ago
Ponkhy 303adbf9b1 Show latest dns result in Details.vue
3 years ago
Louis Lam 7652b4849a
Merge pull request #238 from Ponkhy/dns-monitor
3 years ago
Louis Lam d2f0a15076
Merge pull request #264 from antiseptikk/master
3 years ago
Thomas Ferney 44d9967cfb
feat: add rocket.chat notification
3 years ago
LouisLam 46ac753c46 Merge branch 'master' into dns-monitor
3 years ago
Thies 72740ba477
Update the styling to better match existing styles
3 years ago
Thies Nieborg 5d438ca2b6
Discord notification URL now also represents non http services
3 years ago
Ponkhy d313a06d5c Optimizations for output handling
3 years ago
Rashad 23851ef539 added mattermost notification support
3 years ago
LouisLam 397fd12081 remove unused import
3 years ago
LouisLam 682e4d45e2 eslint for notification.js
3 years ago
LouisLam f96d792fa1 fix patch database using better-sqlite3
3 years ago
Ponkhy 44d9fa63f0 Adjusted the output for A and AAAA records
3 years ago
LouisLam 14652c9b5f Remove unused variables
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 46cb955172 afterLogin change to non blocking
3 years ago
LouisLam 50f300dd28 heartbeat interval change to use setTimeout()
3 years ago
LouisLam 2f50fc4c00 plan to switch to better-sqlite3, drop node-sqlite3
3 years ago
Ponkhy c79be19ec3 Added DNS Monitor Type
3 years ago
LouisLam b892a92fc8 retry if acquire error
3 years ago
LouisLam ec0dbf3cbe probably still memory leak over time, not sure what happen, change back to singal pool.
3 years ago
LouisLam 210a0d414c fix check update interval too short
3 years ago
LouisLam 05680472a7 fix high memory usage
3 years ago
LouisLam ca3b0a0f19 fix setInterval
3 years ago
LouisLam 4571a9b8c1 check update
3 years ago
LouisLam 209e44c2e1 prevent all monitors making requests at the same moment when start the server
3 years ago
LouisLam 30b8d3d0ab prevent all monitors making requests at the same moment when start the server
3 years ago
LouisLam 7ffdb2eb80 also backup sqlite shm, val file
3 years ago
Ponkhy 64501bf065 Added Line Messenger Notification Service
3 years ago
LouisLam 440c178403 change sqlite to WAL mode
3 years ago
LouisLam 61e758d872 disable pool for sqlite, re-use a connection to improve the performance.
3 years ago
LouisLam 86826fb826 Merge remote-tracking branch 'origin/master'
3 years ago
LouisLam 7a32e5e6ff catch rejection error globally
3 years ago
AverageHumanoid 01e9c76a6f
Use ping in FreeBSD
3 years ago
LouisLam eed6d3e847 add more query log for dev env
3 years ago
LouisLam 31d5b4fd3d do not pass smtp user/pass to nodemailer if both are empty
3 years ago
LouisLam fc76c2836b increase the query timeout
3 years ago
Chris Taylor efe75bde75 Add Pushbullet notification service
3 years ago
Louis Lam af34e861c5
Merge pull request #200 from proffalken/feature/187_add_cert_checks_to_prometheus
3 years ago
Louis Lam 2ae2022e62
Merge pull request #211 from AlexandreGagner/master
3 years ago
LouisLam d39b43dacc fix require problem
3 years ago
Alexandre Gagner eb34dc6cc2 Update notification.js
3 years ago
Alexandre Gagner ed93aae1c2 add octopush notification service
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 d5149f90b4 fix ping
3 years ago
LouisLam 3227a2660b log undefined ping
3 years ago
LouisLam 70e7945a66 fix possible race condition
3 years ago
LouisLam b413427a37 graceful shutdown when listen error
3 years ago
LouisLam debcac4924 run eslint
3 years ago
Matthew Macdonald-Wallace 268dd33792 Add TLS Info to Prometheus metric output
3 years ago
LouisLam 692a11e51e pass tls info to prometheus.update
3 years ago
Matthew Macdonald-Wallace 5eb4f55dfd Add the new gauges to the prometheus handler
3 years ago
LouisLam e7cc5340e5 ping ipv6 for macos
3 years ago
LouisLam 4d4d504d6e retry ping domain with ipv6, if domain is not found
3 years ago
LouisLam 2a4695a774 add -6 to ping cmd if ipv6 address
3 years ago
LouisLam f099e4270d change to Accept: */* to better support all websites
3 years ago
LouisLam d93f6e2716 server.listen bind to ipv6 too
3 years ago
LouisLam d6fad7f1ef server.listen bind to ipv6 too
3 years ago
LouisLam ba1d271afa fix jwt error
3 years ago
LouisLam b69185ee9e control search engine visibility
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 f9cb8293f3 improve a bit ux
3 years ago
Adam Stachowicz 46c7e5d058 Save `maxredirects` on edit
3 years ago
Louis Lam 44391117ab
Merge pull request #173 from chakflying/redirects&status
3 years ago
LouisLam 3265c3cbc3 improve multiselect
3 years ago
Nelson Chan 4ff68238c4
Chore: Improve logging during db development
3 years ago
LouisLam 7b1000d995 Merge remote-tracking branch 'chakflying/redirects&status' into redirects&status
3 years ago
LouisLam 3005585c0f Merge branch 'master' into redirects&status
3 years ago
Philipp Dormann 123fca43a1
FEAT: darkmode (#155)
3 years ago
LouisLam d5b40dfebf better code reuse and "Username" to "Bot Display Name"
3 years ago
LouisLam c990edc87d allowElseIf for else return, since its auto fix removes "else" but without newline
3 years ago
LouisLam 2677f5dd87 run eslint for discord enhancement
3 years ago
Niyas ebf207c2f5
Custom embed username
3 years ago
Nelson Chan a50aa93e84 Fix: Fix monitor creation json parsing
3 years ago
Niyas 3a7414125a
Updated discord embeds
3 years ago
LouisLam adcd251076 Merge branch 'master' into redirects&status
3 years ago
LouisLam dadc270876 Merge branch 'master' into discord-enhancements
3 years ago
LouisLam a98ba41c8e minor
3 years ago
LouisLam a40816b948 fix high severity vulnerabilities by using my fork sqlite3 package
3 years ago
Niyas 9ade9af1e2
Discord enhancements
3 years ago
Nelson Chan 8f7885e58a Feat: Implement MaxRedirects & StatusCodes
3 years ago
LouisLam dffe3cf8f2 Revert "try to support subdirectory reverse proxy"
3 years ago
LouisLam a03dd91e40 try to support subdirectory reverse proxy
3 years ago
LouisLam 38c0c170e7 add some comments
3 years ago
Nelson Chan 655536e457
Fix: use send() instead of end() (#161)
3 years ago
LouisLam d707eba046 fix disable auth
3 years ago
Philipp Dormann e34a8e2e4a
FEAT: PUSHY Notifier (#154)
3 years ago
Louis Lam 6bd9d85a9a
Merge pull request #150 from chakflying/created_date
3 years ago
Nelson Chan 0c3c59df4e Fix: [DB] Add default for created_date in monitor
3 years ago
LouisLam 44c8ca9da8 requires empty username/password if set disableAuth for basic auth
3 years ago
LouisLam 6f868c9ec3 implement no auth
3 years ago
LouisLam 33d7f8645a json format for setting value
3 years ago
LouisLam c6a66fad79 add setting for disable auth
3 years ago
LouisLam 2ebd79d037 run eslint for lunasea change
3 years ago
Niyas 3f84e5e8ab
Update notification.js
3 years ago
Niyas ab1fe2e2d1
LunaSea Support
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 e032072900 eslint: allow while (true)
3 years ago
Nelson Chan 47b19ea2f2 ESLint: fix file
3 years ago
LouisLam 5a053e5875 parse the port to int
3 years ago
LouisLam 081abcb6a1 add util.ts for sharing common functions between frontend and backend
3 years ago
LouisLam 063697c20a set the port by env.PORT, specific node version in package.json
3 years ago
LouisLam 7dbec90c95 cache index.html and fix basic auth applied to all routes
3 years ago
LouisLam 53a90347ca update database schema, add upside_down and ignore_tls
3 years ago
LouisLam 3666ebb931 change no-unused-vars from error to warn
3 years ago
LouisLam 6bce270f42 cleanup code
3 years ago
LouisLam 4a9690437f Merge branch 'eslint_stylelint'
3 years ago
Nelson Chan ac0f418294
Fix: passwordHash is not imported
3 years ago
Adam Stachowicz d97091af51 Missing this
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 2819094377 improve the page load performance
3 years ago
LouisLam 06c4523ce3 update the latest db version to 3
3 years ago
LouisLam caec933186 prevent unexpected error throw from checkCertificate interrupt the beat
3 years ago
Nelson Chan 51ac7a58dc Fix: Fix incorrect error handling
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
Louis Lam 0dbecca10f
Merge pull request #102 from NiNiyas/pushover-enhancements
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
Niyas b7a32d4ab6
Pushover enhancements
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
Matthew Macdonald-Wallace 582fb2fe29 Export general metrics via the /metrics endpoint
3 years ago
Matthew Macdonald-Wallace e3d4a896b1 Fix up some formatting
3 years ago
Matthew Macdonald-Wallace 9a1bf6006a Add initial package import and config
3 years ago
LouisLam 03b3bb5b30 fix if notification throw exception, the heartbeat is not stored in to the db.
3 years ago
LouisLam 7e4a1ad279 remove used vars
3 years ago
LouisLam 916b9da0dc Merge branch 'master' into something
3 years ago
LouisLam e02eb72863 add db migration
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 02230930c5 Merge branch 'master' of https://github.com/Spiritreader/uptime-kuma
3 years ago
Sam a8b102ad4a add retries for pinging function
3 years ago
Adam Stachowicz 7cba9ce231 Remove debug spam
3 years ago
LouisLam 9ca2444dab improve testing notification response
3 years ago
LouisLam 66037e236c add apprise support
3 years ago
Adam Stachowicz 7c94c3b502
Update server/notification.js
3 years ago
Adam Stachowicz 268c8e50f5
Merge branch 'master' into something
3 years ago
Louis Lam 13b3a5be9c
Merge pull request #68 from Saibamen/use_console_error
3 years ago
Louis Lam 6f3ea21864
Merge pull request #61 from NiNiyas/slack-enhancements
3 years ago
Adam Stachowicz d94894b7e0 Fix `require-v-for-key`, remove unused declarations and double spaces
3 years ago
Adam Stachowicz 2bff62cade Improve printing to console
3 years ago
Niyas 01f2fccb23
Update notification.js
3 years ago
Niyas ce2d78f45a
Pushover support
3 years ago
Niyas 1935da5b16
Slack Enhancements
3 years ago
LouisLam dfa9b3a0ca fix require() actually not working after build in the frontend
3 years ago
LouisLam b3bff8d735 add graceful shutdown
3 years ago
Louis Lam f2af5bc064
Merge pull request #46 from NiNiyas/slack-webhook
4 years ago
Philipp Dormann 53e203d2f9
add gotify priority
4 years ago
Niyas 60493f0f86
Updated Slack test notification
4 years ago
Niyas 5f6d5588a6
Added Slack Webhook support
4 years ago
Philipp Dormann 126f00e739
added Gotify Support
4 years ago
LouisLam d4fe5908f5 fix merging problem
4 years ago
LouisLam 5a6e83b777 remove debug msg
4 years ago
LouisLam 9c23cd09ce use bcrypt for password hash
4 years ago
LouisLam 010ebea210 show version in the footer
4 years ago
LouisLam 3e4a98b6bc Merge branch 'dev'
4 years ago
LouisLam 0f1a95fde9 smtp without username password
4 years ago
jacr13 c6237277c0 add support for signal notifications
4 years ago
TheGuyDanish 613c42b6d8 Discord revamp! Changed from bot to webhook, removed discord.js dep
4 years ago
LouisLam 0176857a2c add ability to change the listening port and hostname
4 years ago
LouisLam a9d19ae06a support json for keyword type
4 years ago
TheGuyDanish f84f7aca75
Introduce custom user agent. Fixes #5
4 years ago
LouisLam d357dcb334 fix first beat's uptime is 0%
4 years ago
LouisLam 5f89940ab6 add setup page
4 years ago
LouisLam 86492f6dad remove some debug msg
4 years ago
LouisLam 44bcd78f9a implement discord
4 years ago
LouisLam ff4259380e do not send notification if first beat is UP
4 years ago
LouisLam 072e86542a implement smtp
4 years ago
LouisLam 0ad04d1468 implement webhook
4 years ago
LouisLam d24a15410e send notification for important heartbeat
4 years ago
LouisLam 3bdf174e90 add telegram notification
4 years ago
LouisLam 04ec91d7a9 improve uptime calculation
4 years ago
LouisLam ea1556ef81 improve uptime calculation
4 years ago
LouisLam 55bd6b6d7a implement timezone
4 years ago
LouisLam 1d64f643b1 implement keyword monitor
4 years ago
LouisLam a6b5986dd6 add ping and fix uptime
4 years ago
LouisLam 9c653c3d05 implement tcping
4 years ago
LouisLam 84c21b71c0 implement uptime
4 years ago
LouisLam 82afddcfd6 add duration to heartbeat, add timezone array
4 years ago
LouisLam 46f07fc17e many update again
4 years ago
Louis 9fa84a0a2b many update
4 years ago
LouisLam d02401b1c2 many update
4 years ago
LouisLam 497d63ef7d implementing heartbeat bar
4 years ago
LouisLam 0a4fb45a8c init
4 years ago