Commit graph

5070 commits

Author SHA1 Message Date
Brian Caruso
3431e64ae8 Adding plugin to disable sameAs in SimpleReasoner. VIVO-110 2013-08-29 13:20:10 -04:00
Brian Caruso
446df7c094 Adding more tests of SimpleReasoner with sameAs disabled. VIVO-110 2013-08-29 13:14:15 -04:00
Brian Caruso
05917378cc Adding ability to disable sameAs in SimpleReasoner. VIVO-110 2013-08-28 17:25:09 -04:00
Brian Caruso
bbfd68ef4d combined addedTBoxStatement and removedTBoxStatement, VIVO-110 2013-08-28 16:21:59 -04:00
Brian Caruso
9f4ea054ac Removing some iso-8859 conversions. VIVO-81 2013-08-28 14:37:05 -04:00
Brian Caruso
314a4e638b Adding license text to new files 2013-08-28 14:08:05 -04:00
j2blake
aab7ad8798 Show only a summary of licensing info. 2013-08-28 11:54:10 -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
Brian Caruso
ab11fff370 Adding serialization support or JSON-LD to indivdiual controller. VIVO-255 2013-08-28 11:18:33 -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
22d7e04573 Odd commit related to licenser. Maybe line ending problems? 2013-08-27 15:27:16 -04:00
Brian Caruso
50945d5af1 Adding JSON-LD to SPARQL form. Adding jsonld-java libraries. VIVO-255 2013-08-27 15:10:34 -04:00
j2blake
dcda958d8d VIVO-29 Obtain revisión info from Git
Subversion is no longer relevant.
2013-08-26 17:50:02 -04:00
Brian Caruso
2ba94ee167 Refactoring how SparqlQueryServlet uses RDFService 2013-08-26 15:44:14 -04:00
j2blake
e2b5c71874 VIVO-4 remove the license substitution code from the license scanner
Now, it only scans.
2013-08-26 14:56:54 -04:00
j2blake
07cf4ad00d Fix line-ending characters 2013-08-26 11:49:47 -04:00
j2blake
22f29cb958 Create a language-neutral Dataset in the VitroRequest. 2013-08-23 10:40:51 -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
45510fefca Changing Actions to remove OR support. Adding OR support to PolicyList VIVO-101 VIVO-63 2013-08-22 15:03:27 -04:00
j2blake
9d1fef76ea VIVO-258 Add a "selected" flag to each Freemarker locale variable. 2013-08-22 10:56:49 -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
b425682a92 Changing SimplePermission and SimpleRequestedAction to use URIs instead of localnames 2013-08-21 16:02:36 -04:00
j2blake
b0e0c773c9 VIVO-248 Use /rdf instead of /rdffiles 2013-08-21 15:55:19 -04:00
j2blake
1c475a5661 VIVO-248 Tweak some issues with file paths and Application Model init. 2013-08-21 15:08:48 -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
290333a21e VIVO-248 Move more RDF files into the home directory
Files for initializing the TBOX, ABOX, ApplicationMetadata and UserAccounts models.
2013-08-20 17:13:48 -04:00
j2blake
2c5ce8c5ce VIVO-248 Move filegraph RDF files into the home directory 2013-08-20 15:25:57 -04:00
Brian Caruso
63da01ed7b Adding RequiresActions interface 2013-08-20 11:42:08 -04:00
Brian Caruso
3bb968a72a removing some PageDataGetter objects. They are replaced by DataGetter objects 2013-08-20 11:41:04 -04:00
Brian Caruso
34af3c202a Adding email password method to PolicyHelper. Adding getClientAddr to VitroRequest 2013-08-20 11:40:23 -04:00
Brian Caruso
e6a7ad34d3 merging develop to issue-vivo-101-sparqlupdate 2013-08-19 16:21:16 -04:00
Brian Caruso
ec162df154 git seems to be attempting to change the CRLF to LF in the build.xml 2013-08-19 16:18:18 -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
j2blake
969569c385 VIVO-246 Continue cleanup 2013-08-05 17:10:55 -04:00
j2blake
7083d8acc4 VIVO-246 Set up the Freemarker directives in only one place. 2013-08-05 16:54:49 -04:00
j2blake
9a0ec5a76e VIVO-96 Recognize language support within editing framework.
Instead of adding the same kluge in another location (and passing the necessary info through six layers of framework), modify the FreemarkerConfiguration to directly hold request info. Storing it in a ThreadLocal means that each thread sees its own request info, without confusion. There is still only one instance of FreemarkerConfiguration, so the template cache is shared as before.
2013-08-05 16:15:37 -04:00
tworrall
36a7b57fad Merge branch 'develop' of https://github.com/vivo-project/Vitro into develop 2013-08-05 15:12:45 -04:00
tworrall
37142c0231 VIVO-208: all fields now displayed when custom forms are rendered; customized 2-stage forms will still work as before 2013-08-05 15:12:24 -04:00
Brian Caruso
f5161e14b7 Removing PageDataGetters and its related servlets and tests. VIVO-218 2013-08-05 12:41:15 -04:00
Brian Caruso
d802b95f9c removing white space from very long line 2013-08-02 11:30:33 -04:00
j2blake
65aafbc64c VIVO-235 Improve build instructions.
Tell the user what to expect when they run "ant all", and how to distinguish success from failure.
2013-08-01 17:18:06 -04:00
j2blake
1b1c28f216 VIVO-235 Reduce "deprecation" messages in the build
The @SuppressWarnings("deprecation") annotation doesn't apply to an import statement, but it does apply if the class is fully-qualified when created.
2013-08-01 16:07:55 -04:00
j2blake
c75c0d0f9f VIVO-235 Reduce "deprecation" messages in the build
It's OK for these stub classes to implement deprecated methods in the interfaces, as long as they declare those methods with @Override and @Deprecated.
2013-08-01 16:06:59 -04:00
j2blake
56b963d8bc VIVO-235 Reduce "deprecation" messages in the build
The benefit of making these instances deprecated is very small. The annoyance of having deprecation messages in the build is very real.
2013-08-01 16:04:42 -04:00
j2blake
036d20b892 VIVO-227 Remove warning message from JsonServletTest 2013-08-01 15:24:33 -04:00
j2blake
6b3d9a28c7 VIVO-234 Ignore a runtime.properties file in the distribution directory 2013-08-01 15:08:15 -04:00
j2blake
914bb18278 VIVO-64 Modify UpdateKnowledgeBase so it doesn't require an empty directory.
It will create any directories that it needs. It will also store them in [vitro.home]/upgrade/knowledgeBase instead of [webapps]/vivo/WEB-INF/ontologies/upgrade
2013-07-31 16:30:40 -04:00
Brian Caruso
6a3e6f4f5b Merge branch 'develop' into issue-vivo-101-sparqlupdate 2013-07-31 13:53:39 -04:00