Commit Graph

90 Commits

Author SHA1 Message Date
Johannes Schnatterer
45822c44cb Deliver HgConfigPackages no longer as embedded.
They don't have an own identity in terms of REST and its much simpler
to return a simple list instead of an _embedded list.
Also gets rid of one HgConfigPackageToDtoMapper.
2018-08-07 16:47:03 +02:00
Johannes Schnatterer
b65a8c6b8d Implements Hg Config Sub Resources 2018-08-02 18:36:28 +02:00
Johannes Schnatterer
8b16a0251a VndMedia Type classes: Adds private constructor 2018-08-02 13:02:43 +02:00
Johannes Schnatterer
f20865c658 HgPlugin Config: Minor corrections 2018-08-02 11:56:06 +02:00
Johannes Schnatterer
eee325e185 HgPlugin Config: Adds v2 endpoint 2018-08-02 10:59:34 +02:00
Sebastian Sdorra
8a2346271a do not expose exception to the client 2018-07-16 13:51:37 +02:00
René Pfeuffer
53f3264f6e Correct repository name for hg 2018-07-11 12:53:48 +02:00
René Pfeuffer
dc8ecd5689 Adjust to repository storage with id 2018-07-10 15:31:18 +02:00
Sebastian Sdorra
3637a8de20 switch from jersey 1.x to resteasy 2017-06-27 20:16:05 +02:00
Sebastian Sdorra
bad99919f4 merge with branch 1.x 2017-01-12 19:50:39 +01:00
Sebastian Sdorra
264a1af634 treat HEAD, OPTIONS and TRACE as mercurial read requests not only GET, see issue #859 2016-09-30 22:23:14 +02:00
Sebastian Sdorra
bdb202dd8c track time for processing mercurial request on debug logging 2015-06-11 22:10:32 +02:00
Sebastian Sdorra
b2e1c1e1f8 do not create http session to pass mercurial environment for cgi 2015-03-21 15:55:25 +01:00
Sebastian Sdorra
be385e4f2e implement a new authentication filter, which uses a set of WebTokenGenerator to handle authentication requests 2015-02-21 21:06:35 +01:00
Sebastian Sdorra
e5184ac6a0 merge with branch issue-627 2015-02-10 20:50:06 +01:00
Sebastian Sdorra
8ccaaf3695 remove auto login modules because they are not longer needed, since we can determine the order of the filter chain 2015-02-06 22:41:34 +01:00
Sebastian Sdorra
30b49490a7 make use of new WebElement and Priority annotation 2015-02-01 19:52:53 +01:00
Sebastian Sdorra
d707f0ee47 servlet fields should be final 2015-01-23 21:44:04 +01:00
Sebastian Sdorra
4fa8e6e88a replace scm-manager 1.x security api with apache shiro and use PasswordService for stronger password hashes 2014-12-14 12:26:03 +01:00
Sebastian Sdorra
8e608d2439 created small user-agent detection framework to choose the right encoding for basic authentication 2014-10-17 15:43:28 +02:00
Sebastian Sdorra
1d6db4424b start implementation of isolated classloaders 2014-06-06 08:57:41 +02:00
Sebastian Sdorra
18c5c3ec97 merge with branch 1.x 2014-06-04 15:51:19 +02:00
Sebastian Sdorra
72978a05af remove unused imports 2014-05-08 21:27:15 +02:00
Sebastian Sdorra
3997c70926 merge with branch 1.x 2014-04-28 13:48:11 +02:00
Sebastian Sdorra
1388052ace return authentication header, if the login attempt limit is disabled 2014-04-20 13:11:41 +02:00
Sebastian Sdorra
93728e71a1 fix conflict with guava 16 2014-03-29 10:30:19 +01:00
Sebastian Sdorra
07363cbe82 move extension annotation from sonia.scm.plugin.ext to sonia.scm.plugin 2014-03-29 09:51:17 +01:00
Sebastian Sdorra
96b0c8f8b0 merge with branch 1.x 2014-03-17 10:49:52 +01:00
Sebastian Sdorra
5c44df3e4c use userAgentStartsWith method for user agent check 2014-03-16 11:49:44 +01:00
Sebastian Sdorra
9db7284f27 use client messages 2014-03-16 11:28:09 +01:00
Sebastian Sdorra
b131d4b804 improve error handling for failed authentication and not enough privileges 2014-03-15 16:12:14 +01:00
Sebastian Sdorra
ed5a6257b8 fix bug with passwords which contains a colon 2014-01-17 15:56:18 +01:00
Sebastian Sdorra
bc61218bf8 fix bug with passwords which contains a colon 2014-01-17 15:56:18 +01:00
Sebastian Sdorra
4745dd5575 suppress unchecked warnings 2014-01-11 15:17:44 +01:00
Sebastian Sdorra
5637c1a8a2 allow multi line mercurial messages 2013-10-01 21:40:27 +02:00
Sebastian Sdorra
2b91053909 fix out of scope exception on access hgcontext 2013-09-27 17:59:53 +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
51a9939314 merge with branch issue-333 2013-04-02 21:58:42 +02:00
Sebastian Sdorra
db5a17fa9e send mercurial hook error messages to client 2013-04-02 21:57:23 +02:00
Sebastian Sdorra
d6d6d57cb9 use content type text/html for mercurial error messages, if the client accept it 2013-04-02 20:59:26 +02:00
Sebastian Sdorra
9adc65d9e5 util classes should be final with a private constructor 2013-01-31 10:26:16 +01: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
5e815cecc0 fix defect hg.bat from package installation 2012-08-11 15:40:38 +02:00
Sebastian Sdorra
cb16d451ed fix license headers 2012-06-24 17:59:04 +02:00
Sebastian Sdorra
5f5fe1cf58 implement hook url detection 2012-06-02 14:42:46 +02:00
Sebastian Sdorra
e8bbcd91b5 pass shell environment to mercurial cgi process 2012-05-24 08:11:42 +02:00