Commit graph

406 commits

Author SHA1 Message Date
mbarbier
e08a675874 web.xml: add servlet for ExportQrCodeController
individual-exportQrCode.ftl: basic mockup for QR Export page
ExportQrCodeController: created
IndividualTemplateModel.java: prevent QR data from being generated twice, add URL for Export QR Code page
2011-04-06 19:19:57 +00:00
mbarbier
edf091372e IndividualTemplateModel.java: Add externalUrl to getQrData()
individual-qrCodeFoafPerson.ftl: Use externalUrl
2011-04-05 19:37:15 +00:00
mbarbier
3766dc25bd IndividualTemplateModel.java: Add getQrData()
individual-qrCodeFoafPerson.ftl: Use getQrData()
individual-setup.ftl: Undo QR code changes
2011-04-05 18:03:02 +00:00
ryounes
88aa698555 Remove StringUtils class and use org.apache.commons.lang.StringUtils instead. 2011-04-05 16:58:30 +00:00
cdtank
f7452b1bce 1. Added dynamic reload of data instead of page refresh, for temporal graph vis.
2. Added link-textbox for viz of each parameter form the dropdown box in temporal vis.
3. Made sure that the choices are preserved when another option is selected from the dropdown box.
4. Refactor of some legacy front-end code for temporal vis.
5. Added legend for bars drawn below the graph.
6. Formatted the last cached at date time.
2011-03-31 15:37:32 +00:00
cdtank
caa941049b 1. Updated front-end for temporal graph to display helpful message when it takes mnore than 10 seconds to get the data, most likely due to a cached version not available for the requested entity. 2011-03-22 20:59:59 +00:00
cdtank
6c0b24b821 1. Made use of the lastcachedAt property & made changes to the front-end to display a disclaimer in temporal vis saying when was the data last cached. Made use of the infoicon already in use on personal profile pages. 2011-03-21 22:42:09 +00:00
cdtank
4d008e00c5 1. Made use of the lastC 2011-03-21 22:40:27 +00:00
ryounes
f80de8c1ba NIHVIVO-2186 Modify custom list view queries to filter out statements with no linked individual when user is not editing the page. Involves pruning the grouped property list of properties and groups which are thereby empty. 2011-03-21 22:24:37 +00:00
cdtank
77a7ce801a 1. Changed the way person to grants & person to publications models were created, now we create just one model for all the grants & other for all the publication relationships & query against it. 2011-03-21 20:11:28 +00:00
cdtank
daa9d61d04 1. Person to grants was creating wrong models for each person. Fixed. 2011-03-21 19:34:37 +00:00
cdtank
aee1d00801 1. Fix for grants obtaining publication results 2011-03-21 19:33:03 +00:00
cdtank
81736350bb 1. Testing commit from a new workstation. 2011-03-21 19:29:54 +00:00
cdtank
c49e8d1d75 1. Completed the caching-like version for temporal graph for grants.
2. Changed the timeout for front-end getter for temporal vis data since the first time a user requests grant comparison it might take a long time.
2011-03-19 00:11:58 +00:00
cdtank
b1950352e8 1. Test commit rights from another workstation. 2011-03-18 23:56:14 +00:00
cdtank
a3ffff2adf 1. Refactored the enetity grant code.
2. Started initial restructuring of the tmeporal vis code. Now entitycomparison means just that - a container for different vis that do entity comparison. So the newly anointed TemporalGrantVis* goes in there and resides along with TemporalPublicationVis*
3. Added new model constructor for organizations TO grants via investigator role.
4. First attempt at using the new layout for grants but currently restricted only to construct+select on grants via the investigator role.
2011-03-17 16:21:34 +00:00
cdtank
82a6e06e35 1. Testing commit rights to the new sf repo, 2011-03-17 14:08:31 +00:00
cdtank
c4244301d2 1. Refactored the code inside cached impl of temporal vis of pubs. Made the selects on models to be generic enough so that they can be used by other visualizations.
2. Changed the logic that was used to determine the type of a subentity.
2011-03-16 19:16:28 +00:00
cdtank
af0f3e5a3a 1. Development related to a prototype of Temporal vis for publications that will leverage the caching feature. Currently it uses the temporary cached models that are saved in a map. 2011-03-16 16:04:57 +00:00
rjy7
30dd807f8e NIHVIVO-1554 Removed controllers and jsps that have been superceded by Freemarker controllers and templates 2011-03-04 19:24:31 +00:00
cdtank
e14b399147 1. Fix for incorrect error response in case of DataVisualization request. see http://issues.library.cornell.edu/browse/NIHVIVO-2200
2. Also fix for incorrect logic flow in resolving the highest level org.
2011-03-04 17:47:23 +00:00
cdtank
dfef8878cf 1. Code cleanup & refactor to suit the checkstyle. 2011-02-25 20:25:40 +00:00
jeb228
98f53d6409 NIHVIVO-1261 Convert to use the new ConfigurationProperties class. 2011-02-25 17:08:32 +00:00
cdtank
844c8e30be 1. Removed unused construct query runner.
2. Refactored all construct query runners to implement a common interface.
3. Changed AjaxVis*Controller & DataVisContoller to use Dataset instead of Datasource.
2011-02-25 00:47:39 +00:00
jeb228
a4223e7ac6 NIHVIVO-1261 Pass the ServletContext down the chain to FileServingHelper, to prepare for the change in ConfigurationProperties. 2011-02-24 17:52:30 +00:00
cdtank
c0165225ad 1. Added license tags. 2011-02-24 16:33:22 +00:00
cdtank
187bcc1d9a 1. Major refactor of all the VOs that related to publications & grants.
2. Removed some redundant code re: overriden requals & hashcode.
2011-02-24 02:10:05 +00:00
cdtank
e67aac14bb 1. Refactored to remove a parameter not used by the called calss. see http://issues.library.cornell.edu/browse/NIHVIVO-2114 2011-02-22 19:58:36 +00:00
rjy7
55e86daf91 NIHVIVO-2018 Move visualization url-building out of templates into template models. Create vivo-specific IndividualTemplateModel for this purpose. 2011-02-11 23:04:40 +00:00
cdtank
fb7889db10 1. Fix for NIHVIVO-2126 2011-02-11 21:26:03 +00:00
bkoniden
8923eaf09f converting log.info's to log.debug's in all the query runners 2011-02-11 21:20:01 +00:00
rjy7
f73b521a4e NIHVIVO-1461 When template not found, propagate error message up the call stack 2011-02-11 20:41:37 +00:00
bkoniden
e41a4522f7 Removed publication_year_using_1_1_property from the queries for better response times with visualizations and fixed the issue with publications with unknown dates not appearing with temporal vis for publications. 2011-02-11 19:47:28 +00:00
cdtank
ad3497d0bc 1. Partial fix for NIHVIVO-2130. Now the downloadable csv file properly prints out all the authors, with same name. The right hand side bar still prints wrong values in case of authors with duplicate names.
2. Solution for 2 stage loading for temporal graph where now when the intial call is made to it, it returns with the markup & js lib includes & then makes an ajax call to get the data file in json format which is the used to render the linegraph & the table.
2011-02-11 19:06:49 +00:00
bdc34
57819fa584 Changes to EntityPublicationCountConstructQueryRunner and EntitySubOrganizationTypesConstructQueryRunner to improve temporal visualizations. 2011-02-10 16:58:55 +00:00
cdtank
24795af665 1. Making a change to send an organization label to the error response for temporal graoph vis. If the organization uri is invalid then we send "Unknown Organization" 2011-02-10 16:19:16 +00:00
cdtank
0607ce9128 1. Removed redundant variable 2011-02-09 22:42:11 +00:00
cdtank
f1e9475716 1. Made changes to fix the bug NIHVIVO-2087. Incorrent count values were being displayed in cases of collaborators sparklines. 2011-02-09 22:29:34 +00:00
bkoniden
706d9d3c9f Made some significant changes as part of tweaking the queries to reduce response times with SDB. -- NOT CONSIDERED FINAL. 2011-02-09 22:13:36 +00:00
bkoniden
ac6baffa53 Adding timing info for CONSTRUCT vs SELECT on EntityPubCount, EntityGrantCount and CoPIGrantCount. Adding CONSTRUCT queries for PersonGrantCount 2011-02-09 17:26:36 +00:00
bkoniden
655d7a4572 removing a write to System.out in EntitySubOrganizationTypesConstructQueryRunner 2011-02-08 22:13:31 +00:00
cdtank
a298ede830 1. Improved the logic that displayed counts in cases of collaboration sparklines. 2011-02-08 22:09:01 +00:00
bkoniden
4299483b81 NIHVIVO- 1993
Testing CONSTRUCT + SELECT for CoPIGrantCount, EntityPubCount, EntityGrantCount and EntitySubOrganizationTypesCount.
2011-02-08 21:44:17 +00:00
cdtank
c2a0816ec1 1. Refactored the vis code geenrators for publication, coauthor, coinvestigator, grants sparklines to remove unused code.
2. Changed logic to not to generate link to csv downloads if there is 0 publication/grant for an individual.
2011-02-08 21:22:55 +00:00
cdtank
3824aa0c46 1. Adding the license info. 2011-02-08 15:03:52 +00:00
cdtank
0abd2aa86b 1. Refactored common code for getting sub-organization types. 2011-02-08 00:06:02 +00:00
cdtank
35487d0f30 1. Refactored some back-end code for temporal graph vis.
2. Made sure that if no uri is provided to grants temporal graph vis, then the one for highest level is selected.
3. Made sure that any entity (person or organization) directly attached to an organization is considered for temporal graph vis.
4. Changed the page title for temporal graph vis to always start with the label of the entity in question.
2011-02-07 23:58:18 +00:00
cdtank
43269929a6 1. Changed language for when an organization does not have any data to be used for temporal graph vis. (see http://issues.library.cornell.edu/browse/NIHVIVO-2060) 2011-02-07 21:17:27 +00:00
cdtank
0fe39b4c7b 1. Removed a sysout. 2011-02-04 22:43:34 +00:00
cdtank
a9214be4a2 1. Fix for people directly not attached to an organizations not showing up, if the organization happens to be higher up in the hierarchy where it has other sub-organizations beneath it.
2. Made changes to the front-end to reflect new content in temporal vis.
2011-02-04 22:36:23 +00:00