Commit graph

111 commits

Author SHA1 Message Date
grahamtriggs
7fbaf1cadc Pause counting to avoid problems of overlapping pause / unpauses, add event to notify of the intention to rebuild the index, so that overhead of tracking unnecessary indexing can be reduced 2015-10-03 08:44:26 +01:00
grahamtriggs
15cd6a8ac0 [VIVO-1031] Improve logged in performance by handling a bulk of faux properties statements at once, rather than one-by-one. 2015-09-29 17:02:50 +01:00
Jim Blake
89c6627340 VIVO-946 VIVO-984 Hack out a way of properly filtering faux properties. 2015-03-02 13:23:28 -05:00
Jim Blake
ecbda5be7b VIVO-946 remove vestigial method: ObjectPropertyDao.getStatementsUsingObjectProperty() 2015-03-02 11:34:48 -05:00
Jim Blake
5c1944f508 VIVO-925 When creating class or properties, permit URIs that are already in use...
...as long as they aren't already declared as things, classes or properties
2015-02-25 15:42:07 -05:00
Jim Blake
066d013360 Modifications to https://github.com/vivo-project/Vitro/pull/14
Restore pause logic to IndexingChangeListener.
Adjust comments, remove compiler warnings and vestigial code items, rename method.
2015-02-17 12:08:09 -05:00
Graham Triggs
999fb5e1f9 Don't queue indexing tasks for the ABoxRecomputer 2015-02-13 12:10:41 +00:00
Jim Blake
de5b80bf75 VIVO-869 ABoxRecomputer should pause the SearchIndexer during a rebuild. 2015-01-22 15:49:08 -05:00
Jim Blake
0602406c53 VIVO-870 Create IndividualDao.getAllIndividualUris()
This replaces IndividualDao.getAllOfThisTypeIterator(). It returns the list that was created instead of
the iterator.

This would require a change to ObjectSourceIFace, but we get rid of it instead. Nobody was using it.
2015-01-11 18:30:28 -05:00
Jim Blake
2ceab6e3df VIVO-873 Adapt the client code to the new interface.
Create a bridge implementation of SearchIndexerImpl that just wraps around an old IndexBuilder.

Modify client code:
Application, BasicAuthenticator, SearchServiceController, SparqlUpdateApiController,
UpdateUrisInIndex and VClassGroupCache

Rewrite IndexController to use AJAX and to show the current status and history of the indexer events.
2015-01-07 16:18:41 -05:00
Jim Blake
8a0d8a2639 VIVO-873 create SearchEngine.documentCount()
Also, remove the vestigial IndexConstants class and two unused methods in PagedSearchController.
2015-01-06 16:04:19 -05:00
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