Unknwon
e63b2881b1
api: fix panic if anonymous user request admin API
Add sign in check before check user account level
8 years ago
Unknwon
5aa2bf86f4
Update locales and .gopmfile
8 years ago
Unknwon
60110adc06
models/webhook: restrict deletion to be explicitly with repo and org ID
8 years ago
Dennis Chen
5ff2dfb23e
api: delete repository webhooks ( #3275 )
Allows the deletion of a webhook from a repository at the
/:user/:repo/hooks/:id endpoint.
Solves drone/drone issue #1603 .
Signed-off-by: Dennis Chen <barracks510@gmail.com>
8 years ago
Unknwon
3d93532c87
#3274 fix can't get webhook detail of organization
8 years ago
Unknwon
f1b8d52eb3
#2854 fix no mail notification when issue is closed/reopened
8 years ago
lstahlman
846bf2ca9f
Add timestamps to repository api response ( #3255 )
Additional properties: created_at, updated_at
8 years ago
lstahlman
12cb84b97f
Extend the API to include more repository properties ( #3249 )
Adds description, stars_count, forks_count, watchers_count and
open_issues_count.
8 years ago
Unknwon
d62ab49978
#3057 retrieve webhook with repo_id
This prevents user retrieve arbitrary webhook by changing URL to
access webhook from other unauthorized repositories.
8 years ago
Unknwon
4b25bdfbc4
#3058 #3059 support correct page size and link header
8 years ago
Unknwon
e9ae926e04
#809 fix wrong closed issue count when create closed issue via API
Add start count corrector for Repository.NumClosedIssues
8 years ago
Unknwon
bf5faf76eb
#809 able to set issue state to closed when create
8 years ago
Unknwon
d27ca649c7
api/admin: add/remove organization team repository
8 years ago
Unknwon
b1d41cfa60
#1692 add admin APIs to add/remove a user from teams
8 years ago
Unknwon
5e11341232
Fix status code
8 years ago
Unknwon
90e93b1f3a
Change list teams API to non-admin specific
8 years ago
Unknwon
e6f927f61a
#1692 api: admin list and create team under organization
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
d5a3021a7d
Make markdown as an independent module
8 years ago
Unknwon
995487e822
Minor fix for #2506
8 years ago
Antoine GIRARD
b7b30cd85e
Corrections following recommendations
8 years ago
Antoine GIRARD
81e5722bcc
Handling error for the API request and add commments
[ci skip]
8 years ago
Antoine GIRARD
303d091ea9
Update link for documentation (Temporary https://gist.github.com/sapk/df64347ff218baf4a277 )
[ci skip]
8 years ago
Antoine GIRARD
c11c3b6c11
Near ready
8 years ago
Unknwon
4331d1d2a0
require token for list my orgs
8 years ago
Unknwon
03427fb005
fix #2360
8 years ago
Unknwon
a49af93faf
#1692 APIs: Users Followers
- User profile un/follow
- List user's followers/following
9 years ago
Unknwon
1c9dd11ba7
#1692 API: admin create repo
9 years ago
Unknwon
9cd16c5b12
#1692 add organization APIs
9 years ago
Unknwon
b117befc2b
#1692 add user email APIs
9 years ago
Unknwon
19423957b1
rename import path
9 years ago
Unknwon
3d5d61778a
#1938 #1374 disable password change for non-local users
9 years ago
Unknwon
9a2e43bff2
move out git module and #1573 send push hook
9 years ago
Unknwon
120cd4e471
#1984 Better mirror repo management
9 years ago
Unknwon
ca8ce793d1
#2063 Ability to delete repo from admin panel
9 years ago
Unknwon
978dc00305
APIs: admin users
9 years ago
Unknwon
e538ff2770
fix #1829 and fix #890
9 years ago
Unknwon
942fd6be53
fix panic for #2045
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
2b10fdc4dc
Wiki: UI for page new
9 years ago
Unknwon
144663a3cf
allow admin to migrate for any user/org
9 years ago
Unknwon
f455125d4d
fix #878
9 years ago
Unknwon
ff5f14431e
fix #1448
9 years ago
Unknwon
f8ae161c74
fix #1302
9 years ago
Unknwon
6f0a41b8b2
#1511 Allow local import only for admin users
9 years ago