95 Commits

Author SHA1 Message Date
Pēteris Caune
8d5890d883
Add the OPSGENIE_ENABLED setting, rename OpsGenie -> Opsgenie 2021-01-29 13:47:13 +02:00
Pēteris Caune
5f31b8b873
Add the MSTEAMS_ENABLED setting 2021-01-29 13:20:44 +02:00
Pēteris Caune
6c3debaf11
Add the MATTERMOST_ENABLED setting 2021-01-29 12:36:47 +02:00
Pēteris Caune
52435a9a0c
Add the SLACK_ENABLED setting 2021-01-29 11:59:33 +02:00
Pēteris Caune
67ff8a9bee
Add the WEBHOOKS_ENABLED setting 2021-01-29 11:16:11 +02:00
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
601d8fac94
Remove the warning about a missing local_settings.py 2021-01-21 17:32:25 +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
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
cd99af14ba
Add Signal integration
Fixes: #428
2021-01-09 11:58:18 +02:00
Shea Polansky
54a95a0ee2
Add http header auth (#457)
* Add HTTP header authentiation backend/middleware

* Add docs for remote header auth

* Improve docs on external auth

* Add warning for unknown  REMOTE_USER_HEADER_TYPE

* Move active check for header auth to middleware
Add extra header type sanity check to the backend

* Add test cases for remote header login

* Improve header-based authentication

- remove the 'ID' mode
- add CustomHeaderBackend to AUTHENTICATION_BACKENDS conditionally
- rewrite CustomHeaderBackend and CustomHeaderMiddleware to
use less inherited code
- add more test cases

Co-authored-by: Pēteris Caune <cuu508@gmail.com>
2020-12-09 11:25:56 +02:00
Pēteris Caune
8dbf9e02af
Fix capitalization, Webauthn -> WebAuthn 2020-11-19 13:01:26 +02:00
Pēteris Caune
7124383a53
Add checks for RP_ID, add a 2FA section in README 2020-11-19 12:54:00 +02:00
Pēteris Caune
839c309cf7
Refactor for testability, add more test cases 2020-11-16 12:52:26 +02:00
Pēteris Caune
cdd2e98bd0
Remove USE_I18N and USE_L10N from settings
They have the default values and so are redundant.
2020-11-06 18:51:30 +02:00
Pēteris Caune
4f53325730
THe LINE Notify integration uses OAuth2 flow. 2020-09-01 11:37:54 +03:00
Pēteris Caune
b2a1c0d343
Set USE_L10N to False until we've fixed issues caused by decimal comma formatting in templates. Fixes #416 2020-08-26 16:15:29 +03:00
carson.wang
74668551a7
Add tests & Doesn't get LineNotify token using setting 2020-08-20 10:42:04 +03:00
carson.wang
65b65188d1
Test LineNotify integration with healthcheck 2020-08-20 10:42:00 +03:00
Pēteris Caune
fd14e0e03b
Experimental L10N support in base and welcome templates. cc: #404 2020-07-21 22:57:40 +03:00
Pēteris Caune
519a666057
{% site_name %} -> {{ site_name }} so we can use blocktrans tags for L10N 2020-07-21 17:59:39 +03:00
Pēteris Caune
edbfd4b437
Added /api/v1/metrics/ endpoint, useful for monitoring the service itself 2020-04-26 17:45:50 +03:00
Pēteris Caune
58a118c494
Make Ping.body size limit configurable. Fixes #301 2020-01-17 12:44:39 +02:00
Pēteris Caune
012ad88bb3
createsuperuser management command requires an unique email address (#318) 2020-01-07 11:46:50 +02:00
Pēteris Caune
830681d8f8
Specify encoding when reading CHANGELOG.md. Fixes #314 2019-12-19 09:59:10 +02:00
Pēteris Caune
2a8e7ee766
Django 3.0 2019-12-11 13:05:25 +02:00
Pēteris Caune
838aee6bdd
Show Healthchecks version in Django admin header cc: #306 2019-12-03 17:41:58 +02:00
Pēteris Caune
8d81ea8f9d
Add "Shell Commands" integration. Fixes #302 2019-11-20 16:00:53 +02:00
Chris Caron
b5a03369b6 Apprise Notifications are now a controlled via settings 2019-08-08 20:28:54 -04:00
Chris Caron
c2b1d00422 Apprise Integration 2019-08-07 19:36:06 -04:00
Pēteris Caune
4867fab291
Not using I18N so turning it off. 2019-06-21 13:12:05 +03:00
Pēteris Caune
40f4adf78b
Add WhatsApp integration (uses Twilio same as the SMS integration) 2019-05-31 13:01:01 +03:00
Pēteris Caune
cdfc9840a7
Source formatted with Black 2019-05-15 14:27:50 +03:00
Pēteris Caune
7c13adbf18
Add the EMAIL_USE_VERIFICATION configuration setting. Fixes #232 2019-04-01 11:16:47 +03:00
Pēteris Caune
945a66ab0a
Management command for sending inactive account notifications 2019-03-13 00:38:34 +02:00
Timothée Oliger
a0a766b500
Improve environment variables support 2019-03-12 21:57:27 +01:00
Pēteris Caune
e294ae0e9b
Setup instructions for the Matrix integration. 2019-03-09 12:22:31 +02:00
Pēteris Caune
f539e99652
Matrix integration WIP. cc: #175 2019-02-22 18:23:36 +02:00
Pēteris Caune
3230cea1e3
Use DB_HOST, DB_PORT env variables for MySQL configuration. Fixes #220 2019-02-14 10:28:46 +02:00
Tim Freund
415ec58b95 Allow SMTP configuration via environment variables
This change allows SMTP configuration via email, but users can
still choose to configure the settings directly in local_settings.py
2019-02-01 14:40:24 -05:00
Pēteris Caune
b9a24a21e7
Remove the Zendesk integration (unfinished, could not get it to work acceptably) 2018-11-30 22:07:37 +02:00
Pēteris Caune
c4543bce58
Load settings from environment variables. Fixes #187 2018-10-22 17:25:58 +03:00
Pēteris Caune
e4d0103544
Trello integration WIP 2018-10-18 12:20:33 +03:00
Tobias Macey
0beb56e82a
Added deterministic handling of sqlite database location
When running the migration command from outside of the application directory the sqlite database is created in the current working directory at the time of the command being executed. This commit updates the file path to be relative to the location of the settings file.
2018-01-19 14:59:24 -05:00
Pēteris Caune
c4b316003d Replace healthchecks.io branding with generic branding. 2018-01-13 19:21:43 +02:00
Pēteris Caune
a869906fde Zendesk integration (experimental and hidden from Integrations page for now) 2017-12-29 22:53:09 +02:00
Pēteris Caune
1b7d4f6f3e Adding "Overall status" badge. 2017-11-10 21:52:27 +02:00
Pēteris Caune
96e00df0ab Use PagerDuty Connect. 2017-08-29 22:23:24 +03:00
Pēteris Caune
25fb11bb3e Alerts to SMS, work in progress. 2017-07-13 23:47:54 +03:00