Pēteris Caune
6f5a22fd98
Improve up/down flag validation
In SMS, Signal and WhatsApp forms, reject the form if
user unchecks both "alert when check goes DOWN" and
"alert when check goes UP".
3 years ago
Pēteris Caune
3807c200ce
Add ability to edit existing SMS 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
855d188981
Add support for "... is UP" SMS notifications
Fixes : #512
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
155a1f132b
Simplify super() calls in tests
4 years ago
Pēteris Caune
f7e004b2ea
Improve phone number sanitization: remove spaces and hyphens
4 years ago
Pēteris Caune
a37e83aca8
Update AddSmsForm to remove any invisible unicode characers
4 years ago
Pēteris Caune
bdf99e0ea7
The "Add Integration" pages require read-write access.
4 years ago
Pēteris Caune
2ed9a8fd30
Rename Channel.sms_number property to Channel.phone_number. It is now used for SMS, WhatsApp and phone call notifications, so "sms_number" is not accurate any more.
4 years ago
Pēteris Caune
250935006d
Project code in URL for the "Add SMS" page. cc: #336
5 years ago
Pēteris Caune
1c69cf7f89
Project model. cc: #183
6 years ago
Pēteris Caune
21de50d84e
Add Channel.name field, users can now name integrations.
6 years ago
Pēteris Caune
cf6882edd3
SMS numbers can be annotated with labels. Fixes #155
7 years ago
Pēteris Caune
1232328aa9
Fix tests.
7 years ago
Pēteris Caune
5f2da08d7e
Per-profile, per-month counters of sent SMS messages.
7 years ago
Pēteris Caune
25fb11bb3e
Alerts to SMS, work in progress.
7 years ago