Commit Graph

44 Commits (d76ba5ccb2fa255a2fbab4574b223ead6df79a30)

Author SHA1 Message Date
Dmitry Kuleshov 4af07f156e Json RPC client-side to server-side port (#3627)
Signed-off-by: Dmitry Kuleshov <dkuleshov@codenvy.com>
2017-02-09 22:37:29 +02:00
Igor Vinokur a899f5013d CHE-3271: Add more Git actions to context menu (#3618) 2017-01-10 17:25:18 +02:00
Mihail Kuznyetsov 0e8b21ad3f Set new license year 2017-01-04 17:10:31 +02:00
Anatoliy Bazko 93f9352293 Loads a new git history page when user scrolled list to the very bottom (#3553)
CHE-3353: Pagination in loading git history
2016-12-29 08:08:59 +02:00
Dmitry Kuleshov 301121d777 Dynamic file watchers (#3482) 2016-12-26 14:34:17 +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
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
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
Igor Vinokur 2ba7984367 Enable keepVcs property when importing project with sparse checkout (#2882) 2016-10-25 16:16:31 +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
Igor Vinokur 11036470a0 CODENVY-687: Сache svn credentials instead of storing them in credentials provider (#2672) 2016-10-05 14:06:35 +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
Mihail Kuznyetsov 315e865cc5 CHE-2618 Make checkout with startpoint work with short branch name 2016-09-28 15:06:31 +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
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
i053322 3a846378f6 Add support for checkout exception
add a mapper for checkout git exceptions
add new messages : GitConlict , GitInvalidRefName , GitRefAlreadyExist , GitRefNotFound

Signed-off-by: i053322 <yossi.balan@sap.com>
2016-08-09 10:28:58 +03:00
Max Shaposhnik fe0cb3bd0f CHE-1248; remove workspace information from EnvironmentContext (#1658) 2016-07-20 17:30:10 +03:00
Dmytro Nochevnov 5eedc0ac48 fixup! CODENVY-739: pass proxy credentials to jgit
Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>
2016-07-13 17:16:40 +03:00
Igor Vinokur 9bfd9f2b4e CHE-1393: Fix Tests according to changes in latest Git 2016-07-06 10:50:50 +03:00
Yevhenii Voevodin 2929688fc8 Merge pull request #1393 from eclipse/CHE-1078
CHE-1078: UserService structural refactorings
2016-07-05 14:34:25 +03:00
Igor Vinokur bd9e581b7d CHE-1408:Add check for amend before throwing error
When we perform commit without staged changes we will get an error.
If it is needed to change the message of last commit we should allow
to do it, even if there are no staged changes.
2016-07-05 11:29:13 +03:00
Yevhenii Voevodin d1aa2cfed7 User structural refactoring 2016-07-05 11:27:58 +03:00
Igor Vinokur 2fbde6ad11 CHE-1350: Set refspec in PushTest to prevent git error
Git can be configured to throw error on push without refspec
2016-06-30 14:21:55 +03:00
Igor Vinokur ffef620a82 CHE-1113: Add ability to clone project with submodules 2016-06-29 21:17:03 +03:00
Igor Vinokur 077f1a2056 CHE-1159: Add to Jgit implementation ability to view cloning process 2016-06-29 17:04:02 +03:00
Igor Vinokur 43cd95fb60 CHE-1349: Throw exception if nothing to commit with Jgit implementation 2016-06-29 15:58:31 +03:00
Igor Vinokur e3b410ef9a CHE-1350: Fix empty message after successfull push with JGit
Also chenge "Everything up-to-date" message like in Native git
2016-06-29 15:39:06 +03:00
Igor Vinokur d5b7d31570 CHE-1358: Normalize push conflict error message in JGit implementation 2016-06-29 15:16:52 +03:00
Sergii Leschenko 42690da407 CODENVY-480 Remove user's roles (#1336) 2016-06-10 17:32:02 +03:00
Offer Shostak 62bffa2211 Add Push to Gerrit functionality:
1. Fix storing issue in JGitConfigImpl
2. Commit command scenario - Get gerrit changid property from configuration
   and set the commit command to set insert change ID to work with Gerrit
3. Push command scenario - Create PushResponse with details regarding updates
   and refs and use it in push command

Change-Id: Ic54109810cdc6ba026447f691759ef0fc94924d0
Signed-off-by: Offer Shostak <offershostak@gmail.com>
2016-06-02 17:18:13 +03:00
Igor Vinokur 7a6f73e222 CHE-336: Add Git implementation based on Jgit 2016-05-27 08:10:30 +03:00
Anatoliy Bazko b1cc055236 CHE-962: Add ability to store and use SSH keys for Subversion hosts (#1305) 2016-05-23 14:50:57 +03:00
Vitalii Parfonov a63a856970 CHE-1081: remove workspace id from services that deployed on wsagent (#1268)
remove workspace id from services that deployed on wsagent
remove workspace Id usage in wsagent services in dashboard
Add init params for websocket endpoint and eventbus end point It allow has different format of URL on wsmaster with ws-id like path param and on wsagent without it
Signed-off-by: Vitaly Parfonov <vparfonov@codenvy.com>
2016-05-18 10:18:05 +03:00
Sergii Leschenko d4ff792f24 CODENVY-479 Rename User to Subject (#1258) 2016-05-16 15:41:09 +03:00
Vitaly Parfonov 3d28f71d3f Remove not needed GitUrlResolver and ShowGitUrlAction
Signed-off-by: Vitaly Parfonov <vparfonov@codenvy.com>
2016-05-13 15:53:46 +03:00
Vitaly Parfonov 3bbdf852a5 Move Contants to shared
Signed-off-by: Vitaly Parfonov <vparfonov@codenvy.com>
2016-05-05 12:25:20 +03:00
Vitaly Parfonov 2c41214725 Features:
Maven plugin
Classpath configuration
Effective pom
Plain java plugin

Signed-off-by: Vitaly Parfonov <vparfonov@codenvy.com>
2016-04-29 15:32:24 +03:00
Igor Vinokur f7e8c09cc2 CHE-1070: Decouple server and shared part of che-core-api-git 2016-04-27 14:33:41 +03:00
Mihail Kuznyetsov 56da67f73e CHE-260 Rename some factory parameters 2016-04-11 18:49:14 +03:00
Igor Vinokur 6451349f31 CHE-872: Fix keep directory when importing a project 2016-03-24 13:25:35 +02:00
Sergii Kabashniuk a3a864ee7e CHE-875 rename master -> wsmaster, agent - wsagent.
Since we are not able to release.
See more https://issues.apache.org/jira/browse/SCM-746
2016-03-23 15:32:48 +02:00