Ethan Koenig
d93ad53a2c
Redirects for renamed repos ( #807 )
...
* Redirects for renamed repos
* Remove unused phrase from locales
2017-02-05 22:35:03 +08:00
Lunny Xiao
3f446a0c9c
Add units concept for modulable functions of a repository ( #742 )
...
* 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
2017-02-04 23:53:46 +08:00
Ethan Koenig
a8af939f69
Remove unneeded database loads ( #814 )
...
Remove unnecessary calls to repo.GetOwner() in context handlers
2017-02-02 20:33:56 +08:00
Ethan Koenig
6b40edb01a
Repo permission bug fixes ( #513 )
2016-12-29 21:17:32 +08:00
Kim "BKC" Carlbäcker
2947e7b332
[API] Pull Requests ( #248 )
2016-12-02 12:10:39 +01:00
Bwko
3a74fe8290
Fixes xss, clickjacking & password autocompletion
2016-11-29 22:49:06 +01:00
Lunny Xiao
c9d61f0e2a
Golint fixed for modules/setting ( #262 )
...
* golint fixed for modules/setting
* typo fixed and renamed UNIXSOCKET to UnixSocket
2016-11-27 18:14:25 +08:00
Lunny Xiao
9f958b7084
Golint fixed for modules/context
2016-11-25 14:53:59 +08:00
Ethan Koenig
875d9751aa
API endpoints for stars
2016-11-16 22:51:54 -05:00
Bo-Yi Wu
8c94965a88
fix variable assigned and not used.
...
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com >
2016-11-15 14:16:27 +08:00
Thibault Meyer
43e3c1d1cc
Normalize files with gofmt
2016-11-11 13:11:45 +01:00
Sandro Santilli
acb138c244
Update import paths from github.com/go-gitea to code.gitea.io ( #135 )
...
- 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
2016-11-10 17:24:48 +01:00
Sandro Santilli
78d721a905
ACCESS_MODE_* -> AccessMode*
2016-11-07 17:20:37 +01:00
Thomas Boerger
57279e1766
Set correct doc url for go-sdk
2016-11-07 14:49:25 +01:00
Rachid Zarouali
64eb34d9b3
Merge pull request #50 from 0xbaadf00d/feature/2583-disablehttpcloning
...
Disable HTTP cloning
2016-11-07 11:23:30 +01:00
Sandro Santilli
2cc11efdcf
Replace gogits/git-module dependency with go-gitea/git ( #94 )
...
* Replace gogits/git-module dependency with go-gitea/git
Fixes #92
* Remove git alias for git module import (not needed)
2016-11-06 11:18:34 -02:00
Matthias Loibl
b2f20b4726
Fix imports found by goimports.
2016-11-05 17:56:35 +01:00
Rémy Boulanouar
61ec6729e6
Change import reference to match gitea instead of gogs ( #37 )
2016-11-03 10:29:56 -02:00
Thibault Meyer
45e683cb05
rename variable + fix wiki link
2016-10-04 18:58:14 +02:00
Thibault Meyer
56d98c3349
Can disable GIT interactions by HTTP protocol
2016-09-18 10:54:33 +02:00
Unknwon
de6b7fff77
#2018 able to sync now for mirrors
...
- Refactor code to use sync.UniqueQueue
- Closes #3509
2016-08-30 16:18:33 -07:00
Unknwon
e40f64e2c9
router/repo: code refactoring
2016-08-30 02:08:38 -07:00
Unknwon
61bde9440a
Web editor: improve code quality
2016-08-24 21:35:03 -07:00
Unknwon
dbdd27e199
Minor naming improvement
2016-08-17 16:10:07 -07:00
Andrey Nering
d462d04d41
On showing diff/file, use the tab_width specified on .editorconfig, if any ( #3241 )
...
Closes #3182
2016-08-11 17:07:09 -07:00
Unknwon
241d1e13a0
#3233 code cleanup and minor issue fix
2016-08-11 10:53:51 -07:00
Andrew
12f0f252ee
Wiki mirroring implementation ( #3233 )
...
* 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
2016-08-11 10:18:51 -07:00
Unknwon
6e987c5d4d
#3399 500 for upstream pulls page if user has forked repository
2016-08-08 13:02:55 -07:00
Unknwon
db02619c00
#2825 early response 200 when ?go-get=1
2016-08-07 14:29:16 -07:00
Unknwon
3f60d71e08
#1601 support delete issue comment
2016-07-26 02:48:17 +08:00
Unknwon
7307a2c557
Add org.getUserTeams to reduce redundant code
2016-07-24 18:09:45 +08:00
Unknwon
48b0d21673
Refactor User.Id to User.ID
2016-07-24 01:08:22 +08:00
Unknwon
27778760b9
#2937 able to prohibit user login
2016-07-16 10:22:16 +08:00
Unknwon
3816d7b42a
models/repo: remove redundant info for some repo methods
...
RepoLink -> Link, RepoRelLink -> RelLink, FullRepoLink -> FullLink
2016-07-15 21:53:43 +08:00
Pablo Saavedra
ca10c06350
The pruning for the synchronized mirrors is a option now. Default value: enable_prune = true ( #3246 )
...
Executed go fmt
getEngine() not handles DB parameters (#2972 ) (#2974 )
Uses .AllCols() for Update in updateMirror()
Spanish traslation removed
Fixed a wrong way to ommit the --prune option in process.ExecDir() for MirrorUpdate function
2016-07-09 13:22:28 +08:00
Unknwon
b02935e40b
#1692 add admin APIs to add/remove a user from teams
2016-03-25 18:04:02 -04:00
Unknwon
c06966648d
#1692 add CRUD issue APIs
...
- Fix go-gogs-client#10
- Related to #809
2016-03-13 23:20:22 -04:00
Unknwon
838956a918
Convert all API handers to use *context.APIContext
2016-03-13 18:49:16 -04:00
Unknwon
d8f27ecbf6
Add APIContext
2016-03-13 17:37:44 -04:00
Alec S
acede1828a
remove errant debug statement
2016-03-11 16:44:09 -06:00
Unknwon
529f8d9b4b
Rename module: middleware -> context
2016-03-11 11:56:52 -05:00