Commit Graph

1126 Commits (2caee22ecbcec2f8ba040d34486a3c61b3a90f0d)

Author SHA1 Message Date
Anatoliy Bazko 2ce3bca97e CHE-6545: Add condition for breakpoints (#6763) 2017-10-18 07:56:06 +00:00
Florent BENOIT 529ac3d400 Apply fixes to update maven plugins
- errorprone : ignore test methods that are using testxyz() pattern but are not annotated by @Test
- Remove  deprecated stuff (for example use descriptors/descriptor for maven-assembly plugin
- remove dependency with specific version
- remove unnecessary stubbing

Change-Id: I64e96c0465dc9081ed9dde6841ca9f77fb515005
Signed-off-by: Florent BENOIT <fbenoit@redhat.com>
2017-10-17 21:41:57 +02:00
Florent BENOIT 9581a9bbef Move to mockito 2.10
Some changes are required like
 - anyString() --> nullable(String.class) for many tests as in fact we provide null values
 - add class for VerificationMode as there are more than one method now (can't use lambdas)
 - remove cast on ArgumentMatcher (now we can use lambdas as there is generics)
 - remove unecessary stubbing (mockito is now reporting un-needed stubs)

Change-Id: I69c7ccc86bc85a4401d5e33671229ae0ce560dbb
Signed-off-by: Florent BENOIT <fbenoit@redhat.com>
2017-10-15 10:34:15 +02:00
Roman Iuvshyn abe3271908 RELEASE: Set next development version (#6692)
* RELEASE: Set next development version
2017-10-14 20:17:04 +03:00
Roman Nikitenko fe6d621302 Clean up 'YamlExtensionManagerViewImpl'
Signed-off-by: Roman Nikitenko <rnikiten@redhat.com>
2017-10-13 15:25:40 +03:00
Dmytro Kulieshov c35d27e7eb Removing deprecated FileTreeWatcher (#6688) 2017-10-12 15:21:55 +03:00
Josh Pinkney 1870d7dd83 Integrated yaml language server (#6371)
Signed-off-by: jpinkney <josh.pinkney@mail.utoronto.ca>
2017-10-11 17:05:16 +02:00
Igor Vinokur 4f09d1d00f CHE-5340: Rework 'VcsChangeMarkerRenderFactory' initialization (#6658)
Add ability to implement VcsChangeMarkerRenderFactory from multiple places
2017-10-10 17:00:46 +03:00
Valeriy Svydenko e2439d78d9 Send events from server to client about project's changes (#6628) 2017-10-10 15:46:27 +03:00
Yevhen Vydolob f65836ac43 #6624 send subscribe message when ws agent started (#6634)
Signed-off-by: Yevhen Vydolob <evidolob@codenvy.com>
2017-10-10 09:22:52 +02:00
Yevhen Vydolob 59abab922c Language Server Protocol Rename implementation (#6615)
* #1806 add service and UI for rename feature
Signed-off-by: Yevhen Vydolob <evidolob@codenvy.com>
2017-10-09 16:06:53 +02:00
Ilya Buziuk c147f8b31d che #6500 - Removing optional 'che-ws-' prefix during tag creation
Signed-off-by: Ilya Buziuk <ibuziuk@redhat.com>
2017-10-09 15:36:25 +02:00
Igor Vinokur fe005f3df5 Add git changes markers to the editor (#6054) 2017-10-09 10:02:41 +03:00
Sergii Kabashniuk ee01b2998f Multi-user Eclipse Che (#6441)
Multi-user Eclipse Che (#6441)
#### How to run it.
```docker run -it -e CHE_MULTIUSER=true -e CHE_HOST=<your ip> -e CHE_KEYCLOAK_AUTH-SERVER-URL=http://<your ip>:5050/auth -v /var/run/docker.sock:/var/run/docker.sock -v ~/.che-multiuser:/data eclipse/che:nightly start --skip:pull --skip:nightly```
#### How to manage it
 - Keycloak configured with two realms. ```Master``` and ```che```. Also we have one user admin/admin in both realm. Admin user in master realm is  - super admin. 
-  Eclipse Che configured for che realm
- We enabled user registration in ```Che``` realm
#### Known limitation
 - swagger would not work. We need to upgrade a version. to support openid authentification https://github.com/eclipse/che/issues/6015
- It's working on local docker. We are going to provide scalable version based on OpenShift on next versions.
- Invitation of non-existent users to Eclipse Che organization https://github.com/eclipse/che/issues/6335
#### How to run it when it is in a branch


To run an multiuser Che version, the following steps are required after building the branch:
 - Rebuild init, cli and che images (in the given sequence). To do that, proceed to folder _dockerfiles/<image_name>_ and run _build.sh_
 - Run Che in a  usual way using cli, with additional parameters:  `-e CHE_MULTIUSER=true` and `--skip:pull --skip:nightly`  
   Full command example:
   `docker run -it --rm -v /var/run/docker.sock:/var/run/docker.sock -v /home/user/.che:/data -e CHE_MULTIUSER=true eclipse/che-cli:nightly start --skip:pull --skip:nightly`
 - MacOS users may need to edit _che.env_ file in the data folder, changing `CHE_HOST` and `CHE_KEYCLOAK_AUTH__SERVER__URL` values to their specific IP.
 
When start is succeeded, the following docker containers should be created:  
 - che, exposing 8080 port;
 - che_keycloak, exposing 5050 port;  
 - che_postgres, exposing 5432 port;
2017-10-06 17:27:27 +03:00
Anatoliy Bazko 8d70ec4024 Fix php debugger test (#6556) 2017-10-06 10:38:22 +03:00
Thomas Mäder af0376de7f Add support to VS Code style snippets in code completion (#6339)
Added support for code completion snippets.

Signed-off-by: Thomas Mäder <tmader@redhat.com>
2017-10-05 14:50:02 +02:00
Maxim Musienko 47da5d3063 Rework tests for checking TestRunner plugin (#6559)
* change methods in the  Page Object for TestRunner plugin for using added ids for node items
2017-10-05 14:14:37 +03:00
Valeriy Svydenko 25c16a63be Add pagination to the full text search results (#6522) 2017-10-04 18:08:39 +03:00
Anatoliy Bazko 0181b6572e CHE-6024: Add selenium test (#6550) 2017-10-03 15:51:50 +03:00
Anatoliy Bazko 05642192b5 CHE-6342: Rework git status feature (#6536) 2017-10-03 10:23:17 +03:00
Dmitrii Bocharov 57b2fc7058 CHE-6024: Add 'Git revert' action (#6108) 2017-10-03 09:21:33 +03:00
Josh Pinkney 34ba429d58 Implemented getVersion in OpenShiftConnector (#6222)
* Implemented getVersion in OpenShiftConnector

Signed-off-by: jpinkney <josh.pinkney@mail.utoronto.ca>
2017-10-02 07:42:42 +02:00
jpinkney 6db2424a7a Removed unneeded code from top method 2017-09-29 17:11:54 +02:00
jpinkney e0f60000d5 Implement top method in OpenShiftConnector
Signed-off-by: jpinkney <josh.pinkney@mail.utoronto.ca>
2017-09-29 17:11:54 +02:00
jpinkney 7503f50e77 Added getSystemInfo into OpenShiftConnector
Signed-off-by: jpinkney <josh.pinkney@mail.utoronto.ca>
2017-09-29 17:09:50 +02:00
Florent BENOIT 430c1a32d7 Fix the issue when no exposed ports are defined in the docker image
Change-Id: I76fa7b6aaff552043e1e8cf2934527f491631b2a
Signed-off-by: Florent BENOIT <fbenoit@redhat.com>
2017-09-29 11:16:20 +02:00
Florent BENOIT da636d181c Avoid NPE by checking if map are null and not only empty
https://github.com/redhat-developer/rh-che/issues/338

Change-Id: Ic760eef59be7fcaf47cb94ad83652892897d4d31
Signed-off-by: Florent BENOIT <fbenoit@redhat.com>
2017-09-28 07:01:49 +02:00
Anatoliy Bazko 2512d7b9bf Revert Git revert action (#6470) 2017-09-27 15:21:46 +00:00
Anatoliy Bazko 2fe4505eab Small fixes for master (#6462)
Small fixes for master.

* Removed dependency on server side in gwt code (debugger)
* Fixed ThreadDumpTest
* Formatted java class
2017-09-27 11:26:56 +00:00
Anatoliy Bazko dac5b6610f CHE-6024: Revert commit action (#6386)
* CHE-6024: Revert commit action
2017-09-27 08:26:25 +00:00
Sergii Kabashniuk c5fad59c6d Reused antlr java 5 grammar from che-lib (#6410) 2017-09-26 09:41:17 +03:00
Sergii Leshchenko f1d2a2c647 Fix logging when an exception occurs on operations with workspaces' ssh keys (#6419) 2017-09-25 16:47:31 +03:00
Oleksandr Garagatyi 7c7e596fb7 Add possibility to disable DockerInstanceStopDetector (#6415)
It is needed for OpenShift infra where getting events
is not supported due to security limits.
To disable containers stop detector variable
CHE_DOCKER_ENABLE__CONTAINER__STOP__DETECTOR=false should be
defined.
Signed-off-by: Oleksandr Garagatyi <ogaragat@redhat.com>
2017-09-25 15:47:02 +03:00
Oleksandr Garagatyi 4058f61ec1 CHE-6397: set missing environment context on machine start
Set environment context for a thread where logs of a machine are read.
Signed-off-by: Oleksandr Garagatyi <ogaragat@redhat.com>

Signed-off-by: Oleksandr Garagatyi <ogaragat@redhat.com>
2017-09-25 10:05:45 +03:00
Florent BENOIT a013d28a95 Fix build with invalid import
Change-Id: I156d1db78f2e0500b9a184afd23ed4d46f0d5e10
Signed-off-by: Florent BENOIT <fbenoit@redhat.com>
2017-09-22 17:54:47 +02:00
Valeriy Svydenko 9e3c1dff1c CHE-5729: fix the preview page of refactoring (#6385) 2017-09-22 17:22:04 +03:00
Valeriy Svydenko 514913d5d1 CHE-5729: adapt PHP test runner according new API (#6201) 2017-09-21 10:32:10 +03:00
Roman Iuvshyn 8e03d56bfb RELEASE: Set next development version (#6345) 2017-09-19 14:52:53 +03:00
Vitalii Parfonov d60d4da5a9 Workaround for fixing freeze browser for big project (#6341)
Signed-off-by: Vitalii Parfonov <vparfonov@redhat.com>
2017-09-19 13:06:23 +03:00
Igor Vinokur 9f08923327 CHE-6033: Fix bug when git colors are note updated after git operations (#6262)
CHE-6033: Fix bug when git colors are note updated after git operations
2017-09-18 12:21:24 +03:00
Mykola Morhun 7beb2467ba CHE-5925: Add hotkeys to the most usable git actions (#6247)
CHE-5925: Add hotkeys to the most usable git actions
2017-09-15 15:28:02 +03:00
Oleksandr Andriienko d847b4149f CHE-5810: Improve client encoding for file or folder path to support special symbols (#6166) 2017-09-14 15:47:32 +03:00
Ilya Buziuk 0bd960605e openshift.io-798 Checking only first 20 chars of tag in 'getImageStreamTagFromRepo' for long tags
Signed-off-by: Ilya Buziuk <ibuziuk@redhat.com>
2017-09-13 14:06:18 +02:00
Anatoliy Bazko 6b76cadf84 Thread dump for java debugger (#5320)
CHE-3708: Thread dump for java debugger
2017-09-13 13:35:28 +03:00
Roman Nikitenko ed73a101dc CHE-5338. Clean up app state preference when workspace is removed
Signed-off-by: Roman Nikitenko <rnikiten@redhat.com>
2017-09-13 11:16:42 +03:00
Igor Vinokur fc35ba2618 CHE-6114: Fix problems with project explorer performance in big projects (#6175)
1. Add ability to get Git status with filter.
2. Reworked Injecting VCS status info in Project service to make Status request only once instead of requesting each time in the loop.
3. Removed `format` parameter from get status method in Git Service, because it is redundant and do not affects to anything, since we use Jgit as a Git engine.
2017-09-12 14:41:28 +00:00
Mykola Morhun c7ed1d8336 Add ability to switch between files in Git Diff widget (#5965)
* Performs small refactoring of git-compare-related functionality.
* Adds ability to switch to the next/previous file in git compare widget.
* Adds hotkeys for next and previous diff
* Adds Save Changes button for git compare widget.
* Fixes compare with deleted file bug.
* Moves Git Diff widget from iframe to IDE.
2017-09-12 14:13:52 +03:00
Florent BENOIT e56989159a lazily init the local repository.
Change-Id: I7cf8aff6b655f4040426bf9152fe98c6f0d34ef4
Signed-off-by: Florent BENOIT <fbenoit@redhat.com>
2017-09-11 11:03:41 +02:00
Florent BENOIT 688c73f079 GWT dependency should not be there. It's running on server side.
Change-Id: Ic67763b18e5edcf99ea562e1a061ea8e2a03ddc8
Signed-off-by: Florent BENOIT <fbenoit@redhat.com>
2017-09-11 10:52:37 +02:00
Valeriy Svydenko 5231059555 CHE-5721: Importing java formatter for the project or workspace (#6077) 2017-09-08 16:19:31 +03:00