Commit Graph

569 Commits

Author SHA1 Message Date
Sebastian Sdorra
f657e9d55b use apache shiro api for authentication resource 2012-08-29 16:29:41 +02:00
Sebastian Sdorra
b70fc53571 added security constants 2012-08-29 10:21:58 +02:00
Sebastian Sdorra
625b59553d grant owner permissions to each repository for admins 2012-08-29 10:18:15 +02:00
Sebastian Sdorra
bc8b2a3644 fix possible npe in ScmRealm 2012-08-29 10:12:44 +02:00
Sebastian Sdorra
5e05a1a12e use apache shiro to check repository permissions 2012-08-29 09:45:08 +02:00
Sebastian Sdorra
d9810da47c move repository permissions to scm-core 2012-08-29 09:35:28 +02:00
Sebastian Sdorra
e444d5d275 improve constructor of repository permission 2012-08-29 09:32:13 +02:00
Sebastian Sdorra
2ddfe06a54 BasicSecurityContext should not throw AuthenticationException, to not break existing behavior 2012-08-29 09:27:55 +02:00
Sebastian Sdorra
0197eb6f07 fix npe on wrong password 2012-08-28 18:34:24 +02:00
Sebastian Sdorra
761c0b215e BasicSecurityContext should wrap apache shiro api for compatibility reasons 2012-08-27 08:05:46 +02:00
Sebastian Sdorra
7b3dfd3ce2 bind new security api 2012-08-27 08:04:44 +02:00
Sebastian Sdorra
585a2559ce clear cache only on a post event 2012-08-27 08:00:16 +02:00
Sebastian Sdorra
2030a643d4 use groups class 2012-08-27 07:50:32 +02:00
Sebastian Sdorra
8044107f11 fix npe 2012-08-26 17:48:45 +02:00
Sebastian Sdorra
692c2ef7cd fix wrong UnsupportedTokenException 2012-08-26 17:42:58 +02:00
Sebastian Sdorra
5d1cad77b4 added missing injector annotation 2012-08-26 17:37:01 +02:00
Sebastian Sdorra
e9a08fbec6 move authentication logic from BasicSecurityContext to ScmRealm 2012-08-26 17:27:13 +02:00
Sebastian Sdorra
440542f55e start implementation of shiro realm 2012-08-26 17:16:08 +02:00
Sebastian Sdorra
68edc4fa14 fix non closing "hg serve" processes 2012-08-20 08:57:45 +02:00
Sebastian Sdorra
9de33362bd throw io exception if template is not parse able 2012-08-18 13:52:17 +02:00
Sebastian Sdorra
65dde22676 fix mustache render failure test 2012-08-18 13:40:21 +02:00
Sebastian Sdorra
eb0c943202 fix enunciate warnings 2012-08-18 13:25:56 +02:00
Sebastian Sdorra
e275c2ebfe improve logging 2012-08-18 12:19:38 +02:00
Sebastian Sdorra
72eb5a4ba6 return null if no template could be found 2012-08-18 12:18:58 +02:00
Sebastian Sdorra
ff362ead93 return null if no template could be found 2012-08-18 12:02:07 +02:00
Sebastian Sdorra
428b7973fe remove unused import 2012-08-18 11:41:08 +02:00
Sebastian Sdorra
473ccdd61d bind new template api in error module 2012-08-13 16:51:48 +02:00
Sebastian Sdorra
18be1a5b70 do not transform script resources 2012-08-13 08:13:02 +02:00
Sebastian Sdorra
bed3015fe3 fix template not found problems on /index.html 2012-08-12 22:22:51 +02:00
Sebastian Sdorra
6134b3abbc use mustache template engine to render repository root page 2012-08-12 22:18:59 +02:00
Sebastian Sdorra
3cb9cb307a use mustache template engine to render support page 2012-08-12 22:15:25 +02:00
Sebastian Sdorra
de9d090459 fix wrong template path in error servlet 2012-08-12 22:03:31 +02:00
Sebastian Sdorra
87885e73f3 close writer instead of context 2012-08-12 22:02:23 +02:00
Sebastian Sdorra
bc34f85a1d fix lincense headers 2012-08-12 21:55:18 +02:00
Sebastian Sdorra
7c770d8874 use cached thread pool for async hooks to improve memory consumption 2012-08-12 21:52:24 +02:00
Sebastian Sdorra
5963cbd536 added cached thread pool to mustache template engine 2012-08-12 21:46:45 +02:00
Sebastian Sdorra
73a8b8bec7 use viewable for repository root resource 2012-08-12 21:36:02 +02:00
Sebastian Sdorra
442c157c79 use viewable for support page 2012-08-12 21:33:20 +02:00
Sebastian Sdorra
edbdffd255 added support for jersey viewable 2012-08-12 21:32:44 +02:00
Sebastian Sdorra
ba8814754d use object instead of map for template model 2012-08-12 21:19:44 +02:00
Sebastian Sdorra
48fcb874a9 added freemarker template engine 2012-08-12 21:01:22 +02:00
Sebastian Sdorra
f5ef8890bc use mustache template engine to render index and error page 2012-08-12 20:51:51 +02:00
Sebastian Sdorra
e433af31c8 register mustache template engine as default engine 2012-08-12 20:51:15 +02:00
Sebastian Sdorra
aaf089a22f implement template api for mustache 2012-08-12 20:50:19 +02:00
Sebastian Sdorra
18c3901287 warn if plugin artifact checksum not match 2012-08-09 20:18:44 +02:00
Sebastian Sdorra
24dced481a added option for branches to getChangesets method of rest api 2012-07-27 10:55:41 +02:00
Sebastian Sdorra
0dfd8da743 merge with branch issue-192 2012-07-23 09:19:28 +02:00
Sebastian Sdorra
8e5f312809 merge changes from version 1.17 2012-07-23 09:11:41 +02:00
Sebastian Sdorra
7a0ec93c1c added webservice method for branches command 2012-07-10 20:56:03 +02:00
Sebastian Sdorra
e49faed7cb added webservice method for fetch tags of a repository 2012-07-05 19:37:00 +02:00