]> git.evergreen-ils.org Git - working/Evergreen.git/log
working/Evergreen.git
12 years agoMerge branch 'master' of git.evergreen-ils.org:Evergreen into template-toolkit-opac
Mike Rylander [Sat, 14 May 2011 21:31:18 +0000 (17:31 -0400)]
Merge branch 'master' of git.evergreen-ils.org:Evergreen into template-toolkit-opac

12 years agoMore SVN to Git rigging
Thomas Berezansky [Sat, 14 May 2011 19:57:27 +0000 (15:57 -0400)]
More SVN to Git rigging

Staff client Makefile can no longer build based on SVN.

Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
12 years agoremove references to SVN now that we're using Git
Galen Charlton [Sat, 14 May 2011 20:19:36 +0000 (16:19 -0400)]
remove references to SVN now that we're using Git

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
12 years agoTrivial whitespace change
Galen Charlton [Sat, 14 May 2011 19:39:03 +0000 (15:39 -0400)]
Trivial whitespace change

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
12 years agoMerge branch 'master' of git+ssh://yeti.esilibrary.com/home/evergreen/evergreen-equin...
Mike Rylander [Sat, 14 May 2011 12:39:10 +0000 (08:39 -0400)]
Merge branch 'master' of git+ssh://yeti.esilibrary.com/home/evergreen/evergreen-equinox into template-toolkit-opac

12 years agoadd missing update script for change to circ age stored procedure
gmc [Fri, 13 May 2011 20:57:59 +0000 (20:57 +0000)]
add missing update script for change to circ age stored procedure

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
git-svn-id: svn://svn.open-ils.org/ILS/trunk@20475 dcc99617-32d9-48b4-a31d-7c20da2025e4

12 years agoMerge branch 'master' of git+ssh://yeti.esilibrary.com/home/evergreen/evergreen-equin...
Mike Rylander [Fri, 13 May 2011 17:33:52 +0000 (13:33 -0400)]
Merge branch 'master' of git+ssh://yeti.esilibrary.com/home/evergreen/evergreen-equinox into template-toolkit-opac

12 years agoPatch from Ben Ostrowsky (LP#782268) to simplify seed/example permission setup and...
miker [Fri, 13 May 2011 17:30:47 +0000 (17:30 +0000)]
Patch from Ben Ostrowsky (LP#782268) to simplify seed/example permission setup and move one step towards being able to rid ourselves of permission.perm_list.id

git-svn-id: svn://svn.open-ils.org/ILS/trunk@20473 dcc99617-32d9-48b4-a31d-7c20da2025e4

12 years agoMerge branch 'master' of git+ssh://yeti.esilibrary.com/home/evergreen/evergreen-equin...
Mike Rylander [Fri, 13 May 2011 17:20:12 +0000 (13:20 -0400)]
Merge branch 'master' of git+ssh://yeti.esilibrary.com/home/evergreen/evergreen-equinox into template-toolkit-opac

12 years agoA bevy of MFHD bug fixes (and test cases)
dbwells [Fri, 13 May 2011 16:01:04 +0000 (16:01 +0000)]
A bevy of MFHD bug fixes (and test cases)

1) Remove hard-coded 'gap' text from format_part()
2) Honor $ypm## for chron_to_date() for annuals
3) Removed overly simple check on $w as digit
4) Allow for combined chronologies other than 2nd level
5) Make calendar changes trump $u counts
6) Honor issue restarts at calendar changes
7) Rudimentary support of $u counts for non-restarting issue numbering
8) Special interpretation of $yps for early winters (i.e. winter is the first season of the calendar year)
9) Teach chron_to_date() about early winters

The last two points deserve some special attention.  A large number of journals consider 'Winter' to be the first season of the year, so Winter 2011 means (roughly) January 2011, not December 2011.  However, there is no explicit way to indicate this in the standard, and also the code relies in many ways on the fact that 24 (chronology code for winter) is greater than 21 (code for spring).  To work around this, we are interpreting a certain ambiguous pattern in a particular way.  Specifically, if you set $w to a digit, then set $y to 'ps24,21,22,23' (or some variation with '24' as the first value), you will get this winter-first behavior.  Also, the season is treated internally as '20' then converted to '24' when processing is completed.

git-svn-id: svn://svn.open-ils.org/ILS/trunk@20470 dcc99617-32d9-48b4-a31d-7c20da2025e4

12 years agofix query in various copy count functions
gmc [Fri, 13 May 2011 15:41:10 +0000 (15:41 +0000)]
fix query in various copy count functions

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
git-svn-id: svn://svn.open-ils.org/ILS/trunk@20468 dcc99617-32d9-48b4-a31d-7c20da2025e4

12 years agoMerge branch 'master' of git+ssh://yeti.esilibrary.com/home/evergreen/evergreen-equin...
Mike Rylander [Fri, 13 May 2011 15:30:21 +0000 (11:30 -0400)]
Merge branch 'master' of git+ssh://yeti.esilibrary.com/home/evergreen/evergreen-equinox into template-toolkit-opac

12 years agofor upgrade, let prefix and suffix in audit be null
gmc [Fri, 13 May 2011 13:25:27 +0000 (13:25 +0000)]
for upgrade, let prefix and suffix in audit be null

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
git-svn-id: svn://svn.open-ils.org/ILS/trunk@20466 dcc99617-32d9-48b4-a31d-7c20da2025e4

12 years agoadd affix columns to acn auditor table
gmc [Fri, 13 May 2011 13:07:59 +0000 (13:07 +0000)]
add affix columns to acn auditor table

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
git-svn-id: svn://svn.open-ils.org/ILS/trunk@20464 dcc99617-32d9-48b4-a31d-7c20da2025e4

12 years agoMerge branch 'master' of git+ssh://yeti.esilibrary.com/home/evergreen/evergreen-equin...
Mike Rylander [Thu, 12 May 2011 19:57:55 +0000 (15:57 -0400)]
Merge branch 'master' of git+ssh://yeti.esilibrary.com/home/evergreen/evergreen-equinox into template-toolkit-opac

12 years agoPatch from James Fournie addressing LP#781803: Multiple renewal fails on MAX_FINES...
miker [Thu, 12 May 2011 19:50:55 +0000 (19:50 +0000)]
Patch from James Fournie addressing LP#781803: Multiple renewal fails on MAX_FINES circs

git-svn-id: svn://svn.open-ils.org/ILS/trunk@20461 dcc99617-32d9-48b4-a31d-7c20da2025e4

12 years agoMerge branch 'master' of git+ssh://yeti.esilibrary.com/home/evergreen/evergreen-equin...
Mike Rylander [Thu, 12 May 2011 19:25:28 +0000 (15:25 -0400)]
Merge branch 'master' of git+ssh://yeti.esilibrary.com/home/evergreen/evergreen-equinox into template-toolkit-opac

12 years agoWrap proximity refreshing in a transaction to avoid timespans where there is no such...
miker [Thu, 12 May 2011 19:22:42 +0000 (19:22 +0000)]
Wrap proximity refreshing in a transaction to avoid timespans where there is no such information

git-svn-id: svn://svn.open-ils.org/ILS/trunk@20455 dcc99617-32d9-48b4-a31d-7c20da2025e4

12 years agoAddress LP#779975; Status of Available (0) not honored because 0==false -- use ternar...
miker [Thu, 12 May 2011 15:17:50 +0000 (15:17 +0000)]
Address LP#779975; Status of Available (0) not honored because 0==false -- use ternary op with defined() instead

git-svn-id: svn://svn.open-ils.org/ILS/trunk@20452 dcc99617-32d9-48b4-a31d-7c20da2025e4

12 years agoMerge branch 'template-toolkit-opac' of git+ssh://yeti.esilibrary.com/home/evergreen...
Mike Rylander [Thu, 12 May 2011 14:30:04 +0000 (10:30 -0400)]
Merge branch 'template-toolkit-opac' of git+ssh://yeti.esilibrary.com/home/evergreen/evergreen-equinox into template-toolkit-opac

12 years agoMerge branch 'master' of git+ssh://yeti.esilibrary.com/home/evergreen/evergreen-equin...
Mike Rylander [Thu, 12 May 2011 14:30:01 +0000 (10:30 -0400)]
Merge branch 'master' of git+ssh://yeti.esilibrary.com/home/evergreen/evergreen-equinox into template-toolkit-opac

12 years agoAdd missing permission checks to Serial.pm
dbwells [Thu, 12 May 2011 14:23:30 +0000 (14:23 +0000)]
Add missing permission checks to Serial.pm

git-svn-id: svn://svn.open-ils.org/ILS/trunk@20449 dcc99617-32d9-48b4-a31d-7c20da2025e4

12 years agoremove in-template fine-totaling: mod_perl code was already doing the same
senator [Thu, 12 May 2011 14:15:41 +0000 (10:15 -0400)]
remove in-template fine-totaling: mod_perl code was already doing the same

also:
    make that fine-totaling not use floating point math.
    don't provide payment form for <= 0 totals (we're not issuing refunds)
    last copyright date in footer always current year, not hardcoded

12 years agosupport paying all fines at once
senator [Wed, 11 May 2011 21:45:58 +0000 (17:45 -0400)]
support paying all fines at once

12 years agoPayment for mostly done. Still needs:
senator [Wed, 11 May 2011 20:02:12 +0000 (16:02 -0400)]
Payment for mostly done. Still needs:

1) to be able to handle the upper "Pay Fines" button that will mean "all
my fines"

2) to use fixed point fine totaling math and bail on total <= 0

3) ... anything else?

12 years agostart on cc payments
senator [Tue, 10 May 2011 21:54:59 +0000 (17:54 -0400)]
start on cc payments

12 years agoFix an ugly grey bar in the record detail page
senator [Tue, 10 May 2011 16:38:56 +0000 (12:38 -0400)]
Fix an ugly grey bar in the record detail page

I have no idea what caused this or why this css adjustments fixes the
problem

12 years agoBetter redirect from place_hold
senator [Tue, 10 May 2011 14:28:55 +0000 (10:28 -0400)]
Better redirect from place_hold

Before this, if you click place hold on something while not logged in,
you are redirected to the login page, which is good, and redirected
thence to the place hold page, which is good. But after actually
placing the hold you got redirected to the login page again, which is
not good.  Now you get sent back to the home page.

This may not be the ideal choice.  myopac/main may make more sense.
Also, there is still not any clear visual feedback for the user that
their hold placement succeeded.  That'll need to be addressed too.

12 years agoMerge branch 'template-toolkit-opac' of git+ssh://yeti.esilibrary.com/home/evergreen...
Mike Rylander [Mon, 9 May 2011 19:21:56 +0000 (15:21 -0400)]
Merge branch 'template-toolkit-opac' of git+ssh://yeti.esilibrary.com/home/evergreen/evergreen-equinox into template-toolkit-opac

12 years agoMerge branch 'master' of git+ssh://yeti.esilibrary.com/home/evergreen/evergreen-equin...
Mike Rylander [Mon, 9 May 2011 19:21:52 +0000 (15:21 -0400)]
Merge branch 'master' of git+ssh://yeti.esilibrary.com/home/evergreen/evergreen-equinox into template-toolkit-opac

12 years agoMerge branch 'template-toolkit-opac' of ssh://yeti.esilibrary.com/home/evergreen...
senator [Mon, 9 May 2011 19:01:56 +0000 (15:01 -0400)]
Merge branch 'template-toolkit-opac' of ssh://yeti.esilibrary.com/home/evergreen/evergreen-equinox into template-toolkit-opac

12 years agoserial issue display and holds work
senator [Mon, 9 May 2011 19:01:41 +0000 (15:01 -0400)]
serial issue display and holds work

12 years agoInvoice from LI seeds invoice data
erickson [Mon, 9 May 2011 18:27:42 +0000 (18:27 +0000)]
Invoice from LI seeds invoice data

    * When creating a new invoice from a lineitem, seed the invoice with
        provider data from the lineitem.
    * Make money textbox's a little larger to accommodate larger sums
        without scrolling
    * Truncate long titles in lineitem summary view

git-svn-id: svn://svn.open-ils.org/ILS/trunk@20448 dcc99617-32d9-48b4-a31d-7c20da2025e4

12 years agoMerge branch 'master' of git+ssh://yeti.esilibrary.com/home/evergreen/evergreen-equin...
Mike Rylander [Sat, 7 May 2011 13:13:35 +0000 (09:13 -0400)]
Merge branch 'master' of git+ssh://yeti.esilibrary.com/home/evergreen/evergreen-equinox into template-toolkit-opac

12 years agoMisc updates to installer rigging
phasefx [Fri, 6 May 2011 19:41:00 +0000 (19:41 +0000)]
Misc updates to installer rigging

Fewer spurious errors (extras.nsi, MUI_TEXT)
More checks (makensis, unzip, branding)
Slightly improved Welcome screen

Author: Thomas Berezansky <tsbere@mvlc.org>
Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Signed-off-by: Jason Etheridge <jason@esilibrary.com>
git-svn-id: svn://svn.open-ils.org/ILS/trunk@20446 dcc99617-32d9-48b4-a31d-7c20da2025e4

12 years agoMerge branch 'master' of git+ssh://yeti.esilibrary.com/home/evergreen/evergreen-equin...
Mike Rylander [Fri, 6 May 2011 12:52:28 +0000 (08:52 -0400)]
Merge branch 'master' of git+ssh://yeti.esilibrary.com/home/evergreen/evergreen-equinox into template-toolkit-opac

12 years agobump xulrunner version
phasefx [Fri, 6 May 2011 03:17:08 +0000 (03:17 +0000)]
bump xulrunner version

git-svn-id: svn://svn.open-ils.org/ILS/trunk@20443 dcc99617-32d9-48b4-a31d-7c20da2025e4

12 years agoMerge branch 'master' of git+ssh://yeti.esilibrary.com/home/evergreen/evergreen-equin...
Mike Rylander [Thu, 5 May 2011 19:31:46 +0000 (15:31 -0400)]
Merge branch 'master' of git+ssh://yeti.esilibrary.com/home/evergreen/evergreen-equinox into template-toolkit-opac

12 years agoUse valid JSON in Dojo i18n for Searcher.js
dbs [Thu, 5 May 2011 18:38:36 +0000 (18:38 +0000)]
Use valid JSON in Dojo i18n for Searcher.js

Dojo i18n processing scripts require valid JSON (quoted keys in hashes),
even though Dojo itself is more relaxed and accepts unquoted keys. So,
do the i18n dance here.

Signed-off-by: Dan Scott <dscott@laurentian.ca>
git-svn-id: svn://svn.open-ils.org/ILS/trunk@20437 dcc99617-32d9-48b4-a31d-7c20da2025e4

12 years agoMerge branch 'master' of git+ssh://yeti.esilibrary.com/home/evergreen/evergreen-equin...
Mike Rylander [Thu, 5 May 2011 18:11:39 +0000 (14:11 -0400)]
Merge branch 'master' of git+ssh://yeti.esilibrary.com/home/evergreen/evergreen-equinox into template-toolkit-opac

12 years agoFix typo introduced in r20425
senator [Thu, 5 May 2011 17:24:47 +0000 (17:24 +0000)]
Fix typo introduced in r20425

git-svn-id: svn://svn.open-ils.org/ILS/trunk@20431 dcc99617-32d9-48b4-a31d-7c20da2025e4

12 years agoPatch from Niles Ingalls to make patron phone number searching more matchy.
senator [Thu, 5 May 2011 16:40:08 +0000 (16:40 +0000)]
Patch from Niles Ingalls to make patron phone number searching more matchy.
With assistance from Mike Rylander on pointing out the needed indexes to keep
search fast, and from Mike Peters on arranging a last minute DCO :-)

Type numbers into a patron phone number field and get a match regardless of
the punctuation actually used in the database.

git-svn-id: svn://svn.open-ils.org/ILS/trunk@20429 dcc99617-32d9-48b4-a31d-7c20da2025e4

12 years agoPatch from Thomas Berezansky to do the following:
senator [Thu, 5 May 2011 16:35:59 +0000 (16:35 +0000)]
Patch from Thomas Berezansky to do the following:
    Add more "click to copy" fields

    User's Name
    All three phone numbers

    Also fix issue where tooltip didn't clear when re-opening search form

Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
git-svn-id: svn://svn.open-ils.org/ILS/trunk@20427 dcc99617-32d9-48b4-a31d-7c20da2025e4

12 years agoAdd a feature authored by Joscha Filius for the International Institue of
senator [Thu, 5 May 2011 15:42:00 +0000 (15:42 +0000)]
Add a feature authored by Joscha Filius for the International Institue of
Social History: a diacritical palette for the MARC editor!

Afelonne Doek of IISH wants the community to benefit from this code.  To try
it out, press control S in the marc editor (reguarly non-flat-text view).

You can insert the characters you see, and you can right click on entries in
your palette to customize.  Customizations /should/ persist through staff client
restart (untested by me so far).

This should make cataloging in multiple (Western-ish) languages at once easier.

Below I copy and paste some of Joscha's message to the list where he introduced
this code:

> *Bugs:*
> A known bug is that is you switch marc edit styles back and forth the
> listener trigger won't work anymore. Also for a far as I know there is at
> least another bug concerning layout which is as far as I know not the result
> of my doing.
>
> *Here comes a possibly nasty part*, to ensure that the diacriticals remain
> intact throughout the persist I've changed global_util.js to URL encode and
> URL decode all stored values. This might cause backwards incompatibility
> with values that are already stored for other purposes without encoding.
> This needs to be checked.

git-svn-id: svn://svn.open-ils.org/ILS/trunk@20425 dcc99617-32d9-48b4-a31d-7c20da2025e4

12 years agoMerge branch 'master' of git+ssh://yeti.esilibrary.com/home/evergreen/evergreen-equin...
Mike Rylander [Thu, 5 May 2011 13:48:41 +0000 (09:48 -0400)]
Merge branch 'master' of git+ssh://yeti.esilibrary.com/home/evergreen/evergreen-equinox into template-toolkit-opac

12 years agoRemove redundant plpgsql install step from README
dbs [Thu, 5 May 2011 04:39:44 +0000 (04:39 +0000)]
Remove redundant plpgsql install step from README

PostgreSQL 9.0 includes plpgsql by default, and running the
createlang plpgsql step throws an error that could concern
the installer. Drop the step from the README.

Signed-off-by: Dan Scott <dan@coffeecode.net>
git-svn-id: svn://svn.open-ils.org/ILS/trunk@20423 dcc99617-32d9-48b4-a31d-7c20da2025e4

12 years agoMerge branch 'master' of git+ssh://yeti.esilibrary.com/home/evergreen/evergreen-equin...
Mike Rylander [Thu, 5 May 2011 00:01:42 +0000 (20:01 -0400)]
Merge branch 'master' of git+ssh://yeti.esilibrary.com/home/evergreen/evergreen-equinox into template-toolkit-opac

12 years agoPatch from James Fournie improving due-date-editor usability by auto-checking the...
miker [Wed, 4 May 2011 18:00:49 +0000 (18:00 +0000)]
Patch from James Fournie improving due-date-editor usability by auto-checking the check box; LP#70956965

git-svn-id: svn://svn.open-ils.org/ILS/trunk@20420 dcc99617-32d9-48b4-a31d-7c20da2025e4

12 years agoPatch from Jason Boyer swapping the order of report and template name in emailed...
miker [Wed, 4 May 2011 17:47:20 +0000 (17:47 +0000)]
Patch from Jason Boyer swapping the order of report and template name in emailed notices; LP#777273

git-svn-id: svn://svn.open-ils.org/ILS/trunk@20417 dcc99617-32d9-48b4-a31d-7c20da2025e4

12 years agoMerge branch 'template-toolkit-opac' of git+ssh://yeti.esilibrary.com/home/evergreen...
Mike Rylander [Wed, 4 May 2011 15:54:01 +0000 (11:54 -0400)]
Merge branch 'template-toolkit-opac' of git+ssh://yeti.esilibrary.com/home/evergreen/evergreen-equinox into template-toolkit-opac

12 years agoMerge branch 'master' of git+ssh://yeti.esilibrary.com/home/evergreen/evergreen-equin...
Mike Rylander [Wed, 4 May 2011 15:53:59 +0000 (11:53 -0400)]
Merge branch 'master' of git+ssh://yeti.esilibrary.com/home/evergreen/evergreen-equinox into template-toolkit-opac

12 years agodebugging aid
phasefx [Wed, 4 May 2011 13:48:56 +0000 (13:48 +0000)]
debugging aid

git-svn-id: svn://svn.open-ils.org/ILS/trunk@20414 dcc99617-32d9-48b4-a31d-7c20da2025e4

12 years agoinclude these so we can get proper line numbers when debugging
phasefx [Wed, 4 May 2011 13:48:51 +0000 (13:48 +0000)]
include these so we can get proper line numbers when debugging

git-svn-id: svn://svn.open-ils.org/ILS/trunk@20413 dcc99617-32d9-48b4-a31d-7c20da2025e4

12 years agoFix some Serial Control text boxes which were too small to use effectively.
dbwells [Wed, 4 May 2011 13:48:20 +0000 (13:48 +0000)]
Fix some Serial Control text boxes which were too small to use effectively.

git-svn-id: svn://svn.open-ils.org/ILS/trunk@20412 dcc99617-32d9-48b4-a31d-7c20da2025e4

12 years agoremoved unnecessary kcls record summary template file override
berick [Wed, 4 May 2011 13:11:02 +0000 (09:11 -0400)]
removed unnecessary kcls record summary template file override

12 years agoMerge remote branch 'dbs-git/dbs/tt-htmlcleanup' into template-toolkit-opac
berick [Wed, 4 May 2011 13:06:23 +0000 (09:06 -0400)]
Merge remote branch 'dbs-git/dbs/tt-htmlcleanup' into template-toolkit-opac

12 years agoMerge branch 'master' of git+ssh://yeti.esilibrary.com/home/evergreen/evergreen-equin...
Mike Rylander [Wed, 4 May 2011 05:30:53 +0000 (01:30 -0400)]
Merge branch 'master' of git+ssh://yeti.esilibrary.com/home/evergreen/evergreen-equinox into template-toolkit-opac

12 years agoOnly pass the label to the CN browse search API, that is all we care about for the key
miker [Wed, 4 May 2011 05:29:32 +0000 (05:29 +0000)]
Only pass the label to the CN browse search API, that is all we care about for the key

git-svn-id: svn://svn.open-ils.org/ILS/trunk@20410 dcc99617-32d9-48b4-a31d-7c20da2025e4

12 years agoCollaboration patch from Joseph Lewis and Michael Peters addressing LP#758007, missin...
miker [Wed, 4 May 2011 05:13:02 +0000 (05:13 +0000)]
Collaboration patch from Joseph Lewis and Michael Peters addressing LP#758007, missing patron merge OU settings.

git-svn-id: svn://svn.open-ils.org/ILS/trunk@20407 dcc99617-32d9-48b4-a31d-7c20da2025e4

12 years agoCollaboration patch from Joseph Lewis and Michael Peters addressing LP#758007, missin...
miker [Wed, 4 May 2011 05:12:10 +0000 (05:12 +0000)]
Collaboration patch from Joseph Lewis and Michael Peters addressing LP#758007, missing patron merge OU settings.

git-svn-id: svn://svn.open-ils.org/ILS/trunk@20406 dcc99617-32d9-48b4-a31d-7c20da2025e4

12 years agoAddressing LP#732681 at upgrade time -- make authority records useful for controlling...
miker [Wed, 4 May 2011 05:01:04 +0000 (05:01 +0000)]
Addressing LP#732681 at upgrade time -- make authority records useful for controlling bibs

git-svn-id: svn://svn.open-ils.org/ILS/trunk@20405 dcc99617-32d9-48b4-a31d-7c20da2025e4

12 years agoInitial fix from Michael Peters addressing small-screen UI issues: LP#767507
miker [Wed, 4 May 2011 04:54:09 +0000 (04:54 +0000)]
Initial fix from Michael Peters addressing small-screen UI issues: LP#767507

git-svn-id: svn://svn.open-ils.org/ILS/trunk@20400 dcc99617-32d9-48b4-a31d-7c20da2025e4

12 years agoChange an ERROR to a DEBUG log message in mod_idlchunk
dbs [Wed, 4 May 2011 04:43:06 +0000 (04:43 +0000)]
Change an ERROR to a DEBUG log message in mod_idlchunk

Reported by James Fournie at Sitka, this message was logged
as an error when it is simply a debug message; we drop the
level accordingly so that it will not appear in the Apache
logs during the normal course of operations.

Signed-off-by: Dan Scott <dan@coffeecode.net>
git-svn-id: svn://svn.open-ils.org/ILS/trunk@20397 dcc99617-32d9-48b4-a31d-7c20da2025e4

12 years agoPatch from Michael Peters to protect cut-in-line holds from staff without the appropr...
miker [Wed, 4 May 2011 04:40:16 +0000 (04:40 +0000)]
Patch from Michael Peters to protect cut-in-line holds from staff without the appropriate permission

git-svn-id: svn://svn.open-ils.org/ILS/trunk@20394 dcc99617-32d9-48b4-a31d-7c20da2025e4

12 years agoPatch from Ben Ostrowsky addressing button order: LP#754660
miker [Wed, 4 May 2011 04:31:06 +0000 (04:31 +0000)]
Patch from Ben Ostrowsky addressing button order: LP#754660

git-svn-id: svn://svn.open-ils.org/ILS/trunk@20392 dcc99617-32d9-48b4-a31d-7c20da2025e4

12 years agoPrevent uninitialized var warnings in OpenILS::WWW::SuperCat::unapi
dbs [Wed, 4 May 2011 03:46:27 +0000 (03:46 +0000)]
Prevent uninitialized var warnings in OpenILS::WWW::SuperCat::unapi

Given a tag URI like tag:localhost,2011:biblio-record_entry/1 with
no format, Evergreen was throwing uninitialized variable warnings
and attempting to invoke "open-ils.supercat..formats" due to the
unitialized $type variable, which resulted in an Apache error.

On the TT OPAC, this enables Zotero to successfully offer import
of all entries on the search results page. On the AjaxPAC, it seems
that Zotero parses the page before the unAPI hrefs have been supplied
by JavaScript.

Signed-off-by: Dan Scott <dan@coffeecode.net>
git-svn-id: svn://svn.open-ils.org/ILS/trunk@20390 dcc99617-32d9-48b4-a31d-7c20da2025e4

12 years agoClean up the rest of the non-entity ampersands in URLs
Dan Scott [Wed, 4 May 2011 02:32:34 +0000 (22:32 -0400)]
Clean up the rest of the non-entity ampersands in URLs

Continue the global change to entity ampersands in URLs
in the TT OPAC. This should be the last of it.

Signed-off-by: Dan Scott <dan@coffeecode.net>
12 years agoAvoid empty ID attribute in SELECT element
Dan Scott [Wed, 4 May 2011 00:51:44 +0000 (20:51 -0400)]
Avoid empty ID attribute in SELECT element

The current code appears to always generate an empty id="" attribute,
as the "id" variable never gets populated. For now, protect against
the empty ID attribute.

Signed-off-by: Dan Scott <dan@coffeecode.net>
12 years agoHTML compliance in result table
Dan Scott [Wed, 4 May 2011 00:42:16 +0000 (20:42 -0400)]
HTML compliance in result table

Convert & to &amp; in URLs, and change a SPAN element to a DIV
(because SPAN elements are not allowed to contain block-level
elements like DIV and TABLE).

Signed-off-by: Dan Scott <dan@coffeecode.net>
12 years agoMerge branch 'master' of git+ssh://yeti.esilibrary.com/home/evergreen/evergreen-equin...
Mike Rylander [Tue, 3 May 2011 22:04:45 +0000 (18:04 -0400)]
Merge branch 'master' of git+ssh://yeti.esilibrary.com/home/evergreen/evergreen-equinox into template-toolkit-opac

12 years agoLess aggressive URL encoding
Dan Scott [Tue, 3 May 2011 21:08:59 +0000 (17:08 -0400)]
Less aggressive URL encoding

We were double-encoding URIs, as the url and uri filters in
TT happily encode % - which is fine the first time around,
but after you've already escaped everything as %nn the propagator
was serving it back to url to be escaped again on the following
page request.

The right way to do this might be to unescape the incoming query
string, then pass it on to url for escaping again - but for now,
using the entity version of & is good enough to begin with.

Signed-off-by: Dan Scott <dan@coffeecode.net>
12 years agoEnsure ampersands in URLs are &amp; per HTML spec
Dan Scott [Tue, 3 May 2011 20:48:48 +0000 (16:48 -0400)]
Ensure ampersands in URLs are &amp; per HTML spec

The propagator variable defined in parts/header.tt2 holds the value
of the CGI query string - which, as it comes off the wire, is a simple
"&". The problem with this is perhaps best explained at
http://www.htmlhelp.com/tools/validator/problems.html#amp (and it
explains why "&copy_..." gets converted into a copyright symbol).

By passing the incoming query string through the TT url filter and
then replacing "&" with "&amp;" we avoid this problem at the source.
From there, we have to address the other locations in the code in
which we are manually appending GET variables.

Signed-off-by: Dan Scott <dan@coffeecode.net>
12 years agoFix unclosed quoted attribute in TT OPAC footer
Dan Scott [Tue, 3 May 2011 20:17:56 +0000 (16:17 -0400)]
Fix unclosed quoted attribute in TT OPAC footer

Forgot to place the closing attribute quote on the footer image.

Signed-off-by: Dan Scott <dan@coffeecode.net>
12 years agoFix typo in fm_IDL.xml
dbs [Tue, 3 May 2011 16:54:44 +0000 (16:54 +0000)]
Fix typo in fm_IDL.xml

"oils_persist" namespace was missing an "s" in one instance, preventing
autogen.sh from running.

Bug reported by Thomas Berezansky.

Signed-off-by: Dan Scott <dscott@laurentian.ca>
git-svn-id: svn://svn.open-ils.org/ILS/trunk@20388 dcc99617-32d9-48b4-a31d-7c20da2025e4

12 years agoAvoid data loss by setting MARC::Charset->assume_unicode(1)
dbs [Tue, 3 May 2011 16:29:16 +0000 (16:29 +0000)]
Avoid data loss by setting MARC::Charset->assume_unicode(1)

When using MARC::File::XML, MARC::Charset is used to perform character
conversions; however, MARC::File::XML does not tell MARC::Charset that it is
handling Unicode data. If we do not tell MARC::Charset that it is handling
Unicode data, it can return an error which results in the loss of data
(typically a subfield containing one or more characters which MARC::Charset
does not have an equivalent mapping outside of Unicode).

This problem could be reproduced in authority_control_fields.pl with a
subfield like "von Hans-Christian Müơller" - when this subfield was encountered
without assume_unicode(1), a null string was returned for that subfield, and
if the record was written back to the database due to an authority match being
found in a different field, the only recourse was to restore the record from
auditor.biblio_record_entry_history. The same sort of problems could occur
for any other script or function that modifies the data being handed to it
using MARC::File::XML and BinaryEncoding => UTF8.

Signed-off-by: Dan Scott <dscott@laurentian.ca>
git-svn-id: svn://svn.open-ils.org/ILS/trunk@20385 dcc99617-32d9-48b4-a31d-7c20da2025e4

12 years agoMerge branch 'master' of git+ssh://yeti.esilibrary.com/home/evergreen/evergreen-equin...
Mike Rylander [Tue, 3 May 2011 15:11:02 +0000 (11:11 -0400)]
Merge branch 'master' of git+ssh://yeti.esilibrary.com/home/evergreen/evergreen-equinox into template-toolkit-opac

12 years agoFollowup patch to the first listed in https://bugs.launchpad.net/evergreen/+bug/745123
miker [Tue, 3 May 2011 15:03:59 +0000 (15:03 +0000)]
Followup patch to the first listed in https://bugs.launchpad.net/evergreen/+bug/745123

git-svn-id: svn://svn.open-ils.org/ILS/trunk@20382 dcc99617-32d9-48b4-a31d-7c20da2025e4

12 years agoPatch from Jason Stephenson ( LP#770261, https://bugs.launchpad.net/evergreen/+bug...
miker [Tue, 3 May 2011 14:55:37 +0000 (14:55 +0000)]
Patch from Jason Stephenson ( LP#770261, https://bugs.launchpad.net/evergreen/+bug/770261 ) adding support for bibliographic level inspection in the hold and circ matrix matchpoint tests.

git-svn-id: svn://svn.open-ils.org/ILS/trunk@20380 dcc99617-32d9-48b4-a31d-7c20da2025e4

12 years agoMerge branch 'master' of git+ssh://yeti.esilibrary.com/home/evergreen/evergreen-equin...
Mike Rylander [Tue, 3 May 2011 13:31:54 +0000 (09:31 -0400)]
Merge branch 'master' of git+ssh://yeti.esilibrary.com/home/evergreen/evergreen-equinox into template-toolkit-opac

12 years agoAdd support for sre/distribution summary methods (including merge), advanced receivin...
dbwells [Mon, 2 May 2011 20:57:01 +0000 (20:57 +0000)]
Add support for sre/distribution summary methods (including merge), advanced receiving, and unit-less receiving in the serial control items tab

This commit includes three new minor features for the Serial Control interface.  First, you are now able to set the latent 'summary_method' field on distributions, with the most significant new setting being 'merge with sre'.  This setting effectively combines the sre marc with the generated holdings to form a single unified statement.  Second, the previous 'receive' functionality has been renamed to 'advanced receive', and 'receive' will now show items from an entire subscription, but not allow you to receive directly into a specific unit (you can still receive into new/auto units).  Third, a basic menu entry has been added for receving into 'no unit', allowing items to be received not forcing them to be unitized.

git-svn-id: svn://svn.open-ils.org/ILS/trunk@20378 dcc99617-32d9-48b4-a31d-7c20da2025e4

12 years agoMerge branch 'master' of git+ssh://yeti.esilibrary.com/home/evergreen/evergreen-equin...
Mike Rylander [Mon, 2 May 2011 18:56:55 +0000 (14:56 -0400)]
Merge branch 'master' of git+ssh://yeti.esilibrary.com/home/evergreen/evergreen-equinox into template-toolkit-opac

12 years agodebian backports url changed. updated install docs in README to match
erickson [Mon, 2 May 2011 15:50:59 +0000 (15:50 +0000)]
debian backports url changed.  updated install docs in README to match

git-svn-id: svn://svn.open-ils.org/ILS/trunk@20376 dcc99617-32d9-48b4-a31d-7c20da2025e4

12 years agoflesh stat_cat_entries in the call number tree method used by Holdings Maintenance...
phasefx [Mon, 2 May 2011 15:04:54 +0000 (15:04 +0000)]
flesh stat_cat_entries in the call number tree method used by Holdings Maintenance, since those copies get shoved into the copy editor and we want stat cat entries to show up there

git-svn-id: svn://svn.open-ils.org/ILS/trunk@20374 dcc99617-32d9-48b4-a31d-7c20da2025e4

12 years agoFix bug and typo in stat cat editor
phasefx [Mon, 2 May 2011 14:05:56 +0000 (14:05 +0000)]
Fix bug and typo in stat cat editor

Specifically, disabling the ability to select a stat cat type on no permissions on current type.

If you don't have permissions on ASSET you could never get to ACTOR.

If you picked ACTOR without rights you couldn't get back to ASSET.

Also, re-enable the library selector and new buttons when you do change to one you can add for.

Author: Thomas Berezansky <tsbere@mvlc.org>
Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Signed-off-by: Jason Etheridge <jason@esilibrary.com>
git-svn-id: svn://svn.open-ils.org/ILS/trunk@20371 dcc99617-32d9-48b4-a31d-7c20da2025e4

12 years agofix "undefined is in transit"
phasefx [Mon, 2 May 2011 13:20:40 +0000 (13:20 +0000)]
fix "undefined is in transit"
https://bugs.launchpad.net/evergreen/+bug/773528
---

Fix bug squashing of params in checkin_via_barcode2 in circ/util.js.

Author: Jason Stephenson <jstephenson@mvlc.org>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
Signed-off-by: Jason Etheridge <jason@esilibrary.com>
git-svn-id: svn://svn.open-ils.org/ILS/trunk@20368 dcc99617-32d9-48b4-a31d-7c20da2025e4

12 years agoDebrand the KCLS-specific hint about Library Elf in prefs settings
Dan Scott [Mon, 2 May 2011 13:18:35 +0000 (09:18 -0400)]
Debrand the KCLS-specific hint about Library Elf in prefs settings

Even though prefs settings are not yet exposed, we can turn the
KCLS-specific comment into a brandable "hints" section in prefs
settings.

Signed-off-by: Dan Scott <dan@coffeecode.net>
12 years agoMake refund policy for lost items a branding option
Dan Scott [Mon, 2 May 2011 12:33:54 +0000 (08:33 -0400)]
Make refund policy for lost items a branding option

Different sites will have different policies for refunds
on lost items (and might not even provide refunds for lost
items, for that matter), so break out that policy description
into its own template and provide a KCLS-specific version of
it.

Signed-off-by: Dan Scott <dbs@coffeecode.net>
12 years agoDebrand lowhits purchase request reference to KCLS
Dan Scott [Mon, 2 May 2011 12:23:34 +0000 (08:23 -0400)]
Debrand lowhits purchase request reference to KCLS

While we break this out to a separate template, perhaps we
could pull the library name from context instead of having
it hardcoded. It will probably depend on each instance, ergo
hardcoding the generic "your library" for now should be fine.

Signed-off-by: Dan Scott <dbs@coffeecode.net>
12 years agoMerge branch 'opac-tt-poc' into dbs/tt-opac-debrand
Dan Scott [Mon, 2 May 2011 11:37:48 +0000 (07:37 -0400)]
Merge branch 'opac-tt-poc' into dbs/tt-opac-debrand

Conflicts:
Open-ILS/web/templates/default/opac/parts/result/table.tt2

12 years agoMerge branch 'opac-tt-poc' of git+ssh://yeti.esilibrary.com/home/evergreen/evergreen...
Mike Rylander [Mon, 2 May 2011 03:40:04 +0000 (23:40 -0400)]
Merge branch 'opac-tt-poc' of git+ssh://yeti.esilibrary.com/home/evergreen/evergreen-equinox into opac-tt-poc

12 years agoMerge branch 'master' of git+ssh://yeti.esilibrary.com/home/evergreen/evergreen-equin...
Mike Rylander [Mon, 2 May 2011 03:40:03 +0000 (23:40 -0400)]
Merge branch 'master' of git+ssh://yeti.esilibrary.com/home/evergreen/evergreen-equinox into opac-tt-poc

12 years agoPull call number from XML holdings, not MARC record
Dan Scott [Mon, 2 May 2011 02:06:50 +0000 (22:06 -0400)]
Pull call number from XML holdings, not MARC record

KCLS uses call numbers in the MARC record, but most other sites
use the call numbers from asset.call_number. For now, just display
the first returned call number; eventually the display will probably
need to be adjusted to handle call number / shelving location / library
/ status like the current AjaxPAC does.

Also note that ##URI## call numbers should be filtered out but are
not yet.

Signed-off-by: Dan Scott <dan@coffeecode.net>
12 years agoDebrand the login form
Dan Scott [Mon, 2 May 2011 01:25:38 +0000 (21:25 -0400)]
Debrand the login form

Breaking the password hint and login help sections out into
separate templates enables sites to adjust the hint and
login help links without touching the rest of the interface.

Signed-off-by: Dan Scott <dbs@coffeecode.net>
12 years agoDebrand the OPAC footer, home page, and topnav links
Dan Scott [Sun, 1 May 2011 23:02:27 +0000 (19:02 -0400)]
Debrand the OPAC footer, home page, and topnav links

Restore the copyright message and Powered by Evergreen logo
in the footer, and provide obvious example links instead of
the KCLS-specific links.

Also, replace the KCLS home page with the main Evergreen logo.

Signed-off-by: Dan Scott <dan@coffeecode.net>
12 years agoCreate a templates_kcls to hold KCLS branding of TT OPAC
Dan Scott [Sun, 1 May 2011 20:57:01 +0000 (16:57 -0400)]
Create a templates_kcls to hold KCLS branding of TT OPAC

The debranding of the TT OPAC begins with the top navigation.
  * Replace the KCLS logo with the Evergreen logo (even though
    white background on black doesn't look great, it's something)
  * Replace the KCLS specific top links with example links.
  * Split the logo and the links sections out into separate
    templates so that we can maximize commonality of the
    topnav.tt2 template.

For now, all files containing the string 'kcls' have been
copied into the templates_kcls directory. As we move through
the templates, we may refactor them in similar to how we just
refactored topnav.tt2.

Signed-off-by: Dan Scott <dbs@coffeecode.net>
12 years agoInternationalize more of the TT OPAC (records and results)
Dan Scott [Sun, 1 May 2011 17:05:06 +0000 (13:05 -0400)]
Internationalize more of the TT OPAC (records and results)

There are a number of hardcoded strings remaining in the TT OPAC.
This is just some of the lowhanging fruit; more work needs to be
done on the more complex cases involving HTML and placeholders.

Signed-off-by: Dan Scott <dan@coffeecode.net>
Signed-off-by: berick <berick@esilibrary.com>
12 years agoEnable unAPI support in TT OPAC
Dan Scott [Sun, 1 May 2011 15:55:11 +0000 (11:55 -0400)]
Enable unAPI support in TT OPAC

We have enough information available from the context and date
plugin to construct valid unAPI IDs - so let's do it and take
one more XXX off the table. (This is good for Zotero support!)

Sadly, Zotero doesn't seem to recognize more than one unAPI
ID on the search results page; in theory it should give the
user the ability to add all of the search results at once,
but in practice it doesn't display anything.

At the same time, we can remove the duplicate unAPI placeholders
and remove unnecessary <span> elements.

Signed-off-by: Dan Scott <dan@coffeecode.net>
Signed-off-by: berick <berick@esilibrary.com>
12 years agoContentCafe summary of avaible item content
erickson [Sun, 1 May 2011 15:29:39 +0000 (15:29 +0000)]
ContentCafe summary of avaible item content

Added "available_json" support for Content Cafe.  Returns and array of
available content for a given item, where the content type is mapped to
one of the Evergreen standard added content types, e.g. "summary",
"anotes", "reviews", ...

git-svn-id: svn://svn.open-ils.org/ILS/trunk@20367 dcc99617-32d9-48b4-a31d-7c20da2025e4

12 years agoContentCafe summary of avaible item content
erickson [Sun, 1 May 2011 15:29:39 +0000 (15:29 +0000)]
ContentCafe summary of avaible item content

Added "available_json" support for Content Cafe.  Returns and array of
available content for a given item, where the content type is mapped to
one of the Evergreen standard added content types, e.g. "summary",
"anotes", "reviews", ...

git-svn-id: svn://svn.open-ils.org/ILS/trunk@20367 dcc99617-32d9-48b4-a31d-7c20da2025e4

12 years agoMerge branch 'master' of git+ssh://yeti.esilibrary.com/home/evergreen/evergreen-equin...
berick [Sun, 1 May 2011 14:33:34 +0000 (10:33 -0400)]
Merge branch 'master' of git+ssh://yeti.esilibrary.com/home/evergreen/evergreen-equinox into opac-tt-poc