Unknwon
f191bff0b9
api/repo: check user type of owner for migration
...
Report by MiaoWoo.
8 years ago
Unknwon
c05717a5f0
models/mirror: feed git.IsRepoURLAccessible with raw mirror address
8 years ago
Unknwon
d05395fe90
Refactoring: rename modules -> pkg
...
Reasons to change:
1. Shorter than 'modules'
2. More generally used by other Go projects
3. Corresponds to the naming of '$GOPATH/pkg' directory
8 years ago
Unknwon
c441f8080e
api/repo: add endpoint to sync mirror ( #2235 )
8 years ago
Unknwon
beee6e03b1
error: move ErrRepoNotExist -> errors.RepoNotExist
8 years ago
Unknwon
55a5ad5cdc
api/repo: fix incorrect permission values ( #4309 )
8 years ago
Unknwon
0ccd7c97ab
models: rename ErrUserNotExist -> errors.UserNotExist
8 years ago
Unknwon
87f0ce793d
repo: able to perform initial commit on behave of actual user
8 years ago
Unknwon
4f9c5981a9
refactoring: modules/auth/*_form.go -> modules/form
8 years ago
Unknwon
cd9b29ff3f
api: add list user and organization's repositories ( #3984 )
8 years ago
Unknwon
eb66060cd7
log: start using gopkg.in/clog.v1
8 years ago
Dennis Chen
c98aa0e895
api: display repository forks ( #3252 )
...
Lists the forks of a repository at the /:user/:repo/forks endpoint.
Signed-off-by: Dennis Chen <barracks510@gmail.com>
8 years ago
Unknwon
8059175a5c
Fix dashboard issues/pull request counting
8 years ago
Unknwon
dccb0c15b9
Replace convert.To with APIFormat calls
8 years ago
Unknwon
e74630ae3b
#1384 add pagination for repositories
8 years ago
Unknwon
1f2e173a74
Refactor User.Id to User.ID
8 years ago
Unknwon
4b25bdfbc4
#3058 #3059 support correct page size and link header
8 years ago
Unknwon
9bd9ad4205
#1692 add CRUD issue APIs
...
- Fix go-gogs-client#10
- Related to #809
9 years ago
Unknwon
dd6faf7f9b
Convert all API handers to use *context.APIContext
9 years ago
Unknwon
2bf8494332
#13 finish user and repository search
...
Both are possible on explore and admin panel
9 years ago
Unknwon
514382e2eb
Rename module: middleware -> context
9 years ago
Unknwon
1c9dd11ba7
#1692 API: admin create repo
9 years ago
Unknwon
9cd16c5b12
#1692 add organization APIs
9 years ago
Unknwon
120cd4e471
#1984 Better mirror repo management
9 years ago
Unknwon
56dd430a10
refactor API routes and some work for #976
9 years ago
Unknwon
cc8f5add6e
fix #976
9 years ago
Unknwon
830d000667
finish wiki
9 years ago
Unknwon
144663a3cf
allow admin to migrate for any user/org
9 years ago
Unknwon
f8ae161c74
fix #1302
9 years ago
Unknwon
6f0a41b8b2
#1511 Allow local import only for admin users
9 years ago
Unknwon
022820103d
#1657 allow forcing all private repos
9 years ago
Unknwon
35a65736fa
add get repo API
9 years ago
Unknwon
aff49b1c9e
unified API error response
9 years ago
Steven Oud
6fe868a4d5
added repository remove option to api
9 years ago
Unknwon
7ec991326d
fix migrate api
9 years ago
Unknwon
e5b105e513
fix migrate API
9 years ago
Unknwon
398569f6f8
#1021 Forked repo unavailable after deleting original repo
9 years ago
Unknwon
f2de4d5c04
new create repo options
9 years ago
Unknwon
bb3b90fcd6
#1487 Readme Template
9 years ago
Unknwon
1453e91f41
minor fix on API response
9 years ago
Unknwon
dea3a8c6a4
WIP: create PR - choose branch
9 years ago
Unknwon
9db4acc62e
improve fork process
9 years ago
Unknwon
e50982f5ec
allow anonymous SSH clone
9 years ago
Dustin Willis Webber
5a4f314cf7
fix calls that go rename missed
10 years ago
Unknwon
698b9e2acc
#1070 Clearer error message for illegal characters
10 years ago
Unknwon
5169a0e025
mirror fix of #1105
10 years ago
Unknwon
34102f7889
remove unused scripts and simplify migrate form definition
10 years ago
Unknwon
059338139c
routers: able to migrate repo from local path
...
- modules/middleware/context.go: add HandleAPI method
10 years ago
Peter Smit
0a4cda0dd4
Refactoring of the Access Table
...
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.
10 years ago
Peter Smit
0d158e569b
Change constants to UPPERCASE_WITH_UNDERSCORE style
10 years ago