summaryrefslogtreecommitdiffstats
path: root/routers/org/teams.go
Commit message (Collapse)AuthorAgeFilesLines
* Handle refactor (#3339)Morgan Bazalgette2018-01-101-8/+8
| | | | | | * Replace all ctx.Handle with ctx.ServerError or ctx.NotFound * Change Handle(403) to NotFound, avoid using macaron's NotFound
* Allow adding collaborators with (fullname) (#3103)Sasha Varlamov2017-12-071-5/+2
| | | | | | | | | | * Allow adding collaborators with (fullname) Signed-off-by: Sasha Varlamov <sasha@sashavarlamov.com> * Refactor username suffix to utils pkg Signed-off-by: Sasha Varlamov <sasha@sashavarlamov.com>
* Fix error when add user has full name to team (#2973)Lunny Xiao2017-11-261-0/+5
| | | | | | * fix error when add user has full name to team * add comment for extra uname check
* Remove unit types commits and settings (#2161)Lauris BH2017-07-171-19/+28
| | | | | | | | | | * Remove unit types commits and settings * Can not limit units in administrator teams * Limit changing units only to teams with read and write access mode * Small code optimization
* fix bug to deny to add orgnization as a member of an orgnization or team (#1815)Lunny Xiao2017-05-261-0/+6
|
* Add units to team (#947)Lunny Xiao2017-05-181-0/+4
| | | | | | | | | | | | | | | | | | * 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
* fix leave team 404 (#1154)Lunny Xiao2017-03-091-0/+2
|
* golint fixed for parts of routers root, dev, user and org dirs (#167)Lunny Xiao2016-11-181-13/+27
| | | | | | | | * golint fixed for parts of routers root, dev and org dirs * add user/auth.go golint fixed * rename unnecessary exported to unexported and user dir golint fixed
* Update import paths from github.com/go-gitea to code.gitea.io (#135)Sandro Santilli2016-11-101-5/+5
| | | | | | | - Update import paths from github.com/go-gitea to code.gitea.io - Fix import path for travis See https://docs.travis-ci.com/user/languages/go#Go-Import-Path
* ACCESS_MODE_* -> AccessMode*Sandro Santilli2016-11-071-3/+3
|
* Change import reference to match gitea instead of gogs (#37)Rémy Boulanouar2016-11-031-5/+5
|
* Refactor User.Id to User.IDUnknwon2016-07-241-5/+5
|
* #1692 api: admin list and create team under organizationUnknwon2016-03-211-15/+1
|
* Rename module: middleware -> contextUnknwon2016-03-111-11/+11
|
* Remove unnecessary commentsFlorian Kaiser2016-01-311-1/+0
|
* Only show teams the user has access toFlorian Kaiser2016-01-311-4/+1
|
* #2497 incorrect error handle for team nameUnknwon2016-01-291-22/+18
|
* fix #650Unknwon2015-11-221-5/+8
|
* allow anonymous SSH cloneUnknwon2015-08-051-1/+1
|
* #1067: Deleting users should remove them from collaborator listsUnknwon2015-03-171-1/+1
| | | | - fix delete user but repository watches are not decreased
* #1040: dashboard no longer accessible when repo is missingUnknwon2015-03-161-1/+1
|
* v4 migration, merge 'dev', clean code and mirror fixUnknwon2015-02-231-1/+1
|
* Merge remote-tracking branch 'mine/access_refactor' into access_refactorPeter Smit2015-02-121-6/+6
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: cmd/serve.go models/access.go models/migrations/migrations.go models/org.go models/repo.go models/user.go modules/middleware/org.go modules/middleware/repo.go routers/api/v1/repo.go routers/org/teams.go routers/repo/http.go routers/user/home.go
| * Change constants to UPPERCASE_WITH_UNDERSCORE stylePeter Smit2015-02-091-6/+6
| |
| * Refactoring of the Access TablePeter Smit2015-02-061-8/+8
| | | | | | | | | | | | This commit does a lot of the work of refactoring the access table in a table with id's instead of strings. The result does compile, but has not been tested. It may eat your kittens.
* | Refactoring of the Access TablePeter Smit2015-02-121-8/+8
| | | | | | | | | | | | This commit does a lot of the work of refactoring the access table in a table with id's instead of strings. The result does compile, but has not been tested. It may eat your kittens.
* | models: make code change for session issue with SQLite3 #739Unknwon2015-02-101-5/+2
|/
* Issue: Show error prompt when add repository to team and it does not exist #533Unknwon2014-10-101-0/+5
|
* Prepare 0.5 releaseUnknwon2014-09-121-2/+2
|
* Finsih add/remove repo in organizationUnknwon2014-08-261-3/+48
|
* Finish new edit team page, add member to teamUnknwon2014-08-241-12/+125
|
* Working on organization pagesUnknwon2014-08-231-4/+6
|
* Add/remove member need add/remove access to repositories as wellUnknwon2014-08-161-2/+2
|
* Finish team list, create new team, join/leave team pageUnknwon2014-08-161-54/+46
|
* Huge updates!!!!! Be careful to merge!!!!Unknwon2014-07-261-14/+12
|
* add organization team-single pagefuxiaohei2014-07-071-0/+5
|
* Finish create organization teamUnknown2014-07-021-3/+78
|
* Finish Teams pageUnknown2014-06-291-6/+41
|
* add organization team-create pagefuxiaohei2014-06-271-0/+5
|
* add organization team-create pagefuxiaohei2014-06-271-0/+16