Commit graph

753 commits

Author SHA1 Message Date
j2blake
7ab6e3d5fc VIVO-1008 Don't override the mime type if the servlet container can provide it.
In CharsetEncodingFilter, check to see whether the servlet container knows the mime type,
before forcing it to "text/html;charset=UTF-8"
2015-03-27 15:39:06 -04:00
j2blake
d9ee2562df VIVO-941 Fix prefixes in broken queries for Rich Export LOD 2015-03-25 15:14:13 -04:00
j2blake
061db63d75 VIVO-958 Accommodate a migration directly from 1.5 data to 1.8
Move data directory from ontologies/update to version-specific directory ontologies/update17to18
Create ontologies/update15to16 and ontologies/update16to17 from previous update data directories.

Revise UpdateKnowledgeBase to accept the data directory as a parameter instead of having it hard-coded.
Create classes like Release18Migrator that will call UpdateKnowledgeBase with the appropriate directory, and do other release-specific migration tasks.

Make corresponding changes in startup_listeners.txt
2015-03-13 12:14:57 -04:00
Jim Blake
a732a9d060 Revert "Start ABox recompute after searchindexer" 2015-02-15 09:11:26 -05:00
Graham Triggs
e511aa8bae Start ABox recompute after searchindexer 2015-02-11 21:28:02 +00:00
j2blake
77dd381a19 VIVO-863 get rid of GuardAgainstUnmigratedRDB
It was only useful for the transition from 1.6 to 1.7, and it was a problem when someone used a triple-store other than SDB.
2014-12-11 16:13:05 -05:00
j2blake
6d8c50bb53 VIVO-933 Read PropertyConfig.n3 into an existing model, just once. 2014-12-11 15:52:29 -05:00
j2blake
fc3827712b VIVO-695 VIVO-699 Refactor and optimize the PropertyRestrictionBean
Formerly the PropertyRestrictionPolicyHelper.
2014-12-10 15:02:15 -05:00
j2blake
131f0a8c03 Merge branch 'develop' into feature/fauxEditing 2014-12-08 15:56:43 -05:00
j2blake
1e42cfa09e 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:26 -05:00
Tim Worrall
c511d9353a VIVO-922: update web.xml for new faux listing controller 2014-12-05 16:55:41 -05:00
j2blake
68b06322fb VIVO-906 Explicitly configure the SearchIndexExcluders and DocumentModifiers. 2014-11-13 17:18:13 -05:00
j2blake
78241be685 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:17:38 -05:00
j2blake
7bb8682454 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:08:10 -04:00
Tim Worrall
1c118fc044 VIVO-17: QR Code info now generated via an Ajax call when the icon is clicked. 2014-10-03 11:33:26 -04:00
j2blake
793dbc2657 VIVO-862 add a filter to prevent Clickjacking. 2014-09-17 12:56:44 -04:00
j2blake
bb7ab3b2a3 VIVO-848 Move the FileStorage system behind an interface
Add it to the Application framework, and do some cleanup.
2014-08-14 16:55:46 -04:00
j2blake
423a57e47c VIVO-823 modify startup_listeners to match the changes in Vitro. 2014-07-22 15:04:01 -04:00
j2blake
cd355373a6 VIVO 746, at startup, remove obsolete Permissions from the user accounts model.
Also, get rid of UpdatePermissionSetUris, which supported the transition from 1.4 to 1.5.
2014-06-13 10:27:40 -04:00
brianjlowe
106325ba72 holding required empty directories in git 2014-06-12 14:08:41 -04:00
j2blake
2b25bfa851 Merge commit '0c21855fc5bf12f75e14d4f598f51a3120ec8005' into feature/TDBfromRDB2 2014-06-11 16:47:49 -04:00
brianjlowe
a607b240a5 VIVO-786 and VIVO-751 changes to default property annotations and 1.7 migration 2014-06-11 14:19:00 -04:00
j2blake
f4541133b6 VIVO-773 guard against RDB data that has not been migrated. 2014-06-09 15:38:20 -04:00
j2blake
52caf0237f VIVO-719 Create the first attempt at restore. 2014-06-06 17:15:20 -04:00
j2blake
8b33229fdd VIVO-773 Update the JENA libraries and adjust to the changes
Replace the JAR files with more current ones.
Add a one-line change to BaseInfGraph (from the Jena source), so it will work with Pellet 2.3.1
Adjust all implementations of Graph to include new methods and remove old ones.
Add annotations and generics to reduce compiler warnings.
Remove all dependencies on RDB, which is no longer supported.
   This requires considerable refactoring of JenaIngestController, RDFUploadController, listModels.jsp
Refactor the ModelMaker uses
   Remove VitroJenaModelMaker,
   Revise VitroInterceptingModelMaker to be configurable for Config or Content models
Add debug logging code to ModelChangeImpl ChangeSetImpl, RDFServiceJena.
Add TDB support: RDFServiceFactoryTDB, RDFServiceTDB
   Refactor RDFServiceJena and RDFServiceSDB so much of the code can be reused by RDFServiceTDB
Accomodate two RDFService instances - one for Configuration models and one for Content models.
   Changes to RDFServiceUtils, RDFServiceSetup
   Configuration models use TDB directory in Vitro home directory
Handle bulk updating:
   Jena has deprecated bulk operations, and their models classes no longer use the bulk updaters
   Create a VitroModelFactory to use instead of the ModelFactory, when bulk updating is required.
   Create adapter classes: BulkUpdatingModel, BulkUpdatingOntModel, AbstractModelDecorator
Make the configuration model setup algorithms uniform
   Combine ApplicationModelSetup and UserModelSetup into ConfigurationModelsSetup
2014-06-01 18:26:31 -04:00
j2blake
939950dcd4 VIVO-769 Merge branch 'feature/orcid' into develop 2014-05-07 17:32:38 -04:00
j2blake
02bdddab23 VIVO-742 Many changes to remove "solr" from the code base.
Comments, template names, Java classes, variables and method names (Java and JavaScript), etc.
2014-04-23 14:20:22 -04:00
j2blake
711afa44fa VIVO-742 Rename some 'solr' packages. 2014-04-23 10:45:06 -04:00
j2blake
0d36fe58b8 VIVO-742 Setup the Application properly, and guard against NPEs 2014-04-22 15:15:20 -04:00
j2blake
cb204a3926 VIVO-742 Create SearchEngineSetup and SearchIndexerSetup 2014-04-22 15:15:09 -04:00
j2blake
abd7f7d38f Remove dead-end attempt at real-time smoke tests 2014-04-22 10:28:05 -04:00
j2blake
e01127bc11 VIVO-731 Implement the SPARQL query API.
Create a base class for API controller servlets.
2014-04-15 13:37:13 -04:00
j2blake
811820a330 VIVO-731 Replace SparqlQueryServlet with SparqlQueryController
SparqlQueryServlet was JSP-based, so delete the JSP also.
SparqlQueryController is Freemarker-based, and is a this shell around the SparqlQueryApiExecutor.
2014-04-14 12:20:01 -04:00
brianjlowe
e743520ed3 Merge branch 'maint-rel-1.6' into develop 2014-04-04 09:44:39 -04:00
brianjlowe
0a6b7be1a0 VIVO-727 fixes bugs with VCard migration 2014-04-04 09:44:05 -04:00
brianjlowe
aca21a3865 Merge branch 'maint-rel-1.6' into develop 2014-03-28 15:44:30 -04:00
brianjlowe
d4e01ab167 VIVO-711 avoiding bad orcid URIs 2014-03-28 15:40:58 -04:00
j2blake
96de00b737 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:40:26 -05:00
j2blake
3564cb78aa VIVO-581 Add a diagnostic page 2013-12-10 11:37:57 -05:00
brianjlowe
a7670f6c58 disabling sameAs reasoning by default 2013-12-04 16:32:26 -05:00
j2blake
81ca857fc3 VIVO-530 Adjust SPARQL Update API 2013-11-26 16:03:47 -05:00
brianjlowe
5623eb82d4 VIVO-566 reverting back to vivo:Dataset 2013-11-22 11:34:54 -05:00
brianjlowe
8d2e56177b VIVO-566 ontology prefixes VIVO-565 add new class vivo:Abstract and most of VIVO-566 replace vivo:Dataset with obo:Dataset and add cito properties 2013-11-21 20:22:21 -05:00
brianjlowe
2474be9072 VIVO-550 and VIVO-551 migration improvements 2013-11-19 16:08:46 -05:00
brianjlowe
2ae32542a2 Merge branch 'maint-rel-1.6' of https://github.com/vivo-project/VIVO into maint-rel-1.6 2013-11-18 14:29:33 -05:00
brianjlowe
9168e7c761 VIVO-539 fixes bug related to excessive duplication of certain webpage links after migration 2013-11-18 14:29:26 -05:00
j2blake
24dc0f212a VIVO-541 First cut at the developer panel. 2013-11-17 11:51:56 -05:00
brianjlowe
ac60d04bad grant sparql bugfix 2013-11-07 11:49:23 -05:00
brianjlowe
6a7caf1cdd sparql query reordering for performance 2013-11-07 11:47:48 -05:00
tworrall
23e0a4d390 VIVO-472 updated the rich-export sparql queries 2013-11-06 15:51:33 -05:00