Liam Newman
9b4134cada
Allow for time skew in JWT authentication
2021-02-26 10:51:07 -08:00
Liam Newman
7aae27e36f
Allow JWT from string
2021-01-14 14:25:51 -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 López
a8a0bcb7db
Merge branch 'master' into feat/credential-provider-refresh
2021-01-07 12:03:27 +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
seregamorph
d16a752b43
Fix mocking Previews
2021-01-05 18:50:24 +03:00
Liam Newman
6670446037
Reenable GitHubBuilder tests
2020-12-31 09:49:51 -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
9e3de43802
Merge remote-tracking branch 'upstream/master' into feat/credential-provider-refresh
2020-12-29 09:19:09 -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
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
cd4368fa79
Merge remote-tracking branch 'upstream/master' into jae/bulk-update
2020-12-28 16:25:31 -08:00
Liam Newman
bd0093c8ea
Change reader and writer to no longer deprecated
...
While still no recommended, these methods are more recommended than
users creating their own. These will continue to work even when
internals change, whereas user configured readers or writers may not.
2020-12-28 12:39:21 -08:00
Liam Newman
e150280010
Merge remote-tracking branch 'upstream/master' into object-base
2020-12-28 10:52:16 -08:00
Liam Newman
6a39d7fca5
Trim whitespace and end with newline
2020-12-23 17:13:27 -08:00
Liam Newman
70ba4df385
Make root field transient in all classes
2020-12-18 14:58:12 -08:00
Liam Newman
8062c705e8
Merge branch 'master' into jae/bulk-update
2020-12-17 15:12:19 -08:00
Marco Ferrer
4e7ac7030c
Add beta api annotation to project
2020-12-16 16:39:48 -05:00
Liam Newman
facfc61316
Merge branch 'master' into jae/bulk-update
2020-12-15 16:08:41 -08:00
Marco Ferrer
5888efcaef
Merge branch 'master' into add-preview-arch-rules
2020-12-15 12:41:51 -05:00
Marco Ferrer
459d1b4f56
update arch tests to add enum checks
2020-12-15 12:41:02 -05:00
Tadas Giniotis
3b58fbc186
test "target_url"
2020-12-12 23:53:40 +02:00
Jae Gangemi
37c2d9135b
- bulk update of repository options
2020-12-11 16:56:26 -07:00
Rob Rodrigues
c3869bee31
Reverted changes which added filter unnecessarily, cleanup, add test cache, enable test
2020-12-01 19:50:24 -08:00
Lovekesh Garg
938603ff60
Fixes null commit date
2020-11-28 17:20:28 +05:30
Rob Rodrigues
17af78f2bb
Merge branch 'master' into AffiliationFilter
2020-11-25 13:10:09 -08:00
Marco Ferrer
7588267743
Add arch test for preview API usage
2020-11-25 13:16:04 -05:00
Rob Rodrigues
3db7aac0d8
Merge branch 'master' into AffiliationFilter
2020-11-24 12:52:48 -08:00
Marco Ferrer
da2aaff9e5
Merge branch 'master' into update-deployments-api
2020-11-24 11:37:36 -05:00
Liam Newman
208904b634
Merge pull request #980 from mrginglymus/check-patcher
...
Add ability to update a check run
2020-11-23 18:28:48 -08:00
Marco Ferrer
4bba692170
Merge branch 'master' into update-deployments-api
2020-11-23 17:20:40 -05:00
Rob Rodrigues
3c56f1f076
Merge branch 'master' into AffiliationFilter
2020-11-19 15:57:36 -08:00
Bill Collins
224d8c7cb4
Add wiremocks for tests, move existing tests to test org
2020-11-19 15:05:25 +00:00
seregamorph
0feb520549
pull_request action "edited": changes - test
2020-11-19 13:50:33 +03:00
seregamorph
ca365b12f6
Merge remote-tracking branch 'origin/master' into feature/pull_request-edited
2020-11-19 13:44:56 +03:00
Bill Collins
bde6ad9a06
Add a test for check updates
2020-11-19 09:20:58 +00:00
Rob Rodrigues
7fee1fcc74
Add affiliation filter for collaborators
2020-11-18 17:58:51 -08:00
Liam Newman
4415ac8fd2
Update src/test/java/org/kohsuke/github/GHEventPayloadTest.java
2020-11-18 12:50:47 -08:00
Liam Newman
8c81e48a31
Update src/test/java/org/kohsuke/github/GHEventPayloadTest.java
2020-11-18 12:48:51 -08:00
Liam Newman
9ad0329c56
Apply suggestions from code review
2020-11-18 12:47:18 -08:00
Liam Newman
78f533bbfc
Merge pull request #977 from skaldarnar/feat/528-ghrelease-assets
...
Include assets directly in GHRelease
2020-11-18 12:46:11 -08:00
Tobias Nett
5d796d1f79
revert unwanted assertion change
2020-11-18 21:24:58 +01:00