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
René Pfeuffer
43ca72255e
Remove redundant checks
2018-07-09 10:47:28 +02:00
Philipp Czora
5d5d3c9170
Implemented persisting repositories according to namespace changes
...
Repository directories are now named after the repo's id instead of it's
name
2018-07-06 11:57:43 +02:00
René Pfeuffer
7f19b5baff
Fix typo
2018-06-20 11:11:14 +02:00
Sebastian Sdorra
aec3d5d65d
merge with branch 1.x
2017-06-25 19:01:33 +02:00
Sebastian Sdorra
b7568ea919
introducing new ExtensionPoint for repository path matching
...
The new ExtensionPoint was introduced to remove the tight coupling between the DefaultRepositoryManager and the GitRepositoryHandler.
Git has now its own RepositoryPathMatcher which allow the matching of repository with .git or without .git extension.
2017-06-06 10:46:44 +02:00
Sebastian Sdorra
58035845ce
improve GitRepositoryResolver to allow requests to repositories which ends with .git, the resolver will automatically remove the .git extension and resolves the repository
2017-06-06 10:43:29 +02:00
Sebastian Sdorra
6eb480fe84
git repository client should return the work tree as working copy instead of .git directory
2017-06-06 10:41:36 +02:00
Sebastian Sdorra
1effc9c29b
remove all items from lfs blob store, if the corresponding repository was removed
2017-06-01 17:28:59 +02:00
Sebastian Sdorra
d9486ba8ba
improve git client detection at GitPermissionFilter to include jgit
2017-06-01 16:08:07 +02:00
Sebastian Sdorra
2af11b1f9c
relax git lfs write request check and improved tests for GitPermissionFilter
2017-06-01 10:11:42 +02:00
Sebastian Sdorra
8b92175fbc
improved structure of GitUserAgentProvider and added more unit tests
2017-05-30 12:05:01 +02:00
Sebastian Sdorra
964973d8f7
added jgit detection to GitUserAgentProvider, to fix integration tests
2017-05-30 09:48:12 +02:00
Oliver Milke
33ea2273b0
Add git-lfs support
2017-05-19 17:27:18 +02:00
Sebastian Sdorra
f142e1a83f
merge with branch 1.x
2017-01-14 13:25:25 +01:00
Sebastian Sdorra
c149b180a1
use newer repository client api
2017-01-14 11:48:42 +01:00
Sebastian Sdorra
fc6287fd40
remove deprecations and fixed some compiler warnings
2017-01-12 20:02:06 +01:00
Sebastian Sdorra
bad99919f4
merge with branch 1.x
2017-01-12 19:50:39 +01:00
Sebastian Sdorra
5332ac2466
refactor store api
2016-12-11 21:31:05 +01:00
Sebastian Sdorra
5cb32b268f
#873 clear repository caches, if the git default branch has changed
2016-11-10 21:56:27 +01:00
Sebastian Sdorra
df7b554b80
#873 implemented default branch repository property for git
2016-11-10 19:28:46 +01:00
Sebastian Sdorra
5c5d249063
merge with branch issue-865
2016-09-30 19:46:03 +02:00
Sebastian Sdorra
9fad94403a
do not collect the changesets for the whole branch, if only a git tag was pushed
2016-09-28 14:52:18 +02:00
Sebastian Sdorra
8591ced68d
implemented new HookTagProvider api for git
2016-09-28 14:28:38 +02:00