Commit graph

4284 commits

Author SHA1 Message Date
j2blake
aa7c8024d0 VIVO-125 Improvements to I18n
Do not clear the cache more than once per request. Improve the hooks for unit tests.
2013-06-14 12:41:33 -04:00
tworrall
d83fcd6fd7 removed duplicate lines 2013-06-14 10:00:02 -04:00
j2blake
9c21ecc575 VIVO-125 Bring all_es.properties up to par with all.properties 2013-06-13 15:16:18 -04:00
brianjlowe
b26922242a work on VIVO-60 application ontology code for class/property combination configuration 2013-06-12 16:57:37 -04:00
tworrall
3ce6a224a3 fix for vivo-127 2013-06-12 16:04:42 -04:00
tworrall
f267df494d changed the way the limit search home page feature works so that it will support i18n 2013-06-12 15:25:36 -04:00
tworrall
b1014d1b2b vivo-66: add a link on menu ordering that returns the user to page management 2013-06-12 10:31:00 -04:00
j2blake
d731166ff4 VIVO-125 Continue to develop the googleSpanish text.
Bring all_es.properties up to par with all.properties, in both Vitro and VIVO/Wilma
2013-06-11 16:28:00 -04:00
tworrall
8af9c0005c fix for jira issue vivo-124 2013-06-11 16:15:42 -04:00
tworrall
f3acf5afe6 VIVO-65. for property groups, edit form was incorrect 2013-06-11 13:35:19 -04:00
tworrall
d74176f18d i18n updates to javascript files and related templates 2013-06-11 12:25:01 -04:00
j2blake
57c962e82a VIVO-82 FileServingServlet must use an existing WADF.
Request-specific WebappDaoFactory objects are not initialized on image requests.
2013-06-07 16:22:33 -04:00
j2blake
69ab12c4bc VIVO-82 Remove the vestiges of VitroRequestPrep
Unused imports prevented the compiling of JSPs
2013-06-07 15:43:22 -04:00
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
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
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