Rene Pfeuffer
defad2af5b
Remove token expiration from test
2020-02-13 11:27:25 +01:00
Rene Pfeuffer
6217a757e3
Add xsrf token to hg callbacks
2020-02-13 09:16:29 +01:00
Rene Pfeuffer
cf9d1edb70
Make partial file attributes explicit.
2019-12-18 11:48:17 +01:00
Rene Pfeuffer
d0f8e4ccf2
Rename utility class
2019-12-05 17:43:21 +01:00
Rene Pfeuffer
6bf86fab8d
Introduce abstraction layer for RESTeasy mock dispatcher
2019-11-25 17:04:58 +01:00
Sebastian Sdorra
9e9df35fdb
upgrade resteasy, legman and hibernate-validator
...
* resteasy from 3.6.2.Final to 4.4.1.Final
* legman from 1.5.1 to 1.6.0
* hibernate-validator from 5.3.6.Final to 6.1.0.Final
2019-11-20 10:57:32 +01:00
Rene Pfeuffer
f7e42db850
Rename method
2019-11-11 16:50:39 +01:00
Eduard Heimbuch
782b201e55
cleanup
2019-11-11 11:21:51 +01:00
Eduard Heimbuch
39d41a56c5
implement deleteBranchCommand for hg
2019-11-11 11:16:33 +01:00
Eduard Heimbuch
a13d129eff
add Test / HgBrowseCommand shouldResolveBranchForRevision
2019-10-29 10:49:38 +01:00
Eduard Heimbuch
a938fd8682
enhance logcommand
2019-10-25 12:31:18 +02:00
Eduard Heimbuch
285084aed1
remove closeRepository after unit tests since its already closed by abstractTestBase
2019-10-07 16:51:46 +02:00
Eduard Heimbuch
cb6f1bfa22
remove unused move-method from ModifyCommand / create interface for CommandRequests with Author
2019-10-07 14:59:46 +02:00
Eduard Heimbuch
34169fb21c
merged
2019-10-07 10:48:07 +02:00
René Pfeuffer
3dea971e10
Checkout target branch while cloning repository
...
This will prevent the checkout of a wrong initial branch and therefore
safe some unnecessary io
2019-10-06 16:29:50 +02:00
Eduard Heimbuch
6417ab57e8
remove unnecessary handler from HgModifyCommand / move NoChangesMadeException to scm-core
2019-10-02 10:43:35 +02:00
Eduard Heimbuch
75346c925e
implement Modify Command
2019-10-02 10:00:57 +02:00
Eduard Heimbuch
fb5617d940
implement create method for HgModifyCommand
2019-10-01 14:41:56 +02:00
Eduard Heimbuch
0a5575c2fd
add HgModifyCommand / implement delete method
2019-09-30 15:58:33 +02:00
René Pfeuffer
4f21756d00
Extract class to provide temporary work directories
2019-08-27 16:56:44 +02:00
Sebastian Sdorra
80febf9424
added modules, classloading and view packages to sonia.scm.lifecycle
2019-06-25 09:49:52 +02:00
René Pfeuffer
6244713970
Move constant to interface
2019-06-03 13:47:05 +02:00
René Pfeuffer
7f4792ec49
Remove PathBasedRepositoryDAO
...
The computation of the file path for the repository is done by
RepositoryLocationResolver.
2019-05-10 08:06:36 +02:00
René Pfeuffer
c44d38cc61
Introduce abstraction for repository location
2019-05-09 14:08:18 +02:00
René Pfeuffer
ee219f2d59
Remove unnecessary interface
2019-03-29 10:36:55 +01:00
René Pfeuffer
1162536e21
Simplify workdir factory
2019-03-29 10:02:38 +01:00
René Pfeuffer
93cec3d282
Add parameter for parent of new branch
2019-03-28 16:15:31 +01:00
René Pfeuffer
79be188777
Clean up dependencies
2019-03-28 13:30:04 +01:00
René Pfeuffer
cc4bd6ddd1
Use bearer tokens to authenticate hg hook callbacks
2019-03-28 08:40:56 +01:00
René Pfeuffer
b65e84249d
Use clone and push to create branches
...
Generalize workdir creation for git and hg and create branches in
clones instead of the scm repository, so that hooks will be fired
correctly once the changes are pushed back.
Missing:
- Evaluation of the git response from the push command
- configuration of the hg environment and the authentication, so that
the scmhooks.py script can be triggeret correctly and can callback
the scm manager
2019-03-27 10:08:20 +01:00
René Pfeuffer
3c7930d1a9
Add "production" branch command
...
There already was a branch command for test purposes. This was adapted
for production use with git and hg.
2019-03-26 09:16:33 +01:00
René Pfeuffer
4ec7006108
Enhance branch object with default flag
2019-03-25 11:28:29 +01:00
René Pfeuffer
9244a72110
Fix unit test
2019-02-21 12:16:39 +01:00
Sebastian Sdorra
173e51096b
fixed injection of HgContext, if no request scope is available
2019-02-18 12:01:34 +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
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
d820605186
fixed integration of mercurial config changes of 1.x
2019-01-29 14:00:11 +01:00
Sebastian Sdorra
b231499cd0
merge with branch 1.x
2019-01-29 09:42:03 +01:00
René Pfeuffer
3021bea65a
Multiply floating store factories for type safety
2018-12-04 08:56:39 +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
Mohamed Karray
171f4e2f07
merge
2018-11-29 16:59:04 +01:00
Mohamed Karray
37f4a2b669
merge
2018-11-29 16:01:43 +01:00
Sebastian Sdorra
e9401624a7
re implement XmlRepositoryDAO
2018-11-28 19:49:55 +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
René Pfeuffer
bc629ec648
Send repository id with hg hook request
2018-11-27 14:06:11 +01:00