1005 Commits

Author SHA1 Message Date
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
886643db84
Prefetch projects in profile admin. 2019-02-01 14:33:02 +02:00
Pēteris Caune
1b085a154b
"Don't have an account? Sign Up" line in the login page. 2019-02-01 14:14:55 +02:00
Pēteris Caune
d04f3cc328
Use Project.badge_key for generating badge URLs 2019-01-31 22:51:19 +02:00
Pēteris Caune
c4c657f5d4
Add "Transfer to Another Project" dialog in check's Details page. 2019-01-31 22:09:46 +02:00
Pēteris Caune
069bc9b735
Test cases for adding project, removing project and leaving project. 2019-01-29 19:57:18 +02:00
Pēteris Caune
02609ac05e
This query can return duplicates, add distinct() 2019-01-29 19:56:43 +02:00
Pēteris Caune
4ff1654806
Don't create default projects for invited users. 2019-01-29 19:16:52 +02:00
Pēteris Caune
c1e4595ab2
If user has a single project, _redirect_after_login redirects to it. 2019-01-29 19:05:32 +02:00
Pēteris Caune
f2ae573872
Reduce the usage of request.project. 2019-01-29 16:54:51 +02:00
Pēteris Caune
08810d1fca
Check membership before removing project member. 2019-01-29 16:42:12 +02:00
Pēteris Caune
8dd91b247b
When user has no projects, don't auto-create a project. 2019-01-29 13:19:15 +02:00
Pēteris Caune
ac2a120ee8
"Create New Project" button in "My Projects" page. 2019-01-29 11:41:02 +02:00
Pēteris Caune
6b0d566922
"My Projects" page. 2019-01-29 10:59:10 +02:00
Pēteris Caune
4e6fa38ec6
Users can create and remove Projects -- WIP 2019-01-28 20:09:23 +02:00
Pēteris Caune
6d7942d7f9
Admin improvements. 2019-01-28 13:05:40 +02:00
Pēteris Caune
229e2a3922
Admin improvements. 2019-01-22 18:18:11 +02:00
Pēteris Caune
eaf49f2367
Don't switch projects when viewing the "Account Settings" page 2019-01-22 16:23:51 +02:00
Pēteris Caune
b12eb1ee75
Users switch between projects, not between accounts. 2019-01-22 15:58:07 +02:00
Pēteris Caune
b013a92c43
Move project-specific settings to a new "Project Settings" page 2019-01-22 15:44:54 +02:00
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