Commit graph

5309 commits

Author SHA1 Message Date
Jim Blake
c53dd9ea70 Refactorings to improve RDFService and Models setups.
Create ModelNames, and centralize all of the references to model names there.
Separate JenaPersistentDataSourceSetup from JenaDataSourceSetupBase. Refactor.
Remove SpecialBulkUpdatingGraph. - not used
2014-06-20 15:20:31 -04:00
Tim Worrall
59ddbe15ec there were duplicate freemarker variables being used; resolved this by changing the name of the variable used for the application or site name 2014-06-20 13:08:55 -04:00
Jim Blake
f690bf0235 VIVO-801 Bug fix: user a consistent spelling for tdbModels directory. 2014-06-19 11:11:18 -04:00
Jim Blake
baf0d59a68 VIVO-799 Add setRdfsLabel() to unit test class. 2014-06-18 17:41:38 -04:00
Jim Blake
10461fb16d VIVO-801 Move RDB migrator from VIVO to Vitro
Older instances of Vitro might want to use it.
2014-06-18 17:33:57 -04:00
Tim Worrall
6ddb6336ca Merge branch 'maint-rel-1.7' of https://github.com/vivo-project/Vitro into maint-rel-1.7 2014-06-18 14:24:44 -04:00
Tim Worrall
8fc32d28ed VIVO-799: only display individuals with rdfs labels in custom form picklists 2014-06-18 14:24:32 -04:00
Jim Blake
7e514f3cfd VIVO-797 Handle both types of file size exceptions.
Could be either FileSizeLimitExceededException or SizeLimitExceededException.
2014-06-17 12:05:52 -04:00
Jim Blake
a086957046 Fix licensing issues. 2014-06-14 11:32:48 -04:00
Jim Blake
3e72fda9a6 VIVO-668 Increase the timeout interval when waiting for the search index. 2014-06-14 11:05:32 -04:00
Jim Blake
4edd490fbb Improve thread safety.
Also, correct a spelling error.
2014-06-14 11:04:18 -04:00
Jim Blake
338dd6344a VIVO-773 create BulkUpdatingModel and OntModel as decorators.
Clean up the code, and no need to copy from Jena source files.
2014-06-13 16:07:56 -04:00
Jim Blake
ecbee098cb VIVO-784 remove duplicate results from "show statements".
The clause to include statements in the default graph was showing everything twice, without filtering the statements in the named graph. Don't know why. Talked with Brian, and decided to remove it.
2014-06-13 11:15:27 -04:00
Jim Blake
ea9d1e739d 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:25 -04:00
Jim Blake
81733d305d VIVO-773 Add a Context to RDFServiceDatasetGraph.
Every attempt at SPARQL Update fails because RDFServiceDatasetGraph.getContext() returns null.
I see that DatasetGraphBase just creates an empty Context on instantiation, so now RDFServiceDatasetGraph
does the same, and the problem goes away.
2014-06-13 10:24:21 -04:00
Jim Blake
1fec2825d1 Merge branch 'develop' of git+ssh://github.com/vivo-project/Vitro into develop 2014-06-13 10:22:14 -04:00
brianjlowe
d7f1c88ce9 speeding up raw statements display by removing labels 2014-06-12 16:32:51 -04:00
Jim Blake
c1e4b36cf2 VIVO-773 remove references to IRI-0.8 library.
Converted to 0.9.6
2014-06-12 16:16:41 -04:00
Tim Worrall
4bbbf6fd6e update template to include new password length string 2014-06-12 12:57:50 -04:00
Jim Blake
efcc677d96 Document the improvements to the developer panel 2014-06-11 17:50:47 -04:00
Jim Blake
66fbf81034 Merge commit 'a83c1e5e4fac33e8c09f964b7313ec53de8946fc' into feature/TDBfromRDB2 2014-06-11 16:50:58 -04:00
brianjlowe
a83c1e5e4f fix to KnowledgeBaseUpdater's avoidance of triggering unnecessary recomputes 2014-06-11 15:41:14 -04:00
brianjlowe
cfada56e31 change to prevent foreground recompute when only annotations are updated 2014-06-11 15:36:35 -04:00
Jim Blake
7cf03661d4 VIVO-773 guard against RDB data that has not been migrated. 2014-06-09 15:37:54 -04:00
Jim Blake
ae6a2a7251 VIVO-719 Improve the user interface 2014-06-09 15:14:16 -04:00
Tim Worrall
f8616d4c85 VIVO-649: allow property groups to contain forward slashes 2014-06-09 11:15:55 -04:00
Tim Worrall
1273fa2f16 VIVO-693: fixed a typo -- htts: to https: 2014-06-09 10:16:32 -04:00
Jim Blake
be11b190bc VIVO-719 Don't use streaming unless required.
At some point we need to find out who is not closing connections.
2014-06-07 13:47:34 -04:00
Jim Blake
21a3c242df VIVO-719 Add some log statements so we can follow the progress. 2014-06-06 22:02:44 -04:00
Jim Blake
c05a3a857a VIVO-719 Fix an error in the JSON parsing. 2014-06-06 17:46:50 -04:00
Jim Blake
aa1df06ac2 VIVO-719 Add "bucketing" to optimize the restore. 2014-06-06 17:05:51 -04:00
Jim Blake
4809fcb37e VIVO-719 Create the first attempt at restore. 2014-06-06 15:27:17 -04:00
Tim Worrall
626f0dad30 VIVO-508: clean up old IE css files and references 2014-06-06 14:51:18 -04:00
Jim Blake
a7915785f4 VIVO-719 Create the dump/restore tool - no restore yet. 2014-06-05 15:58:06 -04:00
Jim Blake
2ea6a5d8cb VIVO-719 Create a method on RDFService for a streaming SELECT query.
By passing an OutputStream to the method, we don't buffer the entire response into memory.
2014-06-05 15:57:01 -04:00
Tim Worrall
9e651b8eed VIVO-704: add maximum password length to hint 2014-06-05 10:02:52 -04:00
tworrall
dd6a631eb4 VIVO-715: contact form css changes 2014-06-04 11:09:57 -04:00
Jim Blake
0cd42e211e VIVO-773 Remove "connectDB" function of advanced data tools.
It was tied up with RDB. It could have been converted, but there was little interest.
2014-06-02 17:57:06 -04:00
Jim Blake
3a2930cdc6 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:23:21 -04:00
Tim Worrall
03c87f49a4 VIVO-752: display most specific type in picklists where the list contains indivduals of different classes. 2014-05-30 11:12:53 -04:00
Jim Blake
1ec5d1dec7 Close request-based WebappDaoFactory instances. 2014-05-28 13:20:26 -04:00
brianjlowe
25e8d41e52 Removing obsolete namespace listener to avoid memory leak if WebappDaoFactories are unclosed 2014-05-28 10:49:00 -04:00
hudajkhan
f516750e91 Updating page management for changes to solr labels 2014-05-23 11:18:52 -04:00
tworrall
84e2aa4967 VIVO-748: enable display of bulleted items on data properties 2014-05-22 17:22:38 -04:00
Jim Blake
fc66530304 VIVO-773 create and use VitroInterceptingModelMaker
It provides access to the "pseudo-models": UNION_FULL, BASE_FULL, and INFERRED_FULL.
It also intercepts access to the memory-mapped models, returning a reference to the in-memory version.
2014-05-21 16:07:17 -04:00
Jim Blake
216a43de10 VIVO-773 create and use VitroInterceptingModelMaker
It provides access to the "pseudo-models": UNION_FULL, BASE_FULL, and INFERRED_FULL.
It also intercepts access to the memory-mapped models, returning a reference to the in-memory version.
2014-05-21 16:00:34 -04:00
Jim Blake
c44df14ec1 VIVO-773 continue clean up of model makers 2014-05-21 13:08:36 -04:00
Jim Blake
68cfef81cd VIVO-773 clean up the structure of the model makers 2014-05-21 11:34:46 -04:00
Jim Blake
4ffb7bce87 Refactor SearchEngine logging for the Developer Panel 2014-05-19 11:07:52 -04:00
Jim Blake
4405d76683 VIVO-44 Add some JARs and update others, to serve the updated SolrJ client. 2014-05-15 18:10:40 -04:00