Kohsuke Kawaguchi
688d8ed7bc
Added databinding for files
2014-05-10 14:11:41 -07:00
Kohsuke Kawaguchi
25d426f483
Bug fix based on tests
2014-05-10 14:03:12 -07:00
Kohsuke Kawaguchi
9d91ebc47a
Not sure why tests weren't in the right package
2014-05-10 13:53:13 -07:00
Kohsuke Kawaguchi
c564dc5f29
All tests should use the secondary account
2014-05-10 12:47:28 -07:00
Kohsuke Kawaguchi
d64453b661
Fixing tests
2014-05-10 12:44:52 -07:00
Kohsuke Kawaguchi
834ed7db0e
Merge branch 'pull-84'
2014-05-10 12:42:34 -07:00
Kohsuke Kawaguchi
db1dde533f
Updated tests to use a separate account
2014-05-10 12:42:19 -07:00
Kohsuke Kawaguchi
9c66d9465e
Added removal of release
2014-05-10 12:27:18 -07:00
Kohsuke Kawaguchi
8c193d004e
Updated test cases to reflect my changes
2014-05-10 12:11:20 -07:00
Kohsuke Kawaguchi
a409b4f49c
Merge branch 'pull-86'
...
Conflicts:
src/main/java/org/kohsuke/github/GHOrganization.java
src/main/java/org/kohsuke/github/Requester.java
src/test/java/org/kohsuke/AppTest.java
2014-05-09 18:30:59 -07:00
Kohsuke Kawaguchi
926776204b
Implemented the builder pattern to my liking
2014-05-09 18:28:34 -07:00
Kohsuke Kawaguchi
926e0ea0e5
added more tests.
...
Looks like org APIs only work for owners of the org
2014-05-09 17:55:53 -07:00
Kohsuke Kawaguchi
aaf10aa118
added a test
2014-05-09 17:53:08 -07:00
Francois Berthault
2e5a9479a8
create a Release & Branch
2014-04-21 10:45:10 +02:00
Kohsuke Kawaguchi
320cf0fea2
Seeing a failure to create
2014-03-28 10:58:41 -07:00
Kohsuke Kawaguchi
0261f1262f
fixed a test case
2014-03-28 10:58:41 -07:00
Kohsuke Kawaguchi
e13b1ffc48
looks like the 'tire' repository is gone
2014-03-28 10:11:15 -07:00
Kohsuke Kawaguchi
10bafce217
fixed a test
2014-03-28 10:08:08 -07:00
Kohsuke Kawaguchi
4817969495
fixed a broken test
2014-03-28 10:06:50 -07:00
Kohsuke Kawaguchi
2feda55eb7
looks like we need to pick another user here
2014-03-28 10:01:59 -07:00
Kohsuke Kawaguchi
a74cfd453a
Added support for getting issues by milestone and state.
...
rework AppTest to work better for people other than kohsuke
This patch was originally from @evanchooly. Reworked to avoid whitespace
changes.
2014-03-28 09:57:04 -07:00
Kohsuke Kawaguchi
7d1f636cdd
Recover from earlier test failures
2014-01-01 21:12:17 -08:00
Matt Farmer
f3207855ca
Implement a CRUD integration test for the content api.
2013-11-28 09:45:54 -05:00
Alexandre COLLIGNON
925d26e54c
Add GitHub Contents API read methods
2013-11-27 22:35:41 -05:00
endeavor85
4188758d84
Use PagedIterator<GHIssue> to retrieve repository issues. Overcomes
...
default 30 item page size limit.
2013-11-24 02:54:18 -06:00
Kohsuke Kawaguchi
63d0d13330
Better and more secure to use OAuth.
2013-11-09 15:17:01 -08:00
Kohsuke Kawaguchi
ff9b538a49
doc touch up
2013-11-09 15:11:02 -08:00
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