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
2 years 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
Louis Lam
98d001b38b
Merge pull request #2575 from Joseph-Irving/victorops_notifications
...
Add Splunk Notification Provider
2 years ago
Nelson Chan
0ed3dd5e4f
Fix: Add support for pending in badges
2 years ago
Louis Lam
d9f12a6376
Fallback to `/bin/ping` if `ping` is not found
2 years ago
Łukasz Szczepański
56ba133a1f
Missing semicolon
2 years ago
Łukasz Szczepański
ec30147a7f
Add option for allowing long sms in PromoSMS
2 years ago
Luke
2172112144
Setting for allowing long sms
2 years ago
Luke
ecd661c801
Allow long sms in PromoSMS
2 years ago
twiggotronix
8fab7112a1
Merge branch 'louislam:master' into add-mqtt-schemes
2 years ago
Nelson Chan
21b418230c
Chore: reorder cases
...
Co-authored-by: Frank Elsinga <frank@elsinga.de>
2 years ago
Matthew Nickson
66d5408aad
Added DB schema for api keys
...
Signed-off-by: Matthew Nickson <mnickson@sidingsmedia.com>
2 years ago
Joseph Irving
33355c51b7
Add Splunk Notifications
2 years ago
Sjouke de Vries
94b69935fe
chore(server): remove comments from status-page router
2 years ago
Sjouke de Vries
3f30feaefb
feat(server): add badge for overall status of status-page
2 years ago
Louis Lam
439f963749
Merge pull request #2569 from Computroniks/bug/2565-negative-retention-value
...
Fixed negative retention time values
2 years ago
Matthew Nickson
32f7a0084a
Fixed negative retention time values
...
Signed-off-by: Matthew Nickson <mnickson@sidingsmedia.com>
2 years ago
SlothCroissant
f8658d6160
Removed redundant title in Pushover notification
2 years ago
Nelson Chan
dd82f36da3
Fix: Improve syntax & fix weird label logic
2 years ago
Adam Spurgeon
774d754b21
Add GameDig monitor
2 years ago
Matthew Nickson
5d6770c0db
Removed excess space around function
...
Signed-off-by: Matthew Nickson <mnickson@sidingsmedia.com>
2 years ago
Matthew Nickson
7a13b959a3
Updated to match changes in #2223
...
Signed-off-by: Matthew Nickson <mnickson@sidingsmedia.com>
2 years ago
Louis Lam
21c1921867
Update server/uptime-kuma-server.js
...
Co-authored-by: 琚致远 / Zhiyuan Ju <juzhiyuan@apache.org>
2 years ago
Matthew Nickson
caff9ca736
Added JSDoc for server/
...
Signed-off-by: Matthew Nickson <mnickson@sidingsmedia.com>
2 years ago
long2ice
40ebc2df79
feat: support redis monitor
2 years ago
twiggotronix
8ec240fe19
Merge branch 'louislam:master' into add-mqtt-schemes
2 years ago
Louis Lam
fbceefec36
Merge pull request #2223 from Computroniks/feature/remove-hardcoded-ping-path
...
feat: Change ping module to danielzzz/node-ping
2 years ago
Louis Lam
0b959514f8
Fix timeout
2 years ago
Louis Lam
7d92351568
Match previous settings
2 years ago
Louis Lam
494c53971c
Convert to UTF8 on Windows only
2 years ago
David Twigger
fc1914bccd
Fix lint
2 years ago
David Twigger
c196c34840
Add mqtt, mqtts, ws and wss protocols to the mqtt monitor
2 years ago
Matthew Nickson
90a2668272
Restructured condition + ensure data is UTF-8
...
Signed-off-by: Matthew Nickson <mnickson@sidingsmedia.com>
2 years ago
Matthew Nickson
69e1880cd3
Added not active condition to prevent false error
...
Added a check to see if the host is alive. This prevents failiures when
the user specifies a hostname of `unknown`.
Signed-off-by: Matthew Nickson <mnickson@sidingsmedia.com>
2 years ago
Matthew Nickson
73835f3328
Changed from ping-lite to ping module
...
Signed-off-by: Matthew Nickson <mnickson@sidingsmedia.com>
#Fixes 2126
2 years ago
Nelson Chan
204792dd2d
Fix: Fix incorrect handling for container down
2 years ago
Nelson Chan
942b55ca03
Fix: Add support for maintenance in badges
2 years ago
Louis Lam
0cead83705
Fix #2516
2 years ago
Arniwatt Chonkiattipoom
a8af2a418e
Slack notification block not working ( #1958 )
...
* [empty commit] pull request for slack notification
* Add attachments block for slack notification
* chore: update action button in new attachment block
* chore: loop in attachments to push blocks
* chore: missing semicolon
Co-authored-by: pruekanw <arniwatt.c@linecorp.com>
2 years ago
Louis Lam
39ac9b887e
Fix #2504
2 years ago
Louis Lam
50711391d1
Revert "Auth: Case insensitive login check on username"
2 years ago
Louis Lam
e88e10cc8e
Fix #2494
2 years ago
Louis Lam
27146ffeef
Merge pull request #2433 from mathiash98/mathias/Auth-case-insensitive-login
...
Auth: Case insensitive login check on username
2 years ago
Louis Lam
41a9f2ff8a
Merge pull request #2495 from minhhoangvn/fix/update-service-name-grpc
...
Bug fix: gRPC check throws errors when response data size > 50 chars
2 years ago
Louis Lam
cd7a6e4019
Merge pull request #2478 from YehowahLiu/master
...
Add Kook notification provider
2 years ago
Louis Lam
8bb064c6fa
Merge pull request #2157 from Mikkel-T/fix-discord-embed
...
Improve the URL field in Discord embeds
2 years ago
Louis Lam
1006fbd873
A possible fix for #2447
2 years ago
Louis Lam
5554432b31
Merge pull request #2377 (Zoho Cliq Notification Provider)
...
Zoho Cliq Notification Provider
2 years ago
minhhoang
d111db0321
fix: add accurate error message when user input invalid service name or method name
2 years ago
minhhoang
4147a4c404
fix : #2480
2 years ago
Ruben
9404efd86d
Fixed the metrics for the push type.
2 years ago
401Unauthorized
c60b741406
Add kook notification provider
2 years ago
Louis Lam
e12225e595
Fix #2475 #2468 #2455 , add Accept-Encoding only if encountered the abort error
2 years ago
Louis Lam
1e689d99b4
Merge pull request #2393 from zImPatrick/discord-docker-fix
...
Fix discord notification not sending when docker container goes down
2 years ago
Louis Lam
14fffcf06b
Globally fix if heartbeatJSON["msg"] is undefined
2 years ago
Louis Lam
a4de93f976
WIP
2 years ago
Mathias Haugsbø
b3ac7c3d43
Username case insensitive, patch db instead of using LIKE
2 years ago
Mathias Haugsbø
c79b2913a2
Auth: Case insensitive login check on username
...
Allows users to add users with capital letters and then login with just lowercase letters.
We accidentally capitalized the first letter of our username so the other people using it frequently thinks they wrote the wrong password.
2 years ago
Louis Lam
df21f7da76
Check login for initServerTimezone
2 years ago
Louis Lam
b75db27658
Fix lint
2 years ago
Louis Lam
765d8e1297
Fix #2318
2 years ago
Louis Lam
9dc2cc1f0d
Copy timezone.js from dayjs
2 years ago
Louis Lam
1da00d19fd
Try to fix `incorrect header check`
2 years ago
Louis Lam
466b403a96
Handle unexpected error of checkCertificate
2 years ago
zImPatrick
f32441e2f6
fix discord notification not sending when docker container is down
2 years ago
Louis Lam
39987ba9ac
Init server timezone
2 years ago
Louis Lam
3b87209e26
Add configurable dns cache
2 years ago
Louis Lam
3b58fd3b3c
Cache uptime
2 years ago
Louis Lam
bc86f8bb5f
Reset busy_timeout to default
2 years ago
Louis Lam
02b5cae577
Fix #2371 by left join maintenance_timeslot
2 years ago
Louis Lam
4cd5b5563f
Fix #1145
2 years ago
panos
9da28fbbc7
zoho cliq code style
2 years ago
panos
851a04b082
zoho cliq code style
2 years ago
panos
68bc7ac421
zoho cliq code style
2 years ago
panos
73bfdb9ef9
zoho cliq notification provider
2 years ago
Louis Lam
e478084ff9
Fix Uptime Kuma cannot be stopped
2 years ago
Louis Lam
eadf2c810a
Fix check version
2 years ago
Louis Lam
ee1a56caae
Update /test-webhook and reevaluate sensitive fields
2 years ago
Louis Lam
e886df4788
Fix typo
2 years ago
Louis Lam
5196abfd36
Merge remote-tracking branch 'origin/master' into feat/add-auth-header-to-webhook-notification-#1919
2 years ago
Louis Lam
3e68cf2a1c
Specify `Accept-Encoding` for axios request ( Fix #2253 )
2 years ago
Louis Lam
191f3ad53b
Merge pull request #2339 from jbrunner/fix-2296
...
Add socks5h support
2 years ago
Joshua Brunner
cd270bd8b5
Add socks5h support
...
Add socks5h support as an extra option to not break previous socks5 implementation.
Allows to toggle between socks5 and socks5h explicit.
Fixes #2296
2 years ago
Matthew Nickson
2052fa175f
Merge branch 'master' into feature/#1817-add-mysql-monitor
...
Signed-off-by: Matthew Nickson <mnickson@sidingsmedia.com>
2 years ago
Matthew Nickson
15b63c82c3
Merge remote-tracking branch 'upstream/master' into feature/#1817-add-mysql-monitor
...
Signed-off-by: Matthew Nickson <mnickson@sidingsmedia.com>
2 years ago
Matthew Nickson
b053bc61ce
Fixed MySQL monitor to close connection
...
Signed-off-by: Matthew Nickson <mnickson@sidingsmedia.com>
2 years ago
rmarops
0e30843a75
fixed lint check missing semicolon
2 years ago
rmarops
2103edb604
moved client close out of finally block and fixed linting errors
2 years ago
rmarops
b059a36e66
added MongoDB ping monitor
2 years ago
Jan Hartje
258ff56962
Merge branch 'louislam:master' into feat/add-auth-header-to-webhook-notification-#1919
2 years ago
Louis Lam
cb4e512dc6
Merge pull request #2316 from Dafnik/patch-fix-link-preview-description
...
Fix 'undefined' in link preview generation
2 years ago
Dafnik
4042c26390
Fix 'undefined' in link preview generation
2 years ago
Louis Lam
cc6d17d2e0
Merge pull request #1964 from minhhoangvn/feat/add-gRPC-protocol
...
Feat/add gRPC protocol
2 years ago
Louis Lam
68862c0b3f
Fix Pushbullet do not handle general message correctly and fix name convention ( Close #1890 )
2 years ago
Louis Lam
fd15e7c2dc
Merge remote-tracking branch 'origin/master' into ntfy-icon
...
# Conflicts:
# server/notification-providers/ntfy.js
# src/components/notifications/Ntfy.vue
# src/languages/en.js
2 years ago
Louis Lam
5c4cf68937
Merge pull request #2260 from m-kiszka/smseagle
...
Added support for SMSEagle device API notifications
2 years ago
minhhn3
b459408b10
fix: resolve conflict
2 years ago
Adam Stachowicz
134b3b8ac1
Fix 'dayjs' is never used warning
2 years ago
Marcin Kiszka
08763b700a
Added support for SMSEagle device API notifications
2 years ago
Matthew Nickson
4339ca7eb5
Merge branch 'master' into feature/#1891-set-ping-packet-size
2 years ago
Louis Lam
24cb212a37
Fix recurring
2 years ago
Louis Lam
d8a676abb6
Implement recurring day of month and day of week
2 years ago
Louis Lam
0b8d4cdaac
Generate Next Timeslot for recurring interval
2 years ago
Louis Lam
268cbdbf8d
Merge remote-tracking branch 'origin/master' into maintenance
...
# Conflicts:
# server/server.js
# src/components/settings/General.vue
2 years ago
Matthew Nickson
f459ea845c
Added #2182 Add support for custom radius ports ( #2197 )
...
This commit adds support for the port to be specified when using the
radius monitor type. A check has been implemented to ensure that a null
value is not passed to the radius check function as could occur with
monitors that were created before this change was introduced. The
default port of 1812 is displayed when the user selects the radius
monitor in much the same way as the DNS port is handled. The port was
not included in the hostname in the form hostname:port in order to avoid
issues with IPv6 addresses and monitors that had been created before
this change was implemented.
Signed-off-by: Matthew Nickson <mnickson@sidingsmedia.com>
Signed-off-by: Matthew Nickson <mnickson@sidingsmedia.com>
2 years ago
Louis Lam
b24c75eec5
Merge pull request #2162 from UltraWelfare/fix-entry-page-redirect
...
Fixed entry route not redirecting correctly.
2 years ago
Louis Lam
edacff123b
Add UTC in the serverTimezone dropdown
2 years ago
Louis Lam
2faf866e9e
Implement generateTimeslot() for recurring interval type
2 years ago
Louis Lam
7b9766091e
Revert testing
2 years ago
Louis Lam
39b6725163
Update maintenance tables
2 years ago
Louis Lam
dfb75c8afb
Update status page's maintenance message
2 years ago
Louis Lam
e07aa982c3
WIP
2 years ago
Christian Meis
1e8a16504b
Make icon optional for ntfy notificaation provider. Add Icon header to ntfy request only, if icon is actually defined.
2 years ago
Louis Lam
2271ac4a5a
Add info.serverTimezoneOffset and improve some styles
2 years ago
Louis Lam
c84de4d259
WIP: Add maintenance status
2 years ago
Louis Lam
c1ccaa7a9f
WIP
2 years ago
Louis Lam
539683f8e9
Merge remote-tracking branch 'origin/master' into maintenance
2 years ago
Louis Lam
71af23cf00
Fix #2207
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
b007681e67
Merge remote-tracking branch 'origin/master' into karelkryda_master
...
# Conflicts:
# server/model/monitor.js
# server/model/status_page.js
# src/languages/en.js
2 years ago
Louis Lam
ad1a7c255f
Drop exports.entryPage fully
2 years ago
Louis Lam
6e07ed2081
Fix #2186
2 years ago
Louis Lam
959ecc65ff
Merge remote-tracking branch 'origin/master'
2 years ago
Louis Lam
c24b64921d
Fix #2183 ntfy issue
2 years ago
janhartje
b879428a03
feat(notification): add additional Header to webhook
2 years ago
Ben Scobie
c28d8ddff9
Correctly handle multiple IPs in X-Forwarded-For ( #2177 )
...
Co-authored-by: Louis Lam <louislam@users.noreply.github.com>
2 years ago
janhartje
3c5de1c889
Merge branch 'master' of https://github.com/louislam/uptime-kuma into feat/add-auth-header-to-webhook-notification-#1919
2 years ago
CL0Pinette
528a615fb2
Add free.fr SMS notification provider ( #2159 )
2 years ago
Louis Lam
b993859926
Drop Jest e2e testing ( #2174 )
2 years ago
Sympatron GmbH
f1a9046193
Prevent terminal window from showing when using ping on Windows ( #2152 )
2 years ago
Louis Lam
c538983b87
Merge pull request #2169 from louislam/fix-docker-monitor
...
Fix Docker container monitor not working in 1.18.1
2 years ago
Louis Lam
0686757160
[Docker Monitor] Change `tcp://` to `http://`
2 years ago
George Tsomlektsis
3e699f8ac3
Fix linting errors.
2 years ago
George Tsomlektsis
b0d6b5b13d
Fixed entry route not redirecting correctly when the status entry page changes slug.
2 years ago
Louis Lam
3e85893bdd
Merge remote-tracking branch 'origin/master' into squadcast-notification-support
...
# Conflicts:
# src/languages/en.js
2 years ago
Louis Lam
543a74ecab
Merge pull request #1923 from rolfbachmann/ntfy-auth-support
...
Add authentication support for ntfy
2 years ago
Louis Lam
62ad2f9bb4
Merge pull request #2148 from Computroniks/bug/octopush-notifications-#2144
...
Fixed octopush legacy doesn't return error code
2 years ago
Louis Lam
0f99d49a27
Merge remote-tracking branch 'origin/master' into ntfy-auth-support
2 years ago
Louis Lam
d93f7b33be
Merge pull request #2153 from Computroniks/bug/#2009-teams-unnecessary-url-field
...
Fixed alert features unnecessary URL field #2009
2 years ago
Mikkel-T
a42f7416b5
Improve the URL field in Discord embeds
...
Instead of having two different ways of showing the URL field in Discord embeds, always show the raw address.
2 years ago
Matthew Nickson
6a3eccf6a6
Fixed alert features unnecessary URL field #2009
...
The filling of the URL field was incorrect previously. It has been
updated to handle new monitor types.
Signed-off-by: Matthew Nickson <mnickson@sidingsmedia.com>
2 years ago
Matthew Nickson
f9be918246
Add support for MySQL/MariaDB databases #1817
...
This commit adds support for monitoring MySQL and MariaDB database
servers. The mysql2 package was choosen over mysql as it provides a
promise wrapper and is reportedly faster than the original mysql package
whilst still maintaining the same API.
Signed-off-by: Matthew Nickson <mnickson@sidingsmedia.com>
2 years ago
Matthew Nickson
97de3959cd
Updated octopush error handling to accept 000
...
The legacy octopush API includes an error code with all responses. A
code other than 000 is an error.
Signed-off-by: Matthew Nickson <mnickson@sidingsmedia.com>
2 years ago
Matthew Nickson
63e408f4f2
Fixed octopush legacy doesn't return error code
...
The octopush legacy API does not return a HTTP error code and instead
always returns a HTTP 200. This means that no error it thrown even if
something like the parameters are incorrect.
Instead the error code is given in the json response data.
Therefore we must look at the response data and check for the presence
of the "error_code" key in the response data.
Signed-off-by: Matthew Nickson <mnickson@sidingsmedia.com>
2 years ago
Matthew Nickson
2e54dee817
Fixed Octopush Notifier not working #2144
...
The version number was passed as a string from the frontend but was
checked against a number in the backend provider. This caused the if else
if to fall through into an error. The literal it is now being compared
has been changed to a string and the unknown version error is no longer
encountered.
Signed-off-by: Matthew Nickson <mnickson@sidingsmedia.com>
2 years ago
Christian Meis
e12642cf21
Fix double quotes in fallback for no icon url in ntfy notification provider settings
2 years ago
Christian Meis
6f86236b63
Add support for icon to ntfy notification provider (requires minimum ntfy server version 1.28.0 and Android app 1.14.0, no iOS support as of today)
2 years ago
Louis Lam
204339fbed
Make two functions to convert ISO 8601 <=> YYYY-MM-DD hh:mm:ss
2 years ago
Louis Lam
b1465c0282
- Maintenance standardize datetime format to YYYY-MM-DD hh:mm:ss
...
- Import dayjs extensions one time only
- Maintenance activeCondition centralize
2 years ago
Louis Lam
4002b9f577
[WIP] Checking maintenance time using maintenance_timeslot table
2 years ago
Justin Tisdale
6537f4fe74
content-type change
2 years ago
Justin Tisdale
5809088f27
Don't override a user-defined content-type header
2 years ago
Patrick
bef9cb6a5f
Linting fixes
2 years ago
Patrick
4157c7d546
Add support for Squadcast incoming webhook
2 years ago
Justin Tisdale
0814d643c1
Merge branch 'master' into feature/expand-http-payload-support
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
9d99c39f30
Update Maintenance UI for recurring
2 years ago
MA Junyi
b03624b7e3
feat: Add ServerChan Notification support
2 years ago
Louis Lam
120e578398
Move maintenance code to `maintenance-socket-handler.js`
2 years ago
Louis Lam
7017c2e625
Move maintenance code to `maintenance-socket-handler.js`
2 years ago