Jim Blake
b89dba1982
VIVO-862 add a filter to prevent Clickjacking.
2014-09-17 12:56:03 -04:00
Jim Blake
fc227d9fcd
VIVO-861 Guard against Cross-Site Scripting attacks in the page title and in the body classes.
2014-09-16 13:26: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
c1bb928096
Merge branch 'develop' of git+ssh://github.com/vivo-project/Vitro into develop
2014-08-13 15:23:27 -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
Tim Worrall
4849dd07ad
VIVO-698: corrected a layout issue
2014-08-13 13:11:29 -04:00
Tim Worrall
27c62c26cc
VIVO-532: modified display of language selectors
2014-08-13 12:17:05 -04:00
Ted Lawless
6b72b39729
Change link to documentation for StartupManager.
2014-07-31 12:20:08 -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
Jim Blake
89416efa77
VIVO-823 Close all short-term RDF Services.
...
Brian Lowe points out that I was creating an additional RDFService and not closing it.
Also, the configuration RDFService wasn't being closed. It wasn't causing a problem because there
is no database connection associated with it, but still it was a potential for problem.
2014-07-21 11:22:59 -04:00
Jim Blake
e1bc897154
VIVO-823 Adjust these classes to use the new ModelMakers, as much as possible.
...
There are commented Kluges in RequestModelsPrep and ModelAccess, where things still are not as clean as they should be.
2014-07-18 17:19:52 -04:00
Jim Blake
b4395fcb31
VIVO-823 Big changes to RDFServiceModelMaker
...
The "Metadata Model" goes away. A ListCachingModelMaker will provide similar functionality,
although empty models will not persist across a restart.
The BlankNodeFiltering gets pushed into the BlankNodeFilteringModelMaker, a decorator.
2014-07-18 17:18:15 -04:00
Jim Blake
58148630ad
VIVO-823 Replace RDFServiceSetup with RDFSetup
...
This introduces the RDFSource as a wrapper around an RDFServiceFactory and 2 ModelMakerFactorys.
This introduces ModelMakerUtils as a way to get the ModelMakers for context or for request.
Create implementations of RDFSource for SDB, TDB, and SPARQL.
The SDB implementation absorbs JenaPersistentDataSourceSetup and part of ConfigurationPropertiesSmokeTests,
which aren't needed unless we use SDB.
This is probably broken, without the subsequent changes.
2014-07-18 17:15:24 -04:00
Jim Blake
63ed82cef9
VIVO-823 Create some tests for the VitroModelFactory
...
Make changes as determined by the tests, to BulkUpdatingOntModel as well.
Add debug statements to ModelSynchronizer.
2014-07-18 17:04:58 -04:00
Jim Blake
04f763109e
VIVO-823 Create several ModelMaker decorators, with tests
2014-07-18 17:02:21 -04:00
Jim Blake
553bd417f7
VIVO-730 SparqlUpdatePage is no longer used.
2014-07-18 16:54:20 -04:00
Jim Blake
8115aebc1f
Fix this warning message.
2014-07-18 10:51:31 -04:00
Jim Blake
1343a762e8
Add license tag.
2014-07-17 11:17:42 -04:00
hudajkhan
72fbcedcba
updates for returning array of most specific types and incorporating that check in removeConceptSubclasses in the client-side code VIVO-826
2014-07-10 12:37:16 -04:00
Jim Blake
8591894262
GuardAgainstUnmigratedRDB should behave well if the database driver is not found.
2014-07-10 10:30:09 -04:00
Jim Blake
b2c3ebca42
Copy build.properties correctly into WEB-INF/resources.
...
Users may override with ant -Dbuild.properties.file=my.silly.name, but when it gets copied into WEB-INF/resources, it must be called build.properties
2014-07-08 12:19:13 -04:00
brianjlowe
d65cc2b106
adding some unit tests to JenaIngestUtils
2014-06-27 16:44:14 -04:00
Jim Blake
1baf710499
Merge branch 'maint-rel-1.7' into develop
2014-06-27 14:31:36 -04:00
Jim Blake
466e295c79
VIVO-811 adjust the values of the mime-type radio buttons.
2014-06-27 14:31:19 -04:00
Jim Blake
e61b82ae85
Merge branch 'maint-rel-1.7' into develop
...
Conflicts:
webapp/src/edu/cornell/mannlib/vitro/webapp/rdfservice/adapters/SpecialBulkUpdatingGraph.java
2014-06-23 14:42:45 -04:00
Jim Blake
30506fa8b7
VIVO-806 Remove deprecation warnings.
2014-06-23 14:41:13 -04:00
Tim Worrall
b572e3f474
VIVO-805: fix i18n parameter issue on password length string
2014-06-23 10:56:19 -04:00
Tim Worrall
c0b7e96f27
VIVO-804: fix ordering of property groups
2014-06-23 10:55:52 -04:00
Tim Worrall
638699f08e
VIVO-804: fix ordering of property groups
2014-06-23 10:53:50 -04:00
Tim Worrall
8510505424
VIVO-805: fix i18n parameter issue on password length string
2014-06-23 09:42:00 -04:00
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