Commit Graph

16 Commits (97f7f88bed28c256d112bd1962b6a7a84baa9931)

Author SHA1 Message Date
Lunny Xiao fd6034aaf2 Add units to team ()
* add units to team

* fix lint

* finish team setting backend

* finished permission controll on routes

* fix import blank line

* add unit check on ssh/http pull and push and fix test failed

* fix fixtures data

* remove unused code
Sandro Santilli f73e734411 Run "make fmt" with go-1.6 ()
Ethan Koenig ec0ae5d50c Refactor and fix incorrect comment ()
Ethan Koenig d21d5fd736 Remove unnecessary loads in org_team ()
Ethan Koenig 76057105ca Remove unnecessary loads in org_team ()
Ethan Koenig 4f3880ff15 Bug fixes and unit tests for org_team ()
Lunny Xiao 7fd14bf7bd optimization for team get repos ()
Lunny Xiao 0642cb330c Small opitimization for getUserTeams ()
* Small opitimization for getUserTeams

* more compact
Lunny Xiao bb5a6b7a07 fix xorm NewSession uncorrected usages ()
Lunny Xiao f215d78157 rename all uID -> userID on models/org_team.go
Lunny Xiao 21846d16e5 golint for models/org_team.go
Thibault Meyer a4454f5d0f
Rewrite XORM queries
Sandro Santilli f388661bda ACCESS_MODE_* -> AccessMode*
LefsFlare 55a4d46f5d Adds checking of reserved keywords against team names ()
Unknwon 1f2e173a74 Refactor User.Id to User.ID
Unknwon b1d41cfa60 add admin APIs to add/remove a user from teams