Commit Graph

104 Commits

Author SHA1 Message Date
René Pfeuffer
145502a7b8 Introduce extension point for further protocol implementations 2018-09-13 10:35:10 +02:00
René Pfeuffer
7c09f35ac8 Rename UriInfoStore to ScmPathInfoStore 2018-09-12 08:53:15 +02:00
René Pfeuffer
5b35fb2372 Fallback to configured base url if UriInfoStore not set 2018-09-11 16:03:32 +02:00
René Pfeuffer
e90dc11bc7 Cleanup for http protocol servlet changes 2018-09-11 10:50:53 +02:00
René Pfeuffer
bf9de8ea8e Reduce dependency to RepositoryProvider in provider servlets 2018-09-11 07:40:24 +02:00
René Pfeuffer
1b200ae69d Remove http request filter implementation from permission filters 2018-09-10 16:58:52 +02:00
René Pfeuffer
eb378de87f Use existing permission filters in http servlet protocol
Just as a POC, fix logging and public access.
2018-09-10 16:35:50 +02:00
René Pfeuffer
a490a20ac9 Inject uri info for http protocol url computation 2018-09-10 14:48:22 +02:00
René Pfeuffer
ce518ad784 Inject repository from service provider 2018-09-10 14:00:13 +02:00
René Pfeuffer
50a4133dff Remove old type dependant repo uri functions 2018-09-10 10:08:51 +02:00
René Pfeuffer
eff51c3b37 Remove not thrown exceptions from declaration 2018-09-10 08:34:47 +02:00
René Pfeuffer
5b5bfd342a Add POC protocol servlet with delegate to svn and hg 2018-09-06 17:39:47 +02:00
René Pfeuffer
4eb75bc621 Initialize servlet and fix paths 2018-09-06 15:33:24 +02:00
René Pfeuffer
c4b34752b4 Fix integration tests by delegating to existing servlets 2018-09-04 20:29:17 +02:00
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