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>
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.
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).
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.
* 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>
* 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>
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.
* 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>
* 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>
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.
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.
* 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>