Commit graph

3197 commits

Author SHA1 Message Date
Pēteris Caune
7bef951484
Fix oncalendar schedule display in admin 2023-12-12 12:51:13 +02:00
Pēteris Caune
d8888c033f
Upgrade to oncalendar 1.0 2023-12-11 14:59:31 +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
f33c296349
Fix checks list view to display oncalendar schedules 2023-12-07 16:07:45 +02:00
Pēteris Caune
52ec0bf4f1
Add a testcase for oncalendar syntax in hc.api.tests.check_test_model 2023-12-07 15:52:32 +02:00
Pēteris Caune
cadea5ab88
Add maxlength attributes 2023-12-07 15:46:46 +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
7ad01c4692
Fix labels and add a link to OnCalendar reference 2023-12-07 15:40:14 +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
964ec7a1d4
Update the API docs regarding OnCalendar schedules 2023-12-07 15:03:50 +02:00
Pēteris Caune
54b8092be9
Fix mypy warnings 2023-12-07 14:44:31 +02:00
Pēteris Caune
fc56cf2635
Add API support for OnCalendar schedules 2023-12-07 14:03:35 +02:00
Pēteris Caune
980520e3b2
Fix the validation of multi-line OnCalendar expressions 2023-12-06 16:50:59 +02:00
Pēteris Caune
fa7e37360f
Tweak the number of iterations in oncalendar preview 2023-12-06 16:34:48 +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
e9882879ed
Reduce repetition in test_cron_preview 2023-12-06 16:07:20 +02:00
Pēteris Caune
c1a3ae6f48
Rename CronExpressionValidator -> CronValidator 2023-12-06 16:05:50 +02:00
Pēteris Caune
1ab0e8e270
Enable type hint checking for the oncalendar package 2023-12-06 15:57:01 +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
5daa13a57f
Upgrade to Django 5.0 2023-12-06 11:19:57 +02:00
Pēteris Caune
7c0442cf5f
Update Django to 4.2.8 2023-12-04 11:02:20 +02:00
Pēteris Caune
c241ddb5e6
Update package versions 2023-11-30 10:24:18 +02:00
Pēteris Caune
0f62a8cd14
Update the Signal integration to disable channel on UNREGISTERED_FAILURE 2023-11-28 13:57:27 +02:00
Pēteris Caune
18e1a3d9e4
Update Pushover onboarding code to generate lowercase state values
Since recently, Pushover seems to return them converted
to lowercase, this is a workaround for that.
2023-11-27 14:52:19 +02:00
Pēteris Caune
b9df18728a
Improve error logging in hc.lib.s3._remove_objects 2023-11-24 10:11:31 +02:00
Pēteris Caune
9c8bb54f7f
Update Twilio integrations to not retry error 21211 2023-11-23 16:18:05 +02:00
Pēteris Caune
ccc7e103ba
Fix capitalization 2023-11-23 15:43:31 +02:00
Pēteris Caune
1b1899052c
Make payments_subscription.user_id not nullable 2023-11-22 10:17:01 +02:00
Pēteris Caune
fa25453734
Add migration for the Group integration 2023-11-22 10:16:27 +02:00
Pēteris Caune
8f28d26b0b
Remove Unpack from mypy.ini (now enabled by default) 2023-11-21 17:10:26 +02:00
Pēteris Caune
16a5f2fb98
Update pydantic to 2.5.2 2023-11-21 13:49:49 +02:00
Pēteris Caune
96823a7f90
Add logging for failed webauthn key registrations 2023-11-17 16:06:39 +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
7c8dbec62e
Fix webauthn registration failure on Firefox < 119 with Ed25519 keys 2023-11-15 15:58:32 +02:00
Pēteris Caune
2a2c7d66ec
Fix mypy warning 2023-11-15 10:22:22 +02:00
Pēteris Caune
cff4138774
Fix webauthn registration failure on Firefox with Bitwarden extension 2023-11-15 10:13:40 +02:00
Pēteris Caune
788d3fa661
Add extra logging for unexpected Twilio API responses 2023-11-14 14:56:21 +02:00
Pēteris Caune
e308aa473f
Update Slack transport to not log HTTP 400 "invalid_token" events
(But still log other HTTP 400 responses)
2023-11-14 10:10:30 +02:00
Pēteris Caune
64b97b2e06
Add error filter in Notification admin 2023-11-14 09:54:33 +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
6964d67dd7
Fix Pushover to not inspect HTTP 500 response bodies 2023-11-13 11:40:38 +02:00
Pēteris Caune
1b942a8e77
Update the Pushover integration to not retry on invalid user errors 2023-11-13 11:27:01 +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
49d6f3fe5b
Fix "Ping Details" dialog to handle email bodies not yet uploaded to S3 2023-11-10 12:49:10 +02:00
Pēteris Caune
c3b4100f3b
Add a management command to notify admins about new log records 2023-11-09 14:00:22 +02:00
Pēteris Caune
71f1a8d9a8
Update Slack integration to not retry when it hits 400 "invalid_token" 2023-11-09 12:52:25 +02:00