Commit Graph

837 Commits (1ba4369b4e68121e179079fe4cd7108e86e29a7d)

Author SHA1 Message Date
Aleksandr Andrienko 830cc34070 Integrate xterm.js (version 2.2.3) widget instead of xterm. (#3943)
Changelog:
Delete old xterm view.
Move requirejs from plugin Orion to the plugin RequireJs.
Create new plugin with xterm.js.
Mavenize xterm.js build, use for build gulp tasks instead of bash scripts.
Rework GWT code for integration xterm.js.
Fix css styles for integration with GWT css resources and using Eclipse CHE white and dark themes.
Rework terminal resize mechanizm.

Signed-off-by: Aleksandr Andrienko <aandrienko@codenvy.com>
2017-02-15 18:46:40 +02:00
Igor Vinokur 227261a2c7 CHE-3973: Fix deletion of WS folder on WS deletion (#4122) 2017-02-15 16:43:48 +02:00
Alexander Garagatyi 6032c5905d CODENVY-1749: add possibility to set dns resolvers (#4129)
Signed-off-by: Alexander Garagatyi <agaragatyi@codenvy.com>
2017-02-15 12:47:46 +02:00
Yevhenii Voevodin 9370327d46 Inject MAVEN_OPTS environment variable along with JAVA_OPTS to container 2017-02-14 17:50:56 +02:00
Angel Misevski ad318b0fa1 Refactor inspectContainer() and add commit(), removeImage() (#4085)
Adds commit() and removeImage() implementations to
OpenShiftConnector. This requires some refactoring of existing
methods (mostly refactoring repeated processes into their own
methods -- e.g. creating an ImageStreamTag and getting image
info from a tag).

Additionally, refactors inspectContainer() method to remove
a call to DockerConnector, instead obtaining the same information
from what's available through the OpenShift API. This fixes an
issue where the IP address of a workspace was unavailable from
the ContainerInfo returned by DockerConnector.

Signed-off-by: Angel Misevski <amisevsk@redhat.com>
2017-02-11 01:10:29 +01:00
Valeriy Svydenko ed99839748 CHE-3964: move popup from Quick documentation in the right place (#4088) 2017-02-10 17:56:10 +02:00
Sergii Leschenko 75d422762e Implement new format workspace key {namespace}/{workspaceName} or {workspaceId} (#4073)
* CHE-4061 Rework workspace key to new format where namespace can contain `/` symbols

Impemented new format workspace key:
1. {workspaceId}
2. {namespace}/{workspaceName}
Note that namespace can contains '/' symbol so workspace key can looks like {namespace_part1}/{namespace_part2}/.../{namespace_partN}/{workspaceName}.

* CHE-4061 Adapt IDE to work with workspace key in new format

According to new workspace key format changes URL
to IDE looks like {HOST}/namespace/namespace_part_2/workspaceName


* CHE-4061 Adapt dashboard to work with workspace key in new format

According to new workspace key format changes URL to
dashboard workspace details team looks like
{HOST}/dashboard/#/workspace/namespace/namespace_part_2/workspaceName
2017-02-10 15:13:17 +02:00
Mario Loriedo bbb2bc9bf2 OpenShiftConnector OAuth token support (#4049)
Signed-off-by: Mario Loriedo <mloriedo@redhat.com>
2017-02-10 10:50:59 +01:00
Sergii Kabashniuk ccad9082cc che-plugin-docker-client remove all gwt code since its only a ws-master dependency (#4079) 2017-02-09 22:18:10 +02:00
Angel Misevski b6a056fa22 Implement OpenShift pull, tag, and inspectImage
Implement OpenShiftConnector pull, tag, and inspectImage through
ImageStreams. Makes changes to how containers are created.

Currently snapshots do not work, as commit and push methods are not
implemented. Additionally, pulling a stack from a private repository
is not supported.

Signed-off-by: Angel Misevski <amisevsk@redhat.com>
2017-02-09 01:26:57 +01:00
Snjeza 65c38ed507 Fixing failed tests (#4065)
Signed-off-by: Snjezana Peco <snjezana.peco@redhat.com>
2017-02-08 21:33:45 +02:00
Snjezana Peco 41541e0b99 CHE-3953 - Starting workspace on openshift 1.4.1
Signed-off-by: Snjezana Peco <snjezana.peco@redhat.com>
2017-02-08 17:03:17 +01:00
Valeriy Svydenko 97c290cf28 CHE-4000: fix wrong request URL for SSH service (#4053) 2017-02-08 15:06:19 +02:00
Vladyslav Zhukovskyi ff3db4c7aa Fix potential NPE (#4054) 2017-02-08 13:09:21 +02:00
Igor Vinokur da8c4193cf CHE-3609: Create visual Git history window instead of old one (#3799) 2017-02-08 10:37:52 +02:00
Valeriy Svydenko c9d700bca2 CHE-3785: don't show empty error notification (#4045) 2017-02-08 10:23:13 +02:00
Vitalii Parfonov 832bb4288c CHE-3811: move js file to the che-lib/che-orion-editor (#3979)
Signed-off-by: Vitalii Parfonov <vparfonov@codenvy.com>
2017-02-07 19:27:25 +02:00
Valeriy Svydenko a99aee67d9 Upgrade to GWT 2.8 (#3984) 2017-02-06 16:42:22 +02:00
Alexander Garagatyi bee9890e4e CODENVY-1443: fix incorrect usage of non bind-mount volumes (#3877)
Add other minor fixes
Signed-off-by: Alexander Garagatyi <agaragatyi@codenvy.com>
2017-02-06 10:44:30 +02:00
Vitalii Parfonov 50f641d226 Decouple testing framework API from Java test specific frameworks (#3999)
* Decouple testing framework core from Java specific test frameworks.

Signed-off-by: Bartlomiej Laczkowski <bartlomiej.l@zend.com>
2017-02-03 12:12:18 +02:00
Max Shaposhnik a346a5f8b7 CHE-3621 Move SSH machine implementation to separate plugin (#3946) 2017-02-02 17:25:26 +02:00
Igor Vinokur 63ab6424eb Change message on git push fail (#3781) 2017-02-02 13:20:03 +02:00
Roman Iuvshin 0dd0dea686 [maven-release-plugin] prepare for next development iteration 2017-02-01 13:31:32 +00:00
Roman Iuvshin d138c3623f [maven-release-plugin] prepare release 5.2.0 2017-02-01 13:31:25 +00:00
Ilya Buziuk e102dd0f6f CHE-42: Adding stub implementation of Container API for OpenShiftConnector. Minor Refactoring
Signed-off-by: Ilya Buziuk <ibuziuk@redhat.com>
2017-01-31 12:57:40 +01:00
Valeriy Svydenko f10b9a2a02 CHE-1959: make it possible to chose an element from Find Usages panel by using Enter key (#3821) 2017-01-31 12:59:14 +02:00
Ilya Buziuk 25fc88be80 CHE-3937: Introducing properties for OpenShift liveness probe initial delay / timeout
Signed-off-by: Ilya Buziuk <ibuziuk@redhat.com>
2017-01-31 01:52:31 +01:00
Ilya Buziuk 1ec641a7e8 CHE-58: Refactoring. Introducing new classes for handling Kubernetes resources (KubernetesContainer, KubernetesService, KubernetesEnvVar)
Signed-off-by: Ilya Buziuk <ibuziuk@redhat.com>
2017-01-27 17:33:45 +01:00
Angel Misevski 6e9964c2a2 Add DockerConnectorProvider to allow choosing OpenShiftConnector
Adds class so that choice between DockerConnector and OpenShiftConnector
can be made via setting a property in che.properties. The provider is
injected instead of DockerConnector, and provides the appropriate
implementation through a get() method.

Signed-off-by: Angel Misevski <amisevsk@redhat.com>
2017-01-27 17:33:45 +01:00
Mario Loriedo 364e06f1e5 Added an OpenShift connector for container creation
Signed-off-by: Mario Loriedo <mloriedo@redhat.com>
2017-01-27 17:33:45 +01:00
Sergii Kabashniuk 8bd21217ea Remove unused dependecies (#3912) 2017-01-26 14:56:13 +02:00
Vladyslav Zhukovskyi 25e8a4d1a2 Don't sort node interceptors at initialization state (#3895) 2017-01-26 10:35:25 +02:00
Anatoliy Bazko c8dafb9c6b CHE-3720: Decouple different agents on different maven modules (#3830) 2017-01-25 20:42:32 +02:00
Mykola Morhun 491e84c4f4 Merge pull request #3854 from eclipse/CHE-3761
CHE-3761: Workaround illegal response from docker
2017-01-25 17:35:53 +02:00
Mykola Morhun 87b09c077f Merge pull request #3893 from eclipse/limit-cpu-consumption-by-docker-build
CODENVY-1393: Limit CPU consumption by build docker image tasks
2017-01-25 17:33:36 +02:00
Mykola Morhun 956d39183d CODENVY-1393: Limit CPU consumption by build docker image tasks
Signed-off-by: Mykola Morhun <mmorhun@codenvy.com>
2017-01-25 12:19:20 +02:00
Vitaliy Guliy 360ced60a6 CHE-2617 Improve Find capabilities in IDE (#3806)
Signed-off-by: Vitaliy Guliy <vguliy@codenvy.com>
2017-01-25 11:48:25 +02:00
Mykola Morhun 52f1e471ae CHE-3761: Workaround illegal response from docker
Signed-off-by: Mykola Morhun <mmorhun@codenvy.com>
2017-01-23 14:23:56 +02:00
Alexander Garagatyi 25f18e1ce2 Add missing scope for servlet-api dependency
Signed-off-by: Alexander Garagatyi <agaragatyi@codenvy.com>
2017-01-22 19:30:04 +02:00
Alexander Garagatyi 6b46f73c2c CHE-3686: fix docker machines addresses setting
Set internal machine address by CLI from CHE_IP.
Add and fix docs in che.env.
Change behavior of default machine server address evaluation
to be similar to the previous state.
Code cleanup.
Signed-off-by: Alexander Garagatyi <agaragatyi@codenvy.com>
2017-01-20 18:10:32 +02:00
Roman Iuvshin 05a7cd53b5 [maven-release-plugin] prepare for next development iteration 2017-01-18 16:33:24 +00:00
Roman Iuvshin 41d3739928 [maven-release-plugin] prepare release 5.1.0 2017-01-18 16:33:17 +00:00
Mykola Morhun d9dd16a7e0 CODENVY-1524: Inject API endpoint env variable into all machines
Signed-off-by: Mykola Morhun <mmorhun@codenvy.com>
2017-01-18 15:07:56 +02:00
Vladyslav Zhukovskyi 526c04c90b Skip failed project resolving in case if the last one is empty (#3767)
* Skip failed project resolving in case if the last one is empty
* Remove redundant project update Update is not needed here, because incoming project already contains project type information
* Check is composer.json file exist before parse it

Signed-off-by: Vitalii Parfonov <vparfonov@codenvy.com>
2017-01-17 17:32:52 +02:00
Aleksandr Andrienko 1bbfeed3d7 CHE-2922: Fix 'Ctrl+S' hotKey for Emacs. Add simple UI for incremental search. (#3260)
Signed-off-by: Aleksandr Andrienko <aandrienko@codenvy.com>
2017-01-16 18:06:39 +02:00
Yevhenii Voevodin 1ede4845c4 Implement cancellation (#3701) 2017-01-16 18:05:45 +02:00
Vladyslav Zhukovskyi bcb2c5bb13 Remove deprecated method getMediaType (#3724) 2017-01-16 15:26:01 +02:00
Vitalii Parfonov bdac9ec5c3 Composer project generation (#3726)
* Composer project importer

Composer is a popular PHP dependency manager (similar to Bower for
Javascript). A natural way to create a new project in PHP is by
materializing it from a Composer package like this:

  composer create-project laravel/laravel /projects/laravel

The above command fetches the 'laravel/laravel' Composer package from a
central repository (https://packagist.org/) and installs it at the
/project/laravel folder. The advantage against cloning a git repository
is that `composer create-project` will install all required
dependencies.

This patch contributes a new Composer plugin that:
- Defines a Composer project importer that can import the project source
from a Composer package.
- Defines an Import Project Registrar that registers the Composer
importer into the import project wizard.

The Composer project importer uses the 'location' property of the
SourceStorage model for the package name. As result the "source" of
project templates can be defined like this:

  "source": {
    "type": "composer",
    "location": "zendframework/zend-expressive-skeleton",
    "parameters": {}
  }

Signed-off-by: Kaloyan Raev <kaloyan.r@zend.com>
Signed-off-by: Vitalii Parfonov <vparfonov@codenvy.com>
2017-01-16 14:05:08 +02:00
Vitalii Parfonov 88a1fa41ca Base URL to the master will be provided by AppContext (#3658)
Add ability to take base endpoint to thews master from AppContext
Mark RestContextProvider ad deprecated   


Signed-off-by: Vitalii Parfonov <vparfonov@codenvy.com>
2017-01-13 14:40:25 +02:00
Anatoliy Bazko a1ace7a94d Add missed test resources (#3719) 2017-01-13 14:27:13 +02:00