Commit graph

2633 commits

Author SHA1 Message Date
nac26
a8d353dab1 NIHVIVO-2006 Realized that I had introduced a bug in r7283 and was missing the closing </a> for #classes-in-classgroup list items. IE was not a fan. Also removed labels since Raphael uses VML for graphing in IE and I wasn't reliably able to target and hide rvml:textpath. 2011-02-08 13:29:09 +00:00
nac26
1fafef06ba Added test for $currentPage. If login widget is being rendered on the home page, don't use the <noscript> element. Will need to update the test once Rebecca resolves NIHVIVO-2051 to ensure currentPage value is consistent for home page requests. 2011-02-08 13:23:59 +00:00
nac26
2874d610c1 NIHVIVO-1995 Removed individual count from classes for home page browse in non JavaScript version for consistency 2011-02-08 13:09:01 +00:00
sjm222
69c6901411 fixing log message 2011-02-08 02:29:18 +00:00
sjm222
0c2de658a3 NIHVIVO-2067 - Academic Intervals without associated dates lose their connection to course/semester class during the kb migration 2011-02-08 02:26:01 +00:00
bdc34
3843886b87 Changes to Entity2LuceneDoc 2011-02-08 00:43:19 +00:00
bdc34
54fa664a24 Change to LuceneIndexer so that it will attempt to close the searcher if it cannot replace the live index directory NIHVIVO-2065 2011-02-08 00:15:19 +00:00
bjl23
aef7ef1a62 fix for memory leak in SDB 2011-02-08 00:10:19 +00:00
jeb228
2ad4348870 NIHVIVO-2052 Check more explicitly for failure to delete the live index. 2011-02-07 22:33:05 +00:00
mb863
500d71aafe Removed extra semicolon 2011-02-07 21:17:23 +00:00
jeb228
524aeb7676 Correct logical expression to avoid throwing a NullPointerException on a null input. 2011-02-07 19:09:49 +00:00
jeb228
16d14cb86c Add braces to clarify the logic structure, which was not as apparently intended. 2011-02-07 19:06:17 +00:00
jeb228
f0c7ab7b95 The test for an unrecognized literal type was in a place where it could only throw a NullPointerException 2011-02-07 19:02:19 +00:00
rjy7
1b2f7bdf61 NIHVIVO-2028 Display of tab and menu management links is theme-dependent 2011-02-07 18:42:26 +00:00
mb863
d0dea6b3d4 NIHVIVO-2062: In menupages, subclasses links aren't cut off anymore. 2011-02-07 18:40:59 +00:00
rjy7
ccfb017593 NIHVIVO-2057 Add additional values to login widget template data model. 2011-02-07 18:23:42 +00:00
bdc34
22be097879 Removing some commented out code from IndividualJena 2011-02-07 17:57:28 +00:00
bdc34
b78d6ed883 Changing IndividualSDB.getMoniker() to return empty string and never null. NIHVIVO-2061 2011-02-07 17:56:16 +00:00
jeb228
a3345f4c53 Prevent a NullPointerException from a null request, by making that test first. 2011-02-07 17:47:22 +00:00
jeb228
2903d0c20d NIHVIVO-1690 Add debug statement 2011-02-07 17:42:34 +00:00
bjl23
46b98262c1 checking for anonymous classes in SimpleReasoner listener 2011-02-07 17:24:03 +00:00
jeb228
b457504a69 Test for a null EditConfiguration was coming too late to prevent a NullPointerException from the call to editConfig.getN3Generator(). Move the test, and add a return statement after forwarding to the error page. 2011-02-07 17:05:22 +00:00
bjl23
015ee15340 NIHVIVO-1987 additional model listeners for VClassGroupCache in SDB 2011-02-07 17:04:40 +00:00
jeb228
3ee3e0bacd Prevent the debug statement from throwing NullPointerException on a null statement. 2011-02-07 16:43:38 +00:00
jeb228
aae6de1752 Prevent the debug statement from throwing NullPointerException on a null individual. 2011-02-07 16:40:57 +00:00
bjl23
5dead7cbd5 improved detection of unformatted SDB store 2011-02-07 15:58:24 +00:00
rjy7
e028e17010 Added template model methods to get first value of data properties and first statement of data props and uncollated object props. Improved efficiency of moniker/preferred title code in person template. Added order by statement to default list view queries so order is not random. 2011-02-07 15:52:51 +00:00
jeb228
ec5283795f A constructor can never return null, but it can throw an exception. So don't bother to test whether the FileInputStream is null; instead, catch a FileNotFoundException. 2011-02-07 15:39:34 +00:00
bjl23
3ad00d0ace NIHVIVO-2049 fix so classes, classgroups, etc. don't get indexed 2011-02-07 15:37:56 +00:00
jeb228
b28fa05ffd A constructor can never return null, but it can throw an exception. So don't bother to test whether the FileInputStream is null; instead, catch a FileNotFoundException. 2011-02-07 15:32:15 +00:00
bdc34
fa5cb40ff7 Fixing error in generation of more link for tabs, list views and search results. NIHVIVO-2050 2011-02-07 15:26:05 +00:00
jeb228
7c2de0dbf2 Because instanceof returns false on null, the explicit test for null would never be reached. 2011-02-07 15:22:36 +00:00
jeb228
eee793bb32 Prevent the debug statement from throwing NullPointerException on a null statement. 2011-02-07 15:20:08 +00:00
jeb228
b901521f7b Prevent the debug statement from throwing NullPointerException on a null Query. 2011-02-07 15:17:58 +00:00
tlw72
1906e6a484 NIHVIVO-2047: modified date-time precision error message 2011-02-07 14:48:30 +00:00
nac26
573aaf3488 NIHVIVO-1603 Forgot to include this crucial piece with my last commit (r7357) 2011-02-06 01:48:33 +00:00
nac26
38f021251a NIHVIVO-1603 Using jQuery in place of DWR to return the moniker selection experience to its former glory 2011-02-06 01:44:24 +00:00
nac26
e56e4d89b4 NIHVIVO-2048 removed menupage--classgroup-organizations.ftl and any accommodations made for it 2011-02-05 17:44:10 +00:00
nac26
20ab4cc157 NIHVIVO-1965 Better message for authenticated users with access to the site admin when accessing the site with little or no content. Also refactored BrowseController so that it doesn't attempt to override template and provide it's own message if no content is found. 2011-02-05 17:24:40 +00:00
sjm222
2e9cd79352 fix for NIHVIVO-2043 can't start in SDB mode with empty DB 2011-02-05 14:24:30 +00:00
nac26
5a896aad34 Rolling back 2 files that were unintentionally committed with r7350 2011-02-05 13:17:26 +00:00
nac26
b6170b6f9d NIHVIVO-2033 Added test in emptyResultSet() to handle the rare (but possible) occurrence where a class is rendered in the list due to having an individual count > 0, but for some reason the Search Index has not been rebuilt, so those individuals are not returned by the JSON service. 2011-02-05 00:25:04 +00:00
rjy7
a9cf814054 NIHVIVO-2038 Cleanup of merge of populated object property list with all possible object properties. Eliminated construction of a list of propertyUris that has to be maintained in parallel to the list of properties, while still not having to instantiate a property for each property uri to check against the list. 2011-02-05 00:07:58 +00:00
nac26
82f24c5966 NIHVIVO-2040 Added data-page attribute on pagination links and removed pageX class since they're no longer needed. This makes it easier to reliably handle multiple digit page numbers without jumping through hoops. Can't rely on .text() do to the "more..." pattern. 2011-02-05 00:07:48 +00:00
bdc34
79ac60c8e8 Moving the check for prohibited from search to Entity2LuceneDoc for performance reasons. 2011-02-04 22:46:08 +00:00
bdc34
d6adc88ef8 Fixing bug in DateTimeWithPrecision that caused it to not accept days greater than 28. NIHVIVO-2016 2011-02-04 22:45:00 +00:00
rjy7
616c74254c Fixed error message on mismatch between default namespace in deploy.properties and the db so that the portal name is not attached to the namespace. Also fixed typo in LuceneSetup message. 2011-02-04 22:37:07 +00:00
rjy7
b931f50cef NIHVIVO-2045 Hide incomplete/malformed links from individualList template, to make things easier (it doesn't have to check the wellformedness of each link before knowing whether to print the ul around the links). 2011-02-04 22:33:45 +00:00
bjl23
f3e76bfb1a NIHVIVO-1370 NIHVIVO-2046 tab editing bugfixes for SDB 2011-02-04 21:49:17 +00:00
nac26
4157612f57 NIHVIVO-2016 Removed customFormWithAutocomplete css and js from dateTimeValue and dateTimeInterval custom forms. Was causing the submit button to be hidden on page load. 2011-02-04 21:23:25 +00:00