Commit Graph

215 Commits (da3eefe2378e878de1801ac5912c031ae172dfef)

Author SHA1 Message Date
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
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 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 aff8427a28 Send and handle ProjectCreatedEvent (#10363)
Signed-off-by: Thomas Mäder <tmader@redhat.com>
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
Anatoliy Bazko 59b014a26b Fix after rebasing
Signed-off-by: Anatoliy Bazko <abazko@redhat.com>
2018-10-17 15:05:02 +02:00
Igor Vinokur 2b60506d7a CHE-8466: Adapt selenium tests for using JDT LS (#8521)
Signed-off-by: Igor Vinokur <ivinokur@redhat.com>
2018-10-17 15:05:02 +02:00
Thomas Mäder c68ec14404 6682 Use jdt.ls for Usages
Use jdt.ls for usages

Signed-off-by: Thomas Mäder <tmader@redhat.com>
2018-10-17 15:05:02 +02:00
Valeriy Svydenko 97b232e9ec Synchronize already existed plain java projects with jdt.ls (#8209)
Signed-off-by: Valeriy Svydenko <vsvydenk@redhat.com>
2018-10-17 15:05:02 +02:00
Anatoliy Bazko 97d1b951cb Set license header (#8268)
Signed-off-by: Anatoliy Bazko <abazko@redhat.com>
2018-10-17 15:05:02 +02:00
Anatoliy Bazko d636a907d0 CHE-8049: Update simple java project when jdt.ls is ready (#8198)
Signed-off-by: Anatoliy Bazko <abazko@redhat.com>
2018-10-17 15:05:02 +02:00
Anatoliy Bazko 6913323a42 CHE-7836: Update Che JDT-LS workspace on project creation/deletion
(#7977)

Signed-off-by: Anatoliy Bazko <abazko@redhat.com>
2018-10-17 15:05:02 +02:00
Sergii Kabashniuk 4d78766f08
Add index in thread names (#11608) 2018-10-13 14:28:15 +03:00
Sergii Kabashniuk 65bd65e23b Upgrade to new dependency mockito-testng (#10647) 2018-10-10 13:58:33 +03:00
Vladyslav Zhukovskyi 0ec95375e0
Do not recognize file in workspace root as project (#11264)
* Do not recognize file in workspace root as project

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

* Fix format issue

Signed-off-by: Vladyslav Zhukovskyi <vzhukovs@redhat.com>
2018-09-19 16:20:25 +03:00
Vitalii Parfonov b31b13dc6b
Fix override and skip root behaviors (#11002)
* Fix override and skip root behaviors

Signed-off-by: Vitalii Parfonov <vparfonov@redhat.com>
2018-08-31 16:05:19 +03:00
Igor Vinokur 349cbe094d
CHE-10360: Hide the 'From Archetype' field if parent folder with pom.xml is selected (#10718)
Hide the 'From Archetype' input field in the Maven project type wizard if 'Parent' witch contains pom.xml is selected in the import project Wizard due to the maven archetype generation plugin restrictions.
2018-08-22 09:34:11 +03:00
Mykhailo Kuznietsov dcb00c53d0
Fix remaining files with licenses (#10746) 2018-08-21 10:25:45 +03:00
Victor V. Rubezhny 57c43ac8cd Update fmt plugin to latest to enable skipping check #10554 (#10667)
The files are reformatted in order to suit the requirements of coveo maven fmt plug-in of v.2.5.1

Signed-off-by: Victor Rubezhny <vrubezhny@redhat.com>
2018-08-08 07:20:05 +00: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
Igor Vinokur 080e17836f
CHE-10286: Switch import rest methods to Json-rpc (#10440) 2018-07-18 12:01:15 +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
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
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
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
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
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
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
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
Dmytro Kulieshov f8c212aa2e
Added initialization for FileTreeWalker (#9392) 2018-04-13 15:35:54 +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
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
Artem Zatsarynnyi d75280ebae
Don't publish ProjectCreatedEvent on importing arbitrary zipped resources via Project API (#9092)
Signed-off-by: Artem Zatsarynnyi <azatsary@redhat.com>
2018-03-16 12:38:15 +02:00
Igor Vinokur 42984501bf
CHE-8752: Fix error when creating a project inside existing folder (#9072) 2018-03-14 17:10:51 +00:00
Roman Nikitenko dbcaa6484a CHE-7302. Do not add hidden items to project registry
Signed-off-by: Roman Nikitenko <rnikiten@redhat.com>
2018-03-01 10:09:44 +02:00
Vitalii Parfonov 0329a08d20
Avoid not needed ecncoding (#8927)
Signed-off-by: Vitalii Parfonov <vparfonov@redhat.com>
2018-02-27 13:37:48 +02:00
Dmytro Kulieshov 9b802e6c9a
Fixed uploading zip files (#8800) 2018-02-26 11:23:19 +02:00
Igor Vinokur 6e16445640
CHE-8575: Do not show .che folder in project explorer (#8758)
Do not show .che folder in project explorer. When applying a code formatter for workspace .che folder appears in the project explorer as a project.
2018-02-19 08:30:37 +00:00