Commit Graph

703 Commits (03949e0c19e8bed48e461eae05238cd158c500e2)

Author SHA1 Message Date
Sergii Leshchenko 2eef956f62
Add -f -S flags for curl commands in installers (#12688)
Signed-off-by: Sergii Leshchenko <sleshche@redhat.com>
2019-02-19 11:17:28 +02:00
Roman Iuvshyn a694c4f971
RELEASE: Set next development version (#12596) 2019-02-06 18:22:35 +02:00
Masaki Muranaka 9f5a7980c7 Fix resource leaks. (#12407)
Signed-off-by: Masaki Muranaka <monaka@monami-ya.com>
2019-01-29 13:02:59 +02:00
Vladyslav Zhukovskyi 67dc2e1b54
Check for additional file events in watch event poll (#12384)
### What does this PR do?
This changes proposal adds fix for the problem related to sequential handling file watcher events. The problem is in mechanism of receiving events: https://github.com/eclipse/che/blob/master/wsagent/che-core-api-project/src/main/java/org/eclipse/che/api/watcher/server/impl/FileWatcherService.java#L272. We try to get events and continue work with them but we don't check that in this moment we can receive additional events.

Use case to reproduce such problem: use git repository with the following structure:
```
.
├── dir
│   ├── file1
│   ├── file2
│   └── file3
└── other.file
```
clone this repo into che and make outside operation to make the following structure:
```
.
├── dir
└── other.file
```
file watcher detects changes and we call https://github.com/eclipse/che/blob/master/wsagent/che-core-api-project/src/main/java/org/eclipse/che/api/watcher/server/impl/FileWatcherService.java#L272 we receive two events about delete `file1` and `dir`, but in a moment we receive rest two events that is not handled for `file2` and `file3`.

Signed-off-by: Vladyslav Zhukovskyi <vzhukovs@redhat.com>

### What issues does this PR fix or reference?
#11648 
<!-- #### Changelog -->
<!-- The changelog will be pulled from the PR's title. 
     Please provide a clear and meaningful title to the PR and don't include issue number -->


#### Release Notes
<!-- markdown to be included in marketing announcement - N/A for bugs -->
N/A


#### Docs PR
<!-- Please add a matching PR to [the docs repo](https://github.com/eclipse/che-docs) and link that PR to this issue.
Both will be merged at the same time. -->
N/A
2019-01-24 11:25:46 +02:00
Sergii Kabashniuk 27cad4ec22
CORS: use internal or external api url depending on needs (#12476)
CORS: use internal or external api url depending on needs
2019-01-22 10:23:57 +02:00
Thomas Mäder 6a73689cfc
Send project events on rename (#12365)
Signed-off-by: Thomas Mäder <tmader@redhat.com>
2019-01-17 13:39:52 +01:00
Sergii Kabashniuk d43ee12f47 Added logback configuration to reduce log output
Signed-off-by: Sergii Kabashniuk <skabashniuk@redhat.com>
2019-01-16 16:01:52 +02:00
Sergii Kabashniuk 84b5a68bd9 Correctly determine server from which IDE was loaded
Provider of "cors.allowed.origins" setting for CORS Filter of WS Agent. Provides the value such  algorithm:
        1. If set che.wsagent.cors.allowed_origins
        2. Server with "ide" attribute in workspace config
        3. Server from url of "ide" link in workspace config
        4. che.api

Signed-off-by: Sergii Kabashniuk <skabashniuk@redhat.com>
2019-01-16 16:01:52 +02:00
Thomas Mäder e4055918de
Detect Simple Java Projects on Import (#12041)
Signed-off-by: Thomas Mäder <tmader@redhat.com>
2019-01-16 14:58:44 +01:00
Roman Iuvshyn 4ad10f2218
RELEASE: Set next development version (#12441) 2019-01-16 11:51:02 +02:00
Thomas Mäder 66ac77165e
Update to lsp4j 0.6.0 (#12399)
* Adapt to lsp4j 0.6.0
2019-01-15 09:58:16 +01:00
Masaki Muranaka 07ceab7754 Remove redundant elements (<groupId> and <version>) (#12406)
Signed-off-by: Masaki Muranaka <monaka@monami-ya.com>
2019-01-14 13:07:42 +02:00
Roman Iuvshyn b872b317cb
RELEASE: Set next development version (#12277) 2018-12-26 13:04:51 +02:00
Mykhailo Kuznietsov 69288516c8
Upgrade Tomcat and change default CORS configuration (#12144) 2018-12-22 10:56:27 +02:00
Valeriy Svydenko 90b5bdef23
Remove maven server (#12235)
Signed-off-by: Valeriy Svydenko <vsvydenk@redhat.com>
2018-12-21 17:16:28 +02:00
Sergii Leshchenko b3ca9f77fb Make installers respecting mounted CA certificate file 2018-12-11 15:42:43 +02:00
Mykhailo Kuznietsov b7e1918e32
Upgrade dependencies (#11944) 2018-12-11 11:34:48 +02:00
Innovimax f95511f2ef FIX Typo "doesn't exists" -> "doesn't exist" (#12154)
FIX Typo "doesn't exists" -> "doesn't exist" (#12154)
2018-12-11 09:37:04 +02:00
Roman Iuvshyn 45490d2a3b
RELEASE: Set next development version (#12115) 2018-12-05 18:33:02 +02:00
Mykhailo Kuznietsov 3d366a1c19
Add ability to change CORS configuration on Che Server through env vars (#12046) 2018-12-04 14:56:38 +02:00
Dmytro Kulieshov 41f3b6b73a
Added optional ability to configure custom projects root for language servers (#10128) 2018-11-28 14:35:33 +02:00
Masaki Muranaka d309ef4b83 Remove redundant <version> elements. (#12023)
As they will be inherited from `parent.version`.

Signed-off-by: Masaki Muranaka <monaka@monami-ya.com>
2018-11-25 21:17:08 +02:00
Roman Iuvshyn 99afaef87f
RELEASE: Set next development version (#11930) 2018-11-14 12:29:03 +02:00
Igor Vinokur 9826864656
Revert "Revert "CHE-10480: Fix NullPointerException (#11857)" (#11908)" (#11919)
The revert #11857 was an experiment to fix the Jenkins job on CI. So this revert applies the changes back
2018-11-13 11:20:43 +02:00
Igor Vinokur 7c8da7bbb5
Revert "CHE-10480: Fix NullPointerException (#11857)" (#11908) 2018-11-12 19:01:56 +02:00
Igor Vinokur 00f1afa263
CHE-10480: Fix NullPointerException (#11857) 2018-11-12 12:52:02 +02:00
Thomas Mäder 86058b546a
Send URI instead of path to ls on didChangeWatchedFiles (#11752)
Signed-off-by: Thomas Mäder <tmader@redhat.com>
2018-10-26 16:15:52 +02:00
Roman Nikitenko ecad664241 CHE-11145. Switch update project to Json-rpc
Signed-off-by: Roman Nikitenko <rnikiten@redhat.com>
2018-10-26 09:14:43 +03:00
Roman Iuvshyn 365d25f275
RELEASE: Set next development version (#11710) 2018-10-24 16:38:03 +03:00
Vitalii Parfonov 9afe5599a3
Use keyclock token in case MultiUser assembly for SSH Key Uploading (#11702)
Signed-off-by: Vitalii Parfonov <vparfonov@redhat.com>
2018-10-23 17:10:34 +03:00
Dmytro Kulieshov f386744d3d
Fix of FileWatcherByPathMatcher to properly watch existing files (#11510)
Signed-off-by: Dmytro Kulieshov <dkuliesh@redhat.com>
2018-10-18 17:17:48 +03:00
Thomas Mäder 4b1c124a44 Don't use eclipse.text classes to convert text edits (#11314)
Signed-off-by: Thomas Mäder <tmader@redhat.com>
2018-10-17 15:05:02 +02:00
Valeriy Svydenko 206baad2c2 Don't throw an exception if none LS was found for some uri (#11094)
Signed-off-by: Valeriy Svydenko <vsvydenk@redhat.com>
2018-10-17 15:05:02 +02:00
Thomas Mäder a4638bfa78 Update to LSP4J 0.5.0.M1
Signed-off-by: Thomas Mäder <tmader@redhat.com>
2018-10-17 15:05:02 +02:00
Anatoliy Bazko c4540b94e8 Fix selenium tests in languageserver package (#11005)
Signed-off-by: Anatoliy Bazko <abazko@redhat.com>
2018-10-17 15:05:02 +02:00
Anatoliy Bazko 2fb7654f89 Fix selenium tests in factory package (#10921)
Signed-off-by: Anatoliy Bazko <abazko@redhat.com>
2018-10-17 15:05:02 +02:00
Anatoliy Bazko 8ee5aec371 Fix config initialization (#10930)
Signed-off-by: Anatoliy Bazko <abazko@redhat.com>
2018-10-17 15:05:02 +02:00
Anatoliy Bazko f430b48cd1 Update project config when event is fired (#10677)
Signed-off-by: Anatoliy Bazko <abazko@redhat.com>
2018-10-17 15:05:02 +02:00
Anatoliy Bazko d6160cbe86 Merging master
Signed-off-by: Anatoliy Bazko <abazko@redhat.com>
2018-10-17 15:05:02 +02:00
Thomas Mäder be4b70554b Consume markup and snippets in completion doc (#10436)
* Consume lsp4j 0.4.0
* Consume snippets and markdown in completion doc

Signed-off-by: Thomas Mäder <tmader@redhat.com>
2018-10-17 15:05:02 +02:00
Thomas Mäder aff8427a28 Send and handle ProjectCreatedEvent (#10363)
Signed-off-by: Thomas Mäder <tmader@redhat.com>
2018-10-17 15:05:02 +02:00
Josh Pinkney bbaa4d7c14 Fixed java language server in sidecar (#9616)
Signed-off-by: jpinkney <josh.pinkney@mail.utoronto.ca>
2018-10-17 15:05:02 +02:00
Thomas Mäder bdf9fa5a9c Fixups after rebase
Signed-off-by: Thomas Mäder <tmader@redhat.com>
2018-10-17 15:05:02 +02:00
Thomas Mäder aa5cd88b07 Make jdt.ls branch work with refactored LS launchers
Signed-off-by: Thomas Mäder <tmader@redhat.com>
2018-10-17 15:05:02 +02:00
Thomas Mäder 4cc871bf5d Various fixes to improve Che-in-Che performance (#9379)
Various fixes to improve Che-in-Che performance

Signed-off-by: Thomas Mäder <tmader@redhat.com>
2018-10-17 15:05:02 +02:00
Valeriy Svydenko b5bac70f4f Progress UI for Language Servers (#8992)
Signed-off-by: Valeriy Svydenko <vsvydenk@redhat.com>
2018-10-17 15:05:02 +02:00
Anatoliy Bazko 1597fa8dd4 Fix selenium tests (#8898)
Signed-off-by: Anatoliy Bazko <abazko@redhat.com>
2018-10-17 15:05:02 +02:00
Anatoliy Bazko 59b014a26b Fix after rebasing
Signed-off-by: Anatoliy Bazko <abazko@redhat.com>
2018-10-17 15:05:02 +02:00
Valeriy Svydenko fc2f76bc5c Replace old java formatter to jdt.ls formatter (#8829)
Signed-off-by: Valeriy Svydenko <vsvydenk@redhat.com>
2018-10-17 15:05:02 +02:00
Anatoliy Bazko 5fd609831d CHE-8510: Recognize multi-module projects (#8661)
Signed-off-by: Anatoliy Bazko <abazko@redhat.com>
2018-10-17 15:05:02 +02:00