Liam Newman
16d8c2b221
Remove Symmetra preview
2019-12-19 13:50:18 -08:00
Gavin Mogan
dceecbef0a
Labels with description are not preview anymore
...
https://developer.github.com/v3/issues/labels/#create-a-label
2019-12-19 13:50:07 -08:00
PauloMigAlmeida
650340fcb3
Fix example on the docs
...
Signed-off-by: PauloMigAlmeida <paulo.miguel.almeida.rodenas@gmail.com >
2019-12-20 01:47:39 +13:00
PauloMigAlmeida
ce5b893224
Add example on the docs
...
Signed-off-by: PauloMigAlmeida <paulo.miguel.almeida.rodenas@gmail.com >
2019-12-20 01:44:09 +13:00
PauloMigAlmeida
7869afa4ff
Implement test for createToken method with no json property
...
Signed-off-by: PauloMigAlmeida <paulo.miguel.almeida.rodenas@gmail.com >
2019-12-20 01:09:34 +13:00
Paulo Miguel Almeida
9085606082
Fix GHObjectTest test broken on PR #644
...
Signed-off-by: PauloMigAlmeida <paulo.miguel.almeida.rodenas@gmail.com >
2019-12-20 00:08:23 +13:00
Paulo Miguel Almeida
1e3f646814
Refactor GHAppCreateTokenBuilder;
...
Add docs;
Signed-off-by: PauloMigAlmeida <paulo.miguel.almeida.rodenas@gmail.com >
2019-12-20 00:05:31 +13:00
PauloMigAlmeida
933f0cb4b8
Merge branch 'master' of https://github.com/github-api/github-api into issue_628
...
Conflicts:
src/main/java/org/kohsuke/github/GHAppCreateTokenBuilder.java
2019-12-19 22:59:44 +13:00
PauloMigAlmeida
7497761fcc
Implement create token variation
2019-12-19 19:42:22 +13:00
Liam Newman
12b3d4ec7a
Merge branch 'master' into marketplace_endpoints
2019-12-17 17:27:10 -08:00
Liam Newman
8fd5ed57c4
Merge pull request #644 from martinvanzijl/issue_126_add_type_and_site_admin_fields
...
Add type and site_admin fields to GHPerson
2019-12-17 17:23:54 -08:00
Liam Newman
30321d3a0e
Update coverage excludes and bars
2019-12-17 17:16:23 -08:00
Liam Newman
511a0ae503
Exclude deprecated classes
2019-12-17 17:16:22 -08:00
Liam Newman
1057636666
Add wiremock data
2019-12-17 17:16:22 -08:00
Liam Newman
564b1d2a98
Enable event tests
2019-12-17 17:16:22 -08:00
Liam Newman
20cd0e2de2
Turn Traffic tests back on
2019-12-17 17:16:22 -08:00
Liam Newman
049db83423
Merge remote-tracking branch 'github-api/master' into task/iterator
2019-12-17 14:35:37 -08:00
Liam Newman
52dd90e85d
Additional tweaks to reduce the number of code paths
2019-12-17 14:15:38 -08:00
Liam Newman
305267d07f
Rename methods for better clarity
2019-12-17 12:41:23 -08:00
Liam Newman
20369aa1b5
Merge pull request #622 from alexanderrtaylor/GHEventAddition
...
[JENKINS-57430] Added some new GH Event Types
2019-12-17 11:32:45 -08:00
Liam Newman
40f05e4dbb
Clean up request method calls
2019-12-17 10:02:55 -08:00
Alex Taylor
4f67f32719
Update src/main/java/org/kohsuke/github/GHCheckRun.java
2019-12-16 14:53:38 -05:00
Alex Taylor
a80b5b6abc
Fixed the findbugs errors
2019-12-14 15:38:34 -05:00
Martin van Zijl
ee2dde4cd1
Add type and site_admin fields to GHPerson.
...
Helps with #126 .
2019-12-14 07:24:23 +13:00
Anirudh Mathad
d6a846f58d
Post only non-null values in request body for createTree
2019-12-11 15:25:24 -08:00
PauloMigAlmeida
5dc494978e
Implement tests
...
Signed-off-by: PauloMigAlmeida <paulo.miguel.almeida.rodenas@gmail.com >
2019-12-10 13:21:52 +13:00
PauloMigAlmeida
c870ec10c0
Implement /user/marketplace_purchases endpoint
...
Signed-off-by: PauloMigAlmeida <paulo.miguel.almeida.rodenas@gmail.com >
2019-12-10 13:21:06 +13:00
PauloMigAlmeida
2085b8fd14
Split GHMarketplaceAccount.java into 2 pieces for re-utilisation purposes
...
Signed-off-by: PauloMigAlmeida <paulo.miguel.almeida.rodenas@gmail.com >
2019-12-10 13:19:19 +13:00
PauloMigAlmeida
e065b6435c
improve docs related to credentials requirements for some methods
...
Signed-off-by: PauloMigAlmeida <paulo.miguel.almeida.rodenas@gmail.com >
2019-12-09 20:59:03 +13:00
PauloMigAlmeida
da5331ceb0
Additional tests for list accounts with a few parameters combinations
...
Signed-off-by: PauloMigAlmeida <paulo.miguel.almeida.rodenas@gmail.com >
2019-12-09 20:07:32 +13:00
PauloMigAlmeida
8f81982de4
Add tests for listing GitHub marketplace accounts
...
Signed-off-by: PauloMigAlmeida <paulo.miguel.almeida.rodenas@gmail.com >
2019-12-09 19:36:13 +13:00
PauloMigAlmeida
499b46ecf3
Implement listing all GitHub Marketplace accounts given a plan
...
Signed-off-by: PauloMigAlmeida <paulo.miguel.almeida.rodenas@gmail.com >
2019-12-09 15:53:46 +13:00
PauloMigAlmeida
a7d232e15f
formatting improvements
...
Signed-off-by: PauloMigAlmeida <paulo.miguel.almeida.rodenas@gmail.com >
2019-12-08 20:26:37 +13:00
PauloMigAlmeida
8fdb394ec5
Implement list marketplace plans
...
Signed-off-by: PauloMigAlmeida <paulo.miguel.almeida.rodenas@gmail.com >
2019-12-08 20:13:54 +13:00
Liam Newman
7e4f98d328
Remove dependency on apache commons-codec
2019-12-03 11:39:05 +00:00
Alex Taylor
bc8f0aa223
Update GHEventPayload.java
...
updated to meet standards
2019-11-27 15:18:43 -05:00
Alex Taylor
8f787e9976
Added the Check Run event
...
Added the check run event and the objects used there along with a valid test
2019-11-27 13:30:45 -05:00
Adrien Lecharpentier
39e7c5c3de
Fixed CacheControl package name
...
With okhttp 3, the package name changed. In the okhttp3.OkHttpConnector,
the incorrect class is loaded, creating a ClassNotFoundException at
runtime when okhttp3 only is loaded.
2019-11-27 18:30:06 +01:00
Liam Newman
b3d79622e6
Fix lifecycle test to not fail during release
2019-11-26 17:46:49 -08:00
Liam Newman
0f9482864c
Move url to separate method
2019-11-26 15:26:46 -08:00
Liam Newman
60700d59fe
Force URI encoding for api paths starting with slash
2019-11-26 15:14:36 -08:00
Liam Newman
3296cef02d
Change requester to GET by default
2019-11-25 18:15:21 -08:00
Liam Newman
1b55b5fa3c
Move array population to single iterator code path
...
This remove a second code path throught pagination.
2019-11-25 18:15:21 -08:00
Liam Newman
8c4b1ef74a
Fixed GHContent to allow spaces in path
...
URI path encoding whack-a-mole. This fix should cover a significant number of cases.
Also, fixed to NOT do URLEncode for URI path. The encoding is different between path and query.
Fixes #624
2019-11-25 18:06:19 -08:00
Alex Taylor
b2701f5ba4
[JENKINS-57430] Added some new GH Event Types
...
Added some new GH Event types so that it does not throw errors
2019-11-22 14:26:35 -05:00
Liam Newman
eedefcdbbb
Reformat a few json test files
2019-11-21 22:19:10 -08:00
Liam Newman
bdb5e82abc
Make servers only start if the might be needed
...
If proxying or snapshotting, we start all servers.
Otherwise only start a server if we have mapping files for them.
2019-11-21 22:09:54 -08:00
Liam Newman
ff766a46c8
Enable uploads testing and LifecycleTest
...
Fixed asset upload url to not hard coded
2019-11-21 17:07:38 -08:00
Serban Iordache
71862d76d3
remove '@apiNote' javadoc tag
2019-11-21 00:45:45 +01:00
Serban Iordache
7a35cc3d17
fix and unit tests for issue #504
...
add new methods for creating tree content
2019-11-21 00:31:36 +01:00