Commit Graph

180 Commits

Author SHA1 Message Date
Frank Elsinga
bcdf6b8959
Merge branch 'master' into websocket_test 2026-01-01 08:25:14 +01:00
Frank Elsinga
402d577429
Update test/backend-test/test-domain.js 2026-01-01 08:02:19 +01:00
iotux
91f31f56cb
Update test/backend-test/test-system-service.js
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-01-01 08:01:26 +01:00
Frank Elsinga
20d2693f33
Update test/backend-test/test-domain.js 2026-01-01 03:11:38 +01:00
Frank Elsinga
50b1866889
Merge branch 'master' into CommanderStorm-patch-2 2026-01-01 03:10:48 +01:00
Frank Elsinga
a46810b1ff
Update test/backend-test/test-domain.js 2025-12-31 21:42:16 +01:00
Frank Elsinga
d1d3d4ef34
Update domain expiry notification days setting 2025-12-31 21:07:22 +01:00
PoleTransformer
8594bc81b3 Enforce backend WS timeout + subprotocol logic + formatting 2025-12-31 09:51:53 -08:00
PoleTransformer
20e2cf69e4 Add timeout selection + refine error logic + update tests 2025-12-30 20:29:55 -08:00
PoleTransformer
0bee90ea31 WS test status code support + improved error handing + subprotocol input 2025-12-30 17:49:09 -08:00
Pedro Magno
534ba5d547 chore: Extract the sqlserver monitor to its own monitor-type. Enable support conditions for a single result value. 2025-12-30 11:06:04 +00:00
Julian Speckmann
e921d9d6e1 Enhance uniqueness assertion in createPseudoRandomValue tests 2025-12-29 04:54:04 +01:00
Julian Speckmann
5bebe30f3a Add unit tests for createPseudoRandomValue function in hash module 2025-12-29 04:37:01 +01:00
Julian Speckmann
eb4a201bc9 Fix: Await expect for monitor status checks in Monitor Form tests 2025-12-29 03:57:20 +01:00
iotux
a6d7048ed1 Skip non-existant systemd for AM64 2025-12-28 11:36:03 +01:00
iotux
3b91e5d340 Added systemd support to auto-test.yml 2025-12-26 11:36:08 +01:00
Frank Elsinga
4dc8f2c72c
Merge branch 'master' into feature/umami-analytics-status-page 2025-12-25 02:20:35 +01:00
iotux
8f6e59c5a2 Use real Dnscache service on Windows, mock on Linux 2025-12-24 05:50:54 +01:00
iotux
dc6e1ad96e Added local mock executable to support all CI environments 2025-12-24 05:28:12 +01:00
iotux
23ece162dd
Merge branch 'louislam:master' into feature/local-service-monitor 2025-12-24 09:20:54 +07:00
Copilot
af5fd5488d
fix: Optimize heartbeat indexes containing important on sqlite using SQLite partial indexes (#6511)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: louislam <1336778+louislam@users.noreply.github.com>
Co-authored-by: CommanderStorm <26258709+CommanderStorm@users.noreply.github.com>
2025-12-23 18:00:09 +00:00
iotux
9977408474 Added positive integration test using core OS services 2025-12-23 17:23:49 +01:00
iotux
b64bf50379
Merge branch 'master' into feature/local-service-monitor 2025-12-23 19:27:43 +07:00
iotux
505b5585e5 Added unit test for unsupported platforms 2025-12-23 13:20:12 +01:00
Copilot
2d9e6c3911
fix: MariaDB datetime format error when pausing maintenance (#6513)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: louislam <1336778+louislam@users.noreply.github.com>
Co-authored-by: CommanderStorm <26258709+CommanderStorm@users.noreply.github.com>
2025-12-22 14:32:12 +01:00
iotux
3591f41ee6
Merge branch 'master' into feature/local-service-monitor 2025-12-21 15:05:08 +07:00
Shaan
eb0b6cdb09
feat: Domain name expiry (#6413)
Co-authored-by: AiroPi <47398145+AiroPi@users.noreply.github.com>
Co-authored-by: Frank Elsinga <frank@elsinga.de>
2025-12-20 16:32:49 +00:00
iotux
73a19df90c
Merge branch 'master' into feature/local-service-monitor 2025-12-20 22:17:46 +07:00
iotux
15de932623 Cleanup comments and switch to integration tests 2025-12-20 15:19:06 +01:00
Shaan
f3c76dbc6f
feat: Add XMPP dialog in STARTTLS routine (#6508) 2025-12-20 12:35:53 +00:00
iotux
6aa7a74664 Removing the eslint-disable comment 2025-12-20 06:18:12 +01:00
iotux
f17a23f238 Added backend unit tests for system-service monitor with security checks 2025-12-20 05:51:47 +01:00
Louis Lam
a36616c855
[GitHub Workflow] Fix e2e test + cache node_modules (#6500) 2025-12-18 02:06:58 +00:00
Dalton Pearson
91edeaeb9c
Extracted the postgresql monitor to its own monitor-type (#6443)
Co-authored-by: Dalton Pearson <dalton.pearson@praemo.com>
Co-authored-by: Frank Elsinga <frank@elsinga.de>
2025-12-04 14:16:06 +00:00
Nelson Chan
5bf9a51522
Feat: Add warning for cert. hostname mismatch (#3942)
Co-authored-by: Louis Lam <louislam@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-12-01 10:12:47 +08:00
Frank Elsinga
a69566dd26
Merge branch 'master' into feature/umami-analytics-status-page 2025-12-01 02:06:52 +01:00
Frank Elsinga
b230ab0a06
migrated grpc keyword to the newer monitoringtype (#4821)
Co-authored-by: Louis Lam <louislam@users.noreply.github.com>
2025-11-29 23:21:45 +08:00
Louis Lam
6e49601eed
Enforce UP status for non-custom status monitors (#6433)
Co-authored-by: Frank Elsinga <frank@elsinga.de>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-11-28 20:25:06 +08:00
PoleTransformer
5d1b372072
Add Websocket Upgrade Test (#5613)
Co-authored-by: Your Name <you@example.com>
Co-authored-by: Frank Elsinga <frank@elsinga.de>
Co-authored-by: Louis Lam <louislam@users.noreply.github.com>
2025-11-27 21:05:44 +01:00
Shaan
0eebe86f81
feat: add SSL/STARTTLS option and certificate monitoring to TCP Port monitor (#6401)
Co-authored-by: Jacques ROUSSEL <jacques.roussel@rouaje.com>
Co-authored-by: rouja <jacques0roussel@gmail.com>
Co-authored-by: Nelson Chan <3271800+chakflying@users.noreply.github.com>
Co-authored-by: Louis Lam <louislam@users.noreply.github.com>
Co-authored-by: Frank Elsinga <frank@elsinga.de>
2025-11-24 18:30:13 +13:00
Frank Elsinga
dda1a3f442
Chore:extracted the redis monitor to a different monitoring type (#4393)
Co-authored-by: Louis Lam <louislam@users.noreply.github.com>
2025-11-16 04:55:38 +08:00
Frank Elsinga
fd07cf7f7b
Merge branch 'master' into feature/umami-analytics-status-page 2025-10-27 22:29:44 +01:00
Louis Lam
8f3cb770eb
[Docker] Bump to Node.js 22 (#6222)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-10-27 23:58:27 +08:00
Frank Elsinga
79611aca3c
Merge branch 'master' into feature/umami-analytics-status-page 2025-10-27 13:16:29 +01:00
Eric Duminil
c3a62f7461
Allow MQTT topic to have wildcards (# or +) (#5398) 2025-10-26 20:36:47 +01:00
Paulus Lucas
2a6d9b4acd
Add Websocket path to mqtt monitor for WebSocket connection (#6009)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: lupaulus <20111917+lupaulus@users.noreply.github.com>
2025-07-24 22:04:43 +02:00
Lyall
487cb8fdc5
fix: refresh interval getting incremented by 10 on status page despite a minimum of 5 (#5961)
Co-authored-by: Frank Elsinga <frank@elsinga.de>
2025-07-11 23:41:43 +02:00
ianlv
54b0c89ea5
chore: fix typos in code comments (#5966)
Signed-off-by: ianlv <sunlvyun@outlook.com>
2025-07-02 16:18:13 +02:00
grvwy
8909cd008c
feat: add multiple tags in bulk for a monitor (#5846)
Co-authored-by: Frank Elsinga <frank@elsinga.de>
2025-06-12 03:52:35 +02:00
Ionys
2b3f49a266
Add a public URL field for monitors and uses it on the status page (#5435)
Co-authored-by: Adam Stachowicz <saibamenppl@gmail.com>
2025-05-10 19:05:37 +02:00
happy-game
86b3ef9c86
feat: Set default friendly name using hostname or the URL host (#5795)
Co-authored-by: Frank Elsinga <frank@elsinga.de>
2025-05-08 11:06:14 +02:00
hadestructhor
28e288db2c fix(analytics): fixed issues with db init and refactor of code and names 2025-04-10 23:48:46 +02:00
hadestructhor
a1e63390ab feat: add Matomo analytics support 2025-02-21 23:26:44 +01:00
hadestructhor
6bade1fe81 feat: add support for plausible, cleanup and refactor code 2025-02-19 00:08:30 +01:00
hadestructhor
e44ec55eda chore: cleanup and refactoring 2025-02-18 00:45:53 +01:00
hadestructhor
afae736972 feat: add support for umami tracking 2025-02-09 14:06:25 +01:00
Ionys
2ecd7af89b
feat(monitor condition): Remove the empty default condition creation (#5354) 2024-12-20 14:55:13 +08:00
Suven-p
c01494ec33
feat: add RabbitMQ monitor (#5199)
Co-authored-by: Frank Elsinga <frank@elsinga.de>
2024-10-20 15:57:03 +02:00
Frank Elsinga
a20a43b8aa
tests: add testcase for the mqtt monitor with testcontainers (#4451) 2024-10-17 16:25:45 +02:00
Tanmay Shinde
a5faa4b225
refactor: removed fs-rmsync extra func used for node <14 (#5159) 2024-10-05 16:27:17 +02:00
artshllaku
a309cf0e2c
tests: improve playwright test readability (#5149) 2024-10-03 11:20:27 +02:00
Shaun
c567e8eb8e
Status Page E2E spec (#5068) 2024-09-01 02:20:55 +02:00
Shaun
36f8be040d
Monitor Conditions (#5048) 2024-08-30 21:48:13 +02:00
Shaun
3d9bbe1a62
Improve Playwright/E2E testing setup (#5056)
Co-authored-by: Frank Elsinga <frank@elsinga.de>
2024-08-28 23:18:04 +02:00
Frank Elsinga
0ddf35e7b5
Removed now unnecessary version checking (#4815) 2024-08-24 18:38:50 +02:00
James Cocker
8456912ae3
Corrected "Login" & "Logout" to verbs (EN) (#4320)
Co-authored-by: Louis Lam <louislam@users.noreply.github.com>
2024-01-14 05:35:11 +08:00
Nelson Chan
bf1e3a3d5e
Feat: Add stat_hourly & min. max. ping (#4267)
Co-authored-by: Frank Elsinga <frank@elsinga.de>
2024-01-05 20:42:24 +08:00
Louis Lam
996ff28ed9
Playwright + Native Node Test Runner (#3893) 2023-12-17 19:02:22 +08:00
Louis Lam
d7b9bcf4b4
Drop install.sh and related files (#3955) 2023-10-29 15:28:47 +08:00
Adam Stachowicz
04b8681cfb
Fix few markdownlint warnings (#3825) 2023-10-03 05:48:21 +08:00
Frank Elsinga
d6302198f3
chore(jsdoc):Linting fixes (#3703)
* fixed the lockfile having a different version

* jsdoc
2023-09-07 15:42:44 +08:00
Louis Lam
33f7448048
Don't run worst case test on GitHub Actions (#3688)
* Don't run worst case test on GitHub Actions

* Deprecate jest
2023-09-05 02:08:18 +08:00
Louis Lam
076331bf00
Uptime calculation improvement and 1-year uptime (#2750) 2023-09-01 05:19:21 +08:00
Louis Lam
3e0f5f4231 Merge branch 'master' into 2.0.X
# Conflicts:
#	package-lock.json
#	server/database.js
#	server/util-server.js
2023-08-09 20:09:56 +08:00
Louis Lam
d231a05526
Remove babel-plugin-rewire (#3522) 2023-08-04 01:10:15 +08:00
Louis Lam
0a59fef7d8
Merge pull request #3490 from chakflying/fix/radius-retry
Fix: Incorrect radius error & retry handling
2023-07-31 17:47:26 +08:00
Louis Lam
a0bd4b248b Merge remote-tracking branch 'origin/master' into 2.0.X
# Conflicts:
#	docker/debian-base.dockerfile
#	package-lock.json
#	package.json
#	server/database.js
#	src/router.js
2023-07-30 19:15:09 +08:00
Nelson Chan
c0eb0cb42c Chore: Add test radius dockerfile 2023-07-27 17:43:33 +08:00
Louis Lam
9058a829a1
Update install.sh (#3464) 2023-07-21 16:09:35 +08:00
nthumann
d55794e1a5
Add test cases for IPv6 addresses in getClientIP 2023-07-08 17:46:26 +02:00
Louis Lam
e4183ee2b7
Database Setup Page (#2738)
* WIP

* WIP: Database setup process

* Add database setup page
2023-02-11 14:41:02 +08:00
Louis Lam
dc4d2a77bb WIP 2023-02-05 17:45:36 +08:00
Nelson Chan
95c934e08b Fix: Do not allow white space around IP
Feat: Trim input on submit

Test: Add test for whitespace regex match
2023-02-01 08:25:16 +08:00
David Twigger
2bc165379a Add unit test for hostNameRegexPattern 2023-01-11 13:28:30 +01:00
David Twigger
1565da87cf Implement cypress unit testing 2023-01-10 08:18:48 +01:00
Louis Lam
d95e722658 Init dayjs for backend.spec.js 2022-10-11 22:09:18 +08:00
Ben Scobie
c28d8ddff9
Correctly handle multiple IPs in X-Forwarded-For (#2177)
Co-authored-by: Louis Lam <louislam@users.noreply.github.com>
2022-10-05 23:45:21 +08:00
Louis Lam
b993859926
Drop Jest e2e testing (#2174) 2022-10-05 14:26:30 +08:00
Louis Lam
afbc283423
Move Cypress directory and convert it to JavaScript (#2170) 2022-10-04 22:23:57 +08:00
tamasmagyar
a68d945cdc simplified backend unit tests 2022-06-07 09:10:50 +02:00
Jordan Bertasso
c5faf709b8
Merge branch 'master' into fix-1448-discord-service-url 2022-05-10 22:53:55 +10:00
Louis Lam
d962ab7a1c Merge branch 'master' into uptime-badges
# Conflicts:
#	package-lock.json
#	server/routers/api-router.js
2022-05-01 17:03:11 +08:00
Matthew Nickson
b641c8a878
Add JSDoc to test/*
Signed-off-by: Matthew Nickson <mnickson@sidingsmedia.com>
2022-04-22 23:24:14 +01:00
Jens Neuber
e103ac8335 Merge branch 'master' of https://github.com/louislam/uptime-kuma into uptime-badges 2022-04-20 10:10:14 +02:00
Jordan Bertasso
288ed1e3ca
Merge branch 'master' into fix-1448-discord-service-url 2022-04-15 14:13:44 +10:00
Louis Lam
649f3106e1 Enforce semicolon, fix format globally 2022-04-14 01:20:54 +08:00
jordanbertasso
0765f05090 Update Discord tests 2022-04-12 09:52:16 +10:00
jordanbertasso
1b1e0f6dd9 Add Discord tests 2022-04-10 22:02:30 +10:00
AnnAngela-work
783173fd1f Add a helper function 2022-03-02 15:48:08 +08:00
Jens Neuber
6acc9546a0 PR feedback + remove redundant code + add a test 2022-01-04 16:00:21 +01:00