René Pfeuffer
960780946b
Fix repo config for user without permission
...
Disable fields and remove submit buttons when user has not permission,
aka no config links.
2019-03-14 11:14:09 +01:00
René Pfeuffer
451b25a95f
Merge with 2.0.0-m3
2019-03-14 10:48:57 +01:00
René Pfeuffer
f814e664cd
Handle revision not found for svn
2019-03-12 15:44:13 +01:00
René Pfeuffer
dbc20f3560
Merge with 2.0.0-m3
2019-03-12 15:20:03 +01:00
René Pfeuffer
be83f87b14
Remove dead code
2019-03-12 15:10:59 +01:00
René Pfeuffer
6ebbfa97a3
Start entity types with a capital char
2019-03-12 15:10:43 +01:00
Sebastian Sdorra
a5da481593
fix german locale for DateFromNow
2019-03-12 10:44:58 +01:00
Mohamed Karray
77fb869ce4
fix there is no error on missing revision
2019-03-11 18:42:10 +01:00
René Pfeuffer
cf7e44c04f
Merge with 2.0.0-m3
2019-03-11 16:52:14 +01:00
René Pfeuffer
d82f38e0f9
Fix unit test
2019-03-11 16:00:16 +01:00
René Pfeuffer
83baac3b18
Check permissions for git repository configuration
2019-03-11 15:05:31 +01:00
René Pfeuffer
6cf79bf5c6
Disable default branch config without permission
2019-03-11 14:56:59 +01:00
René Pfeuffer
28d7467e18
Throw not found exceptions for log between branches
2019-03-11 14:17:03 +01:00
René Pfeuffer
ec2aff6aa9
Fix NPE in dry run for missing branches
2019-03-11 09:07:57 +01:00
René Pfeuffer
13695a8671
Keep protocol in variable
...
We encountered many test failures in Jenkins due to git saying that it
cannot handle scm://. This is a try and error approach.
2019-03-07 17:19:08 +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
7adbc4df51
Add some unit test
2019-03-06 16:01:15 +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
Sebastian Sdorra
3ac47b0977
replace diff2html with react-diff-view
2019-02-26 15:00:05 +01:00
Sebastian Sdorra
fddb3ddc1f
removed debugging log file from mercurial hooks
2019-02-25 11:33:40 +01:00
René Pfeuffer
9244a72110
Fix unit test
2019-02-21 12:16:39 +01:00
René Pfeuffer
3007004b8b
Fix permission check for plugins
2019-02-21 11:25:03 +01:00
Philipp Czora
17c496222d
Merged in feature/consolidate_permissions (pull request #196 )
...
Feature consolidate permissions
2019-02-20 14:20:03 +00:00
René Pfeuffer
31b71c9892
Merged feature/changes_for_ssh_plugin into 2.0.0-m3
2019-02-20 13:51:47 +01:00
René Pfeuffer
8c674c6fdb
Merged in bugflix/mercurial_pending_changesets (pull request #195 )
...
fixed injection of HgContext, if no request scope is available
2019-02-20 12:14:50 +00:00
Sebastian Sdorra
13adf4b234
fixed PreReceiveRepositoryHooks for newer versions of mercurial
2019-02-20 11:56:10 +01:00
Sebastian Sdorra
ead3062f9c
added protocol switcher to git protocol information
2019-02-19 14:48:22 +01:00
René Pfeuffer
242e0b3972
Fix case
2019-02-19 13:16:22 +01:00
René Pfeuffer
849d818f3a
Adapt to new permissions
2019-02-18 15:05:33 +01:00
Sebastian Sdorra
173e51096b
fixed injection of HgContext, if no request scope is available
2019-02-18 12:01:34 +01:00
René Pfeuffer
5a5cafaee0
Add comment from previous commit
2019-02-14 11:22:58 +01:00
Sebastian Sdorra
49e9671fa7
added some javadoc
2019-02-13 12:42:07 +01:00
Sebastian Sdorra
352bfe7f5a
fixed mercurial PreReceiveRepositoryHooks
...
The problem seems to be that guice had multiple options for injecting
HgContext. HgContextProvider bound via Module and HgContext bound void
RequestScoped annotation. It looks like that Guice 4 injects randomly
the one or the other, in SCMv1 (Guice 3) everything works as expected.
To fix the problem we have created a new class annotated with
RequestScoped, which holds an instance of HgContext. This way only the
HgContextProvider is used for injection.
2019-02-13 12:30:40 +01:00
Florian Scholdei
a5d9a13bc0
added subtitle for git config
2019-02-07 09:54:53 +01:00
Sebastian Sdorra
ddbe1512e4
Merged in feature/improved-navi (pull request #152 )
...
Feature/improved navi
2019-02-06 14:10:37 +00: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
Florian Scholdei
1c0f417f9a
added extension point for default branch + renamed bindrepositorysetting
2019-02-06 09:51:31 +01:00
Sebastian Sdorra
ad4277ba41
merge with 2.0.0-m3
2019-02-05 16:50:14 +01:00
Mohamed Karray
75b5e88a90
merge
2019-02-05 15:18:52 +01: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
5ef99ce17b
Merged in bugfix/get_modifications_for_svn (pull request #169 )
...
fix get modifications for SVN
2019-02-04 11:59:47 +00:00
Sebastian Sdorra
5ac065e5da
separate methods for reading modification from transaction and from revision
2019-02-04 11:39:59 +01:00
Florian Scholdei
7baea043c1
fix for git plugin bind
2019-02-01 16:13:28 +01:00
Florian Scholdei
704ef72e03
merge
2019-02-01 13:30:43 +01:00