Commit graph

2900 commits

Author SHA1 Message Date
jeb228
cb7fdf17ca NIHVIVO-1277 When referencing a file, assume that the FileByteStream resource contains the alias URL. 2010-10-29 20:28:08 +00:00
jeb228
a79b203a15 NIHVIVO-1277 When uploading a file, store the alias URL on the FileByteStream resource. 2010-10-29 20:27:42 +00:00
jeb228
fcf0eb527f NIHVIVO-1277 Create an updater that tries to insure that all FileByteStream resources have alias URLs. 2010-10-29 20:27:07 +00:00
jeb228
a5bff5bd00 NIHVIVO-1277 Define a property to store the Alias URL on a FileByteStream resource. 2010-10-29 20:25:48 +00:00
rjy7
c178c8d922 NIHVIVO-1297 Undid the effects of revision 6246. This was a mistake, since including the body template from the page template rather than pregenerating the body string doesn't allow the addition of stylesheet tags to the page head. 2010-10-29 16:44:29 +00:00
nac26
377a225b73 NIHVIVO-556 no longer necessary to call login.ftl from a jsp 2010-10-28 16:46:18 +00:00
rjy7
fababdd9d2 NIHVIVO-1234 Handle routing of a request for the home page to the HomePageController by forwarding from TabController 2010-10-28 15:09:17 +00:00
jeb228
ce99295729 Change the name of the loginName template variable to "username" so it doesn't conflict with the variable already in use in the footer. 2010-10-27 20:21:42 +00:00
jeb228
a7a083c7b3 NIHVIVO-1230 NIHVIVO-1231 Example implementation of the Freemarker templates to show revision info. 2010-10-27 19:57:57 +00:00
jeb228
b8fefaee00 NIHVIVO-1229 break out a method for getBean(ServletContext) 2010-10-27 19:47:35 +00:00
rjy7
eed6e5a9d9 NIHVIVO-1287 Moved changes from PagedSearchController to FreemarkerPagedSearchController, since this is the active search controller in vivo and vitro 2010-10-27 18:57:13 +00:00
jeb228
2d5ef9d187 Use generics on ArrayList. 2010-10-27 17:01:27 +00:00
jeb228
2181d4178b Generify: User implements Comparable<User> 2010-10-27 17:01:00 +00:00
rjy7
9b3ac410c2 NIHVIVO-1230 Added stub for version info in FreemarkerHttpServlet and templates 2010-10-27 14:51:50 +00:00
nac26
a1e27c5935 added login FreemarkerComponentGenerator for use in JSPs as we work on the transition to freemarker 2010-10-27 13:13:27 +00:00
rjy7
df3a3dd1c7 NIHVIVO-1234 Removed separation of body and root maps in Freemarker controllers. Combine everything into one map, which includes the name of the body template also, to be invoked from the page template. Simplifies the logic considerably, in both controllers and templates, and allows the template author to dump the name of the body template rather than having to inspect the controller code. 2010-10-27 01:27:52 +00:00
jeb228
b438f7d36d NIHVIVO-1229 Create the RevisionInfoBean, with setup listener and unit tests. 2010-10-25 21:30:34 +00:00
rjy7
7fab757f65 Add missing license tag. 2010-10-22 22:29:56 +00:00
rjy7
3a0feaeff2 NIHVIVO-1234 Initial version of HomePageController and templates 2010-10-22 21:39:14 +00:00
rjy7
8263bd9cf1 NHVIVO-1218 Correct blank page on image upload error by removing overrides to getTemplateName() and getMap() in ExceptionResponseValues. 2010-10-22 15:10:08 +00:00
rjy7
9b2e654545 NHVIVO-1218 Correct blank page on image upload error by removing overrides to getTemplateName() and getMap() in ExceptionResponseValues. 2010-10-22 15:08:09 +00:00
jeb228
e774f52471 Add generics to VClassGroupDao and sub-classes; organize import statments. 2010-10-20 13:54:36 +00:00
jeb228
1a9e53f7bf Add generics to LinksDao and sub-classes; organize import statments. 2010-10-19 20:24:32 +00:00
bdc34
f3064fcf23 Adding license place holder, adding NightlyDefragement.java 2010-10-18 20:02:24 +00:00
bdc34
5951f16be0 Adding new listener to defragement heap at startup. 2010-10-18 19:06:27 +00:00
jeb228
0bd050a78b NIHVIVO-736 Use redirectToLoginPage() in VitroHttpRequest instead of implementing it again here. 2010-10-14 16:13:06 +00:00
jeb228
674b2e1222 NIHVIVO-736 Modify the <vitro:confirmLoginStatus> custom JSP tag to permit test for self-editing. 2010-10-14 15:59:04 +00:00
jeb228
2f5580ab76 NIHVIVO-736 Create the <vitro:confirmLoginStatus> custom JSP tag. 2010-10-14 15:07:29 +00:00
jeb228
58089feaf3 NIHVIVO-736 Move checkLoginStatus() methods from BaseEditController to VitroHttpServlet, so they can be more widely used. 2010-10-14 14:59:32 +00:00
jeb228
18de61ca20 NIHVIVO-736 transitioning from LoginFormBean to LoginStatusBean. 2010-10-13 20:46:41 +00:00
jeb228
dfa7e6e2ea Clean up unused code. 2010-10-13 20:20:11 +00:00
jeb228
579ce5fdd8 NIHVIVO-736 transitioning from LoginFormBean to LoginStatusBean. 2010-10-13 20:13:17 +00:00
jeb228
5c3307ac59 NIHVIVO-736 transitioning from LoginFormBean to LoginStatusBean. 2010-10-13 19:57:54 +00:00
jeb228
5bfa8e6bd8 NIHVIVO-736 transitioning from LoginFormBean to LoginStatusBean. Removed the redundant login check, since it duplicated checkLoginStatus(). However, this was not and is not accessible to self-editors, as the comments suggest is necessary. 2010-10-13 18:53:55 +00:00
jeb228
b4ea726109 NIHVIVO-736 transitioning from LoginFormBean to LoginStatusBean. 2010-10-13 18:34:41 +00:00
jeb228
275ef7d471 NIHVIVO-736 transitioning from LoginFormBean to LoginStatusBean. 2010-10-13 16:46:10 +00:00
jeb228
4dbf19c9c0 NIHVIVO-736 transitioning from LoginFormBean to LoginStatusBean. 2010-10-13 14:17:50 +00:00
jeb228
5a2af2f97d NIHVIVO-1208 Cleaned things up a bit - ready to give up, for now at least. Still works for JPEG, but not for GIF. 2010-10-12 20:05:55 +00:00
jeb228
d0846f2348 NIHVIVO-1208 Moved the thumbnailing code into its own class, revised to use the more Object Oriented methods in JAI. Still works for JPEG, but not for GIF. 2010-10-11 21:58:35 +00:00
jeb228
2464113907 NIHVIVO-1218 When an ErrorResponseValues is returned, create a standard system error page. 2010-10-11 18:33:18 +00:00
jeb228
49e4badda7 NIHVIVO-1208 When creating a thumbnail from a PNG image, suppress the alpha channel so the colors of the thumbnail won't be screwed up. 2010-10-11 18:17:00 +00:00
jeb228
4f7bcbbcb7 NIHVIVO-736 transitioning from LoginFormBean to LoginStatusBean. 2010-10-08 19:38:43 +00:00
jeb228
c2fa36316f NIHVIVO-736 transitioning from LoginFormBean to LoginStatusBean. 2010-10-07 20:52:57 +00:00
jeb228
659a5b41df Restructure so when you start self-editing you are no longer logged in, and when you stop you are logged in again. 2010-10-07 20:52:00 +00:00
jeb228
d6e507691a Add another debug statement; reformat. 2010-10-07 20:09:49 +00:00
jeb228
14faa42143 Merge 6096 from the branch: NIHVIVO-1199 If there is an unexpected exception in image processing, write it to the log. 2010-10-07 15:57:43 +00:00
jeb228
30344c4af9 NIHVIVO-736 transitioning from LoginFormBean to LoginStatusBean. 2010-10-07 15:11:33 +00:00
jeb228
bb07558b19 Merge 6053 from branch - Add license lines to entityListPages.jsp and LuceneIndexFactory.java 2010-10-07 13:58:41 +00:00
bdc34
b27045fe6c Fixing a lucene indexing bug when a URI of an individual is changed. NIHVIVO-1192 2010-10-06 21:52:15 +00:00
bdc34
f98b5edac5 Self editor redirect NIHVIVO-1102 2010-10-06 21:52:13 +00:00