Commit graph

660 commits

Author SHA1 Message Date
Pēteris Caune
2bf9c357ef
Update WhatsApp logo 2024-11-25 15:03:52 +02:00
Pēteris Caune
29c02ab986
Replace Matrix logo with a larger, sharper version 2024-11-25 14:51:25 +02:00
Pēteris Caune
410a767496
Fix the off state for rocketchat, ntfy, telegram icons 2024-11-25 12:33:33 +02:00
Pēteris Caune
87dc3aff1d
Update Signal and Telegram icons 2024-11-25 12:10:16 +02:00
Pēteris Caune
a81da0b1ca
Remove some IE9 stuff from bootstrap.css 2024-11-24 14:59:48 +02:00
Pēteris Caune
c4a018a2eb
Remove unused "speak: never;" from icomoon.css 2024-11-24 14:59:17 +02:00
Pēteris Caune
0f2168a5a5
Remove unused CSS 2024-11-24 14:58:46 +02:00
Pēteris Caune
9c4e5eb99f
Remove unused CSS rule (for styling HipChat icons) 2024-11-24 14:38:50 +02:00
Pēteris Caune
964a4f264e
Remove unused icons and fix "Glyph bbox was incorrect" FF warnings
The "Glyph bbox was incorrect" is a Firefox warning about
incorrect bounding box values in the font. The icon font, including
the incorrect bounding box values is generatedby icomoon.
I ran the TTF file through fontsquirrel and that seems to have
fixed the issue.

More about this warning: https://bugzilla.mozilla.org/show_bug.cgi?id=1847959
2024-11-22 17:08:36 +02:00
Pēteris Caune
3d6fe5a423
Change the clippy icon's size from 14px to 16px
It is designed to look crisp at 16px
2024-11-22 17:05:39 +02:00
Pēteris Caune
35b6b94a1d
Remove ic-started from CSS (unused) 2024-11-22 17:04:51 +02:00
Pēteris Caune
534d6973c4
Reduce the generated HTML size of the checks table
... by removing class="indicator-cell" and using
:first-child in CSS to target it instead.
2024-11-22 14:21:48 +02:00
Pēteris Caune
62b10be5fe
Implement "no matching checks" message when searching/filtering
(instead of showing a table with a header row and no data rows)
2024-11-15 12:11:18 +02:00
Pēteris Caune
c51096e17e
Fix dropdown button background in dark mode 2024-11-14 14:50:35 +02:00
Pēteris Caune
5184249abe
Move status matching logic to a separate function 2024-11-14 14:18:39 +02:00
Pēteris Caune
7c8d43414f
Implement filtering by status on the server side 2024-11-14 12:27:31 +02:00
Pēteris Caune
7abcd4adbe
Fix JS to run applyFilters only when statuses have changed 2024-11-14 11:57:30 +02:00
Pēteris Caune
9ce8249123
Move "Add Check" button to the top, implement filtering by status 2024-11-14 11:51:37 +02:00
Pēteris Caune
7719cc4c28
Reformat 2024-11-14 11:45:11 +02:00
Pēteris Caune
0a4412a493
Fix js to enable "pause" button when a check is paused but started 2024-10-23 14:32:06 +03:00
Pēteris Caune
b42ca36b8c
Fix triple-click selection of ping URLs
When user double-clicks on text, browser selects a single word.
When user triple-clicks, browser selects a line or a paragraph
of text.

We have JS code that enables user to click on ping URL to copy
it to the clipboard. After copying it shows a small non-native
tooltip saying "Copied!" above the ping URL. This was interfering
with triple-click selection, the word "Copied!" would get selected
as well.

The fix is to use document body as the container of the tooltip,
not the ping URL span (which is the default).
2024-10-15 15:00:11 +03:00
Pēteris Caune
b886c93cb7
Make slider labels clickable in the "Update Period & Grace" dialog
Fixes: #1039
2024-10-11 13:37:29 +03:00
Pēteris Caune
d77b96a40f
Update the uuid/slug switching links to not lose currently selected tags 2024-09-30 10:29:30 +03:00
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