Commit Graph

151 Commits (b030927e82d7e83f8db46b8348aafae74be0ac53)

Author SHA1 Message Date
Vitalii Parfonov 2a3b86057a CHE-1529: clear registered machines Map and selected machine in widget then WS stopped (#1748)
Signed-off-by: Vitaly Parfonov <vparfonov@codenvy.com>
2016-07-15 17:31:14 +03:00
Mihail Kuznyetsov 411dd89cd5 CODENVY-556 Add service for fetching recipe script
In order to fetch recipe script from external host, and not
end up with 'Mixed content' error, when trying to send
HTTP request on HTTPS installation, we will do it on server side instead.
from HTT
2016-07-15 14:49:51 +03:00
Ann Shumilova 5738cfa5ee CHE-1404: make commands widget fixed width, and tooltip for full name, cut name with dots
Signed-off-by: Ann Shumilova <ashumilova@codenvy.com>
2016-07-14 14:51:49 +03:00
Vladyslav Zhukovskii 5d573b8a5f CHE-1075: Auto select first project after workspace startup
This PR fix problem, which could be occurred after factory import, when actions has been performed.
2016-07-13 16:23:22 +03:00
Vladyslav Zhukovskii 1b33434ad9 CHE-1475: Append projects root path 2016-07-08 15:38:08 +03:00
Vladyslav Zhukovskii 400b11e0a6 Provide correct project path
Now `CurrentProjectPathProvider` provides correct project path based on selected resource in application context.
2016-07-08 14:04:29 +03:00
Roman Nikitenko a78c8c7cde Add IDs for consoles button
Signed-off-by: Roman Nikitenko <rnikitenko@codenvy.com>
2016-07-08 10:08:16 +03:00
Roman Nikitenko 1aaa37ef74 CHE-1292. Add ability to divide Consoles area vertically and horizontally
Signed-off-by: Roman Nikitenko <rnikitenko@codenvy.com>
2016-07-06 15:04:02 +03:00
Vitalii Parfonov 6d84934f69 CHE-1416: don't activate consoles part in case factory (#1664)
Signed-off-by: Vitaly Parfonov <vparfonov@codenvy.com>
2016-07-05 21:27:49 +03:00
Vitalii Parfonov 696ccfdf8f CHE-1416:Show terminal to the dev machine only after startig ws-agent (#1647)
Signed-off-by: Vitaly Parfonov <vparfonov@codenvy.com>
2016-07-05 15:41:54 +03:00
Yevhenii Voevodin d1aa2cfed7 User structural refactoring 2016-07-05 11:27:58 +03:00
Vladyslav Zhukovskyi d0277066ac Merge pull request #1383 from eclipse/projectManager
Resource management
2016-07-04 16:17:57 +03:00
Alexander Garagatyi d666fbda27 CHE-1365: remove deprecated methods from docker client
Signed-off-by: Alexander Garagatyi <agaragatyi@codenvy.com>
2016-07-04 13:09:25 +03:00
Vladyslav Zhukovskii 001b4b87e8 Resource management
Signed-off-by: Vladyslav Zhukovskii <vzhukovskii@codenvy.com>
2016-07-02 18:15:33 +03:00
Artem Zatsarynnyi e5a14ba906 CHE-1362: make commands execution less error prone (#1619) 2016-07-01 16:21:27 +03:00
Roman Iuvshin 6a23f97700 [maven-release-plugin] prepare for next development iteration 2016-06-28 16:00:40 +00:00
Roman Iuvshin 400648e1db [maven-release-plugin] prepare release 4.4.0 2016-06-28 16:00:37 +00:00
Max Shaposhnik 24919ab8aa CODENVY-703; do not show terminal by default in factories (#1586) 2016-06-27 17:28:06 +03:00
Roman Nikitenko d009e3bd75 CHE-1376. Remove 'Stop dev machine' action from 'Machine' menu
Signed-off-by: Roman Nikitenko <rnikitenko@codenvy.com>
2016-06-24 18:14:06 +03:00
Vitalii Parfonov 7436a1e306 CHE-1359: fix NPE in case recipe set as content but not location URL (#1575)
* CHE-1359: fix NPE in case recipe for machine set as content but not location.
Mark Machine class form ide module as Deprecated. It must be reworked

Signed-off-by: Vitaly Parfonov <vparfonov@codenvy.com>
2016-06-24 17:53:23 +03:00
Vitaliy Guliy ba2b8fa3d5 Merge pull request #1574 from eclipse/CHE-1277
CHE-1277 Move machines output to project perpective
2016-06-24 13:16:24 +03:00
Mihail Kuznyetsov ce6fb560d3 CHE-1234 Encode command name when making request to service 2016-06-24 11:04:27 +03:00
Vitaliy Guliy 30d93f1835 CHE-1277 Move machines output to project perpective
Signed-off-by: Vitaliy Guliy <vguliy@codenvy.com>
2016-06-24 10:55:50 +03:00
Vitalii Parfonov 673df50a1b CHE-1328: fix cheking on equals in case checking null and empty string. (#1510)
Code clean up

Signed-off-by: Vitaly Parfonov <vparfonov@codenvy.com>
2016-06-15 17:36:45 +03:00
Vitaliy Guliy fa4df431f3 CHE-1228 Add context menu to the consoles tree
Signed-off-by: Vitaliy Guliy <vguliy@codenvy.com>
2016-06-15 12:55:43 +03:00
Roman Iuvshin 5adff554bc [maven-release-plugin] prepare for next development iteration 2016-06-13 18:57:39 +00:00
Roman Iuvshin e9f5d4971e [maven-release-plugin] prepare release 4.3.0 2016-06-13 18:57:36 +00:00
Vladyslav Zhukovskii 8996ed9db1 Move classes related with virtual file to resources package 2016-06-07 15:35:54 +03:00
Roman Iuvshin 140b09a9a0 [maven-release-plugin] prepare for next development iteration 2016-06-04 19:52:26 +00:00
Roman Iuvshin fbd9f95748 [maven-release-plugin] prepare release 4.3.0-RC1 2016-06-04 19:52:23 +00:00
Mihail Kuznyetsov e4f8fe914e CHE-1260 Enable svg files license checking 2016-06-01 14:56:31 +03:00
Anton Korneta 3bffb9d851 CODENVY-584: Add terminal link into each machine runtime instance 2016-05-31 15:18:15 +03:00
Florent BENOIT ae4c5521bf CODENVY-560 : Introduce new type for providing docker recipes and remove InstanceKey
#1 new docker recipe type

currently we have type:"dockerfile", location: "http://path-to-recipe"

now we could provide
type:"dockerfile", content: "FROM codenvy/foo\nENV FLORENT=TRUE\"

and
type:"image", location or content: "codenvy/foo"

#2 InstanceKey
Up to now, InstanceKey was used to perform snapshot recovery.
But machine source is a way to provide this information.
So remove InstanceKey and replace it by MachineSource (and DockerMachineSource instead of DockerInstanceKey)

InstanceProvider:
void removeInstanceSnapshot(InstanceKey instanceKey)
--> void removeInstanceSnapshot(MachineSource machineSource)

Instance:
InstanceKey saveToSnapshot(String owner)
--> MachineSource saveToSnapshot(String owner)

#3 InstanceProvider model
To avoid also that MachineManager "knows" the inner type, the recipe handling is moved to the instance provider implementation
And as the snapshot handling is with MachineSource (included in MachineConfig included in Machine), no need to give extra InstanceKey parameter

Replace two previous methods

Instance createInstance(Recipe recipe,
                            Machine machine,
                            LineConsumer creationLogsOutput)

 Instance createInstance(InstanceKey instanceKey,
                            Machine machine,
                            LineConsumer creationLogsOutput) throws NotFoundException, InvalidInstanceSnapshotException, MachineException;

by only one:
   createInstance(Machine machine,
                            LineConsumer creationLogsOutput)

Change-Id: Ia7ea97bc1a44059b4892f5db387f54f2e1709fa3
Signed-off-by: Florent BENOIT <fbenoit@codenvy.com>
2016-05-30 14:51:41 +02:00
Roman Nikitenko 3ba879beca CHE-1223. Use terminal url of corresponding machine at creating new terminal
Signed-off-by: Roman Nikitenko <rnikitenko@codenvy.com>
2016-05-30 13:47:21 +03:00
Vitaliy Guliy a9a3ccddf0 CHE-377 Add actions to re-run and stop a command
Signed-off-by: Vitaliy Guliy <vguliy@codenvy.com>
2016-05-27 15:56:06 +03:00
Vitaliy Guliy 72ecdcaae8 CHE-301 Enable Processes panel in machine and project perspective
Signed-off-by: Vitaliy Guliy <vguliy@codenvy.com>
2016-05-27 13:23:53 +03:00
Roman Nikitenko 2236a0dc55 CHE-648. Try to restore websocket connection when this one has closed
Signed-off-by: Roman Nikitenko <rnikitenko@codenvy.com>
2016-05-25 13:36:50 +03:00
Anton Korneta ea7d068fe7 Separation of components to allow overrides in codenvy 2016-05-20 13:53:43 +03:00
Oleksii Orel 0a21a06d70 CHE-1007: add docker and development views for Edit targets
Signed-off-by: Oleksii Orel <oorel@codenvy.com>
2016-05-19 17:46:00 +03:00
Valeriy Svydenko c8d7df3c73 CHE-1086: expand containers of the classpath
Signed-off-by: Valeriy Svydenko <vsvydenko@codenvy.com>
2016-05-18 17:26:34 +03:00
Alexander Garagatyi 54db11a471 CODENVY-529: fix terminal uri usage (#1286)
Signed-off-by: Alexander Garagatyi <agaragatyi@codenvy.com>
2016-05-18 17:14:45 +03:00
Sergii Leschenko e19e74adc3 CODENVY-433 Rework recipes and stacks for compatibility with new permissions API
Signed-off-by: Sergii Leschenko <sleschenko@codenvy.com>
2016-05-12 16:46:03 +03:00
Vitaly Parfonov 826353e6ab CHE-781:Move all platform-api-client-gwt to the che-core-ide-api module
Signed-off-by: Vitaly Parfonov <vparfonov@codenvy.com>
2016-05-12 09:31:10 +03:00
Valeriy Svydenko 27f41c1a3d CHE-917: add a command for compiling and running plain java project
Signed-off-by: Valeriy Svydenko <vsvydenko@codenvy.com>
2016-05-11 10:30:47 +03:00
Artem Zatsarynnyi ca7612bfbc Clean-up Part API: remove not used methods #getTitleSVGImage, #decorateIcon, #getTitleWidget; renamed method #getTitleSVGImage -> #getTitleImage 2016-05-06 18:14:50 +03:00
Artem Zatsarynnyi 07d341f4e3 CHE-390: Simplify Editor API (#1197)
* CHE-390: Simplify Editor API by adding abstract EditorProvider

* Remove unused EditorTypeMapping

* Remove obsolete, useless classes

* Remove editor types

* Fix typo in interface name

* Remove EditorAdapter

* Refactor: EmbeddedTextEditorPresenter -> TextEditorPresenter

* Refactor code

* Clean-up

* Remove mime-types

* Refactor JsEditor

* Remove redundatnd dependency

* Rename codenvyDefaultEditor -> cheDefaultEditor
2016-05-06 16:54:34 +03:00
Vitaly Parfonov 3f569ae0b6 Add checking on current project == null
Signed-off-by: Vitaly Parfonov <vparfonov@codenvy.com>
2016-05-06 16:35:54 +03:00
Vitaly Parfonov 866a8dbfad Merge branch 'master' into CHE-1071 2016-05-05 12:25:56 +03:00
Vitaly Parfonov 3bbdf852a5 Move Contants to shared
Signed-off-by: Vitaly Parfonov <vparfonov@codenvy.com>
2016-05-05 12:25:20 +03:00
Wajihulhassan ed8d871286 Fixing more StaticAccessedFromInstance warnings
Signed-off-by: Wajih ul hassan <wajih.lums@gmail.com>
2016-05-01 03:17:11 -05:00