Commit graph

333 commits

Author SHA1 Message Date
jeb228
a645c60e13 NIHVIVO-1368 fill the loginName field with a previously-supplied value, if one exists. 2010-12-01 15:39:16 +00:00
mb863
25edf03517 NIHVIVO-1361: Removed Forgot your password and request account features from widget-login.ftl template. This feature won't hit 1.2 2010-11-30 20:21:52 +00:00
rjy7
7b6c3237d4 Removed insufficient authorization part of already logged in message in login widget, since this case is being handled by a dedicated insufficient authorization page. 2010-11-30 19:29:23 +00:00
rjy7
42dca90027 NIHVIVO-1333 More work on property display on individual page 2010-11-30 13:45:28 +00:00
jeb228
30fa59cf5e NIHVIVO-1379 If a user is logged in but not authorized to view a page, send them to a page with an explanation. 2010-11-29 22:36:19 +00:00
mb863
d4b8a638af NIHVIVO-1361 2010-11-29 18:26:16 +00:00
jeb228
bdfe0d018d NIHVIVO-1399 create a servlet and template to use in faking external authentication. Add the info to web.xml, but commented out. 2010-11-28 22:35:07 +00:00
mb863
367fbc910c NIHVIVO-556: Making name selectors and markup consistent (using dash in between words VS camel notation), adding more aria roles, shortening selector names, just continuing cleaning markup for templates and optimizing css files. 2010-11-24 18:21:23 +00:00
rjy7
70fe857329 NIHVIVO-1394 As a necessary first step to calling a template from a controller which will add to the data model used by page and body templates, provide BaseTemplateModelDirective with its own template processing methods, to separate from TemplateProcessingHelper, which will only be available to FreemarkerHttpServlet. 2010-11-23 16:10:05 +00:00
rjy7
60060d4752 NIHVIVO-1393 Add button to login widget when external auth server is configured 2010-11-23 02:32:09 +00:00
rjy7
ca6ab8288e NIHVIVO-1386 Self-editors don't get SiteAdmin link in top nav. They also don't get revision info link in footer. Implemented with new User template model class. Changed tests for loginName, showFlag1Status in templates to use this object. 2010-11-23 01:28:39 +00:00
mb863
6196d46d60 Worked on styling login widget for Wilma theme 2010-11-19 20:54:16 +00:00
mb863
a3b8550e29 Fixed login widget for vivo-basic 2010-11-19 14:52:41 +00:00
rjy7
ca76cfa4bd Fixes to variable dump. 2010-11-18 23:30:35 +00:00
mb863
d4c96c6ba9 vivo-basic wasn't rendering property. Now It is fixed. 2010-11-18 18:50:52 +00:00
rjy7
4a3bc7d092 Added ${url.base} to template model so templates can build urls. Modified templates accordingly to replace ${url.home} with {$url.base}. Also replaced ${url.base}/images with ${url.images}. Added scripts and stylesheets to personHasEducationalTraining.ftl. 2010-11-18 00:46:04 +00:00
mb863
239c38b3c3 NIHVIVO-1361: clean up, added login.css to stylesheets.ftl 2010-11-17 23:16:59 +00:00
jeb228
37c9eaf4a1 NIHVIVO-1207 Rename Shibboleth servlets to more general ExternalAuth servlets. Add functionality to deal with self-editors as well as Users. 2010-11-17 19:25:55 +00:00
bdc34
0b2dc61fbe Working on custom forms in freemarker. 2010-11-17 17:40:04 +00:00
mb863
831d2209e9 NIHVIVO-634: Added aria roles for accessibility 2010-11-17 15:11:54 +00:00
mb863
a09564f454 NIHVIVO-641: Added aria roles for accessibility 2010-11-17 15:11:28 +00:00
mb863
bf5f121cd7 NIHVIVO-653: Styled revisionInfo.ftl page and added accessibility. 2010-11-17 15:08:49 +00:00
yuysun
c0e39512a8 Update siteadmin advancedDataTools 2010-11-17 14:06:59 +00:00
rjy7
174c548b27 NIHVIVO-151. Display the DisplayMessage on the next page loaded. Clear the message from the session. Added sample display markup to page templates. 2010-11-16 19:09:03 +00:00
rjy7
2b2d522f45 Change from boolean requiresLogin() to requiresLoginLevel() so that pages can require a specific login level. Remove login level checks from Freemarker controllers and handle using requiresLoginLevel() instead. If a user is already logged in and navigates or gets redirected to login page, show a message instead of a blank page. 2010-11-16 16:53:50 +00:00
rjy7
82581dc043 Remove login template include from siteAdmin page, since login now moved to its own page 2010-11-16 16:12:48 +00:00
rjy7
252edbe863 Use login widget on login page. 2010-11-16 14:44:01 +00:00
rjy7
2973ceebf2 NIHVIVO-1296 Integrate login functionality into login widget. 2010-11-15 22:17:20 +00:00
rjy7
d53a900e11 NIHVIVO-304 TestWidget demonstrates the use of different markup macros based on Java logic. 2010-11-15 02:22:37 +00:00
rjy7
8a49574f7e NIHVIVO-1304 Rewrote widget framework to support a single template per widget, with multiple macros in each template file. 2010-11-15 02:11:08 +00:00
mb863
4f62fe72f1 NIHVIVO-653: Styled revisionInfo.ftl. 2010-11-12 22:00:51 +00:00
mb863
a9cd4a489d NIHVIO-556: Undo the fix I did for expanding the width of the intro text for What is VIVO? in homepage 2010-11-12 18:57:13 +00:00
rjy7
70e116c8bb NIHVIVO-1304 Refactoring of widget code based on Brian Caruso's code review. 2010-11-12 18:02:06 +00:00
rjy7
7ad822efce NIHVIVO-1304 Allow a widget assets template to be absent without generating an error. 2010-11-11 01:19:56 +00:00
rjy7
8dc645cfb6 NIHVIVO-1304 Initial implementation of Widget directive. Requires two templates, one for assets and one for markup; would like to combine into a single template with two macros instead. 2010-11-10 19:50:28 +00:00
mb863
3eed766716 NIHVIVO-1315: Created temporary freemarker template for individual with generic classes. Once I have the controller ready I will wire data from the controller to the body template. 2010-11-09 21:55:29 +00:00
mb863
a564987e3c NIHVIVO-1316: Created temporary freemarker template. Once I have the controller ready I will wire data from the controller to the body template. 2010-11-09 21:54:32 +00:00
rjy7
e940ebc379 NIHVIVO-1304 Make request and context accessible through the Environment object so directives can reference them. 2010-11-09 17:12:10 +00:00
mb863
7f62ea5087 NIHVIVO-556. Organized html header elements. 2010-11-08 18:08:40 +00:00
bdc34
0028509f63 Fixed problem that was causing error on individual profile page when logged in. 2010-11-05 21:49:15 +00:00
mb863
594ebeda22 NIHVIVO-556: Temporary fix for not showing log-in widget after users log-in. I forgot I can't in Textmate commit files from VITRO and VIVO at the same time. That's why I am commiting this file. 2010-11-05 19:29:27 +00:00
mb863
d22657b1c8 Converted tab to spaces 2010-11-04 13:50:14 +00:00
mb863
125dcc3014 NIHVIVO-1073. Viz image placeholder wasn't rendering properly. Changed image path. 2010-11-03 21:20:15 +00:00
mb863
b3d84103a1 NIHVIVO-1074: Added semantic markup to menupage--classgroup-people.ftl (work in progress). Clean up css for menupage.css too. 2010-11-03 20:56:58 +00:00
rjy7
a7a5c821fb Combine addition of scripts and stylesheets into a single macro in the login widget 2010-11-03 02:26:48 +00:00
mb863
b1567facdc NIHVIVO-634: Deleted unnecessary <section> tag, and added proper code indentation. 2010-11-02 21:15:32 +00:00
mb863
57292e651d NIHVIVO-634: Created menupage.ftl (work in progress). 2010-11-02 20:53:45 +00:00
rjy7
c0d24139dc A new approach to widgets, that will allow them to be invoked directly from a page template, rather than a body template, but still add files to the template stylesheets and scripts objects. 2010-10-29 19:12:40 +00:00
rjy7
c178c8d922 NIHVIVO-1297 Undid the effects of revision 6246. This was a mistake, since including the body template from the page template rather than pregenerating the body string doesn't allow the addition of stylesheet tags to the page head. 2010-10-29 16:44:29 +00:00
rjy7
0bbe23a7fa NIHVIVO-1293 Corrected typo in variable name to show classgroup limitation on search results. Also added search.css from vivo-basic, as a temporary measure to format search results. 2010-10-28 20:16:15 +00:00