Commit Graph

34 Commits (da3eefe2378e878de1801ac5912c031ae172dfef)

Author SHA1 Message Date
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
Roman Iuvshyn 99afaef87f
RELEASE: Set next development version (#11930) 2018-11-14 12:29:03 +02:00
David Festal 9560a437ab
Reuse the Dashboard Keycloak instance in IDE frames when possible (#11794)
* Reuse the Dashboard Keycloak instance in IDE frames when possible

This avoids one or 2 authentication flows between the real IDE loading,
and decrease the overall IDE loading process by 5 seconds or more.

(5-6 seconds out of 10-12s in my case)

Signed-off-by: David Festal <dfestal@redhat.com>
2018-11-05 12:13:20 +01:00
Roman Iuvshyn 365d25f275
RELEASE: Set next development version (#11710) 2018-10-24 16:38:03 +03:00
Thomas Mäder 4343ca272c Removed jdt (#10587)
Signed-off-by: Thomas Mäder <tmader@redhat.com>
2018-10-17 15:05:02 +02:00
Anatoliy Bazko 86aefabbea Fix workspace-loader application build (#10578)
Signed-off-by: Oleksii Kurinnyi <okurinny@redhat.com>
2018-10-17 15:05:02 +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
Sergii Leshchenko a11bd54bbc Make Workspace Loader listen to runtime log instead of machine log 2018-10-04 21:12:36 +03:00
Roman Iuvshyn 63b389c2fe
RELEASE: Set next development version (#11434)
* RELEASE: Set next development version
2018-10-04 18:25:39 +03:00
Roman Iuvshyn ea410c3340
RELEASE: Set next development version (#11169) 2018-09-12 11:53:42 +03:00
Oleksii Orel f9ab7b7760 CHE-10775 Upgrade lodash to version 4.17.10
Signed-off-by: Oleksii Orel <oorel@redhat.com>
2018-08-22 12:38:50 +03:00
Roman Iuvshyn d99b2ed73d
RELEASE: Set next development version (#10867)
* RELEASE: Set next development version
2018-08-22 12:06:38 +03:00
Oleksii Kurinnyi 3327f30d75
CHE-10656: persist 'yarn.lock' with fixed dependency versions (#10694)
Signed-off-by: Oleksii Kurinnyi <okurinny@redhat.com>
2018-08-13 09:28:50 +03:00
Oleksii Kurinnyi 960c390b66
CHE-10687: fix log message, add check for runtime in running workspace (#10734)
Signed-off-by: Oleksii Kurinnyi <okurinny@redhat.com>
2018-08-10 16:10:02 +03:00
Oleksii Kurinnyi 8bf02a9f5d
CHE-10540: stop workspace loading progress on websocket error (#10688)
* code clean-up

Signed-off-by: Oleksii Kurinnyi <okurinny@redhat.com>

* CHE-10540: stop workspace loading progress on websocket error

Signed-off-by: Oleksii Kurinnyi <okurinny@redhat.com>

* fixup! CHE-10540: stop workspace loading progress on websocket error
2018-08-08 13:10:03 +03:00
Oleksii Kurinnyi b03be67f04
CHE-10538: improves workspace loader (#10642)
* CHE-10538: update workspace loading flow

Signed-off-by: Oleksii Kurinnyi <okurinny@redhat.com>

* update licenses

Signed-off-by: Oleksii Kurinnyi <okurinny@redhat.com>

* fixup! CHE-10538: update workspace loading flow
2018-08-07 13:18:10 +03:00
Roman Iuvshyn 60da580c92
RELEASE: Set next development version (#10603) 2018-08-02 12:38:48 +03:00
Mykhailo Kuznietsov 07263f1e30
Fix license header text (#10629) 2018-08-02 11:18:04 +03:00
Oleksii Kurinnyi 0e49d6c2b3
CHE-10365: Add websocket reconnection feature to workspace loader app (#10533)
* CHE-10365: Add websocket reconnection feature to workspace loader app

Signed-off-by: Oleksii Kurinnyi <okurinny@redhat.com>

* fixup! CHE-10365: Add websocket reconnection feature to workspace loader app
2018-07-31 14:49:33 +03:00
Mykhailo Kuznietsov 15d23edc91
Update license to EPL 2.0 (#10531) 2018-07-31 11:24:36 +03:00
Oleksii Kurinnyi 9ea098460e
Fix workspace-loader application build (#10572)
* fix Workspace loader build

Signed-off-by: Oleksii Kurinnyi <okurinny@redhat.com>

* add package-lock.json

Signed-off-by: Oleksii Kurinnyi <okurinny@redhat.com>
2018-07-30 14:25:35 +03:00
Roman Iuvshyn 985d368f2d
RELEASE: Set next development version (#10345)
* RELEASE: Set next development version
2018-07-10 15:56:52 +03:00
Anna Shumilova 2f7a5a4ed1
Change the loading flow by always wait the runtime before open IDE (#10263)
* Change the loading flow by always wait the runtime before open IDE and add error handling

Signed-off-by: Anna Shumilova <ashumilo@redhat.com>
2018-07-09 11:57:24 +03:00
Roman Iuvshyn d7e1c73cf8
RELEASE: Set next development version (#10110) 2018-06-19 17:24:50 +03:00
Roman Iuvshyn 7231585f4b
RELEASE: Set next development version (#9862) 2018-05-30 12:01:54 +03:00
Roman Iuvshyn 6677e27a6b
RELEASE: Set next development version (#9669) 2018-05-11 10:27:31 +03:00
Roman Iuvshyn edb0e15e6f
RELEASE: Set next development version (#9473) 2018-04-18 08:31:24 +02:00
Sun Tan fe6bc263f6 Fix workspace loader which should pass its query strings to the underlying alternate IDE
Signed-off-by: Sun Tan <sutan@redhat.com>
2018-04-12 11:40:24 +02:00
Roman Iuvshyn e006334aad
RELEASE: Set next development version (#9268) 2018-03-28 10:58:30 +03:00
David Festal ff3459d2d3
Support alternate OIDC providers, to prepare for the switch from Keycloak to `fabric8_auth` (#8650)
Allow switching to an alternate OIDC provider (provided that it emits access tokens as JWT tokens).

This is the implementation required in upstream Che, for issues
redhat-developer/rh-che#502 and
redhat-developer/rh-che#525

Signed-off-by: David Festal <dfestal@redhat.com>
2018-03-23 14:44:23 +01:00
Vitaliy Guliy 8f041d8db6
Unable to open Theia IDE (#9073)
* Fix hanging the browser when too much console outputs

* Fix hanging the browser
2018-03-13 16:01:49 +02:00
Roman Iuvshyn dbdac2a604
RELEASE: Set next development version (#9038) 2018-03-07 17:53:03 +07:00
Oleksii Kurinnyi 16a8419a90
CHE-9024: fix ability to start a workspace from Dashboard (#9034)
* CHE-9024: fix ability to start a workspace from Dashboard

Signed-off-by: Oleksii Kurinnyi <okurinny@redhat.com>

* fixup! CHE-9024: fix ability to start a workspace from Dashboard
2018-03-07 11:01:34 +02:00
Vitaliy Guliy 3da13d54b5 Workspace loader (#8838)
Adding workspace loader application.
2018-03-05 14:04:49 +02:00