contrib/Conifer.git
13 years agoBlock "Place Hold" link in TPAC if item is available
Art Rhyno [Fri, 27 Jul 2012 15:39:14 +0000 (11:39 -0400)]
Block "Place Hold" link in TPAC if item is available

Suppress the display of the "Place Hold" link based on whether an item
is available. This is set as a preference in config.tt2. Some sites
may want the ability to place holds regardless of availability.

Signed-off-by: Art Rhyno <art632000@yahoo.ca>
Signed-off-by: Dan Scott <dscott@laurentian.ca>
13 years agoTPAC record display: MFHD issues, hide awards
Dan Scott [Thu, 26 Jul 2012 15:20:10 +0000 (11:20 -0400)]
TPAC record display: MFHD issues, hide awards

We never find any awards or reviews in records, so hide it all the time.
Additionally, move MFHD issue display above copy display in record
details, if we have any MFHD issues; then hide MFHD from the "extras".

Signed-off-by: Dan Scott <dscott@laurentian.ca>
13 years agoSuppress Bib Call Number index in TPAC
Dan Scott [Thu, 26 Jul 2012 19:16:11 +0000 (15:16 -0400)]
Suppress Bib Call Number index in TPAC

The Bib Call Number index is a non-standard and therefore non-functional
index for most libraries (unless they happen to have placed all of their
call numbers in a given MARC field in the corresponding bib records).
Suppress its visibility in the Conifer TPAC.

Signed-off-by: Dan Scott <dscott@laurentian.ca>
13 years agoAdd and use a patron search that overrides opt-in invisibility
Dan Scott [Wed, 14 Sep 2011 20:02:14 +0000 (16:02 -0400)]
Add and use a patron search that overrides opt-in invisibility

Something like this is required for API calls that need to operate
against a number of libraries in a given instance that are using opt-in;
otherwise, attempts to search for users will fail and you may end up
creating near-duplicates etc.

The implementation adds an
open-ils.actor.search.patron.advanced.opt_in_override method to
open-ils.actor, which, if invoked, checks to see if the caller has the
OPT_IN_OVERRIDE permission. If so, then the crazy_search ignores the
normal opt-in limits and searches all pertinent users in the database.

As a global permission, OPT_IN_OVERRIDE is a blunt instrument. Others
might want to put together a more refined version that uses OU depths to
define boundaries.

Signed-off-by: Dan Scott <dscott@laurentian.ca>
Conflicts:
Open-ILS/src/perlmods/lib/OpenILS/Application/Actor.pm
Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/actor.pm

13 years agoAdd "search by journal title" quick search option
Dan Scott [Mon, 30 May 2011 18:18:22 +0000 (14:18 -0400)]
Add "search by journal title" quick search option

Signed-off-by: Dan Scott <dscott@laurentian.ca>
13 years agoTreat a Polish l as an ASCII l in full-text search
Dan Scott [Mon, 30 May 2011 03:36:44 +0000 (23:36 -0400)]
Treat a Polish l as an ASCII l in full-text search

Is this code path even hit these days? Would have expected
naco_normalize to be poking around here if that was the case...

Signed-off-by: Dan Scott <dscott@laurentian.ca>
13 years agoPrevent renew if item already is targeted for a hold
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?)

Signed-off-by: Dan Scott <dscott@laurentian.ca>
13 years agoOSBO: Accidental copying of the "DVD VIDEO" rule
Dan Scott [Fri, 23 Sep 2011 20:40:38 +0000 (16:40 -0400)]
OSBO: Accidental copying of the "DVD VIDEO" rule

Meant to remove the "DVD" from the "DVD VIDEO" part of the circ modifier
the second time around.

Signed-off-by: Dan Scott <dscott@laurentian.ca>
13 years agoOSBO really did want $0.25/hour for all reserve periods
Dan Scott [Tue, 20 Sep 2011 17:01:32 +0000 (13:01 -0400)]
OSBO really did want $0.25/hour for all reserve periods

Signed-off-by: Dan Scott <dscott@laurentian.ca>
13 years agoAdd Reserve circ rules for Boreal
Dan Scott [Thu, 1 Sep 2011 19:01:39 +0000 (15:01 -0400)]
Add Reserve circ rules for Boreal

Still need some clarification on how these rules are to be applied, but
better to get the durations working right now and fix up the fines
later.

Signed-off-by: Dan Scott <dscott@laurentian.ca>
13 years agoAdd LEDL MISC to the list of allowed circ modifiers for Leddy
Dan Scott [Mon, 15 Aug 2011 17:10:17 +0000 (13:10 -0400)]
Add LEDL MISC to the list of allowed circ modifiers for Leddy

Signed-off-by: Dan Scott <dscott@laurentian.ca>
13 years agoAdd ILL-BOOK to the list of allowed circ modifiers for Leddy
Dan Scott [Mon, 15 Aug 2011 17:08:55 +0000 (13:08 -0400)]
Add ILL-BOOK to the list of allowed circ modifiers for Leddy

Signed-off-by: Dan Scott <dscott@laurentian.ca>
13 years agoAdd LEDL MISC 1 year 0 renew rule
Dan Scott [Thu, 11 Aug 2011 13:42:30 +0000 (09:42 -0400)]
Add LEDL MISC 1 year 0 renew rule

This had been working in production, but apparently never got
checked into git?

Signed-off-by: Dan Scott <dscott@laurentian.ca>
13 years agoAdd Boreal circulation rules
Dan Scott [Thu, 21 Jul 2011 19:08:53 +0000 (15:08 -0400)]
Add Boreal circulation rules

Still need to add their limits based on user profile & item type

Signed-off-by: Dan Scott <dscott@laurentian.ca>
13 years agoAdd ILL-BOOK circ rule for OWA
Dan Scott [Mon, 20 Jun 2011 17:54:23 +0000 (13:54 -0400)]
Add ILL-BOOK circ rule for OWA

Per ticket #683:

Loan period of 3 weeks
NO RENEWALS

Signed-off-by: Dan Scott <dscott@laurentian.ca>
13 years agoTrack Conifer JavaScript circulation rules
Dan Scott [Mon, 30 May 2011 02:18:04 +0000 (22:18 -0400)]
Track Conifer JavaScript circulation rules

Signed-off-by: Dan Scott <dscott@laurentian.ca>
13 years agoRobin's interface for managing library hours
Dan Scott [Tue, 1 May 2012 14:50:17 +0000 (10:50 -0400)]
Robin's interface for managing library hours

Signed-off-by: Dan Scott <dscott@laurentian.ca>
13 years agoRemove display of patron birthdate, internet access level, etc
Dan Scott [Mon, 30 May 2011 17:14:29 +0000 (13:14 -0400)]
Remove display of patron birthdate, internet access level, etc

These fields in the staff client are either not applicable or
potentially privacy-invasive or both. If the data somehow does
get into the system, we don't want it to show up on the staff
client anyway - and we don't want annoying warnings about unset
dates of birth, etc.

This is the hardcore way of doing things, we really should make
it yet another configuration setting. Oh well.

Signed-off-by: Dan Scott <dscott@laurentian.ca>
Conflicts:
Open-ILS/xul/staff_client/server/patron/summary_overlay.xul

13 years agoStamping Encumbrance-only rollover DB upgrade
Bill Erickson [Tue, 31 Jul 2012 13:14:40 +0000 (09:14 -0400)]
Stamping Encumbrance-only rollover DB upgrade

Signed-off-by: Bill Erickson <berick@esilibrary.com>
13 years agoFinishing off rollover-without-money feature
Lebbeous Fogle-Weekley [Fri, 27 Jul 2012 17:32:12 +0000 (13:32 -0400)]
Finishing off rollover-without-money feature

- Minor correction to make stock schema match upgrade script match.
- OU setting determining whether to offer rollover-without-money in UI
   and allow it in DB.

Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Signed-off-by: Bill Erickson <berick@esilibrary.com>
13 years agoAllow propagation of encumbrances without funds
Mike Rylander [Thu, 26 Jul 2012 13:35:01 +0000 (09:35 -0400)]
Allow propagation of encumbrances without funds

Some libraries must return all unspent money to some funding agencies at the
end of the year.  To support this, we give the year-end close-out operation
the ability to dump the money from rollover-enabled funds into the void. Funds
are still created for the next year, and encumbrances are moved to theses
analogous funds.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Bill Erickson <berick@esilibrary.com>
13 years agoSupport SIP payment type 02 - credit card
Jeff Godin [Tue, 19 Jun 2012 16:31:03 +0000 (12:31 -0400)]
Support SIP payment type 02 - credit card

Record SIP payments with payment type 02 as credit_card_payment in
Evergreen.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
13 years agoFix LP 829630, Show in Catalogue not working on Bills screen
Steven Chan [Sun, 8 Jul 2012 18:20:11 +0000 (11:20 -0700)]
Fix LP 829630, Show in Catalogue not working on Bills screen

The page is looking for a messagecatalog XUL element with id
'catStrings', but is not finding it, and so we add it to the relevant
XUL file.

It's odd why it is omitted, because a browse through the repository
doesn't show any changes that would explain the error.

Signed-off-by: James Fournie <jfournie@sitka.bclibraries.ca>
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
13 years agoUse bash and the postgres built-in array_agg
Mike Rylander [Thu, 14 Jun 2012 11:34:12 +0000 (07:34 -0400)]
Use bash and the postgres built-in array_agg

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Dan Scott <dscott@laurentian.ca>
13 years agoWrap upgrade script for TPAC advanced search VR formats
Dan Scott [Mon, 30 Jul 2012 20:24:45 +0000 (16:24 -0400)]
Wrap upgrade script for TPAC advanced search VR formats

Signed-off-by: Dan Scott <dscott@laurentian.ca>
13 years agoTPac: Advanced Search Config
Thomas Berezansky [Fri, 13 Apr 2012 21:24:43 +0000 (17:24 -0400)]
TPac: Advanced Search Config

Move advanced search limiter config to config.tt2.

This should, in theory, make it much easier to customize the fields shown
for searching in TPac.

Also adds the VR Format Coded Value Maps so that we can populate that
limiter with them.

And removes dojo.css from being loaded - That includes reset stuff that
messes with our CSS but doesn't seem to give us any benefit.

Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Signed-off-by: Dan Scott <dscott@laurentian.ca>
13 years agoTPAC: Address remaining colors and background URL image
Dan Scott [Mon, 30 Jul 2012 03:19:21 +0000 (23:19 -0400)]
TPAC: Address remaining colors and background URL image

Thanks to Thomas Berezansky for finding these remaining hard-coded CSS
colors, and raising a question about one of the background images that
turns out to not currently being in use.

Signed-off-by: Dan Scott <dan@coffeecode.net>
Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
13 years agoTPAC CSS: catch new colours added to master recently
Dan Scott [Sun, 29 Jul 2012 04:31:14 +0000 (00:31 -0400)]
TPAC CSS: catch new colours added to master recently

A few new colours were added to the CSS with recent features; roll them
into the CSS templates for good measure.

Signed-off-by: Dan Scott <dan@coffeecode.net>
Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
13 years agoTPAC CSS: Whitespace consistency
Dan Scott [Sun, 29 Jul 2012 04:19:30 +0000 (00:19 -0400)]
TPAC CSS: Whitespace consistency

Resolve the spaces and tabs quandary.

Signed-off-by: Dan Scott <dan@coffeecode.net>
Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
13 years agoTPAC CSS: Remove unused classes and associated images
Dan Scott [Sun, 29 Jul 2012 04:15:07 +0000 (00:15 -0400)]
TPAC CSS: Remove unused classes and associated images

Combing through the remaining url() usages in the TPAC CSS, it seems
that most of the usages are unreferenced in the actual TPAC. Therefore,
delete the cruft.

Signed-off-by: Dan Scott <dan@coffeecode.net>
Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
13 years agoTemplatize TPAC styles
Dan Scott [Thu, 26 Jul 2012 21:39:06 +0000 (17:39 -0400)]
Templatize TPAC styles

Begin by gathering the colors together in one consistent file, such that
skinning for the purposes of color only needs to touch one small file.
Also, it should make things easier for designers to reduce drastically
the number of colors that are actually used in the design.

Also, enable TT to handle the CSS files in Apache configuration.

Also, convert the login background image into a simple gradient.

Signed-off-by: Dan Scott <dscott@laurentian.ca>
Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
13 years agoNew XUL user perm editor
Thomas Berezansky [Sun, 29 Jul 2012 16:49:20 +0000 (12:49 -0400)]
New XUL user perm editor

The xhtml one doesn't work in newer xulrunners.

Also, as the same issue breaks the pre-2.0 user editor I have removed it
outright, including taking a stab at removing old language strings.

Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Signed-off-by: Dan Scott <dscott@laurentian.ca>
13 years agoMerge branch 'master' of git.evergreen-ils.org:Evergreen
Mike Rylander [Mon, 30 Jul 2012 19:08:47 +0000 (15:08 -0400)]
Merge branch 'master' of git.evergreen-ils.org:Evergreen

Appologies for the merge commit noise...

Signed-off-by: Mike Rylander <mrylander@gmail.com>
13 years agoStamping KPAC upgrade script
Mike Rylander [Mon, 30 Jul 2012 19:06:22 +0000 (15:06 -0400)]
Stamping KPAC upgrade script

Signed-off-by: Mike Rylander <mrylander@gmail.com>
13 years agokpac : repair skin2 logout link
Bill Erickson [Mon, 9 Jul 2012 14:22:51 +0000 (10:22 -0400)]
kpac : repair skin2 logout link

Replace non-existent logout image with logout text, including username,
similar to skin1.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
13 years agokpac : repair Top link
Bill Erickson [Tue, 26 Jun 2012 19:36:50 +0000 (15:36 -0400)]
kpac : repair Top link

Template Toolkit string.replace() does an inline replacement instead of
returning a value.  Use .replace() correctly when building the Top URL,
or the result will be an empty href, which direct to "here" in
Firefox/Chrome, but directs to "here, minus the page name in the URL"
(e.g. http://domain/eg/kpac/) in IE, which ultimately directs the user
to /eg/opac/login (since it doesn't match any configured paths).

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
13 years agokpac : better wording for the Save It dialog
Bill Erickson [Thu, 21 Jun 2012 13:07:18 +0000 (09:07 -0400)]
kpac : better wording for the Save It dialog

This removes any mention of selecting a location, which is not needed
for saving items to lists.  It also adds some language about saving
items to existing lists.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
13 years agokpac : typo Successfull => Successful
Bill Erickson [Fri, 15 Jun 2012 16:18:31 +0000 (12:18 -0400)]
kpac : typo Successfull => Successful

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
13 years agokpac : hrefs for back/top links in category page, avoid dupe cgi param
Bill Erickson [Wed, 6 Jun 2012 18:12:17 +0000 (14:12 -0400)]
kpac : hrefs for back/top links in category page, avoid dupe cgi param

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
13 years agokpac : hrefs for back/top links in category page
Bill Erickson [Wed, 6 Jun 2012 17:55:21 +0000 (13:55 -0400)]
kpac : hrefs for back/top links in category page

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
13 years agokpac : honor no-search propagation (nosprop) param on homesearch (alt skin)
Bill Erickson [Wed, 6 Jun 2012 17:28:01 +0000 (13:28 -0400)]
kpac : honor no-search propagation (nosprop) param on homesearch (alt skin)

When performing category-based searches, do not propagate the searches
into the search box on the home page, similar to the results page search
box.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
13 years agotpac/kpac : search_filter_group cache repairs
Bill Erickson [Tue, 29 May 2012 16:05:16 +0000 (12:05 -0400)]
tpac/kpac : search_filter_group cache repairs

Repaired bug in search_filter_group which lead to empty results
delivered when data was in the cache.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
13 years agokpac : hide font-size image/link pending design
Bill Erickson [Tue, 29 May 2012 14:01:25 +0000 (10:01 -0400)]
kpac : hide font-size image/link pending design

Will need to get some input on how this action should behave.  My
personal pref. is to use the browser's page zoom behavior, since it's
the only way to truly resize everything in the page.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
13 years agokpac : hide font-size image/link pending design
Bill Erickson [Tue, 29 May 2012 13:48:45 +0000 (09:48 -0400)]
kpac : hide font-size image/link pending design

Will need to get some input on how this action should behave.  My
personal pref. is to use the browser's page zoom behavior, since it's
the only way to truly resize everything in the page.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
13 years agokpac : honor no-search propagation (nosprop) param on homesearch
Bill Erickson [Tue, 29 May 2012 13:43:07 +0000 (09:43 -0400)]
kpac : honor no-search propagation (nosprop) param on homesearch

When performing category-based searches, do not propagate the searches
into the search box on the home page, similar to the results page search
box.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
13 years agotpac : sanity check record ID in detail page path
Bill Erickson [Tue, 29 May 2012 13:39:58 +0000 (09:39 -0400)]
tpac : sanity check record ID in detail page path

If the ID is malformed (or nonexistent), return a BAD_REQUEST status and
exit early to avoid any unnecessary DB lookups and error logging.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
13 years agokpac : added content
Bill Erickson [Fri, 25 May 2012 13:47:02 +0000 (09:47 -0400)]
kpac : added content

Integrate the added content support from tpac and clean up the old added
content stub code.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
13 years agokpac : show name of logged in user w/ logout link
Bill Erickson [Wed, 23 May 2012 17:35:55 +0000 (13:35 -0400)]
kpac : show name of logged in user w/ logout link

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
13 years agokpac : make hold-placement terminology more clear
Bill Erickson [Wed, 23 May 2012 17:08:10 +0000 (13:08 -0400)]
kpac : make hold-placement terminology more clear

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
13 years agokpac : repair logged-in temp list saving
Bill Erickson [Wed, 23 May 2012 17:03:44 +0000 (13:03 -0400)]
kpac : repair logged-in temp list saving

Allow users to save items to temp lists when logged in.  Also make the
language in the drop-down more clear regarding temporary list saving.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
13 years agokpac : clear more params from breadcrumb links
Bill Erickson [Wed, 23 May 2012 15:51:04 +0000 (11:51 -0400)]
kpac : clear more params from breadcrumb links

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
13 years agokpac : global filter config option
Bill Erickson [Wed, 23 May 2012 15:44:28 +0000 (11:44 -0400)]
kpac : global filter config option

Allows for configuration of an always-on global search filter.  All
searches, regardless of origin, in the kpac will be appended by this
filter when configured.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
13 years agokpac : integrate stock search filter group
Bill Erickson [Wed, 23 May 2012 15:21:37 +0000 (11:21 -0400)]
kpac : integrate stock search filter group

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
13 years agoKPAC : sample search filter group main search selector
Bill Erickson [Wed, 23 May 2012 15:20:00 +0000 (11:20 -0400)]
KPAC : sample search filter group main search selector

Provide a default search filter group for the kid's opac main search
selector.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
13 years agoTPAC filter group selector supports class / pos
Bill Erickson [Wed, 23 May 2012 15:10:41 +0000 (11:10 -0400)]
TPAC filter group selector supports class / pos

* Sort filter group entry options by position
* Allow caller to pass in a class attribute for the filter group selector

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
13 years agokpac : config file cleanup; vim modeline
Bill Erickson [Tue, 22 May 2012 14:51:34 +0000 (10:51 -0400)]
kpac : config file cleanup; vim modeline

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
13 years agokpac : wire up print page link w/ JS
Bill Erickson [Tue, 22 May 2012 13:43:26 +0000 (09:43 -0400)]
kpac : wire up print page link w/ JS

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
13 years agokpac: clear some form params from breadcrumb links
Bill Erickson [Tue, 22 May 2012 13:43:07 +0000 (09:43 -0400)]
kpac: clear some form params from breadcrumb links

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
13 years agokpac : initial added content cleanup
Bill Erickson [Fri, 18 May 2012 12:31:05 +0000 (08:31 -0400)]
kpac : initial added content cleanup

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
13 years agokpac; set record detail link in breadcrumbs
Bill Erickson [Thu, 17 May 2012 13:35:16 +0000 (09:35 -0400)]
kpac; set record detail link in breadcrumbs

On the getit page, the record title link in the breadcrumb now returns
to the main record page.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
13 years agokpac2 : update print/textsize image links
Bill Erickson [Mon, 23 Apr 2012 20:17:35 +0000 (16:17 -0400)]
kpac2 : update print/textsize image links

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
13 years agokpac : remove action CGI after getit results
Bill Erickson [Mon, 23 Apr 2012 19:44:02 +0000 (15:44 -0400)]
kpac : remove action CGI after getit results

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
13 years agokpac : repair hold retrieval code
Bill Erickson [Mon, 23 Apr 2012 19:43:46 +0000 (15:43 -0400)]
kpac : repair hold retrieval code

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
13 years agokpac2 : rename some images to avoid collision w/ kpac
Bill Erickson [Tue, 17 Apr 2012 14:40:42 +0000 (10:40 -0400)]
kpac2 : rename some images to avoid collision w/ kpac

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
13 years agokpac2 : results page
Bill Erickson [Mon, 16 Apr 2012 21:03:44 +0000 (17:03 -0400)]
kpac2 : results page

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
13 years agokpac2 : home search; header; images
Bill Erickson [Mon, 16 Apr 2012 19:52:31 +0000 (15:52 -0400)]
kpac2 : home search; header; images

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
13 years agokpac2 : some initial files
Bill Erickson [Mon, 16 Apr 2012 15:54:31 +0000 (11:54 -0400)]
kpac2 : some initial files

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
13 years agoCreated examples web dir
Bill Erickson [Mon, 16 Apr 2012 15:51:36 +0000 (11:51 -0400)]
Created examples web dir

Created Open-ILS/examples/web for storing example templates and sample
template overrides and their associated resources (js, css, images).

Moved the sample flattener_test.tt2 into the new web/templates dir.

Added a simple README exaplaining the purpose of the directory.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
13 years agokpac : tech reference
Bill Erickson [Tue, 17 Apr 2012 15:39:21 +0000 (11:39 -0400)]
kpac : tech reference

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
13 years agokpac : default apache config repair
Bill Erickson [Tue, 17 Apr 2012 15:39:04 +0000 (11:39 -0400)]
kpac : default apache config repair

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
13 years agoEGWeb trim template paths to unique set
Bill Erickson [Tue, 17 Apr 2012 14:35:43 +0000 (10:35 -0400)]
EGWeb trim template paths to unique set

The list of template paths may have the same path added multiple times,
depending on the Apache configuration.  Trim them down to a unique set
to avoid excess template lookups.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Conflicts:
Open-ILS/src/perlmods/lib/OpenILS/WWW/EGWeb.pm

Signed-off-by: Mike Rylander <mrylander@gmail.com>
13 years agoTPAC advanced search org unit selector
Dan Scott [Mon, 30 Jul 2012 13:44:17 +0000 (09:44 -0400)]
TPAC advanced search org unit selector

Make the advanced search org selector a bit more i18n and accessibility
friendly by giving the fields an explicit label. We shouldn't really build
strings out of individual parts like "in" out of context, because the
translators won't know what "in" refers to; and the label elements help
guide screen readers.

Signed-off-by: Dan Scott <dscott@laurentian.ca>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
13 years agoAdd the library selector to numeric and expert search pages.
Kathy Lussier [Tue, 24 Jul 2012 03:23:55 +0000 (23:23 -0400)]
Add the library selector to numeric and expert search pages.

Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Dan Scott <dscott@laurentian.ca>
13 years agokpac : html escape title/author in record rows
Bill Erickson [Mon, 16 Apr 2012 21:04:10 +0000 (17:04 -0400)]
kpac : html escape title/author in record rows

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
13 years agokpac : search link cgi improvements
Bill Erickson [Mon, 9 Apr 2012 19:45:49 +0000 (15:45 -0400)]
kpac : search link cgi improvements

1. avoid showing the search terms from canned searches in the simple
search box.  Patrons, kids especially, probably don't want to see
potentially complicated canned search queries in the search box when the
whole point is that they are accessible by clicking on images.

2. Avoid propagating the search qtype param to canned searches.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
13 years agokpac : ensure the single-hit redirect goes to kpac
Bill Erickson [Mon, 9 Apr 2012 19:26:40 +0000 (15:26 -0400)]
kpac : ensure the single-hit redirect goes to kpac

... instead of to the tpac record detail page.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
13 years agokpac : no results message
Bill Erickson [Mon, 9 Apr 2012 17:59:56 +0000 (13:59 -0400)]
kpac : no results message

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
13 years agokpac : added content work
Bill Erickson [Fri, 6 Apr 2012 20:32:13 +0000 (16:32 -0400)]
kpac : added content work

1. Consolidated added content apache configs under /eg
2. Added (untested) code to support LibraryThing reviews.
 -- It looks like we'll need to coordinate w/ LT to get it all hooked
 up.  More research pending.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
13 years agokpac : hold placement; more auth refresh repairs
Bill Erickson [Thu, 5 Apr 2012 21:30:54 +0000 (17:30 -0400)]
kpac : hold placement; more auth refresh repairs

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
13 years agokpac : wire up home search; auth timeout redirect fixes
Bill Erickson [Thu, 5 Apr 2012 19:31:49 +0000 (15:31 -0400)]
kpac : wire up home search; auth timeout redirect fixes

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
13 years agokpac : initial login + place hold combined action
Bill Erickson [Thu, 5 Apr 2012 16:35:39 +0000 (12:35 -0400)]
kpac : initial login + place hold combined action

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
13 years agokpac : initial chilifresh integration
Bill Erickson [Wed, 4 Apr 2012 20:33:33 +0000 (16:33 -0400)]
kpac : initial chilifresh integration

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
13 years agokpac : getit save to existing list
Bill Erickson [Wed, 4 Apr 2012 19:02:11 +0000 (15:02 -0400)]
kpac : getit save to existing list

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
13 years agotpac: minor code formatting
Bill Erickson [Mon, 26 Mar 2012 19:32:08 +0000 (15:32 -0400)]
tpac: minor code formatting

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
13 years agokpac: save to anon-list
Bill Erickson [Mon, 26 Mar 2012 18:02:00 +0000 (14:02 -0400)]
kpac: save to anon-list

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
13 years agokpac : config and template work
Bill Erickson [Fri, 16 Mar 2012 16:00:58 +0000 (12:00 -0400)]
kpac : config and template work

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
13 years agokpac : i18n, cleanup
Bill Erickson [Tue, 14 Feb 2012 19:47:13 +0000 (14:47 -0500)]
kpac : i18n, cleanup

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
13 years agokpac : rename files/paths for tpac consistency
Bill Erickson [Tue, 14 Feb 2012 19:34:21 +0000 (14:34 -0500)]
kpac : rename files/paths for tpac consistency

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
13 years agokpac : holds, misc
Bill Erickson [Mon, 30 Jan 2012 19:46:30 +0000 (14:46 -0500)]
kpac : holds, misc

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
13 years agokpac : initial holds; misc
Bill Erickson [Mon, 30 Jan 2012 17:32:43 +0000 (12:32 -0500)]
kpac : initial holds; misc

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
13 years agokpac : copy table; record details
Bill Erickson [Fri, 27 Jan 2012 17:15:05 +0000 (12:15 -0500)]
kpac : copy table; record details

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
13 years agokpac : record details
Bill Erickson [Thu, 26 Jan 2012 23:05:46 +0000 (18:05 -0500)]
kpac : record details

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Conflicts:
Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Record.pm

Signed-off-by: Mike Rylander <mrylander@gmail.com>
13 years agokpac : trucking along
Bill Erickson [Thu, 26 Jan 2012 19:38:42 +0000 (14:38 -0500)]
kpac : trucking along

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
13 years agokpac : basic search box
Bill Erickson [Thu, 26 Jan 2012 19:24:07 +0000 (14:24 -0500)]
kpac : basic search box

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
13 years agokpac : breadcrumbs, paging, misc
Bill Erickson [Thu, 26 Jan 2012 16:49:55 +0000 (11:49 -0500)]
kpac : breadcrumbs, paging, misc

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
13 years agokpac : first steps
Bill Erickson [Mon, 23 Jan 2012 21:49:29 +0000 (16:49 -0500)]
kpac : first steps

initial pile of template integration and apache configuration

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
13 years agoFix summary display in TPAC; avoid Content Cafe
Dan Scott [Fri, 27 Jul 2012 21:24:07 +0000 (17:24 -0400)]
Fix summary display in TPAC; avoid Content Cafe

While in misc_util.tt2 we're grabbing args.summary as a single string,
and args.summaries as the list of summaries, this gets complicated
elsewhere in the summaries display chain, where we're checking for the
number of list elements in "summary" (which is now a string), as well as
a confusion of logic where ContentCafe was being displayed whether or
not the environment variable existed.

Signed-off-by: Dan Scott <dscott@laurentian.ca>
Signed-off-by: Ben Shum <bshum@biblio.org>
13 years agoTPAC - repair summary statement display
Ben Shum [Fri, 27 Jul 2012 20:06:28 +0000 (16:06 -0400)]
TPAC - repair summary statement display

Change variable from summary to summaries to properly associate values
for the summary statement display in Tpac.

Signed-off-by: Ben Shum <bshum@biblio.org>
Signed-off-by: Dan Scott <dscott@laurentian.ca>
13 years agoTwo new list fields. Adds the publication date and format to the My Lists
Kathy Lussier [Thu, 26 Jul 2012 11:09:11 +0000 (07:09 -0400)]
Two new list fields. Adds the publication date and format to the My Lists
display in tpac.

Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
Signed-off-by: Dan Scott <dscott@laurentian.ca>
13 years agoWindow.open fixes
Thomas Berezansky [Sat, 28 Jul 2012 19:17:40 +0000 (15:17 -0400)]
Window.open fixes

Add a window.open compatible "browser" file for unsecured calls.

Add "chrome" to most window.open calls to bypass the wrapper.

Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Signed-off-by: Dan Scott <dscott@laurentian.ca>