Louis Lam
359a490ae3
Fix #1510
3 years ago
Nelson Chan
cd38dd3f68
Feat: Allow MQTT successMessage to be optional
3 years ago
Louis Lam
5fa62a888c
Merge branch 'master' into mqtt2
...
# Conflicts:
# server/database.js
# server/util-server.js
3 years ago
Louis Lam
e6a8a84278
Include only nessacary data in webhook
3 years ago
Louis Lam
47c72192e1
[eslint] Enable yoda and eqeqeq
3 years ago
Louis Lam
d71c086447
Standardize array bracket spacing
3 years ago
Louis Lam
8eb83394f7
Refine UI/UX for custom css / footer text. Add switch for show/hide powered by
3 years ago
Matthew Nickson
45f44b183d
Add JSDoc to server/model/*
...
Signed-off-by: Matthew Nickson <mnickson@sidingsmedia.com>
3 years ago
Matthew Nickson
5a209c74e1
Add JSDoc to server/notification-providers/*
...
Signed-off-by: Matthew Nickson <mnickson@sidingsmedia.com>
3 years ago
Louis Lam
07c474db0b
Merge remote-tracking branch 'origin/master'
3 years ago
Louis Lam
8d8c38b1a8
Allow unused vars in args and fix more eslint issues
3 years ago
Louis Lam
e34420368b
Remove try-catch and fix username/password/port not working for mqtt
3 years ago
Matthew Nickson
60c63cc18e
Add JSDoc to server/jobs/*
...
Signed-off-by: Matthew Nickson <mnickson@sidingsmedia.com>
3 years ago
Louis Lam
566133e350
Domain Name Expiry Notification for https monitor only
3 years ago
Louis Lam
30e113755e
Add HIDE_LOG and catch error if cannot subscribe topic
3 years ago
Louis Lam
083e8355b7
Change debug to log.debug
3 years ago
Louis Lam
b1c7915bc1
Merge branch 'master' into mqtt2
...
# Conflicts:
# package-lock.json
# package.json
# server/database.js
# server/model/monitor.js
# server/server.js
# src/pages/EditMonitor.vue
3 years ago
Matthew Nickson
a680331dd7
Fixes issue with ::1 port 5300 requests
...
Now the address is wrapped in `[]` in order to prevent ::1 port 5300
being interpreted as ::1:5300. Wrapping the IPv4 address in `[]` does
seem to have any effect on correct domain name resolution. In order to
prevent issues if a user inputs an address with brackets, they are
removed from the string if present before being re-added when it is
passed to `setServers`. I have also removed the JSDoc comment as this
will be added in a seperate PR
Signed-off-by: Matthew Nickson <mnickson@sidingsmedia.com>
3 years ago
Jordan Bertasso
288ed1e3ca
Merge branch 'master' into fix-1448-discord-service-url
3 years ago
Louis Lam
fb0064082e
Change Pushdeer to PushDeer
3 years ago
ngc7331
93c51504f9
fixes: formatting and security issues
...
Co-authored-by: Matthew Nickson <mnickson@sidingsmedia.com>
3 years ago
ngc7331
fb059f5e91
Add support for Pushdeer notifications
3 years ago
Louis Lam
d0b5f147e2
Fix spelling and merge mistake
3 years ago
Louis Lam
ddf8a7a692
Fix camelCase
3 years ago
ColdThunder11
bd9df09f87
Apply suggestions from code review, fix style
...
Co-authored-by: Adam Stachowicz <saibamenppl@gmail.com>
3 years ago
ColdThunder11
4656ab3d57
Add OneBot notification service
3 years ago
Louis Lam
0a5db0cecb
Fix #1478
3 years ago
Matthew Nickson
8c8eeaf627
Merge branch 'master' into #1059-specify-dns-resolver-port
3 years ago
Matthew Nickson
b893d50e45
Implement specify Port for DNS Monitor #1059
...
This commit should fully implement #1059 . When the user selects the DNS
monitor option, a new input box has been added below the resolver
address allowing the user to implement the port to access the resolver
on. This uses the same `monitor.port` as the TCP monitor but a monitor
has been added to prefill the port value to the default of `53` if the
value in this field has not already been set. This is then cleared if
the user selects a different monitor type and has not changed the port
value. A translation has also been added explaining what this field
does in order to reduce any confusion. JSDoc documentation has also been
added to the `dnsResolve` function in `util-server.js`.
Signed-off-by: Matthew Nickson <mnickson@sidingsmedia.com>
3 years ago
Louis Lam
649f3106e1
Enforce semicolon, fix format globally
3 years ago
Louis Lam
17dcf6d3a2
Merge pull request #910 from andreasbrett/logging
...
introduce consistent logging
3 years ago
Louis Lam
e9ce1433cd
Change log_info to log.info by making it into an object
3 years ago
Moritz R
361e44ad6a
Merge branch 'louislam:master' into master
3 years ago
Louis Lam
4053b9db1f
Merge remote-tracking branch 'origin/master'
3 years ago
Louis Lam
772d009f43
Merge branch 'master' into fluencydoc_master
...
# Conflicts:
# extra/update-version.js
# server/client.js
# server/server.js
3 years ago
Louis Lam
6179f6c982
Merge branch 'master' into issue/1138
...
# Conflicts:
# server/server.js
3 years ago
Louis Lam
94770cf865
Resolve log message null reference
3 years ago
Louis Lam
279e2eb3f6
Merge branch 'master' into logging
...
# Conflicts:
# server/database.js
# server/jobs.js
# server/model/monitor.js
# server/routers/api-router.js
# server/server.js
# server/socket-handlers/status-page-socket-handler.js
# server/util-server.js
3 years ago
jordanbertasso
2638d68c97
Cover dns and steam types in Discord notifs
3 years ago
jordanbertasso
0961c6d9b3
Check for ping and port type in discord notifs
3 years ago
Louis Lam
c9fa183712
Manage domain names
3 years ago
Louis Lam
0afa0be5c2
Merge branch 'master' into status-page-domain
...
# Conflicts:
# server/database.js
3 years ago
Louis Lam
6a30dbd71a
Fix Mattermost when channel is empty #1468
3 years ago
Louis Lam
7bbaeffd3e
Fix reset-password (issue caused by 5027fcd320
)
3 years ago
Louis Lam
008dc27f52
Reload proxy settings for monitors in the monitorList
3 years ago
Louis Lam
5027fcd320
Export server using an object class
3 years ago
Louis Lam
d5e68f8453
Export monitor list
3 years ago
Louis Lam
082c2dd32d
Remove restartMonitors() and move proxy socket events to a socket handler file
3 years ago
Louis Lam
c4e74c9943
Render <StatusPage> if domain matched
3 years ago
Louis Lam
fee88b32e3
Set PRAGMA synchronous = FULL
3 years ago
Louis Lam
c9deea9fdf
Merge pull request #1456 from Arubinu/alerta
...
Fix "API key parameter 'undefined' is invalid"
3 years ago
Louis Lam
70311f7a5a
Add an option to enable/disable the domain name expiry notification #1364
3 years ago
Louis Lam
4b99160b1f
Fix "Check Update" is not checked by default
3 years ago
Louis Lam
48d679234a
Stop bree and cloudflared while the server shutting down
3 years ago
Alvin Pergens
d3d1656625
Fix "API key parameter 'undefined' is invalid"
3 years ago
Moritz R
af44b0beab
Merge branch 'master' into master
3 years ago
Moritz R
84a0b24448
Update server/model/monitor.js
...
As per recommendation of @Computroniks
Co-authored-by: Matthew Nickson <mnickson@sidingsmedia.com>
3 years ago
Jimmy Huang
a4be651118
Update server/model/monitor.js
...
Co-authored-by: Adam Stachowicz <saibamenppl@gmail.com>
3 years ago
Louis Lam
04e3394d02
Merge branch 'master' into feature/request-with-http-proxy
...
# Conflicts:
# package-lock.json
# package.json
# server/database.js
# src/languages/en.js
# src/mixins/socket.js
3 years ago
Louis Lam
6674005e8b
Fix storing cloudflared token while start cloudflared
3 years ago
Louis Lam
b72a2d350f
Set cloudflared token from env var or arg
3 years ago
Louis Lam
82ea896bbc
Improve the workflow of cloudflared
3 years ago
Louis Lam
f1f4b3b377
Add reverse proxy setting page for controlling cloudflared
3 years ago
Louis Lam
a6b52b7ba6
Merge branch 'master' into cloudflared
3 years ago
Louis Lam
b8dea3a823
Merge remote-tracking branch 'origin/master'
3 years ago
Louis Lam
0da6e6b1fb
Some improvements
3 years ago
Louis Lam
44fb2a88f2
Add cloudflared socket handler
3 years ago
Louis Lam
be88351eb3
Merge pull request #1136 from chakflying/fix/prometheus-on-delete
...
Fix: Remove prometheus metrics on delete [Test needed]
3 years ago
Louis Lam
28d72fcd08
Fix #1409 , slug cannot be empty
3 years ago
Louis Lam
71af08189e
Clear useless code
3 years ago
Louis Lam
d32ba7cadd
Fix #1318 , basic auth is completely disabled if the auth is disabled
3 years ago
Louis Lam
775d1696fa
Fix pushover device not working #1114
3 years ago
Louis Lam
ad2130b7b5
[Status Page] Fix monitors are deleted unexpectedly #1399
3 years ago
Louis Lam
3adda48f3a
Load the status page list earlier
3 years ago
Louis Lam
d7a839aa52
[Status Page] Fix reset entry page
3 years ago
Louis Lam
aef0a66205
[Status Page] Simplify show tags logic
3 years ago
Louis Lam
37be7df9b0
[Status Page] Delete status page
3 years ago
Louis Lam
8d981c8f0b
[Status Page] Fix migration and unpin incident
3 years ago
Louis Lam
27bfae67af
[Status Page] Add a new status page
3 years ago
Louis Lam
719a136d1e
[Status Page] Improved entry page
3 years ago
Louis Lam
e87cdf4d09
[Status Page] wip, upload logo and status page listing
3 years ago
Louis Lam
1033ca5cf4
[Status Page] wip, combine api, add status_page_id into group and incident tables
3 years ago
Louis Lam
18ec42b060
[Status Page] wip
3 years ago
Louis Lam
7c7dbf68c1
[Status Page] wip, sidebar for editor
3 years ago
Louis Lam
50d6e888c2
[new status page] wip
3 years ago
Louis Lam
72ce28a541
Migrate status page table
3 years ago
Louis Lam
1e2a8453c6
Merge branch 'master' into restructure-status-page
3 years ago
Louis Lam
1fa4a16663
Check beta release
3 years ago
Uğur Erkan
8078d0618d
Add socks proxy support to proxy feature
...
- Socks proxy support implemented.
- Monitor proxy agent create flow refactored
and moved under proxy class.
Thanks for suggestion @thomasleveil
3 years ago
Uğur Erkan
78d76512ba
Add http and https proxy feature
...
Added new proxy feature based on http and https proxy agents.
Proxy feature works like notifications, there is many proxy
could be related one proxy entry.
Supported features
- Proxies can activate and disable in bulk
- Proxies auto enabled by default for new monitors
- Proxies could be applied in bulk to current monitors
- Both authenticated and anonymous proxies supported
- Export and import support for proxies
3 years ago
Louis Lam
8bbf55777e
Merge pull request #1205 from arjunkomath/master
...
Add notification provider - Push
3 years ago
Louis Lam
fa490d0bf1
[Alerta] Handle general message
3 years ago
Louis Lam
c52c8a4206
Merge branch 'master' into alerta
...
# Conflicts:
# server/notification.js
# src/components/notifications/index.js
# src/languages/en.js
3 years ago
Louis Lam
9789d8cde8
Merge branch 'master' into alerta
3 years ago
Louis Lam
ccb3d85a48
Merge pull request #1157 from zackelia/master
...
Implement gorush notifications
3 years ago
Louis Lam
b62d94184a
Merge branch 'master' into restructure-status-page
3 years ago
Louis Lam
595cd93220
Check invalid interval
3 years ago
Matthew Macdonald-Wallace
d971279e4c
Fix formatting
3 years ago
Matthew Macdonald-Wallace
0990001e65
Add new default labels that can be set as tags to turn up in Prometheus
3 years ago
Matthew Macdonald-Wallace
d1f0e9b40f
Add async call to get tags for prometheus exporter
3 years ago
Matthew Macdonald-Wallace
d62cb6147c
Merge branch 'louislam:master' into feature/680_add_labels_to_prometheus_metrics
3 years ago
Ananth Kamath
258d93be72
Fix mattermost couldn't find channel issue
3 years ago
Jimmy Huang
244a7b3671
Update server/model/monitor.js
...
Co-authored-by: Adam Stachowicz <saibamenppl@gmail.com>
3 years ago
Alvin Pergens
8febff9282
fix comments
3 years ago
Alvin Pergens
90f2497548
change data for Alerta
3 years ago
Jens Neuber
28be32fc68
Merge branch 'master' of https://github.com/louislam/uptime-kuma into uptime-badges
3 years ago
Alvin Pergens
cefe43800f
add alerta service
3 years ago
Jimmy Huang
ee90d2713f
refs issue-1201 in upstream.
...
Add 100 characters from response body to bean.msg after keyword not match.
3 years ago
c0derMo
29df70949d
Add ability to connect to daemon via http / tcp for windows compatibility
3 years ago
Arjun Komath
23796723dd
Address code review
...
Add missing comma
Co-authored-by: Adam Stachowicz <saibamenppl@gmail.com>
3 years ago
Arjun Komath
51b7a2badb
remove log
3 years ago
Arjun Komath
74c584f544
Add Push by Techulus
3 years ago
Tarun Singh
0345719e53
added cleartimeout in case client is already ended
3 years ago
Tarun Singh
22256dfcd2
added timeout for removing the dead loop state
3 years ago
Louis Lam
aba6cb2c52
Merge pull request #1169 from jbenguira/patch-1
...
Fixed #1024
3 years ago
Louis
d1a99b0a22
Check Node.js version, better error message
3 years ago
c0derMo
4818bb67d6
Added trailing comma, fixed spelling & translation
3 years ago
Joseph Benguira
3b9fac2942
Update server/prometheus.js
...
removed useless spaces
Co-authored-by: Adam Stachowicz <saibamenppl@gmail.com>
3 years ago
c0derMo
c5cc42272f
Fixing the editing of docker container & adding english translation
3 years ago
c0derMo
b0259b5592
Added docker container monitor
3 years ago
Louis Lam
227bbdea2f
[MQTT] Try to improve error handling
3 years ago
Louis Lam
6272514820
[MQTT] Use existing fields instead of creating new ones (Server)
3 years ago
Louis Lam
32ec4beda0
Merge branch 'master' into mqtt
3 years ago
Louis Lam
482b3f9233
Update server/util-server.js
...
Co-authored-by: Adam Stachowicz <saibamenppl@gmail.com>
3 years ago
Louis Lam
076d6bdbb6
Merge branch 'master' into mqtt
...
# Conflicts:
# package-lock.json
# server/database.js
3 years ago
Joseph Benguira
13acdd4c65
Fix for issue in logs
...
This fix address the issue described here: https://github.com/louislam/uptime-kuma/issues/1024
3 years ago
Louis
ed64853125
Keep FBSD, BSD for ping only
3 years ago
Denis
0f822d3b2a
FBSD does not exists anymore
3 years ago
Denis
6bda5c6329
update comment
3 years ago
Denis Fondras
44bc98a453
Merge branch 'louislam:master' into master
3 years ago
Louis
f9751d0c01
Fix FBSD to BSD https://github.com/louislam/uptime-kuma/pull/1155#issuecomment-1009544236
3 years ago
Denis
53df9a36e3
reintroduce exports.FBSD
3 years ago
Zack Elia
ea43422ccf
Implement gorush notifications
3 years ago
Denis
8063449f49
ping path is common to all BSDs
3 years ago
Marc Harnos
0bbe157099
change parsing priority for all passed arguments
...
update all passed args in server.js to prioritize command line, then use
env.UPTIME_KUMA_ environment variables, then use the generic environment
variable versions env.HOST, env.PORT, env.SSL_KEY, env.SSL_CERT and fall
back to default values where applicable
3 years ago
Marc Harnos
0053a29d10
add validation to port value parsing
...
only port configurations that are valid (not isNaN) after parseInt
are considered to be used in port variable
3 years ago
Marc Harnos
2c8d5d28e9
simplify host fallback logic
...
move decision logic for freeBSD HOST environment var into temp var
3 years ago
Nelson Chan
1bbd744d02
Chore: Improve syntax
3 years ago
Nelson Chan
2e0e35a1ee
Fix: Fix typo
3 years ago
Nelson Chan
1e92487f30
Chore: Remove onDelete as unused
3 years ago
Nelson Chan
edd2534a1b
Fix: Clear metrics also on stop and edit
3 years ago
Nelson Chan
f6ef390c76
Fix: Remove Prom. metrics on delete monitor
3 years ago
Thomas LÉVEIL
46fa6a56fa
fix `TypeError: Cannot read property 'id' of null`
...
when testing a Google Chat notification
see https://github.com/louislam/uptime-kuma/issues/1126#issuecomment-1006343423
3 years ago
Louis Lam
81a194d826
Merge remote-tracking branch 'origin/master'
3 years ago
Louis Lam
64b3e04d3f
Fix #1129
3 years ago
Philipp Bischoff
bcc3cec7d6
extract translation for notification type
3 years ago
Philipp Bischoff
f8c5015e3f
fix google chat type mismatch
3 years ago
Jens Neuber
f00ec4dfef
PR feedback: remove spaces in parenthesis
...
Co-authored-by: Adam Stachowicz <saibamenppl@gmail.com>
3 years ago
Jens Neuber
43f8fc701c
PR feedback: remove spaces in parenthesis
...
Co-authored-by: Adam Stachowicz <saibamenppl@gmail.com>
3 years ago
Jens Neuber
499042504f
PR feedback: remove spaces in parenthesis
...
Co-authored-by: Adam Stachowicz <saibamenppl@gmail.com>
3 years ago
Jens Neuber
faf6719e7c
PR feedback: remove spaces in parenthesis
...
Co-authored-by: Adam Stachowicz <saibamenppl@gmail.com>
3 years ago
Jens Neuber
a9d264ccfc
PR feedback: remove spaces in comments
...
Co-authored-by: Adam Stachowicz <saibamenppl@gmail.com>
3 years ago
Jens Neuber
df8f93f0c2
clean uptime percentage display
3 years ago
Jens Neuber
28c0e16a0c
PR feedback
3 years ago
Jens Neuber
6acc9546a0
PR feedback + remove redundant code + add a test
3 years ago
Jens Neuber
f455e3a454
add shields.io 'style' parameter
3 years ago
Jens Neuber
7abbf421d0
PR feedback
3 years ago
Jens Neuber
3625915a85
add ping, status badge
3 years ago
Jens Neuber
d74404e106
minor fixes
3 years ago
Jens Neuber
1c5bce8afa
a little documentation
3 years ago
Jens Neuber
35360e2069
add badges
3 years ago
Leslie Leung
590859a95b
Merge branch 'master' into add-wecom-notification
3 years ago
Louis Lam
e18d4b6ad0
Merge pull request #1045 from bilipp/google-chat-notifications
...
Add support for Google Chat Notifications
3 years ago
Louis Lam
72a59ce7a4
add status page table
3 years ago
LeslieLeung
40b70277c7
feat(*): support WeCom notification
3 years ago
Jakub Blažej
3d002b3ce9
add status boolean parameter to push monitor
3 years ago
Tarun Singh
4118de6d53
fix protocol not defined bug
3 years ago
Nelson Chan
624cd862a5
Feat: Expose SMTP DKIM settings
3 years ago
Tarun Singh
d3c90df8a8
fixed edit monitor fields empty issues
3 years ago
Louis Lam
a42932a43e
Simulate Chrome's request Accept header. Better handling of #1067
3 years ago
Philipp Bischoff
a6072a0e30
google chat: only show offline message in notification when service went down
3 years ago
Philipp Bischoff
a71569379e
add missing import
3 years ago
Philipp Bischoff
8050cb8e99
implement google chat notification type
3 years ago
Andreas Brett
38f8a8ac2f
Merge branch 'louislam:master' into logging
3 years ago
Louis Lam
d4bfe57b79
minor: improve formatting
3 years ago
Louis Lam
dcc91d6c72
Fix #922
3 years ago
Andreas Brett
e684712a77
Merge branch 'louislam:master' into logging
3 years ago
Jonas Liebert
67849a9e84
add support for stackfield notifications
3 years ago
Andreas Brett
a13bdaac84
Merge branch 'master' into logging
3 years ago
Louis Lam
40cb22e671
Merge pull request #963 from kffl/feat/serwersms-provider
...
Add SerwerSMS.pl notification provider
3 years ago
Louis Lam
a864b72e03
fix pushover for general message
3 years ago
kffl
186c11540f
style(serwersms): add missing trailing commas
...
Co-authored-by: Adam Stachowicz <saibamenppl@gmail.com>
3 years ago
Paweł Kuffel
c1267e9b3b
feat: add SerwerSMS notification provider
3 years ago
Louis Lam
37e6ca8d77
Merge pull request #950 from dingdayu/master
...
Update dingding notification title
3 years ago
Fluency
e3745da986
Merge branch 'master' into master
3 years ago
Louis Lam
92a5f18bf5
Merge pull request #864 from ivanbratovic/http-basicauth
...
Implement explicit HTTP "basic" authentication support
3 years ago
小雨
dce908a07b
Update dingding notification title
...
Add the status to the title, you can see the message title on the friend list page.
3 years ago
Louis Lam
3d222ac5f5
fix btoa is not define
3 years ago
Louis Lam
c811c1ccde
Merge pull request #753 from chakflying/settings-redesign
...
UI: Redesign/organize settings page
3 years ago
Tarun Singh
35da8c78f4
added connection timeout and refactored code
3 years ago
Andreas Brett
ed96757b24
Merge branch 'louislam:master' into logging
3 years ago
Tarun Singh
3306f4a8e0
removed extra logging
3 years ago
Louis Lam
5d3bf68123
add remove-2fa command
3 years ago
Nelson Chan
7f4d5a0f76
Test: fix tests
...
Test: Attempt to fix tests
Test: Attempt to fix tests
Test: Attempt to fix tests
Test: Attempt to fix tests
Test: Attempt to fix tests
Test: Attempt to fix tests
Test: Attempt to fix tests
Test: Attempt to fix tests
Test: Attempt to fix tests
Test: Attempt to fix tests
Test: Attempt to fix tests
Test: Attempt to fix tests
Test: Attempt to fix tests
Test: Attempt to fix tests
Test: Investigate error message
Test: Attempt to fix tests
Chore: Cleanup code
Test: Attempt to fix tests
Test: Attempt to fix tests
3 years ago
Nelson Chan
07742799ed
Test: Fix tests
...
Test: Add clear stats test
Test: Attempt to fix tests
Test: Add test for disable auth
Update README
3 years ago
Tarun Singh
3f5133d1ba
Added authentication logic
3 years ago
Matthew Macdonald-Wallace
144b8f1b4c
Fix eslint errors for var definitions
3 years ago
Matthew Macdonald-Wallace
fa1dfe1626
Add tags as labels to prometheus metrics
3 years ago
Andreas Brett
e5913c5abc
separate log functions
3 years ago
Andreas Brett
bdcdf47e52
introduce consistent logging
3 years ago