René Pfeuffer
83baac3b18
Check permissions for git repository configuration
2019-03-11 15:05:31 +01:00
Sebastian Sdorra
77d79610d2
moves more git specific classes from ssh-plugin to git-plugin
2019-03-07 10:34:13 +01:00
René Pfeuffer
e6894490e5
Remove ssh from class names
...
The classes do not have anything to do with ssh.
2019-03-06 15:34:51 +01:00
René Pfeuffer
a16bb0d0af
Wrap parser and handler into interpreter
2019-03-05 15:01:57 +01:00
René Pfeuffer
dd71fb4c3b
Expose ScmCommandProtocol as extension point
...
This is necessary so that multiple providers (git, hg, ...) can
implement this. The using class has to find the matching implementation.
2019-03-05 14:20:31 +01: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
René Pfeuffer
adcfb3ee5a
Do not map not found exception manually
2019-03-04 14:27:07 +01:00
René Pfeuffer
b1633aee97
Use constant
2019-03-01 10:22:37 +01:00
René Pfeuffer
3007004b8b
Fix permission check for plugins
2019-02-21 11:25:03 +01:00
Mohamed Karray
d4a79ee140
Merged in bugfix/read_vcs_versions (pull request #178 )
...
Fix class loader for creation of vcs version string
2019-02-06 09:04:04 +00:00
René Pfeuffer
accd20538e
Fix class loader for creation of vcs version string
...
Use UberClassLoader in
AbstractSimpleRepositoryHandler#getStringFromResource
Therefore pass through plugin loader
2019-02-04 14:35:51 +01:00
Sebastian Sdorra
8bf82213b8
remove unused imports
2019-01-30 14:48:37 +01:00
Sebastian Sdorra
c42028433f
map nonFastForwardDisallowed field from GitConfig and added ui
2019-01-29 10:26:11 +01:00
Sebastian Sdorra
b231499cd0
merge with branch 1.x
2019-01-29 09:42:03 +01:00
René Pfeuffer
3b33b3b0a4
Merge with 2.0.0-m3
2018-12-20 10:55:40 +01:00
René Pfeuffer
d9bfddce2d
Add documentation about status codes
2018-12-20 10:47:24 +01:00
René Pfeuffer
a9300df7f4
Fix incoming diff with merges from target branch.
...
Taking the git history example below, the previous version only computed
commits 'b3' upward for log of 'b' with ancestor 'master' and missed
commits 'b1', 'b2' and the first merge.
* 86e9ca0 (HEAD -> b) b5
* d69edb3 Merge branch 'master' into b
|\
| * 946a8db (master) f
| * b19b9cc e
* | 3d6109c b4
* | 6330653 b3
* | a49a28e Merge branch 'master' into b
|\ \
| |/
| * 0235584 d
| * 20251c5 c
* | 5023b85 b2
* | 201ecc1 b1
|/
* 36b19e4 b
* c2190a9 a
2018-12-19 13:33:57 +01:00
René Pfeuffer
5cb1a2e0cd
Use abstract base class for json enrichment
2018-12-14 17:25:42 +01:00
René Pfeuffer
c2d872bd59
Modify git HEAD on default branch change
2018-12-13 18:32:20 +01:00
René Pfeuffer
360cba6c50
Use constant
2018-12-13 11:32:44 +01:00
René Pfeuffer
9e963b6aeb
Enrich repository collection, too
2018-12-13 10:00:03 +01:00
René Pfeuffer
24cd9c3f8c
Introduce repository config change event to clear caches
2018-12-13 09:22:10 +01:00
René Pfeuffer
db092e57e7
Move cache event to central position
2018-12-12 18:49:38 +01:00
René Pfeuffer
dbbe467479
Remove old property for default branch
2018-12-12 17:30:23 +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
Sebastian Sdorra
8d27449c86
merge with 2.0.0-m3
2018-12-10 14:06:44 +01:00
René Pfeuffer
a54faf1233
Do not merge with fast forward
2018-12-10 12:01:13 +01:00
René Pfeuffer
0e333002db
Create local branch for target during merge
2018-12-10 11:43:27 +01:00
René Pfeuffer
8b518d320d
Fix checkout of target branch
2018-12-10 08:59:19 +01:00
René Pfeuffer
830c155b3d
Fix transport protocol
2018-12-07 10:10:50 +01:00
René Pfeuffer
261e41f8bf
Handle not existing revisions in merge
2018-12-07 08:49:37 +01:00
René Pfeuffer
540a525bc3
Use SCM protocol for internal merge command
2018-12-07 08:19:14 +01:00
Mohamed Karray
8232938afd
use protected constant and mutableSet for final field
2018-12-06 18:01:39 +01:00
René Pfeuffer
f447ae437b
Check feature in "incoming" commands
2018-12-06 11:35:56 +01:00
René Pfeuffer
de6d52bad9
Introduce feature for incoming changes
2018-12-06 10:49:37 +01:00
René Pfeuffer
d889cf0831
Fix permission check
2018-12-05 17:25:10 +01:00
René Pfeuffer
35f73cdc18
Do not commit empty merges
2018-12-05 16:09:38 +01:00
René Pfeuffer
8c9e38e395
Secure merge command
2018-12-05 15:32:30 +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
3d671caada
Let dao create repository base directory before native creation
2018-11-23 15:04:59 +01:00