Commit graph

637 commits

Author SHA1 Message Date
Pēteris Caune
5e051bfc30
Fix AJAX views to better handle user logging out
Rather than redirecting to login page, return HTTP 403 Forbidden
2024-08-20 10:57:36 +03:00
Pēteris Caune
cda744d0c1
Implement search by slug in the checks list
cc: #1048
2024-08-15 14:17:28 +03:00
Pēteris Caune
56bac98816
Update the "Set Password" page to reject very weak passwords 2024-08-15 12:04:28 +03:00
Pēteris Caune
5d63057e78
Improve password quality meter for very weak passwords
Previously, if the user enters a weak password like "qwerty",
the score is 0, the password strength bar is empty (all gray).
It is easy to not notice the password strength bar at all.

Now, the lowest score for a non-empty password is 1, meaning
the user will see one red bar. This will hopefully draw more
attention to the password strength bar.

Users are still allowed to choose weak passwords.
2024-08-15 11:10:14 +03:00
Pēteris Caune
81515e3ed2
Fix selectize optgroup separator in dark mode 2024-08-13 14:54:08 +03:00
Pēteris Caune
3fbba0c2f0
Update timezone dropdowns to show frequently used timezones at the top 2024-08-13 13:57:52 +03:00
Pēteris Caune
9ebab5d317
Rename illustrations to bust cached versions 2024-07-18 10:27:49 +03:00
Pēteris Caune
e83f60cc0b
Implement Implement MS Teams Workflows integration
We already have a MS Teams integration but MS Teams is discontinuing
the incoming webhook feature used by this integration:

https://devblogs.microsoft.com/microsoft365dev/retirement-of-office-365-connectors-within-microsoft-teams/

MS Teams now recommends to use Workflows to post messages
via webhook. MS Teams does not provide backwards compatibility or
an upgrade path for existing integrations.

This commit adds a new "msteamsw" integration which uses MS Teams
Workflows to post notifications. It also updates the instructions
and illustrations in the "Add MS Teams Integration" page.

cc: #1024
2024-07-17 13:35:17 +03:00
Pēteris Caune
44b163cc52
Fix JS formatting 2024-06-17 14:14:36 +03:00
NKETIAH53
0874ced368 format dates in logs to include year unless they are from current year
fixes: #1008
2024-06-17 14:07:18 +03:00
Pēteris Caune
037499f33a
Add Docs / Pinging / Network Routers 2024-06-11 21:00:34 +03:00
Pēteris Caune
24e5e83bbc
Update Ping Details dialog to also show formatted datetimes
Fixes: #975
2024-05-29 15:43:06 +03:00
Pēteris Caune
da90d33d38
Fix a bug in the log page that caused log events to sometimes load twice 2024-05-10 10:27:40 +03:00
Pēteris Caune
011fa98154
Improve PING_EMAIL_DOMAIN docs some more :-) 2024-04-22 15:34:44 +03:00
Pēteris Caune
8835d49798
Update CSS to highlight h2:target in "Server Configuration" page 2024-04-22 15:17:22 +03:00
moraj-turing
3718ff57c7
Add support for system theme (#987)
Add support for system theme

---------

Co-authored-by: Juan Mora <juan@nimble.gt>
Co-authored-by: Pēteris Caune <cuu508@gmail.com>
2024-04-15 10:42:16 +03:00
Pēteris Caune
9bb5656d40
Implement dynamic favicon in the projects overview page
cc: #971
2024-04-10 14:36:42 +03:00
Pēteris Caune
71e8112c95
Clean up CSS 2024-04-10 09:52:58 +03:00
Pēteris Caune
27c065230a
Switch back to using integer timestamps in the log page
The live-updating code still needs float timestamps, but
we only need them for the most recent event (so we know
the lower threshold for fetching new events). We now send
the float timestamp separately:

* in the `/log/` view, we put it in HTML content, in a <script> tag
* in the `/log_events/` view we put it in response header

The main benefit of this is smaller response sizes for the
`/log/` and `/log_events/` views.
2024-04-09 14:24:43 +03:00
Pēteris Caune
d7948d9939
Show status changes (flips) in check's log page
Fixes: #447
2024-04-09 12:39:42 +03:00
Pēteris Caune
c99c357709
Improve styling for live-loaded log events
Live-loaded notification events used blue border which
looked bad both in light mode and dark mode. Now fixed to use red.
2024-04-08 10:07:54 +03:00
Pēteris Caune
97adf7c2eb
Update moment.js timezone data to 0.5.44-2023d 2024-03-29 17:14:40 +02:00
Pēteris Caune
9f5cec1c7a
Simplify JS that sets the favicon
* look up the favicon DOM element only once
* update the favicon only if title changes, not on every refresh
* details.js: use the base URL when constructing favicon URL
2024-03-26 17:28:47 +02:00
Prince Khunt
249b9e163d
Proposing addition of a visual indication to favicon on down (#977)
Implement dynamic favicon in the "Checks" and "Details" pages

Fixes: #971
2024-03-26 17:05:23 +02:00
Pēteris Caune
bc5e9fde80
Fix the filtering code to handle 0 hits 2024-03-21 15:43:17 +02:00
Pēteris Caune
b9e788b9c6
Change log_events response content type from JSON to HTML 2024-03-21 13:21:09 +02:00
Pēteris Caune
855fac0973
Implement filtering by event type in the Log page
Fixes: #873
2024-03-21 11:04:45 +02:00
Pēteris Caune
df6895ed1f
Fix regression in log auto-updating code
Also switch back to using integers for the slider min and max
values, and for the hc.front.forms.LogFilterForm.
2024-03-19 19:11:46 +02:00
Pēteris Caune
47894f6add
Rearrange the log page to make room for more filters
* Switch from nouislider to simpler <input type="range">
* Move it to a sidebar

Also, fix a bug in _get_events where the "start" local variable
got clobbered, and made the date range for the Notification
query wrong.
2024-03-19 18:47:13 +02:00
Pēteris Caune
4485c8bd6e
Improve docs about check and project transfers 2024-03-12 17:54:24 +02:00
Pēteris Caune
dbc8ebb73a
Tweak the badges page 2024-02-27 13:06:31 +02:00
Pēteris Caune
1322bb1123
Add support for per-check status badges
Fixes: #853
2024-02-27 12:55:51 +02:00
Pēteris Caune
4959856e58
Redesign the "Status Badges" page 2024-02-26 12:34:26 +02:00
Michael Boateng
9770bc1ea0
Add auto-refresh functionality to log page (#963)
Add auto-refresh functionality to log page

Fixes: #957

---------

Co-authored-by: Pēteris Caune <cuu508@gmail.com>
2024-02-23 11:36:31 +02:00
Pēteris Caune
86930d1fba
Update MS Teams onboarding instructions 2024-02-20 12:49:40 +02:00
Pēteris Caune
d37f830be9
Tweak the sizing of grace time input groups some more 2024-02-08 16:13:50 +02:00
Pēteris Caune
97442e9d2d
Tweak the sizing of grace time input groups 2024-02-08 16:10:54 +02:00
Michael Boateng
6bfd9c901c
Make grace time editable when job is created (#953)
Fixes: #945
2024-02-08 15:34:52 +02:00
Pēteris Caune
16450a66c7
Add tooltips to tag buttons in the checks list screen
Fixes: #911
2024-01-22 15:20:09 +02:00
Pēteris Caune
6172a0bbaa
Update Spike.sh instructions 2023-12-14 12:20:36 +02:00
Pēteris Caune
be004c3e0d
Update Opsgenie instructions 2023-12-14 11:41:23 +02:00
Pēteris Caune
bd86109cd1
Update screenshots 2023-12-13 10:55:44 +02:00
Pēteris Caune
5cc5acdec0
Update screenshots 2023-12-13 10:40:50 +02:00
Pēteris Caune
5d07645823
Update the "Configuring Checks" docs page with OnCalendar schedules 2023-12-12 13:39:00 +02:00
Pēteris Caune
0abfe58cef
Implement OnCalendar schedules in the "Add Check" dialog 2023-12-08 12:02:01 +02:00
Pēteris Caune
b82274d827
Clean up JS for the "Update Timeout" modal
+ fix a bug where the preview doesn't update after closing
and re-opening the dialog.
2023-12-07 15:41:04 +02:00
Pēteris Caune
6a2fbba40a
Tweak paddings and margins in the "Update Timeout" modal 2023-12-07 15:39:47 +02:00
Pēteris Caune
5cd874f1de
Fix duplicate HTML element ids in the "Update timeout" modal 2023-12-06 16:34:28 +02:00
Pēteris Caune
461b7ec751
Move "Update timeout" modal's CSS to a separate file 2023-12-06 16:33:50 +02:00
Pēteris Caune
d65f41d192
Add support for systemd's OnCalendar schedules
(work-in-progress)

cc: #919
2023-12-06 15:42:57 +02:00