Commit Graph

47 Commits

Author SHA1 Message Date
takezoe
0961eb5976 (refs #279)Fix redirect url generation. 2014-03-02 23:55:03 +09:00
takezoe
17f581f654 (refs #279)Override ScalatraBase#fullUrl() to apply the configured base url to redirection. 2014-03-01 15:19:42 +09:00
takezoe
590b431ec1 Add FlashMapSupport to ControllerBase. 2014-03-01 13:27:36 +09:00
takezoe
98266fe0e1 (refs #279)Fix webhook URL to use the configured base URL. 2014-03-01 13:05:42 +09:00
takezoe
0dd37c2481 (refs #279)Fix redirect URL generation in authentication. 2014-02-24 02:14:10 +09:00
takezoe
a76792ced4 (refs #279)Add configuration to specify the base URL. But still one problem has not been resolved. 2014-02-22 14:20:51 +09:00
takezoe
43152c9341 Upgrade scalatra-forms to 0.0.8. 2013-11-14 04:04:29 +09:00
takezoe
ac4d4de3c1 Fix redirect path encoding. 2013-11-10 02:45:54 +09:00
takezoe
81e2ac44c3 (refs #114)Remove user related data when user is removed. 2013-11-02 14:01:07 +09:00
takezoe
c517b44e82 Upgrade to scalatra-forms 0.0.4 2013-11-02 05:07:09 +09:00
takezoe
d34118bdfd Define request attribute keys. 2013-09-23 02:03:10 +09:00
takezoe
c57bc487a3 Define session keys. 2013-09-23 00:51:57 +09:00
takezoe
296fc9a3df Improve session handling. 2013-09-23 00:18:38 +09:00
takezoe
fd8b5780f3 Use ControlUtil. 2013-09-22 19:28:14 +09:00
takezoe
3fc0fa5a02 Don't set response content type via Accept header. 2013-09-04 03:39:28 +09:00
takezoe
ec827ab371 Remove unused import statement. 2013-08-31 02:11:13 +09:00
takezoe
e79d463cf7 (refs #87)rolled back because it breaks content type for resources such as css or images. 2013-08-25 22:12:00 +09:00
odz
da1172a882 specify contentType 2013-08-24 22:30:58 +09:00
takezoe
14de86afa0 Fix redirect behaviour after sign in. 2013-08-10 23:13:43 +09:00
takezoe
629b714dab Upgrade scalatra-forms. 2013-08-09 18:06:33 +09:00
takezoe
07ef06ad95 Improve authentication for H2 console. 2013-07-25 03:16:34 +09:00
takezoe
3cc39489bd (refs #40)Enable H2 Console. 2013-07-22 21:12:22 +09:00
takezoe
0c131ec990 Move FileUploadUtil to FileUploadControllerBase. 2013-07-19 20:33:40 +09:00
takezoe
07dd459f3c Add method for request cache to app.Context. 2013-07-11 11:20:56 +09:00
takezoe
796a276b65 (refs #28)Look up Gravatar if user icon is not configured. 2013-07-11 03:51:50 +09:00
takezoe
9d61f73e22 Generalize some methods in AccountController and UserManagementController. 2013-07-10 20:44:28 +09:00
takezoe
7a3c61a8d0 Generalize some methods in AccountController and UserManagementController. 2013-07-10 20:38:24 +09:00
takezoe
b2ac040d69 Fix repository url. 2013-07-03 20:16:38 +09:00
takezoe
df68ad757f Remove resolved TODO. 2013-06-29 23:00:41 +09:00
takezoe
adfb71ea77 Fix Unauthorized error behaviour. 2013-06-29 22:42:40 +09:00
takezoe
9650cc48cc Redirect to previous URL after sign in. 2013-06-29 04:31:58 +09:00
takezoe
bb863962c0 Fix Ajax processing. 2013-06-28 02:47:02 +09:00
takezoe
dfcac1e7a4 Separate extension of scalatra-forms to trait from ControllerBase. 2013-06-24 00:23:01 +09:00
shimamoto
4326f34ef5 Create java.util.Date TypeMapper. And add the currentDate method. 2013-06-23 20:46:08 +09:00
takezoe
157f545186 Add date value type for scalatra-forms mapping. 2013-06-23 02:19:53 +09:00
takezoe
4d4e0c8487 Fix validation for user name, page name and repository name. 2013-06-21 18:56:00 +09:00
takezoe
19cab6b2d8 Remove debug code. 2013-06-16 03:21:20 +09:00
takezoe
676e6c6047 Fix the repository url. 2013-06-16 03:20:34 +09:00
takezoe
a037ef34ce Add the error page.
ControllerBase#NotFound() renders this page instead of redirecting to the top page.
2013-06-06 21:41:41 +09:00
takezoe
b3e76db227 Fix error response. 2013-06-05 03:01:51 +09:00
takezoe
d80823343a Separate Authenticators to the trait from ControllerBase. 2013-06-04 08:51:31 +09:00
takezoe
3b62853e71 Authentication functions should be separate from ControllerBase as trait? 2013-06-04 03:47:25 +09:00
takezoe
0565385581 Add authentication to the repository setting page. 2013-06-04 03:25:01 +09:00
takezoe
1ab58d0363 Implementing authentication. 2013-06-03 00:36:51 +09:00
takezoe
6512b673f6 Add AccountService and ProjectService. 2013-06-02 14:29:52 +09:00
takezoe
0c3a301f24 Added the index page which is used while in development. 2013-05-03 14:04:31 +09:00
takezoe
19466342ff Move GitRepositoryServlet and BasicAuthenticationFilter to util package. 2013-05-02 02:05:27 +09:00