Eduard Heimbuch
28b485f11f
add import for hg repository via url with and without credentials
2020-12-02 14:22:54 +01:00
Eduard Heimbuch
7db33d2e65
Mind review findings
2020-12-02 10:47:48 +01:00
Eduard Heimbuch
b40bfd8fe2
Merge branch 'develop' into feature/import_git_from_url
2020-12-01 12:18:13 +01:00
Eduard Heimbuch
275ca49f71
Mark old import handler api as deprecated
2020-11-27 13:30:01 +01:00
Sebastian Sdorra
136cdbb6b0
Fix broken HgVersionCommand
...
Use waitFor instead of exitValue to wait for process to finish
2020-11-27 10:46:37 +01:00
Sebastian Sdorra
8ee8c8b351
Merge branch 'develop' into feature/hg_hooks_over_tcp
...
# Conflicts:
# CHANGELOG.md
2020-11-27 08:57:09 +01:00
Sebastian Sdorra
7357d83b73
Use DataInputStream and DataOutputStream instead of manual reading and writing
2020-11-27 08:10:18 +01:00
René Pfeuffer
7a47e68707
Make stale state computation configurable
2020-11-26 08:32:06 +01:00
René Pfeuffer
4d4f89dc7e
Read last commit date for hg branches
2020-11-26 08:31:14 +01:00
Sebastian Sdorra
c0ae910d23
Implement more robust socket hook protocol
2020-11-22 13:44:33 +01:00
Sebastian Sdorra
73b2c4adc2
Do not expose internal exception messages
2020-11-21 09:22:46 +01:00
Sebastian Sdorra
959dfb8f45
Fix compiler error
2020-11-19 14:49:29 +01:00
Sebastian Sdorra
0841a0a409
Merge branch 'feature/hg_hooks_over_tcp' of github.com:scm-manager/scm-manager into feature/hg_hooks_over_tcp
2020-11-19 14:34:56 +01:00
Eduard Heimbuch
0b96e7d08b
Merge branch 'develop' into feature/hg_hooks_over_tcp
2020-11-19 14:31:00 +01:00
Sebastian Sdorra
1311061c82
Pass transaction id from request to mercurial hooks
2020-11-19 14:30:39 +01:00
René Pfeuffer
69a3a8a2da
Convert update dto classes to interfaces
2020-11-19 13:19:49 +01:00
Sebastian Sdorra
29faa5ec6c
Fix review findings
2020-11-19 12:22:52 +01:00
Sebastian Sdorra
982743e827
Fix review findings
2020-11-19 10:21:17 +01:00
Sebastian Sdorra
b6c5a253cb
Fixed missing messages on exceptions during hook
2020-11-19 09:26:36 +01:00
René Pfeuffer
bab4a56e22
Make dtos for schema docs unusable
2020-11-19 07:48:21 +01:00
Florian Scholdei
3384707517
Add examples to scm-plugins resources and create DTO adapted to schemata
2020-11-18 17:12:04 +01:00
Sebastian Sdorra
58a0c515b0
Merge with develop branch
2020-11-18 10:07:28 +01:00
Eduard Heimbuch
a0e7073bdf
Merge pull request #1417 from scm-manager/bugfix/close_hg_diff_stream
...
Fix missing close of hg diff command
2020-11-16 11:15:57 +01:00
René Pfeuffer
f8219305a3
Strip 'Error:' from hg error messages
2020-11-12 13:52:37 +01:00
René Pfeuffer
01a5dbd091
Show messages from native scm protocol
2020-11-12 11:41:04 +01:00
Sebastian Sdorra
6c8c30b929
Fix missing close of hg diff command
2020-11-10 11:09:23 +01:00
Sebastian Sdorra
8b4f92fa5c
Remove version script because it is not longer required
2020-11-10 10:14:40 +01:00
Sebastian Sdorra
5118294524
Fix multiple accessor threads
2020-11-10 10:03:53 +01:00
Sebastian Sdorra
52701953fe
Improve logging for mercurial hooks
2020-11-10 10:03:53 +01:00
Sebastian Sdorra
e774c77b27
Rename mercurial hooks to match python coding specs
2020-11-10 10:03:53 +01:00
Sebastian Sdorra
d86b2f70c3
Disable xsrf for mercurial hook tokens
2020-11-10 10:03:53 +01:00
Sebastian Sdorra
d518af4ccc
Refactor nearly the whole scm-hg-plugin for new hook implementation
2020-11-10 10:03:53 +01:00
Sebastian Sdorra
23317662f2
Implement mercurial hooks over sockets
2020-11-10 10:03:53 +01:00
Sebastian Sdorra
c2ef568e54
Disable request tracing for mercurial hook manager
2020-11-04 09:51:13 +01:00
Konstantin Schaper
22e0944377
fix review findings
2020-11-02 13:27:18 +01:00
Konstantin Schaper
62a7ebd4dd
user agents are not longer set to be browsers by default
2020-10-29 19:51:40 +01:00
René Pfeuffer
a6af1d0e34
Fix not found error when reading empty hg repository
2020-09-29 10:43:41 +02:00
René Pfeuffer
059482f8ab
Detect missing paths in hg fileview command
...
If a not existing path is request in the fileview command, it will
be treated as an empty directory. But such a thing does not exist in hg.
Therefore we handle this result as what it is: a not existing path -
and we throw a not found exception.
2020-09-22 17:31:57 +02:00
Konstantin Schaper
36231d077a
cleanup and update tests
2020-08-25 18:08:31 +02:00
Konstantin Schaper
6d409c65c0
initial implementation
2020-08-25 14:45:48 +02:00
Sebastian Sdorra
030ef30ffb
uses parent constructor with RootURL
2020-08-03 14:01:44 +02:00
Sebastian Sdorra
3f857fec04
rename UnixAutoConfigurator to PosixAutoConfigurator and make it match for linux systems
2020-07-02 07:02:51 +02:00
Sebastian Sdorra
2bb865bf5c
fixes python module path detection
2020-07-01 15:28:37 +02:00
Sebastian Sdorra
17d31b80e0
implemented a new auto configuration mechanism for mercurial on unix
...
This new mechanism is more robust and should find python and python3 installations
2020-07-01 15:01:14 +02:00
Sebastian Sdorra
f301d174d3
remove old python scripts which are not used in v2
2020-06-29 15:25:00 +02:00
Sebastian Sdorra
813b8db3ca
update javahg to version 0.15-scm1
2020-06-29 15:15:03 +02:00
René Pfeuffer
8528c0cfc1
Fix sonar issues
2020-06-02 21:48:28 +02:00
René Pfeuffer
77d6784386
Remove unnecessary interfaces
2020-06-02 21:31:44 +02:00
René Pfeuffer
7e945afc43
Keep ParentAndClone inside working copy factories
2020-06-02 21:31:44 +02:00
René Pfeuffer
d6b618f0ec
Remove superfluous exception class
2020-06-02 21:31:44 +02:00