Commit graph

169 commits

Author SHA1 Message Date
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
Thomas Boerger
46f52f751d Merge pull request #27 from ethantkoenig/collaborators
Functions for Collaborators
2016-12-22 09:11:55 +01:00
Ethan Koenig
54a391b88f Functions for Collaborators 2016-12-21 11:05:53 -05:00
Martin Hebnes Pedersen
76837c0ea4 Backward compatibility (username vs. login)
Reintroduce the username field for user object on JSON marshal to fix backward
compatibility. Fixes Drone 0.4 compatibility issues.
2016-12-16 01:08:43 +01:00
Ethan Koenig
559190dbdc EditTeamOption struct (#25) 2016-12-08 10:20:10 +08:00
Andrey Nering
cb7fc56b77 Merge pull request #24 from go-gitea/contributing
Fixed typos on CONTRIBUTING based on work of @thehowl
2016-12-05 12:50:08 -02:00
Thomas Boerger
de97ab33a3
Fixed typos on CONTRIBUTING based on work of @thehowl 2016-12-05 09:57:11 +01:00
Andrey Nering
66ffbf1227 Merge pull request #23 from go-gitea/maintainers
Added real name of Bwko to maintainers file
2016-12-01 13:03:08 -02:00
Thomas Boerger
383f4c728f
Added real name of Bwko to maintainers file
Signed-off-by: Thomas Boerger <tboerger@suse.de>
2016-12-01 10:24:36 +01:00
Kim "BKC" Carlbäcker
140df7f34c Tag-hooks are useless without the shasum (#21) 2016-11-29 15:37:12 +08:00
Matthias Loibl
ffa84633f3 Merge pull request #20 from go-gitea/maintain-contribute
Project unification, updates for contributors guide and github files
2016-11-28 20:44:27 +01:00
Thomas Boerger
1592763c90
Add a pragraph to the k8s PR guide to contributors guide 2016-11-28 16:58:06 +01:00
Thomas Boerger
e017a1452d
Dropped new lines from contributing, some rewording and reformatting 2016-11-28 14:35:54 +01:00
Thomas Boerger
c786720ca7
Updated maintainers file to latest status 2016-11-28 14:35:04 +01:00
Thomas Boerger
deded4c243
Dropped always outdated contributors file, link to it the graph on readme 2016-11-28 14:34:05 +01:00
Thomas Boerger
4b4c7fa2e7
Unified GitHub templates accross all projects 2016-11-28 14:28:39 +01:00
Thomas Boerger
b05f416358
Unified editorconfig accross all projects 2016-11-28 14:27:57 +01:00
Kim "BKC" Carlbäcker
00c2780dfb Merge pull request #8 from go-gitea/fix/issue-endpoints
Implement more Issue endpoints
2016-11-28 07:49:13 +01:00