Commit graph

260 commits

Author SHA1 Message Date
cdtank
32bbd519c2 1. Added a generic query handler. It will be used to get all (or a subset) of the properties for a particular URI. This will be helpful in getting image paths & other info on the fly.
2. Made changes to the test bed to include more samples.
2010-06-27 01:42:12 +00:00
cdtank
ee2b141687 1. Modified the content header for the graphML file so that it streams instead of downloading it to the user's machine as a file attachment. This is required because thats how the flash expects the input file to be.
2. Added Asik's first draft of the co-authorship visuazlization files. 
3. Integrated the front end with the back end.
2010-06-26 02:11:59 +00:00
cdtank
ff351a8dce 1. Modified code so that the Node Co-author names can be captured properly.
2. Also changed the way I selected min or max published year. 
1. Added a graphml exporter for the co-author vis.
2010-06-25 21:02:25 +00:00
cdtank
41dfb27bd0 1. Refactored some part of the code to give it a better structure & give it more modularity.
2. Added the first draft of the co-author data feeder.
3. Modified the Dummy Vis Client to have a clear notification re: it being a test bed.
2010-06-24 20:27:25 +00:00
cdtank
9a6a7ce3fb 1. SPARQL query was illegally modified due to Refactor. This led to "foaf:Person" being changed to "foaf:Individual".
2. Changed the slugify logic so that only first 10 letters are considered for the file nam, else the filenames become very very big, especially for schools like CALS.
2010-06-23 02:34:29 +00:00
cdtank
4a74799a18 1. Made changes to the value objects structure/inheritance.
2. Removed unnecessary fields from BiboDocument.
3. Changes to the Query & Vis request handlers to incorporate changes to the VOs.
2010-06-23 01:25:03 +00:00
cdtank
25e534e23f 1. Added code related to Visualization Framework.
2. Added code related to Person Publication count visualization.
3. Added code related to College Publication count visualization.
4. Added code related to PDF Report visualization.
2010-06-21 21:44:26 +00:00
rjy7
083aa4e530 NIHVIVO-646 Broke up FreeMarkerHttpServlet write() method into separate pieces for greater flexibility in subclass controllers. 2010-06-17 22:17:48 +00:00
rjy7
369a0f0a93 NIHVIVO-646 Break setup method into two parts, so that FreeMarker controllers that aren't generating a full page only do the part of the setup they need. In particular, the autocomplete controller doesn't need to do page setup. 2010-06-17 21:45:02 +00:00
rjy7
97a753b66e NIHVIVO-646 Add cancelUrl parameter to submit tag in InputElementFormattingTags so that the cancel button can redirect to a different page from the form submission. Change cancel values in submit tags in vitro and vivo forms to "true" where previously they specified a uri, because the uri is misleading (it doesn't control the redirect location). Removed edit submission preprocessing due to problems with cloning. 2010-06-17 14:26:59 +00:00
rjy7
2ba28a04a5 NIHVIVO-646 Initial setup for autocomplete field in authors form.
Fixed typos in TabFilteringTest class and getTabHierarchy method names.
2010-06-16 15:33:14 +00:00
rjy7
09473b4531 NIHVIVO-646 Sort author list on add author form by authorship rank 2010-06-15 22:27:06 +00:00
rjy7
5a1b1b2d80 NIHVIVO-646 More work on addAuthorsToInformationResource custom form. Create edit submission preprocessing mechanism to make automated modifications to the form submission (e.g., creating a label from first, last, and middle name entries). 2010-06-15 19:35:36 +00:00
rjy7
ba418660e3 NIHVIVO-646 Continued work on custom form for adding authors to publications 2010-06-14 16:36:11 +00:00
jeb228
b8c36d7f32 NIHVIVO-161 add method ObjectPropertyStatementDao.getObjectPropertyStatements(ObjectPropertyStatement) to search for all object properties that match a given pattern. 2010-06-12 22:23:47 +00:00
rjy7
6adee49eef NIHVIVO-646 add authors to publications custom form 2010-06-11 21:11:17 +00:00
rjy7
4e168078c6 Added Support link to header and footer link lists. Modified firstLastList macro so it doesn't require delimiters separating the list items. 2010-06-09 19:37:16 +00:00
rjy7
1aa4bb00d6 Improved implementation of script/stylesheet object wrapping to make them writable. 2010-06-09 16:13:24 +00:00
rjy7
4c3259163b Modify default FreeMarker bean wrapper so template data is read-only. Use different bean wrapper for script and stylesheet objects. Added methods to IndividualView class. 2010-06-08 22:24:12 +00:00
rjy7
b27617696f Changed theme template directory name 2010-06-08 19:00:56 +00:00
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
5d4f3d8601 Removing debut statements and adding support for validation of annotation properties on forms. 2010-06-07 15:51:31 +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
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
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
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
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