Commit graph

94 commits

Author SHA1 Message Date
j2blake
f2312a4067 VIVO-248 Move more RDF files into the home directory
Files for initializing the display, displayTbox and displayDisplay models. Also restructure the RDFFilesLoader.
2013-08-21 11:27:29 -04:00
j2blake
2c5ce8c5ce VIVO-248 Move filegraph RDF files into the home directory 2013-08-20 15:25:57 -04:00
j2blake
3f061da006 VIVO-246 Re-implement the FreemarkerConfiguration
The Configuration must contain mutable information like the theme directory and the TemplateLoader. It must also be request-specific so it can have the correct Locale for language support. But we should only have one instance, so there is only one TemplateCache (alternatively, one TemplateCache per theme).

Previously, this was addressed by intercepting the Template processing and adding the request-based info to the Environment. However, this interception code needed to appear each time a Template was processed. This was sometimes overlooked, and at best introduced a bunch of duplicated code.

Instead, I extended the freemarker Configuration class to include a ThreadLocal that holds request-specific information.
2013-08-08 13:22:16 -04:00
tworrall
98bb7236d1 replaced reference to the sirceforge wiki with a reference to the duraspace wiki 2013-08-06 14:31:26 -04:00
Brian Caruso
54f79f2ea7 Normalize line endings VIVO-101 2013-07-18 15:19:53 -04:00
j2blake
8f336b3505 VIVO-213 smoke test to check JVM temp directory
If it isn't set, if it isn't a directory, if we can't access it, if we can't create a temp file, complain.
2013-07-17 13:01:08 -04:00
Brian Caruso
7905b80df4 Adding initial search web service for updating uris. VIVO-98 2013-07-15 14:14:15 -04:00
j2blake
ed95df1637 VIVO-82 Merge the filters that set up VitroRequest models
VitroRequestPrep and WebappDaoFactorySDBPrep merge to RequestModelsPrep. WebappDaoFactorySparqlPrep goes away.
2013-06-06 17:28:45 -04:00
j2blake
416e98f5ab VIVO-82 Split WebappDaoSetup into ContentModelSetup and ModelMaker setup. 2013-05-16 16:42:57 -04:00
j2blake
6123f41d95 VIVO-87 First attempt at a caching filter.
Appears to work with Firefox cache and Chrome cache, except for language-dependent stuff.

Is that because it isn't configured correctly, or is it because Firefox and Chrome aren't attempting to keep more than one version of a page in their caches? Even if they do see a "Vary: Accept-Language" header?
2013-05-14 16:37:29 -04:00
j2blake
efdfaa9c8f directDownloadUrl should appear as a data property in the vitroPublic ontology. 2013-04-15 12:20:48 -04:00
j2blake
665a666b7f Remove <servlet-mapping> that have no matching <servlet> 2013-04-10 15:51:03 -04:00
j2blake
c53e53c526 VIVO-2 Fix the URIs of the JSTL taglibs. 2013-03-08 17:48:27 -05:00
j2blake
7c2de3a6f2 Clean up web.xml and create a unit test to keep it clean.
VIVO-19
2013-02-04 17:22:29 -05:00
j2blake
bb6b2fa970 VIVO-12 NIHVIVO-4011 Provide config and GUI for selecting Locale 2013-01-24 16:21:36 -05:00
hudajkhan
f26d353b1c Adding EditRequestAJAXController to web.xml
Also updating .gitignore so .build items don't show up
2012-11-09 09:49:09 -05:00
stellamit
945243377b update for NIHVIVO-3998 2012-10-19 22:23:25 +00:00
hjkhjk54
52314c4640 Updates for adding a data getter that executes a solr query to retrieve individuals for a specific vclass and returns the results - the default template is a copy of the individual list controller template - some code refactoring also breaks out some of the individual controller methods into solr query utils for potential further reuse. 2012-10-16 20:40:02 +00:00
j2blake
b4796c649a NIHVIVO-3209 Create two controllers: one will show the status of all living instances of VitroBackgroundThread (for system monitoring); the other will wait until they are idle (for Selenium tests). 2012-10-15 19:23:05 +00:00
j2blake
f491a7c95c NIHVIVO-3988 Change the handling of multiple root user accounts, and remove the back-door login mechanism. 2012-10-08 16:46:31 +00:00
tworrall
72d2cafc2a merging 10098 to the trunk 2012-10-05 17:39:36 +00:00
hjkhjk54
0b3d14ebab Updates for enabling the association of sparql queries with OWL classes and allowing the individual response builder to retrieve data (using data getters) and make that data available to the templates. Additionally, I'm adding a new data post processor that allows 'duplicate' results (or results with the same object uri for the main subject uri) to be returned - this relates to work being done by Frances for Vitro. This post processor will need to be explicitly included for it to be used. 2012-09-24 16:14:51 +00:00
hjkhjk54
b0f4e7e820 updates for page management and adding rdfs prefix to menu.n3 2012-08-20 19:26:32 +00:00
hjkhjk54
8225bcf91f updates for handling single and double quotes as well as enabling self contained template option for page management 2012-08-03 15:24:58 +00:00
tworrall
de276020aa converted prperty groups listing to new design, like class groups and class hierarchy 2012-07-03 15:33:52 +00:00
hjkhjk54
2a3181536c updates for code cleanup, also fixed error in internalClassDataGetter introduced after previous update removing JSON Object as constructor for ProcessInternalClassDataGetter. Added space to sparql query for other ProcessDataGetter classes - although code was working without that. 2012-06-26 17:48:50 +00:00
j2blake
c4ae8af529 NIHVIVO-3772 Incorporate the most recent changes from Eric (2012-06-20) 2012-06-24 17:51:08 +00:00
hjkhjk54
7e2a5d22d4 updates for page management, and replacing empty options with Constant empty options for pageData in EditConfigurationTemplateModel in populateDropdowns and also logging error if name in pageData already in use for that field name 2012-06-24 01:39:58 +00:00
hjkhjk54
9ca30d634a updates for page management 2012-06-22 17:56:02 +00:00
hjkhjk54
67f5517d90 updates to enable page list to return correctly (previous pageUri parameter was being bound after sparql query updated to enable parameter binding to query) 2012-06-22 14:55:29 +00:00
j2blake
e8f01e9838 NIHVIVO-3748 Implement a shortview_config.n3 file to set up the short views. It had been hardcoded. 2012-06-21 19:41:35 +00:00
stellamit
f7e7bd9998 removing AppliationConfiguration.n3 from trunk, it is saved on branch dev-app-ont-NIHVIVO-3609 2012-06-14 15:25:42 +00:00
hjkhjk54
5c3ab93bd5 updates for page management 2012-06-14 14:20:27 +00:00
brianjlowe
297e943635 merge dev-rdfapi branch to trunk 2012-06-13 18:44:46 +00:00
tworrall
3099c26c9a NIHVIVO 2465 and 2485 display and manage multiple rdfs labels 2012-06-13 18:41:25 +00:00
brianjlowe
94a34e274b startup listener refactoring for RDF API 2012-06-12 19:55:18 +00:00
brianjlowe
101de4614b merge recent revision from trunk 2012-06-08 19:41:48 +00:00
brianjlowe
b480cb2eea improvements to blank node handling in bulk deletion 2012-06-08 19:38:04 +00:00
j2blake
b84407eba2 NIHVIVO-3774 Add startup smoke tests for the OpenSocial framework, if it is configured. 2012-06-08 16:16:38 +00:00
j2blake
f4e5c31aa8 NIHVIVO-3772 NIHVIVO-3721 Incorporate the OpenSocial integration from Eric Meeks at CTSI, UCSF. Add instructions on how to install and configure ORNG Shindig. 2012-06-05 19:31:20 +00:00
hjkhjk54
a31b91bddd Updates for page management 2012-06-04 21:36:04 +00:00
brianjlowe
cead502f89 SDB implementation of RDF API (and merge from trunk) 2012-06-04 21:09:36 +00:00
tworrall
8ee4d7cd8e NIHVIVO-3771 new object and data property hierarchies and listings 2012-05-31 14:00:17 +00:00
stellamit
4a9f6a6f28 NIHVIVO-3603, changing 'true' and 'false' individuals to 'offerForEdit' and 'doNotOfferForEdit.' Changing the domain of inheritingConfigContextFor and nonInheritingConfigContextFor from ConfigContext to ApplcationConfig, and changing the names of them to inheritingConfigurationFor and nonInheritingConfigurationFor. 2012-05-29 17:49:49 +00:00
hjkhjk54
b6f56756f0 page management would also be available at vitro level 2012-05-16 21:15:20 +00:00
tworrall
79cd09e2fa NIHVIVO-3665 - vitro components for new class hierarchy 2012-05-08 19:04:32 +00:00
briancaruso
29e4edc25d Worked on refactoring the startup listeners NIHVIVO-3700. Removed some old N3 code. 2012-05-04 16:20:26 +00:00
stellamit
c3cd046848 NIHVIVO-3603 updated ApplicationConfiguration ontology based on April 30 meeting. Changed the format to n3 and added Page and DataGetter classes and subclasses. 2012-05-01 14:47:08 +00:00
j2blake
ba55a8dcf9 NIHVIVO-2411 Move JsonServlet into its own package, in preparation for refactoring. 2012-04-26 20:57:46 +00:00
j2blake
022506cbf4 NIHVIVO-2411 Create a mock implementation of the ShortViewService and incorporate it into the search page. Because this is a mock, it always uses the default short view, like before. There should be no difference for the end-user. 2012-04-25 19:32:50 +00:00