Commit Graph

93 Commits (7af81973cbfee15861afb14ca2fb813944489949)

Author SHA1 Message Date
Ethan Koenig 021904e4e6 Fix typos in models/ and modules/ ()
Ethan Koenig ec0ae5d50c Refactor and fix incorrect comment ()
Ethan Koenig 027591a3a5 Redirects for renamed repos ()
* Redirects for renamed repos

* Remove unused phrase from locales
Lunny Xiao 8a421b1fd7 Add units concept for modulable functions of a repository ()
* Add units concept for modulable functions of a repository

* remove unused comment codes & fix lints and tests

* remove unused comment codes

* use struct config instead of map

* fix lint

* rm wrong files

* fix tests
Ethan Koenig 73d05a51e3 Remove unneeded database loads ()
Remove unnecessary calls to repo.GetOwner() in context handlers
Ethan Koenig 6f4ba6884c Repo permission bug fixes ()
Kim "BKC" Carlbäcker 0f05470cb8 [API] Pull Requests ()
Bwko 1e9730a779 Fixes xss, clickjacking & password autocompletion
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
Ethan Koenig 0834e492c0 API endpoints for stars
Bo-Yi Wu d9ffe99972 fix variable assigned and not used.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
Thibault Meyer ddee4c8b58
Normalize files with gofmt
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*
Thomas Boerger 6bf9910975
Set correct doc url for go-sdk
Rachid Zarouali be5607e510 Merge pull request from 0xbaadf00d/feature/2583-disablehttpcloning
Disable HTTP cloning
Sandro Santilli 6e4252dad4 Replace gogits/git-module dependency with go-gitea/git ()
* Replace gogits/git-module dependency with go-gitea/git

Fixes 

* Remove git alias for git module import (not needed)
Matthias Loibl 1f44b01e2a Fix imports found by goimports.
Rémy Boulanouar 2d68bd1ef9 Change import reference to match gitea instead of gogs ()
Thibault Meyer 93f1eabe30
rename variable + fix wiki link
Thibault Meyer 9d66497abc
Can disable GIT interactions by HTTP protocol
Unknwon 8516dfcb6c able to sync now for mirrors
- Refactor code to use sync.UniqueQueue
- Closes 
Unknwon 780cc2d110 router/repo: code refactoring
Unknwon f8a48ffaad Web editor: improve code quality
Unknwon ec332cf903 Minor naming improvement
Andrey Nering dbed39ba05 On showing diff/file, use the tab_width specified on .editorconfig, if any ()
Closes 
Unknwon 5077408d78 code cleanup and minor issue fix
Andrew 0885784f13 Wiki mirroring implementation ()
* Implement wiki mirroring, add Update mirrors operation to admin dashboard

* bindata.go update after merge

* Implement checking Git repo endpoint existence, support for BB included

* Remove admin dashboard operation
Fix bindata.go

* Apply gofmt to repo model file

* Try to remove bindata from PR

* Revert accepted wiki names change in favor of better system

* Remove unused imports
Unknwon 90af997fec 500 for upstream pulls page if user has forked repository
Unknwon e5bf4281b5 early response 200 when ?go-get=1
Unknwon 899e799459 support delete issue comment
Unknwon a562228c5e Add org.getUserTeams to reduce redundant code
Unknwon 1f2e173a74 Refactor User.Id to User.ID
Unknwon c083d76567 able to prohibit user login
Unknwon 7ca5f8f119 models/repo: remove redundant info for some repo methods
RepoLink -> Link, RepoRelLink -> RelLink, FullRepoLink -> FullLink
Pablo Saavedra 98b152030d The pruning for the synchronized mirrors is a option now. Default value: enable_prune = true ()
Executed go fmt

getEngine() not handles DB parameters () ()

Uses .AllCols() for Update in updateMirror()

Spanish traslation removed

Fixed a wrong way to ommit the --prune option in process.ExecDir() for MirrorUpdate function
Unknwon b1d41cfa60 add admin APIs to add/remove a user from teams
Unknwon 9bd9ad4205 add CRUD issue APIs
- Fix go-gogs-client#10
- Related to 
Unknwon dd6faf7f9b Convert all API handers to use *context.APIContext
Unknwon db4da7beec Add APIContext
Alec S ebea20b4e7 remove errant debug statement
Unknwon 514382e2eb Rename module: middleware -> context