Commit Graph

9725 Commits (7.86.0)

Author SHA1 Message Date
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
che-bot 395a22ec32
chore: Update from ubi8-minimal:8.7-923.1669829893 to ubi8-minimal:8.7-1031 (#409)
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-04 08:04:43 -04:00
Igor Vinokur ef626cd6ee
Fix Delete oauth token API method (#408)
Rework the invalidate token oauth API method to send revoke token request to the git provider. After this request Che authorisation is unsynchronised so user is asked to re apply the authentication on new factory create step.
2023-01-04 10:06:25 +02:00
Piotr Karatkevich dd0e1820c6 feat(tomcat): Increase the maximum size of the request and response HTTP header to 32kb
Tomcat allows to configure the maximum size of the request and response HTTP header. If not specified, this attribute is set to 8192 (8 KB).
In order to avoid request blocking by this limitation, tomcat configuration has been adjusted to set 32768 (32 KB).
2022-12-22 15:53:22 +01:00
Igor Vinokur ab966cf9fe
Retry factory authentication when user rejects git service oauth (#405)
Currently when user rejects the oauth page for GitHub factory, Che tries to continue the factory flow without authentication (possible only for public repo). Apply the logic for the other git authentication providers.
2022-12-21 10:43:36 +02:00
Samantha Dawley 7d6f5f5af5
chore: Update GitHub actions to use Node 16 and Ubuntu to latest (#400)
* Update GitHub actions to use Node 16 and Ubuntu to latest

Signed-off-by: sdawley <sdawley@redhat.com>

* Switching Ubuntu to a set version (22.04). Changed release-action to v1 so it gets updates.

Signed-off-by: sdawley <sdawley@redhat.com>
2022-12-19 13:36:59 -04:00
Nick Boldt a0c25fe332
update integration tests to new root pom... (#402)
* update integration tests to new root pom version

Change-Id: Ic155888a0960ffcd2b26f7bf87373d260f655a2c
Signed-off-by: Nick Boldt <nboldt@redhat.com>

* fix poms that point to obsolete version 7.58.0-SNAPSHOT

Change-Id: I5854752288fec4ea774b27365770558b0d8946db
Signed-off-by: Nick Boldt <nboldt@redhat.com>

Signed-off-by: Nick Boldt <nboldt@redhat.com>
2022-12-16 11:03:12 -04:00
Mykhailo Kuznietsov 23e5b5f891 chore: Bump to 7.59.0-SNAPSHOT in main
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
2022-12-15 15:50:16 +01:00
Igor Vinokur ea76cda24c
fix: Override bitbucket content provider to use API request (#399)
bitbucket.org doesn't allow to fetch raw file content from private repositories using oAuth token any more. Override the common fetch content flow specifically for bitbucket.
2022-12-09 10:46:01 +02:00
che-bot 3a9a03f9d1
chore: Update from ubi8-minimal:8.7-923 to ubi8-minimal:8.7-923.1669829893 (#395)
Signed-off-by: Nick Boldt <nboldt@redhat.com>

Signed-off-by: Nick Boldt <nboldt@redhat.com>
Co-authored-by: Nick Boldt <nboldt@redhat.com>
2022-12-06 19:32:01 -04:00
Nick Boldt 659066dbf3
chore: clean up CODEOWNERS - remove... (#390)
* chore: clean up CODEOWNERS - remove @skabashnyuk, @metlos, and @MichalMaler; add @ibuziuk and @l0rd as global owners

Change-Id: Idd3c183441e2f394483167d101b9bd859df4b81f
Signed-off-by: Nick Boldt <nboldt@redhat.com>

* Update CODEOWNERS

remove owners who don't have write access to the repo

* Update CODEOWNERS

remove Ihor O per Martha's email

* Update .github/CODEOWNERS

* Update .github/CODEOWNERS

Co-authored-by: Mario Loriedo <mario.loriedo@gmail.com>

Signed-off-by: Nick Boldt <nboldt@redhat.com>
Co-authored-by: Mario Loriedo <mario.loriedo@gmail.com>
2022-12-06 08:59:48 -04:00
Nick Boldt 8f7f4fb28d
chore: update all rpms in dockerfile, not just gnutls (get fresher RPM updates) (#394)
Change-Id: I133e6ed1b1b8b21ce4dc2b6fe36140ff662c1b04
Signed-off-by: Nick Boldt <nboldt@redhat.com>

Signed-off-by: Nick Boldt <nboldt@redhat.com>
2022-12-05 13:02:51 -04:00
Mykhailo Kuznietsov 5e90d07987 chore: Bump to 7.58.0-SNAPSHOT in main
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
2022-11-24 15:30:55 +01:00
Ilya Buziuk 642732668b chore: Removing deprecated devfile endpoints. Updating the 2.2 schema to the latest version
Signed-off-by: Ilya Buziuk <ibuziuk@redhat.com>
2022-11-22 09:32:32 +01:00
che-bot e897e7b2f2
chore: Update from ubi8-minimal:8.6-994 to ubi8-minimal:8.7-923 (#384)
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>

Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
Co-authored-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
2022-11-14 11:51:15 -04:00
Ilya Buziuk 5c8658724f chore: Decommissioning Organization, Resource, Permission, Keycloak, SSH, Activity services
Signed-off-by: Ilya Buziuk <ibuziuk@redhat.com>
2022-11-14 12:53:46 +01:00
Vitaliy Gulyy cf508f009c
fix: Use SHA of the latest commit instead of the branch name when fetching raw file content (#376)
Signed-off-by: Vitaliy Gulyy <vgulyy@redhat.com>
2022-11-14 09:20:44 +02:00
Igor Vinokur d11aeaf26b
chore: Add more Git unit tests (#375) 2022-11-08 09:38:27 +02:00
Samantha Dawley 621ad6ba71
chore: #21790 add badges for some actions and a link to downstream 3.x job (#380)
* chore: #21790 add badges for some actions and a link to downstream 3.x job

Signed-off-by: Samantha Dawley <sdawley@redhat.com>

* remove extra braces

* remove che-theia badges from che-server readme

Signed-off-by: Samantha Dawley <sdawley@redhat.com>
Co-authored-by: Nick Boldt <nboldt@redhat.com>
2022-11-07 18:48:41 -04:00
Ilya Buziuk 2400b7e1e5 chore: bumping kubernetes-client to the 5.12.4 version
Signed-off-by: Ilya Buziuk <ibuziuk@redhat.com>
2022-11-07 14:52:24 +01:00
Mykhailo Kuznietsov fb0bdd249f chore: Bump to 7.57.0-SNAPSHOT in main
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
2022-11-04 15:32:21 +01:00
che-bot e200cd0870
chore: Update from ubi8-minimal:8.6-941 to ubi8-minimal:8.6-994 (#377)
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>

Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
Co-authored-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
2022-11-02 07:50:26 -03:00
Andrew Obuchowicz e8ae835df2 fixup! chore: remove che.infra.kubernetes.workspace_start_timeout_min property 2022-11-02 10:38:35 +01:00
Andrew Obuchowicz 687df1a19d fixup! chore: remove che.infra.kubernetes.workspace_start_timeout_min property 2022-11-02 10:38:35 +01:00
Andrew Obuchowicz 640c9b7373 fixup! chore: remove che.workspace.pod.tolerations_json property 2022-11-02 10:38:35 +01:00
Andrew Obuchowicz 2adc95d690 fixup! chore: remove che.workspace.pod.node_selector property 2022-11-02 10:38:35 +01:00
Andrew Obuchowicz 8c7c008831 chore: remove che.workspace.server.ping_success_threshold & che.workspace.server.ping_interval_milliseconds properties
Signed-off-by: Andrew Obuchowicz <aobuchow@redhat.com>
2022-11-02 10:38:35 +01:00
Andrew Obuchowicz 2ae602980c chore: remove che.workspace.probe_pool_size property
Signed-off-by: Andrew Obuchowicz <aobuchow@redhat.com>
2022-11-02 10:38:35 +01:00
Andrew Obuchowicz 5a932eeba6 chore: remove che.workspace.pool.type, che.workspace.pool.exact_size, che.workspace.pool.cores_multiplier properties
Signed-off-by: Andrew Obuchowicz <aobuchow@redhat.com>
2022-11-02 10:38:35 +01:00
Andrew Obuchowicz 9f9dce1bf5 chore: remove che.workspace.auto_start property
Signed-off-by: Andrew Obuchowicz <aobuchow@redhat.com>
2022-11-02 10:38:35 +01:00
Andrew Obuchowicz 80d1f4e06d chore: remove che.workspace.pod.tolerations_json property
Signed-off-by: Andrew Obuchowicz <aobuchow@redhat.com>
2022-11-02 10:38:35 +01:00
Andrew Obuchowicz 5283270814 chore: remove che.workspace.pod.node_selector property
Signed-off-by: Andrew Obuchowicz <aobuchow@redhat.com>
2022-11-02 10:38:35 +01:00
Andrew Obuchowicz 9c6a43c0f9 chore: remove che.workspace.activity_check_scheduler_period_s, che.workspace.activity_check_scheduler_delay_s, che.workspace.activity_cleanup_scheduler_period_s, che.workspace.activity_cleanup_scheduler_initial_delay_s properties
Signed-off-by: Andrew Obuchowicz <aobuchow@redhat.com>
2022-11-02 10:38:35 +01:00
Andrew Obuchowicz 454cdd7c6b chore: remove che.workspace.sidecar.image_pull_policy property
Signed-off-by: Andrew Obuchowicz <aobuchow@redhat.com>
2022-11-02 10:38:35 +01:00
Andrew Obuchowicz 5360484f28 chore: remove che.infra.kubernetes.workspace_start_timeout_min property
Signed-off-by: Andrew Obuchowicz <aobuchow@redhat.com>
2022-11-02 10:38:35 +01:00
Andrew Obuchowicz ee3f2b9911 chore: remove che.workspace.http_proxy, che.workspace.https_proxy, che.workspace.no_proxy properties
Signed-off-by: Andrew Obuchowicz <aobuchow@redhat.com>
2022-11-02 10:38:35 +01:00
Andrew Obuchowicz 0c3afb1f22 chore: remove che.workspace.logs.root_dir property
Signed-off-by: Andrew Obuchowicz <aobuchow@redhat.com>
2022-11-02 10:38:35 +01:00
Andrew Obuchowicz f3700dba05 chore: remove che.workspace.projects.storage property
Signed-off-by: Andrew Obuchowicz <aobuchow@redhat.com>
2022-11-02 10:38:35 +01:00
Igor Vinokur b7f8fea502
fix: Fix gitlab url validation (#372)
Check if a user namespace PAT secret is present, even if the given URL doesn't match the predefined patterns.
Fix the getPatternMatcherByUrl() function as gitlabUrlPatterns.isEmpty() condition is impossible.
Fix the git credentials secret initialisation when a PAT secret is already present.
2022-10-21 09:34:03 +03:00
Igor Vinokur a6faefa953
fix: fix resolving Gitlab raw url (#371)
Partially reverts 5aa763a in order to fix the Gitlab OAuth flow.
The rawFileUrl method uses the API request now. If the request is passed without token it works for public repos, unlike the previous raw file request which fails for private projects, even with the Authorisation header.
2022-10-19 17:59:17 +03:00
Igor Vinokur acc57c7788
chore: Apply maximum allowed expiryDays for the bitbucket server token request (#370)
* chore: Apply maximum allowed expiryDays for the bitbucket server token request

Signed-off-by: Igor Vinokur <ivinokur@redhat.com>

* fixup! chore: Apply maximum allowed expiryDays for the bitbucket server token request

* fixup! chore: Apply maximum allowed expiryDays for the bitbucket server token request

Signed-off-by: Igor Vinokur <ivinokur@redhat.com>
2022-10-14 12:29:58 -03:00
Mykhailo Kuznietsov bc4ec10c23 chore: Bump to 7.56.0-SNAPSHOT in main
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
2022-10-12 16:11:49 +02:00
che-bot 304ef32c26
chore: Update from ubi8-minimal:8.6-902.1661794353 to ubi8-minimal:8.6-941 (#367)
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>

Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
Co-authored-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
2022-10-12 08:56:33 -03:00
Igor Vinokur f9e002b880
chore: Improve the bitbucket-server Url pattern (#368)
Improve the bitbucket server Url pattern to support url from project repositories and from the bitbucket page that includes branch reference.
2022-10-11 16:35:17 +03:00
Anatolii Bazko d4e29dfe61
Merge pull request #355 from eclipse-che/CRW-3328
feat: Delegate only needed roles to user in his namespace
2022-10-06 11:54:28 +03:00