Commit graph

1830 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
9d1fef76ea VIVO-258 Add a "selected" flag to each Freemarker locale variable. 2013-08-22 10:56:49 -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
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
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
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
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
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
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
Jim Blake
6641725042 Merge pull request #4 from vivo-project/feature/search-download
Feature/search download
2013-06-28 12:15:12 -07:00
tworrall
a56a80074d removing some unused image files 2013-06-25 15:52:36 -04:00
tworrall
aa9be9469c removed a superfluous <h4> tag to fix the Ontology List link 2013-06-24 10:46:01 -04:00
Stephen V. Williams
315894cc30 Update pagedResults - cleaned up bad merge results 2013-06-17 10:44:49 -05:00
j2blake
5de5a322a2 VIVO-139 Use the I18n framework wherever DisplayMessage is loaded. 2013-06-14 12:47:37 -04:00
tworrall
d83fcd6fd7 removed duplicate lines 2013-06-14 10:00:02 -04:00
j2blake
9c21ecc575 VIVO-125 Bring all_es.properties up to par with all.properties 2013-06-13 15:16:18 -04:00
tworrall
3ce6a224a3 fix for vivo-127 2013-06-12 16:04:42 -04:00
tworrall
f267df494d changed the way the limit search home page feature works so that it will support i18n 2013-06-12 15:25:36 -04:00
tworrall
b1014d1b2b vivo-66: add a link on menu ordering that returns the user to page management 2013-06-12 10:31:00 -04:00
j2blake
d731166ff4 VIVO-125 Continue to develop the googleSpanish text.
Bring all_es.properties up to par with all.properties, in both Vitro and VIVO/Wilma
2013-06-11 16:28:00 -04:00
tworrall
8af9c0005c fix for jira issue vivo-124 2013-06-11 16:15:42 -04:00
tworrall
d74176f18d i18n updates to javascript files and related templates 2013-06-11 12:25:01 -04:00
j2blake
69ab12c4bc VIVO-82 Remove the vestiges of VitroRequestPrep
Unused imports prevented the compiling of JSPs
2013-06-07 15:43:22 -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
Stephen V. Williams
16412889b2 merged i18n changes in searchPageResults into feature/search-download changes for downloading results and adding counts to facets 2013-05-31 15:02:13 -06:00
Stephen V. Williams
fb70b50108 Added search counts to the searchTOC - see listserv email for request 2013-05-31 14:38:52 -06:00
Stephen V. Williams
8880d87484 changed order so name is first, removed vivo items (added to the VIVO branch of this feature) from xmlResults. 2013-05-31 12:20:27 -06:00
tworrall
4a01fa057b more template updates for i18n 2013-05-31 11:57:37 -04:00
Stephen V. Williams
b5e148975a fixed a bug in the download that didn't allow it include limits such as Class when drilling down, added a slider that allows you to modify the maximum number of results returned and modified the csv template to include the sitename, query text, and date in its header 2013-05-31 09:23:05 -06:00
tworrall
749e667e6a some i18n cleanup 2013-05-21 10:56:25 -04:00
tworrall
8e26a768b5 some i18n cleanup 2013-05-21 10:55:24 -04:00
tworrall
639f0450ac template updates for internationalization, including updated all.properties 2013-05-20 15:36:37 -04:00
j2blake
cba000c58b VIVO-82 Use ModelAccess to get or set the BaseOntModel
a.k.a the Base Full model, or AssertionsModel
2013-05-17 14:15:25 -04:00
j2blake
6a4c7ba6fc VIVO-82 Use ModelAccess to get or set the JenaOntModel (Union Full model) 2013-05-17 12:37:49 -04:00
j2blake
4e4384bd3e VIVO-82 Use ModelAccess to get or set the JenaOntModel (Union Full model) 2013-05-17 12:28:48 -04:00
j2blake
416e98f5ab VIVO-82 Split WebappDaoSetup into ContentModelSetup and ModelMaker setup. 2013-05-16 16:42:57 -04:00
Stephen V. Williams
32395cbac2 Fixed controller for CSV output, added button and coorsponding js and png 2013-05-15 14:53:31 -06:00
Stephen V. Williams
96bed7ce03 first pass at creating a csv download option. TODO icons on page, debug failing load 2013-05-14 14:40:17 -06: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
tworrall
41850cecb4 more template updates for i18n 2013-05-14 13:49:19 -04:00
tworrall
63445aa249 the startupStatus-displayRaw template does not have access to the i18n freemarker variable, so backing those changes out 2013-05-14 11:32:50 -04:00
tworrall
62f2074dc9 updated the adjustFontSize function to include more checks 2013-05-14 11:04:04 -04:00
tworrall
c150b58c17 removed values that have yet to be translated 2013-05-13 12:21:25 -04:00