Commit Graph

1149 Commits (fc2f76bc5c8a6146cdaca34eb2bb60ca8e30aaee)

Author SHA1 Message Date
Anatoliy Bazko 0e98bda4a0 Fix after rebasing master branch
Signed-off-by: Anatoliy Bazko <abazko@redhat.com>
2018-10-17 15:05:02 +02:00
Anatoliy Bazko 5fd609831d CHE-8510: Recognize multi-module projects (#8661)
Signed-off-by: Anatoliy Bazko <abazko@redhat.com>
2018-10-17 15:05:02 +02:00
Valeriy Svydenko 80ec8c31e2 Show information about methods' signatures (#8731)
Signed-off-by: Valeriy Svydenko <vsvydenk@redhat.com>
2018-10-17 15:05:02 +02:00
Anatoliy Bazko f3967bf4e7 CHE-8617: Fix proposals (#8679)
Signed-off-by: Anatoliy Bazko <abazko@redhat.com>
2018-10-17 15:05:02 +02:00
Igor Vinokur 7a1e733dea CHE-8555: Hide LS hovers when dialog window is opened (#8589)
Signed-off-by: Igor Vinokur <ivinokur@redhat.com>
2018-10-17 15:05:02 +02:00
Thomas Mäder 5158e6e9f4 Use URIs in Language Server API calls (#8313)
Signed-off-by: Thomas Mäder <tmader@redhat.com>
2018-10-17 15:05:02 +02:00
Thomas Mäder c68ec14404 6682 Use jdt.ls for Usages
Use jdt.ls for usages

Signed-off-by: Thomas Mäder <tmader@redhat.com>
2018-10-17 15:05:02 +02:00
Dmitrii Bocharov 38f8d54b5a che-6736: Port implementors to jdt.ls extension
Port implementors to jdt.ls extension

Signed-off-by: Dmitrii Bocharov <dbocharo@redhat.com>
2018-10-17 15:05:02 +02:00
Roman Nikitenko d1759268ea CHE-11406. Display notification with proposition to restart ws agent when IDE is initialized but ws agent is not running
Signed-off-by: Roman Nikitenko <rnikiten@redhat.com>
2018-10-17 09:39:29 +03:00
Artem Zatsarynnyi cb2310f13f
Don't put new line in the editor when going to a line by number (#11603)
* Don't put a new line in the editor when going to line by number

Signed-off-by: Artem Zatsarynnyi <azatsary@redhat.com>
2018-10-16 12:26:32 +03:00
Florent BENOIT baafe61add Use of the new theia image
Change-Id: Ie359173b529068018bcdf82fa5d7960a07b28188
Signed-off-by: Florent BENOIT <fbenoit@redhat.com>
2018-10-12 15:27:15 +02:00
Oleksandr Andriienko b53800e8a4
CHE-10945: Fix terminal font for some systems. (#11576)
Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
2018-10-11 14:06:31 +03: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
Mario Loriedo a6727b7f3f
Added exec plugin to Che 7 stack (#11580)
Signed-off-by: Mario Loriedo <mario.loriedo@gmail.com>
2018-10-10 17:23:02 +02:00
Artem Zatsarynnyi 410ecaa1f0
Fix duplicating the processes in the Commands toolbar (#11566)
Signed-off-by: Artem Zatsarynnyi <azatsary@redhat.com>
2018-10-10 14:13:25 +03:00
Artem Zatsarynnyi 15044cce0b
Remove obsolete 'Welcome' page from preferences (#11567)
Signed-off-by: Artem Zatsarynnyi <azatsary@redhat.com>
2018-10-10 13:14:11 +03:00
Dmytro Kulieshov 15a8455762
Fixed rename file operation when using language servers (#11483)
Signed-off-by: Dmytro Kulieshov <dkuliesh@redhat.com>
2018-10-09 16:39:30 +03:00
Artem Zatsarynnyi bacf1c6b9f
Validate a command's name before saving (#11535)
* Validate a command's name before saving

Signed-off-by: Artem Zatsarynnyi <azatsary@redhat.com>
2018-10-09 11:40:58 +03:00
Mario Loriedo 6fbcf65dae
Replaced ws.next sample stacks with a Che7 preview stack (#11543)
Signed-off-by: Mario Loriedo <mario.loriedo@gmail.com>
2018-10-09 10:39:27 +02:00
Vitalii Parfonov 439b77afe2
Remove outdated actions (#11489)
Signed-off-by: Vitalii Parfonov <vparfonov@redhat.com>
2018-10-05 10:48:27 +03:00
Sergii Leshchenko ef41077252 Adapt GWT IDE to RuntimeLogEvent changes 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
Oleksandr Garagatyi d91cc600a4 Make Chee 6 Theia stack secure
Signed-off-by: Oleksandr Garagatyi <ogaragat@redhat.com>
2018-10-03 09:07:31 +03:00
Igor Ohrimenko 3eb7ee83fb
[Selenium] Fix unexpected fail of "CheckRestoringSplitEditorTest" selenium test (#11322) 2018-09-25 09:47:38 +03:00
Oleksandr Andriienko 6f30e14113
Add memory limit to the Openshift Theia stack. (#11331)
Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
2018-09-25 09:01:12 +03:00
Aurélien Pupier 5a1206e086 Add Apache Camel icon for the Stack (#11236)
Signed-off-by: Aurélien Pupier <apupier@redhat.com>
2018-09-21 15:06:58 +02:00
Mario Loriedo 52d61a8ef4
Added exec plugin to ws-next stacks (#11298)
Signed-off-by: Mario Loriedo <mario.loriedo@gmail.com>
2018-09-21 12:06:42 +02:00
Aurélien Pupier b4623efd12 Provide basic Apache Camel stack (#11236)
Signed-off-by: Aurélien Pupier <apupier@redhat.com>
2018-09-20 10:27:58 +02:00
Vladyslav Zhukovskyi 0ec95375e0
Do not recognize file in workspace root as project (#11264)
* Do not recognize file in workspace root as project

Signed-off-by: Vladyslav Zhukovskyi <vzhukovs@redhat.com>

* Fix format issue

Signed-off-by: Vladyslav Zhukovskyi <vzhukovs@redhat.com>
2018-09-19 16:20:25 +03:00
Igor Vinokur 9f59bb800b
CHE-10909: Set Git committer name and email from profile on IDE start (#11224) 2018-09-19 10:31:19 +03:00
Oleksandr Andriienko 8189276d9e
Add 'che-theia-terminal-extension' and 'che-theia-task-plugin' to the Theia image (#11228)
* Add 'che-theia-terminal-extension', 'che-theia-task-plugin', che-exec-machine to the theia image.

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>

* Use che-machine-exec image from wsskeleton.

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
2018-09-17 16:28:21 +03:00
Roman Iuvshyn ea410c3340
RELEASE: Set next development version (#11169) 2018-09-12 11:53:42 +03:00
Vladyslav Zhukovskyi 1c0b3d1f13
Update create new project related selenium test (#11101)
### What does this PR do?
This changes proposal changes delay for test fail when create project wizard is not response. Also possible NPE is fixed.

Signed-off-by: Vladyslav Zhukovskyi <vzhukovs@redhat.com>

### What issues does this PR fix or reference?
#10713 


#### Release Notes
N/A


#### Docs PR
N/A
2018-09-11 09:53:16 +03:00
Florent BENOIT fa964c3edc Introduce ws.next stacks
Change-Id: Iaec703aaa3700cf364506ae6b266736ab62817e8
Signed-off-by: Florent BENOIT <fbenoit@redhat.com>
2018-09-06 17:06:04 +02:00
Florent BENOIT 257934d659 Use of new Theia 0.3.14
Change-Id: Ia5b67377117df5e02bf69b99f7a2da032482244c
Signed-off-by: Florent BENOIT <fbenoit@redhat.com>
2018-09-06 11:29:31 +02:00
Vladyslav Zhukovskyi bef9669ed5 Prevent XSS attacks
Signed-off-by: Vladyslav Zhukovskyi <vzhukovs@redhat.com>
2018-09-05 18:59:18 +03:00
Vitalii Parfonov b31b13dc6b
Fix override and skip root behaviors (#11002)
* Fix override and skip root behaviors

Signed-off-by: Vitalii Parfonov <vparfonov@redhat.com>
2018-08-31 16:05:19 +03:00
Vladyslav Zhukovskyi cad8575f40 Prevent XSS attack during render popup menu items
Signed-off-by: Vladyslav Zhukovskyi <vzhukovs@redhat.com>
2018-08-30 20:13:15 +03:00
Vladyslav Zhukovskyi f95346c2e2 Fix css styles for Firefox
Signed-off-by: Vladyslav Zhukovskyi <vzhukovs@redhat.com>
2018-08-28 16:36:43 +03:00
Igor Vinokur 090291b819
CHE-10850: Add notification about stop workspcae by idle timeout (#10892) 2018-08-28 12:07:41 +03:00
Roman Iuvshyn d99b2ed73d
RELEASE: Set next development version (#10867)
* RELEASE: Set next development version
2018-08-22 12:06:38 +03:00
Mykhailo Kuznietsov dcb00c53d0
Fix remaining files with licenses (#10746) 2018-08-21 10:25:45 +03:00
Dmytro Nochevnov f715d786ac
Fix license headers (#10856)
Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>
2018-08-20 18:29:49 +03:00
Oleksii Kurinnyi 20e9779e12
CHE-10769: improve loader.html page (#10820)
* CHE-10769: improve loader.html page

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

* fixup! CHE-10769: improve loader.html page
2018-08-20 16:18:54 +03:00
Roman Nikitenko 93b0ffed98 CHE-9467. Add ability to get File Type by provider and avoid File Type collision
Signed-off-by: Roman Nikitenko <rnikiten@redhat.com>
2018-08-17 15:26:37 +03:00
sskoryk ca1b247db1 change stack name to 'Java Theia on OpenShift' 2018-08-16 09:50:34 +03:00
sskoryk 34155bb168 fix name of 'Java Theia(openshift)' stack 2018-08-15 17:42:03 +03:00
Oleksandr Andriienko dda4038a94
CHE-LIB-57: Update xterm.js to the version 3.3.0 (#10037)
* Use xterm.js 3.3.0, but with default styles.

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>

* Set terminal theme.

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>

* Configure font

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>

* Activate custom key event handler.

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>

* Rework resize mehanizm.

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>

* Code clean up: remove focus timer - it was workaround for older xterm.js

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>

* Fix cursor position after switch to another tabs.

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>

* Little optimization.

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>

* Fix format apply a bit docs.

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>

* Fix compilation.

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>

* Apply get Rendered text method for selenium tests.

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>

* Fix format.

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>

* Call IDE.TerminalContentProvider.getVisibleText() function when getting text from the terminal

Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>

* Update license header in FitAddonJso.java

* Update license header in TerminalThemeJso.java

* Fix formatting of CheTerminal.java

Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>

* Fix OpenInTerminalTest by taking into account the number of terminal tab

Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>

* Fix WorkingWithTerminalTest after renewal of version of xterm

Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>

* Fix WorkingWithSplitPanelTest after renewal of version of xterm

Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>

* Fix verification that mc is opened

Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>

* Adapt terminal related selenium tests to K8S infrastructure

Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>
2018-08-15 13:19:51 +03:00
Sergii Leshchenko de1459c52b Add attributes field to workspace config object 2018-08-10 14:06:41 +03:00
Sergii Leshchenko 5ae25efd37 Remove duplicated declaration of che-core-api-core dependency 2018-08-10 14:06:41 +03:00