Commit graph

451 commits

Author SHA1 Message Date
jeb228
cbda9a16cc NIHVIVO-160 make the map of FileItems available as an attribute as well as through a method call. That way, if the request is wrapped in a VitroRequest, the map is still accessible. 2010-06-07 18:43:40 +00:00
hjk54
9237b7bd41 Edited editConfiguration method call - using incorrect arguments 2010-06-07 17:48:43 +00:00
jeb228
0c748372f0 NIHVIVO-161 Create vitroPublic.owl to hold the file-related classes and properties. 2010-06-07 15:54:39 +00:00
hjk54
5d4f3d8601 Removing debut statements and adding support for validation of annotation properties on forms. 2010-06-07 15:51:31 +00:00
jeb228
c4062267bd NIHVIVO-405 modify build.xml to recognize debug.log4j.properties if it exists, and to use it instead of default.log4j.properties. Clean up svn:ignore properties in webapp/config 2010-06-07 15:47:43 +00:00
jeb228
bddc92fb72 NIHVIVO-510 Remove warnings for deprecated methods in ServletContext 2010-06-04 16:13:11 +00:00
rjy7
7e730cb0a0 Fixed url on logout link. 2010-06-03 22:22:49 +00:00
jeb228
5b9bf808c8 NIHVIVO-510 Create the FileStorageSetup initializer, instead of the FileStorageFactory 2010-06-03 21:16:03 +00:00
jeb228
bcf06634ee Tell Tomcat not to attempt to persist the Vivo user sessions when Tomcat shuts down. 2010-06-03 21:12:22 +00:00
rjy7
30b07ebd05 Added default formats to Freemarker configuration. Added a test controller and template for running test cases. 2010-06-03 16:20:35 +00:00
rjy7
340970c891 Miscellaneous minor changes for Freemarker implementation. Restored old entitylist instead of new individuallist until url errors in the latter are fixed. 2010-06-02 21:23:23 +00:00
jeb228
5f5d4b98ac Specify java 1.6 compatibility in the compile steps, instead of java 1.5 2010-06-02 20:30:17 +00:00
rjy7
55e68bb232 Remove call to FreeMarkerHttpServlet.getFreeMarkerComponentsForJsp from VitroHttpServlet, since was getting called more than once per request (since there are multiple servlets that are called for a single request). Use calls from the jsps instead. 2010-06-02 17:29:12 +00:00
rjy7
037ff45736 Complete default individual list view in FreeMarker 2010-06-02 17:06:55 +00:00
jeb228
b3ddf9e822 NIHVIVO-160 Move @SuppressWarning("deprecation") so the build doesn't produce deprecation warnings. 2010-06-01 19:59:27 +00:00
jeb228
8d366fec4c NIHVIVO-432 use <sync> to remove any FreeMarker templates that were left over from previous builds. 2010-06-01 19:58:17 +00:00
jeb228
429479f242 NIHVIVO-160 Rewrite JenaXMLFileUpload to use the FileUploadServletRequest. 2010-06-01 17:10:57 +00:00
jeb228
59392fc934 NIHVIVO-160 Clean up the code: remove unused imports and variables. 2010-06-01 17:09:11 +00:00
jeb228
f584aebbd5 NIHVIVO-160 Rewrite FedoraDatastreamController to use the FileUploadServletRequest. 2010-06-01 16:54:28 +00:00
jeb228
77f9fd2d30 NIHVIVO-160 Add getFileItem() 2010-06-01 16:49:49 +00:00
jeb228
3646092f4d NIHVIVO-160 Clean up the code: remove unused imports and variables. 2010-06-01 13:40:29 +00:00
rjy7
c2fa2c4e37 Handle custom search views used on individual list page. 2010-05-28 21:44:59 +00:00
rjy7
a4f652ddbf removed debugging print statement 2010-05-27 22:13:00 +00:00
rjy7
b26d294ea1 NIHVIVO-517 Fix identification of active tab in main menu 2010-05-27 22:12:24 +00:00
rjy7
6bfab4e431 Changed visibility of FreeMarkerHttpServlet root hashmap to private, so other controllers can't add to it. 2010-05-27 20:47:09 +00:00
jeb228
bbc5765663 NIHVIVO-160 Rewrite RDFUploadController to use the FileUploadServletRequest. 2010-05-27 20:05:38 +00:00
jeb228
0df8cdac42 NIHVIVO-160 Pass the FileUploadException through to the caller. The user particularly needs to see it if it is FileSizeExceeded or RequestSizeExceeded. 2010-05-27 20:03:39 +00:00
jeb228
772de8c449 NIHVIVO-160 Use the temporary directory for files that are too big to hold in memory. 2010-05-27 19:48:35 +00:00
rjy7
99a080ad3f Corrected path to templates in FreeMarkerComponentGenerator. Contact form gets form action passed in by controller. Updated some comments. 2010-05-27 19:43:56 +00:00
jeb228
ee2697f23f NIHVIVO-160 Rewrite N3MultiPartUpload to use the FileUploadServletRequest. Some code in EditConfiguration becomes redundant. 2010-05-27 19:11:00 +00:00
jeb228
c5967e336e NIHVIVO-160 Add a maximum file size. Ensure UTF-8 encoding on the request parameters. 2010-05-27 19:07:39 +00:00
jeb228
21d1d96df4 Upgrade to servlet 2.5, since we have agreed to support nothing prior to Tomcat 6.0 2010-05-27 18:38:27 +00:00
jeb228
b565e92b00 NIHVIVO-160 Create a request wrapper that will parse the uploaded files without losing track of the request parameters. 2010-05-27 18:36:04 +00:00
jeb228
2f46ad2986 NIHVIVO-160 Clean up the code: remove unused imports, variables, and methods. Correct some generics, and use a more compact way of instantiating the postUpload class. 2010-05-27 18:34:45 +00:00
rjy7
0e545d65c4 Added UrlBuilder class to handle building urls for site links 2010-05-27 14:20:59 +00:00
jeb228
916a7a5d62 NIHVIVO-160 Change package from webapp.utils.filestorage to webapp.filestorage.backend 2010-05-26 20:10:24 +00:00
rjy7
f6b3acd831 Moved url utility methods into Routes class 2010-05-26 16:04:46 +00:00
rjy7
b7d2027da4 Some reorganization of templates. Restored entitylist as destination of links on index page, since new individuallist controller/templates not finished yet. 2010-05-26 14:03:59 +00:00
rjy7
8b0665a0d7 Clean up paths and names relating to contact form. Use freemarker template to generate email backup. 2010-05-25 20:49:50 +00:00
jeb228
a16985ccaa NIHVIVO-160 Complete the first iteration of coding and testing - especially avoidance of Windows reserved words. 2010-05-25 20:33:32 +00:00
jeb228
60958400f1 Make file deletion more robust. Make file creation more robust.
Handle newlines rigorously when reading a file.
2010-05-25 20:31:09 +00:00
rjy7
fbdba79833 Rewrote IndividualListController to handle error conditions from within FreeMarker. Reorganized controller control flow to account for interdependencies between body and title. 2010-05-25 19:20:25 +00:00
jeb228
f40e2d1af7 NIHVIVO-160 FileStorage.getInputStream returns an InputStream, instead of an array of bytes. Read it however you like. 2010-05-24 19:27:27 +00:00
jeb228
b86ec9e7b2 NIHVIVO-160 Remove the maximum file size - no need for it at this level. 2010-05-24 19:18:41 +00:00
rjy7
fe89b1f7e9 Deleting vitro/webapp/web/correctionForm.jsp: no longer used or needed. 2010-05-24 19:15:34 +00:00
jeb228
544432acc1 NIHVIVO-160 Complete the FileStorageHelper, with tests. 2010-05-24 15:20:31 +00:00
rjy7
c4709265c4 Work on FreeMarker version of individual list page 2010-05-21 21:49:53 +00:00
rjy7
4aa300e5a3 Changed FreeMarkerHttpServlet static variables from public to protected. Moved files into the freemarker package as needed to support access to those variables. 2010-05-21 18:26:17 +00:00
jeb228
787e378a3c NIHVIVO-160 Start writing unit tests as the implementation progresses. 2010-05-21 17:42:03 +00:00
jeb228
734067f22a NIHVIVO-160 These belong in the 'src' directory, not in the 'test' directory. 2010-05-21 17:35:11 +00:00