Commit Graph

12 Commits (14c979c1b25bdc70b40fbc9f1f976b9da480ea3f)

Author SHA1 Message Date
Morgan Bazalgette 65861900cd Handle refactor ()
* Replace all ctx.Handle with ctx.ServerError or ctx.NotFound

* Change Handle(403) to NotFound, avoid using macaron's NotFound
Ethan Koenig 515cdaa85d Fix ignored errors when checking if organization, team member ()
Lunny Xiao 94da472717 Golint fixed for modules/setting ()
* golint fixed for modules/setting

* typo fixed and renamed UNIXSOCKET to UnixSocket
Lunny Xiao faabc76fd6 Golint fixed for modules/context
Sandro Santilli 4247304f5a Update import paths from github.com/go-gitea to code.gitea.io ()
- 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
Sandro Santilli f388661bda ACCESS_MODE_* -> AccessMode*
Matthias Loibl 1f44b01e2a Fix imports found by goimports.
Rémy Boulanouar 2d68bd1ef9 Change import reference to match gitea instead of gogs ()
Unknwon a562228c5e Add org.getUserTeams to reduce redundant code
Unknwon 1f2e173a74 Refactor User.Id to User.ID
Unknwon db4da7beec Add APIContext
Unknwon 514382e2eb Rename module: middleware -> context