Pēteris Caune
f33c296349
Fix checks list view to display oncalendar schedules
2023-12-07 16:07:45 +02:00
Pēteris Caune
cadea5ab88
Add maxlength attributes
2023-12-07 15:46:46 +02:00
Pēteris Caune
7ad01c4692
Fix labels and add a link to OnCalendar reference
2023-12-07 15:40:14 +02:00
Pēteris Caune
964ec7a1d4
Update the API docs regarding OnCalendar schedules
2023-12-07 15:03:50 +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
82e5c60ffa
Update timezone selectors to recognize "oncalendar" schedules
2023-12-06 16:32:39 +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
Pēteris Caune
decd1d4b87
Improve TOTP auto-submit code
...
* Listen to "input" event only, don't need "keyup"
* Add form double-submit protection
* Rewrite in plain JS (the page no longer loads jQuery)
2023-11-17 11:00:41 +02:00
Pēteris Caune
daad54aea9
Disable autosubmit in TOTP form as it causes issues in Vivaldi
2023-11-17 10:03:20 +02:00
Pēteris Caune
ee62dc174c
Implement audo-submit in TOTP entry screen. Fixes #905
2023-11-13 15:20:23 +02:00
Pēteris Caune
336e71e52f
Update Matrix onboarding instructions
2023-11-13 13:03:36 +02:00
Pēteris Caune
4a3a6f2b03
Improve Pushover notifications (include tags, period, last ping type)
2023-11-13 10:29:03 +02:00
Pēteris Caune
d7a2e24ccf
Replace "Slack integration" with "{site_name} integration for Slack"
2023-11-03 09:07:58 +02:00
Pēteris Caune
cdac9b3128
Switch to using Pydantic for parsing Trello configuration
2023-10-26 11:57:49 +03:00
Pēteris Caune
dea66b85af
Switch to using Pydantic for parsing ntfy configuration
...
Also, fix a bug in the "Edit ntfy integration" form,
where the token was not filled in the form on page load.
2023-10-26 10:32:41 +03:00
Pēteris Caune
bff59c92ed
Improve API error handling in hc.front.views.trello_settings
2023-10-25 14:20:51 +03:00
Pēteris Caune
4d0ec64da8
Update Signal integration to use Ping.get_kind_display()
2023-10-23 11:47:17 +03:00
Pēteris Caune
6110b10c3c
Update Telegram integration to use Ping.get_kind_display()
2023-10-23 11:43:07 +03:00
Pēteris Caune
c9540f8ddd
Update email integration to use Ping.get_kind_display()
2023-10-23 11:39:37 +03:00
Pēteris Caune
6c7f5881a7
Update ntfy integration to use Ping.get_kind_display()
2023-10-23 11:37:18 +03:00
Pēteris Caune
60630c1dee
Fix special character escaping in ntfy notifications
2023-10-23 11:22:14 +03:00
Pēteris Caune
7900eb55b8
Remove a few more files that I missed
2023-10-19 14:58:39 +03:00
Pēteris Caune
a9c7dbc397
Remove billing.html which I meant to remove before but missed
2023-10-19 14:44:17 +03:00
Pēteris Caune
a308997b3a
Remove most of the hc.payments stuff
...
Why remove:
* For self-hosters, payment-related features are unused and dead weight
* For SaaS (any would-be Healthchecks.io competitors), the existing
payment handling logic is not very useful either, as it would need to
be heavily modified to match their business model, pricing, chosen
payment gateway
* For the hosted service (Healthchecks.io), the up-to-date billing code
lives in a private fork of this repo. Maintenance is easier if this
repo does not have an older, diverging version of the same
functionality
A few payment-related bits are staying at least for time being:
* the "USE_PAYMENTS" setting
* the hc.payments.models.Subscription model
* tiny stubs for the "Pricing" and "Billing" pages
They are used in various places in the code and templates,
and I think ripping them out in one go would be too disruptive.
2023-10-19 14:17:44 +03:00
Pēteris Caune
c22c8a0a76
Improve markdown markup
2023-10-18 09:17:31 +03:00
Pēteris Caune
e4f233ba30
Sync templates/docs/self_hosted_docker.md and docker/README.md
2023-10-18 09:00:38 +03:00
Pēteris Caune
c123e4d3a9
Add note about SMTPD_PORT in docs
...
cc: #791
2023-10-18 08:39:22 +03:00
Pēteris Caune
3d5850d2da
Improve type hints, use pydantic for parsing Zulip configurations
2023-10-17 16:58:57 +03:00
Pēteris Caune
d8ff82bbf1
Improve the event summary for group notifications
2023-10-12 15:05:40 +03:00
Pēteris Caune
37caa94ff5
Improve channel rendering in the group form
...
* Use the custom-styled checkbox
* Use PNG instead of icon font for channel kind logos
* Show channel's description the same way as in the channels list
(using a reusable template, templates/front/channel_description.html)
2023-10-12 14:37:00 +03:00
Pēteris Caune
2276fcff60
Rename my_checks -> checks; my_checks_desktop -> checks_table
2023-10-12 11:48:42 +03:00
Pēteris Caune
4fc6ff5c26
Tweak CSS in the group form, make sure channel's name is preloaded
2023-10-06 17:06:41 +03:00
Florian Apolloner
7057f6d3a5
Notification groups. Fixes #894 ( #901 )
...
* MVP for notification groups.
* Addressed review comments.
* Push notification group to the front.
* Updated icons.
* Reduce code duplication.
* Show groups at the top.
* Add label to group forms.
* Add checkboxes for integration selection.
* CSS for checkboxes.
* Added tests for group notify.
2023-10-06 17:02:41 +03:00
Pēteris Caune
8fb7d16864
Improve type hints, simplify pagination in Ping admin
...
Pagination, filtering, and result counting in Ping admin is tricky
as the pings table can contain millions of rows.
We previously used "select reltuples from pg_class" trick to
estimate the total number of rows. This only works on Postgres,
and does not handle WHERE filters.
This commit removes the search box, and changes the pagination
template to allow pagination between pages 1-9 and nothing more.
2023-10-04 16:00:41 +03:00
Pēteris Caune
2a0ae809a7
Add DowntimeRecord.no_data field
2023-09-27 17:43:18 +03:00
Pēteris Caune
f7af738c76
Add monthly uptime percentage display in Check Details page
...
Fixes : #773
2023-09-27 13:44:35 +03:00
Pēteris Caune
46dbaff2c3
Update Check.downtimes() to return records in descending datetime order
...
This way we can avoid one sort operation in Check.downtimes()
and one reverse operation in the "details_downtimes.html" template.
2023-09-27 10:42:05 +03:00
Pēteris Caune
f0085933c3
Update Check.downtimes() to return a list of namedtuples
...
This way it should be easier to add extra fields like uptime
to the returned data structure.
2023-09-27 10:18:52 +03:00
Pēteris Caune
dcf9f327f6
Add Channel.email property
...
It replaces:
* Channel.email_value
* Channel.email_notify_up
* Channel.email_notify_down
2023-09-11 11:45:25 +03:00
Pēteris Caune
cf4498eca2
Add Channel.phone property
...
It has typed fields: value, notify_up, notify_down.
It replaces:
* Channel.phone_number
* Channel.sms_notify_up
* Channel.sms_notify_down
* Channel.whatsapp_notify_up
* Channel.whatsapp_notify_down
* Channel.signal_notify_up
* Channel.signal_notify_down
2023-09-09 11:09:52 +03:00
Pēteris Caune
f1d1ccd281
Add Channel.shell and Channel.pd properties
2023-09-08 16:33:12 +03:00
Pēteris Caune
e17f555fb1
Replace Channel.telegram_* properties with a Channel.telegram property
...
The Channel.telegram property has typed fields:
id, thread_id, type, name.
Usage sites change from `channel.telegram_id` to `channel.telegram.id`
2023-09-08 16:02:26 +03:00
Pēteris Caune
3c19d51836
Drop Python 3.8 and Python 3.9 support
2023-09-06 10:31:13 +03:00
Pēteris Caune
8472bd5d1e
Update Channel.webhook_spec to return an object instead of a dict
...
This simplifies type annotations, as object's fields
can be type-annotated easily, and JSON->object parsing can be handled
by Pydantic.
2023-09-03 16:20:22 +03:00
Pēteris Caune
26725b9f4e
Add an "Account closed." confirmation message after closing an account
2023-08-24 09:07:41 +03:00
Pēteris Caune
42edc0c308
Improve wording in the email report footer
2023-08-23 15:41:14 +03:00
Pēteris Caune
bc192df0b3
Improve ntfy notifications (include tags, period, last ping type etc.)
2023-08-23 15:32:06 +03:00
Pēteris Caune
bbb06ff358
Add support for ntfy access tokens
...
Fixes : #879
2023-08-23 14:52:50 +03:00
Pēteris Caune
d57ea3309a
Split report and reminder (nag) templates
2023-08-23 11:20:50 +03:00