Commit graph

5864 commits

Author SHA1 Message Date
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
warpreality
18cfa901ad
feat: Add a "manual" (static/fixed) monitor (#5897)
Co-authored-by: Maksim Kachynski <max.kachinsky@rocketdata.io>
Co-authored-by: Frank Elsinga <frank@elsinga.de>
2025-06-13 13:38:49 +02:00
Fabian Triebsch
f282422b22
added option to force ipv4 or ipv6 for http(s) monitor type (#5880)
Co-authored-by: Ionys <9364594+Ionys320@users.noreply.github.com>
Co-authored-by: Frank Elsinga <frank@elsinga.de>
2025-06-13 08:14:55 +02:00
Manu
53e83e7722
Add monitor id label to prometheus metrics (#5907)
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-12 12:31:01 +02:00
grvwy
8909cd008c
feat: add multiple tags in bulk for a monitor (#5846)
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
Co-authored-by: Frank Elsinga <frank@elsinga.de>
2025-06-12 03:52:35 +02:00
Ionys
c7bacbb7fe
Ensure maintenance are always runned at the right moment (#5903)
Co-authored-by: Frank Elsinga <frank@elsinga.de>
2025-06-12 01:42:25 +02:00
Ionys
4d51aaa6f8
Fix invalid maintenance date (#5901) 2025-06-12 00:28:04 +02:00
Andrea Mastellone
f27811c394
ntfy.sh separate down priority (#5893)
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
Co-authored-by: Frank Elsinga <frank@elsinga.de>
2025-06-11 01:41:09 +02:00
Cyril59310
c46772dafc
Add default avatar in discord notifications (#5890)
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
2025-06-07 21:09:56 +02:00
Louis Lam
4bdb616641
Translations Update from Weblate (#5888)
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-07 13:47:02 +08:00
Louis Lam
87308a7778 Merge branch 'master' into fix-weblate-conflict
# Conflicts:
#	src/lang/bg-BG.json
#	src/lang/de-CH.json
#	src/lang/de-DE.json
#	src/lang/fi.json
#	src/lang/fr-FR.json
#	src/lang/it-IT.json
#	src/lang/ja.json
#	src/lang/ko-KR.json
#	src/lang/nl-NL.json
#	src/lang/pl.json
#	src/lang/pt-BR.json
#	src/lang/ru-RU.json
#	src/lang/uk-UA.json
#	src/lang/zh-CN.json
2025-06-07 13:43:08 +08:00
Louis Lam
8d710e217a
Update to 2.0.0-beta.3 (#5877)
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
2025-06-04 11:32:44 +08:00
Louis Lam
63c5ebe624 Update to 2.0.0-beta.3 2025-06-04 11:31:03 +08:00
Louis Lam
93daab9790
Update dependencies (#5876) 2025-06-04 10:14:55 +08:00
Louis Lam
dcff640248
Fix (#5875)
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
Co-authored-by: ptrstr <ptrstr@protonmail.com>
Co-authored-by: Frank Elsinga <frank@elsinga.de>
2025-06-04 10:04:57 +08:00