Commit graph

100 commits

Author SHA1 Message Date
Jim Blake
481d3fc1d8 VIVO-695 VIVO-699 Refactor and optimize the PropertyRestrictionBean
Formerly the PropertyRestrictionPolicyHelper.
2014-12-10 17:39:06 -05:00
Jim Blake
ec36574041 VIVO-774 fix a unit test that was broken by faux property refactoring. 2014-12-09 11:41:26 -05:00
Jim Blake
875ba66a46 Merge branch 'develop' into feature/fauxEditing 2014-12-08 15:55:32 -05:00
Jim Blake
4b71c1d6bb VIVO-778 Refactor the connections to the TBox reasoner.
Replace PelletListener with a TBoxReasonerModule in the Application.
   The reasoner will be accessible only through here, not as a context attribute or through the WebappDaoFactory.
Split out the initialization of the TBox reasoner from SimpleReasonerSetup.
Break out the filtering of TBox changes into a ConfiguredReasonerListener.
Refactor the threading logic into a BasicTBoxReasonerDriver.
   Add a factory for creating VitroBackgroundThreads in an Executor.
Isolate the actual reasoner into a TBoxReasoner implementation. In this case, PelletTBoxReasoner.
Combine the consistency flag, error flag, explanation, and running status into one TBoxReasonerStatus object.
2014-12-08 10:54:07 -05:00
Jim Blake
ef6f92539f Merge branch 'develop' into feature/fauxEditing 2014-11-18 11:56:52 -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
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
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
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
04f763109e VIVO-823 Create several ModelMaker decorators, with tests 2014-07-18 17:02:21 -04:00
Jim Blake
baf0d59a68 VIVO-799 Add setRdfsLabel() to unit test class. 2014-06-18 17:41:38 -04:00
Jim Blake
90886c564e VIVO-742 Change client code to use SearchEngine interface.
Removed SolrQueryTest until I can see how to update it. Everything compiles and tests run, but haven't tried running VIVO yet.
2014-04-22 15:18:21 -04:00
Jim Blake
6329343465 VIVO-742 Create the interfaces for Application and SearchEngine
Also some stubs for unit tests.
2014-04-22 15:17:54 -04:00
Jim Blake
b63e4134ac VIVO-731 Create a thorough unit test for SparqlQueryServlet 2014-04-07 14:23:22 -04:00
j2blake
09dd8da784 Merge branch 'maint-rel-1.6' into develop 2014-03-25 15:44:59 -04:00
j2blake
0bc3f211bb VIVO-682 Modify some auth code to work better with faux properties. 2014-03-25 15:44:10 -04:00
j2blake
50e55b62ef Merge branch 'maint-rel-1.6' into develop 2014-03-10 18:15:16 -04:00
j2blake
fdeee35bb4 VIVO-692 Restrict LOD by Publish level, not by Display level
Create a new annotation for properties and classes, HiddenFromPublishBelowRoleLevelAnnot.
Provide the means to initialize these annotations, edit them, and display them in the verbose property display.
Create a Permission and some requested actions so the policies can decide which statements must be filtered out, based on the user's role.
Add unit tests and improve acceptance tests
2014-03-10 18:14:02 -04:00
j2blake
245763e9e7 Make DeveloperSettings a singleton, and other improvements.
By making it a singleton, we do need an explicit Setup operation. However, it means that we can refer to the settings in client code that doesn’t have access to a request or to the ServletContext.

Other refactorings to simplify the logic or make it more scalable.
2014-01-04 14:22:29 -05:00
j2blake
70298026ea Reduce warning messages in unit tests.
We get a warning on any attempt to use anything that may be affected by DeveloperSettings, because DeveloperSetting tries to use ConfigurationProperties to find its properties file. We could avoid this by requiring the use of a ConfigurationPropertiesStub, but it seems to make more sense to routinely create a DeveloperSettingsStub on each ServletContextStub.
2013-11-25 12:31:51 -05:00
j2blake
0fce9f6a7b VIVO-541 First cut at the developer panel. 2013-11-17 11:52:18 -05:00
brianjlowe
e1b7638202 various performance tweaks 2013-10-31 10:43:25 -04:00
brianjlowe
5293824fa2 work on VIVO-303 picklist sorting and display 2013-10-08 09:40:57 -04:00
brianjlowe
90512bdc1c Merge remote-tracking branch 'origin/develop' into dev-isf
Conflicts:
	webapp/rdf/displayDisplay/everytime/displayDisplay.n3
	webapp/web/i18n/all.properties
	webapp/web/templates/freemarker/lib/lib-properties.ftl
2013-09-23 16:19:05 -04:00
hudajkhan
8fa8702462 updates to include method that checks whether uri exists or not 2013-09-16 14:07:52 -04:00
brianjlowe
e3399d161d display permissions for domain-qualified predicates 2013-09-04 11:56:17 -04:00
brianjlowe
ca32a51740 support for edit permissions for qualified properties (almost finished) 2013-08-30 17:04:12 -04:00
brianjlowe
e3d6e37ab9 support for domain qualification in property config 2013-08-29 10:58:34 -04:00
j2blake
c75c0d0f9f VIVO-235 Reduce "deprecation" messages in the build
It's OK for these stub classes to implement deprecated methods in the interfaces, as long as they declare those methods with @Override and @Deprecated.
2013-08-01 16:06:59 -04:00
Brian Caruso
54f79f2ea7 Normalize line endings VIVO-101 2013-07-18 15:19:53 -04:00
brianjlowe
e3fe0ac52b continuing work on VIVO-60 application ontology support for property/class combinations 2013-06-21 16:47:42 -04:00
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
brianjlowe
b26922242a work on VIVO-60 application ontology code for class/property combination configuration 2013-06-12 16:57:37 -04:00
j2blake
4928940849 VIVO-82 Use ModelAccess to store and get WebappDaoFactory references. 2013-05-21 17:46:20 -04:00
brianjlowe
1ab53d0b02 initial work on VIVO-60 application ontology support for property/range combinations 2013-05-14 15:54:03 -04:00
j2blake
d2d20291b9 VIVO-12 NIHVIVO-4011 Improve LocaleSelectionFilter. Clean up comments. 2013-02-07 16:06:49 -05:00
j2blake
78488f194c Revise the language filtering from RDF. Create unit tests. 2013-02-07 15:37:58 -05:00
j2blake
bb6b2fa970 VIVO-12 NIHVIVO-4011 Provide config and GUI for selecting Locale 2013-01-24 16:21:36 -05:00
j2blake
81b0b2c145 NIHVIVO-3940 remove the implementation of /individual/prefix/localname
This has been broken since before release 1.3 and nobody has missed it.
2012-11-15 14:28:22 -05:00
brianjlowe
2c83351eb6 NIHVIVO-3956 SPARQL-based implementations of getMostSpecificTypeURIs() getDataValue() and isVClass() to shorten render time of short views 2012-09-12 20:03:21 +00:00
briancaruso
9b30ecdcb1 Fixed object property sorting on individual page for default list view. NIHVIVO-3415
Removed unused domainEntitySortField and rangeEntitySortField from ObjectProperty.
Added rangeEntitySortField back to property_retry.jsp.
2012-06-21 17:10:14 +00:00
j2blake
2f9cf7d54d Add license line. 2012-06-05 20:29:58 +00:00
tworrall
dfb955f39f NIHVIVO 3778 vitro components for data prop list views 2012-06-05 16:01:53 +00:00
briancaruso
e3158dadaa Removed unused method Individual.isMemberOfClassProhibitedFromSearch()
NIHVIVO-3696 Fixed linked data responses so correctly filtered by public display settings
NIHVIVO-3758 Change search name boost to be additive
Removed unused search field PROHIBITED_FROM_TEXT_RESULTS
NIHVIVO-3759 Refactored individual exclusion in search 
NIHVIVO-549 Allow for local product to add custom code for search
2012-05-11 20:59:34 +00:00
j2blake
588fbcf0e7 Add some unit tests to JsonServlet 2012-04-30 19:47:37 +00:00
brianjlowe
94717a3705 NIHVIVO-3532 get rid of Classes2ClassesDao 2012-03-22 20:00:06 +00:00