小造xu_zh
bf68e0a7bc
fix: define pushdeerlink
1 year ago
小造xu_zh
6984596568
Apply suggestions from code review
...
Co-authored-by: Frank Elsinga <frank@elsinga.de>
1 year ago
小造xu_zh
0684313ec9
feat: remove blank characters and ending '/' first
1 year ago
小造xu_zh
d7e12dc92d
feat: allow the user to configure PushDeer Server URL
1 year ago
SGprooo
1d9a28e9ab
feat: Tailscale ping monitor ( #3178 )
...
* Add boilerplate for tailscale ping
* tailscale initial commit draft
* Refactor TailscalePing & better error handling
Split check function into two methods and added async/await syntax for readability/modularity
Switched to promise-based error handling (takes into account different types of error such as "Execution error", "Error in output", "no matching peer", and "is local Tailscale IP") and throws them as JavaScript errors.
* Minor update
* minor update (again)
* Update server/monitor-types/tailscale-ping.js
Co-authored-by: Frank Elsinga <frank@elsinga.de>
* Update server/monitor-types/tailscale-ping.js
Co-authored-by: Frank Elsinga <frank@elsinga.de>
* Update server/monitor-types/tailscale-ping.js
Co-authored-by: Frank Elsinga <frank@elsinga.de>
* Update server/monitor-types/tailscale-ping.js
Co-authored-by: Frank Elsinga <frank@elsinga.de>
* timeout revision
* JSDoc
* Removed long explainers
* eslint tailscale-ping.js --fix
* reran eslint
* Fix: Use hostname rather than url
* Fixed NaN on monitor interval
now interval value is correctly passed to runTailscalePing
* Add warning message
---------
Co-authored-by: Louis Lam <louislam@users.noreply.github.com>
Co-authored-by: Frank Elsinga <frank@elsinga.de>
1 year ago
Tarun Singh
50d4091ded
Merge branch 'master' of https://github.com/louislam/uptime-kuma into status-page-expiry
1 year ago
Muhammed Hussein karimi
278b88a9d9
✨ feat: added kafka producer ( #3268 )
...
* ✨ feat: added kafka producer
Signed-off-by: Muhammed Hussein Karimi <info@karimi.dev>
* 🐛 fix: eslint warn
Signed-off-by: Muhammed Hussein Karimi <info@karimi.dev>
* 🐛 fix: typings and auth problems
Signed-off-by: Muhammed Hussein Karimi <info@karimi.dev>
* 🐛 fix: better variable name to trrack disconnection
Signed-off-by: Muhammed Hussein Karimi <info@karimi.dev>
* 🐛 fix: grouping Kafka Producer special settings into one template
Signed-off-by: Muhammed Hussein Karimi <info@karimi.dev>
* ✨ feat: add kafka producer translations into `en.json`
Signed-off-by: Muhammed Hussein Karimi <info@karimi.dev>
* 🐛 fix: disable close-on-select on kafka broker picker
Signed-off-by: Muhammed Hussein Karimi <info@karimi.dev>
* 🐛 fix: `en.json` invalid json (conflict resolve)
Signed-off-by: Muhammed Hussein Karimi <info@karimi.dev>
* Nostr dm notifications (#3051 )
* Add nostr DM notification provider
* require crypto for node 18 compatibility
* remove whitespace
Co-authored-by: Frank Elsinga <frank@elsinga.de>
* move closer to where it is used
* simplify success or failure logic
* don't clobber the non-alert msg
* Update server/notification-providers/nostr.js
Co-authored-by: Frank Elsinga <frank@elsinga.de>
* polyfills required for node <= 18
* resolve linter warnings
* missing comma
---------
Co-authored-by: Frank Elsinga <frank@elsinga.de>
* Drop nostr
* Minor
* Fix a bug of clone
---------
Signed-off-by: Muhammed Hussein Karimi <info@karimi.dev>
Co-authored-by: Frank Elsinga <frank@elsinga.de>
Co-authored-by: Louis Lam <louislam@users.noreply.github.com>
1 year ago
Tarun Singh
f6c1b92fc6
Added http type check and tags based design
1 year ago
Louis Lam
25c8196641
Support Node.js 20 again ( #3431 )
...
* Support >= Node.js 20.4.0
* Improve the Node.js warning, ban 20.0 to 20.3
* Update
* Minor
1 year ago
Louis Lam
80927332cb
Merge remote-tracking branch 'origin/master' into feat/monitor-list-improved-filtering
1 year ago
Louis Lam
21d556528f
Fix #3420 timezone issue ( #3425 )
1 year ago
Louis Lam
357466cc90
Minor
1 year ago
Louis Lam
b038d09349
Minor
1 year ago
Louis Lam
c6d0c431bd
Merge pull request #3080 from duanearnett/feature/add-channel-notification-for-slack
...
Adds configurable @channel notification for Slack integrations
1 year ago
Louis Lam
345e61abca
Merge remote-tracking branch 'origin/master' into feat/badge-generator-placeholders
...
# Conflicts:
# package-lock.json
# package.json
1 year ago
Louis Lam
dd1526deff
Merge pull request #3421 from louislam/some-update
...
Some update
1 year ago
Louis Lam
be26bb75d9
Update version handling
1 year ago
Louis Lam
99fb5836e2
Add SMSC (СМСЦентр) provider notification ( #3335 ) By @FlatronBuda
...
* Add SMSC, code from #3334
Co-authored-by: FlatronBuda <>
* Update server/notification-providers/smsc.js
Co-authored-by: Frank Elsinga <frank@elsinga.de>
* Update server/notification-providers/smsc.js
Co-authored-by: Frank Elsinga <frank@elsinga.de>
* Update server/notification-providers/smsc.js
Co-authored-by: Frank Elsinga <frank@elsinga.de>
* Update according to @FlatronBuda
* Move to the regional list
---------
Co-authored-by: Frank Elsinga <frank@elsinga.de>
1 year ago
Louis Lam
2f5a565ce4
Merge pull request #3381 from n-thumann/fix_ipv6_handling
...
Fix handling of IPv6 addresses in getClientIP
1 year ago
Tarun Singh
6f4af30701
Merge branch 'master' of https://github.com/louislam/uptime-kuma into status-page-expiry
1 year ago
Tarun Singh
b1f266ceb1
Added expiry changes to status page and fixes
1 year ago
Muhammed Hussein karimi
6bece8796e
✨ feat: json-query monitor added ( #3253 )
...
* ✨ feat: json-query monitor added
Signed-off-by: Muhammed Hussein Karimi <info@karimi.dev>
* 🐛 fix: import warning error
Signed-off-by: Muhammed Hussein Karimi <info@karimi.dev>
* 🐛 fix: br tag and remove comment
Signed-off-by: Muhammed Hussein Karimi <info@karimi.dev>
* 🐛 fix: supporting compare string with other types
Signed-off-by: Muhammed Hussein Karimi <info@karimi.dev>
* 🐛 fix: switch to a better lib for json query
Signed-off-by: Muhammed Hussein Karimi <info@karimi.dev>
* 🐛 fix: better description on json query and using `v-html` in jsonQueryDescription element to fix `a` tags
Signed-off-by: Muhammed Hussein Karimi <info@karimi.dev>
* 🐛 fix: result variable in error message
Signed-off-by: Muhammed Hussein Karimi <info@karimi.dev>
* 🐛 fix: typos in json query description
Co-authored-by: Frank Elsinga <frank@elsinga.de>
* 📝 docs: `HTTP(s) Json Query` added to monitor list in `README.md`
Signed-off-by: Muhammed Hussein Karimi <info@karimi.dev>
* 🐛 fix: needed white space in `README.md`
Co-authored-by: Frank Elsinga <frank@elsinga.de>
* Nostr dm notifications (#3051 )
* Add nostr DM notification provider
* require crypto for node 18 compatibility
* remove whitespace
Co-authored-by: Frank Elsinga <frank@elsinga.de>
* move closer to where it is used
* simplify success or failure logic
* don't clobber the non-alert msg
* Update server/notification-providers/nostr.js
Co-authored-by: Frank Elsinga <frank@elsinga.de>
* polyfills required for node <= 18
* resolve linter warnings
* missing comma
---------
Co-authored-by: Frank Elsinga <frank@elsinga.de>
* Drop nostr
* Rebuild package-lock.json
* Lint
---------
Signed-off-by: Muhammed Hussein Karimi <info@karimi.dev>
Co-authored-by: Frank Elsinga <frank@elsinga.de>
Co-authored-by: zappityzap <128872140+zappityzap@users.noreply.github.com>
Co-authored-by: Louis Lam <louislam@users.noreply.github.com>
1 year ago
Louis Lam
e7d1b4e14a
Merge pull request #3174 from chakflying/fix/push-monitor-safe-restart
...
Fix: Use safeBeat in push monitor
1 year ago
Louis Lam
e5c6783781
Merge pull request #3205 from woj-tek/master
...
Add option to use ApiKeys in Twilio in addition to main account credentials
1 year ago
Louis Lam
d825dbf828
Merge pull request #3188 from chakflying/fix/radius-timeout
...
Fix: Set radius connection timeout to monitor default
1 year ago
Louis Lam
293015ff35
Parse `x-www-form-urlencoded` for /test-webhook
1 year ago
Louis Lam
18d8b3a8e0
Merge remote-tracking branch 'origin/master' into feat/webhook-custom-body
1 year ago
Louis Lam
cdb38d49eb
Merge pull request #3380 from chakflying/experiment/incremental-vacuum-job
...
Feat: Run incremental_vacuum and optimize
1 year ago
Louis Lam
fe40d819bd
Update send403 to sendHttpError
1 year ago
Louis Lam
3dbd8277f0
Merge remote-tracking branch 'origin/master' into feat/global-status-page-badge
...
# Conflicts:
# .gitignore
1 year ago
Louis Lam
ed6b4e5ae5
Merge remote-tracking branch 'origin/master' into miles/invert-keyword
...
# Conflicts:
# server/database.js
1 year ago
Louis Lam
3b9c95a8a8
Prevent users from specifying an unexpected executable as Chromium ( #3348 )
1 year ago
nthumann
cdf6922bdd
Fix handling of IPv6 addresses in getClientIP
1 year ago
Nelson Chan
9954ba82e7
Feat: Run incremental_vacuum and optimize
1 year ago
Louis Lam
13ae878ee8
Merge pull request #3347 from louislam/1.22.X
...
1.22.x merge to master
1 year ago
Tarun Singh
4ea5771f97
Status page certificate expiry
1 year ago
DevMirza
1774bb86dc
🐛 fix lint warning ( #3355 )
1 year ago
Francisco Marques
bd5496d267
Fixed update checker making requests to uptime.kuma.pet even when turned off ( #2281 )
...
* fix: update checker
- fixed bug where it would make the request to uptime.kuma.pet regardless of the `checkUpdate` config;
- defined constants in the top of the document for easier configuration/documentation;
- removed unnecessary compareVersions: we were comparing the same var on both sides res.data.beta, so it will always be equal.
* improvement: better logging and added doc
* improved UPDATE_CHECKER_INTERVAL_MS const
---------
Co-authored-by: Louis Lam <louislam@users.noreply.github.com>
1 year ago
Louis Lam
df8fcffb19
Drop unused code
1 year ago
Louis Lam
8c60e902e1
Remove an unused variable
1 year ago
Louis Lam
ccc39b9516
Move all old db patch files to `db/old_migrations/`
1 year ago
Louis Lam
de74efb2e6
Merge pull request #3169 from janow25/docker-health-check
...
Added Docker Health Status Support
1 year ago
Louis Lam
e26abc3156
Improve the setup database
1 year ago
Louis Lam
d286c534bd
Improve the setup database for embedded MariaDB
1 year ago
Louis Lam
7975caf29e
Update db migration and dockerfile
1 year ago
Louis Lam
16a1a66e09
Merge remote-tracking branch 'origin/master' into 2.0.X
...
# Conflicts:
# docker/alpine-base.dockerfile
# docker/debian-base.dockerfile
# docker/dockerfile
# package.json
# server/database.js
# server/jobs/util-worker.js
# server/model/maintenance.js
# server/model/monitor.js
# server/routers/api-router.js
# server/server.js
# server/uptime-kuma-server.js
1 year ago
Louis Lam
9ee2780e9e
Merge pull request #2871 from pruekk/chore/missing-notificationList
...
chore: notification toggle missing when import from backup
1 year ago
Nelson Chan
a386f1fc9e
[Experiment] Use incremental vacuum to speed up delete? ( #2800 )
...
* DB: Use incremental vacuum
* Chore: Add log for delete monitor exec. time
* WIP: Test synchronous NORMAL
1 year ago
Nelson Chan
3e5e7e6e32
Fix: Incorrect options for cert-exp badge
1 year ago
Nelson Chan
0e725569e5
Feat: Add placeholders for badge generator
...
Chore: Save as dev dep.
1 year ago
Louis Lam
2e2747fb52
Handling DATE_ADD
1 year ago
Louis Lam
5388a37a26
Fix port NaN not working in MariaDB
1 year ago
Louis Lam
4f6035899d
Real browser monitor type ( #3308 )
1 year ago
Louis Lam
dd77baabe1
Merge pull request #3234 from kefoster951/fix_redis_auth
...
Fix redis authentication reattempt issue
1 year ago
Louis Lam
820f2eec9f
Merge remote-tracking branch 'origin/1.23.X'
1 year ago
Nelson Chan
7cc9783436
Fix: Active needs to return bool instead of 0
1 year ago
Louis Lam
b4b6e07e6b
Merge pull request #3310 from chakflying/chore/auth-logging
...
Chore: Add logging for failed auth
1 year ago
Tarun Singh
7a34103da6
Added fix to remove children when type changed
1 year ago
Nelson Chan
c9d6e576ab
Chore: Remove redundant assign
...
Co-authored-by: Frank Elsinga <frank@elsinga.de>
1 year ago
Nelson Chan
97d38ee1a8
Feat: Add custom body for Webhook Notif.
1 year ago
Nelson Chan
cc94609423
Chore: Add logging for failed auth
1 year ago
Lasse Bang Mikkelsen
a00561ff09
Strip trailing slashes to avoid 404
1 year ago
Kenneth Foster
6708eed121
Fixed error handling if client is closed
1 year ago
kefoster951
3c56a6f395
Merge branch 'louislam:master' into fix_redis_auth
1 year ago
Louis Lam
2b46693995
Merge pull request #3239 from madnight/master
...
Fix: prometheus monitor_status metric has 4 values
1 year ago
kefoster951
d37c33ad42
Update server/util-server.js
...
Co-authored-by: Frank Elsinga <frank@elsinga.de>
1 year ago
Louis Lam
c4c3fc81b2
Merge pull request #2693 from julian-piehl/group-monitors
...
Group monitors
1 year ago
Fabian Beuke
37ae8eb44a
Fix: prometheus monitor_status metric has 4 values
...
The prometheus monitor_status metric has actually 4 values. This can easily be verified by looking up the related source code or by using the metric in grafana an see values like 2 (which indicates timeout).
1 year ago
Kenneth Foster
8897385690
Fixed linting
1 year ago
Kenneth Foster
6132a45c7c
fixed when auth is needed but not provided
1 year ago
Kenneth Foster
f68452c47a
Added changes to stop auth attempts after an error
1 year ago
Nelson Chan
58ec53fb1d
Fix: Try to close mysql connection properly
1 year ago
duane
9a8bea5761
Changes 'Mention Channel' -> 'Notify Channel'
...
- Updates variable names
- Updates any Slack mention references
2 years ago
Peace
56f448bfe5
fix: maintenance heredity
2 years ago
Peace
2b46da0f47
style: fix linting
2 years ago
Peace
9bd76c2795
Merge branch 'master' into group-monitors
2 years ago
duane
376d84c742
Merge branch 'master' into feature/add-channel-notification-for-slack
2 years ago
Louis Lam
343a1d3344
Merge pull request #3203 from CommanderStorm/applied_timezone_formatting
...
chore: Made sure that every notification provider uses `timezone`/`localTime`
2 years ago
Wojciech Kapcia
f3fe392ec4
Add option to use ApiKeys in Twilio in addition to main account credentials
2 years ago
Frank Elsinga
f3c09f2bbd
made every Notification provider supply time like dingding after #3152
2 years ago
Louis Lam
8ed2b59410
Resolve conflict
2 years ago
Louis Lam
0b8dddba24
Merge remote-tracking branch 'origin/master' into skaempfe#2593
...
# Conflicts:
# server/model/monitor.js
# src/pages/Details.vue
2 years ago
Louis Lam
bc95875aa0
Merge pull request #3156 from maximilian-krauss/feat/add-pushover-ttl
...
feat: Adds message ttl to pushover notification
2 years ago
Louis Lam
c1efe0f26d
Add a warning for Node.js >= 20
2 years ago
Maximilian Krauß
a0d0d5b015
fix: sends pushover ttl only if defined
2 years ago
Maximilian Krauß
8d05d80a5f
feat: Adds message ttl to pushover notification
2 years ago
duane
5200e10aab
Removes ternary operator for Slack channel mention
2 years ago
Nelson Chan
f1a396b0f7
Fix: Align radius timeout to default
2 years ago
Nelson Chan
f70b971810
Fix: Improve error message
...
Co-authored-by: Frank Elsinga <frank@elsinga.de>
2 years ago
duane
00f733d352
Adds ability to notify channel when Slack webhook triggered
...
- Adds field to toggle channel mentions on/off for Slack integration
- Adds special mention for @channel when enabled
Reference:
[Slack docs](https://api.slack.com/reference/surfaces/formatting#special-mentions )
2 years ago
Nelson Chan
317024ed72
Fix: Use safebeat for push monitor
2 years ago
Janne Nowak
f604d96c5b
splited if to inner if
2 years ago
Janne Nowak
f30f00655f
small fix for down containers
2 years ago
Janne Nowak
891f09def7
removed log
2 years ago
Janne Nowak
6b5e179bb0
linting
2 years ago
Janne Nowak
f653aba735
added docker health status
2 years ago
Louis Lam
bb15fa0179
Merge pull request #3154 from chakflying/fix/clear-data-remove-worker-thread
...
Fix: Remove use of worker threads in clear-old-data
2 years ago
Louis Lam
8d24891b8e
Merge pull request #3054 from TechWilk/keyword-not-found-whitespace
...
Trim before truncating "keword not found" message
2 years ago
Nelson Chan
80c8fd7372
Chore: Remove util-worker
2 years ago
Nelson Chan
a27386bb92
Fix: Use croner for clear-old-data
2 years ago
AnnAngela
ce70b3fc62
feat: add a space to separate the words
2 years ago
AnnAngela
06fba5b55a
feat: show time as server timezone in dingding notification
2 years ago
Louis Lam
7f5d0e5490
Merge remote-tracking branch 'origin/1.21.X'
...
# Conflicts:
# package-lock.json
2 years ago
Louis Lam
0eaaa8b6fa
Minor
2 years ago
Louis Lam
5cd506e340
Minor
2 years ago
Louis Lam
f0beccf6bf
Fix `Same As Server Timezone` do not save correctly
2 years ago
Louis Lam
72c16c3aa2
Fix eslint warnings
2 years ago
Louis Lam
d23cb0b382
Fix maintenance do not start after 1.21.2
2 years ago
Louis Lam
8207f16396
Merge remote-tracking branch 'origin/master' into ntfy-bearer-authorization
2 years ago
Christopher Wilkinson
0e516a42e5
Trim before truncating "keword not found" message
2 years ago
Louis Lam
6356b1e50a
Merge pull request #2961 from chakflying/feat/flush-wal
...
Chore: Flush WAL on shutdown
2 years ago
Josua Frank
11f4cb8725
Merge branch 'louislam:master' into ntfy-bearer-authorization
2 years ago
Louis Lam
4c1ac5e870
Merge pull request #2863 from mtelgkamp/ntfy-notification-improvements
...
Improve ntfy notifications
2 years ago
Louis Lam
9e320dc5fb
Expose timezone and local datetime to notification providers
2 years ago
Louis Lam
2f3f929fbd
Merge pull request #2831 from mtelgkamp/mattermost-notification-improvements
...
Improve mattermost notifications
2 years ago
Miles Steele
682f8e52a8
lint
2 years ago
Miles Steele
171aff1226
add invert keyword feature
2 years ago
Josua Frank
1f7f1f70bf
Merge branch 'louislam:master' into ntfy-bearer-authorization
2 years ago
Louis Lam
21ad715e6a
Merge pull request #3021 from louislam/1.22.X
...
1.22.x -> master
2 years ago
Josua Frank
23af66f618
Merge branch 'louislam:master' into ntfy-bearer-authorization
2 years ago
Louis Lam
45ef7b2f69
Fix Effective Date Range cannot be removed
2 years ago
Nelson Chan
38fab198bb
Fix: Fix user count check
2 years ago
Nelson Chan
8d5679a8ab
Fix: Create database before connect
2 years ago
Josua Frank
6b078b83bd
Merge branch 'master' into ntfy-bearer-authorization
2 years ago
Louis Lam
1be74e2720
Merge pull request #2870 from chakflying/feat/auto-theme-status-page
...
Feat: Support auto theme in status pages
2 years ago
Louis Lam
32f84b5e4e
Merge pull request #2491 from RubenNL/fix-metrics-push
...
Fixed the metrics for the push type.
2 years ago
Louis Lam
dbfaddafca
Validate cron before submit
2 years ago
Louis Lam
511038b45a
Remove unused code
2 years ago
Louis Lam
17ae47d091
Drop database backup logic, because duplicating a relative large database likely causes a disk space issue, users should take backup manually instead.
2 years ago
Louis Lam
de0d1edfd4
Merge pull request #2988 from chakflying/fix/socks-rejectUnauthorized
...
Fix: Pass rejectUnauthorized to Socks Proxy
2 years ago
Louis Lam
524cf7c607
WIP
2 years ago
Louis Lam
227cec86a8
WIP
2 years ago
Louis Lam
02291730fe
WIP
2 years ago
Nelson Chan
8ee4b844fd
Fix: Pass rejectUnauthorized to Socks Proxy
2 years ago
Josua Frank
fc4312ca1a
Merge branch 'master' into ntfy-bearer-authorization
2 years ago
Louis Lam
fbdeb30ce7
Merge pull request #2973 from chakflying/fix/limit-precision
...
Fix: Apply toPrecision as last step
2 years ago
Louis Lam
41bda4e1d7
Merge pull request #2975 from chakflying/fix/badge-no-label
...
Fix: Allow status badge with empty label
2 years ago
Louis Lam
4869e6531c
Merge pull request #2980 from Genc/feature/twilio-notification-provider
...
Add Twilio Sms Notification Provider
2 years ago
Louis Lam
302b9cf644
Merge pull request #2956 from wwniclask25/feature/opsgenie-alerts
...
Feat: Add opsgenie notification provider
2 years ago
Louis Lam
3c3a192943
Merge pull request #2906 from chakflying/fix/duplicate-expiry-notif
...
Fix: Check for TLS expiry notified days smaller than target
2 years ago
Faruk Genç
b64c835cee
Add Twilio Sms Notification Provider
2 years ago
Nelson Chan
4f05912276
Fix: Allow status badge with empty label
2 years ago
Nelson Chan
bf525371d9
Fix: Apply toPrecision as last step
2 years ago
Louis Lam
89bfc3bf33
Merge pull request #2908 from chakflying/chore/encrypted-private-key
...
Chore: Add support for encrypted SSL-key
2 years ago
Louis Lam
f4ee5271af
Improve error handling of mysqlQuery and return row count as result
2 years ago
Louis Lam
7330db3563
Improve error handling of mysqlQuery and return row count as result
2 years ago
Nelson Chan
ca52047bf5
Feat: Flush WAL on shutdown
2 years ago
niclas.koegl
d9558833fc
Fix linting
2 years ago
niclas.koegl
d2527d7254
Merge branch 'master' into feature/opsgenie-alerts
2 years ago
niclas.koegl
6dfca0c163
Add Opsgenie notification provider
2 years ago
Josua Frank
35a56dd9e0
Added dropdown for authentication methods
2 years ago
Josua Frank
442f54de84
Merge branch 'louislam:master' into ntfy-bearer-authorization
2 years ago
tombii
dbe73bd6ae
Update monitor.js ( #2929 )
...
Language
2 years ago
Louis Lam
491239415e
Merge remote-tracking branch 'origin/master' into doubles-ss_master
...
# Conflicts:
# server/database.js
2 years ago
Louis Lam
533bc1505b
Prevent generating duplicated timeslots
2 years ago
Nelson Chan
391692a708
Chore: Add support for encrypted SSL-key
2 years ago
Louis Lam
a599f5149b
Merge pull request #2907 from chakflying/fix/disconnect-redis
...
Fix: Disconnect redis after ping
2 years ago
Nelson Chan
f32fcb204f
Fix: Check for notified days smaller than target
2 years ago
Nelson Chan
230de63460
Fix: Disconnect redis after ping
2 years ago
Josua Frank
e8814e8479
added option for ntfy access tokens
2 years ago
Louis Lam
2dedc1cfbd
Fix #2776
2 years ago
Louis Lam
ce8eebc838
Fix #2880
2 years ago
Louis Lam
7ec09d0118
Fix ipv6 issue for ping
2 years ago
Louis Lam
92c9b8bb63
Fix ipv6 issue for ping
2 years ago
Louis Lam
010c7d681f
Fix ipv6 issue for ping
2 years ago
Louis Lam
8d1847c032
Merge pull request #2744 from bobby-ore/add-lunasea-user-id
...
Add ability to use User ID for LunaSea notifications
2 years ago
Nelson Chan
bc87abf5c2
Fix: Clear uptime cache on push beat
2 years ago
Arniwatt Chonkiattipoom
bb7de6aa88
chore: notification toggle missing when import from backup
2 years ago
Nelson Chan
150607cc93
Feat: Support auto theme in status pages
2 years ago
Michael Telgkamp
cbbd3e20ad
Codestyle: Add trailing comma
2 years ago
Louis Lam
71c800b880
Merge remote-tracking branch 'origin/master' into notification-provider-pagertree
...
# Conflicts:
# src/lang/en.json
2 years ago
Michael Telgkamp
7b4f90ce92
Improve ntfy notifications
...
- use tags `red_circle` for down and `green_circle` for up
- increase priority for down alert by 1 if not already max
- add monitor name and status to title
- use heartbeat msg as Message
- add monitor url as action
2 years ago
Bobby Ore
b21c2adcc2
Rework lunasea notification to allow for device id and user id
2 years ago
Louis Lam
958354e4db
Minor
2 years ago
Louis Lam
38ab5e0f3e
Merge pull request #2558 from Computroniks/feature/1685-prometheus-api-key
...
Added #1685 : Add API keys for API authentication
2 years ago
Matthew Nickson
669f8700b2
Switched to nanoid for key generation
...
To try and prevent any security issues, use an external package to
generate key instead of doing it ourselves. Note: we have to use nanoid
version 3 as nanoid version 4 requires ESM. Currently, nanoid v3 is
still supported.
Signed-off-by: Matthew Nickson <mnickson@sidingsmedia.com>
2 years ago
Matthew Nickson
06ee68dc0e
Merge branch 'feature/1685-prometheus-api-key' of github.com:Computroniks/uptime-kuma into feature/1685-prometheus-api-key
2 years ago
Matthew Nickson
42a69c16ca
Switched to crypto.randomBytes fpr key generation
...
Keys are now 32 bytes long encoded in a URL safe base64 string
Signed-off-by: Matthew Nickson <mnickson@sidingsmedia.com>
2 years ago
Louis Lam
ea3b3abe36
Fine tune
2 years ago
Louis Lam
7f9332c753
Merge remote-tracking branch 'origin/master' into feature/482-add-description-to-monitor
...
# Conflicts:
# server/database.js
# server/model/monitor.js
# src/icon.js
# src/languages/en.js
# src/languages/es-ES.js
2 years ago
Louis Lam
d668812df1
Fix merge issue
2 years ago
Louis Lam
f32d3af62c
Merge remote-tracking branch 'origin/master' into doubles-ss_master
...
# Conflicts:
# server/database.js
2 years ago
Louis Lam
a7b49fcd98
Fix json body after xml body added
2 years ago
Louis Lam
ef64077980
Merge remote-tracking branch 'origin/master' into feature/1685-prometheus-api-key
...
# Conflicts:
# src/lang/en.json
2 years ago
Louis Lam
e873fea86d
Merge pull request #2736 from blozano824/add-status-to-slack-notification
...
Adds name + status + message to Slack notification
2 years ago
Louis Lam
c4a9374671
Merge pull request #2835 from chakflying/fix/game-list-empty
...
Fix: getGameList returns nothing on first run
2 years ago
Nelson Chan
c65a920050
Chore: Fix code comment
2 years ago
Nelson Chan
7b8ed01f27
Fix: getGameList returns nothing on first run
2 years ago
Louis Lam
cecb0b6425
Merge pull request #2610 from bayramberkay/feature/add-xml-support-to-http-monitors
...
Add xml support to HTTP monitors
2 years ago
Louis Lam
2fa233ae7f
Fix prometheus null issues
2 years ago
Louis Lam
e9475ed3c0
Merge remote-tracking branch 'origin/master' into telegram_test
...
# Conflicts:
# server/notification-providers/telegram.js
# src/languages/en.js
2 years ago
Louis Lam
10228874fa
Merge manually
2 years ago
Michael Telgkamp
186ca30508
Improve mattermost notifications
2 years ago
Thomas Spalinger
7f88aacbe7
make monitor start() and stop() async
2 years ago
Ruben van Dijk
896e33815d
Merge branch 'louislam:master' into fix-metrics-push
2 years ago
Louis Lam
7e3734af53
Better handling
2 years ago
Louis Lam
5789112f55
Merge remote-tracking branch 'origin/master' into feat-add-message-thread-id-telegram-nonfiction
2 years ago
Louis Lam
4dfc1a0221
Merge pull request #2664 from spali/keep_prometheus_instance
...
remember prometheus instance and expose it
2 years ago
Austin Miller
5e1489a6ed
PagerTree Notification - Send msg when heartbeatJSON null
2 years ago
Louis Lam
9ccaa4d120
Merge pull request #2786 from luckman212/luckman212-tagsort-1
...
sorted tags on dashboard
2 years ago
Louis Lam
42033c692f
Merge pull request #2748 from chakflying/feat/improve-err-code
...
Feat: Use error message to detect and set status code
2 years ago
Peace
0be8b111e2
chore: better up message
...
Co-authored-by: Matthew Nickson <mnickson@sidingsmedia.com>
2 years ago
Faruk Genç
72106ba4c4
Merge remote-tracking branch 'remote/master' into feature/add-xml-support-to-http-monitors
2 years ago
Peace
cef0a0faf4
Merge branch 'master' into group-monitors
2 years ago
Matthew Nickson
b8720b46c3
Switched to using Authorization header
...
Prometheus doesn't support using custom headers for exporters, however
it does support using the Authorisation header with basic auth. As
such, we switched from using X-API-Key to Authorization with the basic
scheme and an empty username field.
Also added a rate limit for API endpoints of 60 requests in a minute
Signed-off-by: Matthew Nickson <mnickson@sidingsmedia.com>
2 years ago
Matthew Nickson
1d4af39820
Fixed JSDoc for one method
...
Signed-off-by: Matthew Nickson <mnickson@sidingsmedia.com>
2 years ago
Luke Hamburg
dd1d71530f
sorted tags on dashboard
...
see https://github.com/louislam/uptime-kuma/issues/2785
2 years ago
Matthew Nickson
01c71a0242
Fixed logic errors, removed dev leftovers
...
Fixed a logic error where a comma was used instead of an or, also
removed leftover console.logs from testing.
Date picker is now dissabled when don't expire is checked.
Signed-off-by: Matthew Nickson <mnickson@sidingsmedia.com>
2 years ago
Matthew Nickson
e7feca1cd6
Added API key authentication handler
...
API key authentication is now possible by making use of the X-API-Key
header. API authentication will only be enabled when a user adds their
first API key, up until this point, they can still use their username
and password to authenticate with API endpoints. After the user adds
their first API key, they may only use API keys in future to
authenticate with the API.
In this commit, the prometheus /metrics endpoint has been changed over
to the new authentication system.
Signed-off-by: Matthew Nickson <mnickson@sidingsmedia.com>
2 years ago
Matthew Nickson
cd796898d0
Added expiry check for frontend
...
Signed-off-by: Matthew Nickson <mnickson@sidingsmedia.com>
2 years ago
Matthew Nickson
d7f2fa982a
Merge branch 'master' into feature/1685-prometheus-api-key
2 years ago
Matthew Nickson
ee2eb5109b
Added basic web interface for API keys
...
Web interfaces for manging API keys have been added however translation
keys are still required.
Signed-off-by: Matthew Nickson <mnickson@sidingsmedia.com>
2 years ago
Louis Lam
d1175ff471
Fix #2777
2 years ago
Matthew Nickson
cd18b96f69
Added check to ensure backup exists when restoring ( #2779 )
...
A check to ensure that the backup database exists before deleting the
current database.
Fixes #2778
Signed-off-by: Matthew Nickson <mnickson@sidingsmedia.com>
2 years ago
Faruk Genç
19c8538149
Merge remote-tracking branch 'remote/master' into feature/add-xml-support-to-http-monitors
2 years ago
Louis Lam
f2633a5d01
Finished knex_init_db.js
2 years ago
Louis Lam
4056951915
WIP: building database in knex.js
2 years ago
Louis Lam
e4183ee2b7
Database Setup Page ( #2738 )
...
* WIP
* WIP: Database setup process
* Add database setup page
2 years ago
Louis Lam
db4663d6be
Merge remote-tracking branch 'origin/master' into 2.0.X
2 years ago
Louis Lam
c12b06348b
Fix parsing issues of status page's og tags
2 years ago
Bobby Ore
48b637d4c8
Refactor to not introduce a breaking change
2 years ago
Nelson Chan
3439074835
Feat: Use message to improve errror status code
2 years ago
Bobby Ore
3a361d2621
lint fix
2 years ago
Bobby Ore
8725e5daf9
Add ability to use User ID for LunaSea notifications
2 years ago
Brayan Lozano
d45aee450d
Removes unecessary ternary operator
2 years ago
Brayan Lozano
727acb32bf
Adds name + status + message to slack notification
2 years ago
Suriya Soutmun
43941fa2c6
feat: add mtls authen method in http/http keyword
2 years ago
Suriya Soutmun
faa78443d6
chore: alter table monitor add column tls_ca, tls_cert, tls_key for certificate data
2 years ago
Nelson Chan
e1f956879d
Fix: Use .destroy() instead of .end()
2 years ago
Austin Miller
ef54d9e3b6
Add PagerTree Notification Provider
2 years ago
Louis Lam
68ead3414d
WIP
2 years ago
Faruk Genç
39c99b0ec4
Merge remote-tracking branch 'remote/master' into feature/add-xml-support-to-http-monitors
...
# Conflicts:
# server/database.js
# src/lang/en.json
2 years ago
Louis Lam
d4752b65de
WIP
2 years ago
Louis Lam
dc4d2a77bb
WIP
2 years ago
Haytham Salama
1bfb290718
feat: add message thread id for telegram nonfiction
2 years ago
Louis Lam
0b40c65139
Merge remote-tracking branch 'origin/master' into mariadb
...
# Conflicts:
# docker/alpine-base.dockerfile
# docker/dockerfile-alpine
# package.json
# server/database.js
2 years ago
Louis Lam
afadfe32d5
Trim
2 years ago
Louis Lam
5f2affb38c
Relocate and fix jsesc issue
2 years ago
Louis Lam
10c6f3b688
Merge remote-tracking branch 'origin/master' into feature-google-analytics
2 years ago
Faruk Genç
666838f334
Merge remote-tracking branch 'remote/master' into feature/add-xml-support-to-http-monitors
2 years ago
c
a823ed8ccc
Feature - Google Analytics - Removed unused import.
2 years ago
Joseph
2a6d98ff01
Feat: Expand and Simplify Badge Functionality ( #2211 )
...
* [expanding badges] added new configs
* [expanding badges] recieve ping in getPreviousHeartbeat()
* [expanding badges] re-added original new badges
* [expanding badges] recreate parity between old and new badges
* [expanding badges] fix linting
2 years ago
c
913bb611d5
Feature - Google Analytics - Removed regex to validate a Google Analytics tag.
2 years ago
c
c08d8a5eaf
Google Analytics - Simplified retrieving Tag ID from Status Page.
2 years ago
c
3ff0cbe311
Feature - Google Analytics - Simplified Module & Escaped the Script to prevent XXS.
2 years ago
c
fb2999706c
Feature - Google Analytics - Added JSDoc to Google Analytics functions.
2 years ago
c
2b3a3895b3
Feature - Google Analytics - Use Regex to validate UA as per https://support.google.com/analytics/answer/9310895
2 years ago
c
99c0b8cb71
Feature - Google Analytics - Addressing PR Comments.
2 years ago
c
29e24e0de9
Feature - Added Optional Google Analytics tag for Status Page.
2 years ago
Faruk Genç
4287f7e885
Merge remote-tracking branch 'remote/master' into feature/add-xml-support-to-http-monitors
...
# Conflicts:
# src/lang/en.json
2 years ago
Peace
9446c2d102
fix: use active instead of isActive in uploadBackup
2 years ago
Peace
2c581ade90
Merge branch 'louislam:master' into group-monitors
2 years ago
Peace
f286386f59
fix: add message for empty group pending state
2 years ago
Peace
9286dcb6ce
fix: add serverside check against endless loops
2 years ago
Louis Lam
683f446cf5
Add support for `.env`
2 years ago
Nelson Chan
348d0170fa
Chore: Use constants instead of int
2 years ago
Faruk Genç
064bc00f46
Merge remote-tracking branch 'remote/master' into feature/add-xml-support-to-http-monitors
2 years ago
Louis Lam
fca0198d35
Merge pull request #2525 from chakflying/fix/maintenance-badge
...
Fix: Add support for pending & maintenance in badges
2 years ago
Peace
9a46b50989
docs: add comments
2 years ago
Peace
f3ac351d75
feat: set childs under maintenance if parent is too
2 years ago
Faruk Genç
35bd129d66
Merge remote-tracking branch 'remote/master' into feature/add-xml-support-to-http-monitors
2 years ago
Peace
aba515e172
feat: disable childs if parent is disabled
2 years ago
Louis Lam
ddce8f0cb0
Fix plugin installation
2 years ago
Peace
97bd306a09
Merge branch 'louislam:master' into group-monitors
2 years ago
Peace
645fd94bba
feat: add ability to group monitors in dashboard
2 years ago
Louis Lam
e5ca67d062
HTTPS Monitor using Real Browsers + Limited plugin support ( #1787 )
2 years ago
Faruk Genç
9329ec9234
Merge remote-tracking branch 'remote/master' into feature/add-xml-support-to-http-monitors
...
# Conflicts:
# server/database.js
# server/model/monitor.js
2 years ago
Louis Lam
5050ebc249
Merge remote-tracking branch 'origin/master' into feature/#1891-set-ping-packet-size
...
# Conflicts:
# server/util-server.js
# src/languages/en.js
2 years ago
Louis Lam
1dabbd6442
Merge pull request #2666 from chakflying/fix/log-call
...
Fix: Fix incorrect log call format in docker monitor
2 years ago
Louis Lam
9cc3bd0de4
Avoid the multiple queries for Gamedig monitor
2 years ago
Nelson Chan
c4c720027c
Fix: Use correct log call format
2 years ago
Louis Lam
83e0401dd8
Show game list for GameDig monitor
2 years ago
Louis Lam
aab04f6644
Merge remote-tracking branch 'origin/master' into WhyKickAmooCow_master
2 years ago
Thomas Spalinger
f155ec9ba8
remember prometheus instance and expose it
...
in preperation for #2491,#680 and #898
2 years ago
Faruk Genç
cd017fce98
Merge remote-tracking branch 'remote/master' into feature/add-xml-support-to-http-monitors
2 years ago
alejandrohernandezrosales
fa23e7ad19
Removed superflous Message prefix
2 years ago
Faruk Genç
aef85078eb
reorder fix
2 years ago
Faruk Genç
86ba6f829e
Merge remote-tracking branch 'remote/master' into feature/add-xml-support-to-http-monitors
2 years ago
Nelson Chan
6961b1bdd2
Fix: Use default timeout & CachebleDnsHttpsAgent
2 years ago
Louis Lam
c47b6c5995
Merge remote-tracking branch 'origin/1.19.X'
...
# Conflicts:
# package-lock.json
# package.json
# src/util-frontend.js
2 years ago
Louis Lam
a5ff27da7a
Drop the property `monitor.maintenance`, use `lastHeartBeat.status` to check status instead
2 years ago
Louis Lam
27585d0812
Fix #2618
2 years ago
Louis Lam
e675316635
Merge pull request #2586 from PopcornPanda/fix-2544
...
Fix: Allow long sms in PromoSMS
2 years ago
Louis Lam
31f45dcfc9
Merge pull request #2540 from twiggotronix/add-mqtt-schemes
...
Add mqtt, mqtts, ws and wss protocols to the mqtt monitor
2 years ago
Louis Lam
49ac71e25c
Merge pull request #2549 from Computroniks/docs/update-jsdoc-2023-01-05
...
Added missing JSDoc comments
2 years ago
Louis Lam
1326761a8a
Update mongodb and simplify the logic of mongodbPing
2 years ago
Louis Lam
e48a987b9c
Merge remote-tracking branch 'origin/master' into mongodb-ping
...
# Conflicts:
# server/model/monitor.js
# server/util-server.js
# src/pages/EditMonitor.vue
2 years ago
Faruk Genç
be850dd596
Merge remote-tracking branch 'remote/master' into feature/add-xml-support-to-http-monitors
...
# Conflicts:
# server/database.js
# server/model/monitor.js
# src/languages/en.js
2 years ago
Faruk Genç
3adc9e65d6
Add only xml support to http monitors
2 years ago
Louis Lam
712a3c29d4
Fix Postgres monitor do not handle some error cases correctly
2 years ago
Louis Lam
6437ef198f
Merge pull request #2541 from long2ice/master
...
feat: support redis monitor
2 years ago
long2ice
3b5893ea60
fix: add preserve line in redisPingAsync
2 years ago
long2ice
21cd4d64c3
fix: redisPingAsync
2 years ago
long2ice
db757123ba
refactor: reuse databaseConnectionString
2 years ago
Ruben
71f00b3690
Parse push ping parameter with parseInt.
2 years ago
Nelson Chan
e9564619f1
Feat: Implement tags manager in settings
...
Fix: Remove unused color options
Chore: Fix typo
2 years ago
shyneko
b91fe9d96d
Added a more telegram options
...
such as thread id, silent notifications and forward protect
2 years ago
Sebastian Kaempfe
a21a47de93
[ #2593 ] renamed the method `sendCertNotification` to better represent what id does. Evaluate certificate expiry from all certs in chain. Send a separate notification for every cert in chain, including cert type and CN.
2 years ago
Sebastian Kaempfe
f6d0f28b3a
[ #2593 ] during certificate evaluation also set the cert type for improved notifications
2 years ago
Łukasz Szczepański
8433bceb32
Trim message to maximum allowed length
2 years ago