### What does this PR do?
This changes proposal fixes the problem when save button might appeared when refresh button called from preferences window.
Signed-off-by: Vladyslav Zhukovskyi <vzhukovs@redhat.com>
### What issues does this PR fix or reference?
#9959#10019
#### Release Notes
N/A
#### Docs PR
N/A
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).
* 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
Adapted modules to gwt-lib/gwt-app lifecycle;
shared libs have been cleaned up from the GWT related stuff;
enabled launching Super DevMode with a reactor goal gwt:codeserver;
enabled launching Super DevMode inside a dev-machine (for Che in Che development);
separate compiling IDE GWT app from packaging IDE Web app.
Signed-off-by: Artem Zatsarynnyi <azatsary@redhat.com>
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>
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;
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.
* CHE-5735 Provide consistent "new tab" behaviour
* CHE-5735 Provide consistent "new tab" behaviour
* CHE-5735 Provide consistent "new tab" behaviour
* CHE-5735 Provide consistent "new tab" behaviour
* CHE-5735 Provide consistent "new tab" behaviour
* CHE-5735 Provide consistent "new tab" behaviour
* CHE-5735 Provide consistent "new tab" behaviour
* CHE-5735 Provide consistent "new tab" behaviour
* CHE-5735 Provide consistent "new tab" behaviour
* CHE-5735 Provide consistent "new tab" behaviour
* CHE-5735 Provide consistent "new tab" behaviour
* CHE-5735 Provide consistent "new tab" behaviour
* CHE-5735 Provide consistent "new tab" behaviour