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
bkoniden
970c686dc0
NIHVIVO-1986 -- The blank screen problem is resolved for present. But the more general problems NIHVIVO-1659 and NIHVIVO-1686 have to be addressed for a complete solution.
2011-02-03 18:42:32 +00:00
cdtank
49116a20b2
1. Changed wordings for CSV file downloads & Network Image files for co-author & co-investigator networks.
...
2. Changed Temporal Graph legend links to be save as other clickable links (blue-ish)
3. Changed wordings on temporal graph vis.
4. Changed default sorting to be first on counts (desc) & then entity names (asc)
5. Changed how the constants were intiated for temporal vis, this is preparation for other tasks.
6. Since now if no URI is provided to the tmeporal graph vis it defaults to the highest levbel org. Removed the AJAX call to a utilites servlet that calculated this beforehand.
2011-02-02 21:04:36 +00:00
bkoniden
b1f72c276f
NIHVIVO-1681 -- Made changes to EntityPubCountRequestHandler for graceful degradation of the vis incase the highest level org contains no pubs/grants.
2011-02-02 18:22:39 +00:00
bkoniden
fb263e3178
Refactoring names of startdates in QueryFieldLabels.java
2011-01-31 19:35:58 +00:00
bkoniden
98231b0ce3
NIHVIVO-1940
...
- Modified the grant queries to use role's dateTime as a general rule and default to grant's dateTime when role's dateTime is not available.
2011-01-31 19:18:51 +00:00
bkoniden
d039a74929
Making the change addressing NIHVIVO-1940 to Temporal Graph too.
2011-01-28 15:02:01 +00:00
bkoniden
bf715d7425
NIHVIVO-1940
...
1) Fixing the queries to retrieve date/time information from the role and not from the grant.
2011-01-28 14:54:17 +00:00
bkoniden
cfe93b5142
NIHVIVO-1681
...
1) Committing changes to EntityPublicationCountRequestHandler to retrieve the highest level org on no uri parameter in the URL.
2011-01-27 22:18:53 +00:00
bkoniden
797c1fa2f7
NIHVIVO-1731
...
2) Removed redundant code from Grants.java -- fields such as year, yearMonth that are irrelevant now
2011-01-27 19:22:41 +00:00
bkoniden
9c72c0af02
NIHVIVO-1731
...
1) Modified body foe getParsedGrantStartYear(). -- Previously, it used custom logic for parsing the year value of a Date string. Now, it uses jodatime library's utilities to parse year values.
2) Removed redundant code from UtilityFunctions.java -- pertaining to grantUtility functions.
2011-01-27 19:15:36 +00:00
cdtank
b65c2bccbe
1. Changes to fix the bug in display of years attached to publications. (see NIHVIVO-1794) It was caused due to change in Date/Time format representation in the backend.
...
2. Added code so new date/time formatters can be added with ease.
2011-01-27 18:21:02 +00:00
cdtank
1f7962a454
1. Made style changes to the temporal graph vis per Katy's suggestions.
...
2. Refactored the temporal graph views (based on different comparison parameters). Now there is one basic template from which different parameter templates inherit.
3. Did code cleanup for the same.
4. Removed GUI related javascript into separate file & include it in the common basic template for temporal graph vis.
5. Reflected the changes in the servlets as well.
2011-01-25 00:55:47 +00:00
cdtank
c5709c2c74
1. Fix for the bug NIHVIVO-1775 essentially not displaying collaboratorship links (co-authorship or co-piship) if there are no publications (or grants) for that individual. The affected pages are foaf:Person profile page, co-authorship & co-piship pages for a foaf:Person.
2011-01-20 22:49:56 +00:00
bkoniden
0c50024664
Fixing minor syntax error in copigrant query.
2011-01-20 21:47:08 +00:00
bkoniden
2f26db2b7f
Commenting out sys.out statements.
2011-01-20 18:46:16 +00:00
bkoniden
628d7615f3
Resolving the following:
...
(NIH-1804) Do investigator grants show up in visualizations of just principal-investigator?
(NIH - 1826) Make sparql queries for Grants related visualizations compliant to 1.2 for the date property
Made changes to the grant queries to include core:dateTime property.
2011-01-20 18:44:13 +00:00
bkoniden
239b6d40d7
NIVIVO - 1732 For temporal graph vis if an organization does not have any publications then there is no option to switch to "by Grants" mode
2011-01-19 21:45:43 +00:00
cdtank
f6429af187
1. Made changes so that publication related visualization queries respect the 1.2 ontology's date proeprties & also pre-1.2 onotology data. It first attempts to get date using new property, failing which it sees if date is present in old property & proceeds accordingly.
...
2. Refactored code for temporal graph vis. Fixed couple of bugs in it.
2011-01-19 20:23:22 +00:00
bkoniden
c73cb28426
The queries for TemporalGraph, CoPI and PersonGrantCount (individual sparkline for grants) now include core:hasInvestigatorRole and core:investigatorRoleOf while calculating the total number of grants.
2011-01-19 20:11:39 +00:00
bkoniden
51f108547a
1) Created a ftl for displaying Temporal vis Grants.
...
2) Made changes to util.js to reflect the state (grants or pubs)
2011-01-14 17:56:56 +00:00
cdtank
72feb61f5f
1. Made change so that first deploy.proeprties file is looked for a valid URI for highest level organization in (visualization.topLevelOrg) & if found & valid, this will be used in the temporal graph vis for top level org.
2011-01-13 00:25:00 +00:00
bkoniden
9971e5fa2b
Committing the following changes
...
1) Handling Null pointer Exceptions for EntityPubCount, EntityGrantCount and EntitySubOrganizationTypes
2) Removing the dependency on vis_mode parameter in the server side code. The class the individual belongs to is retrieved using vitroRequest.getWebappDaoFactory().getIndividualDao().getIndividualByURI(IndividualURI).isVClass(ClassURI)
3) On the client side, the vis_mode parameter is set(from the value passed on by the requesthandler) to differentiate between personURL and SubOrganizationTemporalGraphURL on drill down.
4) Added entityComparisonErrorActivator.ftl to handle edge cases (if the resultset of the queries is NULL)
2011-01-12 23:16:30 +00:00
cdtank
c7b9c208ef
1. Made changes to the URLs in the repository to use /visualization instead of /visualizationfm
2011-01-12 19:59:20 +00:00
cdtank
fecd8d938d
1. Attempting to delete old visualization back-end & front-end
2011-01-12 19:29:37 +00:00