]> git.evergreen-ils.org Git - contrib/Conifer.git/log
contrib/Conifer.git
11 years agoAdd Laurentian LibQual beseeching user/dbs/rel_2_3_osul
Dan Scott [Tue, 26 Feb 2013 17:03:13 +0000 (12:03 -0500)]
Add Laurentian LibQual beseeching

Signed-off-by: Dan Scott <dscott@laurentian.ca>
11 years agoFix LU link breakage, 2012-12-10 edition
Dan Scott [Mon, 10 Dec 2012 18:24:30 +0000 (13:24 -0500)]
Fix LU link breakage, 2012-12-10 edition

Also make links translatable

Signed-off-by: Dan Scott <dscott@laurentian.ca>
11 years agoTPAC: Avoid the "place holds on available" lists hole
Dan Scott [Tue, 9 Oct 2012 17:14:17 +0000 (13:14 -0400)]
TPAC: Avoid the "place holds on available" lists hole

... by ripping out the option entirely, naturally.

Signed-off-by: Dan Scott <dscott@laurentian.ca>
11 years agoFix OSUL links that were broken by the new Web site
Dan Scott [Tue, 25 Sep 2012 17:25:26 +0000 (13:25 -0400)]
Fix OSUL links that were broken by the new Web site

Signed-off-by: Dan Scott <dscott@laurentian.ca>
11 years agoRemove "old catalogue" links from Laurentian TPAC
Dan Scott [Wed, 5 Sep 2012 18:12:10 +0000 (14:12 -0400)]
Remove "old catalogue" links from Laurentian TPAC

Signed-off-by: Dan Scott <dscott@laurentian.ca>
11 years agoOSUL: Typo in reset password link on login form
Dan Scott [Tue, 4 Sep 2012 19:26:15 +0000 (15:26 -0400)]
OSUL: Typo in reset password link on login form

Signed-off-by: Dan Scott <dscott@laurentian.ca>
11 years agoCustomize login form for Laurentian LDAP login
Dan Scott [Thu, 30 Aug 2012 16:01:00 +0000 (12:01 -0400)]
Customize login form for Laurentian LDAP login

Now that we're synced up with LDAP authentication, provide the
appropriate guidance on the login form.

Set ou_email_host via a hidden form variable.

Provide more rational inline help for OSUL login form.

Link to the OSUL password reset form on login failure

Signed-off-by: Dan Scott <dscott@laurentian.ca>
11 years agoSlightly saner login form markup
Dan Scott [Thu, 30 Aug 2012 15:55:10 +0000 (11:55 -0400)]
Slightly saner login form markup

Try to provide accessibility via label attributes and move from a
table-within-a-table layout to a single table for the form.

Signed-off-by: Dan Scott <dscott@laurentian.ca>
11 years agoOSUL: Turn on RefWorks export
Dan Scott [Wed, 15 Aug 2012 11:01:47 +0000 (07:01 -0400)]
OSUL: Turn on RefWorks export

Signed-off-by: Dan Scott <dscott@laurentian.ca>
11 years agoLaurentian TPAC: use base font= 15px, show details
Dan Scott [Mon, 13 Aug 2012 21:48:00 +0000 (17:48 -0400)]
Laurentian TPAC: use base font= 15px, show details

Signed-off-by: Dan Scott <dscott@laurentian.ca>
11 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>
11 years agoMerge branch 'user/dbs/rel_2_3_mergery' of git.evergreen-ils.org:contrib/Conifer...
Dan Scott [Mon, 13 Aug 2012 21:43:08 +0000 (17:43 -0400)]
Merge branch 'user/dbs/rel_2_3_mergery' of git.evergreen-ils.org:contrib/Conifer into rel_2_3_osul

11 years agoTPAC: Make "Show more details" in results optional
Art Rhyno [Mon, 13 Aug 2012 21:22:17 +0000 (17:22 -0400)]
TPAC: Make "Show more details" in results optional

Academic sites typically handle a lot of electronic content and want to
bring most details about entries, such as availability, status, and
URLs, on a results screen to the front.

This adds a 'show_more_details.default' option in 'config.tt2' that can
have the values 'true', 'false' and 'hide'.  The 'true' and 'false'
values set the default for the button to more and less respectively, and
'hide' suppresses the button from showing at all.

Signed-off-by: Art Rhyno <art632000@yahoo.ca>
Signed-off-by: Dan Scott <dscott@laurentian.ca>
11 years agoTPAC - add library scoping to shelf browser
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>
11 years agoTPAC: AutoSuggest throws a JS error on login form
Dan Scott [Mon, 13 Aug 2012 19:51:35 +0000 (15:51 -0400)]
TPAC: AutoSuggest throws a JS error on login form

searchbar.tt2 includes a reference to the AutoSuggest widget that
results in an error if the dojo code has not been required, which is
par for the course. However, on the login form we disabled the
AutoSuggest inline code because we didn't want it to override the
autofocus for the login user name; unfortunately, the searchbar exists
on the login form, and a JS error is thrown. On most browsers, not a
problem, but on IE it throws up a nasty dialog if you have the
right/wrong settings.

The simplest way to resolve this is to not set autofocus if we're not on
the basic_search page, but keep the rest of the AutoSuggest code
around.

In addition, we can avoid some other undefined var warnings by stepping
carefully through the search for the dijit value.

Signed-off-by: Dan Scott <dscott@laurentian.ca>
11 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>
11 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>
11 years agoLaurentian TPAC: one missing override
Dan Scott [Mon, 13 Aug 2012 17:26:58 +0000 (13:26 -0400)]
Laurentian TPAC: one missing override

Signed-off-by: Dan Scott <dscott@laurentian.ca>
11 years agoLaurentian TPAC: And name the overrides stylesheet appropriately too
Dan Scott [Mon, 13 Aug 2012 16:58:02 +0000 (12:58 -0400)]
Laurentian TPAC: And name the overrides stylesheet appropriately too

Signed-off-by: Dan Scott <dscott@laurentian.ca>
11 years agoLaurentian TPAC: delete copy of style.css.tt2
Dan Scott [Mon, 13 Aug 2012 16:52:06 +0000 (12:52 -0400)]
Laurentian TPAC: delete copy of style.css.tt2

Now that we're overriding style.css.tt2, we don't need to include a
near-duplicate of the base stylesheet.

Signed-off-by: Dan Scott <dscott@laurentian.ca>
11 years agoLaurentian TPAC: override style.css in a separate stylesheet
Dan Scott [Mon, 13 Aug 2012 16:48:24 +0000 (12:48 -0400)]
Laurentian TPAC: override style.css in a separate stylesheet

One more HTTP request, but much simpler tracking of HEAD stylesheet
chagnes.

Signed-off-by: Dan Scott <dscott@laurentian.ca>
11 years agoMerge branch 'user/dbs/rel_2_3_mergery' of git.evergreen-ils.org:contrib/Conifer...
Dan Scott [Mon, 13 Aug 2012 16:41:44 +0000 (12:41 -0400)]
Merge branch 'user/dbs/rel_2_3_mergery' of git.evergreen-ils.org:contrib/Conifer into rel_2_3_osul

11 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>
11 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>
11 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>
11 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>
11 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>
11 years agoOne more fix for the org_selector
Dan Scott [Thu, 9 Aug 2012 15:49:49 +0000 (11:49 -0400)]
One more fix for the org_selector

Signed-off-by: Dan Scott <dscott@laurentian.ca>
11 years agoFix
Dan Scott [Thu, 9 Aug 2012 15:23:32 +0000 (11:23 -0400)]
Fix

Signed-off-by: Dan Scott <dscott@laurentian.ca>
11 years agoSync up the input.opac-button style with master
Dan Scott [Thu, 9 Aug 2012 15:11:59 +0000 (11:11 -0400)]
Sync up the input.opac-button style with master

Pulled from the user/dbs/tpac_clear_search working branch, we need to
maintain the same style. Hey, aren't these supposed to cascade?

Signed-off-by: Dan Scott <dscott@laurentian.ca>
11 years agoMerge branch 'user/dbs/rel_2_3_mergery' of git.evergreen-ils.org:contrib/Conifer...
Dan Scott [Thu, 9 Aug 2012 15:10:40 +0000 (11:10 -0400)]
Merge branch 'user/dbs/rel_2_3_mergery' of git.evergreen-ils.org:contrib/Conifer into rel_2_3_osul

11 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>
11 years agoAdd an API for generating barcodes
Dan Scott [Thu, 8 Sep 2011 21:26:58 +0000 (17:26 -0400)]
Add an API for generating barcodes

Add a custom API to open-ils.actor for generating barcodes; accepts one
argument, user ID, which gets the barcode set to their new value. If no
arg is passed, just generates a new barcode and returns it (should be
useful on the patron editor screen).

Signed-off-by: Dan Scott <dscott@laurentian.ca>
11 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>
11 years agoGeneric login help that leads to example.com is no use
Dan Scott [Tue, 7 Aug 2012 21:49:58 +0000 (17:49 -0400)]
Generic login help that leads to example.com is no use

We'll override the generic login help that leads to example.com with a
blank page, and let sites override that with their own help if they so
desire.

Signed-off-by: Dan Scott <dscott@laurentian.ca>
11 years agoAllow some buttons in Import via Z39.50 to wrap lines
Dan Scott [Tue, 7 Aug 2012 20:39:37 +0000 (16:39 -0400)]
Allow some buttons in Import via Z39.50 to wrap lines

Some of our technicians with 4:3 ratio monitors and a reasonable
font-size are unable to see the "Import Record" button on the Import via
Z39.50 screen, because the buttons in that row are laid out in a single,
non-wrapping row, and there is no affordance for scrolling over to the
side.

Simply changing the containing "hbox" element to a "description" element
allows enough of the buttons to overflow to resolve the problem in our
experience.

Signed-off-by: Dan Scott <dscott@laurentian.ca>
11 years agoMerge branch 'rel_2_3' of git.evergreen-ils.org:Evergreen into rel_2_3_mergery
Dan Scott [Tue, 7 Aug 2012 18:53:26 +0000 (14:53 -0400)]
Merge branch 'rel_2_3' of git.evergreen-ils.org:Evergreen into rel_2_3_mergery

11 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>
11 years agoMerge branch 'rel_2_3' of git.evergreen-ils.org:Evergreen into rel_2_3_mergery
Dan Scott [Tue, 7 Aug 2012 18:32:34 +0000 (14:32 -0400)]
Merge branch 'rel_2_3' of git.evergreen-ils.org:Evergreen into rel_2_3_mergery

11 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>
11 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>
11 years agoFix cached_list_div width
Dan Scott [Sat, 4 Aug 2012 15:32:24 +0000 (11:32 -0400)]
Fix cached_list_div width

Signed-off-by: Dan Scott <dscott@laurentian.ca>
11 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>
11 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>
11 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>
11 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>
11 years agoTPAC: Add the ability to set a different default locale
Dan Scott [Sat, 4 Aug 2012 14:10:48 +0000 (10:10 -0400)]
TPAC: Add the ability to set a different default locale

Installations with multiple sites might desire different default locales
for their skins. This adds the Apache config directive
"OILSWebDefaultLocale", which enables you to set the default locale on a
global and a per-skin basis.

Note that this prevents the browser Accept-language header from having
any effect; sadly that header is not often used in real life.

Signed-off-by: Dan Scott <dscott@laurentian.ca>
11 years agoMerge branch 'master' of git.evergreen-ils.org:Evergreen into rel_2_3_mergery
Dan Scott [Fri, 3 Aug 2012 16:26:28 +0000 (12:26 -0400)]
Merge branch 'master' of git.evergreen-ils.org:Evergreen into rel_2_3_mergery

11 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>
11 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>
11 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>
11 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>
11 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>
11 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>
11 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>
11 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>
11 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>
11 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>
11 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>
11 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>
11 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>
11 years agoConifer is missing the acq category in config.settings_group
Dan Scott [Thu, 2 Aug 2012 20:45:27 +0000 (16:45 -0400)]
Conifer is missing the acq category in config.settings_group

Signed-off-by: Dan Scott <dscott@laurentian.ca>
11 years agoMerge branch 'master' of git.evergreen-ils.org:Evergreen into rel_2_3_mergery
Dan Scott [Thu, 2 Aug 2012 20:33:00 +0000 (16:33 -0400)]
Merge branch 'master' of git.evergreen-ils.org:Evergreen into rel_2_3_mergery

11 years agoAdd a rough 2.2-2.3 upgrade script for Conifer purposes
Dan Scott [Thu, 2 Aug 2012 20:31:48 +0000 (16:31 -0400)]
Add a rough 2.2-2.3 upgrade script for Conifer purposes

Built largely by determining which upgrade files live only in rel_2_3
and concatenating them together.

Signed-off-by: Dan Scott <dscott@laurentian.ca>
11 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>
11 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>
11 years agoLaurentian skin: disable many preferences
Dan Scott [Tue, 31 Jul 2012 21:30:06 +0000 (17:30 -0400)]
Laurentian skin: disable many preferences

Phone notifications for holds do not happen. Hide any mention of phone
numbers or widgets for changing phone numbers.

We also do not want to enable users to update their username, password, or
email address.

Enable RefWorks and SFX lookup support.

Signed-off-by: Dan Scott <dscott@laurentian.ca>
11 years agoAdjust the footer/header links for Laurentian
Dan Scott [Tue, 31 Jul 2012 19:04:38 +0000 (15:04 -0400)]
Adjust the footer/header links for Laurentian

Signed-off-by: Dan Scott <dscott@laurentian.ca>
11 years agoBasic Laurentian University branding: colours and logos
Dan Scott [Tue, 31 Jul 2012 18:53:48 +0000 (14:53 -0400)]
Basic Laurentian University branding: colours and logos

Required some wrestling with the default stylesheet but otherwise we
appear to be good.

Signed-off-by: Dan Scott <dscott@laurentian.ca>
11 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>
11 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>
11 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>
11 years agoMerge branch 'master' of git.evergreen-ils.org:Evergreen into rel_2_3_mergery
Dan Scott [Wed, 1 Aug 2012 21:37:30 +0000 (17:37 -0400)]
Merge branch 'master' of git.evergreen-ils.org:Evergreen into rel_2_3_mergery

11 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>
11 years agoSearch filter group doc repair
Bill Erickson [Wed, 25 Jul 2012 13:43:43 +0000 (09:43 -0400)]
Search filter group doc repair

Change the example in the docs to have correct syntax:

filter_group=reading_level becomes filter_group='reading_level'

Thanks to kmlussier for pointing this out.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Dan Scott <dscott@laurentian.ca>
11 years agoAdd missing search filter group view/admin perm
Bill Erickson [Thu, 31 May 2012 14:06:17 +0000 (10:06 -0400)]
Add missing search filter group view/admin perm

ADMIN_SEARCH_FILTER_GROUP
VIEW_SEARCH_FILTER_GROUP

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Dan Scott <dscott@laurentian.ca>
11 years agoSearch filter groups release notes
Bill Erickson [Thu, 31 May 2012 13:27:40 +0000 (09:27 -0400)]
Search filter groups release notes

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Dan Scott <dscott@laurentian.ca>
11 years agoSearch filter groups admin UI staff menu entry
Bill Erickson [Thu, 31 May 2012 13:37:58 +0000 (09:37 -0400)]
Search filter groups admin UI staff menu entry

Admin -> Local Administration -> Search Filter Groups

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Dan Scott <dscott@laurentian.ca>
11 years agoSearch filter groups admin UI / API
Bill Erickson [Fri, 25 May 2012 13:22:36 +0000 (09:22 -0400)]
Search filter groups admin UI / API

UI for managing search filter groups and group entries.

This inclues a new API call for performing CRUD actions on filter
group entries:

open-ils.actor.filter_group_entry.crud

This new API call was necessary because entries link to
actor.search_query's, whose write access cannot be controled by pcrud.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Dan Scott <dscott@laurentian.ca>
11 years agoAdd WEBDIR to Open-ILS/xul/staff_client/Makefile.am.
Jason Stephenson [Wed, 25 Apr 2012 19:06:38 +0000 (15:06 -0400)]
Add WEBDIR to Open-ILS/xul/staff_client/Makefile.am.

Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: Dan Scott <dscott@laurentian.ca>
11 years agoMerge branch 'master' of git.evergreen-ils.org:Evergreen into rel_2_3_mergery
Dan Scott [Wed, 1 Aug 2012 21:04:16 +0000 (17:04 -0400)]
Merge branch 'master' of git.evergreen-ils.org:Evergreen into rel_2_3_mergery

Conflicts:
Open-ILS/src/sql/Pg/002.schema.config.sql
Open-ILS/src/templates/opac/parts/record/summary.tt2
Open-ILS/src/templates/opac/parts/result/table.tt2

Signed-off-by: Dan Scott <dscott@laurentian.ca>
11 years agoFix place hold hiding logic
Thomas Berezansky [Wed, 1 Aug 2012 20:40:51 +0000 (16:40 -0400)]
Fix place hold hiding logic

Always show the place hold link for staff with permission to place holds
that won't fill currently.

Otherwise, only show the link if:
There are holdable copies
AND
We aren't blocking OR there are no available copies

Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Signed-off-by: Dan Scott <dscott@laurentian.ca>
11 years agoTPAC: Wrap "holdable copies" upgrade script
Dan Scott [Wed, 1 Aug 2012 20:54:32 +0000 (16:54 -0400)]
TPAC: Wrap "holdable copies" upgrade script

Signed-off-by: Dan Scott <dscott@laurentian.ca>
11 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>
Conflicts:
Open-ILS/src/templates/opac/parts/record/summary.tt2
Open-ILS/src/templates/opac/parts/result/table.tt2

Signed-off-by: Dan Scott <dscott@laurentian.ca>
11 years agoTPac: Hide place hold links when not holdable
Thomas Berezansky [Wed, 18 Apr 2012 21:03:05 +0000 (17:03 -0400)]
TPac: Hide place hold links when not holdable

The only check done is on the holdable flags:
Copy
Status
Location

Hold rules themselves are not checked.

Note that place hold links are shown either way when you can have the
PLACE_UNFILLABLE_HOLD permission and are logged into the staff client.

Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Signed-off-by: Dan Scott <dscott@laurentian.ca>
11 years agoOperator Change Fun
Thomas Berezansky [Thu, 12 Apr 2012 14:23:12 +0000 (10:23 -0400)]
Operator Change Fun

Allow for temporary, staff, and permanent operator changes.

Temporary uses a temp authtoken for a few minute timeout.

Staff uses a normal staff login authtoken for a multi-hour timeout.

Permanent is a staff change that disregards the previous login instead of
allowing it to be recovered by using the menu item again.

I also fixed things up so later timeouts can re-use the previous duration
and fixed up some title bar issues:

1 - Login screen shows version again (needed a document in the title set)
2 - Menu windows don't forget the server name
3 - Menu windows keep the same number for their lifetime

Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Signed-off-by: Bill Erickson <berick@esilibrary.com>
11 years agoRip modal_xulG_stack out, replace with openDialog
Thomas Berezansky [Wed, 11 Apr 2012 23:53:48 +0000 (19:53 -0400)]
Rip modal_xulG_stack out, replace with openDialog

This converts the util/window.js open function to a wrapper around the
openDialog function and passes xulG in that way, as well as teaches
global_util.js to look for it having been passed in via the arguments
parameter on window.

The non-modal "push it into place" is still done as well, in case some
window isn't using global_util.js and needs xulG.

Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Signed-off-by: Bill Erickson <berick@esilibrary.com>
11 years agoStamping upgrade script for JEDI with Copies
Mike Rylander [Wed, 1 Aug 2012 19:17:59 +0000 (15:17 -0400)]
Stamping upgrade script for JEDI with Copies

Signed-off-by: Mike Rylander <mrylander@gmail.com>
11 years agoEDI ORDER template, now with copies
Bill Erickson [Fri, 27 Jul 2012 16:11:23 +0000 (12:11 -0400)]
EDI ORDER template, now with copies

Adds a new "copies" structure to the stock JEDI ORDER template.  Copies
are ultimately mapped into one or more GIR segments in the outbound EDI.
This commit only adds the change to the stock template (seed data).  It
also adds entries to the environment for the stock template and existing
template 23 via upgrade script (to expedite local template editing).

With the current template, GIR segments look like so:

GIR+001+8:LCO+TESTFUND2:LFN+SYS1-BR1:LLO+FIC ROW 456:LSM+Stacks:LSQ'
GIR+002+9:LCO+TESTFUND2:LFN+SYS1-BR1:LLO+FIC ROW 456:LSM+Stacks:LSQ'
GIR+003+10:LCO+TESTFUND2:LFN+SYS1-BR1:LLO+FIC ROW 456:LSM+Stacks:LSQ'
GIR+004+11:LCO+TESTFUND2:LFN+SYS1-BR1:LLO+FIC ROW 456:LSM+Stacks:LSQ'
GIR+005+12:LCO+TESTFUND2:LFN+SYS1-BR1:LLO+FIC ROW 456:LSM+Stacks:LSQ'
GIR+006+13:LCO+TESTFUND2:LFN+SYS1-BR2:LLO+FIC ROW 456:LSM+Young Adult:LSQ'
GIR+007+14:LCO+TESTFUND2:LFN+SYS1-BR2:LLO+FIC ROW 456:LSM+Young Adult:LSQ'
GIR+008+15:LCO+TESTFUND2:LFN+SYS1-BR2:LLO+FIC ROW 456:LSM+Young Adult:LSQ'

LQT / quantity is also supported.

The current implementation is meant to cover all possible fields so that
users can remove/alter items on a vendor by vendor basis as needed.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
11 years agoAdded debug-only option to edi_pusher.pl
Bill Erickson [Fri, 27 Jul 2012 15:11:25 +0000 (11:11 -0400)]
Added debug-only option to edi_pusher.pl

Option causes the final EDI to be printed to STDOUT, but does not
populate any data in the DB nor does it FTP the file to the vendor.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
11 years agoFeed JEDI to the EDI translator to get EDI, and vice versa.
Lebbeous Fogle-Weekley [Thu, 26 Jul 2012 14:17:06 +0000 (10:17 -0400)]
Feed JEDI to the EDI translator to get EDI, and vice versa.

Run this script as the opensrf user.

INPUT_IS_EDI=1 perl test_edi_translator.pl < blob.edi

-or-

perl test_edi_translator.pl < blob.jedi

Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
11 years agoWhitespace fixes in Collections.pm
Lebbeous Fogle-Weekley [Wed, 1 Aug 2012 18:51:39 +0000 (14:51 -0400)]
Whitespace fixes in Collections.pm

Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
11 years agoCollections user balance API / batch file output
Bill Erickson [Thu, 12 Apr 2012 15:44:44 +0000 (11:44 -0400)]
Collections user balance API / batch file output

New API open-ils.collections.user_balance_summary.generate,
which generates summary information on patron balance owed for all open
transactions that occurred at the requested location.  Optional flag
supports including per-xact summary information as well.  The summary
information is written to an XML file and placed in a protected, shared
web directory for download after the file has been generated.

During creation, the output file will have a .tmp suffix, allowing
clients to poll for file completion.

Includes a new opensrf.xml app_setting for open-ils.collections to
specifiy the batch file directory as well as a sample Apache config in
eg_vhost.conf

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
11 years agoFieldmapper toXML repairs and additions
Bill Erickson [Thu, 12 Apr 2012 15:07:10 +0000 (11:07 -0400)]
Fieldmapper toXML repairs and additions

1. Be sure the append the current element to the document in progress

2. Use the class hint instead of the fully qualified class_name (e.g.
Fielmapper::actor::user) to avoid XML errors:

namespace error : Failed to parse QName 'Fieldmapper:'

3. Added support for additional options including "no_virt" which tells
the routine to skip all virtual fields and "skip_fields" to support
leaving specific fields out of the output.  The main use case for skip
fields is au => ['passwd'], but other examples might include large
fields like bre => ['marc'].

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
11 years agoTeach Fieldmapper how to turn FM objects into simple XML
Mike Rylander [Tue, 10 Apr 2012 20:28:40 +0000 (16:28 -0400)]
Teach Fieldmapper how to turn FM objects into simple XML

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
11 years agoStamping upgrade script 0732
Lebbeous Fogle-Weekley [Wed, 1 Aug 2012 18:30:07 +0000 (14:30 -0400)]
Stamping upgrade script 0732

Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
11 years agoACQ unified search submit on enter (for real)
Bill Erickson [Wed, 1 Aug 2012 17:54:00 +0000 (13:54 -0400)]
ACQ unified search submit on enter (for real)

This replaces the old-style submit on enter handler which was based
attaching key handlers to the dijit domNode, which does not work for
filtering selects (i.e. more complicated dijits) w/ the dijit-sanctioned
dojo.connect(..., 'onkeyup', ...), which works regardless.  This also
covers more form input elements which were overlooked with the original
submit-on-enter code.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
11 years agoACQ invoice formatting improvements
Bill Erickson [Thu, 12 Jul 2012 19:26:50 +0000 (15:26 -0400)]
ACQ invoice formatting improvements

Prevent # invoiced and # paid inputs from wrapping.  Also, make the text
boxes a little smaller to reduce horizontal space requirements.  It's
still possible to enter any value, but only the 4 least significant
digits are visible.  Since it's not common to invoice 10k+ copies of the
same item, this seems like a fair trade off.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
11 years agoACQ invoice inline lineitem search and add
Bill Erickson [Tue, 10 Jul 2012 15:07:53 +0000 (11:07 -0400)]
ACQ invoice inline lineitem search and add

The Invoice UI is how composed of two tabs, the main invoice tab and a new
Search tab.  The search tab consists of a subset of the Acquisitions unified
search interface.  The goal is to allow users to search for lineitems to
invoice.  Search results may be added directly to the growing invoice.  A
number of small usability features are included.

Features
~~~~~~~~

    * Option (default) to limit searches to invoiceable items.
        ** These are lineitems that are not cancelled, have at least one
           invoiceable copy, linked to a PO whose provider matches that of the
           current invoice, and are not already linked to the current invoice.

    * Search defaults to last-run search (on workstation).
    * New Lineitem Detail filter options
    * Sort searches by lineitem number (default) and title.
    * There is a new Expected Cost field which includes both the total invoiced
      cost plus the anticipated cost of lineitems as they are added.
    * New Price per Copy field
    * Lineitem count field
    * Show / Hide Invoice details button.  Details are displayed by default, but
      hidden when the user enters the search tab.  From there it remains hidden
      until manually shown (or a new invoice is opened).
    * A new "Save & Clear" button which saves the current invoice then clears
      the invoice display to create a new invoice.
    * Provider, shipper, and receiver fields are auto-populated from the
      first-added invoice data (when not already set).
    * Totals are now read-only, since they are derived from existing data (and
      are informational only).

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
11 years agoEditPane setFieldValue method
Bill Erickson [Fri, 20 Jul 2012 17:53:35 +0000 (13:53 -0400)]
EditPane setFieldValue method

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>