Commit graph

5878 commits

Author SHA1 Message Date
Peak Twilight
300c51fa3b
Merge dc74bb7e95 into 443d5cf554 2025-06-17 19:30:12 +00:00
Doruk
dc74bb7e95 lint fix 2025-06-17 21:30:03 +02:00
Doruk
29e885b6d4 fix minor issues, falsy check & unnecessary defaults & simplify to a single empty state 2025-06-17 19:50:24 +02:00
Doruk
5c6cf48a77 status page router ismplification getData 2025-06-17 19:50:24 +02:00
Doruk
91221b5cb9 keep track of original order instead of iterating through all buckets 2025-06-17 19:50:24 +02:00
Doruk
88b3cfc640 maxbeats simplification 2025-06-17 19:50:24 +02:00
Doruk
eb47b1f14f refactor _24 suffix 2025-06-17 19:50:24 +02:00
Peak Twilight
5e64226a63
Update server/routers/status-page-router.js
Co-authored-by: Frank Elsinga <frank@elsinga.de>
2025-06-17 19:35:53 +02:00
Doruk
9e0786272f npm install timeout? 2025-06-17 16:20:38 +02:00
Doruk
9cc91c3869 npm install timeout? 2025-06-17 16:20:31 +02:00
Doruk
6c26d32a8e update uptime component with dynamic range 2025-06-17 15:28:15 +02:00
Peak Twilight
443d5cf554
Improve UI: Edit Buttons in Status Page (#5920)
Some checks failed
Auto Test / armv7-simple-test (18, ARMv7) (push) Has been cancelled
Auto Test / armv7-simple-test (20, ARMv7) (push) Has been cancelled
Auto Test / check-linters (push) Has been cancelled
Auto Test / e2e-test (push) Has been cancelled
CodeQL / Analyze (push) Has been cancelled
Merge Conflict Labeler / Labeling (push) Has been cancelled
validate / json-yaml-validate (push) Has been cancelled
validate / validate (push) Has been cancelled
Auto Test / auto-test (18, ARM64) (push) Has been cancelled
Auto Test / auto-test (18, macos-latest) (push) Has been cancelled
Auto Test / auto-test (18, ubuntu-latest) (push) Has been cancelled
Auto Test / auto-test (18, windows-latest) (push) Has been cancelled
Auto Test / auto-test (20, ARM64) (push) Has been cancelled
Auto Test / auto-test (20, macos-latest) (push) Has been cancelled
Auto Test / auto-test (20, ubuntu-latest) (push) Has been cancelled
Auto Test / auto-test (20, windows-latest) (push) Has been cancelled
Co-authored-by: Frank Elsinga <frank@elsinga.de>
2025-06-15 20:44:28 +02:00
Louis Lam
609429bd7e
Fix dayjs (#5923)
Some checks are pending
Auto Test / auto-test (18, ARM64) (push) Blocked by required conditions
Auto Test / auto-test (18, macos-latest) (push) Blocked by required conditions
Auto Test / auto-test (18, ubuntu-latest) (push) Blocked by required conditions
Auto Test / auto-test (18, windows-latest) (push) Blocked by required conditions
Auto Test / auto-test (20, ARM64) (push) Blocked by required conditions
Auto Test / auto-test (20, macos-latest) (push) Blocked by required conditions
Auto Test / auto-test (20, ubuntu-latest) (push) Blocked by required conditions
Auto Test / auto-test (20, windows-latest) (push) Blocked by required conditions
Auto Test / armv7-simple-test (18, ARMv7) (push) Waiting to run
Auto Test / armv7-simple-test (20, ARMv7) (push) Waiting to run
Auto Test / check-linters (push) Waiting to run
Auto Test / e2e-test (push) Waiting to run
CodeQL / Analyze (push) Waiting to run
Merge Conflict Labeler / Labeling (push) Waiting to run
validate / json-yaml-validate (push) Waiting to run
validate / validate (push) Waiting to run
2025-06-15 18:37:01 +08:00
Maksim
3b6a78bd80
Fix db coloum type for manual monitor (#5921) 2025-06-15 16:43:09 +08:00
Doruk
24b6209651 lint fix 2025-06-15 08:02:51 +02:00
Doruk
100cd626cf added more edge case tests to daily data bucketeting 2025-06-15 07:58:53 +02:00
Doruk
3a5bedda88 fix distribute daily data across bucket ranges 2025-06-15 07:44:22 +02:00
Doruk
b6227e7605 linting fix 2025-06-15 00:46:00 +02:00
Doruk
eaace3eca0 added aggregation tests 2025-06-15 00:41:12 +02:00
Doruk
6defb5ddaa refactor status page router into uptime calculator 2025-06-14 23:49:03 +02:00
Doruk
c02301597a cleanup 2025-06-14 23:44:41 +02:00
Doruk
adc362a2a8 rethought beat aggregation system fully server-side 2025-06-14 23:42:40 +02:00
Doruk
1518fd528b address CommanderStorm's feedback + revert statuspage pr 2025-06-14 23:09:44 +02:00
Doruk
1f4c4a0cb1 fix range 30-90 v2 2025-06-14 23:04:57 +02:00
Doruk
8b2bf8a8c8 fix 30-90 range 2025-06-14 22:50:10 +02:00
Doruk
28eae65adb change color suggestion to primary 2025-06-14 22:34:35 +02:00
Doruk
05c9ec2ead fix client-side aggregation as well for dynamic beat bar count 2025-06-14 22:29:30 +02:00
Doruk
76b9680445 bug fix, made beats bars smaller 2025-06-14 21:58:44 +02:00
Doruk
bf7d6deb73 Remove unused client-side aggregation logic. 2025-06-14 18:57:50 +02:00
Doruk
804bb39f52 time calculation & cleanup 2025-06-14 18:40:13 +02:00
Doruk
9402c0fa00 rebucketing 2025-06-14 18:37:40 +02:00
Doruk
75fc01c95f simplifications 2025-06-14 13:38:52 +02:00
Doruk
992bcdb18e fix linting 2025-06-14 13:28:18 +02:00
Doruk
0dde42ee36 added validate and other improvements 2025-06-14 13:27:34 +02:00
Doruk
ace9ff20b5 simplified to day int instead of custom options accross all components. 2025-06-14 12:49:02 +02:00
Doruk
b41d10ec27 cleaned up empty lines + linting 2025-06-14 12:38:45 +02:00
Doruk
94adf2c9d4 cleaned up debugging 2025-06-14 12:37:45 +02:00
Doruk
e16b6cf0d1 . Number of beats adapts to container width, just like auto mode :) 2025-06-14 12:32:54 +02:00
Doruk
f47f73d76d fix timestamp format calculation according to db 2025-06-14 12:24:00 +02:00
Doruk
dbf58b8650 try stat tables first, then add fallback if pre-aggregated data fails 2025-06-14 12:22:46 +02:00
Doruk
8d2e3f130a remove client-side aggregation and add server-side support for it in new util 2025-06-14 12:16:28 +02:00
Doruk
2c6d410c60 modularized with a heartbeat range util 2025-06-14 12:10:00 +02:00
Doruk
ebd47f1a45 refactor: Clean up heartbeat range handling in status page
- Removed fallback to "auto" for heartbeat bar range in the StatusPage model.
- Simplified heartbeat range logic in the status page router to ensure consistent date handling.
- Updated socket handler to directly assign heartbeat bar range from config.
2025-06-14 12:02:37 +02:00
Doruk
b441308545 lang file fix 2025-06-14 02:53:19 +02:00
Doruk
531faa9958 fix linting 2025-06-14 02:45:53 +02:00
Doruk
c0f09d9273 simplify overengineered aggregated fetches 2025-06-14 02:34:29 +02:00
Doruk
e1cf10d6c8 fetch aggregated data overengineering? 2025-06-14 02:29:04 +02:00
Doruk
493a5fdf69 added heartbeat range 2025-06-14 02:16:31 +02:00
Doruk
ad713eda4b feat: Add configurable heartbeat bar range for status pages
Add a configurable range option (7/30/60/90/180/365 days) for heartbeat bars on status pages.
This allows status page owners to customize how much historical data is shown to visitors.

Changes:
- Add database migration for heartbeat_bar_range_days column
- Update StatusPage model to include heartbeat bar range setting
- Modify heartbeat API endpoint to respect configured range
- Add UI controls in status page editor for range selection
- Update English translations for new settings
- Default to 90 days for backward compatibility

Resolves #1888
2025-06-14 01:06:53 +02:00
Florian Feka
55817061c0
fix: Properly handle the NTLM part being embedded inside other authentication headers (#5871)
Some checks failed
Auto Test / armv7-simple-test (18, ARMv7) (push) Has been cancelled
Auto Test / armv7-simple-test (20, ARMv7) (push) Has been cancelled
Auto Test / check-linters (push) Has been cancelled
Auto Test / e2e-test (push) Has been cancelled
CodeQL / Analyze (push) Has been cancelled
Merge Conflict Labeler / Labeling (push) Has been cancelled
validate / json-yaml-validate (push) Has been cancelled
validate / validate (push) Has been cancelled
Auto Test / auto-test (18, ARM64) (push) Has been cancelled
Auto Test / auto-test (18, macos-latest) (push) Has been cancelled
Auto Test / auto-test (18, ubuntu-latest) (push) Has been cancelled
Auto Test / auto-test (18, windows-latest) (push) Has been cancelled
Auto Test / auto-test (20, ARM64) (push) Has been cancelled
Auto Test / auto-test (20, macos-latest) (push) Has been cancelled
Auto Test / auto-test (20, ubuntu-latest) (push) Has been cancelled
Auto Test / auto-test (20, windows-latest) (push) Has been cancelled
Co-authored-by: Frank Elsinga <frank@elsinga.de>
2025-06-13 15:08:11 +02:00