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
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
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
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
734067f22a
NIHVIVO-160 These belong in the 'src' directory, not in the 'test' directory.
2010-05-21 17:35:11 +00:00
rjy7
197aa2f4f9
Tweaks to: adding stylesheets from freemarker templates; contact form styles. Add sender's name to sender address on contact form email notification.
2010-05-21 16:39:32 +00:00
rjy7
bda278e59b
Implement StylesheetList and ScriptList view objects and new strategy for templates to direct stylesheets and script files to be loaded onto a page.
2010-05-21 15:55:26 +00:00
rjy7
5ed46b631b
NIHVIVO-442. Fixed logout link in identity. Error was in URL generated in FreeMarkerHttpServlet.
2010-05-20 16:58:13 +00:00
rjy7
dbafad9e9e
Fixed compile error
2010-05-20 13:23:20 +00:00
rjy7
a005d26f1c
Fixed try/catch statement in ContactMailController
2010-05-19 21:31:17 +00:00
rjy7
4f77fa419e
Changed class Router to Routes to clarify its purpose. Decode the referrer url in the contact form email.
2010-05-19 21:08:48 +00:00
bdc34
947c6841c9
Changing log message so it is less alarming on startup
2010-05-19 20:55:27 +00:00
bdc34
8b7d510e26
Removing AXIS web services. NIHVIVO-415
2010-05-19 19:52:29 +00:00
rjy7
f88a77d307
Rewrote comment form controllers and templates in FreeMarker.
2010-05-19 19:50:54 +00:00
rjy7
d24ea067ca
Temporarily add back CONTACT, since the version of FreeMarkerHttpServlet in svn is looking for it.
2010-05-19 18:31:53 +00:00
rjy7
6741f7d586
Fix link to individual list page
2010-05-18 17:38:47 +00:00
rjy7
269b89825f
Reorganized FreeMarker controllers into a single package
2010-05-18 14:24:03 +00:00
rjy7
fc8c9876f0
Move Terms of Use controller & template into FreeMarker.
2010-05-17 21:30:54 +00:00
rjy7
046ca60439
Use FreeMarker controller and templates for About and Index pages. Improvements to FreeMarkerHttpServlet.getUrl() method. Unit tests for FreeMarkerHttpServlet static methods.
2010-05-17 17:26:40 +00:00
rjy7
aab3f23f3a
Breadcrumbs template. Copied some templates into vivo-basic theme.
2010-05-14 20:50:33 +00:00
sjm222
8d538b5fc6
modifications for NIHVIVO-246.
...
changed the getSuperPropertyURIs and getSuperClassURIs methods in the property and class DaoJenas (and the interfaces that they implement, and the filtering code) to take an additional boolean argument named direct and to pass it to the Jena call.
changed the edit controllers to invoke the above methods with direct=false.
changed the recursive methods within the daos to invoke the above methods with direct=true
2010-05-14 20:40:19 +00:00
rjy7
3105e29bca
Use FreeMarker templates to generate page identity, menu, search, and footer in JSP pages. This will allow theme authors to work just with the ftls rather than having to maintain both jsp and ftl versions of these templates, during the transition from JSP to FreeMarker.
2010-05-14 20:01:12 +00:00
hjk54
73172f4f40
Datastar cleanup release - including changes to access permissions review and editing as well as fedora utilities.
2010-05-14 17:37:55 +00:00
rjy7
7c72f0f37c
Implement multi-location template loading to look for a template first in the themes directory, then in the vitro template directory.
2010-05-12 15:08:56 +00:00
rjy7
a0c93fda6d
Move FreeMarker templates, controllers, setup, and library upgrades into trunk. Not used to generate any pages or templates yet (except a couple of hidden pages that are only available through the url).
2010-05-11 20:37:48 +00:00
bdc34
a8cfc10b2e
Fixing bug in HTTP accept header processing as requested by timbl@w3.org
2010-05-11 13:50:33 +00:00
sjm222
886d88e129
change method name (of the method newly added to PropertyDaoJena) from getClassesRestrictedOn to getClassesWithRestrictionOnProperty (NIHVIVO-404)
2010-04-28 17:01:17 +00:00
sjm222
83f0854c31
resolution of JIRA issue NIHVIVO-404
2010-04-28 14:47:47 +00:00
rjy7
4359520ee8
Added validation to custom activity form to ensure that end date does not precede start date
2010-04-15 21:43:33 +00:00
rjy7
be65629194
NIHVIVO-377 When a custom form fails validation due to a missing organization, the server generates an error appropriate to the non-Javascript version of the form, and the Javascript then modifies it for the Javascript version of the form.
2010-04-14 21:28:10 +00:00
rjy7
1df47314e1
Improved custom form behavior so after returning from a failed submission due to validation errors, we can return to the view we were on, without attempting to detect that from the organization input field data (since if all three fields are empty we cannot determine the previous view).
2010-04-14 20:33:41 +00:00