Commit graph

5279 commits

Author SHA1 Message Date
jeb228
9a525138bf NIHVIVO-161 Check to see whether they are logged in before permitting this edit. 2010-07-02 17:28:01 +00:00
jeb228
c613eb6d7c NIHVIVO-161 Fix links so a non-Person with no photo will have the usual "Image +" link. Add "thumbnail" class to the link, so it is available for special CSS, if desired. 2010-07-02 16:53:57 +00:00
jeb228
14eb8a1311 NIHVIVO-161 Compensate for an image that was reduced for display. 2010-07-02 15:57:24 +00:00
bdc34
8ae2563312 Fixing problem with quotes in entityBasic.jsp 2010-07-02 14:55:59 +00:00
rjy7
767ca049e0 Created method for VitroHttpServlet setup, callable by FreeMarker controllers that have their own doGet() method. 2010-07-02 14:45:11 +00:00
rjy7
e7675e494d Added license text 2010-07-02 03:49:31 +00:00
rjy7
9cdaabd0fb NIHVIVO-646 Reorder authorships through drag-and-drop. Handle success and failure cases. Reset element positions after a removal. 2010-07-02 03:40:04 +00:00
cdtank
264b9ef213 1. minor modification to the styling 2010-07-02 01:54:00 +00:00
cdtank
34b06281e5 1. minor modification to the styling & change in a url parameter. 2010-07-02 01:26:45 +00:00
cdtank
a8d6b13c3d 1. Made changes to style of the person level elements.
2. Made changes as to how the URI for "download data" & "view full timeline n/w" were generated.
2010-07-02 01:06:46 +00:00
bdc34
ec7a7c23a8 Adding ability to hide classes in search. NIHVIVO-643. Adding ability to have n3 files in ontology directories. 2010-07-02 00:24:15 +00:00
cdtank
12a005ea96 1. Making changes to house the draft integration of coauthor, sparkline & other person level vis's content in one place.
2. Made changes to the styling of some elements like publication data table etc.
2010-07-01 22:26:36 +00:00
jeb228
28d5c6e672 Fix the licensing information on cropImage.js and validateUpload.js 2010-07-01 20:11:36 +00:00
mb863
4917c10024 added js for validating upload photo form. Users must select a photo before hitting the Upload Photo button. 2010-07-01 20:10:29 +00:00
mb863
e50507efee added validation for uploading a photo. Users must select a photo before they hit the upload button. 2010-07-01 19:10:34 +00:00
mb863
98b71db1f4 Added script to reduce original image size to fit in page layout 2010-07-01 18:48:35 +00:00
rjy7
194d7cdb81 NIHVIVO-646 Drag-and-drop author reordering 2010-07-01 18:27:06 +00:00
rjy7
962e1927ae minor text change 2010-07-01 18:19:30 +00:00
cdtank
64ff99a222 1. Created a draft person level vis (integration of sparkline & co-authorship vis)
2. Modified the person pub count to use a single VO to give access to jsp to various contents of sparkline.
3. Modified test bed to include link to Person Level vis.
2010-07-01 16:45:02 +00:00
jeb228
15bcf62f7f NIHVIVO-161 Tweak the javascript and the arithmetic for cropping the image. 2010-07-01 15:54:31 +00:00
cdtank
0e8e1dc9e2 1. Refactored code to use a utility method instead of having the same method being defined in each of the vis request handlers.
2. Adding a "person level" vis package to handle combination of sparkline & co-authorship vis page.
3. Testing out the concept of accessing fields of a class form jsp page.
2010-07-01 15:54:11 +00:00
rjy7
61714819b0 NIHVIVO-161 Minor Javascript refactoring. 2010-07-01 14:35:53 +00:00
rjy7
b1a35f1588 NIHVIVO-161 Transfer thumbnail preview coordinates to hidden form fields to be received by the controller. 2010-07-01 14:20:18 +00:00
jeb228
ebba9909fb NIHVIVO-161 Make image height and width available to the cropping template. 2010-07-01 13:34:50 +00:00
cdtank
d87ffcc3be 1. Made changes to the sparkline logic to display last 10 years of activity (at the minimum).
2. Made changes to alter the text next to the sparklines to include the range of years considered.
2010-06-30 20:53:54 +00:00
rjy7
167e3c9611 Minor cosmetic changes. 2010-06-30 20:33:24 +00:00
rjy7
681cc62c21 Move image cropping js out of template into separate js file. Use existing jquery.js rather than the one included with jcrop. 2010-06-30 20:30:06 +00:00
cdtank
7564c9b24e 1. added a VO for the person pub count data. The goal is to be able to get specific parts of the visualization like download data link, table etc.
2. modified peson pub count to make use of the VO.
3. Made changes to the front-end code for the co-authorship to include all the person-level objects.
4. cleaned & refactored the code.
2010-06-30 19:19:48 +00:00
jeb228
643ed3d53f NIHVIVO-161 Tweak the interface for displaying a system error. 2010-06-30 18:42:09 +00:00
jeb228
7b3b9d27e8 NIHVIVO-161 Don't show "main image" as an object propety in the editing list. 2010-06-30 18:39:35 +00:00
jeb228
ceb1bb2af9 NIHVIVO-161 Remove obsolete files from previous implementation. 2010-06-30 18:12:49 +00:00
jeb228
0b83d8b681 NIHVIVO-161 Refine the controller so we can forward to other locations. 2010-06-30 18:02:42 +00:00
rjy7
a0169e34d4 NIHVIVO-646 Improved the name query for autocomplete 2010-06-30 15:25:30 +00:00
jeb228
020c60d9eb NIHVIVO-161 First cut at Image Upload 2010-06-30 13:44:33 +00:00
rjy7
0a649cf023 Add license text 2010-06-30 12:54:40 +00:00
jeb228
7ae2136362 NIHVIVO-161 First cut at the controller. 2010-06-30 12:37:00 +00:00
cdtank
94755a7f73 1. Refactored/Cleaned the front-end for the co-author vis.
2. Added Gson library for making use of json. 
3. Added capability to send information in json format. We will use this especially in getting non-specific information on the fly about an individual.
2010-06-29 22:07:55 +00:00
jeb228
2db11824f3 NIHVIVO-161 Adjust the size of the thumbnail, and the hover text. 2010-06-29 21:37:13 +00:00
jeb228
2455ec0dfb NIHVIVO-161 Tweaks LinkStruct so the image links can have a CSS class that is different from the displayed text. 2010-06-29 21:36:31 +00:00
jeb228
a39d277ca1 NIHVIVO-161 Tweaks to guard against null arguments. Add removeThumbnail() method. 2010-06-29 21:26:19 +00:00
jeb228
54ccd08923 Dampen the logging of some classes. 2010-06-29 20:01:33 +00:00
jeb228
79f7c2e490 Bug fix -- this was only parsing the parameters that were in the POST body -- not the ones in the URL itself. 2010-06-29 20:00:41 +00:00
jeb228
2b858d55e4 Add a debugging statement 2010-06-29 19:58:49 +00:00
cdtank
e58927661e 1. Refactored part of the code to give a better structure.
2. Moved image url provider to the generic utilities package.
3. Made change to co authorship jsp page to dynamically load images, which in turn uses utilities api to get the imageThumb url for a person. In case of no image, we dont append anything & hence no "placeholders" or "broken image" icons will be seen in some browsers like IE.
2010-06-29 16:54:59 +00:00
rjy7
fd0df8b281 NIHVIVO-646 Autocomplete, remove author functionality 2010-06-29 16:15:49 +00:00
cdtank
cf4ac521c4 1. House cleaning.
2. Added javascript-ajax hooks to call the utilities servlets to serve well formed urls for profile & coauthorship visualization urls.
2010-06-29 00:20:49 +00:00
cdtank
954b726904 1. Modified the edge generation logic in co-author vis to exclude all the edges between an ego & it self.
2. Refactored some portion of the code.
3. Added another utilities vis - whose sole job is to generate URLs on the fly for requested individuals - whether it be profile urls or some other vis specific urls.
2010-06-28 23:16:14 +00:00
jeb228
0f6fd1b39a If the default namepace is not correct for linked data, log a warning instead of throwing an exception. 2010-06-28 19:36:49 +00:00
rjy7
12a79ea928 Remove unwanted template code 2010-06-28 14:37:32 +00:00
rjy7
7d323d8cbd NIHVIVO-646 Tweaks to autocomplete on add authors to pub form 2010-06-28 14:37:05 +00:00