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