Commit graph

5240 commits

Author SHA1 Message Date
j2blake
b86a34b611 VIVO-73 Check for null Set from ServletContext.getResourcePaths() 2013-06-06 18:09:13 -04:00
j2blake
91277a1715 VIVO-120 VitroRequest.getFullWebappDaoFactory() is poorly named.
In fact, it returns a reference to the unfilteredWebappDaoFactory, and this was changed (broken) by the work on VIVO-82.
2013-06-06 17:33:02 -04:00
j2blake
ed95df1637 VIVO-82 Merge the filters that set up VitroRequest models
VitroRequestPrep and WebappDaoFactorySDBPrep merge to RequestModelsPrep. WebappDaoFactorySparqlPrep goes away.
2013-06-06 17:28:45 -04:00
j2blake
a19227188b VIVO-120 improve the error messages from OperationUtils.cloneBean()
Add unit tests for the method and restructure the logic so a failure to create the clone is treated as seriously as a failure to load it with values. Previously  a failure to create resulted in a null return (with a log message) while a failure to load resulted in an exception (with a log message).
2013-06-05 15:37:05 -04:00
j2blake
9ec06f224e Trivial changes 2013-06-04 14:21:21 -04:00
j2blake
140fd0eb8b VIVO-117 Turn off HTTP caching unless explicitly enabled in runtime.properties. 2013-06-03 15:44:17 -04:00
j2blake
2134981110 Merge branch 'develop' of git+ssh://github.com/vivo-project/Vitro into develop 2013-05-31 17:56:20 -04:00
Stephen V. Williams
16412889b2 merged i18n changes in searchPageResults into feature/search-download changes for downloading results and adding counts to facets 2013-05-31 15:02:13 -06:00
Stephen V. Williams
fb70b50108 Added search counts to the searchTOC - see listserv email for request 2013-05-31 14:38:52 -06:00
Stephen V. Williams
8880d87484 changed order so name is first, removed vivo items (added to the VIVO branch of this feature) from xmlResults. 2013-05-31 12:20:27 -06:00
j2blake
5bf80c3e14 VIVO-118 Make getDataPropertyByURI() an unfiltered operation.
This method is used to determine whether a given property is a data property or not. If the user is restricted from displaying this property, then the filtered answer is NO. But that is really inappropriate. The real questions are whether the user can see the values of this property, and whether the user can add or modify values of this property -- not whether the user can see or modify the property itself.
2013-05-31 12:40:15 -04:00
j2blake
9a6f300993 VIVO-118 Clean up DataPropertyDaoFiltering
Remove unused imports, add @Override tags as appropriate. Remove unused methods (don't override the interface, not called). Separate filtering methods from non-filtering methods. Cosmetic formatting.
2013-05-31 12:32:32 -04:00
tworrall
4a01fa057b more template updates for i18n 2013-05-31 11:57:37 -04:00
Stephen V. Williams
b5e148975a fixed a bug in the download that didn't allow it include limits such as Class when drilling down, added a slider that allows you to modify the maximum number of results returned and modified the csv template to include the sitename, query text, and date in its header 2013-05-31 09:23:05 -06:00
j2blake
20e6db75cd Remove unused imports. 2013-05-28 15:39:33 -04:00
j2blake
c9e666048e VIVO-92 Remove OntModelSelector.getTBoxModel(String ontologyURI)
This variant of getTBoxModel() is never called in the code, and it not implemented correctly in any of the implementations of OntModelSelector. Lose it.
2013-05-28 15:39:07 -04:00
j2blake
ee6141adc2 Clean up JenaAdminActions to remove compiler warnings.
Remove commented code and unused methods. Add generics to Iterators or use for-each loops to avoid iterators entirely.
2013-05-28 15:35:51 -04:00
j2blake
77d7f1e184 VIVO-82 Remove unused actions in JenaAdminActions
No code in the application calls ctx.setAttribute("jenaPersistentOntModel").

The action "isIsomorphic" will do nothing if ctx.getAttribute("jenaPersistentOntModel") is null.
The action "removeUntypedResources" will throw an exception if ctx.getAttribute("jenaPersistentOntModel") is null.
Remove them.
2013-05-28 15:30:56 -04:00
brianjlowe
7760fdf6af work on VIVO-60 application ontology for property/class combinations 2013-05-22 16:28:11 -04:00
brianjlowe
d65d4109fa Merge branch 'develop' of https://github.com/vivo-project/Vitro into develop 2013-05-22 15:03:54 -04:00
j2blake
4928940849 VIVO-82 Use ModelAccess to store and get WebappDaoFactory references. 2013-05-21 17:46:20 -04:00
j2blake
c086a595e1 VIVO-82 Tweak the uses of ModelAccess to keep backward compatibility.
Even if it appears to the untrained eye that the models are being misused.
2013-05-21 17:46:19 -04:00
brianjlowe
067deb48d5 Merge branch 'develop' of https://github.com/vivo-project/Vitro into develop 2013-05-21 16:19:07 -04:00
tworrall
749e667e6a some i18n cleanup 2013-05-21 10:56:25 -04:00
tworrall
8e26a768b5 some i18n cleanup 2013-05-21 10:55:24 -04:00
brianjlowe
6464dc9eeb Merge branch 'develop' of https://github.com/vivo-project/Vitro into develop 2013-05-21 10:23:12 -04:00
tworrall
639f0450ac template updates for internationalization, including updated all.properties 2013-05-20 15:36:37 -04:00
j2blake
dbcc75dc20 Fix so widgets can invoke I18N method. 2013-05-20 13:31:25 -04:00
brianjlowe
707d40e25c Merge branch 'develop' of https://github.com/vivo-project/Vitro into develop 2013-05-20 10:03:35 -04:00
j2blake
9a7a385b87 VIVO-82 Use ModelAccess to access the DisplayTBox and the DisplayDisplay 2013-05-17 17:58:14 -04:00
j2blake
864c93432f VIVO-82 Use ModelAccess to get the OntModelSelectors
Since the OntModelSelectors are facades over the OntModels stored in ModelAccess, remove any attempts to set the OntModelSelectors.
2013-05-17 17:25:13 -04:00
j2blake
1d8da55fdb VIVO-82 Use ModelAccess to get or set the InferenceOntModel
a.k.a the Inferred Full model
2013-05-17 15:05:24 -04:00
brianjlowe
eebb205723 Merge branch 'develop' of https://github.com/vivo-project/Vitro into develop 2013-05-17 15:03:57 -04:00
brianjlowe
0b2896acc2 application ontology work 2013-05-17 15:03:36 -04:00
j2blake
cba000c58b VIVO-82 Use ModelAccess to get or set the BaseOntModel
a.k.a the Base Full model, or AssertionsModel
2013-05-17 14:15:25 -04:00
j2blake
9b7f6c92e6 VIVO-82 Use ModelAccess to get or set the BaseOntModel
a.k.a the Base Full model, or AssertionsModel
2013-05-17 13:19:46 -04:00
j2blake
6a4c7ba6fc VIVO-82 Use ModelAccess to get or set the JenaOntModel (Union Full model) 2013-05-17 12:37:49 -04:00
j2blake
4e4384bd3e VIVO-82 Use ModelAccess to get or set the JenaOntModel (Union Full model) 2013-05-17 12:28:48 -04:00
j2blake
0a15a6df7d VIVO-82 Use ModelAccess to get or set the JenaOntModel (Union Full model) 2013-05-17 11:41:47 -04:00
j2blake
1c95d4e4a9 VIVO-82 Use ModelAccess to get or set the UserAccounts model 2013-05-16 18:11:13 -04:00
j2blake
4764751905 VIVO-82 Use ModelAccess to get or set the Display Model 2013-05-16 18:05:50 -04:00
j2blake
416e98f5ab VIVO-82 Split WebappDaoSetup into ContentModelSetup and ModelMaker setup. 2013-05-16 16:42:57 -04:00
j2blake
0e34b459e5 VIVO-82 Refactoring WebappDaoSetup to clarify the model setup. 2013-05-16 14:04:04 -04:00
Stephen V. Williams
32395cbac2 Fixed controller for CSV output, added button and coorsponding js and png 2013-05-15 14:53:31 -06:00
Stephen V. Williams
96bed7ce03 first pass at creating a csv download option. TODO icons on page, debug failing load 2013-05-14 14:40:17 -06:00
j2blake
6123f41d95 VIVO-87 First attempt at a caching filter.
Appears to work with Firefox cache and Chrome cache, except for language-dependent stuff.

Is that because it isn't configured correctly, or is it because Firefox and Chrome aren't attempting to keep more than one version of a page in their caches? Even if they do see a "Vary: Accept-Language" header?
2013-05-14 16:37:29 -04:00
brianjlowe
ddf101d6ae adding license tag to ApplicationConfigurationOntologyUtils.java 2013-05-14 16:14:32 -04:00
brianjlowe
b5b39638a1 initial work on VIVO-60
Merge branch 'develop' of https://github.com/vivo-project/Vitro into develop

Conflicts:
	webapp/src/edu/cornell/mannlib/vitro/webapp/dao/jena/VClassDaoSDB.java
2013-05-14 16:04:40 -04:00
brianjlowe
1ab53d0b02 initial work on VIVO-60 application ontology support for property/range combinations 2013-05-14 15:54:03 -04:00
tworrall
41850cecb4 more template updates for i18n 2013-05-14 13:49:19 -04:00