Sebastian Sdorra
99ecc8cba2
implemented rest endpoint for repository types
2018-08-02 11:56:35 +02:00
Johannes Schnatterer
31540a7ecc
Makes REST API doc for config endpoints more precise
2018-08-02 11:52:30 +02:00
Johannes Schnatterer
79f807e809
Git Plugin Config: Gets rid of maven warning.
...
Mapstruct "attributes" not mapped -> Field of HAL base class should be
ignored.
2018-08-02 10:53:13 +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
59b60d104c
GitConfigDto: Use camel case, get rid of base class.
...
There's no parent module for a shared SimpleRepositoryConfigDto for git,
hg and svn. scm-plugins and core are too generic.
The redundancy (one property) does not hurt too much right now.
2018-08-01 14:44:42 +02:00
Johannes Schnatterer
48e940e496
Changes URL for new Git config to /config/git.
...
Fits well with "global" config available at /config
2018-08-01 14:13:45 +02:00
Johannes Schnatterer
7c8fee5640
Move Mapper binding to GitServletModule
2018-08-01 14:11:27 +02:00
Johannes Schnatterer
02327b55f3
Makes pom.xmls more DRY
2018-08-01 11:42:40 +02:00
Johannes Schnatterer
35231fb202
Merged 2.0.0-m3 into feature/global_config_v2_endpoint
2018-08-01 10:30:38 +02:00
Johannes Schnatterer
7572580ac1
Create fine-grained configuration permissions.
...
No more hard-coded isAdmin() checks.
2018-07-30 17:41:00 +02:00
Michael Behlendorf
7203fe4668
Implement tests for GitConfigResource
2018-07-19 16:43:29 +02:00
Michael Behlendorf
94b0fdd212
Add Extension annotation to GitConfig MapperModule
2018-07-19 16:09:38 +02:00
Michael Behlendorf
8e1e77aed4
Fix git config v2 endpoint path
2018-07-19 16:08:38 +02:00
Michael Behlendorf
2aa73883eb
Remove redundant dependencies
2018-07-19 16:07:38 +02:00
Michael Behlendorf
ada3d6679f
Implement git config v2 endpoint
2018-07-17 13:39:55 +02:00
Sebastian Sdorra
90aff6b31f
merge branch heads of 2.0.0-m3
2018-07-16 15:21:29 +02:00
Sebastian Sdorra
187384088b
remove no longer required sonia.scm.url package
2018-07-16 14:17:05 +02:00
Sebastian Sdorra
1e37dfb3a7
use subscribe annotation of legman instead of guava eventbus
2018-07-16 11:26:00 +02:00
René Pfeuffer
5db74e08cb
Fix git directory name
2018-07-11 08:08:46 +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
Philipp Czora
ffabda3f83
Set namespace while creating a repository
2018-06-29 17:10:14 +02:00
René Pfeuffer
7f19b5baff
Fix typo
2018-06-20 11:11:14 +02:00
Sebastian Sdorra
92444fa73b
json before xml
2017-06-28 22:02:05 +02:00
Sebastian Sdorra
e734ff8268
removed unnecessary json url extension
2017-06-28 22:01:11 +02:00
Sebastian Sdorra
aec3d5d65d
merge with branch 1.x
2017-06-25 19:01:33 +02:00
Sebastian Sdorra
07a1c8b151
[maven-release-plugin] prepare for next development iteration
2017-06-06 11:39:35 +02:00
Sebastian Sdorra
fd02f4c068
[maven-release-plugin] prepare release 1.54
2017-06-06 11:39:34 +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
a59c352e2d
update jgit to v4.5.2.201704071617-r-scm1
2017-06-01 18:03:12 +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
2a8cfc00d8
use pattern and matcher instead of string matches, to improve performance
2017-06-01 16:27:20 +02:00
Sebastian Sdorra
d9486ba8ba
improve git client detection at GitPermissionFilter to include jgit
2017-06-01 16:08:07 +02:00
Sebastian Sdorra
ee4a19365e
fix possible stackoverflow in git request handling
2017-06-01 16:07:18 +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
880b0499e8
use uri to decide type of request instead of user-agent
2017-05-30 14:10:43 +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
Sebastian Sdorra
f6318a3b58
fix missing commit of blob after lfs push
2017-05-30 09:21:50 +02:00
Oliver Milke
33ea2273b0
Add git-lfs support
2017-05-19 17:27:18 +02:00
Oliver Milke
9b932a325e
refactor git repository matching for accepting optional .git suffix
2017-05-19 17:27:48 +02:00
Sebastian Sdorra
5cae7ab35a
[maven-release-plugin] prepare for next development iteration
2017-05-17 08:36:55 +02:00
Sebastian Sdorra
95bc7607c4
[maven-release-plugin] prepare release 1.53
2017-05-17 08:36:54 +02:00
Sebastian Sdorra
1d1e239d64
[maven-release-plugin] prepare for next development iteration
2017-05-10 09:46:54 +02:00