23 Commits

Author SHA1 Message Date
Pēteris Caune
936a5213f8
Switch from Member.rw to Member.role as the source of truth 2021-07-22 17:16:52 +03:00
Pēteris Caune
67560c96e1
Change icon CSS class prefix to work around Fanboy's filter list
Problem: if you use uBlock Origin, and enable the
"Fanboy's Social" filter list, Healthchecks does not show
Telegram or WhatsApp icons. This is because the filter list
contains "##.icon-telegram" and "##.icon-whatsapp" entries.

This commit changes the CSS class prefix to "ic-". So we're
now using icon classes like "ic-telegram" and "ic-whatsapp".

As a bonus, we save 2 bytes in HTML per displayed icon :-)
2021-02-03 10:44:35 +02:00
Pēteris Caune
155a1f132b
Simplify super() calls in tests 2020-11-16 11:20:01 +02:00
Pēteris Caune
11d8e6197c
Read-only users cannot add checks.
Read-only users cannot pause checks.
2020-08-26 12:29:03 +03:00
Pēteris Caune
157711bc95
Reduce usage of Profile.current_project cc: #336 2020-02-26 10:56:17 +02:00
Pēteris Caune
f74860bc0c
Add Profile.last_active_date field for more accurate inactive user detection 2019-11-19 16:29:38 +02:00
Pēteris Caune
cdfc9840a7
Source formatted with Black 2019-05-15 14:27:50 +03:00
Pēteris Caune
6b0d566922
"My Projects" page. 2019-01-29 10:59:10 +02:00
Pēteris Caune
0994006603
Drop Check.user_id and Channel.user_id (obsolete, using project_id now) 2019-01-18 17:24:02 +02:00
Pēteris Caune
965998df18
Fix tests. 2019-01-14 11:28:10 +02:00
Pēteris Caune
93405cc286
Tag labels in "My Checks" page and SVG badges should ignore the "started" state. 2018-12-20 19:19:46 +02:00
Pēteris Caune
dd5a690b99
"My Checks" page uses the same markup for desktop and mobile. 2018-06-11 17:25:51 +03:00
Pēteris Caune
ba6995198b Fix tests, lazy-load user's teams. 2018-02-26 12:49:25 +02:00
Pēteris Caune
fc8d9ffe48 Checks can be sorted by name or last ping. Fixes #136 2017-09-12 17:32:53 +03:00
Pēteris Caune
859a9ed735 Pricing page tweaks. Limit free accounts to 20 checks per account. 2017-05-07 16:58:44 +03:00
Pēteris Caune
c8bcb23fd6 Material icons. 2016-08-29 16:45:47 +03:00
Pēteris Caune
1f70f56819 Check model gets "in_grace_period" method. It replaces the transient "grace" status. Also, remove references of the obsolete "paused" status. 2016-06-20 20:35:02 +03:00
Pēteris Caune
feb2294a7e Tests for team access. 2016-05-09 17:29:41 +03:00
Di Wu
fe72792fd2 use basetestcase for most test cases that require predefined user, add test for ensuretriggers, add travis cache 2016-01-18 01:02:42 -08:00
Di Wu
79b7327c9e fix tests and optimize authentication and fix some unclosed markup 2016-01-04 23:47:32 -05:00
Pēteris Caune
1dacc8b797 Users can add passwords to their accounts. Fixes #6 2016-01-05 00:25:08 +02:00
Pēteris Caune
947f686c61 Organize imports using isort. 2015-11-02 23:55:33 +02:00
Pēteris Caune
cee2b52d3e More tests. 2015-08-18 21:17:13 +03:00