Art Rhyno [Tue, 14 May 2013 03:12:42 +0000 (23:12 -0400)]
Fix up some missing CAS components
Not sure what happened here, but the original CAS commit
might not have been to Conifer. Making this a working
branch for now to sort out test environment.
Dan Scott [Fri, 10 May 2013 16:42:24 +0000 (12:42 -0400)]
TPAC: Avoid showing URIs from 856 if we have OpenURL results
There is already a lot of logic to deduplicate OpenURL results versus
URIs in 856 fields, but in practice URIs in 856s tend to be subject to
bitrot, while SFX generally should be trustworthy. Thus, don't generate
electronic resources for 856s if we have OpenURL results.
Another optimization might be to hide the 856 results in case SFX is
wrong, then give users the ability to show them, but that might be
something we only want to enable in the staff client...
Dan Scott [Thu, 9 May 2013 16:58:17 +0000 (12:58 -0400)]
TPAC: Hide Awards and Added Content always
Awards can only ever be displayed if you have Novelist or Chilifresh
patron reviews activated, but are currently always displayed. Which is
annoying. A better approach would be to display this only if you have
Novelist or Chilifresh activated, but as we at Conifer do not have these
across the board, always hide the tab.
Similarly, the added content tab appears to generate plenty of false
positives, so just hide it for now rather than irritate people.
Art Rhyno [Tue, 5 Mar 2013 20:15:10 +0000 (15:15 -0500)]
Use custom login form for including CAS option
Windsor has an option for CAS that needs to be included
for "holds" and other links where authentication has
not happened yet. This adds the custom form to the TPAC
layout.
Art Rhyno [Tue, 4 Dec 2012 02:15:33 +0000 (21:15 -0500)]
Add search filters for formats and clean up front page
This uses evergreen's filter group functionality to add
"Videos", "Maps", and "Music" for limiting searches from the
basic search screen. The link to the jspac is also finally
retired and a "Start Over" link is added.
INSERT INTO actor.search_query (label, query_text)
VALUES ('Maps', 'item_type(e,f)');
INSERT INTO actor.search_query (label, query_text)
VALUES ('Music', 'item_type(c,d,j)');
INSERT INTO actor.search_query (label, query_text)
VALUES ('Videos', 'item_type(g)');
INSERT INTO actor.search_filter_group_entry (grp, query, pos)
VALUES (
(SELECT id FROM actor.search_filter_group WHERE code = 'tpac_windsor'),
(SELECT id FROM actor.search_query WHERE label = 'Maps'),
1
);
INSERT INTO actor.search_filter_group_entry (grp, query, pos)
VALUES (
(SELECT id FROM actor.search_filter_group WHERE code = 'tpac_windsor'),
(SELECT id FROM actor.search_query WHERE label = 'Music'),
2
);
INSERT INTO actor.search_filter_group_entry (grp, query, pos)
VALUES (
(SELECT id FROM actor.search_filter_group WHERE code = 'tpac_windsor'),
(SELECT id FROM actor.search_query WHERE label = 'Videos'),
3
);
Dan Scott [Tue, 23 Oct 2012 17:07:27 +0000 (13:07 -0400)]
Enable contents fields to be displayed in Windsor TPAC
Windsor customized summary.tt2, which is what we changed to pull in the
contents fields in the main body of the record summary. So we need to
make the same change to the customized version.
Rick Scott [Wed, 6 Feb 2013 18:44:03 +0000 (13:44 -0500)]
Use relative URLs for 'old catalogue' link.
Change the 'old catalogue' links to use relative instead of absolute URLs.
This way, clicking them on a test site (eg algoma-test.concat.ca) keeps you
on that site instead of sending you to prod.
Signed-off-by: Rick Scott <rick@shadowspar.dyndns.org>
Rick Scott [Thu, 30 Aug 2012 20:13:25 +0000 (16:13 -0400)]
Clean up and re-style AlgomaU's OPAC templates.
In addition to adding the same graphical header so that the OPAC
more closely resembles the new Wishart website, this change
incorporates several smaller fixes:
* replace the AlgomaU "small university/big education" logo
with the small AlgomaU wordmark
* center the logo via CSS, not <center>
* fix vertical centering of the "your account log in" text --
needs margins only left & right, not on all 4 sides
* replace border on the user/pass input boxen so that they
are visible once again.
Signed-off-by: Rick Scott <rick@shadowspar.dyndns.org>
Robin Isard [Sun, 5 Aug 2012 01:16:45 +0000 (21:16 -0400)]
Fixed account login form.
Made a mistake with the login form (thought it was the home page for some reason. Restored it to it's glory, but removed help texts cause that's the fastest way to get the fix pushed.
Signed-off-by: Robin Isard <robin.isard@algomau.ca> Signed-off-by: Dan Scott <dscott@laurentian.ca>
Robin Isard [Sat, 4 Aug 2012 19:49:04 +0000 (15:49 -0400)]
Touch-up of Algoma tpac skin.
*changed the main logo on the homepate
*changed the header links to reflect new library website
*added footer links
*added config file based on lul's to enable OpenURL
Signed-off-by: Robin Isard <robin.isard@algomau.ca>
Art Rhyno [Mon, 13 Aug 2012 21:22:17 +0000 (17:22 -0400)]
TPAC: Make "Show more details" in results optional
Academic sites typically handle a lot of electronic content and want to
bring most details about entries, such as availability, status, and
URLs, on a results screen to the front.
This adds a 'show_more_details.default' option in 'config.tt2' that can
have the values 'true', 'false' and 'hide'. The 'true' and 'false'
values set the default for the button to more and less respectively, and
'hide' suppresses the button from showing at all.
Signed-off-by: Art Rhyno <art632000@yahoo.ca> Signed-off-by: Dan Scott <dscott@laurentian.ca>
Dan Scott [Thu, 30 Aug 2012 14:48:32 +0000 (10:48 -0400)]
Add an ou_host_name parameter for TPAC login forms
If set, and the incoming username does not already include an '@' symbol
(a very simple attempt to detect if we're already dealing with an email
address), then append '@' + the ou_host_name value to the username for
authentication purposes.
The rationale is that in a large consortium, you might want to enable
users to log in with short usernames (like 'fred'), but you also want to
avoid conflicts between short usernames at different organizational
units. Thus, create the users with the email equivalent of their
usernames, like 'fred@br1.example.com' and 'fred@br4.example.com', and
let the templates for the TPAC in br1 and br4 contain a hidden input
field to append the appropriate email hostname.
Truth be told, this is probably most appropriate for a large consortium
containing two or more academic institutions that hope to use LDAP
authentication rather than native authentication, and therefore have
LDAP CNs that map to email addresses of CN@hostname that can then be
mapped to actor.usr.usrname (and actor.usr.email, of course).
Dan Scott [Mon, 27 Aug 2012 22:38:51 +0000 (18:38 -0400)]
Very rough LDAP authentication enablement for OSUL
Currently requires that the user enters their email address at the
username prompt; we then just use the local-part of the email address to
authenticate against the LDAP server.
In the VirtualHost sections of Apache, we can use SetEnv to force the
physical_loc to match the org unit ID(s) specified in opensrf.xml; for
example:
Dan Scott [Mon, 30 May 2011 19:23:09 +0000 (15:23 -0400)]
Add "Move to storage" quick UI for bulk location moves
This simplistic interface accepts a barcode and immediately returns
some bibliographic information if the barcode was found - and the
item is moved immediately to the specified location. Goal was to
minimize clicking, this pretty much requires just scan scan scan.
Dan Scott [Tue, 14 Feb 2012 15:46:24 +0000 (10:46 -0500)]
Prevent renew if item already is targeted for a hold
From http://biblio.laurentian.ca/tickets/conifer/wiki/devHolds
apparently I missed this in moving our customizations from SVN (or it
was only ever local?)