Commit Graph

802 Commits (b071721ad3fcd76216e1ca8ae11a9ebdbfd7410c)

Author SHA1 Message Date
Oleksii Orel a1d160cbdf CHE-10215 fix factory templates
Signed-off-by: Oleksii Orel <oorel@redhat.com>
2018-07-02 10:45:16 +03:00
Roman Iuvshyn d7e1c73cf8
RELEASE: Set next development version (#10110) 2018-06-19 17:24:50 +03:00
Oleksii Orel fa15dee53a CHE-9563 fix switcher bug for UD
Signed-off-by: Oleksii Orel <oorel@redhat.com>
2018-06-13 14:45:05 +03:00
Oleksii Orel 4269341b53 CHE-9547 fix RAM changes for editing the machine dialog for UD
Signed-off-by: Oleksii Orel <oorel@redhat.com>
2018-05-31 20:25:44 +03:00
Roman Iuvshyn 7231585f4b
RELEASE: Set next development version (#9862) 2018-05-30 12:01:54 +03:00
David Festal e0890235fa
Allow creating OpenShift objects under the current user account on OCP (#9577)
* Support identity provider token retrieval in both JSON or URL formats.

That's required because some identity providers (such a `openshift-v3`)
correctly return the token information in JSON, as expected. So
switching to the url-based syntax should only used when the returned
json is invalid.

Signed-off-by: David Festal <dfestal@redhat.com>

* Introduce an `OpenShiftClientConfigFactory` to allow customizing the OpenShift config returned according to the current context (workspace ID, current user)

Signed-off-by: David Festal <dfestal@redhat.com>

* Openshift Infra + Multi-user => allow using OpenShift identity provider to connect to openshift with the OS oauth token of the current Che user.

This introduces a new property:

`che.infra.openshift.oauth_identity_provider`

Signed-off-by: David Festal <dfestal@redhat.com>

* Notify the user when a workspace cannot be started from the nav bar.

Signed-off-by: David Festal <dfestal@redhat.com>

* Add the ability to install the Openshift certificate into Keycloak

Signed-off-by: David Festal <dfestal@redhat.com>

* Add a yaml file to provide the openshift certificate as a secret,

in case it has to be installed into the dedicated Keycloak server.

Then the commands to install Che multiuser on Minishift with this
certificate are:

```
oc new-project che

oc process -f multi/openshift-certificate-secret.yaml -p
CERTIFICATE="$(minishift ssh docker exec origin /bin/cat
./openshift.local.config/master/ca.crt)" | oc apply -f -; \
oc new-app -f multi/postgres-template.yaml; \
oc new-app -f multi/keycloak-template.yaml -p ROUTING_SUFFIX=$(minishift
ip).nip.io; \
oc apply -f pvc/che-server-pvc.yaml; \
oc new-app -f che-server-template.yaml -p ROUTING_SUFFIX=$(minishift
ip).nip.io -p CHE_MULTIUSER=true -p
CHE_INFRA_OPENSHIFT_OAUTH__IDENTITY__PROVIDER=openshift-v3; \
oc set volume dc/che --add -m /data --name=che-data-volume
--claim-name=che-data-volume
```

Of course it's still needed to register the `openshift-v3` identity
provider in the Keycloak server, as well as, add the corresponding
`OAuthClient` object in Minihshift.

Signed-off-by: David Festal <dfestal@redhat.com>
2018-05-28 11:39:44 +02:00
Oleksii Kurinnyi 963234af5d
CHE-8931: fix blank screen on project details page (#9771)
* check WebSocket connection

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

* check workspace and workspace agent for they to be existing

Signed-off-by: Oleksii Kurinnyi <okurinny@redhat.com>
2018-05-23 14:35:48 +03:00
Anna Shumilova 576ce4743a Fix installers version confusing by displaying only the latest version
Signed-off-by: Anna Shumilova <ashumilo@redhat.com>
2018-05-22 12:10:50 +03:00
Anna Shumilova 504fae4b93 Fix wsagent clientId passing, fix diagnostics recipe to work both on ocp and docker
Signed-off-by: Anna Shumilova <ashumilo@redhat.com>
2018-05-21 15:34:57 +03:00
Anna Shumilova 0139788632 che-9234: fix diagnostics by reworking websocket usage to jsonrpc
Signed-off-by: Anna Shumilova <ashumilo@redhat.com>
2018-05-16 10:54:39 +03:00
Oleksii Orel f2ff0f8e1a CHE-9523 improve flow to creating a new stack for OpenShift/K8S
Signed-off-by: Oleksii Orel <oorel@redhat.com>
2018-05-15 11:08:23 +03:00
Anna Shumilova a7f86b3c1b che-9537: fix machine name editing
Signed-off-by: Anna Shumilova <ashumilo@redhat.com>
2018-05-14 12:15:33 +03:00
Anna Shumilova 89db5899c5 Fix validation on project editing
Signed-off-by: Anna Shumilova <ashumilo@redhat.com>
2018-05-14 12:15:33 +03:00
Rashmi Pandit c22fc462d1 To white label dashboard, make it possible
override dashboard fonts and colors (eclipse#8421)

Signed-off-by: Rashmi Pandit <rashmi.pandit@softwareag.com>
2018-05-11 13:05:41 +02:00
Roman Iuvshyn 6677e27a6b
RELEASE: Set next development version (#9669) 2018-05-11 10:27:31 +03:00
Sergey Skorik a3472a9f2c
Selenium: cover the Stacks list by selenium test (#9601) 2018-05-08 14:13:23 +03:00
Oleksii Kurinnyi efcdde9636
CHE-8931: fix projects management in multi-user mode (#9615)
Signed-off-by: Oleksii Kurinnyi <okurinny@redhat.com>
2018-05-08 10:20:03 +03:00
Mykola Morhun e8d3910e4b
Allow adding Theia extension on image build from within container (#9608)
* Allow adding Theia extension on image build from within container

Signed-off-by: Mykola Morhun <mmorhun@redhat.com>

* Rename environment variable

Signed-off-by: Anna Shumilova <ashumilo@redhat.com>
2018-05-05 13:26:20 +03:00
Oleksii Kurinnyi 2ef9f35ff4
CHE-8931: fix black screen on project details page (#9586)
Signed-off-by: Oleksii Kurinnyi <okurinny@redhat.com>
2018-05-03 10:10:39 +03:00
Anna Shumilova 64a2905acd Fix Github oAuth in dashboard
Signed-off-by: Anna Shumilova <ashumilo@redhat.com>
2018-04-19 15:41:04 +03:00
Roman Iuvshyn edb0e15e6f
RELEASE: Set next development version (#9473) 2018-04-18 08:31:24 +02:00
Oleksii Orel 8bb817d939 CHE-9299 remove the dev machine validation for UD
Signed-off-by: Oleksii Orel <oorel@redhat.com>
2018-04-05 17:59:18 +03:00
Anna Shumilova 425a5da30b
Add ability to manage the list of Theia plugins in UD (#9300)
* Manage the list of Theia plugins in UD

Signed-off-by: Anna Shumilova <ashumilo@redhat.com>
2018-04-03 10:40:30 +03: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
Oleksii Kurinnyi 4119a27731
hide "Users" menu item in left navbar when keycloack is used (#9182)
* hide "Users" menu item in left navbar when keycloack is used

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

* fixup! hide "Users" menu item in left navbar when keycloack is used
2018-03-23 11:50:45 +02:00
Sergey Skorik 082cb51fad
Selenium: test SSH and Volumes tab on workspace details page (#9189) 2018-03-23 10:27:48 +02:00
Sergey Skorik 8c40c87830
Selenium: cover sharing workspaces in organizations by selenium test (#9167) 2018-03-23 09:32:05 +02:00
Oleksii Kurinnyi 5b7d649bba
CHE-8675: fix reconnection to a WebSocket entrypoint (#9170)
* CHE-8675: fix reconnection to a WebSocket entrypoint

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

* fixup! CHE-8675: fix reconnection to a WebSocket entrypoint
2018-03-22 10:13:21 +02:00
Oleksii Orel 13fb13e97a CHE-8776 fix a workspace details namespace link for UD
Signed-off-by: Oleksii Orel <oorel@redhat.com>
2018-03-10 17:26:13 +02:00
Oleksii Orel 91d1f68bd2 CHE-8538 fix removing SSH key errors for UD
Signed-off-by: Oleksii Orel <oorel@redhat.com>
2018-03-10 17:26:13 +02:00
Oleksii Orel 8d26f5ff8e CHE-8900 fix workspace details share tab errors for UD
Signed-off-by: Oleksii Orel <oorel@redhat.com>
2018-03-10 17:26:13 +02:00
Roman Iuvshyn dbdac2a604
RELEASE: Set next development version (#9038) 2018-03-07 17:53:03 +07:00
Oleksii Orel 82e88db560 CHE-8571 add UD permissive to unknown recipe types
Signed-off-by: Oleksii Orel <oorel@redhat.com>
2018-03-05 16:32:15 +02:00
Vitaliy Guliy 3da13d54b5 Workspace loader (#8838)
Adding workspace loader application.
2018-03-05 14:04:49 +02:00
Oleksii Orel ce93c04c70 CHE-7925 change routing for workspace project
Signed-off-by: Oleksii Orel <oorel@redhat.com>
2018-02-28 12:40:56 +02:00
Oleksii Orel df048a6777 CHE-8497 add saving data for new workspace after creation
Signed-off-by: Oleksii Orel <oorel@redhat.com>
2018-02-28 12:40:56 +02:00
Sergey Skorik 8ec608346f
Selenium: cover working with factories on the Dashboard by selenium tests (#8917) 2018-02-27 15:44:50 +02:00
Oleksii Orel 4fac05705d CHE-8544 fix user's workspaces visibility
Signed-off-by: Oleksii Orel <oorel@redhat.com>
2018-02-27 14:39:25 +02:00
Oleksii Orel e48ff4c48c CHE-8909 fix add a new machine to workspace flow with the needed name
Signed-off-by: Oleksii Orel <oorel@redhat.com>
2018-02-27 14:37:55 +02:00
Oleksii Orel dc7bcb1138 CHE-8067 implement matching of a machine to OpenShift container by pod annotations
Signed-off-by: Oleksii Orel <oorel@redhat.com>
2018-02-23 11:42:46 +02:00
Sergey Skorik 68eb728e74
Selenium: add selenium test to cover creating of workspaces for organizations (#8842)
* created AddWorkspaceToOrganizationTest selenium test
* added info about known issues  - #8776, #8497, #7925.
2018-02-21 12:00:52 +02:00
Florent BENOIT 49908c5789
[dashboard] Avoid the usage of ng-annotate which slow down the build (#8813)
* Avoid the usage of ng-annotate which slow down the build. Also @nInject in 'javadoc' style is deprecated and original project is EOL

Change-Id: I17850e10bd66e810a823538497d77696826ee9d0
Signed-off-by: Florent BENOIT <fbenoit@redhat.com>
2018-02-19 16:21:26 +01:00
Roman Iuvshyn e2762411b3
RELEASE: Set next development version (#8773) 2018-02-14 15:00:52 +02:00
Anna Shumilova d5a23574f8 che-7246: fix fetch available RAM on workspace creation
Signed-off-by: Anna Shumilova <ashumilo@redhat.com>
2018-02-07 15:42:47 +02:00
Oleksii Kurinnyi d5c46dc104
CHE-8594: fix workspaces list page (#8620)
Signed-off-by: Oleksii Kurinnyi <okurinny@redhat.com>
2018-02-06 15:26:31 +02:00
Oleksii Kurinnyi 741d28e371
Dashboard: fix list of organizations for system administrator (#8533)
* Dashboard: fix list of root organizations for system administrator

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

* fixup! Dashboard: fix list of root organizations for system administrator
2018-02-05 12:01:16 +02:00
Oleksii Kurinnyi e3307925cc
CHE-6725: update list of namespaces after list of organizations is updated (#8579)
Signed-off-by: Oleksii Kurinnyi <okurinny@redhat.com>
2018-02-05 12:00:51 +02:00
Oleksii Kurinnyi 86a560b17b
Dashboard: fix closing the popup window on Create Workspace page (#8601)
Signed-off-by: Oleksii Kurinnyi <okurinny@redhat.com>
2018-02-05 11:08:25 +02:00
Oleksii Kurinnyi 80463b3a5c
Dashboard: fix editor styles in "Build stack from recipe" widget (#8602)
Signed-off-by: Oleksii Kurinnyi <okurinny@redhat.com>
2018-02-05 11:07:58 +02:00