Ethan Koenig
93a1de4842
Fix repo API bug ( #2133 )
...
Don't require token when not necessary
7 years ago
Antoine GIRARD
30787e48f2
Improve org error handling ( #2117 )
...
* Improve ErrOrgNotExist type
Return new error type
Use good error check
Use new method to check error
Update tests
* Fix unchanged method name report
8 years ago
Jonas Östanbäck
0161e46b5a
Add swagger comment for MirrorSync ( #1747 )
...
* Add swagger comment for MirrorSync
* Generate swagger.v1.json
8 years ago
Andrey Nering
8906b2891b
Fix test
...
There was a panic when there's no logged in user
8 years ago
Andrey Nering
dc2b28ed76
Show repos acording to user/organization
8 years ago
Andrey Nering
8917f47347
Fix org repos not showing on dashboard search
8 years ago
Antoine GIRARD
3edb0c5894
Generate swagger json ( #1402 )
...
- Generate swagger.json into public/
- Add swagger-ui auto-installation
- Add footer link to local swagger-ui
- Add /swagger url for using app url.
- Fix Swagger-UI version via git tag
8 years ago
Lunny Xiao
0308d44a16
fix #1643 and improve integration test ( #1645 )
8 years ago
Jonas
f995bcc87a
Add repo mirror sync API endpoint ( #1508 )
...
* API: Add repo mirror sync
* Correct error message
* Change http status to 200
8 years ago
Ethan Koenig
ec0ae5d50c
Refactor and fix incorrect comment ( #1247 )
8 years ago
awwalker
c0f99e8229
API: support /users/:username/repos
...
clean up
fix arguments
remove repeated token
give admins listing rights
8 years ago
Bo-Yi Wu
3576e1ee73
fix: trim the whitespaces for the search keyword ( #893 )
8 years ago
Ethan Koenig
2f13d31ff0
Fix bug in repos search ( #884 )
8 years ago
Bo-Yi Wu
a90a215662
feat: Add search bar on user profile page. ( #787 )
8 years ago
Ethan Koenig
6f4ba6884c
Repo permission bug fixes ( #513 )
8 years ago
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
9 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