Commit Graph

30 Commits

Author SHA1 Message Date
René Pfeuffer
cc4bd6ddd1 Use bearer tokens to authenticate hg hook callbacks 2019-03-28 08:40:56 +01:00
René Pfeuffer
bc629ec648 Send repository id with hg hook request 2018-11-27 14:06:11 +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
8b8240319b Suppress sonar warning 2018-11-23 12:46:24 +01:00
René Pfeuffer
c0000df508 Use "real paths" instead of absolute paths
See issue #82 for details:
https://bitbucket.org/sdorra/scm-manager/issues/82/symbolic-link-in-hg-repository-path
2018-11-23 11:59:12 +01:00
René Pfeuffer
e8558e07ec Use repository dao to find repository for given directory in hooks 2018-11-23 10:13:47 +01:00
René Pfeuffer
bf1effb9c0 Remove special RepositoryNotFoundException 2018-10-18 16:08:49 +02:00
Sebastian Sdorra
8a2346271a do not expose exception to the client 2018-07-16 13:51:37 +02:00
René Pfeuffer
dc8ecd5689 Adjust to repository storage with id 2018-07-10 15:31:18 +02:00
Sebastian Sdorra
93728e71a1 fix conflict with guava 16 2014-03-29 10:30:19 +01:00
Sebastian Sdorra
ed5a6257b8 fix bug with passwords which contains a colon 2014-01-17 15:56:18 +01:00
Sebastian Sdorra
5637c1a8a2 allow multi line mercurial messages 2013-10-01 21:40:27 +02:00
Sebastian Sdorra
eec1d32daf print messages even if the push is aborted 2013-07-27 17:18:38 +02:00
Sebastian Sdorra
7d34b48b3d fix typo in package name 2013-07-24 21:03:01 +02:00
Sebastian Sdorra
86bd700bf6 implement new hook api for mercurial repositories 2013-07-22 11:40:03 +02:00
Sebastian Sdorra
b0d917d903 fix mercurial environment for push and pull commands 2013-05-15 21:31:48 +02:00
Sebastian Sdorra
db5a17fa9e send mercurial hook error messages to client 2013-04-02 21:57:23 +02:00
Sebastian Sdorra
6728758637 do not store request and respone in authentication token 2012-10-11 16:12:06 +02:00
Sebastian Sdorra
7d0980605e do not use security context in core plugins and samples 2012-08-30 12:08:16 +02:00
Sebastian Sdorra
5f5fe1cf58 implement hook url detection 2012-06-02 14:42:46 +02:00
Sebastian Sdorra
31d4d5d498 fix mercurial hooks on windows with repository structure 2012-01-04 16:44:00 +01:00
Sebastian Sdorra
95e0097d4e added missing serialVersionUID 2011-12-30 11:17:05 +01:00
Sebastian Sdorra
8bce0b4906 fix mercurial push with symbolic links 2011-12-23 11:32:40 +01:00
Sebastian Sdorra
09dc9af0cb mercurial support for directory structures 2011-10-23 16:39:09 +02:00
Sebastian Sdorra
84f63e94c0 reauthenticate user on mercurial hooks 2011-10-15 15:55:17 +02:00
Sebastian Sdorra
8975eccd88 improve mercurial command handling 2011-10-08 15:31:10 +02:00
Sebastian Sdorra
b07810c2d1 implement mercurial pre-receive hook 2011-09-28 09:42:16 +02:00
Sebastian Sdorra
48b37d688c improve logging of mercurial hook callback 2011-08-23 15:43:15 +02:00
Sebastian Sdorra
b93230c8a1 use a servlet instead of a restful resource 2011-08-07 16:35:51 +02:00