Commit Graph

718 Commits (5ac5e46ee2954fdff7a32fa5df2923e99744efb7)

Author SHA1 Message Date
Dmytro Nochevnov c85ef9e2ad
Remove redundant Eclipse Che 'user' role (#12279)
* Don't bind 'user' role to test user

Signed-off-by: Dmytro Nochevnov <dnochevn@redhat.com>

* Remove role 'user' from keycloak

Signed-off-by: Dmytro Nochevnov <dnochevn@redhat.com>
2018-12-28 14:35:31 +01:00
Roman Iuvshyn b872b317cb
RELEASE: Set next development version (#12277) 2018-12-26 13:04:51 +02:00
Florent Benoit 078fefe796 Usage of Theia 0.3.18
Update of test dependencies to latest
Change-Id: Ia2b18c91792802fd769e696fc5ae726a5e5d0f5c
Signed-off-by: Florent Benoit <fbenoit@redhat.com>
2018-12-21 16:25:37 +01:00
Valeriy Svydenko 90b5bdef23
Remove maven server (#12235)
Signed-off-by: Valeriy Svydenko <vsvydenk@redhat.com>
2018-12-21 17:16:28 +02:00
Florent Benoit 62a537e08e Backport as well https://github.com/theia-ide/theia/pull/3869 fix for tasks runners
Change-Id: I65a97921066d6ceab2204a9365bb2c8d19e3c51e
Signed-off-by: Florent Benoit <fbenoit@redhat.com>
2018-12-20 10:56:12 +01:00
Sergii Kabashniuk 67a8ed191e
Gwt ide as sidecar Docker image (#12201)
Gwt ide as sidecar Docker image (#12201)
2018-12-20 11:46:43 +02:00
Florent Benoit 67f64fe712 Add patch for git clone operation for theia 0.3.17
Change-Id: I5c6abd91e615c7af7134a5231877ceb7bee99dc3
Signed-off-by: Florent Benoit <fbenoit@redhat.com>
2018-12-19 10:56:59 +01:00
Mykola Morhun 272b15c438
Move Che Theia to 3100 port (#12178) 2018-12-13 16:51:04 +02:00
Florent BENOIT b73ae55fcc
[docker] [theia] Use of theia-dev image in theia image (#12171)
* Use of theia-dev image in theia image

Change-Id: I0aec5d9649d4571045c36675496b7066b41de87e
Signed-off-by: Florent Benoit <fbenoit@redhat.com>
2018-12-13 14:55:09 +01:00
Florent BENOIT 97b878fb04
[dockerfiles] [theia] Add eclipse/theia-dev image (#12085)
* Add eclipse/theia-dev image
will be used by developers and by theia image (as builder image)

Change-Id: Ie78cb2d616ef6e5a32ce7c34a25b3adab1f28948
Signed-off-by: Florent Benoit <fbenoit@redhat.com>
2018-12-11 10:21:55 +01:00
Innovimax f95511f2ef FIX Typo "doesn't exists" -> "doesn't exist" (#12154)
FIX Typo "doesn't exists" -> "doesn't exist" (#12154)
2018-12-11 09:37:04 +02:00
Florent Benoit 284db86f15 Update to theia 0.3.17
Change-Id: I711690f465bbf12f760dab65ecceabeb311b8634
Signed-off-by: Florent Benoit <fbenoit@redhat.com>
2018-12-10 16:53:07 +01:00
Roman Iuvshyn 45490d2a3b
RELEASE: Set next development version (#12115) 2018-12-05 18:33:02 +02:00
Sergii Leshchenko a3f7393033 Fix creating custom java trust store for Che Server 2018-12-05 13:18:06 +02:00
Sergii Leshchenko 331a63cd06 Rename OPENSHIFT_IDENTITY_PROVIDER_CERTIFICATE to CHE_SELF__SIGNED__CERT 2018-12-05 13:18:06 +02:00
Florent Benoit 4e770729e8 Simplify the build by adding che packages in the current theia repository and adding che assembly in examples folder
Change-Id: Ibaa299b09579165c5955226184f9c2ab32dd0432
Signed-off-by: Florent Benoit <fbenoit@redhat.com>
2018-11-29 18:04:22 +01:00
Florent Benoit c91cb54fb8 Update factory plug-in
Change-Id: I402dcd9da2065f9f807b9dabffcc307902171854
Signed-off-by: Florent Benoit <fbenoit@redhat.com>
2018-11-27 14:22:14 +01:00
Masaki Muranaka d309ef4b83 Remove redundant <version> elements. (#12023)
As they will be inherited from `parent.version`.

Signed-off-by: Masaki Muranaka <monaka@monami-ya.com>
2018-11-25 21:17:08 +02:00
Yevhen Vydolob 8fe1172cb1
che#11306 use 'versions.sh' from proper place (#12010)
Signed-off-by: Yevhen Vydolob <yvydolob@redhat.com>
2018-11-21 15:51:06 +02:00
Vitaliy Gulyy 21318aeec8
build.sh become working on Ubuntu / Linux Mint (#12004)
* Use bash instead sh

* Revert .gitignore
2018-11-21 12:37:27 +02:00
Sergii Kabashniuk 493f5d15f9
Upgrade java8 version for workspace master (#11977)
Upgrade java8 version for workspace master (#11977)
2018-11-20 13:40:37 +02:00
Roman Iuvshyn 99afaef87f
RELEASE: Set next development version (#11930) 2018-11-14 12:29:03 +02:00
Sun Seng David TAN f0205a1b16 che-theia: Upgrade theia factory plugin to include fixes #11838 and #11837
Signed-off-by: Sun Seng David TAN <sutan@redhat.com>
2018-11-13 15:15:15 +01:00
Florent Benoit ae5fa2b2c3 - Apply patches as expected
- Do not use theia start command on production build (fix 0.3.16 image)

Change-Id: I6a6dcab2af663acdfbe79cc71498548f80920dfc
Signed-off-by: Florent Benoit <fbenoit@codenvy.com>
2018-11-12 15:22:43 +01:00
Florent Benoit f8ec686c6b - use of alpine image for Theia (allow to pick up recent versions of git easily)
- fix cypress run by skipping trash mode

Change-Id: I7a851fc443ad37ab9a3d12e29ce7a8c4db285054
Signed-off-by: Florent Benoit <fbenoit@codenvy.com>
2018-11-08 14:08:53 +01:00
Mykhailo Kuznietsov c0626f813f
Allow POSTGRESQL_LOG_DEBUG variable to be unset in PostgreSQL image (#11835) 2018-11-07 11:20:59 +02:00
Igor Vinokur df4b4f1bd2
CHE-11457: Switch github-extension to tag (#11784) 2018-10-31 14:39:36 +02:00
Sergii Kabashniuk b53c0e5825
PostgreSQL debug mode (#9343)
* Added eclipse/che-postgres:nightly-debug image to run postgresql with configured logger format compatible with pgbadger reporting tool
2018-10-31 09:54:38 +02:00
Florent BENOIT bd078f37e5 - Update to latest Theia tag (0.3.16)
- Reduce the image size by 1GiB (uncompressed size)
  - use production mode of yarn (remove all dev dependencies)
  - use yarn global instead of npm global (to dedupe)
  - cleanup yum packages
  - Remove dugite internal git (use of external git). Also use environment variable to define GIT to use avoiding a git binary search operation at each start of container.
  - use of yarn autoclean (providing a definition of files to remove from node_modules)
  - remove source maps
  - remove verdaccio stuff
  - remove electron
  - remove npm cache
  - remove intermediate java files used by theia/java LSP
  - remove modules only used at client side
  - remove .git files / typescript source files

Change-Id: Iaacca59a3a001f4ec4311fea3d47362731f5ecbb
Signed-off-by: Florent BENOIT <fbenoit@redhat.com>
2018-10-29 17:06:43 +01:00
Florent BENOIT b7c2e2ffce Fix title in cli backup command to not see codenvy
Change-Id: I55db668b8ee7e40b2fa2aa631306dd468cd052b6
Signed-off-by: Florent BENOIT <fbenoit@redhat.com>
2018-10-28 00:09:23 +02:00
Igor Vinokur aff4464c61
CHE-9720: Checkout ssh-extension to tag with extension (#11405) 2018-10-26 16:46:58 +03:00
Florent BENOIT 65750d4d1d Extension has been removed in image, fix the test
Change-Id: I7fb52d9b2eecf4bce7803ac9429232200ef6a59f
Signed-off-by: Florent BENOIT <fbenoit@redhat.com>
2018-10-26 14:38:48 +02:00
Sun Seng David TAN c0f99eb1ef Adding che-theia-factory plugin by default to che-theia image
Signed-off-by: Sun Seng David TAN <sutan@redhat.com>
2018-10-26 10:07:22 +02:00
Sun Tan 1dcfe8bd3a Removing unused factory extension (will be replaced by the plugin)
Signed-off-by: Sun Tan <sutan@redhat.com>
2018-10-26 10:07:22 +02:00
Roman Iuvshyn 365d25f275
RELEASE: Set next development version (#11710) 2018-10-24 16:38:03 +03:00
Florent BENOIT 99cbf61845 Update the theia yeoman generator to the latest version
Change-Id: I5b1a47582184d90ba99bd2f0475f44230d435e3a
Signed-off-by: Florent BENOIT <fbenoit@redhat.com>
2018-10-22 14:32:40 +02:00
Sun Tan fa01b912f7 Che-theia: Temporary using extension branch for che-theia-factory-extension
Signed-off-by: Sun Tan <sutan@redhat.com>
2018-10-19 16:46:49 +02:00
Yevhen Vydolob 207deead88 force use inversify@4.13.0 (#11685)
Signed-off-by: Yevhen Vydolob <yvydolob@redhat.com>
2018-10-19 15:34:45 +03:00
Florent BENOIT 54aebb06ce Fix git
Change-Id: I16f02a351d1348382f0144280aab5121d1389882
Signed-off-by: Florent BENOIT <fbenoit@redhat.com>
2018-10-18 16:51:19 +02:00
Florent BENOIT 81b5a17136 - Add git2.9 to PATH env var (if bashrc is not including on the shell)
- Fix redirect link usage when using curl

Change-Id: I62087a6a7af57026b025cb0b9174725d096e037f
Signed-off-by: Florent BENOIT <fbenoit@redhat.com>
2018-10-17 11:07:11 +02:00
Florent BENOIT bd34ae5734
[docker] Update che theia image (#11633)
* Include yeoman generator plug-in by default
Add /projects folder and use it as working directory
2018-10-16 19:32:07 +02:00
Florent BENOIT 3a91be932a Create a parent /node_modules folder and add setting for yarn to use that parent folder
then, any /projects/* items will use that parent folder to store dependencies and avoid to use current folder
it will avoid any big I/O operations on the /projects folder

Change-Id: I9fee5963808607b93dcc592456845fb5a3d73e4a
Signed-off-by: Florent BENOIT <fbenoit@redhat.com>
2018-10-12 19:15:03 +02:00
David Festal 534a961e84
Provide better compatibility with alternate OIDC providers (#11090)
Currently in Che there are still a number of requirements in upstream that are not required by the OIDC specification, so that Che still cannot be used with a number of OIDC compliant providers.
For example, in order to have Che working with the [`node-oidc-provider`](https://github.com/panva/node-oidc-provider), the following changes were necessary:

- Remove the requirement to have the email as a claim in the JWT access
token: this is not required the specification and is not supported by a
number of OIDC providers. Normally, the Id token contains such claims.

  So now if the email is not in the JWT token the first time the user connects to Che, ten the email is retrieved from the OIDC provider through its `user-profile` endpoint.

- Explicitely specify the the `openid email profile` scope when requesting the access token. Because OIDC providers, when answering to the `userInfo` endpoint, are expected to return claims that corresponds to the scopes of the access token. So if an access token has the `openid` scope only, the `userinfo` might return no claim at all (according to the specification).

  Until now it was working since keycloak allows adding claims to the returned tokens anyway.

- Allow supporting fixed redirect Uris: most OIDC providers support having a list of redirect URIs to come back to after the authorization step.  But these authorized Uris don't necessarily support wildcards or prefix. Che doesn't support this currently, and these changes introduce 2 fixed callback HTML pages that redirect to the Dashboard / IDE URL of the final page we want to come back to after authentication. This makes Che compatible with more OIDC providers

  We introduced a new boolean property to enable / disable fixed redirect URLs:
  `che.keycloak.use_fixed_redirect_urls` 
  whose default value is `false`

- The previous points required some light changes in the Keycloak Javascript adapter file, that we will submit as a PR to the Keycloak project. I, the meantime the `OIDCKeycloak.js` file is still used, but has been updated to be now based on the `keycloak.js` file of the last `4.5.0-final` Keycloak release. This will make this Keycloak PR easier to get accepted.

  Please keep in mind that this version upgrade only impacts the alternate OIDC provider case: when using a real Keycloak server, Che *always uses the `keycloak.js` file provided by the Keycloak server*. 


Signed-off-by: David Festal <dfestal@redhat.com>
2018-10-10 20:52:35 +02:00
Florent BENOIT 5d5fc4e37e Invalidate cache if remote theia is changed
Change-Id: Ic836548b0a2b16838b17414c49b77fc1fe0b8d6a
Signed-off-by: Florent BENOIT <fbenoit@redhat.com>
2018-10-10 11:50:27 +02:00
Florent BENOIT f057de2576 cleanup temp folder
Change-Id: Iec98ef765a4047c7cad2ad283046ed0a53e9f4dd
Signed-off-by: Florent BENOIT <fbenoit@redhat.com>
2018-10-10 11:50:27 +02:00
Florent BENOIT cb8a301f23 disable yeoman statistics by default
Change-Id: I9438e96c0bf7bdf75c8f8504bbcaaf120191726d
Signed-off-by: Florent BENOIT <fbenoit@redhat.com>
2018-10-10 11:50:27 +02:00
Florent BENOIT a1a01c1f74 Add a recent version of git inside the image
Change-Id: Ifadc5f40fd2282b70d3994493c09f126341fe7ca
Signed-off-by: Florent BENOIT <fbenoit@redhat.com>
2018-10-10 11:50:27 +02:00
Florent BENOIT f7ebd6e4fd Changing permissions should be the latest instruction
Change-Id: I6479d3e3073d0ffd52284cbf0a7f43828d9b73d0
Signed-off-by: Florent BENOIT <fbenoit@redhat.com>
2018-10-09 12:32:21 +02:00
Florent BENOIT 9908d96ba4 fixup! - Move theia version definition later so we can reuse layers providing centos packages
Change-Id: I01989a49e414687757234c4d07b0842d7f585857
Signed-off-by: Florent BENOIT <fbenoit@redhat.com>
2018-10-09 12:32:21 +02:00
Florent BENOIT 2e0704cf59 Synchronize examples/browser packages with che-theia image (remove only terminal extension which is provided by the che one)
Fix #11390

Change-Id: I32cf2b645f98859b58d4088b53425841055c613e
Signed-off-by: Florent BENOIT <fbenoit@redhat.com>
2018-10-09 12:32:21 +02:00