Commit graph

114 commits

Author SHA1 Message Date
Jim Blake
1bb5153857 VIVO-742 Setup the Application properly, and guard against NPEs 2014-04-22 15:18:22 -04:00
Jim Blake
823848123f VIVO-742 Create SearchEngineSetup and SearchIndexerSetup 2014-04-22 15:18:15 -04:00
Jim Blake
8892da74b0 VIVO-731 Implement the SPARQL query API.
Create a base class for API controller servlets.
2014-04-15 13:36:47 -04:00
Jim Blake
de32d53791 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:19:48 -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
03750cd669 VIVO-581 Add a diagnostic page 2013-12-10 11:37:47 -05:00
j2blake
60102fbf28 VIVO-530 Adjust SPARQL Update API 2013-11-26 16:02:52 -05:00
j2blake
0fce9f6a7b VIVO-541 First cut at the developer panel. 2013-11-17 11:52:18 -05:00
brianjlowe
aad1f023cc disabling knowledge base migration in plain vitro 2013-10-04 14:27:32 -04:00
hudajkhan
8d520895ac Merge branch 'develop' of https://github.com/vivo-project/Vitro into develop 2013-10-01 11:24:30 -04:00
hudajkhan
9fae5d7c3e updates for label management 2013-10-01 11:24:15 -04:00
Brian Caruso
dd2c9b8a7b Moving files to deal with vivo overrides. Adding permissions to pageList. VIVO-63 2013-09-30 16:30:41 -04:00
brianjlowe
500bb456c3 changing behavior of reasoning wrt migration 2013-09-20 15:41:45 -04:00
Brian Caruso
4c42128993 Merging with issue-vivo-101-sparqlupdate. Using develop licenser files that were in conflict. VIVO-255 VIVO-101 2013-08-28 11:37:50 -04:00
j2blake
d69bb824ac VIVO-274 move permission_config.n3 to rdf/auth/everytime
Get rid of the PermissionSetsLoader, keep the smoke tests.
2013-08-27 17:26:24 -04:00
Brian Caruso
19cf28da88 Fixing type with Sparql Update page permissions. VIVO-101 VIVO-63 2013-08-22 16:41:04 -04:00
Brian Caruso
e6c2596a35 Changing PageController to use permissions on pages. VIVO-63 Adding Permissions to display model. 2013-08-21 16:03:53 -04:00
Brian Caruso
7a431478cb Adding authorization to SparqlUpdate, changing name of SparqlUpdateTestDataGetter to SparqlUpdate. Adding AND to Actions 2013-08-21 13:01:13 -04:00
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
Brian Caruso
e6a7ad34d3 merging develop to issue-vivo-101-sparqlupdate 2013-08-19 16:21:16 -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
463453111d Adding proof of concept SPARQL update VIVO-101 2013-07-19 13:49:02 -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