Rene Pfeuffer
9f6674cce4
Add permission checks
2019-10-19 13:54:27 +02:00
Rene Pfeuffer
2a998060f4
Cleanup
2019-10-19 13:50:49 +02:00
Rene Pfeuffer
c067ce1a5c
Extract token generation
2019-10-19 13:47:59 +02:00
Rene Pfeuffer
d43080a3ea
Extract common functionality
2019-10-19 13:24:58 +02:00
Rene Pfeuffer
a2c42060e5
POC
2019-10-18 16:17:22 +02:00
Rene Pfeuffer
162a1d9e05
POC
2019-10-18 13:33:53 +02:00
Rene Pfeuffer
6cdb81d263
POC
2019-10-18 10:22:45 +02:00
René Pfeuffer
7db3350439
Migrate git LFS blob directory
2019-07-01 14:17:32 +02:00
Sebastian Sdorra
ece1a2b34a
update jgit to v5.4.0.201906121030-r-scm1
2019-06-19 11:40:36 +02:00
René Pfeuffer
c39c14bbd1
Remove no longer needed LfsStoreRemoveListener
...
With v2 the LFS store resides inside the repository directory that is
purged completely on deletion. Therefore an explicit deletion of the
LFS folder is no longer necessary.
2019-06-06 13:31:40 +02:00
René Pfeuffer
ebb21ee308
Modify test to test base, not specific class
...
This was necessary after extracting base class.
2019-03-05 13:47:46 +01:00
René Pfeuffer
0c46d639da
Extract base class for ReceivePackFactory implementations
2019-03-05 13:29:57 +01:00
Sebastian Sdorra
8bf82213b8
remove unused imports
2019-01-30 14:48:37 +01:00
Sebastian Sdorra
b231499cd0
merge with branch 1.x
2019-01-29 09:42:03 +01:00
René Pfeuffer
b4081aaa99
Add endpoint to set default branch
2018-12-12 15:04:56 +01:00
René Pfeuffer
bc8c776821
Introduce config rest endpoint for default git branch
2018-12-12 14:12:55 +01:00
René Pfeuffer
33f3216164
Make type optional
2018-12-03 16:30:19 +01:00
René Pfeuffer
44d99f55f2
Do no longer expose StoreParameters
2018-12-03 12:28:35 +01:00
René Pfeuffer
3638d3520f
Use static method for new StoreParameters instance
2018-12-03 11:28:03 +01:00
Mohamed Karray
37f4a2b669
merge
2018-11-29 16:01:43 +01:00
Mohamed Karray
fb79cbfd02
merge + refactor getStoreDirectory
2018-11-28 15:14:49 +01:00
René Pfeuffer
d4db39755f
Harmonize repository resolution
2018-11-27 15:31:57 +01:00
Mohamed Karray
7a1de0f67b
add the interface StoreFactory and refactor storeFactories
2018-11-27 11:35:02 +01:00
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
e8558e07ec
Use repository dao to find repository for given directory in hooks
2018-11-23 10:13:47 +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
232e4fc072
Delete wrong throws JavaDoc declarations
2018-11-08 17:01:57 +01:00
René Pfeuffer
e2766d494a
Register SimpleGitWorkdirFactory in guice context
2018-11-07 10:38:01 +01:00
René Pfeuffer
2eb685c5d0
Delete EscapeUtil and dependencies
2018-09-19 10:47:26 +02:00
René Pfeuffer
88506b0633
Remove unnecessary annotations
2018-09-18 08:58:03 +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
René Pfeuffer
6ab5f58fe9
Generalize servlet decorator structure
2018-09-14 09:15:46 +02:00
René Pfeuffer
a075962a66
Introduce extension point for scm http requests
2018-09-14 08:49:09 +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
4eb75bc621
Initialize servlet and fix paths
2018-09-06 15:33:24 +02:00
René Pfeuffer
be5c430bd2
Add POC protocol servlet with delegate to git
2018-09-06 10:58:09 +02:00
René Pfeuffer
c4b34752b4
Fix integration tests by delegating to existing servlets
2018-09-04 20:29:17 +02:00
René Pfeuffer
a0f74e3329
Replace model object exception with generic ones and migrate guice
2018-08-21 07:53:33 +02:00
Johannes Schnatterer
499be7314e
Merged 2.0.0-m3 into feature/repository_config_v2_endpoint
2018-08-07 17:37:25 +02:00