evergreen/tadl.git
12 years agoImprove float avoidance in outstanding bills tadl/lost_forgive_not_void_on_checkin
Jeff Godin [Tue, 12 Jun 2012 17:40:46 +0000 (13:40 -0400)]
Improve float avoidance in outstanding bills

Simplify and improve floating point issue avoidance in
outstanding_bills_for_circ: fewer parentheses, better results.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
12 years agoLog bills found during lost checkin with forgive
Jeff Godin [Tue, 12 Jun 2012 17:39:25 +0000 (13:39 -0400)]
Log bills found during lost checkin with forgive

Log outstanding bills found during lost checkin with forgive.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
12 years agoSupport forgive of Lost bills on checkin
Jeff Godin [Tue, 12 Jun 2012 15:56:26 +0000 (11:56 -0400)]
Support forgive of Lost bills on checkin

Add support for making a Forgive payment on outstanding Lost and
Lost Processing Fee bills on checkin of a lost item.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
12 years agoMove outstanding_bills_for_circ to AppUtils
Jeff Godin [Tue, 12 Jun 2012 15:38:07 +0000 (11:38 -0400)]
Move outstanding_bills_for_circ to AppUtils

Move the outstanding_bills_for_circ sub to
OpenILS::Application::Apputils, since we intend to call it from at
least two different packages.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
12 years agoMerge branch 'my_tadl' into lost_forgive_not_void
Steven Callender [Wed, 30 May 2012 15:36:39 +0000 (11:36 -0400)]
Merge branch 'my_tadl' into lost_forgive_not_void

12 years agoCall outstanding_bills_for_circ differently tadl/lost_forgive_not_void
Jeff Godin [Tue, 29 May 2012 16:18:58 +0000 (12:18 -0400)]
Call outstanding_bills_for_circ differently

Our arguments don't include a ref to the class/self when we're calling
outstanding_bills_for_circ from within its own package.

For now, rename to a private-looking sub and change what arguments we
look for.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
12 years ago"find outstanding bills for circ" gets its own sub
Jeff Godin [Thu, 8 Dec 2011 17:49:36 +0000 (12:49 -0500)]
"find outstanding bills for circ" gets its own sub

outstanding_bills_for_circ accepts an editor and a circ object,
and will return a reference to an array of outstanding billing
objects. this has been broken out of the forgive_overdues sub,
as it will be useful elsewhere.

12 years ago"forgive" overdues when marking an item lost
Jeff Godin [Tue, 6 Dec 2011 20:20:44 +0000 (15:20 -0500)]
"forgive" overdues when marking an item lost

New option for forgiving (as opposed to voiding) overdues on
a circ when marking the item lost:

When circ.forgive_overdue_on_lost is set, attempt to make a
payment of type "Forgive" on the transaction for the amount
of outstanding overdue billings.

Only outstanding bills of type 1 (Overdue materials) will
be paid, and only the first contiguous grouping. If the
system finds an outstanding billing of type other than 1,
it will pay what it has found up to that point.

circ.forgive_overdue_on_lost has priority over the "void"
version of the same setting, if both happen to be set.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
12 years agoconst/strings for YAOUS: "forgive" lost billings
Jeff Godin [Tue, 6 Dec 2011 18:27:09 +0000 (13:27 -0500)]
const/strings for YAOUS: "forgive" lost billings

Constants and strings for new OU settings:

circ.forgive_overdue_on_lost
circ.forgive_lost_on_checkin
circ.forgive_lost_proc_fee_on_checkin

These are intended for use as an alternative to their "void"
counterparts in situations where the library does not refund
fees and fines, and wishes funds taken in for one purpose or
billing type to not be re-applied toward a different billing
type as a result of voiding bills after they have been paid.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
12 years agoFix IDL and OU setting check for staged users tadl/correct-issues-with-staged-users
Jeff Godin [Tue, 29 May 2012 14:28:50 +0000 (10:28 -0400)]
Fix IDL and OU setting check for staged users

The IDL had references to sequences that do not exist:

staging.usr_stage_row_id_seq -- a typo, fixed

In the case of staging.billing_address_stage_row_id_seq, the
staging.billing_address_stage table is created with LIKE,
and uses the sequence staging.mailing_address_stage_row_id_seq

The OU setting check for the open-ils.actor.user.stage.create API
call was not passing an org unit, and would always fail.

We now pass the home_ou of the user being staged.

At this point, the opac.allow_pending_user OU setting type must
be manually created before its value can be set.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
12 years agoFix syntax error in default skin rdetail.js tadl/fix_syntax_error_in_default_skin
Jeff Godin [Fri, 25 May 2012 15:54:12 +0000 (11:54 -0400)]
Fix syntax error in default skin rdetail.js

Fix a syntax error in the default skin's rdetail.js file.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
12 years agoFix broken ref to colors.css for tadl-legacy skin
Jeff Godin [Wed, 23 May 2012 15:48:55 +0000 (11:48 -0400)]
Fix broken ref to colors.css for tadl-legacy skin

The colors.css file lives in the theme, not the skin.

Another mistaken substitution that went unnoticed during testing
-- the OPAC looked so CLEAN!

Signed-off-by: Jeff Godin <jgodin@tadl.org>
12 years agoFix image path broken by over-zealous replacement
Jeff Godin [Wed, 23 May 2012 13:20:59 +0000 (09:20 -0400)]
Fix image path broken by over-zealous replacement

Over-zealous substitution on my part.

There is no /images/tadl-legacy, just /images/tadl

Signed-off-by: Jeff Godin <jgodin@tadl.org>
12 years agoConsider 100 holds instead of 10 at op-capture
Jeff Godin [Tue, 22 May 2012 13:44:21 +0000 (09:44 -0400)]
Consider 100 holds instead of 10 at op-capture

when using fifo holds strategy and rules which limit which copies can
transit for holds (such as age hold protection), your 10 next holds
may all be unsuitable for capture.

TADL had previously run with this change in production without issue
(though we had limited it to "only when fifo is in use" since others
in the consortium were not using fifo holds.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
12 years agoConfigure staff client to use tadl-legacy skin
Jeff Godin [Tue, 22 May 2012 13:31:02 +0000 (09:31 -0400)]
Configure staff client to use tadl-legacy skin

Using standard options in custom.js, direct the staff client to
use the "tadl-legacy" opac skin.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
12 years agoChange hardcoded paths in tadl-legacy skin
Jeff Godin [Tue, 22 May 2012 13:29:26 +0000 (09:29 -0400)]
Change hardcoded paths in tadl-legacy skin

s/tadl/tadl-legacy/ on hardcoded skin paths in tadl-legacy skin.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
12 years agoCopy tadl skin to tadl-legacy
Jeff Godin [Tue, 22 May 2012 13:08:33 +0000 (09:08 -0400)]
Copy tadl skin to tadl-legacy

Preparing for redirection of old skin names to the current
tadlv5 skin, and we do not want to change the skin in the
staff client. The new "tadlstaff" skin is not yet ready,
thus we copy the tadl skin to tadl-legacy with the desire that
it be short-lived.

Following commits will adjust paths within the tadl-legacy skin
and adjust the staff client to use the tadl-legacy skin.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
12 years agoHandle new-style licenses as patron barcodes
Jeff Godin [Mon, 21 May 2012 20:26:57 +0000 (16:26 -0400)]
Handle new-style licenses as patron barcodes

Handle new-style drivers licenses when used as patron barcodes by
using the first 13 characters (lowercased) when the "raw" barcode
is either 25 or 27 characters long. Previously we only handled 25
character barcodes.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
12 years agoPatron barcodes: handle drivers license, state ID tadl/prod_catchup_barcodes_and_skin
Jeff Godin [Mon, 21 May 2012 20:21:53 +0000 (16:21 -0400)]
Patron barcodes: handle drivers license, state ID

Special handling for drivers license and state ID
patron barcodes.

These changes have been in production for some time, but were
not previously checked in to revision control.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
12 years agoSpecify TADL skin choices in custom.js
Jeff Godin [Mon, 21 May 2012 19:25:10 +0000 (15:25 -0400)]
Specify TADL skin choices in custom.js

Use custom.js to specify TADL skin selections for the staff
client. Also, include custom.js in index.xhtml "new tab" page.

These changes have been in production for some time, but were
not previously checked in to revision control.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
12 years agoAdd optional in-library navigation bar tadlv5_add_inlib_nav
Jeff Godin [Tue, 15 May 2012 15:59:48 +0000 (11:59 -0400)]
Add optional in-library navigation bar

Support optional in-library navigation bar sourced as an iframe
when cookie "inlib" is set. Initial setting of cookie is easily
done by loading index.xml with inlib=1 as a URL param.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
12 years agoJacket image aspect ratio, subject sidebar style updates_to_tadlv5_ac_and_serials
Jeff Godin [Wed, 9 May 2012 14:27:12 +0000 (10:27 -0400)]
Jacket image aspect ratio, subject sidebar style

Fix aspect ratio on jacket images (especially CDs) by
setting height to auto.

Add styling for sidebar subject div.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
12 years agoPrevent cleanup of "dead" serial units for now
Jeff Godin [Wed, 9 May 2012 13:51:26 +0000 (09:51 -0400)]
Prevent cleanup of "dead" serial units for now

We (TADL) have serial units with no serial items.

There is logic in the unitize_items subroutine in
OpenILS::Application::Serial which "cleans up"
these "dead" units.

While we look into why we have units with no items,
we're disabling this deletion so that we don't
have need to undelete big batches of still-circulating
serial units.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
12 years agoOnly request review sources TADL subscribes to
Jeff Godin [Wed, 9 May 2012 13:33:18 +0000 (09:33 -0400)]
Only request review sources TADL subscribes to

For Syndetic Solutions, only request those review
sources which TADL subscribes to. This includes
sources not requested by default, and removes
sources which we do not use. The ordering of
the review sources is also intentional.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
12 years agoChange comment style in bibtemplate / inline JS fix_comment_style_for_msie
Jeff Godin [Thu, 3 May 2012 17:16:40 +0000 (13:16 -0400)]
Change comment style in bibtemplate / inline JS

Inline / BibTemplate Javascript with // style comments can
cause problems for us in MSIE. This commit removes some
commented-out code and changes some comments from // comments
to /* comments */

Signed-off-by: Jeff Godin <jgodin@tadl.org>
12 years agoTeach tadlv5 to display jackets by record ID ac_by_record_id_and_skin_tadlv5
Jeff Godin [Wed, 2 May 2012 15:20:34 +0000 (11:20 -0400)]
Teach tadlv5 to display jackets by record ID

Teach the tadlv5 skin how to display jackets images by record ID.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
12 years agoChange references from tadlv4 to tadlv5
Jeff Godin [Wed, 2 May 2012 15:10:15 +0000 (11:10 -0400)]
Change references from tadlv4 to tadlv5

Change references in include statements from tadlv4 to tadlv5

Signed-off-by: Jeff Godin <jgodin@tadl.org>
12 years agoFork tadlv4 skin to tadlv5 skin
Jeff Godin [Wed, 2 May 2012 15:08:28 +0000 (11:08 -0400)]
Fork tadlv4 skin to tadlv5 skin

The tadlv5 skin will add jacket images by record ID.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
12 years agoTeach OPAC (jspac) jacket images by record id
Jeff Godin [Sat, 28 Apr 2012 22:18:34 +0000 (18:18 -0400)]
Teach OPAC (jspac) jacket images by record id

Teach the Javascript OPAC how to retrieve jacket images by
record id.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
12 years agoRemoved unused, commented-out function
Jeff Godin [Sat, 28 Apr 2012 22:16:30 +0000 (18:16 -0400)]
Removed unused, commented-out function

Removed unused, commented-out function: an earlier iteration of
buildISBNSrc

Signed-off-by: Jeff Godin <jgodin@tadl.org>
12 years agoTeach Syndetic.pm to pass UPC in requests
Jeff Godin [Sat, 28 Apr 2012 21:24:06 +0000 (17:24 -0400)]
Teach Syndetic.pm to pass UPC in requests

Teach OpenILS::WWW::AddedContent::Syndetic to pass UPC when
requesting added content from the source.

Protect against warnings when no isbn/upc provided

Protect against Perl giving us uninitialized value warnings when
isbn or upc has not been provided.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
12 years agoFinish Added Content by record ID
Jeff Godin [Wed, 25 Apr 2012 08:23:28 +0000 (04:23 -0400)]
Finish Added Content by record ID

OpenILS::WWW::AddedContent now supports fetching content by record ID.

To start, this lets us request content in a way that uses both ISBN
and UPC as keys, assuming the AC handler and provider support it.

The previous method of requesting AC data continues to be
supported, and should be unaffected.

Business::ISBN is used to clean ISBN values when fetching by record ID

If we find no valid ISBN and no UPC values in the record,
do not attempt to call an AC handler. This will need
to change when we have AC handlers that rely on other
possible keys.

Attempt to serve from cache before fetching keys from the bib
record in the database.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
12 years agoStart of AC by record ID from 2011 hackfest
Bill Erickson [Wed, 27 Apr 2011 15:42:58 +0000 (11:42 -0400)]
Start of AC by record ID from 2011 hackfest

Rough, untested cut. use rec id as they added content key;
fetch isbn/upc from full_rec; push full set of isbns and upcs
down to handler code

Signed-off-by: Jeff Godin <jgodin@tadl.org>
12 years agoLP#845763 remote added content breaks
Jason Etheridge [Mon, 26 Sep 2011 18:40:19 +0000 (14:40 -0400)]
LP#845763 remote added content breaks

remote added content breaks when using locally served content

Signed-off-by: Jason Etheridge <jason@esilibrary.com>
Signed-off-by: Dan Scott <dan@coffeecode.net>
12 years agoInclude reshelving count in multi-lib summary skin_tadlv4
Jeff Godin [Mon, 23 Apr 2012 12:17:41 +0000 (08:17 -0400)]
Include reshelving count in multi-lib summary

Also include reshelving counts in multi-lib summary, so that
we don't say "0 available at Example Branch 1" without further
information "(plus 2 recently returned)".

Signed-off-by: Jeff Godin <jgodin@tadl.org>
12 years agoDon't change &amp; to &Amp;, etc.
Jeff Godin [Mon, 23 Apr 2012 12:05:02 +0000 (08:05 -0400)]
Don't change &amp; to &Amp;, etc.

Fix toTitleCase() to not uppercase HTML character entities.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
12 years agoAdd reshelving counts, suggest hold when no copies
Jeff Godin [Mon, 23 Apr 2012 11:25:14 +0000 (07:25 -0400)]
Add reshelving counts, suggest hold when no copies

Rather than count "reshelving" copies as "available", note
that there are X available "plus Y recently returned".

Adjust logic to display unavailable count when there are no
available copies, and to include a suggestion to (try) placing
a hold.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
12 years agoFix logic -- no more "additional copies" repeating
Jeff Godin [Mon, 23 Apr 2012 11:11:41 +0000 (07:11 -0400)]
Fix logic -- no more "additional copies" repeating

Fix logic for max_lines handling to avoid repeated output of
"additional copies" message.

Also, remove max_lines limit on record detail page.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
12 years agoIncrease size of home search box
Jeff Godin [Mon, 23 Apr 2012 11:08:27 +0000 (07:08 -0400)]
Increase size of home search box

Increase size of home search box, overriding element-level
style declaration.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
12 years agoRemove locale picker from home, new inputs css
Jeff Godin [Mon, 23 Apr 2012 10:31:55 +0000 (06:31 -0400)]
Remove locale picker from home, new inputs css

Remove locale picker from home search page.

Freshen CSS for input elements, based on wjr's work on dev website.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
12 years agoUse 245$a for title, and use Title Case
Jeff Godin [Mon, 23 Apr 2012 09:50:11 +0000 (05:50 -0400)]
Use 245$a for title, and use Title Case

Shift to using 245$a for title in record detail summary.

Use Title Case for both search results and record detail.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
12 years agoAdd "Additional persons" field (700 tags)
Jeff Godin [Mon, 23 Apr 2012 08:36:24 +0000 (04:36 -0400)]
Add "Additional persons" field (700 tags)

Add "Additional persons" to record detail summary for display
of 700 tags from the MARC record.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
12 years agoCombine pub date and publisher into one field
Jeff Godin [Mon, 23 Apr 2012 08:34:46 +0000 (04:34 -0400)]
Combine pub date and publisher into one field

Combine publication date and publisher into one field,
"Publication info".

Signed-off-by: Jeff Godin <jgodin@tadl.org>
12 years agoChange the display of subjects in the sidebar
Jeff Godin [Mon, 23 Apr 2012 08:30:04 +0000 (04:30 -0400)]
Change the display of subjects in the sidebar

For the sidebar display of subjects, use one link per subject
item, not the "increasingly specific" multiple link style of
the record detail summary.

Also minor other formatting changes, such as using <li>. Change
to slot.parentNode reference for unHideMe.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
12 years agoExtras as "tabs", hide some useless AC content
Jeff Godin [Mon, 23 Apr 2012 08:25:56 +0000 (04:25 -0400)]
Extras as "tabs", hide some useless AC content

Use a "tab" effect to bring more attention to extras such as
added content reviews, author notes.

Hide useless / duplicated content such as the title and author
in added content reviews (as returned by Syndetic Solutions).

Signed-off-by: Jeff Godin <jgodin@tadl.org>
12 years agoOnly show series if there is content
Jeff Godin [Mon, 23 Apr 2012 06:49:40 +0000 (02:49 -0400)]
Only show series if there is content

Only show series if there is content available for that field.

Also, show series by default without need to select "More Info".

Signed-off-by: Jeff Godin <jgodin@tadl.org>
12 years agoAdd subjects to sidebar
Jeff Godin [Mon, 23 Apr 2012 03:31:04 +0000 (23:31 -0400)]
Add subjects to sidebar

Add bibtemplate style subjects to the sidebar. Shows only in
record detail view, no apparent problems being present-but-
not-visible elsewhere.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
12 years agoUpdate hardcoded tadlv3 paths to tadlv4
Jeff Godin [Mon, 23 Apr 2012 02:34:20 +0000 (22:34 -0400)]
Update hardcoded tadlv3 paths to tadlv4

Update hardcoded paths in files to reference tadlv4 instead
of tadlv3.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
12 years agoFork tadlv3 skin to tadlv4 skin
Jeff Godin [Mon, 23 Apr 2012 02:19:24 +0000 (22:19 -0400)]
Fork tadlv3 skin to tadlv4 skin

Fork tadlv3 to tadlv4 to begin work.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
12 years agohs18738 checked for expired accounts with SIP
Jason Etheridge [Fri, 20 Apr 2012 11:29:14 +0000 (07:29 -0400)]
hs18738 checked for expired accounts with SIP

12 years agoFix link display even when no physical copies skin_tadlv3
Jeff Godin [Mon, 16 Apr 2012 20:18:21 +0000 (16:18 -0400)]
Fix link display even when no physical copies

This is a bugfix: We were failing to create any copy / uri
summary if there were zero physical copies. Now, instead of
"return", we "return output.innerHTML" to display the links
which have been generated previously (but not output).

At this time, we don't want to do that in the record detail
page, so we continue to bail there regardless.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
12 years agoFix bug in copy summary display on detail page
Jeff Godin [Mon, 16 Apr 2012 17:40:39 +0000 (13:40 -0400)]
Fix bug in copy summary display on detail page

Copy summaries with multiple libraries were having their
list of libraries overwritten by the last library in the
list.

Thanks to wjr for noting the issue. This fixes it by moving
a mis-placed curly brace.

Previous commit fixed search results but not record detail.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
12 years agoFix bug in copy summary display
Jeff Godin [Mon, 16 Apr 2012 16:52:31 +0000 (12:52 -0400)]
Fix bug in copy summary display

Copy summaries with multiple libraries were having their
list of libraries overwritten by the last library in the
list.

Thanks to wjr for noting the issue. This fixes it by moving
a mis-placed curly brace.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
12 years agoUse available copy summary in record detail page
Jeff Godin [Mon, 16 Apr 2012 14:47:49 +0000 (10:47 -0400)]
Use available copy summary in record detail page

Having removed the copy info matrix/table from the record detail
page, we now replace it with the new available copy summary from
the search results page.

When there are copies at multiple libraries, display a total
count of available copies at each library.

When there are copies available at only one library (which also
happens when search is scoped to one library), display a count
of available copies grouped by copy shelving location and call
number label.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
12 years agoCopy summary group by call number, add max_lines
Jeff Godin [Mon, 16 Apr 2012 14:39:34 +0000 (10:39 -0400)]
Copy summary group by call number, add max_lines

Group copy summary by call number in addition to circ lib and
copy location.

Also, support setting of max_lines for limiting the number
of call numbers output -- useful for bibs with lots of volumes
at a single library -- to prevent the search results page from
growing too long.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
12 years agoSummarize copy availability in search results
Jeff Godin [Mon, 16 Apr 2012 14:01:31 +0000 (10:01 -0400)]
Summarize copy availability in search results

Summary of available copies in search results.

Next, need to display call numbers.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
12 years agoShow reviews/anotes by default if found
Jeff Godin [Sun, 15 Apr 2012 03:41:59 +0000 (23:41 -0400)]
Show reviews/anotes by default if found

If the added content handler found reviews or author notes,
show that information by default (first reviews, then author
notes if there were no reviews).

If neither are found, show nothing by default -- but things
like Table of Contents or Excerpts will still be available
by clicking the proper link.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
12 years agoRemove copy info matrix from rdetail page
Jeff Godin [Sun, 15 Apr 2012 03:07:12 +0000 (23:07 -0400)]
Remove copy info matrix from rdetail page

Removing copy info matrix.

Next up: bibtemplate-style copy information to replace
copy info matrix.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
12 years agoGRPL-style more/less info button in rdetail
Jeff Godin [Fri, 13 Apr 2012 21:20:29 +0000 (17:20 -0400)]
GRPL-style more/less info button in rdetail

Add GRPL-style more/less info button in rdetail view.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
12 years agoRemove some borders/color, adjust a missed color
Jeff Godin [Fri, 13 Apr 2012 21:12:30 +0000 (17:12 -0400)]
Remove some borders/color, adjust a missed color

Remove border around "home" page search, remove border around
search results.r

Remove some color from top and bottom of search results.

Override a missed color which was resulting in the default green
color on "low search results".

Signed-off-by: Jeff Godin <jgodin@tadl.org>
12 years agoAdjust include paths from tadlv2 to tadlv3
Jeff Godin [Fri, 13 Apr 2012 20:30:27 +0000 (16:30 -0400)]
Adjust include paths from tadlv2 to tadlv3

Adjust include paths which reference tadlv2 to reference tadlv3
instead. We'd rather not rely on default AND the previous skin
revision.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
12 years agoForking tadlv2 to tadlv3 skin
Jeff Godin [Fri, 13 Apr 2012 15:30:37 +0000 (11:30 -0400)]
Forking tadlv2 to tadlv3 skin

Breaking ground on tadlv3 skin, starting with what is currently
the tadlv2 skin.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
12 years agoMerge branch 'prod/rel_2_1/deployed' of yeti.esilibrary.com:tadl/evergreen into tadl_...
Steven Callender [Thu, 12 Apr 2012 16:44:31 +0000 (12:44 -0400)]
Merge branch 'prod/rel_2_1/deployed' of yeti.esilibrary.com:tadl/evergreen into tadl_skin_changes

12 years agoMerge branch 'prod/rel_2_1/deployed' of yeti.esilibrary.com:tadl/evergreen into my_tadl
Steven Callender [Thu, 12 Apr 2012 14:55:21 +0000 (10:55 -0400)]
Merge branch 'prod/rel_2_1/deployed' of yeti.esilibrary.com:tadl/evergreen into my_tadl

12 years agoperl modules from asp-tadl-app1, minus OpenILS/SIP/Patron.pm
Jason Etheridge [Wed, 4 Apr 2012 14:38:53 +0000 (10:38 -0400)]
perl modules from asp-tadl-app1, minus OpenILS/SIP/Patron.pm

12 years agomore modified perl modules from asp-tadl-sip1
Jason Etheridge [Wed, 4 Apr 2012 14:35:18 +0000 (10:35 -0400)]
more modified perl modules from asp-tadl-sip1

12 years agosnapshot of /usr/local/share/perl/5.10.1/OpenILS/SIP/Patron.pm from asp-tadl-sip1
Jason Etheridge [Wed, 4 Apr 2012 14:23:50 +0000 (10:23 -0400)]
snapshot of /usr/local/share/perl/5.10.1/OpenILS/SIP/Patron.pm from asp-tadl-sip1

12 years agoAdjust styling of css_button class skin_tadlv2
Jeff Godin [Tue, 3 Apr 2012 23:49:03 +0000 (19:49 -0400)]
Adjust styling of css_button class

Adjust the styling of the css_button class, especially changes
in margin and changing of display to inline-block so as not to
overlap with other buttons or other display elements.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
12 years agoFix: recs without online_loc break results display
Jeff Godin [Tue, 3 Apr 2012 19:41:01 +0000 (15:41 -0400)]
Fix: recs without online_loc break results display

Don't try to check a substring of rec.online_loc()[0] if there
are no entries returned by rec.online_loc() to begin with.

Manifests result_info_2 (with the prev/next links) not being
visible on the bottom of the search results page when there
are any bibs present in the results which have no online_loc()
entries.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
12 years agoUse a default auri label instead of http:// urls
Jeff Godin [Tue, 3 Apr 2012 18:39:52 +0000 (14:39 -0400)]
Use a default auri label instead of http:// urls

Use a default auri label in search results and record summary
pages. This is mostly to prevent the symptoms of LP 918020
but may be more generally useful as well.

Also, use css_button class for BibTemplate-generated auri links
in a record summary.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
12 years agoReference tadlv2 skin-local myopac.js
Jeff Godin [Tue, 3 Apr 2012 15:22:14 +0000 (11:22 -0400)]
Reference tadlv2 skin-local myopac.js

Use the skin-local myopac.js instead of that from the
default skin.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
12 years agoDisplay Series, Hold Count in record summary
Jeff Godin [Tue, 3 Apr 2012 14:54:59 +0000 (10:54 -0400)]
Display Series, Hold Count in record summary

Re-adding pre-bibtemplate Series display to record summary,
re-adding CGI-backed Hold Count.

These are both prime candidates for being replaced using
newly-available features.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
12 years agoUse library local patron barcode regex in myopac
Jeff Godin [Tue, 3 Apr 2012 14:37:24 +0000 (10:37 -0400)]
Use library local patron barcode regex in myopac

Use library local patron barcode regex in myopac, so that
username vs barcode detection will be correct.

The regex used at login is maintained outside of the skin,
so we're already set there.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
12 years agoHide copy counts for online-only bibs in results
Jeff Godin [Tue, 3 Apr 2012 14:34:25 +0000 (10:34 -0400)]
Hide copy counts for online-only bibs in results

Hide copy counts in search results for bibs which appear to be
online-only.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
12 years agoFork rresult.js from default skin
Jeff Godin [Tue, 3 Apr 2012 14:27:41 +0000 (10:27 -0400)]
Fork rresult.js from default skin

This is the rresult.js from the default skin.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
12 years agoEnhance display of online-only bibs
Jeff Godin [Tue, 3 Apr 2012 14:25:26 +0000 (10:25 -0400)]
Enhance display of online-only bibs

On search results:
* Hide "place hold" links for bibs which appear to have TADL
  ezproxy auris.
* Simplify physical description for online-only bibs in search
  results
* Hide format icons for online-only bibs
* Add some padding to result_table_format_cell

On record summary:
* Change auri links to use the css_button class.
* Hide things which only make sense for physical holdings:
  * place hold
  * copy info displays
  * call number browse

Signed-off-by: Jeff Godin <jgodin@tadl.org>
12 years agoUse medium item image for record summary
Jeff Godin [Tue, 3 Apr 2012 14:24:09 +0000 (10:24 -0400)]
Use medium item image for record summary

Switch to "medium" size item image in record summary.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
12 years agoUse skin-local rdetail.js, result_common.js
Jeff Godin [Tue, 3 Apr 2012 14:06:28 +0000 (10:06 -0400)]
Use skin-local rdetail.js, result_common.js

Start using the skin-local rdetail.js and result_common.js
files. Previously we were still referencing those from the
default skin.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
12 years agoDisplay TADL ezproxy OPAC links in search results
Jeff Godin [Tue, 3 Apr 2012 13:40:24 +0000 (09:40 -0400)]
Display TADL ezproxy OPAC links in search results

Feature the auri when it appears to be a TADL ezproxy link.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
12 years agoHide item image in results when error loading
Jeff Godin [Tue, 3 Apr 2012 13:32:45 +0000 (09:32 -0400)]
Hide item image in results when error loading

Hide the item image in results table when there is an
error loading it -- typically a 404.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
12 years agoChange "Place Hold" links to css buttons
Jeff Godin [Tue, 3 Apr 2012 13:29:00 +0000 (09:29 -0400)]
Change "Place Hold" links to css buttons

Make "Place Hold" more visible by using CSS to turn
the link into something that resembles a button.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
12 years agoAdd online payment link
Jeff Godin [Tue, 3 Apr 2012 13:18:42 +0000 (09:18 -0400)]
Add online payment link

Add online payment link to My Fines in the OPAC for
the tadlv2 skin.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
12 years agoFork myopac.js in prep for online payment link
Jeff Godin [Tue, 3 Apr 2012 13:14:25 +0000 (09:14 -0400)]
Fork myopac.js in prep for online payment link

This is myopac.js from the default skin, before changes.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
12 years agoTADL CSS changes - layout and color
Jeff Godin [Mon, 2 Apr 2012 21:27:50 +0000 (17:27 -0400)]
TADL CSS changes - layout and color

tadl_layout.css overrides and adds to default/layout.css
tadl_colors.css is a copy of theme/tadl/css/colors.css

tadl_colors.css should be trimmed down and unintentional
overrides/conflicts with theme/default/css/colors.css
eliminated.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
12 years agoRemove extra / PINES-specific links from footer
Jeff Godin [Mon, 2 Apr 2012 21:12:39 +0000 (17:12 -0400)]
Remove extra / PINES-specific links from footer

Remove extra links (and PINES-specific links) from footer.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
12 years agoUpdated TADL logo for tadlv2 skin
Jeff Godin [Mon, 2 Apr 2012 21:09:45 +0000 (17:09 -0400)]
Updated TADL logo for tadlv2 skin

Updated copy of TADL logo in tadlv2 skin.

Increase logo display size on search result / detail pages --
anywhere common/logo.xml is used.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
12 years agoDisable Google Chrome Frame, Google Books
Jeff Godin [Mon, 2 Apr 2012 20:19:18 +0000 (16:19 -0400)]
Disable Google Chrome Frame, Google Books

In both the tadlstaff and the tadlv2 skins:

* Disable Google Chrome Frame by removing the div and script
* Disable Google Books links, preview by setting existing
  boolean values to false

Signed-off-by: Jeff Godin <jgodin@tadl.org>
12 years agoAdding two new skins: tadlstaff, tadlv2
Jeff Godin [Mon, 2 Apr 2012 19:40:33 +0000 (15:40 -0400)]
Adding two new skins: tadlstaff, tadlv2

Two new skins, forked from default.

Currently, both are identical and reference the css and js files
from the default skin.

Intent is to fork css and js if and when needed.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
12 years agoReshelving fix.
Steven Callender [Mon, 2 Apr 2012 15:19:38 +0000 (11:19 -0400)]
Reshelving fix.

Signed-off-by: Steven Callender <stevecallender@esilibrary.com>
12 years agoOPAC customizations including password reset text change.
Steven Callender [Tue, 20 Mar 2012 15:46:39 +0000 (15:46 +0000)]
OPAC customizations including password reset text change.

Signed-off-by: Steven Callender <stevecallender@esilibrary.com>
12 years agoConfigue credit card processing to default to the recording setting.
Steven Callender [Thu, 1 Mar 2012 19:05:57 +0000 (19:05 +0000)]
Configue credit card processing to default to the recording setting.

Signed-off-by: Steven Callender <stevecallender@esilibrary.com>
12 years agocorrected combined.js after running autogen.sh
Jason Etheridge [Wed, 29 Feb 2012 20:40:51 +0000 (15:40 -0500)]
corrected combined.js after running autogen.sh

12 years agochanges since migration, but not sure where these came from yet
Jason Etheridge [Wed, 29 Feb 2012 20:20:31 +0000 (15:20 -0500)]
changes since migration, but not sure where these came from yet

12 years agocustom OPAC skin at the time of migration
Jason Etheridge [Wed, 29 Feb 2012 19:57:38 +0000 (14:57 -0500)]
custom OPAC skin at the time of migration

12 years agohelpspot 18373
Jason Etheridge [Wed, 29 Feb 2012 16:09:34 +0000 (11:09 -0500)]
helpspot 18373

https://gist.github.com/179cd9a682a509537cb8

12 years agoAdded Content module for pointing to another Evergreen instance
jason [Mon, 27 Feb 2012 22:41:16 +0000 (17:41 -0500)]
Added Content module for pointing to another Evergreen instance

Needs tweaks to opensrf.xml, for example:

        <added_content>
            <!-- load the OpenLibrary added content module -->
            <module>OpenILS::WWW::AddedContent::Evergreen</module>
            <base_url>http://grpl.michiganevergreen.org/opac/extras/ac</base_url>

12 years agoPatron editor changes
jason [Mon, 27 Feb 2012 22:32:31 +0000 (17:32 -0500)]
Patron editor changes

Originating from https://github.com/grpl-eg/rel_2_1.git:

aad962182fc75967a763a66bf32208065fd4b773
39a67d5523f80aaf119b537f5665c0772958e6f7
8bac903b2e512d3625553f2693b100f3cc60f9a0

12 years agoStock rel_2_1 patron editor copied into TADL specific directories as a baseline
jason [Mon, 27 Feb 2012 22:23:13 +0000 (17:23 -0500)]
Stock rel_2_1 patron editor copied into TADL specific directories as a baseline

13 years agoBumping version numbers, adding Upgrade Script and Changelog
Thomas Berezansky [Wed, 16 Nov 2011 17:37:15 +0000 (12:37 -0500)]
Bumping version numbers, adding Upgrade Script and Changelog

Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
13 years agoStamping upgrade script for copy visibility vs peer-bibs fix
Mike Rylander [Wed, 16 Nov 2011 17:07:54 +0000 (12:07 -0500)]
Stamping upgrade script for copy visibility vs peer-bibs fix

Signed-off-by: Mike Rylander <mrylander@gmail.com>