Commit Graph

797 Commits (688530281e0879f2c6e399f2fa1eaa87f830a925)

Author SHA1 Message Date
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
Anatoliy Bazko e3d59cd8f7 JavaDebugger server side tests (#3705) 2017-01-13 13:31:06 +02:00
Vitaliy Guliy d7faa2e67b CHE-2859 Provide better alignements in the Process panel (#3699)
* CHE-2859 Provide better alignements in the Process panel

* CHE-2859 Provide better alignements in the Process panel
2017-01-13 10:18:53 +02:00
Valeriy Svydenko b7885f985c CHE-3464: fix a problem with stopping the process after refresh page (#3613) 2017-01-13 09:54:13 +02:00
Kaloyan Raev 282945bfa0 CHE-3218: improves the documentation popup for LSP code completion (#3224)
Signed-off-by: Kaloyan Raev <kaloyan.r@zend.com>
2017-01-12 23:49:56 +02:00
Vitalii Parfonov 64625bc106 CHE-3120: Add Sourcegraph Python Language Server to Che (#3693)
Signed-off-by: Vitalii Parfonov <vparfonov@codenvy.com>
2017-01-12 23:38:47 +02:00
Dmitry Kuleshov 8d2dc2bf5f Remove machine perspective (#3689) 2017-01-12 15:20:43 +02:00
Igor Vinokur f3294f72ed CHE-3271: Fix Git commit action (#3679) 2017-01-12 14:19:28 +02:00
Vladyslav Zhukovskyi d5983eb91f Change signature of getParent to return actual parent instead of Optional (#3681) 2017-01-12 12:21:23 +02:00
Alexander Garagatyi 5b94510beb CODENVY-1150: Refactor docker hosts evaluation
Make addition of che host into hosts file optional.
Signed-off-by: Alexander Garagatyi <agaragatyi@codenvy.com>
2017-01-12 09:41:03 +02:00
Aleksandr Andrienko cc5e22b756 CHE-1979: Fix closing terminal widget on typing exit or when user kills terminal process (#3554)
Signed-off-by: Aleksandr Andrienko <aandrienko@codenvy.com>
2017-01-11 17:35:54 +02:00
Aleksandr Andrienko 53f77e2659 CHE-3216: Fix kill terminal process and its children on closing terminal. (#3395)
Signed-off-by: Aleksandr Andrienko <aandrienko@codenvy.com>
2017-01-11 17:21:32 +02:00
James Drummond d1f12c24b6 Update default_node_content (#3678)
Fixed the function definition. Change port from 8000 to 9000. 8000 is not expose in our nodejs stack.
2017-01-11 09:14:31 -06:00
Alexander Garagatyi f4ade80ec1 Refactor workspace infrastructure provisioning
Move agents volume addition into infrastructure provisioner.
Suppress some false positive warnings.
Add some javadocs.
Signed-off-by: Alexander Garagatyi <agaragatyi@codenvy.com>
2017-01-11 15:56:08 +02:00
Valeriy Svydenko 1f52e25856 CHE-3578: set focus on the terminal after resizing (#3654) 2017-01-11 15:54:50 +02:00
Yevhenii Voevodin a704338c6e Use getConfig() instead of null while creating machine metadata (#3662) 2017-01-11 12:13:39 +02:00
Michail Kuznetsov 6ad6ea492f Merge pull request #3592 from eclipse/che-3589
CHE-3589 Clean-up Plugin SVN encryption related code
2017-01-11 09:43:52 +02:00
Yevhenii Voevodin 8674d2228f Load instance runtime information on machine start (#3561) 2017-01-10 23:48:49 +02:00
Oleksii Orel d459b6b66c improve machine label style
Signed-off-by: Oleksii Orel <oorel@codenvy.com>
2017-01-10 18:06:36 +02:00
Igor Vinokur a899f5013d CHE-3271: Add more Git actions to context menu (#3618) 2017-01-10 17:25:18 +02:00
Mihail Kuznyetsov 10035ee3ff Clean-up SVN unused code 2017-01-10 15:15:46 +02:00
Vitaliy Guliy e969f199d5 CHE-2894 Processes panel should be opened maximized (#3631)
* CHE-3152 Improve buttons on the part toolbar

Signed-off-by: Vitaliy Guliy <vguliy@codenvy.com>

* CHE-3152 Improve buttons on the part toolbar

* CHE-2894 Processes panel should be opened maximized

* CHE-3152 Improve buttons on the part toolbar

* CHE-3152 Improve buttons on the part toolbar
2017-01-10 13:09:16 +02:00
Vitaliy Guliy ee4a7b94d1 CHE-3152 Improve buttons on the part toolbar (#3590)
* CHE-3152 Improve buttons on the part toolbar

Signed-off-by: Vitaliy Guliy <vguliy@codenvy.com>

* CHE-3152 Improve buttons on the part toolbar

* CHE-3152 Improve buttons on the part toolbar

* CHE-3152 Improve buttons on the part toolbar
2017-01-10 12:33:45 +02:00
Alexander Garagatyi 33a4d073fb Merge pull request #3282 from amisevsk/CHE-2030-refactor
Refactor DockerInstanceRuntimeInfo#getServers() (#2030)
2017-01-10 10:12:42 +02:00
Roman Iuvshin 9904460818 [maven-release-plugin] prepare for next development iteration 2017-01-06 11:48:49 +00:00
Roman Iuvshin b5a7d04ca2 [maven-release-plugin] prepare release 5.0.0 2017-01-06 11:48:42 +00:00
Angel Misevski 3473c01472 CHE-2030: Exclude files related to PR #3282 from license check
The current license checking maven plugin does not allow
for multiple copyright owners on source files. This commit
adds files modified for ServerEvaluationStrategy to an excludes
list so that builds can continue normally.

This commit should be undone once issue #3281 is resolved.

Signed-off-by: Angel Misevski <amisevsk@redhat.com>
2017-01-05 13:52:42 -05:00
Angel Misevski 6b5c10ce74 CHE-2030: Replace getServers() implementation
Replaces DockerInstanceRuntimeInfo#getServers() to use
ServerEvaluationStrategy. Deletes LocalDockerInstanceRuntimeInfo
class as it is no longer needed. Adds MapBinder of
ServerEvaluationStrategy to LocalDockerModule.

Updates DockerInstanceRuntimeInfo tests to be more
readable and removes now unnecessary tests.

Signed-off-by: Angel Misevski <amisevsk@redhat.com>
2017-01-05 13:52:42 -05:00
Angel Misevski f7d247a0d9 CHE-2030: Add tests for ServerEvaluationStrategy
Add tests for ServerEvaluationStrategy, DefaultServerEvaluationStrategy,
and LocalDockerServerEvaluationStrategy

Signed-off-by: Angel Misevski <amisevsk@redhat.com>
2017-01-05 13:52:42 -05:00
Angel Misevski d00ff2962b CHE-2030: Add ServerEvaluationStrategies and Provider
Adds abstract class ServerEvaluationStrategy which can be used to
change how Che Server communicates with workspace containers.
ServerEvaluationStrategy is meant to be extended to modify the behavior
of DockerInstanceRuntimeInfo#getServers().

Two implementations of ServerEvaluationStrategy are included:
DefaultServerEvaluationStrategy (which is identical to normal
getServers() functionality) and LocalDockerServerEvaluationStrategy,
which uses internal container addresses for workspace containers
and can help in cases where firewall is an issue.

Strategies are provided by ServerEvaluationStrategyProvider, which
uses the new property che.docker.server_evaluation_strategy to choose
which implementation is provided.

Signed-off-by: Angel Misevski <amisevsk@redhat.com>
2017-01-05 13:52:42 -05:00
Mihail Kuznyetsov 0e8b21ad3f Set new license year 2017-01-04 17:10:31 +02:00
Valeriy Svydenko 7350572c87 CHE-3140: bind 'Ctrl+Alt+G' hotkey for running TestNG (#3481) 2016-12-29 11:24:12 +02:00
Mykola Morhun c53693d5fa CHE-3549 Fix docker privileged mode (#3562)
CHE-3549: Fix privileged mode
2016-12-29 10:01:04 +02:00
Anatoliy Bazko 93f9352293 Loads a new git history page when user scrolled list to the very bottom (#3553)
CHE-3353: Pagination in loading git history
2016-12-29 08:08:59 +02:00
Dmitry Kuleshov 301121d777 Dynamic file watchers (#3482) 2016-12-26 14:34:17 +02:00
Mykola Morhun 2c855c68ac Che 3135: Clean up abandoned docker networks created by CHE (#3348)
CHE-3135: Clean up abandoned docker networks created by CHE
2016-12-23 16:23:56 +02:00
Roman Iuvshin abc1367c1d remove milestone from version 2016-12-23 15:04:56 +02:00
Vitalii Parfonov 5a76dddc62 Allow execution on not dev machine (#3451)
* Allow execution on other machine except dev
Signed-off-by: Vitalii Parfonov <vparfonov@codenvy.com>
2016-12-22 18:01:40 +02:00
Vitaliy Guliy 1addec70cd CHE-3369 Git history panel is not opened (#3480)
* CHE-3369 Git history panel is not opened

* CHE-3369 Git history panel is not opened
2016-12-22 16:39:07 +02:00
Evgen Vidolob 69276bbf5e #2866 fix importing maven project with relative path in modules (#3457)
* #2866 handle relative path and including 'pom.xml' in modules declarations

Signed-off-by: Evgen Vidolob <evidolob@codenvy.com>
2016-12-22 13:55:12 +02:00
Valeriy Svydenko 382217c8e4 CHE-3140: don't resize a terminal when it gets selection (#3468) 2016-12-22 12:05:47 +02:00