Commit Graph

169 Commits

Author SHA1 Message Date
René Pfeuffer
23783d43f6 Fix build breaker 2018-11-07 08:19:38 +01:00
René Pfeuffer
6863337faf Implement first steps for merge 2018-11-06 17:14:27 +01:00
René Pfeuffer
e0cc99a3d8 Implement simple merge dry run 2018-11-06 14:40:55 +01:00
René Pfeuffer
cccadef5cc Refactor unit test 2018-11-06 12:40:44 +01:00
René Pfeuffer
adce24fcd7 Enhance unit test 2018-11-06 12:36:36 +01:00
René Pfeuffer
8be8c19a26 Implement diff between two changesets for git 2018-11-06 12:04:33 +01:00
René Pfeuffer
a725e4232b Add unit test for git diff command 2018-11-06 11:26:36 +01:00
René Pfeuffer
2508a1b9b7 Implement log between two changesets for git 2018-11-05 16:42:20 +01:00
René Pfeuffer
6eb3c38655 Create error response for already existing entities 2018-10-25 15:31:42 +02:00
René Pfeuffer
f041b4ecb6 Merge with 2.0.0-m3 2018-10-25 10:15:32 +02:00
René Pfeuffer
b74fb814b8 Introduce default error object with context for not found exceptions 2018-10-18 13:12:16 +02:00
Sebastian Sdorra
6fb99b70cd #998 simplify api and use jgit to link new head 2018-10-15 21:32:03 +02:00
Sebastian Sdorra
24e2885524 #998 git: set repository head to default branch 2018-10-14 19:11:56 +02:00
René Pfeuffer
b4c854ee99 Use more generic collection instead of list 2018-10-11 09:55:47 +02:00
René Pfeuffer
fa0f66caf1 Iterate into correct subdirectory for git browse command 2018-10-10 13:27:57 +02:00
René Pfeuffer
83640b9d44 Merge with 2.0.0-m3 2018-10-10 08:54:23 +02:00
Sebastian Sdorra
e71e875e4d Merged in feature/harmonize_branches_in_changesets (pull request #81)
Add branch to changeset collections
2018-10-09 09:10:20 +00:00
Sebastian Sdorra
ed9f5fc69e implement new browse api for git 2018-10-08 14:39:11 +02:00
René Pfeuffer
5a1f15b8c8 Fix usage of default branch 2018-10-02 13:41:20 +02:00
René Pfeuffer
d14d029919 Fix peer review issues 2018-10-01 15:02:23 +02:00
René Pfeuffer
aed4c60296 Add missing unit tests 2018-10-01 12:58:53 +02:00
René Pfeuffer
e35ec519cb Add method to retrieve branch name from repository 2018-09-28 10:14:04 +02:00
René Pfeuffer
9f80840c43 Add branch to changeset collections
Branch information is added to a changeset collection and therefore
removed from single changesets for git repositories. Mercurial
repositories now also set the default branch in changesets.
2018-09-26 13:19:38 +02:00
René Pfeuffer
a5dcc8cf8a Merge with 2.0.0-m3 2018-09-14 17:47:45 +02:00
René Pfeuffer
e88639ab81 Implement permission filters as decorator for servlets 2018-09-14 10:21:00 +02:00
Mohamed Karray
188d2d8cef integration tests for modifications 2018-09-13 17:29:52 +02:00
Mohamed Karray
4697c55f96 implement modification api in git, svn and hg. implement the endpoint 2018-09-13 11:57:10 +02:00
René Pfeuffer
7c09f35ac8 Rename UriInfoStore to ScmPathInfoStore 2018-09-12 08:53:15 +02:00
René Pfeuffer
f718a2ba4c Remove direct dependency to UriInfo 2018-09-12 08:40:41 +02:00
René Pfeuffer
1b200ae69d Remove http request filter implementation from permission filters 2018-09-10 16:58:52 +02:00
René Pfeuffer
50a4133dff Remove old type dependant repo uri functions 2018-09-10 10:08:51 +02:00
Mohamed Karray
9b7e34b08b add tag endpoints 2018-09-04 17:38:28 +02:00
René Pfeuffer
6fa2ba7f61 Recognize missing revisions in git 2018-08-31 12:05:39 +02:00
René Pfeuffer
a0f74e3329 Replace model object exception with generic ones and migrate guice 2018-08-21 07:53:33 +02:00
René Pfeuffer
9babeecea6 Create and handle RevisionNotFoundException 2018-08-16 10:24:47 +02:00
René Pfeuffer
78278b0dc8 Remove irritating assert 2018-08-15 10:06:35 +02:00
René Pfeuffer
267ef50e51 Clean up git cat command 2018-08-15 09:24:21 +02:00
Philipp Czora
0199b2ccfb Merged branch feature/branches_v2_endpoint 2018-08-09 11:53:45 +02:00
Philipp Czora
390ba29bee Renamed tests 2018-08-08 15:14:39 +02:00
René Pfeuffer
67278582e3 Update to Mockito v2 2018-08-08 09:20:08 +02:00
Johannes Schnatterer
499be7314e Merged 2.0.0-m3 into feature/repository_config_v2_endpoint 2018-08-07 17:37:25 +02:00
René Pfeuffer
3838406ee8 Adapt git repository paths for LFS handling to namespaces 2018-08-02 15:14:40 +02:00
Johannes Schnatterer
94582554ca Git Plugin Config: Adds test for empty config 2018-08-01 16:29:37 +02:00
Johannes Schnatterer
aed70d3544 Git Plugin Config: Create fine-grained configuration permissions.
No more hard-coded isAdmin() checks.
Also adds more tests.
2018-08-01 16:21:05 +02:00
Johannes Schnatterer
86af96bd83 GitConfigResourceTest: Realizes missing asserts 2018-08-01 15:34:17 +02:00
Johannes Schnatterer
fc77ae3a47 Adapts tests to new GitResource URL 2018-08-01 15:15:07 +02:00
Johannes Schnatterer
35231fb202 Merged 2.0.0-m3 into feature/global_config_v2_endpoint 2018-08-01 10:30:38 +02:00
Michael Behlendorf
7203fe4668 Implement tests for GitConfigResource 2018-07-19 16:43:29 +02:00
Michael Behlendorf
ada3d6679f Implement git config v2 endpoint 2018-07-17 13:39:55 +02:00
René Pfeuffer
dc8ecd5689 Adjust to repository storage with id 2018-07-10 15:31:18 +02:00