Commit graph

1885 commits

Author SHA1 Message Date
Pēteris Caune
64158c83a8
front.views.status uses project_id not user.username 2019-01-22 14:17:59 +02:00
Pēteris Caune
7ecd0b606d
Quicker prunenotifications, skip checks with low n_pings values. 2019-01-22 11:09:41 +02:00
Pēteris Caune
a144bc762d
Fix the team member list in Account Settings > Team Access 2019-01-22 10:53:44 +02:00
Pēteris Caune
d52d292889
Remove Member.team_id (use Member.project_id instead) 2019-01-22 10:36:41 +02:00
Pēteris Caune
70e467fb71
Use a subquery in Profile.checks_from_all_projects, saves one query 2019-01-21 22:00:45 +02:00
Pēteris Caune
d403260e9b
Preload Profile.current_project, saves one query per request. 2019-01-21 21:59:50 +02:00
Pēteris Caune
3c1964b493
Prepare for the removal of Member.team_id 2019-01-21 21:35:32 +02:00
Pēteris Caune
c42a854e75
Fix project names in the top navigation dropdown menu, avoid duplicates. 2019-01-19 19:08:06 +02:00
Pēteris Caune
e98bd42438
Fix project names in the top navigation dropdown menu. 2019-01-19 18:51:29 +02:00
Pēteris Caune
664aad916a
Remove Profile.team_name (use Project.name instead) and Profile.current_team (use Profile.current_project instead) 2019-01-19 17:56:16 +02:00
Pēteris Caune
77e3212956
Prepare for the removal of Profile.current_team_id 2019-01-19 17:24:54 +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
512c67a8f9
Fix Trello testcase. 2019-01-18 16:57:49 +02:00
Pēteris Caune
95dff3e799
Fix add_trello: set the Channel.project field. 2019-01-18 16:50:47 +02:00
Pēteris Caune
caf6668478
Prepare for the removal of Check.user_id and Channel.user_id 2019-01-18 16:44:09 +02:00
Pēteris Caune
e1b999e83a
Prepare for the removal of Check.user_id 2019-01-18 14:59:01 +02:00
Pēteris Caune
654516412e
Don't show Profile.api_key in admin. 2019-01-17 16:34:31 +02:00
Pēteris Caune
c08f02ab7f
Drop Profile.api_key and Profile.api_key_readonly (both are stored with Project now) 2019-01-17 16:26:45 +02:00
Pēteris Caune
c16e9dc4fe
Prepare for the removal of Profile.api_key 2019-01-17 16:02:57 +02:00
Pēteris Caune
fc18652afa
Remove a hchk.io reference from docs. 2019-01-17 15:42:23 +02:00
Pēteris Caune
e2d2665edf
Prepare for the removal of Check.user_id 2019-01-15 21:36:01 +02:00
Pēteris Caune
fba8806e97
Prepare for the removal of Member.team_id 2019-01-14 22:33:28 +02:00
Pēteris Caune
f357cd3305
Prepare for removing Check.user_id, Channel.user_id, Profile.current_team_id 2019-01-14 21:13:57 +02:00
Pēteris Caune
82b644ae0a
Project.num_checks_available() method. 2019-01-14 12:55:54 +02:00
Pēteris Caune
16bff94fab
Use BaseTestCase in test_login, less repetition 2019-01-14 12:54:42 +02:00
Pēteris Caune
965998df18
Fix tests. 2019-01-14 11:28:10 +02:00
Pēteris Caune
34e54cca42
project_id must be not null. 2019-01-14 11:00:14 +02:00
Pēteris Caune
46c00e31a6
Use Project.badge_key in api.views.badge 2019-01-12 22:28:23 +02:00
Pēteris Caune
b5df5b3c6e
Project.badge_key must be not null and unique. 2019-01-12 22:08:43 +02:00
Pēteris Caune
d102f10a2d
Add Project.badge_key so we can preserve the current badge URLs 2019-01-12 21:56:56 +02:00
Pēteris Caune
6b7f212c8a
Use the api keys from project, not user profile 2019-01-12 21:34:45 +02:00
Pēteris Caune
1c69cf7f89
Project model. cc: #183 2019-01-12 16:40:21 +02:00
Pēteris Caune
5edcd42033
Add the "Email Settings..." dialog and the "Subject Must Contain" setting 2019-01-04 16:07:11 +02:00
Pēteris Caune
4f2930bb05
Remove Ping.start and Ping.fail fields 2019-01-04 13:25:58 +02:00
Pēteris Caune
20df5843e3
Don't update Ping.start and Ping.fail fields (use Ping.kind instead) 2019-01-04 12:57:29 +02:00
Pēteris Caune
99d46a0ca8
Use Ping.kind instead of Ping.start and Ping.fail when displaying logs and ping details. 2019-01-04 12:07:27 +02:00
Pēteris Caune
7480eca2a5
Add Ping.kind field 2019-01-04 11:24:53 +02:00
Pēteris Caune
be4c4f7a26
set Check.user to not null, add uniqueness constraint to Check.code 2019-01-02 09:58:54 +02:00
Pēteris Caune
179b085df4
Move Check.send_alert() to Flip.send_alerts() 2018-12-30 11:55:09 +02:00
Pēteris Caune
c225a67a3a
Index Channel.code 2018-12-26 01:16:09 +02:00
Pēteris Caune
5067014a19
Prefetch Channel objects, avoid running a query per check. 2018-12-26 00:21:56 +02:00
Pēteris Caune
da399e71b7
Remove unused bits. 2018-12-25 23:13:02 +02:00
Pēteris Caune
eb4e579a71
Update docs with the "/start" endpoint. 2018-12-25 17:39:40 +02:00
Pēteris Caune
b3e290b284
Show elapsed times in ping log 2018-12-25 13:01:49 +02:00
Pēteris Caune
e76329a364
Admin tweaks 2018-12-24 19:50:09 +02:00
Pēteris Caune
eee6fc12f4
Overwrite Check.last_start value 2018-12-21 14:02:25 +02:00
Pēteris Caune
fe04429fad
Don't update last_ping_was_fail, it is not read anywhere anymore. 2018-12-21 13:17:00 +02:00
Pēteris Caune
cc40793fc7
Clear Check.alert_after when pausing a check. 2018-12-21 11:31:00 +02:00
Pēteris Caune
2f4b373e12
More test cases. Check.is_down() is redundant, removing. 2018-12-21 11:25:49 +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