Pēteris Caune
9e36eb5fcc
Remove the "welcome" landing page
Redirect unauthenticated users to the sign in page
instead. Rationale:
- The content on the welcome page is what often belongs
to a separate "marketing site". The marketing content
is of no use on self-hosted instances, which typically
have new signups disabled and are for internal use only
- (the real reason, let's be honest) a number of
self-hosted instances are accessible over the public
internet. Search engines index the nearly identical
landing pages and see them as duplicated content.
3 years ago
Pēteris Caune
dfc257ef22
Update hc.front.views.cron_preview to catch CronSimError explicitly
With a catch-all "except:" rule, we would swallow any unexpected
exceptions (ValueError, etc.) in cronsim. But we want to know
about them. cron_preview is a place where we can afford to crash, and generate a crash report.
3 years ago
Pēteris Caune
3f9f219a58
Remove hc.lib.cronsim, install it from PyPI
3 years ago
Pēteris Caune
141d71d9fe
Switch from croniter to cronsim (vendored in hc.lib.cronsim)
3 years ago
Pēteris Caune
b8771b9eb8
Add uuid/slug switcher in the Details page
3 years ago
Pēteris Caune
2adf4b6aee
Add "(not unique)" note next to ambiguous ping URLs
3 years ago
Pēteris Caune
9517035501
Fix N+1 queries issue in "My Checks" and clean up Check.url()
3 years ago
Pēteris Caune
5b9008e321
Implement alternative ping URLs, WIP
3 years ago
Pēteris Caune
3f078e6cda
Optimize HTML in the "list of checks" page
In a project with ~300 checks,
* HTML size (uncompressed) before: 772KiB
* HTML size (uncompressed) after: 703KiB
3 years ago
Pēteris Caune
8541ec59ca
Add ability to edit existing WhatsApp integrations
3 years ago
Pēteris Caune
5af09ed4dd
Add ability to edit existing Signal integrations
3 years ago
Pēteris Caune
3807c200ce
Add ability to edit existing SMS integrations
3 years ago
Pēteris Caune
c2e00f2105
Fix assign_all_checks() usage, add tests for it
3 years ago
Pēteris Caune
a27652d762
Combine the add_webhook and edit_webhook views
3 years ago
Pēteris Caune
2a9a544ddf
Add ability to edit existing email integrations
3 years ago
Pēteris Caune
936a5213f8
Switch from Member.rw to Member.role as the source of truth
3 years ago
Pēteris Caune
b75b062559
Remove unsigned token support in hc.front.views.unsubscribe_email
3 years ago
Pēteris Caune
2d20f439dd
Remove PagerDuty Connect
PagerDuty Connect is deprecated and will be discontinued.
It is replaced by PagerDuty Simple Install Flow (see
README for setup instructions).
3 years ago
Pēteris Caune
fd7ab5e767
Implement PagerDuty Simple Install Flow
3 years ago
Pēteris Caune
855d188981
Add support for "... is UP" SMS notifications
Fixes : #512
4 years ago
Pēteris Caune
6c8b6a2a19
Remove functools.cached_property usage
Cannot use functools.cached_property, as it was added in Py 3.8,
but we support 3.6+
4 years ago
Pēteris Caune
738a648407
Improve project sorting in the "My Projects" page
Primary sort key: projects with overall_status=down go first
Secondary sort key: project's name
4 years ago
Pēteris Caune
05db43f95d
Fix the pause action to clear Profile.next_nag_date if all checks up
4 years ago
Pēteris Caune
5321f772fe
Add a link to check's details page in Slack notifications
Fixes : #486
4 years ago
Pēteris Caune
2a63d24812
Add a "Subject" field in the "Ping Details" dialog
4 years ago
Pēteris Caune
1bc89f0d5d
Implement email body decoding in the "Ping Details" dialog
4 years ago
Pēteris Caune
44a677f327
Fix hc.api.views.notification_status to always return 200
If the notification does not exist, or is more than a hour
old, return HTTP 200 (instead of 400 or 404) so the other
party doesn't retry over and over again.
4 years ago
Pēteris Caune
1e84cac37d
Relax cron expression validation
Accept all expressions that croniter accepts.
If cron-descriptor throws an exception, don't show the
description to the user.
4 years ago
Pēteris Caune
65ace8238a
Add the ZULIP_ENABLED setting
4 years ago
Pēteris Caune
e2c90c05b8
Add the VICTOROPS_ENABLED setting
4 years ago
Pēteris Caune
8811640d45
Add the SPIKE_ENABLED setting
4 years ago
Pēteris Caune
725be65bdd
Add the PROMETHEUS_ENABLED setting
4 years ago
Pēteris Caune
419d96da7a
Add the PAGERTREE_ENABLED setting
4 years ago
Pēteris Caune
28150e85fa
Add the PD_ENABLED setting
4 years ago
Pēteris Caune
8d5890d883
Add the OPSGENIE_ENABLED setting, rename OpsGenie -> Opsgenie
4 years ago
Pēteris Caune
5f31b8b873
Add the MSTEAMS_ENABLED setting
4 years ago
Pēteris Caune
6c3debaf11
Add the MATTERMOST_ENABLED setting
4 years ago
Pēteris Caune
52435a9a0c
Add the SLACK_ENABLED setting
4 years ago
Pēteris Caune
67ff8a9bee
Add the WEBHOOKS_ENABLED setting
4 years ago
Pēteris Caune
ae976a38b6
Fix a crash when adding an integration for an empty Trello account
4 years ago
Pēteris Caune
b7c769fc0e
Add a section in Docs about running self-hosted instances
Fixes : #467
4 years ago
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.
4 years ago
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.
4 years ago
Pēteris Caune
cd99af14ba
Add Signal integration
Fixes : #428
4 years ago
Pēteris Caune
8fe8e0f605
Update alert email template: more information, less styling
Fixes : #348
4 years ago
Pēteris Caune
0f1abd3498
Add tighter parameter checks in hc.front.views.serve_doc
4 years ago
Pēteris Caune
5d650f07fb
Fix db field overflow when copying a check with a long name
4 years ago
Pēteris Caune
524d1a7375
Implement badge mode (up/down vs up/late/down) selector
Fixes #282
4 years ago
Pēteris Caune
bd98174d4c
Fix missing Resume button. Fixes #421
4 years ago
Pēteris Caune
ad720af242
Rename "hc-p-channels" to "hc-channels"
4 years ago