Pēteris Caune
45078e6566
Set the SECRET_KEY default value back to "---"
...
Previously, I had changed the default value to "", to force
users to set the SECRET_KEY value (the app refuses to start
if SECRET_KEY is empty).
The problem with that is, out of the box, with the default
configuration, the tests also don't run and complain about the
empty SECRET_KEY.
So, a compromise: revert back to the default value "---".
At runtime, if SECRET_KEY has the default value, show a warning
at the top of every page.
2021-01-28 15:38:14 +02:00
Pēteris Caune
dc39831aef
Reorder integrations in settings.py in A-Z order
2021-01-28 15:08:53 +02:00
Pēteris Caune
59ebcb963f
Remove the "Configuration" section, link to docs instead
2021-01-28 14:32:23 +02:00
Pēteris Caune
4e480cac57
Update instructions in docker/README.md
2021-01-28 14:18:06 +02:00
Pēteris Caune
c2bb4b31b5
Add rate limiting for Pushover notifications
2021-01-28 14:07:39 +02:00
Pēteris Caune
ae976a38b6
Fix a crash when adding an integration for an empty Trello account
2021-01-28 12:57:08 +02:00
Pēteris Caune
b9997137a6
Bump croniter version to 1.0.2
2021-01-27 09:46:33 +02:00
Pēteris Caune
98b1e13aa1
Update the Docker Compose sample to use an .env file
2021-01-26 14:00:54 +02:00
Pēteris Caune
168f8b0bc6
Fix alphabetic order
2021-01-26 14:00:23 +02:00
msansen1
5ee0ef6381
Adding french and gitignore file
...
revert gitignore file
fix remove a space
fix french locale
Add .mo for the French translations
2021-01-26 11:30:26 +02:00
Pēteris Caune
1419da460e
Add id attributes to headings in the "Server Configuration" page
2021-01-23 14:30:38 +02:00
Pēteris Caune
35e6d41793
Add README
2021-01-21 17:43:28 +02:00
Pēteris Caune
a763fa1de3
Fix DEFAULT_FROM_EMAIL
2021-01-21 17:36:11 +02:00
Pēteris Caune
98439623c5
Add experimental Dockerfile and docker-compose.yml
2021-01-21 17:32:58 +02:00
Pēteris Caune
601d8fac94
Remove the warning about a missing local_settings.py
2021-01-21 17:32:25 +02:00
Pēteris Caune
376d80afd4
Add more content from README
2021-01-21 13:57:55 +02:00
Pēteris Caune
7e6afba8bd
Fix CI: set SECRET_KEY
2021-01-21 11:38:52 +02:00
Pēteris Caune
b7c769fc0e
Add a section in Docs about running self-hosted instances
...
Fixes : #467
2021-01-21 11:35:09 +02:00
Pēteris Caune
fbefcbc0ed
Update apprise tests to skip if apprise is not installed
2021-01-19 13:57:55 +02:00
Pēteris Caune
94abe0fbb5
Update intro and dev setup steps in README
2021-01-19 13:19:46 +02:00
Shea Polansky
5540fc2c6d
Update README.txt to include more dev setup steps
2021-01-19 12:36:08 +02:00
Pēteris Caune
d45dc2f6a3
Change Zulip onboarding, ask for the zuliprc file
...
Fixes : #202
2021-01-19 11:04:38 +02:00
Pēteris Caune
9a0888aacd
Update sendalerts to log per-notification send times
...
To send notifications, sendalerts calls Flip.send_alerts().
I updated Flip.send_alerts() to be a generator, and to yield
a (channel, error, send_time_in_seconds) triple per sent
notification.
2021-01-15 15:15:00 +02:00
Pēteris Caune
3b6afae140
Specify timeout in the DBus calls
2021-01-14 09:59:06 +02:00
Pēteris Caune
1e46cd6e93
Tweak coveralls configuration
...
coveralls.io is throwing 422 and breaking CI,
this may or may not help.
Related: https://github.com/TheKevJames/coveralls-python/issues/252
2021-01-13 15:43:18 +02:00
Pēteris Caune
d7c7ae6531
Fix tests
2021-01-13 12:13:14 +02:00
Pēteris Caune
ce7e32ac03
Fix tests
2021-01-13 11:57:19 +02:00
Pēteris Caune
74ed15e0aa
Update the signal integration to use DBus
...
The initial implementation was just calling signal-cli directly
using `subprocess.run`.
Going with DBus makes it easier to shield signal-cli from the
rest of the system. It also makes sure the signal-cli daemon is
running in the background and receiving messages. This is important
when a recipient does the "Reset secure connection" from the app. We
must receive their new keys, otherwise our future messages will
appear as "bad encrypted message" for them.
2021-01-13 11:52:42 +02:00
Pēteris Caune
a80b831eea
Add rate-limiting for Signal messages
2021-01-11 15:07:34 +02:00
Pēteris Caune
d4aac691ce
Increase the timeout for sending Signal messages
2021-01-11 12:56:53 +02:00
Pēteris Caune
ee37d305ef
Tighten Telegram rate limit to 6 messages / minute
...
With the previous 10 minutes / minute limit we were still hitting
Telegram API rate limit (the 429, "Too Many Requests" response)
from time to time.
Therefore, tighten the limit a bit on our side.
2021-01-11 10:54:46 +02:00
Pēteris Caune
f607ee67d5
Allow searching in the error field in Notifications admin
2021-01-11 10:08:36 +02:00
Pēteris Caune
0aeef7d06e
Fix unwanted HTML escaping in SMS and WhatsApp notifications
2021-01-10 18:29:38 +02:00
Pēteris Caune
55a22e5043
Split AddSmsForm into PhoneNumberForm and PhoneUpDownForm
...
The PhoneNumberForm is used in "Add SMS" and "Add Phone Call" pages.
The PhoneUpDownForm is a subclass of PhoneNumberForm and
adds "up" and "down" boolean fields. It is used in "Add Signal"
and "Add WhatsApp" pages.
2021-01-10 15:52:33 +02:00
Pēteris Caune
847a610af9
Sort hc-add-* routes
2021-01-09 16:52:48 +02:00
Pēteris Caune
cd99af14ba
Add Signal integration
...
Fixes : #428
2021-01-09 11:58:18 +02:00
Pēteris Caune
959df1ffaa
Upgrade Django to 3.1.5
2021-01-04 11:02:19 +02:00
Pēteris Caune
17a404f04b
Fix email template to always show the current year in the footer
2021-01-01 22:43:00 +02:00
Pēteris Caune
599f35e4f0
Improve the crontab snippet in the "Check Details" page
...
Fixes : #465
2020-12-30 13:49:33 +02:00
Pēteris Caune
bf3df906f7
Tweak email CSS for nicer display in dark mode
2020-12-29 17:50:26 +02:00
Pēteris Caune
54081208c5
Add doctype declaration in the alert email template
...
Need it to escape quirks mode in email clients.
2020-12-29 16:08:23 +02:00
Pēteris Caune
efc44fd47c
Update report template to use same font size for all check names
...
Fixes : #347
2020-12-29 15:14:37 +02:00
Pēteris Caune
ca3d1d3a3b
Add the "Last Ping Type" field in the email notification template
2020-12-28 17:34:58 +02:00
Pēteris Caune
26a7918b5b
Bump pytz version 2020.1 -> 2020.5
2020-12-28 14:23:48 +02:00
Pēteris Caune
02b5ec3657
Rename "Signalling Failures" -> "Signaling Failures"
2020-12-28 14:12:07 +02:00
Pēteris Caune
70519fcd89
Fix spelling, grammar, style mistakes
2020-12-28 14:06:54 +02:00
Pēteris Caune
8fa0d04830
Exclude Bootstrap's popovers
...
Not using them anywhere on the site currently, so commented them out
in bootstrap.less and regenerated bootstrap.css.
2020-12-28 12:34:02 +02:00
Tim Gates
1f641962d2
docs: fix simple typo, libary -> library ( #464 )
...
Fix simple typo in docs, libary -> library
There is a small typo in templates/docs/python.md.
Should read `library` rather than `libary`.
2020-12-28 12:30:58 +02:00
Pēteris Caune
ce0f84a112
Fix styling
2020-12-26 18:19:55 +02:00
Pēteris Caune
8fe8e0f605
Update alert email template: more information, less styling
...
Fixes : #348
2020-12-26 18:11:36 +02:00