Liam Newman
8e6dbf3772
[maven-release-plugin] prepare for next development iteration
2021-01-14 20:14:08 -08:00
Liam Newman
cb381dfa06
[maven-release-plugin] prepare release github-api-1.122
github-api-1.122
2021-01-14 20:13:57 -08:00
Liam Newman
80124e3b85
Merge pull request #1021 from bitwiseman/jwt-string
...
Allow JWT from string
2021-01-14 20:09:21 -08:00
Liam Newman
7aae27e36f
Allow JWT from string
2021-01-14 14:25:51 -08:00
Liam Newman
b212956fbb
[maven-release-plugin] prepare for next development iteration
2021-01-14 13:19:41 -08:00
Liam Newman
d033355e84
[maven-release-plugin] prepare release github-api-1.121
github-api-1.121
2021-01-14 13:19:31 -08:00
Liam Newman
59d7a117d0
[maven-release-plugin] prepare for next development iteration
2021-01-14 10:51:52 -08:00
Liam Newman
dfbb38c5f1
[maven-release-plugin] prepare release github-api-1.120
github-api-1.120
2021-01-14 10:51:41 -08:00
Liam Newman
3f9954144a
Merge pull request #945 from MarcosCela/feat/credential-provider-refresh
...
Feat/credential provider refresh
2021-01-14 10:37:30 -08:00
Liam Newman
1b84efdbfa
Add GitHub.DependentAuthorizationProvider
...
Rather than exposing an unsafe wrapper for GitHub instances, I added a base class
that can be extended by anyone wanting to implement an authorization provider
that needs a GitHub instance to generate it's authorization string.
2021-01-14 10:32:25 -08:00
Liam Newman
c33e78a7dc
Create authorization package
2021-01-14 09:23:17 -08:00
Marcos.Cela
747c759bbb
fix code violations again
2021-01-08 10:10:44 +01:00
Marcos.Cela
e0a709676e
fix format violations
2021-01-08 09:56:05 +01:00
Marcos.Cela
a96275c286
tests for JWTTokenProvider, verifying the "Authentication" header
...
This test basically ensures that the requests made with a
JWTTokenProvider follow a valid Authentication pattern,
verifying that the header "conforms" to a valid JWT token
More information on JWT tokens can be found at:
- https://jwt.io/introduction/
2021-01-08 09:52:50 +01:00
Marcos.Cela
ca7c809feb
remove unused field MINUTES_10 from JWTTokenProvider
2021-01-08 08:21:35 +01:00
Marcos Cela López
a8a0bcb7db
Merge branch 'master' into feat/credential-provider-refresh
2021-01-07 12:03:27 +01:00
Marcos.Cela
0e2bf23830
add CODE_SCANNING_ALERT to GHEvent enum
2021-01-07 11:32:33 +01:00
Marcos.Cela
44a8b797fb
fix: JWTTokenProvider has an incorrect value for the returned authorization header
...
more info:
https://docs.github.com/en/free-pro-team@latest/developers/apps/authenticating-with-github-apps#authenticating-as-a-github-app
2021-01-07 11:23:22 +01:00
Marcos.Cela
cdede298a9
rename OrgInstallationAuthorizationProvider to OrgAppInstallationAuthorizationProvider
2021-01-07 09:53:19 +01:00
Marcos.Cela
f6ac4d3559
rename: credential provider -> authorization provider
...
This includes renames in comments, related methods,
javadocs and fields/variables.
2021-01-07 09:46:30 +01:00
Liam Newman
7e1531dbca
[maven-release-plugin] prepare for next development iteration
2021-01-05 17:27:23 -08:00
Liam Newman
9aeb422157
[maven-release-plugin] prepare release github-api-1.119
github-api-1.119
2021-01-05 17:27:08 -08:00
Liam Newman
fba0f8cf8e
Merge pull request #1015 from seregamorph/feature/mock-previews
...
Fix mocking Previews
2021-01-05 17:23:55 -08:00
seregamorph
0f4a5227e1
internal package
2021-01-05 23:03:49 +03:00
seregamorph
d16a752b43
Fix mocking Previews
2021-01-05 18:50:24 +03:00
Liam Newman
4bec27fd49
[maven-release-plugin] prepare for next development iteration
2021-01-04 01:48:27 -08:00
Liam Newman
be3bd74bb7
[maven-release-plugin] prepare release github-api-1.118
github-api-1.118
2021-01-04 01:48:16 -08:00
Liam Newman
0b14cee817
Merge pull request #1011 from hub4j/dependabot/maven/org.kohsuke.stapler-stapler-1.262
...
Chore(deps-dev): Bump stapler from 1.260 to 1.262
2021-01-03 23:43:02 -08:00
dependabot[bot]
252ca04084
Chore(deps-dev): Bump stapler from 1.260 to 1.262
...
Bumps [stapler](https://github.com/stapler/stapler ) from 1.260 to 1.262.
- [Release notes](https://github.com/stapler/stapler/releases )
- [Changelog](https://github.com/stapler/stapler/blob/master/CHANGELOG.md )
- [Commits](https://github.com/stapler/stapler/compare/stapler-parent-1.260...stapler-parent-1.262 )
Signed-off-by: dependabot[bot] <support@github.com >
2021-01-01 02:00:35 +00:00
Liam Newman
6670446037
Reenable GitHubBuilder tests
2020-12-31 09:49:51 -08:00
Liam Newman
bd39b07bb5
Fix javadoc issues
2020-12-30 14:07:37 -08:00
Liam Newman
a9438b6121
Move tests to use JWTTokenProvider
2020-12-30 10:46:45 -08:00
Liam Newman
f546cf4521
Use only credential providers internally to track credentials
...
Removes extra fields from GitHubClient.
2020-12-30 09:52:30 -08:00
Liam Newman
43efa78750
Post-merge fixes
2020-12-29 09:29:30 -08:00
Liam Newman
9e3de43802
Merge remote-tracking branch 'upstream/master' into feat/credential-provider-refresh
2020-12-29 09:19:09 -08:00
Liam Newman
dc615e432e
Merge pull request #985 from lower-case/bugfix-883
...
Fixes null commit date
2020-12-28 22:06:47 -08:00
Liam Newman
cf9caa6af5
Update test to check values
2020-12-28 22:00:44 -08:00
Liam Newman
15f748358d
Merge remote-tracking branch 'upstream/master' into bugfix-883
2020-12-28 20:02:24 -08:00
Liam Newman
b30d648623
Merge pull request #939 from jgangemi/jae/bulk-update
...
- bulk update of repository options
2020-12-28 19:54:44 -08:00
Liam Newman
33d70560b8
Deprecate templateRepository() for isTemplate()
2020-12-28 18:44:30 -08:00
Liam Newman
865a49d2e8
Update GHRepository method to use Setter
...
It appears that the correct way to pass these booleans is as booleans not as strings.
Fixes #765
2020-12-28 18:07:32 -08:00
Liam Newman
4fca68c25c
Add GHRepository.Setter
2020-12-28 17:03:36 -08:00
Liam Newman
f131a0c1c2
Formatting fixes
2020-12-28 16:26:23 -08:00
Liam Newman
cd4368fa79
Merge remote-tracking branch 'upstream/master' into jae/bulk-update
2020-12-28 16:25:31 -08:00
Liam Newman
4ec4b160b0
Update contributing.md for more clarity
2020-12-28 16:18:04 -08:00
Liam Newman
a585b4957f
Merge pull request #1004 from bitwiseman/object-base
...
Make root field transient in all classes
2020-12-28 16:05:48 -08:00
Liam Newman
e6b02b3bed
Merge branch 'master' into object-base
2020-12-28 15:48:41 -08:00
Liam Newman
1ef0ec0432
Update src/main/java/org/kohsuke/github/GitHub.java
...
Co-authored-by: Tim Jacomb <21194782+timja@users.noreply.github.com >
2020-12-28 15:47:28 -08:00
Liam Newman
2e87bd86a1
Merge pull request #1006 from hub4j/dependabot/maven/org.eclipse.jgit-org.eclipse.jgit-5.10.0.202012080955-r
...
Chore(deps-dev): Bump org.eclipse.jgit from 5.9.0.202009080501-r to 5.10.0.202012080955-r
2020-12-28 15:46:53 -08:00
Liam Newman
0228a0d023
Merge pull request #1010 from hub4j/dependabot/maven/org.slf4j-slf4j-simple-1.7.30
...
Chore(deps-dev): Bump slf4j-simple from 1.7.2 to 1.7.30
2020-12-28 15:46:33 -08:00