Commit graph

4374 commits

Author SHA1 Message Date
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
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
22f29cb958 Create a language-neutral Dataset in the VitroRequest. 2013-08-23 10:40:51 -04:00
j2blake
9d1fef76ea VIVO-258 Add a "selected" flag to each Freemarker locale variable. 2013-08-22 10:56:49 -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
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
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
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
j2blake
50a6be56a2 VIVO-39 Deprecate the SimplePermission instances that we would like to see go away. 2013-07-29 14:30:49 -04:00
j2blake
578bc95b63 Merge branch 'develop' of git+ssh://github.com/vivo-project/Vitro into develop 2013-07-25 11:55:03 -04:00
j2blake
9f1b9f6beb Add license tag line. Remove unused imports. VIVO-222 2013-07-25 11:51:45 -04:00
Brian Caruso
b9d1b5d48f Remvoing unused Solr fileds ALLTEXT_PHONETIC, PHI, ADJACENT_NODES, modType, JCLASS,
Adding field mostSpecificTypesURIs for VIVO-221
2013-07-25 11:38:40 -04:00
Brian Caruso
5b0f8919b7 Fixing broken FileUploadServletRequest VIVO-222 2013-07-24 17:14:32 -04:00
j2blake
c00fefacfe Changes to the SolrSetup class require access to the newer HttpClient libraries
VIVO-161 VIVO-43
2013-07-24 11:49:56 -04:00
Brian Caruso
efb879ce1e Removing classLocalNameLowerCase from solr schema.xml VIVO-161 2013-07-22 15:44:22 -04:00
j2blake
73fd47dd55 VIVO-212 The "unfiltered" WebappDaoFactory must be built from language-aware models, even if no policy filtering is applied. 2013-07-22 12:31:56 -04:00
tworrall
46ae630e95 VIVO-215: fix layout of search results page - the first search result was appearing up in the header as were the facets; standardize look of the download popup. Also ensure that longer headings that include types from the facet wrap to new line rather than overrun the search help link. 2013-07-18 16:56:56 -04:00
j2blake
fcbe59dcf6 Use the WADF from the request, not from the context.
It will never be null.
2013-07-18 16:18:49 -04:00
j2blake
345f99790f VIVO-212 Rename WADF access methods on VitroRequest
Overlooked a reference in a JSP
2013-07-18 15:31:42 -04:00
Brian Caruso
54f79f2ea7 Normalize line endings VIVO-101 2013-07-18 15:19:53 -04:00
Brian Caruso
dfce1429b1 Merge branch 'issue-vivo-191' into develop 2013-07-18 14:35:05 -04:00
Brian Caruso
c1a6c0b228 Removing unused properties VIVO-191 2013-07-18 14:32:45 -04:00
j2blake
4f6679be58 VIVO-212 Rename WADF access methods on VitroRequest
Use the term Unfiltered instead of Full, for consistency with other places in Vitro.
2013-07-18 13:22:45 -04:00
j2blake
c3a0568114 VIVO-212 Add unfiltered WADFs to ModelAccess
Create two new FactoryIDs: UNFILTERED_BASE and UNFILTERED_UNION
Modify VitroRequest so the unfiltered WADF is no longer stored in an attribute on the request.
Initialize them in the context - same as the BASE and UNION
Initialize them in the request - same as the BASE, but UNION will be filtered.
2013-07-18 12:37:20 -04:00
tworrall
614d338257 moving some i18n() strings from vivo (wilma theme) to vitro 2013-07-17 15:52:17 -04:00
Brian Caruso
7620e43209 Merge branch 'develop' of github.com:vivo-project/Vitro into develop 2013-07-17 15:03:38 -04:00
Brian Caruso
38e6146390 Fixing RDF edit on session experation. VIVO-186 2013-07-17 15:03:28 -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
e3b57fd0b6 Improved the option sorting code in IndividualTypeRetryController VIVO-154 2013-07-17 11:52:42 -04:00
Brian Caruso
926d154bce Added test to UrlBuilderTest for utf8 VIVO-168 2013-07-16 17:27:52 -04:00
Brian Caruso
8d78ba0373 Change to comments in VClassGroupCache 2013-07-16 17:27:14 -04:00
Brian Caruso
fb28ce2d6d Adding checks for exceptions to solr index building. 2013-07-16 16:15:26 -04:00
Brian Caruso
268a786214 Adding check for null to IndividualFiltering to avoid problems from jena parse errors 2013-07-16 16:14:45 -04:00
Brian Caruso
fb46e64725 Adding login via email/password parameters 2013-07-16 12:28:24 -04:00
Brian Caruso
7905b80df4 Adding initial search web service for updating uris. VIVO-98 2013-07-15 14:14:15 -04:00