Commit Graph

9575 Commits (e4725c12491a95e262d56743a33806334aae34a6)

Author SHA1 Message Date
Igor Vinokur e4725c1249
Update pom.xml 2023-10-12 15:19:37 +03:00
dependabot[bot] 7fc46aa1c0
build(deps): bump jgroups-kubernetes from 1.0.13.Final to 2.0.1.Final
Bumps [jgroups-kubernetes](https://github.com/jgroups-extras/jgroups-kubernetes) from 1.0.13.Final to 2.0.1.Final.
- [Release notes](https://github.com/jgroups-extras/jgroups-kubernetes/releases)
- [Commits](https://github.com/jgroups-extras/jgroups-kubernetes/compare/1.0.13.Final...2.0.1.Final)

---
updated-dependencies:
- dependency-name: org.jgroups.kubernetes:jgroups-kubernetes
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-30 09:35:54 +00:00
Igor Vinokur f5ea114c87
Revert "chore(deps): bump jgroups from 4.1.9.Final to 5.2.13.Final (#427)" (#473)
This reverts commit 4894dfd95b.
2023-03-30 12:35:13 +03:00
dependabot[bot] 4894dfd95b
chore(deps): bump jgroups from 4.1.9.Final to 5.2.13.Final (#427)
* chore(deps): bump jgroups from 4.1.9.Final to 5.2.12.Final

Bumps [jgroups](https://github.com/belaban/JGroups) from 4.1.9.Final to 5.2.12.Final.
- [Release notes](https://github.com/belaban/JGroups/releases)
- [Changelog](https://github.com/belaban/JGroups/blob/master/doc/history.txt)
- [Commits](https://github.com/belaban/JGroups/compare/JGroups-4.1.9.Final...jgroups-5.2.12.Final)

---
updated-dependencies:
- dependency-name: org.jgroups:jgroups
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update pom.xml

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Igor Vinokur <ivinokur@redhat.com>
2023-03-30 10:28:53 +03:00
Igor Vinokur 45e9d18d22 Fix vuOAlnerable dependencies
Signed-off-by: Igor Vinokur <ivinokur@redhat.com>
2023-03-29 19:04:50 +02: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
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