Commit Graph

600 Commits (ba4f3397feeeb879e8a2d9e01f2deb2e115b5ec6)

Author SHA1 Message Date
Roman Iuvshyn 60da580c92
RELEASE: Set next development version (#10603) 2018-08-02 12:38:48 +03:00
Mykhailo Kuznietsov 07263f1e30
Fix license header text (#10629) 2018-08-02 11:18:04 +03:00
Mykhailo Kuznietsov 15d23edc91
Update license to EPL 2.0 (#10531) 2018-07-31 11:24:36 +03:00
Vladyslav Zhukovskyi dc03019c12 Change debug level from info to debug 2018-07-30 16:29:22 +03:00
Vladyslav Zhukovskyi 849bc5ec89
Add notifier about low disk space (#10503)
* Add notifier about low disk space

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

* Create locale constants

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

* Add status bar notification message

Signed-off-by: Vladyslav Zhukovskyi <vzhukovs@redhat.com>
2018-07-27 16:08:51 +03:00
Roman Nikitenko 183d411b60 Fix exceptions at opening an editor that does not correspond to an existing resource
Signed-off-by: Roman Nikitenko <rnikiten@redhat.com>
2018-07-27 09:17:46 +02:00
Artem Zatsarynnyi 3467b2e6c2
Restore the dependencies on creating a C# project (#10405)
* Restore the dependencies on creating a C# project

Signed-off-by: Artem Zatsarynnyi <azatsary@redhat.com>
2018-07-25 13:58:48 +02:00
Max Shaposhnik 1471003ae4
Add exclusions mechanism into jwtproxy config builder & exlude liveness probes from auth 2018-07-24 18:18:26 +03:00
Anatoliy Bazko 0b86fa358b
Improve java debug performance to fetch list of threads/frames/variables (#10492)
* Improve debug performance

Signed-off-by: Anatoliy Bazko <abazko@redhat.com>
2018-07-24 06:19:36 +00:00
Igor Vinokur 080e17836f
CHE-10286: Switch import rest methods to Json-rpc (#10440) 2018-07-18 12:01:15 +03:00
Sergii Leshchenko e142d372fd Mark exec-agent, terminal, wsmaster servers secure 2018-07-12 14:50:56 +03:00
Roman Iuvshyn 985d368f2d
RELEASE: Set next development version (#10345)
* RELEASE: Set next development version
2018-07-10 15:56:52 +03:00
Dmytro Kulieshov c23c5408bd
Fixed error logging for Go LS when going to definition (#10315)
Signed-off-by: Dmytro Kulieshov <dkuliesh@redhat.com>
2018-07-06 17:41:17 +03:00
Igor Vinokur c469dc8eba
CHE-9052: Fix bug when file was deleted after move (#10218) 2018-07-06 06:43:52 +03:00
Igor Vinokur b071721ad3
CHE-9418: Fix Git status message if the repository is checkouted to tag or commit. (#10172)
Fix Git status message if the repository is checkouted to tag or commit.
Changed getCurrentBranch method in the Git API to getCurrentReference that returns Reference object that contains reference and type (branch, tag or commit).
2018-07-05 11:33:07 +03:00
Max Shaposhnik ed187d79d1
Fix machine token auth by using own user machine token (#10249) 2018-07-03 17:20:10 +03:00
Dmytro Kulieshov dae756458e
Fixed absence of internal servers in WorkspaceProjectSynchronizer (#10196)
Signed-off-by: Dmytro Kulieshov <dkuliesh@redhat.com>
2018-07-03 16:03:30 +03:00
Roman Iuvshyn d7e1c73cf8
RELEASE: Set next development version (#10110) 2018-06-19 17:24:50 +03:00
Gennady Azarenkov c3a982ce2f
Make ws agent-master interaction more consistent (#10031)
* Make ws master-agent interactions more consistent

* clean commented

* fix getting projects from workspace
2018-06-16 15:46:57 +03:00
Roman Nikitenko eef609fc8e Delete only child projects from project config registry at removing project
Signed-off-by: Roman Nikitenko <rnikiten@redhat.com>
2018-06-13 12:13:41 +03:00
Vitalii Parfonov b799f4ca3d
Fire ProjectCreatedEvent on importProject (#9954)
* Fire ProjectCreatedEvent on importProject

Signed-off-by: Vitalii Parfonov <vparfonov@redhat.com>

* Fire ProjectCreatedEvent on setting project configuration firtsly

Signed-off-by: Vitalii Parfonov <vparfonov@redhat.com>
2018-06-12 18:07:38 +03:00
Roman Nikitenko 1e41c83b1d Do not track hidden items in the root by 'GitCheckoutDetector'
Signed-off-by: Roman Nikitenko <rnikiten@redhat.com>
2018-06-07 10:22:26 +03:00
Dmytro Kulieshov 7e5d859731
Added back and reworked LS related tests removed by a mistake (#9933)
Signed-off-by: Dmytro Kulieshov <dkuliesh@redhat.com>
2018-06-06 11:51:58 +03:00
Vitalii Parfonov 0071c55f56
Path provider should return absolute path (#9910)
* Path provider should return absolut path

Signed-off-by: Vitalii Parfonov <vparfonov@redhat.com>

* Throw exception if root path fro project not absolute

Signed-off-by: Vitalii Parfonov <vparfonov@redhat.com>

* Add test

Signed-off-by: Vitalii Parfonov <vparfonov@redhat.com>

* Code cleanup

Signed-off-by: Vitalii Parfonov <vparfonov@redhat.com>

* Fix path in test

Signed-off-by: Vitalii Parfonov <vparfonov@redhat.com>
2018-06-01 19:08:07 +03:00
Gennady Azarenkov 00ca1592c7
Make it possible to have distributed ProjectRegistry (#9848)
* Adding pipeline

* del jenkinsfile

* Make exec agent not to use setsid for other than Linux envs

* revert pom.xml

* goformat

* get projects folder from workkspace configuration

* Merge remote-tracking branch 'upstream/master'

* clean code

* clean code

* Fix calculation Projects Root so it wont cause NPE if there are no 'project' volume defined

* Revert "Fix calculation Projects Root so it wont cause NPE if there are no 'project' volume defined"

This reverts commit 127a79e54c3e7f97a74f0103506025eb5e181777.

* Fix calculation Projects Root so it wont cause NPE if there are no 'project' volume defined

* replace provided attribute values with stored (src, out) in PlainJavaProjectType

* fix PlainJavaProjectType for getting rid and deprecate using SettableValueProvider

* remove comented code

* hide brouse source folder button, set source folder field as disabled

* hide the browse source button, set source folder field to read only mode, remove highlighter from the source folder field

* adapt test for current changes on UI, set save button to enable state

* apply formatting

* fs cache PT

* fix order of steps in the test

* Refactor RegisteredProject to make it possible to cache it (as DTO) to local file

* cache Projects and PTs to files

* Make it possible to have several impls for ProjectRegistry preparing it to be distributed across multi machines env

* merge upstream

* merge upstream

* merge upstream

* Update MavenServerService.java

* clean code

* small fix

* small fix

* small fix
2018-05-31 15:26:42 +03:00
Roman Iuvshyn 7231585f4b
RELEASE: Set next development version (#9862) 2018-05-30 12:01:54 +03:00
Dmytro Kulieshov 119a61b7bb
Fixed possible places of failure due to not closing InputStreams(#9780)
Signed-off-by: Dmytro Kulieshov <dkuliesh@redhat.com>
2018-05-25 15:23:01 +03:00
Sergii Leshchenko d319bf77b5
CHE-9792 Remove Codenvy analytics components (#9795) 2018-05-24 14:26:52 +03:00
Vitalii Parfonov f64f0d1ff9
fix formating (#9782)
Signed-off-by: Vitalii Parfonov <vparfonov@redhat.com>
2018-05-23 16:21:26 +03:00
Vitalii Parfonov 0955413b55
Send initialized event, after initialization (#9776)
* Send initialized event, after initialization

Signed-off-by: Vitalii Parfonov <vparfonov@redhat.com>
2018-05-23 15:08:13 +03:00
Roman Nikitenko acb0e00a48 CHE-8674. Delete child projects only at removing project
Signed-off-by: Roman Nikitenko <rnikiten@redhat.com>
2018-05-22 14:47:36 +03:00
Dmytro Kulieshov 7a52c83f4d
Several improvements to the way remote language servers may be configured through workspace configuration (#9387) 2018-05-18 12:17:30 +03:00
Mykhailo Kuznietsov 611bf55d4c
Send request with activity on ws-agent in a separate thread (#9708) 2018-05-17 12:02:16 +03:00
Vladyslav Zhukovskyi 89b9cf679a
Correct process situation when project has been renamed (#9582)
* Correct process situation when project has been renamed

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

* Formatting issue

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

* Minor fixes

Signed-off-by: Vladyslav Zhukovskyi <vzhukovs@redhat.com>
2018-05-15 14:07:58 +03:00
Roman Iuvshyn 6677e27a6b
RELEASE: Set next development version (#9669) 2018-05-11 10:27:31 +03:00
Gennady Azarenkov 89e3851127
Rework PlainJava project type and Deprecate SettableValueProvider (#9634)
* Adding pipeline

* del jenkinsfile

* Make exec agent not to use setsid for other than Linux envs

* revert pom.xml

* goformat

* get projects folder from workkspace configuration

* Merge remote-tracking branch 'upstream/master'

* clean code

* clean code

* Fix calculation Projects Root so it wont cause NPE if there are no 'project' volume defined

* Revert "Fix calculation Projects Root so it wont cause NPE if there are no 'project' volume defined"

This reverts commit 127a79e54c3e7f97a74f0103506025eb5e181777.

* Fix calculation Projects Root so it wont cause NPE if there are no 'project' volume defined

* replace provided attribute values with stored (src, out) in PlainJavaProjectType

* fix PlainJavaProjectType for getting rid and deprecate using SettableValueProvider

* remove comented code

* hide brouse source folder button, set source folder field as disabled

* hide the browse source button, set source folder field to read only mode, remove highlighter from the source folder field

* adapt test for current changes on UI, set save button to enable state

* apply formatting

* fix order of steps in the test
2018-05-08 11:05:38 +03:00
Dmytro Kulieshov 8676ddf6a7 Changed absolute paths to relative paths for zipped content (#9400)
* initial commit

Signed-off-by: Dmytro Kulieshov <dkuliesh@redhat.com>

* changed the way archive is created:
- adding to archive only folder's content (skipping the folder itslef)  for arbitrary folder
- adding to archive all projects for workspace archive

Signed-off-by: Dmytro Kulieshov <dkuliesh@redhat.com>
2018-05-04 16:12:59 +03:00
Roman Nikitenko 9ac8635632 CHE-7302. Do not display hidden items in root of project tree
Signed-off-by: Roman Nikitenko <rnikiten@redhat.com>
2018-04-27 09:36:42 +03:00
Igor Vinokur ed3b4870e4
CHE-9442: Fix Git exception when editing untracked or new file (#9529) 2018-04-26 16:27:35 +03:00
Roman Iuvshyn edb0e15e6f
RELEASE: Set next development version (#9473) 2018-04-18 08:31:24 +02:00
Dmytro Kulieshov f8c212aa2e
Added initialization for FileTreeWalker (#9392) 2018-04-13 15:35:54 +03:00
Anton Korneta fa74608821 Fix move sign key binding to auth module 2018-04-11 18:45:39 +03:00
RomanNikitenko 9f24db8225
Change way of storing IDE state data (#9196)
* CHE-7551. Change way of storing IDE state data
Signed-off-by: Roman Nikitenko <rnikiten@redhat.com>
2018-04-11 13:53:01 +03:00
Anton Korneta 38ff5c084b Change machine token to JWT and rewrite auth mechanism 2018-04-11 10:30:32 +03:00
Igor Vinokur 7e47b1c8ff
CHE-9066: Fix wrong author name of revert commit (#9302)
JGit sets commit author of revert commit from OS preferences. Added amend commit to rewrite commit author.
2018-04-04 11:16:45 +03:00
Max Shaposhnik 02504d2470
Make workspace expiration data persistent & shareable. 2018-03-28 12:11:06 +03:00
Roman Iuvshyn e006334aad
RELEASE: Set next development version (#9268) 2018-03-28 10:58:30 +03:00
RomanNikitenko ab7f124dd3
CHE-8969. Add handler to clean up project config registry (#9229)
* CHE-8969. Add handler to clean up project config registry
Signed-off-by: Roman Nikitenko <rnikiten@redhat.com>
2018-03-27 10:57:42 +03:00
Roman Nikitenko 70c05a5214 CHE-9192. Do not throw Exception when not project item is found in root
Signed-off-by: Roman Nikitenko <rnikiten@redhat.com>
2018-03-23 14:56:03 +02:00
Jonah Graham c69cf5135c CHE-8557: No Dto available for FormattingOptions (#8784)
* CHE-8557: No Dto available for FormattingOptions

The Dto isn't needed for FormattingOptions as it is really a specialized
Map and the types that contain a FormattingOptions field handle
the field as a Map during JSON serialize/deserialize

Signed-off-by: Jonah Graham <jonah@kichwacoders.com>

* CHE-8557: Test cases for Either deserializing

Signed-off-by: Jonah Graham <jonah@kichwacoders.com>

* CHE-8557: Fix Either handling when deserializing on the server

Signed-off-by: Jonah Graham <jonah@kichwacoders.com>

* CHE-8557: Use actual type for Map conversions

The is necessary to ensure handling types which are of type Map are
still instantiated in their real type. Consider
DocumentFormattingParams.setOptions() which takes a FormattingOptions
class.

Signed-off-by: Jonah Graham <jonah@kichwacoders.com>

* CHE-8557: Register LSP4J's Either adapter factory

This is effectively a follow up CHE-3103 which uses Gson directly
to serialize/deserialize Json. To support LSP4J's Either types,
the either type adapter factory is needed.

Signed-off-by: Jonah Graham <jonah@kichwacoders.com>

* load EitherTypeAdapterFactory for registration

Signed-off-by: Valeriy Svydenko <vsvydenk@redhat.com>
2018-03-16 15:09:01 +02:00