Kohsuke Kawaguchi
715192d26c
[maven-release-plugin] prepare release github-api-1.75
github-api-1.75
2016-04-13 13:07:58 -07:00
Kohsuke Kawaguchi
d30b0403ce
[maven-release-plugin] prepare for next development iteration
2016-03-18 19:22:37 -07:00
Kohsuke Kawaguchi
255c993548
[maven-release-plugin] prepare release github-api-1.74
github-api-1.74
2016-03-18 19:22:34 -07:00
Kohsuke Kawaguchi
557ae4165c
Not important
2016-03-18 19:19:51 -07:00
Kohsuke Kawaguchi
a31395ed80
Signature fix for Java5
2016-03-18 19:15:52 -07:00
Kohsuke Kawaguchi
397886d289
Excluding a flaky test
2016-03-18 19:08:51 -07:00
Kohsuke Kawaguchi
7307bec2ae
Merge pull request #259 from Shredder121/animal-sniffer
...
Animal sniffer
2016-03-18 18:27:22 -07:00
Ruben Dijkstra
0cd5147e1a
Java 5 doesn't have TimeUnit.HOURS
...
http://docs.oracle.com/javase/1.5.0/docs/api/java/util/concurrent/TimeUnit.html
2016-03-12 22:01:25 +01:00
Ruben Dijkstra
36d5b092d7
Java 5 doesn't have new String(byte[], Charset)
...
http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html
2016-03-12 21:59:51 +01:00
Ruben Dijkstra
f9014dbab3
Convert to legacy Throwable.initCause()
2016-03-12 21:58:27 +01:00
Ruben Dijkstra
755d5f77ea
Java 5 doesn't have Arrays.copyOf()
...
http://docs.oracle.com/javase/1.5.0/docs/api/java/util/Arrays.html
2016-03-12 21:56:56 +01:00
Ruben Dijkstra
906d9af7b7
Include the animal sniffer plugin
...
7a78f9f5aa set the compiler level back to 5, but there are no guarantees that we don't accidentally use any features from newer class libraries.
2016-03-12 21:48:50 +01:00
Kohsuke Kawaguchi
14dcb37ee1
Not all caller wants GET
2016-03-11 23:29:58 -08:00
Kohsuke Kawaguchi
c1c2a27358
Doc improvement
2016-03-11 23:21:07 -08:00
Kohsuke Kawaguchi
5ab9657f9c
Merge branch 'master' of github.com:kohsuke/github-api
2016-03-11 23:16:37 -08:00
Kohsuke Kawaguchi
7a78f9f5aa
No need to require 1.6
2016-03-11 23:16:24 -08:00
Kohsuke Kawaguchi
ac8c65f062
Merge pull request #251
...
Conflicts:
src/main/java/org/kohsuke/github/GitHub.java
2016-03-11 23:14:01 -08:00
Kohsuke Kawaguchi
1954a9f3f8
This isn't just about API URL but it also checks the valid credential
2016-03-11 23:12:50 -08:00
Kohsuke Kawaguchi
3b764f9c90
Don't lose the original problem
2016-03-11 23:11:22 -08:00
Kohsuke Kawaguchi
10f55cc549
Checking another header
...
I think it's better to pick a header that's unique to GitHub.
2016-03-11 23:10:41 -08:00
Kohsuke Kawaguchi
cd8d955646
Documenting what one gets
2016-03-11 23:06:21 -08:00
Kohsuke Kawaguchi
bba07c9080
Merge pull request #253 from cyrille-leclerc/fix-infinite-loop
...
Fix #252 : infinite loop because the "hypertext engine" generates invalid URLs
2016-03-11 22:59:00 -08:00
Kohsuke Kawaguchi
dba84a33b9
Logger should be static
2016-03-11 22:55:58 -08:00
Kohsuke Kawaguchi
ae49166aa2
No such parameter exists on this method
2016-03-11 22:55:44 -08:00
Kohsuke Kawaguchi
e09185fd0e
Logger should be static
2016-03-11 22:51:48 -08:00
Cyrille Le Clerc
56379bb3b9
Fix broken log message in GitHub.java and cleanup code as recommended by @jglick
2016-03-07 19:25:42 +01:00
Cyrille Le Clerc
027e4b4f25
Better error message: introduce HttpException, subclass of IOException with url, http responseCode and http responseMessage to help exception handling.
2016-03-06 18:34:27 +01:00
Cyrille Le Clerc
ba951cb6e3
Fix #252 : infinite loop because the "hypertext engine" may duplicate '?' generating invalid " https://api.github.com/notifications?all=true&page=2?all=true " instead of " https://api.github.com/notifications?all=true&page=2&all=true ". A better fix will be to prevent duplication of parameters ("all=true" in this case).
2016-03-06 18:27:05 +01:00
Manuel Recena
ae85cf4b6c
Improve checkApiUrlValidity() method to support the private mode in GitHub Enterprise servers
2016-03-05 17:42:25 +01:00
Kohsuke Kawaguchi
dbc79f8c42
Fixing issue raised in https://github.com/kohsuke/github-api/pull/247
...
From Shredder121,
--------------------
Only the HttpURLConnection.method was set by that change. Not the
Requester.method.
This means that Requester.method is still set to POST, isMethodWithBody
will return true, and uc.setDoOutput(true) will be called.
I use Okhttp, and their HttpURLConnectionImpl's method changes to POST
if you tell it to open a stream to write to.
2016-03-01 19:46:50 -08:00
Kohsuke Kawaguchi
54c3070607
[maven-release-plugin] prepare for next development iteration
2016-02-29 21:03:34 -08:00
Kohsuke Kawaguchi
013eaa30b6
[maven-release-plugin] prepare release github-api-1.73
github-api-1.73
2016-02-29 21:03:31 -08:00
Kohsuke Kawaguchi
751043bf81
change in the markup generated
2016-02-29 21:01:18 -08:00
Kohsuke Kawaguchi
14f7198a07
Handle "all" webhook correctly
...
This fixes #250
2016-02-29 20:56:47 -08:00
Kohsuke Kawaguchi
94af819ae5
Merge pull request #249 from zapelin/master
...
Added getHtmlUrl() to GHCommit
2016-02-29 20:48:19 -08:00
Kohsuke Kawaguchi
dbcc9afbc7
Merge pull request #248 from daniel-beck/populate-commit
...
Populate commit with data for getCommitShortInfo
2016-02-29 20:47:52 -08:00
Kohsuke Kawaguchi
8556033ae6
Merge pull request #245 from daniel-beck/email-hook-error
...
Fix error when creating email service hook
2016-02-29 20:45:40 -08:00
Kohsuke Kawaguchi
650493f863
Merge pull request #244 from benbek/patch-1
...
Minor amendment to the documentation
2016-02-29 19:57:47 -08:00
Kohsuke Kawaguchi
d80ad77871
Use builder pattern to support all the other options
2016-02-29 19:57:16 -08:00
Artem Gubanov
f4b129b9f1
Added getHtmlUrl() to GHCommit
2016-02-25 10:46:17 +02:00
Daniel Beck
c0a05e0650
Populate commit with data for getCommitShortInfo
2016-02-21 01:26:43 +01:00
Daniel Beck
33d95d3e3a
Fix error when creating email service hook
2016-01-20 23:30:10 +01:00
benbek
f573f83fb9
Amendment to the documentation
...
The status reported by GitHub for deleting a file is actually "removed", not "deleted".
2016-01-19 00:05:01 +02:00
Daniel Lovera
e94c36b7e6
clean: remove unused import
2015-12-13 21:05:36 +01:00
Daniel Lovera
c879e9e34d
Support for auto_init parameter in organization
...
The GitHub api auto_init parameter allows to initialize created repository with a readme file.
Add createRepository methods in GHOrganization using auto_init parameter. Already existing createRepository methods use auto_init parameter as false for retro-compatibility.
2015-12-13 21:00:40 +01:00
Daniel Lovera
ac39b564a8
Support for auto_init parameter
...
The GitHub api auto_init parameter allows to initialize created repository with a readme file.
Add a createRepository method using auto_init parameter. Already existing createRepository method uses auto_init parameter as false for retro-compatibility.
2015-12-13 20:59:49 +01:00
Kohsuke Kawaguchi
d91388aba4
[maven-release-plugin] prepare for next development iteration
2015-12-10 07:00:06 -08:00
Kohsuke Kawaguchi
733d78abdd
[maven-release-plugin] prepare release github-api-1.72
github-api-1.72
2015-12-10 06:59:37 -08:00
Kohsuke Kawaguchi
d5809e375c
Simplification via enum handling in 'req.with'
2015-12-10 06:33:49 -08:00
Kohsuke Kawaguchi
2440a676bd
Added more comprehensive API to list pull requests
...
This fixes issue #234
2015-12-10 06:26:04 -08:00