Liam Newman
696967bdd1
[maven-release-plugin] prepare release github-api-1.114
github-api-1.114
2020-06-10 20:02:18 -07:00
Liam Newman
b76889efc3
Merge pull request #845 from bitwiseman/task/redo-822
...
Modify getRef() changes to be compatible with older GHE versions
2020-06-10 20:00:44 -07:00
Liam Newman
e6a7b64ebe
Merge branch 'master' into task/redo-822
2020-06-10 19:53:42 -07:00
Liam Newman
9daa0df311
Modify getRef() changes to be compatible with older GHE versions
...
Fixes #844
Fixes #794
2020-06-10 19:47:23 -07:00
Liam Newman
612800bda5
Merge pull request #843 from bitwiseman/task/body-close
...
[JENKINS-62655] Ensure connection response stream is always closed
2020-06-10 17:30:12 -07:00
Liam Newman
a6bbb1dec9
Ensure connection response stream is always closed
2020-06-10 17:22:25 -07:00
Liam Newman
873c93ab64
Merge pull request #841 from hub4j/dependabot/maven/org.apache.bcel-bcel-6.5.0
...
Chore(deps): Bump bcel from 6.4.1 to 6.5.0
2020-06-10 08:59:00 -07:00
dependabot-preview[bot]
d15242e2d2
Chore(deps): Bump bcel from 6.4.1 to 6.5.0
...
Bumps bcel from 6.4.1 to 6.5.0.
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-06-10 03:50:37 +00:00
Liam Newman
992d2b937c
Merge pull request #840 from hub4j/dependabot/maven/spotbugs.version-4.0.4
...
Chore(deps): Bump spotbugs.version from 4.0.3 to 4.0.4
2020-06-09 20:49:24 -07:00
dependabot-preview[bot]
1e05ddad4b
Chore(deps): Bump spotbugs.version from 4.0.3 to 4.0.4
...
Bumps `spotbugs.version` from 4.0.3 to 4.0.4.
Updates `spotbugs` from 4.0.3 to 4.0.4
- [Release notes](https://github.com/spotbugs/spotbugs/releases )
- [Changelog](https://github.com/spotbugs/spotbugs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/spotbugs/spotbugs/compare/4.0.3...4.0.4 )
Updates `spotbugs-annotations` from 4.0.3 to 4.0.4
- [Release notes](https://github.com/spotbugs/spotbugs/releases )
- [Changelog](https://github.com/spotbugs/spotbugs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/spotbugs/spotbugs/compare/4.0.3...4.0.4 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-06-09 06:33:50 +00:00
Liam Newman
4f8a64610b
[maven-release-plugin] prepare for next development iteration
2020-06-08 14:37:20 -07:00
Liam Newman
b82366218c
[maven-release-plugin] prepare release github-api-1.113
github-api-1.113
2020-06-08 14:37:11 -07:00
Liam Newman
acbe1f4cb3
Update PULL_REQUEST_TEMPLATE.md
2020-06-08 13:25:56 -07:00
Liam Newman
4c5e018583
Merge pull request #838 from Chew/feature/new-profile-data
...
Add bio, hireable, and twitter_username fields to Person
2020-06-08 12:21:16 -07:00
Liam Newman
6c0380e85c
Merge pull request #839 from bitwiseman/issue-828
...
Add GitHub Team Discussions as GHDiscussion
2020-06-08 12:18:46 -07:00
Liam Newman
fde48e604f
Test coverage and javadoc fixes
2020-06-08 12:06:39 -07:00
Liam Newman
e83a4de5fb
Merge branch 'master' into feature/new-profile-data
2020-06-08 10:33:29 -07:00
Liam Newman
927d2799dc
Move url construction to single method
2020-06-08 10:12:15 -07:00
Liam Newman
1ad701fe5d
Add convenience override of getId()
2020-06-08 09:59:43 -07:00
Liam Newman
086425d2da
Tweaks for batch update
2020-06-08 09:59:43 -07:00
Charles Moulliard
beca54416a
Merge branch 'master' into issue-828
2020-06-08 18:43:15 +02:00
Chew
c92f5c5713
Update test value and add new test for Twitter Username
2020-06-07 15:05:02 -05:00
Chew
dee4e6caff
Add twitter_username to Person and bio and hireable to User
2020-06-07 00:55:44 -05:00
Liam Newman
dd5a39e72e
Improve wiremock stub accuracy
2020-06-06 16:29:26 -07:00
Charles Moulliard
e5ed52165c
Fix: Add missing @param for the delete() method
2020-06-04 18:26:14 +02:00
Charles Moulliard
9484f8e0f5
Chore: Add more methods to test CRUD operations on discusions
2020-06-04 18:19:41 +02:00
Charles Moulliard
947caffe0a
Chore: Add method to get a discussion using a number/id
2020-06-04 17:27:15 +02:00
Charles Moulliard
870090e8df
Chore: Remove javadoc Throwing the exception for the GHDiscussionbuilder - update method
2020-06-04 13:51:04 +02:00
Charles Moulliard
73f07f13c5
Chore: Remove javadoc Throwing the exception
2020-06-04 13:47:41 +02:00
Charles Moulliard
d1952bf591
Chore: Reformat method
2020-06-04 13:37:08 +02:00
Charles Moulliard
5a612e1332
Chore: Add try/catch block if we cannot find the discussion to be updated
2020-06-04 13:25:57 +02:00
Charles Moulliard
b00a9faea6
Fix: Add missing parameter
2020-06-04 12:58:07 +02:00
Charles Moulliard
74db42a703
Chore: Add method to update a discussion
2020-06-04 12:52:58 +02:00
Charles Moulliard
ddf625ca04
Chore: Add method to delete a discussion using its number. Add field number
2020-06-04 12:20:36 +02:00
Charles Moulliard
eca2f017d8
Fix: Add missing import statement for the Jackson Annotation. Use the correct htmlUrl field
2020-06-04 11:32:33 +02:00
Charles Moulliard
3190bde343
Fix: Add mising try/catch block to report the exeption when no discussions are found
2020-06-04 11:31:50 +02:00
Charles Moulliard
c6ebf42a47
Update src/main/java/org/kohsuke/github/GHTeam.java
...
Dont wrapUp using the team object
Co-authored-by: Liam Newman <bitwiseman@gmail.com >
2020-06-04 11:14:42 +02:00
Charles Moulliard
c116b60d12
Update src/main/java/org/kohsuke/github/GHDiscussion.java
...
Add doc link to github team discussion API
Co-authored-by: Liam Newman <bitwiseman@gmail.com >
2020-06-04 11:13:19 +02:00
Charles Moulliard
5d09e6d9ab
Update src/main/java/org/kohsuke/github/GHDiscussion.java
...
Remove `this.root` as it is already set with the org
Co-authored-by: Liam Newman <bitwiseman@gmail.com >
2020-06-04 11:12:38 +02:00
Charles Moulliard
2613ce0ac9
Update src/main/java/org/kohsuke/github/GHDiscussion.java
...
Remove to set the field `root`
Co-authored-by: Liam Newman <bitwiseman@gmail.com >
2020-06-04 11:10:21 +02:00
Charles Moulliard
a88e9b28ea
Update src/main/java/org/kohsuke/github/GHDiscussion.java
...
Change the visibility of the fields from protected to private. Add @JacksonInject annotation. Rename html_url to htmlUrl as needed by Jackson
Co-authored-by: Liam Newman <bitwiseman@gmail.com >
2020-06-04 11:09:24 +02:00
Charles Moulliard
f0a3c26ee6
Fix: Add the missing correct file to check the discussion created using wiremock
2020-06-04 10:44:26 +02:00
Charles Moulliard
84c87ecb32
Chore: Fixed the null org within the generated json file but we still get an error 404
2020-06-04 08:49:16 +02:00
Charles Moulliard
6573f44d41
Fix: As the name of the organization could be empty/null, then use getLogin to get the org name
2020-06-04 07:46:51 +02:00
Charles Moulliard
3cacbc552c
Fix: Set the organisation name to avoid to populate a url request having /orgs/null
2020-06-04 07:30:44 +02:00
Charles Moulliard
343d623e02
chore: Push new resource files generated
2020-06-04 07:22:53 +02:00
Charles Moulliard
6b80bb2b11
chore: Remove deleted resources files
2020-06-04 07:00:14 +02:00
Charles Moulliard
56fe7452eb
chore. Review test case. Add new wrapUp methods
2020-06-04 06:59:41 +02:00
Charles Moulliard
d3a66f6605
chore: Regenerate new testing files
2020-05-29 17:37:49 +02:00
Charles Moulliard
dd7b4712f1
fix: Add missing @throws IOException
2020-05-29 17:24:49 +02:00