Commit Graph

162 Commits (b42a062dd36f44aabfbfa53e2d3e41e58460264f)

Author SHA1 Message Date
Tareq Sharafy 185de42cd0 Make ProjectManager a non-final class (#3267) 2016-12-21 14:59:00 +02:00
Roman Nikitenko cd25cd7029 CHE-146. Add ability to suspend gdb debugger session and breakpoints for endless loop
Signed-off-by: Roman Nikitenko <rnikitenko@codenvy.com>
2016-12-09 12:21:03 +02:00
Roman Iuvshin 7850cc2908 [maven-release-plugin] prepare for next development iteration 2016-12-07 12:34:30 +00:00
Roman Iuvshin 1c15a44844 [maven-release-plugin] prepare release 5.0.0-M8 2016-12-07 12:34:25 +00:00
Roman Nikitenko ca82851bd3 Change identifier for import project channel 2016-12-07 10:38:35 +02:00
Gennady Azarenkov 664bbf82ef Make Project related (importer) OutputLineConsumer to be passed as a parameter to related ProjectManager methods instead of creating it inside.
Modify RequestDispatcher to make it accept Array of DTO, String and Void
2016-12-07 10:38:35 +02:00
Xavier Coulon a3464548a8 Issue 1793: Language Server Protocol: ShowMessage Notification feature (#3124)
Added a ShowMessageProcessor and a ShowMessageMessager classes to process
incoming `window/showMessage` notification and display a notification
in `float` mode in the UI if the message type is `error` or `warning`, in
the events panel otherwise. Note that the notification type for `error`
messages is incorrectly set to `Log` because of a bug in the typefox
dependency: `io.typefox.lsapi.MessageType#Log` has the value `1` instead of
`4`.

This issue depends on https://github.com/eclipse/che/pull/3113
(Add a 'warning' state for the notifications)

To test the pull request, please follow the instructions on
https://github.com/eclipse/che/pull/3123 to run the 'test-lang' server.
Once in the workspace, create a project, add a `foo.test` file (the
Language Server support for the 'test-lang' will be activated), then
type the following line
> window/showMessage:error: a message
and wait for the editor to save the changes. This will trigger a
`window/showMessage` notification from the 'test-lang' server in the Che UI.

Signed-off-by: Xavier Coulon <xcoulon@redhat.com>
2016-12-05 16:57:05 +02:00
Roman Nikitenko 2339b0dd6e CHE-2937. Add ability to create batch of projects 2016-11-30 19:08:09 +02:00
Kaloyan Raev f1710e6a9b Performance improvements and other fixes in code completion (#3146)
* Avoid overloading the DOM tree of the ContentAssistWidget

Signed-off-by: Kaloyan Raev <kaloyan.r@zend.com>

* Ensure the code assist widget is closed when applying proposal

Signed-off-by: Kaloyan Raev <kaloyan.r@zend.com>

* Respect isIncomplete flag in the completion result

If the isIncomplete flag is false, i.e. the completion result is
complete, then additional typing for the same word should not trigger a
new completion request. The latest completion result should be reused.

Signed-off-by: Kaloyan Raev <kaloyan.r@zend.com>

* Fix flickering between keystrokes during code completion

Signed-off-by: Kaloyan Raev <kaloyan.r@zend.com>

* Fine tune the rules for making new completion request

Signed-off-by: Kaloyan Raev <kaloyan.r@zend.com>

* Set the correct offset when applying code completion

* Force a completion request message on Ctrl+Space

Signed-off-by: Kaloyan Raev <kaloyan.r@zend.com>

* Fixed retrieval of CompletionItem document via Resolve request

Signed-off-by: Kaloyan Raev <kaloyan.r@zend.com>
2016-11-30 16:17:14 +02:00
Max Shaposhnik afadcd24f3 CHE-3065 Add uncaught exceptions handler in threads being run by ExecutorService (#3174) 2016-11-28 11:50:50 +02:00
Dmitry Kuleshov 44b060bff8 che#1947: reorganized json rpc and websocket (#3143) 2016-11-25 14:43:47 +02:00
Vitalii Parfonov 9b7909153f che#2550: replaced .codenvy folder to .che (#2919)
Signed-off-by: Dmitry Kuleshov <dkuleshov@codenvy.com>
2016-11-23 09:21:31 +02:00
Igor Vinokur 88f788b28d CHE-2870 Fix get git config property value (#3077)
Fix get() method of JGitConfigImpl class.
Previous behavior:
If the same property is present in the global git config file, and in the git repository config file, execution of gitConnection.getConfig().get(<property name>) returnes property from global git config file.
2016-11-18 15:16:32 +02:00
Vitalii Parfonov ae5f2133f0 Revert "Replace node host with api Endpoint. Need for multi node installation" (#3110) 2016-11-17 17:22:26 +02:00
Vitalii Parfonov 0ce8bff4f4 Replace node host with api Endpoint host. Need for multi node installation (#3108)
Signed-off-by: Vitalii Parfonov <vparfonov@codenvy.com>
2016-11-17 16:45:28 +02:00
Vitalii Parfonov 269767c11d CHE-2816: Fix search text in PHP, HTML and other files (#3087)
Fix filtering by MimeType for now MimeTypeFilter skip only binary like: image/, video/ and etc
Add ability set search Whole world option

Signed-off-by: Vitalii Parfonov <vparfonov@codenvy.com>
2016-11-16 17:10:12 +02:00
Roman Iuvshin 52f84d9092 [maven-release-plugin] prepare for next development iteration 2016-11-10 11:37:24 +00:00
Roman Iuvshin 315056731e [maven-release-plugin] prepare release 5.0.0-M7 2016-11-10 11:37:20 +00:00
Igor Vinokur 1bbb902e19 CHE-1297: Git service refactoring (#1515)
The goal of this refactoring is to set correct type of HTTP methods in GitService. Now almost all HTTP methods in this service are POST methods, but there are methods that are used to get some content, so they should be marked as GET method. Also I had to change such methods to receive query parameters instead of body.
Implemented parameter objects to use them instead of using DTO as parameter in GitConnection methods.
2016-11-03 16:32:50 +02:00
Sergii Kabashniuk 60472f223e CHE-2883 Git importer - convertToTopLevelProject feature (#2946)
Allow to configure git importer to convert subdirectory
cloned during sparce checkout to top level project.

Parameter name - convertToTopLevelProject.
This parameter working if keepDir is not empty and keepVcs=false
2016-10-31 21:21:12 +02:00
Aleksandr Andrienko cd0423c3d0 CHE-2888: Fix pull requests-build due to git tests. (#2932)
Signed-off-by: Aleksandr Andrienko <aandrienko@codenvy.com>
2016-10-31 17:15:04 +02:00
Mihail Kuznyetsov 494442e11a CHE-2015 Rename configuration properties 2016-10-27 17:29:46 +03:00
ShimonBenYair d55fbe961a Add support for Git Log API. (#2046)
Add support for skip and maxCount when calling the LOG API.
Add support to get the log for a specific folder or file in the repository.
For every commit that is returned when calling the LOG API, the following data was added:
The author of the commit
A list of branch names that the commit is related to.
A list of file names that were changed/deleted/added in the commit.
A list of commit parents (to enable for example clients to paint a graph)

Change-Id: I2cc486cc49787c681b031067728b7a33f8fb11e7
Signed-off-by: Shimon Ben.Yair <shimon.ben.yair@sap.com>
2016-10-27 11:13:44 +03:00
Roman Iuvshin 825af31a5d [maven-release-plugin] prepare for next development iteration 2016-10-26 09:37:49 +00:00
Roman Iuvshin 7da1d4a910 [maven-release-plugin] prepare release 5.0.0-M6 2016-10-26 09:37:45 +00:00
RomanNikitenko 81fa1e5490 CHE-2816. Correctly applying exclude filters at indexing files (#2857)
Signed-off-by: Roman Nikitenko <rnikitenko@codenvy.com>
2016-10-25 18:09:33 +03:00
Igor Vinokur 2ba7984367 Enable keepVcs property when importing project with sparse checkout (#2882) 2016-10-25 16:16:31 +03:00
Vitalii Parfonov 9951639518 CHE-2098:fix generation Project with Maven Archetype. (#2872)
Archetype Plugin parameters transfer to the REST Project API via query parameters

Signed-off-by: Vitalii Parfonov <vparfonov@codenvy.com>
2016-10-25 13:36:19 +03:00
Angel Misevski 780c97c12a Fix git config test failure (#2836)
Change git config property used in tests to a test property instead
of an existing one (difftool.prompt).

Signed-off-by: Angel Misevski <amisevsk@redhat.com>
2016-10-24 10:12:12 +03:00
Gennady Azarenkov cf4cf3e9a8 Apply non-strict rules for PT appliance on project import to avoid wo… (#2765)
* Apply non-strict rules for PT appliance on project import to avoid workspace failing

* Small fixes
2016-10-13 13:39:21 +03:00
Kaloyan Raev fbac7eaacc Fix #2471: Send json/schemaAssociations notification (#2474)
The VS Code's JSON language server expects a 'json/schemaAssociations'
notification to associate JSON files to JSON schemas. This activates
capabilities like code completion, validation and hover without the need
to add a '$schema' key.

This change implements an extension of the JsonBasedLanguageServer that
registers as ServerInitializerObserver and sends the
'json/schemaAssociations' notification on the 'onServerInitialized'
event.

Signed-off-by: Kaloyan Raev <kaloyan.r@zend.com>
2016-10-10 11:41:32 +03:00
Roman Iuvshin b986091e4a [maven-release-plugin] prepare for next development iteration 2016-10-07 10:22:41 +00:00
Roman Iuvshin 8f799b4c28 [maven-release-plugin] prepare release 5.0.0-M5 2016-10-07 10:22:37 +00:00
Vitalii Parfonov 0003b2324b che#2608: added vfs exlude filters, small vfs watcher fix, improved project tree changes detection algorithm (#2713)
Signed-off-by: Dmitry Kuleshov <dkuleshov@codenvy.com>
2016-10-05 18:41:00 +03:00
Igor Vinokur 11036470a0 CODENVY-687: Сache svn credentials instead of storing them in credentials provider (#2672) 2016-10-05 14:06:35 +03:00
Anatoliy Bazko e079338a11 CHE-2552: Language server module refactoring (#2677) 2016-10-04 11:49:24 +03:00
Florent BENOIT 7d6739329d Expose getCurrentBranch() method on git connection + rework gitvalueProviderFactory (#2569)
* expose getCurrentBranch() method on git connection
Also change the git value provider factory to use this method instead of using status command as status is requiring lot of I/O

Change-Id: If88da1e1b63a252f0226f1a586f3a67d7295e6c3
Signed-off-by: Florent BENOIT <fbenoit@codenvy.com>
2016-09-29 15:18:45 +02:00
Igor Vinokur d8c70d13ba Fix JGitConnection test (#2651) 2016-09-29 13:18:49 +03:00
Igor Vinokur 1982d2e60c CHE-2045: Fix recursive clone by ssh (#2155) 2016-09-29 12:42:27 +03:00
Mihail Kuznyetsov 315e865cc5 CHE-2618 Make checkout with startpoint work with short branch name 2016-09-28 15:06:31 +03:00
Valeriy Svydenko acd9ba49d5 CHE-1857: add ability to rename projects (#2436)
CHE-1857: add an ability to rename project
2016-09-28 10:52:16 +03:00
Roman Iuvshin 33944c6ec1 set M5 version 2016-09-27 16:08:19 +03:00
Roman Iuvshin 152be21b4f [maven-release-plugin] prepare for next development iteration 2016-09-26 14:19:41 +00:00
Roman Iuvshin 89ab012035 [maven-release-plugin] prepare release 5.0.0-M3 2016-09-26 14:19:37 +00:00
Igor Vinokur 56473f0ca2 Add missing dependency (#2553) 2016-09-22 18:35:59 +03:00
i053322 4595c9d1ce Add support of BasicAuthentication Authentication to Git (#1940)
Signed-off-by: i053322 <yossi.balan@sap.com>
2016-09-22 18:33:15 +03:00
Roman Iuvshin 900ccbb807 set M3 version 2016-09-20 17:31:42 +03:00
Roman Iuvshin 3c1df2e4ad [maven-release-plugin] prepare for next development iteration 2016-09-14 15:50:20 +00:00
Roman Iuvshin b647b5eef7 [maven-release-plugin] prepare release 5.0.0-M1 2016-09-14 15:50:16 +00:00
Dmitry Kuleshov 5d267fe305 VFS file watcher based use cases implementations (#2339)
* che#1910: added several new user workflows implementations for VFS

Signed-off-by: Dmitry Kuleshov <dkuleshov@codenvy.com>
2016-09-07 11:22:22 +03:00