Commit Graph

162 Commits (8f1c311b903ba72ad3eee1c180ee0567757bede4)

Author SHA1 Message Date
Ethan Koenig 2342df183b API Endpoints for collaborators ()
Ethan Koenig 9847b38518 Organization webhook API endpoints
Bwko a345a03d99 Added sorting to the labels & milestones page ()
Ethan Koenig 8a4161c723 API Endpoint for watching ()
Kim "BKC" Carlbäcker df7fa4e995 issue comment api fix ()
* ListAllInRepo & Delete Issue-Comments

* Moar data in issue-comments
Denis Denisov 380e32e129 Fix random string generator ()
* Remove unused custom-alphabet feature of random string generator

Fix random string generator

Random string generator should return error if it fails to read random data via crypto/rand

* Fixes variable (un)initialization mixed assign
Update test GetRandomString
Lunny Xiao b4c794058a fixed vulnerabilities ()
Ethan Koenig 7b5b5178e1 Bug fix for edit-hook API endpoint
Ethan Koenig 04b9a7e7a2 Bug fixes for repo permissions in API
Also move duplicated code into repo.APIFormat(..)
Kim "BKC" Carlbäcker 0f05470cb8 [API] Pull Requests ()
Kim "BKC" Carlbäcker e8e0539b45 Linting
Kim "BKC" Carlbäcker e6cfccdd40 GitHub API Compliance (& linting)
Kim "BKC" Carlbäcker 71bb6df75a Add undocumented endpoint for /repositories/:id
Kim "BKC" Carlbäcker 42ec5ce740 Fix breakage from vendor-update
Lunny Xiao ec87a75c00 golint fixed for modules/auth
Lunny Xiao 94da472717 Golint fixed for modules/setting ()
* golint fixed for modules/setting

* typo fixed and renamed UNIXSOCKET to UnixSocket
Lunny Xiao faabc76fd6 Golint fixed for modules/context
Lunny Xiao 3917ed45de golint fixed for routers ()
Ethan Koenig 0834e492c0 API endpoints for stars
Sandro Santilli a1c5f02444 Fix import path of go-sdk ()
From code.gitea.io/go-sdk/gitea
  To code.gitea.io/sdk/gitea
Sandro Santilli 4247304f5a Update import paths from github.com/go-gitea to code.gitea.io ()
- 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
Sandro Santilli aadd7dcdc3 And others
Sandro Santilli 60c82a8780 More...
Sandro Santilli f388661bda ACCESS_MODE_* -> AccessMode*
Sandro Santilli 80eea77953 Use MixedCase constant names
See https://github.com/golang/go/wiki/CodeReviewComments#mixed-caps
Thomas Boerger 4c6c16f358
Replaced go-gogs-client with go-sdk imports
Sandro Santilli 6e4252dad4 Replace gogits/git-module dependency with go-gitea/git ()
* Replace gogits/git-module dependency with go-gitea/git

Fixes 

* Remove git alias for git module import (not needed)
Rémy Boulanouar 2d68bd1ef9 Change import reference to match gitea instead of gogs ()
Unknwon 99c2ae7b35 use alert instead 500 for duplicated login source name
Andrey Nering 9ac46fb983 Support Editorconfig on web editor
Unknwon 28cf0e6aaa code quality improvement
Unknwon 6b98d58906 code cleanup
Iwan Budi Kusnanto 8dca9f95fa issues comment API : list, create, edit ()
add `since` query string support to list issue comment
Unknwon f8a48ffaad Web editor: improve code quality
Kurt Madel 67fb0fe6a5 added support to set pull_request event from api ()
Unknwon 0b273ac4d5 code cleanup
lstahlman 84b56c3c53 Additional API support for milestones ()
Kim Carlbäcker 7c5710d31f Issues can be closed via API () ()
* Issues can be closed via API

* Error-checking is nice xD

* EditIssueOption.Status => State

* Use const instead of string-literal
Unknwon 4042d1f0c3 models/issue: improve quality and performance of NewIssue function
Unknwon dccb0c15b9 Replace convert.To with APIFormat calls
Unknwon 3f7f4852ef fully support of webhooks for pull request
Unknwon 2cb04db526 Fix
Robin Lambertz 5a9709fa9d Add MaxRepoCreation to EditUser API ()
Unknwon 7e9b42c87d code clean up
Robin Lambertz b6c14f8b21 Add AddCollaborator API Endpoint ()
* Add AddCollaborator API Endpoint

* Add optional Permission to AddCollaborator endpoint

* Use APIContext
lstahlman 89f71b44f7 Add committer information to API and Webhooks. Also fixes ()
Unknwon db3d393576 routers/api: rename handlers to be unexported
Unknwon 2f105f3979 completely disable builtin issue tracker when enable external tracker
Unknwon e7fd65f0cf better code structure and batch minor improvements
lstahlman 2eeb0ec9b0 Additional API support for labels ()
* Add API support for labels.

* Error handling for adding/replacing multiple issue labels

* Revisions to function names and error handling. Use issue.ClearLabels in replace/clear functions

* Additional code cleanup