working/Evergreen.git
13 years agoEvergreen ILS project logo user/mrpeters-isl/icon_vector_art
Michael Peters [Fri, 17 Aug 2012 13:41:52 +0000 (09:41 -0400)]
Evergreen ILS project logo

Original vector art for the Evergreen ILS project logo.

Signed-off-by: Michael Peters <mrpeters@library.in.gov>
13 years agoEvergreen Staff Client and favicon templates
Michael Peters [Fri, 17 Aug 2012 13:35:02 +0000 (09:35 -0400)]
Evergreen Staff Client and favicon templates

These are the vector art files used to create the various
Evergreen icons used by the software.

Users can use OSS, such as Inkscape, to modify these logos
as needed.

Signed-off-by: Michael Peters <mrpeters@library.in.gov>
13 years agoMerge branch 'master' of git://git.evergreen-ils.org/Evergreen
Michael Peters [Fri, 17 Aug 2012 13:15:05 +0000 (09:15 -0400)]
Merge branch 'master' of git://git.evergreen-ils.org/Evergreen

13 years agoDocumentation: Add one paragraph to Auto Override Patron Hold Events.
Sally Fortin [Fri, 17 Aug 2012 12:22:17 +0000 (08:22 -0400)]
Documentation: Add one paragraph to  Auto Override Patron Hold Events.

Signed-off-by: Robert Soulliere <robert.soulliere@mohawkcollege.ca>
13 years agoDocumentation: add Auto Override Patron Hold Events documentation from ESI.
Sally Fortin [Fri, 17 Aug 2012 12:16:05 +0000 (08:16 -0400)]
Documentation: add Auto Override Patron Hold Events documentation from ESI.

Signed-off-by: Robert Soulliere <robert.soulliere@mohawkcollege.ca>
13 years agoMerge branch 'master' of git://git.evergreen-ils.org/Evergreen
Michael Peters [Thu, 16 Aug 2012 21:15:05 +0000 (17:15 -0400)]
Merge branch 'master' of git://git.evergreen-ils.org/Evergreen

13 years agoTPAC locale picker: use POST instead of GET
Dan Scott [Sat, 4 Aug 2012 14:26:25 +0000 (10:26 -0400)]
TPAC locale picker: use POST instead of GET

Users could (deliberately or not) change another's language
preferences by sharing links with the "set_eg_locale" GET param given
the locale picker's current behaviour. By switching to a POST param, we
prevent this result from accidentally occurring.

Signed-off-by: Dan Scott <dscott@laurentian.ca>
Signed-off-by: Art Rhyno <art632000@yahoo.ca>
13 years agoMerge branch 'master' of git://git.evergreen-ils.org/Evergreen
Michael Peters [Thu, 16 Aug 2012 20:15:05 +0000 (16:15 -0400)]
Merge branch 'master' of git://git.evergreen-ils.org/Evergreen

13 years agoFix thinkos in EDI Invoicing
Lebbeous Fogle-Weekley [Thu, 16 Aug 2012 19:38:59 +0000 (15:38 -0400)]
Fix thinkos in EDI Invoicing

The lesson of the day is, test the code you actually commit, not just
the bits and pieces.  Thanks to Bill Erickson on this.

Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Signed-off-by: Bill Erickson <berick@esilibrary.com>
13 years agoMerge branch 'master' of git://git.evergreen-ils.org/Evergreen
Michael Peters [Thu, 16 Aug 2012 19:15:06 +0000 (15:15 -0400)]
Merge branch 'master' of git://git.evergreen-ils.org/Evergreen

13 years agoStamping upgrade script for copy editor field hiding permission
Mike Rylander [Thu, 16 Aug 2012 19:11:29 +0000 (15:11 -0400)]
Stamping upgrade script for copy editor field hiding permission

Signed-off-by: Mike Rylander <mrylander@gmail.com>
13 years agoUpdate permission name to match existing ones
Thomas Berezansky [Thu, 16 Aug 2012 18:58:01 +0000 (14:58 -0400)]
Update permission name to match existing ones

To be consistent with our previous naming scheme for these.

Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
13 years agoProvide permission for copy editor field hiding
Mike Rylander [Thu, 16 Aug 2012 17:45:23 +0000 (13:45 -0400)]
Provide permission for copy editor field hiding

We can adjust what fields are available in the copy editor in 2.2+, but that
requires the general UPDATE_ORG_SETTING permission.  The YAOUS-specific
permission here allows more granular control, so that staff can be given the
ability to adjust only that one OU setting.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
13 years agoMerge branch 'master' of git://git.evergreen-ils.org/Evergreen
Michael Peters [Thu, 16 Aug 2012 18:15:06 +0000 (14:15 -0400)]
Merge branch 'master' of git://git.evergreen-ils.org/Evergreen

13 years agoHide OPAC-invisible holdings from SRU/Z39.50
Dan Scott [Mon, 16 Jul 2012 17:27:54 +0000 (13:27 -0400)]
Hide OPAC-invisible holdings from SRU/Z39.50

The basic_holdings Supercat method filtered out deleted call numbers and
copies, but didn't filter out copies based on the OPAC visibility status
of copy location / status / the copy itself. This has undesired results
when third-party services request copies via SRU or Z39.50 and expose
copies that should not be visible to the public.

We wrap all of the visibility and deletedness checks for a given copy up
into a subroutine so that we can avoid repeating ourselves in the
basic_holdings logic. Also, if we missed a test, we can add it in one
handy place :)

(Thanks to Galen Charlton for finding two missing tests: circ lib
visibility and owning lib visibility!)

Signed-off-by: Dan Scott <dscott@laurentian.ca>
Signed-off-by: Art Rhyno <art632000@yahoo.ca>
13 years agoTPAC: Centralize font size definitions
Dan Scott [Mon, 13 Aug 2012 16:32:26 +0000 (12:32 -0400)]
TPAC: Centralize font size definitions

The TPAC CSS had a mix of absolute and proportional font size
definitions, making it impossible to define a single base size and have
the layout adjust appropriately, as well as making it difficult to tweak
sizes to, say, eliminate the distinction between 11px and 12px text.

Accordingly, create a separate TT2 file to define standard font sizes,
define one base font size, and then use proportional percentage-based
size definitions for a set of standard font sizes. This way, a site
could easily adjust the base font size to 15px and the rest of the
layout should automatically adjust, and/or revert to using absolute font
sizes for different categories if they prefer.

Note that I did simplify some of the categories of font sizes, as the
distinction between 111% and 110% was probably not evident to most
humans at most font sizes, and even the distinction between 120% and
125% would be 14.4px vs. 15px given a base size of 12px - which
different user agents could render differently anyway.

Signed-off-by: Dan Scott <dscott@laurentian.ca>
Signed-off-by: Ben Shum <bshum@biblio.org>
13 years agoMerge branch 'master' of git://git.evergreen-ils.org/Evergreen
Michael Peters [Thu, 16 Aug 2012 17:15:06 +0000 (13:15 -0400)]
Merge branch 'master' of git://git.evergreen-ils.org/Evergreen

13 years agoUpdate make_release script for Linux 64 building
Thomas Berezansky [Thu, 2 Aug 2012 16:10:26 +0000 (12:10 -0400)]
Update make_release script for Linux 64 building

Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Signed-off-by: Ben Shum <bshum@biblio.org>
Signed-off-by: Dan Scott <dscott@laurentian.ca>
13 years agoAdd 64 bit Linux Client building
Thomas Berezansky [Thu, 2 Aug 2012 14:20:54 +0000 (10:20 -0400)]
Add 64 bit Linux Client building

Also re-labels most of the 32 bit client as such. The update channel was
left as just "lin" instead of "lin32" for compatibility reasons.

Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Signed-off-by: Ben Shum <bshum@biblio.org>
Signed-off-by: Dan Scott <dscott@laurentian.ca>
13 years agoMerge branch 'master' of git://git.evergreen-ils.org/Evergreen
Michael Peters [Thu, 16 Aug 2012 15:15:06 +0000 (11:15 -0400)]
Merge branch 'master' of git://git.evergreen-ils.org/Evergreen

13 years agoDocumentation: Add triggered events and holds management docs from ESI.
Sally Fortin [Thu, 16 Aug 2012 14:27:50 +0000 (10:27 -0400)]
Documentation: Add triggered events and holds management docs from ESI.

Content and images from http://www.esilibrary.com/esi/availableDocs.php.
Also fixed some formatting issues for previous committed documentation.

Signed-off-by: Robert Soulliere <robert.soulliere@mohawkcollege.ca>
13 years agoMerge branch 'master' of git://git.evergreen-ils.org/Evergreen
Michael Peters [Thu, 16 Aug 2012 14:15:06 +0000 (10:15 -0400)]
Merge branch 'master' of git://git.evergreen-ils.org/Evergreen

13 years agoDocumentation: Add sections to Local System Administration from ESI
Sally Fortin [Thu, 16 Aug 2012 13:25:16 +0000 (09:25 -0400)]
Documentation: Add sections to Local System Administration from ESI

Content and images from http://www.esilibrary.com/esi/availableDocs.php

Signed-off-by: Robert Soulliere <robert.soulliere@mohawkcollege.ca>
13 years agoSimplified Hold Pull List: Fix broken filters
Lebbeous Fogle-Weekley [Fri, 10 Aug 2012 22:14:23 +0000 (18:14 -0400)]
Simplified Hold Pull List: Fix broken filters

Only two filterable fields were available, and at least
one didn't even work.

Now we have a few more, and they seem to all work for me in testing.

This problem was reported to me by Thomas Berezansky.

While we're at it, also make sure the list of shelving locations in that
filter dropdown is sorted alphabetically.  This was Kathy Lussier's
request.

Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
13 years agoMerge branch 'master' of git://git.evergreen-ils.org/Evergreen
Michael Peters [Thu, 16 Aug 2012 03:15:05 +0000 (23:15 -0400)]
Merge branch 'master' of git://git.evergreen-ils.org/Evergreen

13 years agoJoin subqueries as OR'd groups in QueryParser
Thomas Berezansky [Tue, 14 Aug 2012 17:31:27 +0000 (13:31 -0400)]
Join subqueries as OR'd groups in QueryParser

This makes filter_group_entry(1,2,3) build an OR'd set of the resulting
queries instead of just tacking them onto each other as ANDs.

Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Signed-off-by: Dan Scott <dscott@laurentian.ca>
13 years agoExpose ability to use filter groups in TPac
Thomas Berezansky [Fri, 3 Aug 2012 15:34:05 +0000 (11:34 -0400)]
Expose ability to use filter groups in TPac

Via config options for basic and advanced search.

Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Signed-off-by: Dan Scott <dscott@laurentian.ca>
13 years agoStage 2: Staff Client
Thomas Berezansky [Fri, 10 Aug 2012 14:44:47 +0000 (10:44 -0400)]
Stage 2: Staff Client

Robustify the oils protocol:

1 - In the event of a problem URL, abort with about:blank.

This prevents a segfault!

2 - In the event of the TPac, or KPac, wrap the channel we return.

The wrapper helps with redirects, but if applied to XMLHttpRequests will
cause full breakage.

Without the wrapper redirects end up setting URLs to https://host/...

Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Signed-off-by: Dan Scott <dscott@laurentian.ca>
13 years agoStage 1: Perl
Thomas Berezansky [Wed, 8 Aug 2012 00:15:24 +0000 (20:15 -0400)]
Stage 1: Perl

Attempt to ensure that we always write to oils://remote when needed.

Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Signed-off-by: Dan Scott <dscott@laurentian.ca>
13 years agoMerge branch 'master' of git://git.evergreen-ils.org/Evergreen
Michael Peters [Wed, 15 Aug 2012 18:32:51 +0000 (14:32 -0400)]
Merge branch 'master' of git://git.evergreen-ils.org/Evergreen

13 years agoTrying to update patron CSS color fails here, so don't try
Lebbeous Fogle-Weekley [Thu, 26 Jul 2012 20:45:24 +0000 (16:45 -0400)]
Trying to update patron CSS color fails here, so don't try

After modifying user standing penalties ("messages" in the staff client
patron interface), you could get this error message in an alert() dialog:
    TypeError: patron.display is undefined.

We were apparently trying to use patron.util.set_patron_css() wrongly,
so the commented out changed verison of the call got farther, but stopped at
    ...penalties[i].standing_penalty().name is not a function.

Which probably has something to do with unfleshed data.  Somebody can
get to the bottom of this if they want, but for now it's easier just not
to try to do this and make the alert() dialog go away.

Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Signed-off-by: Bill Erickson <berick@esilibrary.com>
13 years agoMerge branch 'master' of git://git.evergreen-ils.org/Evergreen
Michael Peters [Wed, 15 Aug 2012 18:15:05 +0000 (14:15 -0400)]
Merge branch 'master' of git://git.evergreen-ils.org/Evergreen

13 years agoCheck for filled hold on transit checkin
Thomas Berezansky [Tue, 31 Jul 2012 19:35:21 +0000 (15:35 -0400)]
Check for filled hold on transit checkin

"Fill related hold" can grab a hold out from under a transit, so check for
filled holds in addition to canceled ones.

Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Signed-off-by: Bill Erickson <berick@esilibrary.com>
13 years agoSuperCat fixes - Child Init
Thomas Berezansky [Tue, 10 Apr 2012 13:10:46 +0000 (09:10 -0400)]
SuperCat fixes - Child Init

Sometimes it seems that child_init has not run properly for supercat.

This attempts to fix that by checking for the global appsession objects. If
they are not there we run child_init. The function that does this is being
called from all handler entry functions.

Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Signed-off-by: Bill Erickson <berick@esilibrary.com>
13 years agoMerge branch 'master' of git://git.evergreen-ils.org/Evergreen
Michael Peters [Wed, 15 Aug 2012 17:15:05 +0000 (13:15 -0400)]
Merge branch 'master' of git://git.evergreen-ils.org/Evergreen

13 years agoSilence warnings in search results for holdable copies
Dan Scott [Sat, 4 Aug 2012 15:04:17 +0000 (11:04 -0400)]
Silence warnings in search results for holdable copies

Have not yet determined the exact reason the holdable copies size is not
defined in some instances in the search results only, but this commit
prevents warnings from being spewed by apache about undefined variables.

Signed-off-by: Dan Scott <dscott@laurentian.ca>
Signed-off-by: Bill Erickson <berick@esilibrary.com>
13 years agoTPAC: Silence two uninit variable warnings
Dan Scott [Sat, 4 Aug 2012 14:43:31 +0000 (10:43 -0400)]
TPAC: Silence two uninit variable warnings

These warnings were being thrown on every TPAC page request, slowly
filling the logs:

Use of uninitialized value $set_locale in string eq at
/usr/local/share/perl/5.10.1/OpenILS/WWW/EGWeb.pm line 159.

Use of uninitialized value in pattern match (m//) at
/usr/local/share/perl/5.10.1/OpenILS/WWW/EGCatLoader.pm line 250.

Banish them.

Signed-off-by: Dan Scott <dscott@laurentian.ca>
Signed-off-by: Bill Erickson <berick@esilibrary.com>
13 years agoTPAC: Give login boxes a border
Dan Scott [Mon, 13 Aug 2012 17:53:22 +0000 (13:53 -0400)]
TPAC: Give login boxes a border

For some reason, the boxes for the login form were stripped of
their default border style. Let the natural input box formatting for the
border shine through and give users an easier target when logging in.

Signed-off-by: Dan Scott <dscott@laurentian.ca>
Signed-off-by: Bill Erickson <berick@esilibrary.com>
13 years agoTPAC - Fix footer on hold history page
Ben Shum [Mon, 6 Aug 2012 15:11:54 +0000 (11:11 -0400)]
TPAC - Fix footer on hold history page

The hold history page was missing an ending div tag to complete the
block which leads to the footer being generated incorrectly on that
page.

Adding the ending tag repairs the display of the footer to match all
the other pages.

Credit to Melissa Lefebvre for noticing this discrepancy.

Signed-off-by: Ben Shum <bshum@biblio.org>
Signed-off-by: Dan Scott <dscott@laurentian.ca>
13 years agoMerge branch 'master' of git://git.evergreen-ils.org/Evergreen
Michael Peters [Wed, 15 Aug 2012 16:15:06 +0000 (12:15 -0400)]
Merge branch 'master' of git://git.evergreen-ils.org/Evergreen

13 years agoChange grammar for lost and missing failure messages
Melissa Lefebvre [Tue, 14 Aug 2012 16:58:18 +0000 (12:58 -0400)]
Change grammar for lost and missing failure messages

Update to the lost and missing failure wording to make it
gramatically correct.  Removed the word "has" from both
messages.

Signed-off-by: Melissa Lefebvre <mlefebvre@biblio.org>
Signed-off-by: Dan Scott <dscott@laurentian.ca>
13 years agoMerge branch 'master' of git://git.evergreen-ils.org/Evergreen
Michael Peters [Wed, 15 Aug 2012 15:15:05 +0000 (11:15 -0400)]
Merge branch 'master' of git://git.evergreen-ils.org/Evergreen

13 years agoPhysical Location Fixes/Enhancements
Thomas Berezansky [Tue, 14 Aug 2012 14:50:11 +0000 (10:50 -0400)]
Physical Location Fixes/Enhancements

Teach the physical location retrieval function about using an ENV var.

This allows a subdomain to force a specific physical location, say by adding
to their apache config:

SetEnv physical_loc 4

Rewriterules could also be used for more dynamic configuration.

Also, as a fix:

Have preferred library use the stored physical location instead of assuming
that CGI has the setting all the time.

Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
13 years agoMerge branch 'master' of git://git.evergreen-ils.org/Evergreen
Michael Peters [Tue, 14 Aug 2012 21:15:05 +0000 (17:15 -0400)]
Merge branch 'master' of git://git.evergreen-ils.org/Evergreen

13 years agoTPAC - fix pickup locations for edit holds
Ben Shum [Tue, 7 Aug 2012 17:48:31 +0000 (13:48 -0400)]
TPAC - fix pickup locations for edit holds

When a patron goes to edit a hold in TPAC, they have the option to
choose a different pickup location. Unfortunately, it looks like that
dropdown does not prevent them from selecting locations that aren't
normally allowed for pickups, such as system groups or consortium
itself.

This patch adds a check for 'can_have_vols_only' to the edit holds
screen.

Credit to Melissa Lefebvre for finally nailing down the source of
the issue.

Signed-off-by: Ben Shum <bshum@biblio.org>
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
13 years agoDefault to current fiscal year in ACQ order upload
Bill Erickson [Fri, 10 Aug 2012 18:59:50 +0000 (14:59 -0400)]
Default to current fiscal year in ACQ order upload

* Adds a new API call to determine the current fiscal year for a given
  org unit:  open-ils.acq.org_unit.current_fiscal_year

* Use open-ils.acq.org_unit.current_fiscal_year to populate the correct
  fiscal year in the ACQ order upload selector.

This addresses part 2 of LP 1031927

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
13 years agoEnable pcrud access to fiscal year / fiscal calendar
Bill Erickson [Fri, 10 Aug 2012 18:59:29 +0000 (14:59 -0400)]
Enable pcrud access to fiscal year / fiscal calendar

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
13 years agoFiscal year selector in ACQ order record upload
Bill Erickson [Fri, 10 Aug 2012 18:06:36 +0000 (14:06 -0400)]
Fiscal year selector in ACQ order record upload

* Support a 'fiscal_year' parameter to ACQ order record upload API.
* Adds a new "Fiscal Year" selector to the upload form to facilitate
  uploading orders to different fiscal years.

This partially resolves LP 1031927 by allowing manual selection of the
correct fiscal year.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
13 years agoMerge branch 'master' of git://git.evergreen-ils.org/Evergreen
Michael Peters [Mon, 13 Aug 2012 23:15:06 +0000 (19:15 -0400)]
Merge branch 'master' of git://git.evergreen-ils.org/Evergreen

13 years agoChange "Reset form" to "Clear Form"
Ben Shum [Mon, 13 Aug 2012 22:08:53 +0000 (18:08 -0400)]
Change "Reset form" to "Clear Form"

As suggested by Thomas Berezansky in the comments on LP 994058, change
the button from "Reset form" to "Clear form" to be absolutely clear
that the button now removes all previous search variables.

Signed-off-by: Ben Shum <bshum@biblio.org>
Signed-off-by: Dan Scott <dscott@laurentian.ca>
13 years agoTPAC: Reset Form and New Search should clear queries
Dan Scott [Wed, 8 Aug 2012 19:08:24 +0000 (15:08 -0400)]
TPAC: Reset Form and New Search should clear queries

Currently, clicking "Another Search" in the search results page, or
"Reset Form" on the advanced search page, keeps the same query terms and
type around. Clear these parameters as expected; essentially, we keep
only the search location (loc or locg) in scope.

Note that we explicitly keep parameters around when someone is going
from a basic search to an advanced search, because the assumption is
that they want to refine their search further.

Also affected are the org_selector, because we want to pull the logic
for loc or locg out into a common area (the get_library block in
misc_util.tt2), and the style (input.opac-button elements now get styled
the same as a.opac-button elements, which makes it easier to intermingle
them on the same form).

Signed-off-by: Dan Scott <dscott@laurentian.ca>
Signed-off-by: Ben Shum <bshum@biblio.org>
13 years agoMerge branch 'master' of git://git.evergreen-ils.org/Evergreen
Michael Peters [Mon, 13 Aug 2012 21:15:05 +0000 (17:15 -0400)]
Merge branch 'master' of git://git.evergreen-ils.org/Evergreen

13 years agoTPAC - add library scoping to shelf browser user/dbs/lp973618_cnbrowse_scope
Ben Shum [Sun, 12 Aug 2012 07:25:49 +0000 (03:25 -0400)]
TPAC - add library scoping to shelf browser

The shelf browser currently uses the 'loc' variable to define scoping and
limit browsing to specific org units. However, since much of the scoping
actually uses 'locg', the scoping was broken for the shelf browser.

Additionally, under Advanced Search's Numeric Search, the option for
'Call Number (Shelf Browse)' only applies the 'cn' variable to searches
and never adds the search scope, despite the search library now being
an available filter choice.

Based on suggestion by Dan Scott in IRC, this patch uses the function for
_get_search_lib() to retrieve the search library and add it to both parts
of the shelf browser.

Signed-off-by: Ben Shum <bshum@biblio.org>
Signed-off-by: Dan Scott <dscott@laurentian.ca>
13 years agoMerge branch 'master' of git://git.evergreen-ils.org/Evergreen
Michael Peters [Mon, 13 Aug 2012 15:15:05 +0000 (11:15 -0400)]
Merge branch 'master' of git://git.evergreen-ils.org/Evergreen

13 years agoMake opac/results.tt2 remember facet when sorting, etc.
Jason Stephenson [Wed, 25 Jul 2012 17:43:38 +0000 (13:43 -0400)]
Make opac/results.tt2 remember facet when sorting, etc.

Add a hidden field in the search form and set its value to the value
of the CGI 'facet' param if the facet parameter is set.  This appears
to work for multiple facets.  Clearing a facet is as simple as clicking
on the gray-backgounded facet name.

Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
Signed-off-by: Dan Scott <dscott@laurentian.ca>
13 years agoMerge branch 'master' of git://git.evergreen-ils.org/Evergreen
Michael Peters [Mon, 13 Aug 2012 14:15:06 +0000 (10:15 -0400)]
Merge branch 'master' of git://git.evergreen-ils.org/Evergreen

13 years agoTPAC - fix alignment of "You are now browsing..." in shelf browser
Ben Shum [Thu, 9 Aug 2012 16:27:57 +0000 (12:27 -0400)]
TPAC - fix alignment of "You are now browsing..." in shelf browser

The "You are now browsing..." message does not align to the center of the
page. Changing the <div> to a <p> seems to properly align the text.

Along the way, we should remove the extra <span> and <strong> (the strong
is redundant with the css being inherited by color_4 class) and make the
new single line message more i18n-friendly for future translations.

Credit to Michael Peters for noticing the problem and thanks to Dan Scott,
Lebbeous Fogle-Weekley, and Thomas Berezansky for help via IRC for the
i18n-bits.

Signed-off-by: Ben Shum <bshum@biblio.org>
Signed-off-by: Michael Peters <mrpeters@library.in.gov>
Signed-off-by: Dan Scott <dscott@laurentian.ca>
13 years agoFix TPAC shelf browser's previous link
Thomas Berezansky [Sun, 12 Aug 2012 19:16:01 +0000 (15:16 -0400)]
Fix TPAC shelf browser's previous link

Line fix suggested by Thomas Berezansky.

The cnoffset was strictly checking for values that start with a digit.
But negative numbers start with a "-" instead. Once this check was
changed, the previous link will continue to move further into negative
offsets.

Signed-off-by: Ben Shum <bshum@biblio.org>
Signed-off-by: Dan Scott <dscott@laurentian.ca>
13 years agoMerge branch 'master' of git://git.evergreen-ils.org/Evergreen
Michael Peters [Fri, 10 Aug 2012 17:15:06 +0000 (13:15 -0400)]
Merge branch 'master' of git://git.evergreen-ils.org/Evergreen

13 years agoDocumentation: Fix some issues which caused a2x epub processing to choke.
Robert Soulliere [Fri, 10 Aug 2012 17:03:58 +0000 (13:03 -0400)]
Documentation: Fix some issues which caused a2x epub processing to choke.

Signed-off-by: Robert Soulliere <robert.soulliere@mohawkcollege.ca>
13 years agoDocumentation: add a missing image.
Robert Soulliere [Fri, 10 Aug 2012 16:24:13 +0000 (12:24 -0400)]
Documentation: add a missing image.

Signed-off-by: Robert Soulliere <robert.soulliere@mohawkcollege.ca>
13 years agoMerge branch 'master' of git://git.evergreen-ils.org/Evergreen
Michael Peters [Fri, 10 Aug 2012 14:15:05 +0000 (10:15 -0400)]
Merge branch 'master' of git://git.evergreen-ils.org/Evergreen

13 years agoDocumentation: remove line break characters from file.
Robert Soulliere [Fri, 10 Aug 2012 14:04:59 +0000 (10:04 -0400)]
Documentation: remove line break characters from file.

Signed-off-by: Robert Soulliere <robert.soulliere@mohawkcollege.ca>
13 years agoDocumentation: Add kids catalog documentation from ESI site.
Sally Fortin [Fri, 10 Aug 2012 13:59:04 +0000 (09:59 -0400)]
Documentation: Add kids catalog documentation from ESI site.

Signed-off-by: Robert Soulliere <robert.soulliere@mohawkcollege.ca>
13 years agoAuthorities: Fix broken UI due to new XUL/Dojo/regressions
Dan Scott [Thu, 9 Aug 2012 22:25:00 +0000 (18:25 -0400)]
Authorities: Fix broken UI due to new XUL/Dojo/regressions

New versions of XUL, since Firefox 10, hate dojo.query("foo bar"), so we
have to refactor it to use dojo.query("foo").query("bar") instead. At
least until we upgrade to a new version of Dojo.

In addition, 522d8d82 introduced a regression meaning that the text of
the authorities was no longer wrapped in a SPAN element with a class of
"text". That in turn meant that the Dojo queries weren't picking up the
labels for the merge box, leaving no visual indication to the user as to
what authorities exactly were being merged. So, repair that.

Also, similar to a fix for the MFHD editor, set the initial height of
the spawned MARC Editor for an authority record to something reasonable.

Signed-off-by: Dan Scott <dscott@laurentian.ca>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
13 years agoMerge branch 'master' of git://git.evergreen-ils.org/Evergreen
Michael Peters [Fri, 10 Aug 2012 13:15:05 +0000 (09:15 -0400)]
Merge branch 'master' of git://git.evergreen-ils.org/Evergreen

13 years agoDocumentation: Update upgrade instruction to 2.3.beta1 and include all docs that...
Robert Soulliere [Thu, 9 Aug 2012 19:17:48 +0000 (15:17 -0400)]
Documentation: Update upgrade instruction to 2.3.beta1 and include all docs that were in 2.2.

Signed-off-by: Robert Soulliere <robert.soulliere@mohawkcollege.ca>
13 years agoSet a sane initial MFHD Editor size
Dan Scott [Thu, 9 Aug 2012 20:31:44 +0000 (16:31 -0400)]
Set a sane initial MFHD Editor size

For most MFHD records, the size of the MARC Editor window when spawned
fits into the confines of a normal desktop. However, for MFHD records
with dozens or more rows, the window chrome can be inaccessible because
it is bumped off the top of the Windows desktop. This makes it
impossible for users to close the window without a workaround like
hitting ALT+F4

This branch sets the window to an initial height of 40 pixels less than
the height of the entire staff client window. This should be enough to
enable the chrome on top to be visible. In addition, we have to set the
width to something reasonable because XUL seems to otherwise set the
window to be extremely skinny once an explicit height is set, so we set
that to be half the width of the staff client window.

Finally, we allow the new window to be resizable according to the user's
preference.

Signed-off-by: Dan Scott <dscott@laurentian.ca>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
13 years agoSimplified Hold Pull List: Fix several sorting bugs
Lebbeous Fogle-Weekley [Wed, 8 Aug 2012 17:50:33 +0000 (13:50 -0400)]
Simplified Hold Pull List: Fix several sorting bugs

First of all, sorting on most columns was broken due to a bug in the way
that the flattener methods of the open-ils.fielder service were
constructing their SQL JOINs.  We were coming up with way too many
joins, and then losing track of which JOIN's alias to refer to when
building the ORDER BY clause later.  This is fixed.

Secondly, the shelving location column now sorts automatically by the
shelving location *ordering* values, when avaiable.  These are the
values that you set up in the drag-and-drop staff client interface
titled "Copy Location Order."  When these values are not set for the org
unit whose pull list you're viewing, the sorting will fall back to
alphabetical.

Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
13 years agoMerge branch 'master' of git://git.evergreen-ils.org/Evergreen
Michael Peters [Wed, 8 Aug 2012 16:15:05 +0000 (12:15 -0400)]
Merge branch 'master' of git://git.evergreen-ils.org/Evergreen

13 years agoDocumentation: Remove a space causing an error during PDF processing.
Robert Soulliere [Wed, 8 Aug 2012 14:45:33 +0000 (10:45 -0400)]
Documentation: Remove a space causing an error during PDF processing.

Signed-off-by: Robert Soulliere <robert.soulliere@mohawkcollege.ca>
13 years agoMerge branch 'master' of git://git.evergreen-ils.org/Evergreen
Michael Peters [Wed, 8 Aug 2012 02:15:05 +0000 (22:15 -0400)]
Merge branch 'master' of git://git.evergreen-ils.org/Evergreen

13 years agoTPAC: Remove explicit width on "View my list" button
Dan Scott [Sat, 4 Aug 2012 15:24:15 +0000 (11:24 -0400)]
TPAC: Remove explicit width on "View my list" button

.cached_list_div, which defines the style for the "View my list" button
on the TPAC button bar once an item has been added to a temporary list,
is given an explicit width of 111px, which is problematic for a number
of reasons:

1. If the font-size of the base style is increased, then the text will
   likely wrap.
2. Translations tend to be longer than English, and indeed in fr-CA
   "Afficher ma liste" ends up wrapping onto a second line, which makes
   the button bar look weird.

Accordingly, remove the explicit "width:111px" from the style definition
for .cached_list_div.

Signed-off-by: Dan Scott <dscott@laurentian.ca>
Signed-off-by: Ben Shum <bshum@biblio.org>
13 years agoMerge branch 'master' of git://git.evergreen-ils.org/Evergreen
Michael Peters [Tue, 7 Aug 2012 19:15:05 +0000 (15:15 -0400)]
Merge branch 'master' of git://git.evergreen-ils.org/Evergreen

13 years agoRemove extra xulG redefines
Thomas Berezansky [Tue, 7 Aug 2012 18:29:37 +0000 (14:29 -0400)]
Remove extra xulG redefines

Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Signed-off-by: Dan Scott <dscott@laurentian.ca>
13 years agoFix timestamp typo
Thomas Berezansky [Tue, 7 Aug 2012 18:19:56 +0000 (14:19 -0400)]
Fix timestamp typo

Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Signed-off-by: Dan Scott <dscott@laurentian.ca>
13 years agoMerge branch 'master' of git://git.evergreen-ils.org/Evergreen
Michael Peters [Mon, 6 Aug 2012 17:15:05 +0000 (13:15 -0400)]
Merge branch 'master' of git://git.evergreen-ils.org/Evergreen

13 years agoRedirect to OILS in staff client
Thomas Berezansky [Mon, 6 Aug 2012 16:48:19 +0000 (12:48 -0400)]
Redirect to OILS in staff client

Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Signed-off-by: Bill Erickson <berick@esilibrary.com>
13 years agoMerge branch 'master' of git://git.evergreen-ils.org/Evergreen
Michael Peters [Fri, 3 Aug 2012 17:15:05 +0000 (13:15 -0400)]
Merge branch 'master' of git://git.evergreen-ils.org/Evergreen

13 years agoAdd dependencies for Fedora
Dan Scott [Fri, 3 Aug 2012 14:59:33 +0000 (10:59 -0400)]
Add dependencies for Fedora

Noted by Net Wolf on the mailing list, some core dependencies were
missing from the Fedora Makefile.install installer. As some of them have
recently been packaged for Fedora 17, add them to the package
collection; others are still unpackaged, so leave them there.

Note: the packages are not available on Fedora 16, but that has a
limited remaining shelf life anyway, so consider this a shift to
supporting only the latest stable version of Fedora.

Signed-off-by: Dan Scott <dscott@laurentian.ca>
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
13 years agoMerge branch 'master' of git://git.evergreen-ils.org/Evergreen
Michael Peters [Fri, 3 Aug 2012 15:15:06 +0000 (11:15 -0400)]
Merge branch 'master' of git://git.evergreen-ils.org/Evergreen

13 years agoImport updated translations from Launchpad; stage 2
Bill Erickson [Fri, 3 Aug 2012 14:02:29 +0000 (10:02 -0400)]
Import updated translations from Launchpad; stage 2

Signed-off-by: Bill Erickson <berick@esilibrary.com>
13 years agoImport updated translations from Launchpad; stage 1
Bill Erickson [Fri, 3 Aug 2012 14:00:54 +0000 (10:00 -0400)]
Import updated translations from Launchpad; stage 1

Signed-off-by: Bill Erickson <berick@esilibrary.com>
13 years agoMerge branch 'master' of git://git.evergreen-ils.org/Evergreen
Michael Peters [Fri, 3 Aug 2012 14:15:05 +0000 (10:15 -0400)]
Merge branch 'master' of git://git.evergreen-ils.org/Evergreen

13 years agoInitial cut of 2.3 release notes.
Bill Erickson [Thu, 2 Aug 2012 16:12:49 +0000 (12:12 -0400)]
Initial cut of 2.3 release notes.

Basically, the contents of RELEASE_NOTES_NEXT organized into
RELEASE_NOTES_2_3.txt and removed from RELEASE_NOTE_NEXT.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
13 years agoAdd simple README to RELEASE_NOTE_NEXT
Bill Erickson [Thu, 2 Aug 2012 16:09:42 +0000 (12:09 -0400)]
Add simple README to RELEASE_NOTE_NEXT

Without something in the directory, it will dissappear each time we
create release notes from the contents and delete them, since Git
removes empty directories.  That would likely just lead to confusion.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
13 years agoDocumentation: adjust documentation for 2_3 release.
Robert Soulliere [Fri, 3 Aug 2012 13:21:18 +0000 (09:21 -0400)]
Documentation: adjust documentation for 2_3 release.

Comment out chapters in root.txt except for basic documentation.
Update upgrade instructions for the 2.3 alpha2 release.

Signed-off-by: Robert Soulliere <robert.soulliere@mohawkcollege.ca>
13 years agoMerge branch 'master' of git://git.evergreen-ils.org/Evergreen
Michael Peters [Fri, 3 Aug 2012 02:15:05 +0000 (22:15 -0400)]
Merge branch 'master' of git://git.evergreen-ils.org/Evergreen

13 years agoAdd basic release notes for 2.2.1. Not as thorough as notes at major release.
Lebbeous Fogle-Weekley [Fri, 3 Aug 2012 01:37:10 +0000 (21:37 -0400)]
Add basic release notes for 2.2.1.  Not as thorough as notes at major release.

Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
13 years agoMerge branch 'master' of git://git.evergreen-ils.org/Evergreen
Michael Peters [Thu, 2 Aug 2012 16:15:05 +0000 (12:15 -0400)]
Merge branch 'master' of git://git.evergreen-ils.org/Evergreen

13 years agoRepairing upgrade stamp number
Bill Erickson [Thu, 2 Aug 2012 15:35:05 +0000 (11:35 -0400)]
Repairing upgrade stamp number

Signed-off-by: Bill Erickson <berick@esilibrary.com>
13 years agoMerge branch 'master' of git://git.evergreen-ils.org/Evergreen
Michael Peters [Thu, 2 Aug 2012 15:15:05 +0000 (11:15 -0400)]
Merge branch 'master' of git://git.evergreen-ils.org/Evergreen

13 years agoDocumentation: Add Staff account management chapter.
Robert Soulliere [Thu, 2 Aug 2012 14:34:44 +0000 (10:34 -0400)]
Documentation: Add Staff account management chapter.

Converted from 1.6 documentation. Reviewed by Jennifer Turner.

Signed-off-by: Robert Soulliere <robert.soulliere@mohawkcollege.ca>
13 years agoMerge branch 'master' of git://git.evergreen-ils.org/Evergreen
Michael Peters [Thu, 2 Aug 2012 04:15:05 +0000 (00:15 -0400)]
Merge branch 'master' of git://git.evergreen-ils.org/Evergreen

13 years agoFix up whitespace in a couple of SIP modules
Dan Scott [Thu, 2 Aug 2012 03:05:58 +0000 (23:05 -0400)]
Fix up whitespace in a couple of SIP modules

Signed-off-by: Dan Scott <dscott@laurentian.ca>
13 years agoAdd SIP support for Fine Items field
Jeff Godin [Tue, 19 Jun 2012 19:31:08 +0000 (15:31 -0400)]
Add SIP support for Fine Items field

Add support for SIP Fine Items, msg 64 field AV.

Display outstanding balance, last_billing_type, and a description.

For circulation xacts, description is title / author from MODS.

For grocery xacts, description is last_billing_note.

Wishlist LP 1012328

Signed-off-by: Jeff Godin <jgodin@tadl.org>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
Signed-off-by: Dan Scott <dscott@laurentian.ca>
13 years agoPass authtoken to OpenILS::SIP::Patron objects
Jeff Godin [Tue, 19 Jun 2012 19:10:07 +0000 (15:10 -0400)]
Pass authtoken to OpenILS::SIP::Patron objects

To support retrieval of billing details, OpenILS::SIP::Patron
objects need an auth token.

Teach OpenILS::SIP->find_patron to pass patron objects an auth
token, and also move existing "find patron by what key: barcode or
database id?" logic into find_patron (and out of
OpenILS::SIP::Patron->new).

Signed-off-by: Jeff Godin <jgodin@tadl.org>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
Signed-off-by: Dan Scott <dscott@laurentian.ca>
13 years agoMerge branch 'master' of git://git.evergreen-ils.org/Evergreen
Michael Peters [Wed, 1 Aug 2012 23:15:05 +0000 (19:15 -0400)]
Merge branch 'master' of git://git.evergreen-ils.org/Evergreen

13 years agoMerge branch 'master' of git://git.evergreen-ils.org/Evergreen
Michael Peters [Wed, 1 Aug 2012 22:15:05 +0000 (18:15 -0400)]
Merge branch 'master' of git://git.evergreen-ils.org/Evergreen

13 years agoWrap upgrade script for search filter group admin UI
Dan Scott [Wed, 1 Aug 2012 21:33:48 +0000 (17:33 -0400)]
Wrap upgrade script for search filter group admin UI

Signed-off-by: Dan Scott <dscott@laurentian.ca>