Commit Graph

499 Commits (a284703d9ee3d0bdb3f86a2e900e35dbee6ec9b6)

Author SHA1 Message Date
LouisLam 3234aec5b3 NODE_ENV if not set, change to production
3 years ago
LouisLam afe91078c4 [status page] checkpoint
3 years ago
LouisLam 9902c181bc Merge branch 'master' into public-dashboard
3 years ago
Louis Lam 069c811af8
Merge pull request #278 from chakflying/tags
3 years ago
LouisLam f9311e4e7f [status page]
3 years ago
LouisLam d7a230ac15 Merge branch 'master' into public-dashboard
3 years ago
LouisLam 97360dab26 add /.well-known/change-password
3 years ago
Willian Rodrigues Barbosa ccb8736b3d fix: send msg if heartbeat message is not set
3 years ago
Louis Lam 2c02dad1f9
Merge pull request #393 from Revyn112/master
3 years ago
DeeJayPee 29d0db805d Add legacy octopush (Octopush-DM from 2011 to 2020 accounts) version
3 years ago
Nelson Chan a0e4e96160 Fix: Fix tag removal, reuse and validation
3 years ago
Nelson Chan 6e3a904aaa WIP: Add tags functionality
3 years ago
No0Vad 2617e1f4d8 Update database.js
3 years ago
No0Vad 91ee39ec60
Merge branch 'master' into retry-heartbeat-interval
3 years ago
LouisLam e205adfd7b [status page] developing
3 years ago
Willian Rodrigues Barbosa 063d64eec8 feat: add microsoft teams notification provider
3 years ago
LouisLam f47f7758f9 Merge branch 'master' into public-dashboard
3 years ago
Ponkhy d313966d80
Merge branch 'master' into import-export
3 years ago
Denis Freund 8352d9abbe add posibility to have a prefixMessage before the embed
3 years ago
No0Vad 389d247463
Update server/database.js
3 years ago
Ponkhy 7fee4a7ea7 Added import options
3 years ago
LouisLam c4f78d776e [2fa] "UptimeKuma" to "Uptime Kuma"
3 years ago
No0Vad f8f9f59464 Added support for a retry interval to monitors
3 years ago
LouisLam 934685637a [Status Page] WIP: Checkpoint
3 years ago
Ponkhy 295ccba44b Adjusted for new db patch management
3 years ago
Ponkhy 8cd5bad44c
Merge branch 'master' into 2fa
3 years ago
Ponkhy f6d1a82989
Update server/server.js
3 years ago
Ponkhy 651b525d06
Update server/server.js
3 years ago
LouisLam 3e25f0e9d9 [Status Page] WIP: Checkpoint
3 years ago
LouisLam 08de0090dc add a better approach for patching db, change setting.value from varchar to TEXT, restore Database.close() to 1.2.0
3 years ago
Ponkhy 59cccf8c50 Fixed typo
3 years ago
Ponkhy 403202d4d4 Added simple TOTP Two Factor Authentication
3 years ago
LouisLam 573c7faddd switch on the notification, if it is added in EditMonitor.vue
3 years ago
LouisLam e330875c80 fix restore fail if no isDefault
3 years ago
Louis Lam 331ae5ec20
Merge pull request #306 from Ponkhy/import-export
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 24facc79d7 sendHeartbeatList use raw data
3 years ago
LouisLam 9f9c1007d7 increase sqlite cache size from 2MB to 12MB
3 years ago
LouisLam dd283423ab improve smtp with cc, bbc and ignore tls
3 years ago
LouisLam 6006038689 fix monitor.stop() in some cases
3 years ago
LouisLam a7b50c3630 Revert "add user-monitor-list"
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 230a9bfaf9 add user-monitor-list
3 years ago
Ponkhy 1ef4562905 Paused monitors stay paused after import
3 years ago
LouisLam 62712f5cc4 Merge branch 'master' into import-export
3 years ago
LouisLam 0aeaf87f5b Merge branch 'master' into default-notification
3 years ago
LouisLam da74391c3e convert notifications into modules
3 years ago
Ponkhy 242e494cb5
Merge branch 'master' into import-export
3 years ago
Ponkhy 4faa409027
Merge branch 'master' into default-notification
3 years ago
LouisLam da131a5156 Merge branch 'master' into clear-monitor-data
3 years ago
Ponkhy fd8c95d64e
Merge branch 'master' into default-notification
3 years ago
Ponkhy 58240aceef Added the option for default notifications
3 years ago
Louis Lam f9c177b150
Merge pull request #315 from tgxn/patch-1
3 years ago
LouisLam 299506ce45 reset the heartbeat list instead of reload the page after cleared events or heartbeats
3 years ago
Domenic Horner 41d32bb9dd Undo parm changes
3 years ago
Domenic Horner b0acda52f9 Add time to smtp body content
3 years ago
Domenic Horner e9cd9be03a Use constants for UP/DOWN through notifications class
3 years ago
Domenic Horner 6ae279c7f3 Move title generation to notification class
3 years ago
Domenic Horner 9c32adfb55
Update pushbullet down body
3 years ago
Domenic Horner d346afd33b
Update pushbullet up body
3 years ago
Domenic Horner 3bf380c684
Update lunasea "up" body content
3 years ago
Domenic Horner dca5c59982
Update lunasea body content
3 years ago
Ponkhy 8f9a973ede
Merge branch 'master' into import-export
3 years ago
LouisLam ebf362754c Merge branch 'master' into clear-monitor-data
3 years ago
LouisLam e31be8caf5 demo mode
3 years ago
LouisLam 60f2f08cea add demo db
3 years ago
LouisLam b1647a310e add demo db
3 years ago
Ponkhy 7d70c4d8cd Code optimizations
3 years ago
Domenic Horner 532ad3044c
Add space to pushbullet and lunasea notifications
3 years ago
LouisLam f23ecef636 add missing cert parameters
3 years ago
LouisLam 51cf2ff6f9 add missing cert parameters
3 years ago
LouisLam b30b1d3a52 create data dir before copy
3 years ago
LouisLam 582e14098d create data dir before copy
3 years ago
LouisLam 6e3e2fc85c fix db path
3 years ago
LouisLam b604807cfe create data dir if not exists
3 years ago
LouisLam 3ee13bddd1 dash style for args
3 years ago
LouisLam c74986647e allow changing data dir
3 years ago
LouisLam b88b357b55 add support for https
3 years ago
Ponkhy 2dd392e609 Added uptime kuma version to backup file
3 years ago
Ponkhy c13cc62d3d
Update server/server.js
3 years ago
Ponkhy b604910bbb
Merge branch 'master' into clear-monitor-data
3 years ago
Ponkhy 2f6c5963c5 Added import and export function
3 years ago
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