Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Restrict permission check on repositories and fix some problems (#5314) | Lunny Xiao | 2018-11-28 | 1 | -16/+0 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * fix units permission problems * fix some bugs and merge LoadUnits to repoAssignment * refactor permission struct and add some copyright heads * remove unused codes * fix routes units check * improve permission check * add unit tests for permission * fix typo * fix tests * fix some routes * fix api permission check * improve permission check * fix some permission check * fix tests * fix tests * improve some permission check * fix some permission check * refactor AccessLevel * fix bug * fix tests * fix tests * fix tests * fix AccessLevel * rename CanAccess * fix tests * fix comment * fix bug * add missing unit for test repos * fix bug * rename some functions * fix routes check | ||||
* | Refactor and fix incorrect comment (#1247) | Ethan Koenig | 2017-03-15 | 1 | -12/+12 |
| | |||||
* | Fix SQL bug in models/access (#583) | Ethan Koenig | 2017-01-05 | 1 | -11/+14 |
| | | | Previously got a 'relation repo_access does not exist' error in User_GetRepositoryAccesses | ||||
* | Fix typos in models/ (#576) | Ethan Koenig | 2017-01-05 | 1 | -1/+1 |
| | |||||
* | Optimization for user.GetRepositoryAccesses to reduce db query times (#495) | Lunny Xiao | 2016-12-28 | 1 | -18/+27 |
| | | | | | | * optimization for user.GetRepositoryAccesses to reduce db query times * fix missing cache | ||||
* | Lint models/access.go | Bwko | 2016-11-26 | 1 | -20/+26 |
| | |||||
* | Merge remote-tracking branch 'upstream/master' into feature/rewrite-xorm-queries | Thibault Meyer | 2016-11-10 | 1 | -1/+1 |
|\ | | | | | | | | | | | | | | | | | # Conflicts: # models/git_diff.go # models/issue.go # models/org.go # models/pull.go # models/repo.go | ||||
| * | Update import paths from github.com/go-gitea to code.gitea.io (#135) | Sandro Santilli | 2016-11-10 | 1 | -1/+1 |
| | | | | | | | | | | | | | | - 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 | ||||
* | | Rewrite XORM queries | Thibault Meyer | 2016-11-10 | 1 | -2/+6 |
|/ | |||||
* | ACCESS_MODE_* -> AccessMode* | Sandro Santilli | 2016-11-07 | 1 | -19/+19 |
| | |||||
* | Change import reference to match gitea instead of gogs (#37) | Rémy Boulanouar | 2016-11-03 | 1 | -1/+1 |
| | |||||
* | #1384 add pagination for repositories | Unknwon | 2016-07-24 | 1 | -17/+11 |
| | |||||
* | Refactor User.Id to User.ID | Unknwon | 2016-07-24 | 1 | -7/+7 |
| | |||||
* | #1692 api: admin list and create team under organization | Unknwon | 2016-03-21 | 1 | -0/+27 |
| | |||||
* | Updated and created were appended with _unix. Fresh databases have only the ↵ | Marin Jankovski | 2016-03-11 | 1 | -1/+1 |
| | | | | newly named fields. | ||||
* | #1146 finsih UI work for access mode of collaborators | Unknwon | 2016-03-05 | 1 | -11/+10 |
| | | | | | Collaborators have write access as default, and can be changed via repository collaboration settings page to change between read, write and admin. | ||||
* | fix #1997 | Unknwon | 2015-11-19 | 1 | -10/+10 |
| | |||||
* | fix #1953 | Unknwon | 2015-11-15 | 1 | -0/+4 |
| | |||||
* | fix #1302 | Unknwon | 2015-11-13 | 1 | -6/+18 |
| | |||||
* | #1458: Authorities were messed up when using mysql database | Unknwon | 2015-08-28 | 1 | -40/+27 |
| | |||||
* | minor fix on API response | Unknwon | 2015-08-19 | 1 | -1/+1 |
| | |||||
* | WIP: create PR - choose branch | Unknwon | 2015-08-08 | 1 | -7/+7 |
| | |||||
* | #1369: nil pointer when add repo to team | Unknwon | 2015-07-24 | 1 | -4/+3 |
| | |||||
* | #1279: Removing user from collaboration removes repositiory | Unknwon | 2015-07-14 | 1 | -0/+19 |
| | |||||
* | #1143 Team member access lost when adding repository collaborator | Unknwon | 2015-03-24 | 1 | -0/+5 |
| | | | | - fix bug when add a repo to team, all other team members gets access as well | ||||
* | #1040: dashboard no longer accessible when repo is missing | Unknwon | 2015-03-16 | 1 | -0/+6 |
| | |||||
* | REAMDE: update | Unknwon | 2015-02-28 | 1 | -0/+1 |
| | |||||
* | models: done testing on new access system | Unknwon | 2015-02-28 | 1 | -40/+58 |
| | |||||
* | models: fix issue with transfer repository | Unknwon | 2015-02-24 | 1 | -3/+7 |
| | | | | README: fix typo | ||||
* | v4 migration, merge 'dev', clean code and mirror fix | Unknwon | 2015-02-23 | 1 | -14/+23 |
| | |||||
* | some fixes, but not done yet! | Unknwon | 2015-02-13 | 1 | -7/+12 |
| | |||||
* | code fix #941 caution: undertest | Unknwon | 2015-02-13 | 1 | -30/+36 |
| | |||||
* | Merge remote-tracking branch 'mine/access_refactor' into access_refactor | Peter Smit | 2015-02-12 | 1 | -12/+12 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 style | Peter Smit | 2015-02-09 | 1 | -12/+12 |
| | | |||||
| * | Refactoring of the Access Table | Peter Smit | 2015-02-06 | 1 | -63/+113 |
| | | | | | | | | | | | | 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 Table | Peter Smit | 2015-02-12 | 1 | -66/+109 |
| | | | | | | | | | | | | 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. | ||||
* | | first pass work on migration #925 | Unknwon | 2015-02-11 | 1 | -19/+23 |
|/ | |||||
* | Fix dashboard issue after collaboration migration | Peter Smit | 2015-02-04 | 1 | -0/+4 |
| | |||||
* | Introducing Collaboration Struct | Peter Smit | 2015-01-23 | 1 | -0/+20 |
| | |||||
* | Finsih add/remove repo in organization | Unknwon | 2014-08-26 | 1 | -4/+4 |
| | |||||
* | Add create organization | Unknown | 2014-06-25 | 1 | -8/+9 |
| | |||||
* | Fix #165 | Unknown | 2014-06-21 | 1 | -4/+4 |
| | |||||
* | Show private repository activities in dashboard if has access | Unknown | 2014-05-08 | 1 | -0/+3 |
| | |||||
* | Assignee back end | Unknown | 2014-05-08 | 1 | -2/+3 |
| | |||||
* | Collaborator | Unknown | 2014-05-01 | 1 | -0/+6 |
| | |||||
* | Fix import path | Unknown | 2014-04-18 | 1 | -1/+1 |
| | |||||
* | Add repo mirror and import | Unknown | 2014-04-12 | 1 | -1/+1 |
| | |||||
* | Support private repo | Unknown | 2014-04-11 | 1 | -4/+11 |
| | |||||
* | Use session for rolling back | Unknown | 2014-04-04 | 1 | -0/+11 |
| | |||||
* | Add: rename repository | Unknown | 2014-04-03 | 1 | -0/+8 |
| |