Commit graph

536 commits

Author SHA1 Message Date
Ethan Koenig
fc9011e1a1 Require password when creating user (#74) 2017-10-02 08:08:12 +03:00
David Schneiderbauer
60c60488f2 add @daviian as maintainer (#72)
Signed-off-by: David Schneiderbauer <dschneiderbauer@gmail.com>
2017-09-20 09:08:16 +08:00
CTllo
2a89a15ce3 Fix request URL in ServerVersion function (#71)
"api/v1"  is useless, it is already included in func (c *Client)getParsedResponse
2017-09-13 11:13:23 +03:00
Thomas Boerger
efc028eef5 Merge pull request #70 from go-gitea/drone-upgrade
Changes for latest DroneCI
2017-09-07 19:16:44 +02:00
Thomas Boerger
de5155068d
Changes for latest DroneCI 2017-09-07 19:11:38 +02:00
Stefan Lacatus
11e0aa8cd4 Added read-only attachments to the Releases API (#63)
* Added assets (attachments) to the releases.

- Added three new endpoints to the release api for attachments.
 - List assets: GET /repos/:owner/:repo/releases/:id/assets
 - Get single asset: GET /repos/:owner/:repo/releases/assets/:id
 - Get /repos/:owner/:repo/releases/latest` that gets  the latest published full release for the repository. Draft releases and prereleases are not returned by this endpoint.

Signed-off-by: Petrisor Lacatus <placatus@ptc.com>
2017-08-23 23:38:18 +02:00
Antoine GIRARD
bc243ad6c2 Improve swagger doc (#67)
* Add some swagger response type

* Add some swagger parameters

* Add some swagger parameters

* Use HookList in place of []*Hook
2017-08-21 16:23:17 +08:00
Jonas Franz
82df6bc38d Improving swagger doc @ Feature/timetracker (#69)
* Changing swagger:response to swagger:parameters

* Moving in:body to Time
2017-08-13 23:36:03 +03:00
Patrick G
90a25c110c Comment help text for issues (#68) 2017-08-09 07:26:27 +08:00
Jonas Franz
c7c050c877 Feature/timetracker (#65)
* Adding time tracker api
* Adding swagger support
* Adding GetMyTrackedTimes
* Adding swagger support
* Fixed package collision
* Adding documentation
* Replacing []*TrackedTime with TrackedTimes
* Adding GetRepoTrackedTimes
* Changing endpoint of GetUserTrackedTimes

See go-gitea/gitea/pull/2211

Signed-off-by: Jonas Franz <email@jfdev.de>
2017-07-28 09:12:22 +03:00
Antoine GIRARD
9990008755 Fix typo (#64) 2017-07-08 22:16:14 +08:00
Bo-Yi Wu
0ccfe01abb switch gitter to discord for drone. (#62)
* switch gitter to discord for drone.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>

* add changed status

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-06-16 10:46:36 +08:00
Andrey Nering
4f26b8d84e Merge pull request #61 from cez81/cez81_as_maintainer
Add myself as maintainer
2017-06-12 10:21:39 -03:00
Jonas Östanbäck
5d11de049c Add myself as maintainer 2017-06-12 13:18:48 +02:00
Bo-Yi Wu
0773f62d7c replace gitter chat with discord. (#60) 2017-06-11 09:18:50 +02:00
guyzmo
8cff72208a Added Parent property to the repo API (#59)
Signed-off-by: Guyzmo <guyzmo+github+pub@m0g.net>
2017-05-06 09:37:21 +08:00
Lauris BH
1350cdb0d0 Add @lafriks as maintainer (#57) 2017-05-04 19:35:58 +02:00
Lauris BH
59cdd51b9b Add new field "Empty" to Repository structure (#56)
* Add new field "Empty" to Repository structure

* Fix Empty type to bool

* Add Size property to Repository structure
2017-05-04 21:38:15 +08:00
Ethan Koenig
a39112334b Support for repo creation/deletion webhooks (#55) 2017-05-04 11:19:40 +08:00
Jonas Östanbäck
e1c76d42f2 Add /repos/:owner/:repo/mirror-sync (#54) 2017-05-02 23:01:11 +08:00
Antoine GIRARD
d2f87fd3f9 Add swagger descriptions and needed structs (#53)
* Add swagger descriptions and needed structs

* Remove missed TODO comment
2017-04-30 23:33:16 +08:00
Jonas Östanbäck
0c3a0b0b5e Add created_at and updated_at in PR json (#52) 2017-04-27 08:40:26 +08:00
Antoine GIRARD
01c61b83ae Adding myself to maintainers (#51) 2017-04-16 20:38:44 +08:00
Bo-Yi Wu
58bcff5dcc duplicated of json field (#47)
* duplicated of json field

* update json field name.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-04-16 07:07:55 +08:00
Antoine GIRARD
cad003b491 Migrate WatchInfo + add some methods (#50) 2017-04-15 22:32:48 +08:00
Kim "BKC" Carlbäcker
1bec42c930 Status-API (#49)
* Initial support for Status-API

* Linting and Copyright Notice

* gofmt by hand 

Look maa'! No hands!
2017-03-22 12:44:28 +08:00
Funzi
80778ed092 fixed backend path for CreateIssueComment (#46) 2017-03-13 09:37:12 +08:00
Thomas Boerger
9ceaabb8c7 Merge pull request #45 from sapk-fork/add-commit-payload-verification
Add the verification payload in commits.
2017-03-09 23:08:57 +01:00
Antoine GIRARD
4878372177 Add missing ListGPGKeys of a user (#44) 2017-03-09 09:32:59 +08:00
Antoine GIRARD
9da3bab000
Add the verification payload in commits.
Follow :
- https://developer.github.com/v3/git/commits/
- https://developer.github.com/v3/repos/commits/
2017-03-08 18:22:43 +01:00
Thomas Boerger
8807a1d2ce Merge pull request #43 from typeless/server-version
Add new API 'ServerVersion'
2017-03-04 11:22:44 +01:00
Mura Li
439ea6ca75 Add comment for exported struct and method 2017-03-03 22:55:14 +08:00
Mura Li
ec03aeb834 Add new API 'ServerVersion' 2017-03-03 22:45:18 +08:00
Andrew Boyarshin
577184279b Introduce Wiki markdown API option (#42)
Amended with string to bool change.

Signed-off-by: Andrew Boyarshin <andrew.boyarshin@gmail.com>
2017-02-24 23:00:14 +08:00
Aaron Walker
06902fe195 expose url field in issues and pull requests (#39) 2017-02-19 19:17:32 +08:00
Thomas Boerger
c662dd0303 Merge pull request #41 from andreynering/api-repo-mirror
Add "mirror" field to repo
2017-02-19 11:10:49 +01:00
Andrey Nering
4d46bf4f5e Add "mirror" field to repo 2017-02-18 14:09:11 -02:00
Morgan Bazalgette
87b8065c0d Issue webhook payload (#38)
* Add Issue webhook payload

* Add copyright header

* Whoops, wrote license header in wrong file...

* Move fields of PR/Issue payload to BaseIssuePayload

* Fix license header

* remove BaseIssuePayload

* Add comment to IssuePayload.JSONPayload

* Fix comment mentioning IssuePayload

* Reorder structs

* Mimic GitHub webhooks

Since the Gitea webhooks currently mimic for a big part the way GitHub does webhook, issue comments HookIssueActions have been removed to be added again at a later stage and milestone_set and milestone_cleared have been changed to milestoned and demilestoned, respectively.

* Change also constant names
2017-02-13 19:50:09 +08:00
Thomas Boerger
014bf8c4f2 Merge pull request #37 from Bwko/contrib
Update contributing & maintainers file
2017-01-24 22:05:04 +01:00
Bwko
19ee043d37
Update contributing & maintainers file 2017-01-24 21:35:11 +01:00
Antoine GIRARD
f5de21caad Implement GPG related api (#36)
* Implement method for calling gpg related api
2017-01-21 03:24:48 +01:00
Bo-Yi Wu
9bd560d642 update maintainer list for LGTM 2017-01-03 02:34:47 +01:00
Ethan Koenig
61a9dda39e Rename gitea/releases.go -> gitea/release.go (#34) 2017-01-01 10:20:21 +08:00
Bwko
2064cc397b Replace pull request with issue at issue_template (#33) 2016-12-31 22:43:27 +08:00
Ethan Koenig
5266f2bd7b Functions for releases 2016-12-31 10:19:50 +01:00
Bo-Yi Wu
2487ebd26e replac go fmt with gofmt command.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-12-31 10:19:06 +01:00
Thomas Boerger
c0e081342a Merge pull request #30 from ethantkoenig/forks
Functions for forks
2016-12-29 10:40:42 +01:00
Ethan Koenig
0b35be3070 Functions for forks 2016-12-27 11:21:16 -05:00
Ethan Koenig
d628d07f73 Webhook functions for organizations (#26) 2016-12-24 10:50:46 +08:00
Matthias Loibl
24b59f8965 Don't trim trailing whitespaces for markdown (#29) 2016-12-24 09:53:34 +08:00