Ethan Koenig
04b9a7e7a2
Bug fixes for repo permissions in API
Also move duplicated code into repo.APIFormat(..)
8 years ago
Kim "BKC" Carlbäcker
e6cfccdd40
GitHub API Compliance (& linting)
8 years ago
Kim "BKC" Carlbäcker
71bb6df75a
Add undocumented endpoint for /repositories/:id
8 years ago
Lunny Xiao
ec87a75c00
golint fixed for modules/auth
8 years ago
Lunny Xiao
5b998a6680
golint fixed for modules/auth
8 years ago
Lunny Xiao
3917ed45de
golint fixed for routers ( #208 )
8 years ago
Ethan Koenig
0834e492c0
API endpoints for stars
8 years ago
Sandro Santilli
a1c5f02444
Fix import path of go-sdk ( #141 )
From code.gitea.io/go-sdk/gitea
To code.gitea.io/sdk/gitea
8 years ago
Sandro Santilli
4247304f5a
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
8 years ago
Sandro Santilli
f388661bda
ACCESS_MODE_* -> AccessMode*
8 years ago
Thomas Boerger
4c6c16f358
Replaced go-gogs-client with go-sdk imports
8 years ago
Rémy Boulanouar
2d68bd1ef9
Change import reference to match gitea instead of gogs ( #37 )
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
8 years ago
Unknwon
dd6faf7f9b
Convert all API handers to use *context.APIContext
8 years ago
Unknwon
2bf8494332
#13 finish user and repository search
Both are possible on explore and admin panel
8 years ago
Unknwon
514382e2eb
Rename module: middleware -> context
8 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
9 years ago
Unknwon
698b9e2acc
#1070 Clearer error message for illegal characters
9 years ago
Unknwon
5169a0e025
mirror fix of #1105
9 years ago
Unknwon
34102f7889
remove unused scripts and simplify migrate form definition
9 years ago
Unknwon
059338139c
routers: able to migrate repo from local path
- modules/middleware/context.go: add HandleAPI method
9 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.
9 years ago
Peter Smit
0d158e569b
Change constants to UPPERCASE_WITH_UNDERSCORE style
9 years ago
Peter Smit
4e79adf6b5
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.
9 years ago