Commit Graph

326 Commits

Author SHA1 Message Date
René Pfeuffer
00ab764dab Store repository id in native config file
Hooks can read this repository type dependant config file and handle
the changes for the correct repository id
2018-11-26 17:22:17 +01:00
René Pfeuffer
c8fc673ce0 Remove hooks for internal repository id 2018-11-23 16:12:35 +01:00
René Pfeuffer
3d671caada Let dao create repository base directory before native creation 2018-11-23 15:04:59 +01:00
René Pfeuffer
8b8240319b Suppress sonar warning 2018-11-23 12:46:24 +01:00
René Pfeuffer
c0000df508 Use "real paths" instead of absolute paths
See issue #82 for details:
https://bitbucket.org/sdorra/scm-manager/issues/82/symbolic-link-in-hg-repository-path
2018-11-23 11:59:12 +01:00
René Pfeuffer
e8558e07ec Use repository dao to find repository for given directory in hooks 2018-11-23 10:13:47 +01:00
René Pfeuffer
20f5e7be1f Cleanup usage of InitialRepositoryLocationResolver and RepositoryLocationResolver 2018-11-22 17:06:29 +01:00
René Pfeuffer
a1f7939ac0 Move config from .hgrc to hgweb script 2018-11-20 17:23:07 +01:00
Mohamed Karray
39e5c19251 merge 2018-11-15 11:28:33 +01:00
Mohamed Karray
f8ae7cedf7 Refactor the repository store implementation in order to store repositories in specific paths. 2018-11-15 10:04:16 +01:00
René Pfeuffer
96c2114e53 Reduce SecurityFilter to user injection and enable SecurityInterceptor
Remove all the unnecessary stuff and all endpoints that would be no
longer secure.
2018-11-09 16:06:31 +01:00
René Pfeuffer
cf05235dfa Add context to InternalRepositoryException 2018-11-06 09:14:20 +01:00
René Pfeuffer
f041b4ecb6 Merge with 2.0.0-m3 2018-10-25 10:15:32 +02:00
René Pfeuffer
bf1effb9c0 Remove special RepositoryNotFoundException 2018-10-18 16:08:49 +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
bc240577f8 implemented new browse api for mercurial 2018-10-08 14:40:40 +02:00
René Pfeuffer
d14d029919 Fix peer review issues 2018-10-01 15:02:23 +02:00
René Pfeuffer
8f139c8d4a Reduce code duplication for json object modification 2018-09-28 16:53:09 +02:00
René Pfeuffer
6361ae35c1 Add config links for git, hg and svn 2018-09-28 14:17:48 +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
88506b0633 Remove unnecessary annotations 2018-09-18 08:58:03 +02:00
René Pfeuffer
a5dcc8cf8a Merge with 2.0.0-m3 2018-09-14 17:47:45 +02:00
René Pfeuffer
4d60ebd54e Use constants for repository types 2018-09-14 10:31:16 +02:00
René Pfeuffer
e88639ab81 Implement permission filters as decorator for servlets 2018-09-14 10:21:00 +02:00
René Pfeuffer
7de9f69061 Add servlet decorators for hg and svn 2018-09-14 09:36:56 +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
145502a7b8 Introduce extension point for further protocol implementations 2018-09-13 10:35:10 +02:00
René Pfeuffer
7c09f35ac8 Rename UriInfoStore to ScmPathInfoStore 2018-09-12 08:53:15 +02:00
René Pfeuffer
5b35fb2372 Fallback to configured base url if UriInfoStore not set 2018-09-11 16:03:32 +02:00
René Pfeuffer
e90dc11bc7 Cleanup for http protocol servlet changes 2018-09-11 10:50:53 +02:00
René Pfeuffer
bf9de8ea8e Reduce dependency to RepositoryProvider in provider servlets 2018-09-11 07:40:24 +02:00
René Pfeuffer
1b200ae69d Remove http request filter implementation from permission filters 2018-09-10 16:58:52 +02:00
René Pfeuffer
eb378de87f Use existing permission filters in http servlet protocol
Just as a POC, fix logging and public access.
2018-09-10 16:35:50 +02:00
René Pfeuffer
a490a20ac9 Inject uri info for http protocol url computation 2018-09-10 14:48:22 +02:00
René Pfeuffer
ce518ad784 Inject repository from service provider 2018-09-10 14:00:13 +02:00
René Pfeuffer
50a4133dff Remove old type dependant repo uri functions 2018-09-10 10:08:51 +02:00
René Pfeuffer
eff51c3b37 Remove not thrown exceptions from declaration 2018-09-10 08:34:47 +02:00
René Pfeuffer
5b5bfd342a Add POC protocol servlet with delegate to svn and hg 2018-09-06 17:39:47 +02:00
René Pfeuffer
4eb75bc621 Initialize servlet and fix paths 2018-09-06 15:33:24 +02:00
René Pfeuffer
c4b34752b4 Fix integration tests by delegating to existing servlets 2018-09-04 20:29:17 +02:00
René Pfeuffer
b55955f273 Add basic concept for scm protocol 2018-09-03 15:52:59 +02:00
René Pfeuffer
1befe2e195 Merge with 2.0.0-m3 2018-08-30 11:48:58 +02:00
René Pfeuffer
ca563dd874 Fix default revision for hg and fix encoded slashes in URLs 2018-08-23 15:52:02 +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
5d6fcffe5e Clean up hg cat command 2018-08-15 09:59:35 +02:00
René Pfeuffer
c8c1cad67f Add raw stream result to cat command 2018-08-14 17:22:30 +02:00
Johannes Schnatterer
499be7314e Merged 2.0.0-m3 into feature/repository_config_v2_endpoint 2018-08-07 17:37:25 +02:00
Johannes Schnatterer
15da105683 Commits missing changes for HgConfigPackagesToDtoMapper 2018-08-07 17:23:52 +02:00