Commit graph

3501 commits

Author SHA1 Message Date
Jim Blake
ef6f92539f Merge branch 'develop' into feature/fauxEditing 2014-11-18 11:56:52 -05:00
Jim Blake
61eb57ca5d VIVO-907 Create the TripleStoreQuirks interface
Use it to handle the odd behavior that a particular triple store might have.
In this case, the odd behavior is that TDB mangles XMLSchema#nonNegativeInteger to XMLSchema#integer in literal types.
2014-11-17 13:21:36 -05:00
Jim Blake
546e27c15a VIVO-907 Migrate away from ModelMaker interface.
Use RDFService instead.
2014-11-17 13:18:13 -05:00
Jim Blake
3022155988 VIVO-906 fix bug with multiple closures on content RDFService.
DocumentModifiers were calling close().
2014-11-14 15:33:05 -05:00
Jim Blake
1e6b66a12c VIVO-906 Explicitly configure the SearchIndexExcluders and DocumentModifiers. 2014-11-13 17:14:42 -05:00
Jim Blake
ebb31eb081 VIVO-906 Assemble application at runtime.
Create an object to represent VitroHomeDirectory
Instantiate TripleSources, FileStorage, etc, based on the config file.
2014-11-13 17:11:11 -05:00
Jim Blake
e3dca6a699 VIVO-906 Create the TripleSource hierarchy.
SingleSourceDataStructuresProvider becomes TripleSource
DataStructuresProvider becomes CombinedTripleSource
2014-11-13 17:06:05 -05:00
Jim Blake
2fa9583569 Merge branch 'develop' into feature/fauxEditing
Conflicts:
	webapp/src/edu/cornell/mannlib/vitro/webapp/utils/configuration/ConfigurationBeanLoader.java
	webapp/src/edu/cornell/mannlib/vitro/webapp/utils/configuration/ConfigurationRdfParser.java
	webapp/src/edu/cornell/mannlib/vitro/webapp/utils/jena/Critical.java
2014-11-09 16:14:48 -05:00
Jim Blake
72b86bd4d5 Improve handling of critical sections
Use LockableOntModel, etc., instead of Critical.
2014-11-09 16:05:06 -05:00
Jim Blake
e665b48971 Add link to verbose panel, handle VCard oddities. 2014-11-07 10:32:33 -05:00
Jim Blake
1439c2195d tweaks to make the boolean values work. 2014-11-06 13:50:16 -05:00
Jim Blake
daac8c3c4f Populate the new bean from the base property. Handle policy restrictions. 2014-11-06 10:28:40 -05:00
Jim Blake
ec6f166f54 Cleanup. Use the locking model classes. 2014-11-05 12:59:48 -05:00
Jim Blake
852da3ff2a Implement insert and update in FauxPropertyDaoJena 2014-11-05 11:37:52 -05:00
Jim Blake
c8368dbe2d Produce the pick-lists for range and domain.
Still not submitting the results.
2014-11-03 15:09:43 -05:00
Jim Blake
f6f12efe6d Repair logging queries from the developer panel.
the DataStructuresProviders must wrap their RDFServiceFactory in LoggingRDFServiceFactory,
and insure that their RDFService comes from that wrapped factory.
2014-10-31 18:20:18 -04:00
Jim Blake
190bf87979 VIVO-774 More functionality: implement deleteFauxProperty() 2014-10-31 18:17:38 -04:00
Jim Blake
564130329e Remove previous "improvements". 2014-10-31 16:50:35 -04:00
Jim Blake
0bf6abb197 VIVO-774 clean up the handling of RoleLevel changes.
Create an interface for the Listener to act on.
If the changed object doesn't implement the interface, log a warning and do nothing, instead of throwing a ClassCastException.
The level values should never be null.
2014-10-31 12:59:44 -04:00
Jim Blake
f4b3728822 Merge branch 'develop' into feature/fauxEditing 2014-10-30 15:55:16 -04:00
Jim Blake
02ac3944e0 VIVO-774 show list of faux properties on the Property Editing page. 2014-10-30 15:52:23 -04:00
Jim Blake
c7ace22406 VIVO-782 Use PropertyDao.FullPropertyKey class for CustomListViewConfigFileMap
Replaces Pair<String,Pair<ObjectProperty, String>> when building maps of Properties and FauxProperties.
2014-10-29 15:32:23 -04:00
Jim Blake
59706a4266 Merge branch 'develop' into feature/fauxEditing 2014-10-29 11:43:05 -04:00
Jim Blake
7069cf8079 VIVO-897 Fix broken display of faux properties.
Unpopulated faux properties don't display, except to root.
Populated faux properties are not editable, except by root.
GroupedPropertyList was calling vreq.getLanguageNeutralWebappDaoFactory() but expecting it to be policyNeutral as well.
2014-10-29 11:32:47 -04:00
Jim Blake
681219da72 Merge branch 'develop' into feature/fauxEditing 2014-10-27 14:20:56 -04:00
Jim Blake
3b4e2bc012 VIVO-782 Create PropertyDao.FullPropertyKey class.
Replaces Pair<String,Pair<String, String>> when building maps of Properties and FauxProperties.
2014-10-27 14:20:22 -04:00
Jim Blake
21df0f53be Starting the skeleton 2014-10-27 12:42:48 -04:00
hudajkhan
4a2321db41 Merge branch 'develop' of https://github.com/vivo-project/Vitro into develop 2014-10-24 12:37:57 -04:00
hudajkhan
456f8beb41 VIVO 888, and just a change to an if statement in the menumanagement file 2014-10-24 12:37:43 -04:00
Jim Blake
7c920e81cb Merge branch 'develop' into feature/fauxEditing 2014-10-24 10:34:18 -04:00
Jim Blake
73b200aac1 Create ConfigurationBeansLoader.
Also dependent classes and unit tests.
2014-10-24 10:29:59 -04:00
Jim Blake
645bc92d99 A bit of syntactic sugar for critical sections. 2014-10-24 10:28:43 -04:00
Jim Blake
7a12354430 VIVO-873 Improve unit tests of DocumentModifier classes
Add copy constructors, equals(), and hashCode() to BaseSearchInputDocument and BaseSearchInputField
2014-10-17 10:52:11 -04:00
Jim Blake
3ccb10dc83 VIVO-873 Simplify and document the DocumentModifier interface.
allUris parameter on modifyDocument() was not documented and not used.
There is no logical reason for modifyDocument to throw a SkipIndividualException.
2014-10-16 12:30:50 -04:00
Jim Blake
3877ba1c3e Better name for SearchEngineWrapper 2014-10-13 15:38:54 -04:00
Jim Blake
78c8f102f8 Continue to reduce the Model Madness!
Add OntModelCache to the top of the stack of RDF data structures.
Add DataStructuresProvider to the bottom of the stack.
Redesign ModelAccess method signatures.
Create the ShowSources page.
Remove RequestModelsPrep, except for setting the Collator.
Reduce the complexity of ContentModelsSetup and ConfigurationModelsSetup.

VIVO-225 VIVO-819 VIVO-820 VIVO-821 VIVO-823 VIVO-832
2014-10-10 10:07:56 -04:00
Jim Blake
f384f14475 Remove obsolete code lines, reduce compiler warnings, add generics. 2014-10-08 10:36:38 -04:00
Jim Blake
573a5e6cc6 Add a developer setting that will suppress automated search index updates. 2014-10-02 16:22:02 -04:00
Jim Blake
39e7a818c2 VIVO-864 add logging statements 2014-09-26 15:37:42 -04:00
Jim Blake
b89dba1982 VIVO-862 add a filter to prevent Clickjacking. 2014-09-17 12:56:03 -04:00
Jim Blake
2b9a3a5a01 Enhanced toString() methods for Models, OntModels, Datasets, Graphs, RDFService 2014-08-29 17:43:30 -04:00
hudajkhan
f1c9ac23de updating object property statement template model to enable all data to be retrieved 2014-08-27 15:46:09 -04:00
Jim Blake
7f220abf6f VIVO-225 Use URI Strings to fetch models, not enums. 2014-08-19 15:07:25 -04:00
Tim Worrall
80733cdcfe updated class to use i18n strings defined in all.properties rather than hard-coded strings in the class 2014-08-19 14:47:10 -04:00
Jim Blake
6e5bbaeef8 VIVO-848 Move the FileStorage system behind an interface
Add it to the Application framework, and do some cleanup.
2014-08-14 16:54:29 -04:00
Jim Blake
c751ecdc6d VIVO-848 move the image processing code behind an interface 2014-08-14 15:00:05 -04:00
Jim Blake
a9cb42162c VIVO-843 "every time" sub-models were being lost.
The problem comes when you wrap an OntModel around a Model. Sub-models are added to the OntModel, so unless you keep the same OntModel, those sub-models get lost.

This is a kluge, rather than a fix.
2014-08-13 15:22:39 -04:00
hudajkhan
0ce10b32e6 enabling model change preprocessors to be associated with application and not just edit configuration objects 2014-07-30 14:31:49 -04:00
Jim Blake
2baa2c33e0 VIVO-823 Improve the TDB implementation of RDFService
Use a single dataset for long-term and short-term use. Get read and write locks for all access to the dataset.
Create a "VitroConnection.DataSource.tdbDirectory" property that will force and configure TDB for content models.
2014-07-28 11:54:12 -04:00
Jim Blake
0e5ee7226b Correct typo in unregisterListener(). 2014-07-28 11:06:24 -04:00