Valeriy Svydenko
ab04d83427
fix: trim blank chars in PAT ( #469 )
...
Signed-off-by: Valerii Svydenko <vsvydenk@redhat.com>
2023-03-20 21:16:38 +02:00
Anatolii Bazko
76445656a9
feat: GitLab support nested repositories ( #467 )
...
* feat: GitLab support nested repositories
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
---------
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2023-03-20 08:32: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
Igor Vinokur
be757ec5a6
Check the devfile content before creating a factory ( #463 )
...
When Che creates a workspace from a repository URL, first we iterate and find a related git provider handler, then we gat a devfile location according to the handler rules. If we pass an unsupported git repository url we will have a default handler which will try find a devfile by the same url as the repository. In that case we will have an html content as a devfile.
We need to check the content before parsing the devfile, and throw a specific error in case if the content is not yaml.
2023-03-14 12:03:39 +02:00
Valeriy Svydenko
54827213f1
fix: extend pattern for BitBacket URL ( #461 )
...
Signed-off-by: Valerii Svydenko <vsvydenk@redhat.com>
2023-03-10 10:14:37 +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
che-bot
8d6b8fba98
chore: Update from ubi8-minimal:8.7-1049.1675784874 to ubi8-minimal:8.7-1085 ( #453 )
...
Signed-off-by: Nick Boldt <nboldt@redhat.com>
Co-authored-by: Nick Boldt <nboldt@redhat.com>
2023-03-02 14:15:53 -08:00
Anatolii Bazko
5bdea8981e
Merge pull request #456 from eclipse-che/CRW-3927-fix
...
fix: typo in AzureDevOpsPersonalAccessTokenFetcher
2023-03-02 11:45:15 +02: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
f102475484
Merge pull request #452 from eclipse-che/CRW-3927
...
feat: Azure DevOps Services OAuth2 support
2023-02-28 17:57:37 +02:00
Anatolii Bazko
49773464e3
Fix remarks
...
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2023-02-27 16:32:29 +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
7a84f92aee
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
Igor Vinokur
b9ededf339
Support Basic authentication for devfile factory URL ( #451 )
...
Add a parsing rule to detect credentials in factory URLs if it is in a format https://<username>:<pasword>@hostname.
Extract the credentials from factory URLs and pass them to the devfile content request.
2023-02-23 15:05:55 +02:00
Ilya Buziuk
dcb0884fe0
refactor: switching to h2 datasource
...
Signed-off-by: Ilya Buziuk <ibuziuk@redhat.com>
2023-02-22 17:18:23 +01:00
Ilya Buziuk
47184c4953
refactor: Deprecating api/user endpoint. Adding exta GET api/user/id endpoint for easily obtaining user ID
...
Signed-off-by: Ilya Buziuk <ibuziuk@redhat.com>
2023-02-20 14:34:16 +01:00
Nick Boldt
fbf318c0d6
chore: Bump to 7.62.0-SNAPSHOT in main ( #447 )
...
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
Co-authored-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
2023-02-16 13:28:52 -04:00
Nick Boldt
6d9f521cee
chore: always pull before push, and use rebase=true to resolve commits ( #445 )
...
Change-Id: I255d174a1067375921f567a21e2b933761ff5433
Signed-off-by: Nick Boldt <nboldt@redhat.com>
2023-02-15 14:43:46 -04:00
Nick Boldt
3201e3a183
chore: remove ref to .ci/set_tag_version_images.sh script since it was deleted two weeks ago ( #443 )
...
Change-Id: Ie770b98d6ebd64deacb3e376f4fee0ec675135a0
Signed-off-by: Nick Boldt <nboldt@redhat.com>
2023-02-15 12:07:18 -04:00
Igor Vinokur
cb3565dbf8
Support Bitbucket-server oAuth2 factory ( #440 )
...
Apply Bitbucket Server oAuth-2 configuration for the factory flow.
2023-02-15 16:43:27 +02:00
che-bot
7bad48cfed
chore: Update from ubi8-minimal:8.7-1049 to ubi8-minimal:8.7-1049.1675784874 ( #437 )
...
Signed-off-by: Nick Boldt <nboldt@redhat.com>
Co-authored-by: Nick Boldt <nboldt@redhat.com>
2023-02-09 12:54:18 -04:00
Ilya Buziuk
09e68d34a4
refactor: Removing dependency on UserManager from FactoryService
...
Signed-off-by: Ilya Buziuk <ibuziuk@redhat.com>
2023-02-09 15:04:38 +01:00
Nick Boldt
7efb085cb7
further simplifications
...
Change-Id: Ifcd87155e07b88fbacf764d961f445063a770c54
Signed-off-by: Nick Boldt <nboldt@redhat.com>
2023-02-07 14:16:46 +01:00
Nick Boldt
752e986a84
Update .github/CODEOWNERS
2023-02-07 14:16:46 +01:00
Nick Boldt
665b063bb7
Update .github/CODEOWNERS
2023-02-07 14:16:46 +01:00
Nick Boldt
3deb00d28a
Fionn Kelleher (@osslate) is the replacement for Fabrice, but he doesn't seem to have rights to this repo, so comment this out for now
...
Change-Id: I67e1758196349544e34fc06f361020f6ea77451d
Signed-off-by: Nick Boldt <nboldt@redhat.com>
2023-02-07 14:16:46 +01:00
Nick Boldt
98052dd94c
chore: simplify the CODEOWNERS for che-server; remove people who've left; add replacements; remove global owners from subsection (assuming they already have full rights to the repo)
...
Change-Id: I524aa893c67eacca46cbac71aee38b3098981965
Signed-off-by: Nick Boldt <nboldt@redhat.com>
2023-02-07 14:16:46 +01:00
Mykhailo Kuznietsov
3dd20f690a
chore: fix: don't fail release if commit/push is a no-op (for 7.yy.z releases) ( #433 )
...
* fix: fix set_tag_version_images.sh for bugfix releases
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
* fix: fix set_tag_version_images.sh for bugfix releases
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
* fixup! fix: fix set_tag_version_images.sh for bugfix releases
---------
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
2023-02-02 12:54:56 -04:00
Ilya Buziuk
3b39854685
fix: Simplification of the 'canCreateNamespace' logic
...
Signed-off-by: Ilya Buziuk <ibuziuk@redhat.com>
2023-02-02 09:42:36 +01:00
Igor Vinokur
7323f4776f
Apply Bitbucket server url validation by testing an API request ( #428 )
...
Support factory from public Bitbucket-server repository without any oAuth configuration in the Che side. Add a new check that detects a Bitbucket-server url by testing it by a Bitbucket-server Api request.
2023-01-26 15:25:09 +02:00
Mykhailo Kuznietsov
9a003e2351
chore: Bump to 7.61.0-SNAPSHOT in main
...
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
2023-01-26 11:30:33 +01:00
Igor Vinokur
63517be522
Add "read:user" to the list of github token scopes ( #422 )
...
In order to be able to use the generated github token from the workspace pod in the github CLI tool, add the necessary token scope to the list of default scopes.
2023-01-21 13:01:27 +02:00
Igor Vinokur
756342b0c0
Apply Gitlab server url validation by testing an API request ( #421 )
...
Support factory from public Gitlab-server repository without any oAuth configuration in the Che side. Add a new check that detects a Gitlab server url by testing it by a Gitlab Api request.
2023-01-19 14:07:50 +02:00
Nick Boldt
5a601bb840
chore: CRW-3811 update deps (for... ( #419 )
...
* chore: CRW-3811 update deps (for CVE-2021-0341 ?)
Change-Id: I0e2bbf570acd9808fd1def15dee52ac29651a123
Signed-off-by: Nick Boldt <nboldt@redhat.com>
* unresolveable version, downgrade to previous
Change-Id: I7a1272ed9acda8c7d7adf4616b2c8d6999baf5d6
Signed-off-by: Nick Boldt <nboldt@redhat.com>
* more versions that can't be resolved from maven central
Change-Id: Ib7d96c0c5c6094f4f632f3661ce9d63c690d65c6
Signed-off-by: Nick Boldt <nboldt@redhat.com>
Signed-off-by: Nick Boldt <nboldt@redhat.com>
2023-01-17 12:38:14 -04:00
che-bot
457aa84892
chore: Update from ubi8-minimal:8.7-1031 to ubi8-minimal:8.7-1049 ( #416 )
...
Signed-off-by: Nick Boldt <nboldt@redhat.com>
Signed-off-by: Nick Boldt <nboldt@redhat.com>
Co-authored-by: Nick Boldt <nboldt@redhat.com>
2023-01-16 11:27:43 -04:00
Ilya Buziuk
db249bf877
fixup! adressing review comments
...
Signed-off-by: Ilya Buziuk <ibuziuk@redhat.com>
2023-01-12 17:28:48 +01:00
Ilya Buziuk
a59cc49a7f
feat: Removing dependency on the usr, account, profile db tables
...
Signed-off-by: Ilya Buziuk <ibuziuk@redhat.com>
2023-01-12 17:28:48 +01:00
Nick Boldt
0337316203
chore: CRW-3802 CRW-3803 update to com.fasterxml.jackson 2.14.1 to fix CVEs ( #415 )
...
* chore: CRW-3802 CRW-3803 udpate to com.fasterxml.jackson 2.14.1 to fix CVEs
Change-Id: I4b146c16536741751146a9700eea1027064015f0
Signed-off-by: Nick Boldt <nboldt@redhat.com>
* add missing version for junit:junit:jar ==> 4.12
Change-Id: I21c6b53f6df37e684659e9d9604bc15271bc7e3a
Signed-off-by: Nick Boldt <nboldt@redhat.com>
* use eq(DevfileImpl.class); update copyright date; thanks to @vinokurig for the fix!
Change-Id: I436df0c7f9e9557d348fc7faab44379fe510d643
Signed-off-by: Nick Boldt <nboldt@redhat.com>
* fix junit dependency issue
Change-Id: Iec554595866649c7480209463eaa64c12a2f6e96
Signed-off-by: Nick Boldt <nboldt@redhat.com>
* ridiculous pom sorting rules
Change-Id: I6d72fc133bbedb99875051041e221af5892f3323
Signed-off-by: Nick Boldt <nboldt@redhat.com>
* remove junit version
Change-Id: I9bfa72bec71c5b8a009f4a4ac22012aa4b47038d
Signed-off-by: Nick Boldt <nboldt@redhat.com>
Signed-off-by: Nick Boldt <nboldt@redhat.com>
2023-01-11 15:04:36 -04:00
Mykhailo Kuznietsov
13a84d2943
chore: Bump to 7.60.0-SNAPSHOT in main
...
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
2023-01-09 14:10:06 +01:00
Nick Boldt
d112b579f4
chore: #21763 - bump to py 3.9, temurin java... ( #413 )
...
* chore: #21763 - bump to py 3.9, temurin java 11 latest
Change-Id: I7e5bd82532ea18eec9468a1d37dfcb1c3e0ab8ae
Signed-off-by: Nick Boldt <nboldt@redhat.com>
* Update .github/workflows/release.yml
* update to latest temurin java 11
Change-Id: Ieb63ecd21768af299065a773f83e3f9d72da4f6c
Signed-off-by: Nick Boldt <nboldt@redhat.com>
Signed-off-by: Nick Boldt <nboldt@redhat.com>
2023-01-05 09:10:07 -04:00
Nick Boldt
a97e6eec90
chore: update license headers to 2023 because we still use that annoying license header checker for some reason ( #412 )
...
To update next year:
find . -name "*" -exec sed -i -r -e "s@-2023 Red Hat@-2024 Red Hat@g" {} \;
Change-Id: I2167da69ac584e743e61f4bbe699f06296911857
Signed-off-by: Nick Boldt <nboldt@redhat.com>
Signed-off-by: Nick Boldt <nboldt@redhat.com>
2023-01-04 10:33:06 -04:00