evanchooly
178c9ff4d0
add support (most of) the release-related endpoints
2013-11-04 20:08:24 -05:00
Paul Butenko
c4e0729b7d
GHCOmpare reverted, getCommit changed to getCommitShortInfo
2013-08-17 01:09:55 +03:00
Paul Butenko
eee9f0ace5
Original formating restored
2013-08-17 00:48:42 +03:00
Paul Butenko
d0692458a3
New model for short info of the commit was added
2013-08-17 00:41:45 +03:00
Kohsuke Kawaguchi
c6fafe453f
Cleaned up the authentication part of the code
2013-04-23 10:04:20 -07:00
watsonian
e6c82e2003
Stop using deprecated API tokens for Enterprise.
...
Authentication by API token is deprecated and doesn't work anymore.
Instead, authentication should be done via OAuth token now.
2013-04-19 16:27:09 -07:00
johnou
8ba61bb3a6
Revert 2ef5dec466 and add source encoding to deter build warnings.
2013-01-24 17:31:43 +01:00
johnou
2ef5dec466
Temporary change for release.
2013-01-24 17:20:16 +01:00
Kohsuke Kawaguchi
2e074b5bc4
follow up fix to the pull request #28
2013-01-06 16:25:02 -08:00
Johno Crawford
560e3c257a
Refactored test.
2013-01-06 16:25:02 -08:00
Johno Crawford
6e0202fa0b
Added membership checks.
2013-01-06 16:25:01 -08:00
Kohsuke Kawaguchi
6480dde247
oops test failures
2013-01-05 17:15:46 -08:00
Kohsuke Kawaguchi
13158a28e1
turns out we never exposed the ability to specify the custom URL.
...
So no backward compatibility provision is needed.
Also in this change, I stopped exposin the password. See the code comment for more details
2013-01-05 17:10:24 -08:00
Kohsuke Kawaguchi
cbaca87bbc
massaging this a bit to accept the full URL
2013-01-05 16:08:42 -08:00
johnou
35d45ca47d
JENKINS-13726: Github plugin should work with Guthub enterprise by allowing for overriding the github URL.
2013-01-06 00:47:44 +01:00
Kohsuke Kawaguchi
87f5231c9a
updated a test
2012-09-13 16:28:50 -07:00
Kohsuke Kawaguchi
7f15f12668
completed code to create a new issue
2012-09-13 16:23:06 -07:00
Kohsuke Kawaguchi
e53e62bfa0
added code to create a new issue
2012-09-13 15:56:05 -07:00
Kohsuke Kawaguchi
2e74517a4a
fixed issue #20
...
PagedIterator is updated to cope with the base iterator returning array of length 0
2012-09-13 15:46:25 -07:00
Kohsuke Kawaguchi
3e75e96718
adding an assertion
2012-09-05 19:26:25 -07:00
Kohsuke Kawaguchi
1dd875adac
adding lazy population to GHUser and got rid of GHSmallUser
2012-09-05 19:25:56 -07:00
Kohsuke Kawaguchi
d6d73f5165
A step toward using Poster in place of the retrieve* methods.
...
I was trying to add the flavor of the retrieve method that reads into an existing instance, when I realized that there are just too many orthogonal axes here to rely on overloaded methods.
That calls for a builder pattern, which we already have --- it's called Poster, but it can actually already handle GET and other HTTP requests.
So I'm retiring the retrieveXYZ methods and moving the code into Poster. This is the first step.
2012-09-05 18:53:06 -07:00
Kohsuke Kawaguchi
3f1bb1a214
completed the commit status API
2012-09-05 18:00:50 -07:00
Kohsuke Kawaguchi
8f95c4f179
Massaging the pull request 15.
...
- we need to maintain the binary compatibility, so I reverted
getPullRequests and added listPullRequests that exposes PagedIterable.
- Made PagedIterator expose asList.
2012-08-28 09:39:49 -07:00
Aurélien Thieriot
9fd34aec7f
Paging GHPullRequests getter and allow to transform iterator to a list
2012-08-12 13:01:42 +02:00
Kohsuke Kawaguchi
c9cd0a4d1f
added a simple CRUD test
2012-06-18 12:50:47 -07:00
Kohsuke Kawaguchi
21aa669503
redundant test case
2012-06-18 12:24:30 -07:00
Kohsuke Kawaguchi
8ec2686e72
getName() is null with shallow retrieval
2012-06-13 08:12:18 -07:00
Kohsuke Kawaguchi
4411650c5a
additional tweaks
2012-06-12 14:25:08 -07:00
Kohsuke Kawaguchi
057c32d410
added API to retrieve rate limit.
2012-06-04 10:08:31 -07:00
Kohsuke Kawaguchi
9ba74b945d
added permission check methods
2012-05-21 22:40:43 -07:00
Kohsuke Kawaguchi
c7e9650a39
added code to list up public keys
2012-05-21 22:15:34 -07:00
Kohsuke Kawaguchi
0b69743792
added comment deletion
2012-04-24 17:17:35 -07:00
Kohsuke Kawaguchi
dd54a00172
added update
2012-04-24 17:13:48 -07:00
Kohsuke Kawaguchi
b5514b891a
added a method to create a new commit comment
2012-04-24 17:06:23 -07:00
Kohsuke Kawaguchi
31a6eca97f
added commit comment support
2012-04-24 16:54:05 -07:00
Kohsuke Kawaguchi
39631461ae
added list commits
2012-04-24 16:30:01 -07:00
Kohsuke Kawaguchi
a124d7f714
added some tests
2012-04-24 16:16:13 -07:00
Kohsuke Kawaguchi
7433ed968e
monkey test code
2012-04-12 11:05:18 -07:00
Kohsuke Kawaguchi
6372337456
Use gzip to improve transfer performance
2012-04-11 15:44:04 -07:00
Kohsuke Kawaguchi
7e799d02e3
Added test-ish
2012-04-11 09:29:28 -07:00
Kohsuke Kawaguchi
27701a75d9
Migrating to the V3 API
2012-04-10 13:03:55 -07:00
Kohsuke Kawaguchi
23069ac2fc
Using map to enable lookup by name.
2012-04-06 08:24:41 -07:00
Frederik Fix
aac30b923c
implement listing of branches
2012-04-05 16:21:24 +02:00
Kohsuke Kawaguchi
facb5bd13e
Added API to handle emails.
2012-03-08 12:47:11 -08:00
Kohsuke Kawaguchi
e8ff7a4ae8
updated to use V3 API
2012-02-12 08:11:15 -08:00
Kohsuke Kawaguchi
748cbdd03b
doc improvement
2012-01-08 18:30:20 -08:00
Kohsuke Kawaguchi
a4026d46ce
after an experiment, revisiting the design
2012-01-08 18:30:19 -08:00
Kohsuke Kawaguchi
4a507a5625
adding event support
2012-01-08 18:30:19 -08:00
Kohsuke Kawaguchi
46b2e5dd32
bug fix
2012-01-02 10:46:54 -08:00