Lanre Adelowo
4bf0cae1f5
Respect email privacy option in user search via API ( #4512 )
...
* respect user's email privacy option
* make email visible to admin irrespective of privacy option
6 years ago
Ethan Koenig
f26f4a7e01
Update swagger documentation ( #2899 )
...
* Update swagger documentation
Add docs for missing endpoints
Add documentation for request parameters
Make parameter naming consistent
Fix response documentation
* Restore delete comments
7 years ago
Lunny Xiao
178bd498b9
fix imports
7 years ago
Lunny Xiao
219ca5cadb
some fixes
7 years ago
Lunny Xiao
6eeadb2082
Hide unactive on explore users and some refactors ( #2741 )
...
* hide unactive on explore users and some refactors
* fix test for removed Organizations
* fix test for removed Organizations
* fix imports
* fix logic bug
* refactor the toConds
* Rename TestOrganizations to TestSearchUsers and add tests for users
* fix other tests
* fix other tests
* fix watchers tests
* fix comments and remove unused code
7 years ago
Antoine GIRARD
fd8e8a421a
Improve swagger doc ( #2274 )
...
* Add swagger comment for adminCreateOrg
* Add swagger comment for admin route
* add hook swagger doc
* Add tags
* Add auth
* Fix name of responses
* Edit name method
* Update vendor
* make generate-swagger
7 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
Bo-Yi Wu
3576e1ee73
fix: trim the whitespaces for the search keyword ( #893 )
8 years ago
Kim "BKC" Carlbäcker
42ec5ce740
Fix breakage from vendor-update
8 years ago
Lunny Xiao
3917ed45de
golint fixed for routers ( #208 )
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
aadd7dcdc3
And others
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
2cb04db526
Fix #3391
8 years ago
Unknwon
1f2e173a74
Refactor User.Id to User.ID
8 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
56dd430a10
refactor API routes and some work for #976
9 years ago
Unknwon
cc8f5add6e
fix #976
9 years ago
Unknwon
ff5f14431e
fix #1448
9 years ago
Unknwon
aff49b1c9e
unified API error response
9 years ago
Unknwon
1453e91f41
minor fix on API response
9 years ago
Unknwon
54b52de6ee
minor fix on API response
9 years ago
Unknwon
e50982f5ec
allow anonymous SSH clone
9 years ago
Unknwon
4cbbaefd82
#1127 : hide user e-mail when API caller isn't signed in
10 years ago
Unknwon
2b1e67e085
#1127 : hide user e-mail when API caller isn't signed in
10 years ago
Unknwon
ac4a10456e
api: able to create repo and fix #726
...
- POST /user/repos
- POST /org/:org/repos
10 years ago
Deiwin Sarjas
48bb0fadc2
update user api search results to include the full name
...
Is fully backwards compatible
Fixes #677
10 years ago
Unknwon
37d8d3afe9
more APIs on #12
10 years ago
Unknwon
52d66ba6c8
#12 , use go-gogs-client
10 years ago
Unknwon
8eb5120fbd
#12 , API: list user repos, list repo hooks
10 years ago
Unknwon
74b31566cf
Finsih add/remove repo in organization
10 years ago
Unknwon
8dd07c0ddd
New UI merge in progress
10 years ago
Unknown
0f907301b7
Fix #285
11 years ago
Unknown
49dc57e336
Add /api/v1/users/search
11 years ago