Commit graph

17 commits

Author SHA1 Message Date
Dmitriy Zaporozhets
0cedd7039a
Prevent a lot of sql queries for ProjectTeam#fetch_members method
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-06-04 19:20:25 +03:00
Dmitriy Zaporozhets
a89c590ffe
Prevent exceptions for methods like ProjectTeam#developer? if no membership exists
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-06-04 12:56:03 +03:00
Dmitriy Zaporozhets
c283fba3b7
Improve performance of application for large teams
This commit fixes a lot of sql queries to db for for groups and projects
with big amount of members.

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-06-04 11:52:17 +03:00
skv
a3f645ef51 Remove deprecated finders 2014-01-19 23:39:56 +04:00
Dmitriy Zaporozhets
34f994b7c5
Improve dev fixtures
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2013-12-25 09:56:39 +02:00
skv
3adf35fb64 pluck user_ids during team import 2013-12-17 22:37:56 +04:00
skv
d89527839e fix most of warnings 2013-12-15 00:05:10 +04:00
Dmitriy Zaporozhets
643a6e5824 Improve admin user show page
Show permissions for all project.
Add ability to remove user from group if not an owner
Remove unnecessary admin controller
2013-08-27 21:39:34 +03:00
Dmitriy Zaporozhets
1dd80d22a5 Prevent confusion in naming user variable at admin area 2013-06-26 15:57:02 +03:00
Dmitriy Zaporozhets
59f75e6c1e Remove unused accessor 2013-06-22 13:47:11 +03:00
Dmitriy Zaporozhets
c2317d6785 cache project.team.members 2013-06-22 12:57:05 +03:00
Dmitriy Zaporozhets
c9fb7e39eb Project Team now supports a non-group projects 2013-06-18 17:47:52 +03:00
Dmitriy Zaporozhets
209f96bebe Use project.team over project.users 2013-06-18 17:47:52 +03:00
Dmitriy Zaporozhets
e940fbc7c1 Add UsersGroup relation to be respected by abilities and Project#team 2013-06-18 17:47:52 +03:00
Dmitriy Zaporozhets
15c0e58a49 remove unused code related to gitolite 2013-02-26 11:11:43 +02:00
Dmitriy Zaporozhets
896c3a0a9d remove update_repository calls 2013-02-04 15:24:16 +02:00
Andrey Kumanyaev
6d1c566ec9 Rename Team class to ProjectTeam 2013-01-24 22:31:24 +02:00
Renamed from app/models/team.rb (Browse further)