Wendell Sun
74811ce4c8
Fix remove team member issue ( #3566 )
Put sess.Commit() out of the RemoveOrgUser function
Add an empty line to separate import packages
7 years ago
Ethan Koenig
9621d3f074
Remove IsOwner, NumTeams from OrgUser ( #3269 )
7 years ago
Ethan Koenig
127ea89ad4
Fix race condition in team functions ( #3268 )
7 years ago
Ethan Koenig
a8af5abc02
Fix ignored errors when checking if organization, team member ( #3177 )
7 years ago
Ethan Koenig
a186f896eb
Replace deprecated Id method with ID ( #2655 )
7 years ago
Lunny Xiao
1a57c8f911
Reduce usage of allcols on update ( #2596 )
* reduce usage of allcols on update
* fix bug and tests
7 years ago
Lunny Xiao
1c80057b53
improve protected branch to add whitelist support ( #2451 )
* improve protected branch to add whitelist support
* fix lint
* fix style check
* fix tests
* fix description on UI and import
* fix test
* bug fixed
* fix tests and languages
* move isSliceInt64Eq to util pkg; improve function names & typo
7 years ago
Ethan Koenig
835e335242
EnableUnit() -> UnitEnabled() ( #2242 )
8 years ago
Antoine GIRARD
8d81576b4b
Improve org error handling ( #2117 )
* Improve ErrOrgNotExist type
Return new error type
Use good error check
Use new method to check error
Update tests
* Fix unchanged method name report
8 years ago
Lauris BH
625f482b25
Refactor session close as xorm already does everything needed internally ( #2020 )
8 years ago
Lunny Xiao
c694c70008
Add units to team ( #947 )
* 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
8 years ago
Sandro Santilli
7ef4727cca
Run "make fmt" with go-1.6 ( #1333 )
8 years ago
Ethan Koenig
c2ba9ca97b
Refactor and fix incorrect comment ( #1247 )
8 years ago
Ethan Koenig
228aa19e31
Remove unnecessary loads in org_team ( #1090 )
8 years ago
Ethan Koenig
1dc6a2df45
Remove unnecessary loads in org_team ( #1035 )
8 years ago
Ethan Koenig
9f592025a8
Bug fixes and unit tests for org_team ( #1016 )
8 years ago
Lunny Xiao
b5e80c80b6
optimization for team get repos ( #953 )
8 years ago
Lunny Xiao
40f6ec8232
Small opitimization for getUserTeams ( #954 )
* Small opitimization for getUserTeams
* more compact
8 years ago
Lunny Xiao
1e4337d0a2
fix xorm NewSession uncorrected usages ( #774 )
8 years ago
Lunny Xiao
779dc46d45
rename all uID -> userID on models/org_team.go
8 years ago
Lunny Xiao
779922bc61
golint for models/org_team.go
8 years ago
Thibault Meyer
5d29fda874
Rewrite XORM queries
8 years ago
Sandro Santilli
58cc4e56fa
ACCESS_MODE_* -> AccessMode*
8 years ago
LefsFlare
5c54551ac9
Adds checking of reserved keywords against team names ( #22 )
8 years ago
Unknwon
3b42ab0e57
Refactor User.Id to User.ID
9 years ago
Unknwon
8328452c5a
#1692 add admin APIs to add/remove a user from teams
9 years ago