che-bot
b5f110c659
chore: Bump to 7.86.0-SNAPSHOT in main ( #680 )
...
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
Co-authored-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
2024-04-26 08:16:38 +03:00
che-bot
7c07c3c135
chore: Bump to 7.85.0-SNAPSHOT in main ( #675 )
...
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
Co-authored-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
2024-04-09 15:52:32 +03:00
Igor Vinokur
2e27c47f2f
Add provider name annotation to PAT secret ( #670 )
...
Add che.eclipse.org/scm-provider-name annotation to Personal Access Token secret.
2024-03-25 14:57:27 +02:00
che-bot
661d852250
chore: Bump to 7.84.0-SNAPSHOT in main ( #669 )
...
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
Co-authored-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
2024-03-19 08:51:13 +02:00
che-bot
60262e3a72
chore: Bump to 7.83.0-SNAPSHOT in main ( #658 )
2024-02-28 09:18:10 +02:00
Igor Vinokur
4f8a84cb1d
Fetch oauth tokens from kubernetes secrets ( #652 )
...
Move AuthorisationRequestManager interface towsmaster/che-core-api-factory module in order to avoid circular dependency.
Rework the get oauth token method to return an oauth token from kubernetes secrets if token is not found in the system memory of the che-server pod. If provider name value is not configured in the kubernetes secret oauth token, get the token by mapping it by provider url from the secret and oauth provider name from the aouth config secret.
2024-02-08 10:22:51 +02:00
che-bot
62f301c42d
chore: Bump to 7.82.0-SNAPSHOT in main ( #651 )
...
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
Co-authored-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
2024-02-02 19:53:07 +02:00
Mykhailo Kuznietsov
978f2cdd21
chore: Bump to 7.81.0-SNAPSHOT in main
...
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
2024-01-11 15:35:09 +01:00
che-bot
e3ccf70b64
chore: Bump to 7.80.0-SNAPSHOT in main ( #628 )
...
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
Co-authored-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
2023-12-28 02:23:26 +02:00
Mykhailo Kuznietsov
7acf4cc2d9
chore: Bump to 7.79.0-SNAPSHOT in main
...
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
2023-11-30 12:24:39 +01:00
che-bot
92b37d2b6e
chore: Bump to 7.78.0-SNAPSHOT in main ( #605 )
...
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
Co-authored-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
2023-11-13 13:38:23 +02:00
Mykhailo Kuznietsov
26cf509ea7
chore: Bump to 7.77.0-SNAPSHOT in main
...
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
2023-11-06 09:39:16 +01:00
Igor Vinokur
cb0c9f9d39
Fix update token on workspace start ( #597 )
...
Change the getHostName() function to getProviderUrl() in order to fix an error while updating an oauth token on workspace start.
Throw ScmUnauthorizedException if an oAuth token is not valid, for the dashboard to open the authorisation page and update the token.
2023-11-04 19:12:12 +02:00
Igor Vinokur
148415c691
Respect authorisation request opt-out on workspace start ( #576 )
...
If user rejects an scm provider authorisation request while creating or starting existed workspace store the name of the scm provider in the workspace-preferences config-map. The workspace create/start step must proceed without token fetch step. If user creates another workspace or starts existed workspace from an scm provider which name is stored in the config-map, do not ask the authorisation as it was already rejected once.
2023-10-12 15:59:42 +03:00
Mykhailo Kuznietsov
2f2a939823
chore: Bump to 7.76.0-SNAPSHOT in main
...
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
2023-09-28 10:13:22 +02:00
Igor Vinokur
b1da9ef121
Add an SSH Factory parameter resolver for unsupported SCM providers ( #567 )
...
Return the SSH factory resolver in order to handle SSH urls from unsupported SCM providers.
Add a priority value for all factory resolvers to be able to control resolver's priority.
---------
Co-authored-by: Aleksandr Shmaraiev <oshmarai@redhat.com>
2023-09-22 17:09:48 +03:00
che-bot
033d310b0d
chore: Bump to 7.75.0-SNAPSHOT in main ( #554 )
...
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
Co-authored-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
2023-09-11 19:17:12 -03:00
Igor Vinokur
7d0cfb306c
Support SSH urls ( #539 )
...
Extend each SCM provider implementation to support SSH urls.
2023-08-27 16:17:13 +03:00
Mykhailo Kuznietsov
8d19ea8046
chore: Bump to 7.74.0-SNAPSHOT in main
...
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
2023-08-23 15:09:29 +02:00
Igor Vinokur
73dbac0c44
Do not substring `.git` while parsing Azure DevOps Urls ( #541 )
...
Do not substring .git while parsing Azure DevOps Urls. Azure doesn't add the .git suffix neither to the generated clone URLs nor to the browser repository URLs.
2023-08-15 14:37:13 +03:00
Mykhailo Kuznietsov
29ff3f3e75
chore: Bump to 7.73.0-SNAPSHOT in main
...
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
2023-07-31 10:50:12 +02:00
Igor Vinokur
df3fc9965a
Omit scm-username annotation from the PAT secret ( #533 )
...
Ignore the che.eclipse.org/scm-username annotation when fetching token from a PAT secret. Instead fetch the username from the isValid(<token>) request.
2023-07-25 18:52:54 +03:00
Mykhailo Kuznietsov
2cd1bb2b46
chore: Bump to 7.72.0-SNAPSHOT in main
...
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
2023-07-24 12:10:57 +02:00
Igor Vinokur
c5963e0de7
Pass string to ObjectMapper instead of InputStream ( #531 )
...
Pass string to ObjectMapper instead of InputStream in order to avoid No content to map due to end-of-input error caused by jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.
An error was discovered in our customers environment
2023-07-12 10:33:56 +03:00
Mykhailo Kuznietsov
454bc7304f
chore: Bump to 7.71.0-SNAPSHOT in main
...
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
2023-06-30 09:45:41 +02:00
Mykhailo Kuznietsov
c23792c7b1
chore: Bump to 7.70.0-SNAPSHOT in main
...
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
2023-06-15 10:18:24 +02:00
Anatolii Bazko
7c598014a2
fix: Cloning projects from Azure DevOps ( #522 )
...
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2023-06-08 12:44:06 +03:00
Igor Vinokur
32c67ed032
Return the default resolver if the factory URL refers directly to a devfile ( #519 )
...
Check if the factory URL is a raw devfile URL. If so, use the devfile URL resolver, which resolves factories from a direct URL to a devfile content.
2023-06-06 10:38:03 +03:00
Mykhailo Kuznietsov
fdb2dbf163
chore: Bump to 7.69.0-SNAPSHOT in main
...
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
2023-06-02 16:13:59 +02:00
Mykhailo Kuznietsov
559de5a7f1
chore: Bump to 7.68.0-SNAPSHOT in main
...
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
2023-05-18 10:44:15 +02:00
Mykhailo Kuznietsov
1fb16e5b63
chore: Bump to 7.67.0-SNAPSHOT in main
...
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
2023-05-10 10:27:11 +02:00
Mykhailo Kuznietsov
b333b7bdb9
chore: Bump to 7.66.0-SNAPSHOT in main
...
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
2023-04-21 13:06:43 +02:00
Mykhailo Kuznietsov
d0402f0b8e
chore: Bump to 7.65.0-SNAPSHOT in main
...
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
2023-04-19 11:11:56 +02:00
Igor Vinokur
8d0d9ac5d8
Withdraw scm-userid value in PAT secrets and use scm-username instead ( #496 )
...
Withdraw the scm-userid annotation from the PAT secret structure.
Rework the PAT validation to check scm-username instead scm-userid.
2023-04-19 09:37:29 +03:00
Anatolii Bazko
8dda567e23
fix: Support Azure DevOps repository urls without project ( #490 )
...
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2023-04-04 16:31:00 +03:00
Anatolii Bazko
b24e3c7d95
feat: support retrieving Git user data when PAT is configured ( #489 )
...
* feat: support retrieving Git user data when PAT is configured
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2023-04-04 10:14:40 +03:00
Mykhailo Kuznietsov
63c72d2628
chore: Bump to 7.64.0-SNAPSHOT in main
...
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
2023-03-27 15:40:05 +02:00
Igor Vinokur
5a04496ded
Return empty credentials from bitbucket URL with username ( #466 )
...
Override the getCredentials() method in the BitbucketUrl class to intercept bitbucket URL with username e.g. https://user@bitbucket.org/eclipse/che . Return empty credentials for such urls.
2023-03-17 13:24:14 +02:00
Anatolii Bazko
d9ad2fbd7e
Remove scopes from AzureDevOpsApiClient
...
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2023-03-09 18:09:31 +01:00
Anatolii Bazko
ea1ceb09ac
fix: update the way how Azure OAuth2 token is validated
...
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2023-03-09 18:09:31 +01:00
Anatolii Bazko
04bf956751
feat: Support git+ssh urls ( #458 )
...
* feat: Support git+ssh urls
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2023-03-09 14:24:49 +02:00
che-bot
709d872d24
chore: Bump to 7.63.0-SNAPSHOT in main ( #459 )
...
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
Co-authored-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
2023-03-08 18:05:13 -04:00
Anatolii Bazko
f36a6943fe
fixup
...
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2023-03-02 11:08:43 +02:00
Anatolii Bazko
f22e52e519
fixup
...
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2023-03-02 11:03:58 +02:00
Anatolii Bazko
bd4c1812fb
fixup
...
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2023-03-02 10:53:41 +02:00
Anatolii Bazko
b0514ce37c
fix: typo in AzureDevOpsPersonalAccessTokenFetcher
...
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2023-03-02 10:31:05 +02:00
Anatolii Bazko
a9507244a3
fixes
...
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2023-02-27 10:31:38 +02:00
Anatolii Bazko
426718a495
fix
...
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2023-02-23 15:20:20 +02:00
Anatolii Bazko
6e7e96873f
fix typo
...
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2023-02-23 15:20:20 +02:00
Anatolii Bazko
19d13edc7f
feat: Azure DevOps Service OAuth2
...
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2023-02-23 15:20:20 +02:00