Commit Graph

765 Commits

Author SHA1 Message Date
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
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
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
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
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
Iwan Schindler
0319bdf8f0 i18n for core plugins 2019-02-01 11:45:44 +01:00
Sebastian Sdorra
8bf82213b8 remove unused imports 2019-01-30 14:48:37 +01:00
Sebastian Sdorra
f8f5237ad0 fix usage of deprecated mockito classes 2019-01-30 14:44:38 +01:00
Sebastian Sdorra
69dda6403d update resteasy to v3.6.2.Final in order to fix CVE-2017-7561 and CVE-2016-6347 2019-01-30 13:21:11 +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
Florian Scholdei
f20d3664a9 merged master 2019-01-23 13:46:46 +01:00
René Pfeuffer
760a37409b Specify global permissions 2019-01-21 09:17:43 +01:00
Florian Scholdei
9dc7882c54 clarified langs, added repo settings menu, changed git config binding, fixed small css issue with div in navi 2019-01-18 17:28:38 +01:00
René Pfeuffer
80466c9700 Collect descriptions from plugins 2019-01-18 15:33:33 +01:00
Johannes Schnatterer
32b0341649 Security System: Query permission.xmls from uber classloader.
Allows for finding permission.xmls from plugins.
Adds an examplary permission.xml for git plugin.
2018-12-20 17:56:28 +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
ffa013de68 Merge with 2.0.0-m3 2018-12-20 10:44:44 +01:00
René Pfeuffer
547947a1b3 Add zip for test 2018-12-19 14:38:29 +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
2df50b833e Add constructor 2018-12-19 09:30:36 +01:00
René Pfeuffer
07c34a005e Peer review 2018-12-18 16:55:13 +01:00
Philipp Czora
161885ff12 Fixed issue with branch selector 2018-12-14 20:20:00 +01:00
René Pfeuffer
5cb1a2e0cd Use abstract base class for json enrichment 2018-12-14 17:25:42 +01:00
Philipp Czora
8a6a235e77 Implement Git repo config 2018-12-14 16:01:57 +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