Simon Larsen
75ab4bd946
Refactor DashboardViewConfig enum to use explicit types for default height and width
2024-10-24 18:34:31 +01:00
Simon Larsen
b31ffab577
Refactor DashboardComponentType enum to fix casing and add missing newline at end of file
2024-10-24 17:23:34 +01:00
Simon Larsen
8f2da2bdc5
Refactor dashboard component types and add chart, text, and value components
2024-10-24 15:38:13 +01:00
Simon Larsen
da22f2ef51
Refactor DashboardMode enum to fix formatting and add missing newline at end of file
2024-10-23 14:48:51 +01:00
Simon Larsen
a882507aff
Refactor MoreMenu component to use Button instead of Icon
2024-10-23 14:46:24 +01:00
Simon Larsen
f13adebc04
Refactor DashboardSize to fix casing of heightInDashboardUnits property
2024-10-23 13:36:31 +01:00
Simon Larsen
97de3ff6c7
Refactor DashboardService to include DashboardViewConfig
2024-10-23 13:07:47 +01:00
Simon Larsen
b050dfdc1c
Refactor CategoryCheckbox component to remove unnecessary array cloning
2024-10-23 12:56:10 +01:00
Simon Larsen
05a2fe6665
Refactor CRUD permissions to include read access
2024-10-23 12:50:02 +01:00
Simon Larsen
986479e8d5
Refactor DashboardViewConfig to use semicolon instead of comma
2024-10-23 12:45:22 +01:00
Simon Larsen
16fad55f9f
Refactor Dashboard model to include DashboardViewConfig
2024-10-23 12:18:15 +01:00
Simon Larsen
4f03f448e8
Add new dashboard components and interfaces
2024-10-23 12:15:00 +01:00
Simon Larsen
f3e72a30d3
Delete unused ServiceDelete component
2024-10-23 11:51:38 +01:00
Simon Larsen
cf319c5afb
Add new chart types and dashboard component interfaces
2024-10-23 11:24:13 +01:00
Simon Larsen
00a783acca
Merge pull request #1732 from OneUptime/snyk-fix-d8042450b0fd7524c713302d42109ccc
...
[Snyk] Fix for 1 vulnerabilities
2024-10-21 16:23:26 +01:00
Simon Larsen
4cefa756d6
add not notify on default incident state
2024-10-18 16:41:33 +01:00
Simon Larsen
5e85e73c0b
add do not follow redirect to form
2024-10-16 18:20:03 +01:00
Simon Larsen
a39db4ffc9
fix timeline on monitor chart
2024-10-16 14:59:01 +01:00
Simon Larsen
1b3cde35f3
add filter views to other tables
2024-10-16 12:02:16 +01:00
Simon Larsen
f1dda4a7b3
fix filter settings
2024-10-15 19:20:46 +01:00
snyk-bot
f50120d19a
fix: Common/package.json & Common/package-lock.json to reduce vulnerabilities
...
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-COOKIE-8163060
2024-10-15 06:03:43 +00:00
Simon Larsen
f0a3ddbf2e
make UI for table filters nicer
2024-10-14 20:23:20 +01:00
Simon Larsen
9e45f4cea9
refactor: Add doNotFollowRedirects option to WebsiteRequest and API
...
This commit adds the `doNotFollowRedirects` option to the `WebsiteRequest` and `API` classes. When set to `true`, the classes will not follow redirects when making HTTP requests. This is achieved by setting the `maxRedirects` property of the `axiosOptions` object to 0. This change allows for more control over the behavior of HTTP requests and ensures that redirects are not automatically followed.
2024-10-09 20:11:15 +01:00
Simon Larsen
d072a29cf8
refactor: Add WriteCustomCertsToDiskJob to Nginx/Index.ts and update UptimeUtil to round uptime percentage to specified precision
...
- The WriteCustomCertsToDiskJob has been added to the Nginx/Index.ts file to handle writing custom certificates to disk.
- The UptimeUtil has been updated to round the uptime percentage to the specified precision.
2024-10-09 19:24:17 +01:00
Simon Larsen
e253be732f
refactor: Update UptimeUtil to round uptime percentage to specified precision
...
The UptimeUtil class in the Common/Utils/Uptime directory has been updated to include a new method called roundToPrecision. This method takes a number and a precision value and rounds the number to the specified precision. This method is used in the calculateUptimePercentage method to round the uptime percentage to the precision specified in the data.group object.
This change ensures that the uptime percentage is displayed with the correct precision, providing more accurate information to users.
Refactor the UptimeUtil class to include the roundToPrecision method and update the calculateUptimePercentage method to use it.
Fixes #123
2024-10-09 11:39:21 +01:00
Simon Larsen
eaf4193cb0
refactor: Remove unused code in UptimeUtil
2024-10-09 11:23:49 +01:00
Simon Larsen
d7f881c468
fix: Add namespace to Semaphore lock in MonitorStatusTimelineService
2024-10-09 10:46:33 +01:00
Simon Larsen
8270934564
refactor: Improve locking mechanism in Semaphore class
...
- Modify the Semaphore class in Semaphore.ts to include a namespace parameter in the lock method.
- Update the lockTimeout default value from 1000 to 5000 milliseconds.
- Append the namespace to the key when creating a new Mutex instance.
- Add a try-catch block to handle errors when acquiring and releasing the mutex.
2024-10-09 10:23:50 +01:00
Simon Larsen
8590cfa4c0
feat: add note to alert type
2024-10-08 22:04:51 +01:00
Simon Larsen
09196f397e
make alert private note work
2024-10-08 21:12:03 +01:00
Simon Larsen
06d0dba258
add monitor alert
2024-10-08 20:26:00 +01:00
Simon Larsen
7a38a0d9da
fix rule in monitor criteria
2024-10-04 15:54:01 -07:00
Simon Larsen
add11806e0
add default alert severity id
2024-10-04 15:44:43 -07:00
Simon Larsen
97bf26ab03
make header alerts work
2024-10-04 15:34:50 -07:00
Simon Larsen
09955a5ba9
add header group
2024-10-04 11:40:38 -07:00
Simon Larsen
30db4e58ff
refactor UI of header alerts
2024-10-04 11:01:36 -07:00
Simon Larsen
7eebd75088
add types to header alert
2024-10-04 09:12:13 -07:00
Simon Larsen
d17b687e03
add alert types to model alert
2024-10-04 09:08:00 -07:00
Simon Larsen
54cd18896a
Refactor SideMenu component in Settings page
2024-10-03 17:12:29 -07:00
Simon Larsen
facc564616
Refactor MonitorCriteriaInstance to handle null incidents and alerts
2024-10-03 16:22:48 -07:00
Simon Larsen
591b3ab41c
Refactor TableView component and fix indentation
2024-10-03 15:45:00 -07:00
Simon Larsen
cfc1fb47be
Refactor MonitorPage and TableView components
2024-10-03 15:25:10 -07:00
Simon Larsen
4a7ac0ffab
add monitor alerts
2024-10-03 10:51:41 -07:00
Simon Larsen
bb5a019afd
enhance alert permissions and add alert routes
2024-10-03 10:35:10 -07:00
Simon Larsen
b624bd49ee
add migration for alerts
2024-10-02 23:05:45 +01:00
Simon Larsen
249a9d991c
Merge branch 'table-filters' into monitor-alert
2024-10-02 23:02:38 +01:00
Simon Larsen
49a2ee18a1
add alerts to monitor step
2024-10-02 23:00:47 +01:00
Simon Larsen
11a4f3442d
add alert jobs in worker
2024-10-02 22:43:04 +01:00
Simon Larsen
f25f7f1f81
add jobs for alerts
2024-10-02 22:10:37 +01:00
Simon Larsen
e6b47d85d6
add breadcrumbs
2024-10-02 21:48:40 +01:00