]> git.evergreen-ils.org Git - Evergreen.git/log
Evergreen.git
13 years agomore holds work; added item form/type/lang maps to list of public access classes...
Bill Erickson [Thu, 27 Jan 2011 19:55:44 +0000 (14:55 -0500)]
more holds work; added item form/type/lang maps to list of public access classes; removed some unused test tempates

13 years agoMerge branch 'opac-tt-poc' of ssh://senator@yeti.esilibrary.com/home/evergreen/evergr...
senator [Thu, 27 Jan 2011 17:37:04 +0000 (12:37 -0500)]
Merge branch 'opac-tt-poc' of ssh://senator@yeti.esilibrary.com/home/evergreen/evergreen-equinox into opac-tt-poc

13 years agofines summary
senator [Thu, 27 Jan 2011 17:36:52 +0000 (12:36 -0500)]
fines summary

13 years agoMerge branch 'master' of git+ssh://yeti.esilibrary.com/home/evergreen/evergreen-equin...
Bill Erickson [Thu, 27 Jan 2011 17:11:03 +0000 (12:11 -0500)]
Merge branch 'master' of git+ssh://yeti.esilibrary.com/home/evergreen/evergreen-equinox into opac-tt-poc

13 years agoMerge branch 'opac-tt-poc' of git+ssh://yeti.esilibrary.com/home/evergreen/evergreen...
Bill Erickson [Thu, 27 Jan 2011 17:10:56 +0000 (12:10 -0500)]
Merge branch 'opac-tt-poc' of git+ssh://yeti.esilibrary.com/home/evergreen/evergreen-equinox into opac-tt-poc

13 years agoadded perl bits for hold cancel/suspend/activate all/selected w/ sample tempate compo...
Bill Erickson [Thu, 27 Jan 2011 17:10:49 +0000 (12:10 -0500)]
added perl bits for hold cancel/suspend/activate all/selected w/ sample tempate components

13 years agoThis isn't the time/place for finesse, but these tweaks make development easier
senator [Thu, 27 Jan 2011 17:04:11 +0000 (12:04 -0500)]
This isn't the time/place for finesse, but these tweaks make development easier

13 years agoctx.responses was for debugging; don't need it
senator [Thu, 27 Jan 2011 16:47:45 +0000 (11:47 -0500)]
ctx.responses was for debugging; don't need it

13 years agoMerge branch 'opac-tt-poc' of ssh://senator@yeti.esilibrary.com/home/evergreen/evergr...
senator [Thu, 27 Jan 2011 16:46:31 +0000 (11:46 -0500)]
Merge branch 'opac-tt-poc' of ssh://senator@yeti.esilibrary.com/home/evergreen/evergreen-equinox into opac-tt-poc

13 years agosome fines display. tweak eg_vhost (IfModule ...)
senator [Thu, 27 Jan 2011 16:45:55 +0000 (11:45 -0500)]
some fines display. tweak eg_vhost (IfModule ...)

13 years agoenable the checkbox column so we can delete hard due dates
phasefx [Thu, 27 Jan 2011 16:19:58 +0000 (16:19 +0000)]
enable the checkbox column so we can delete hard due dates

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

13 years agoMerge branch 'master' of git+ssh://yeti.esilibrary.com/home/evergreen/evergreen-equin...
Bill Erickson [Thu, 27 Jan 2011 14:56:32 +0000 (09:56 -0500)]
Merge branch 'master' of git+ssh://yeti.esilibrary.com/home/evergreen/evergreen-equinox into opac-tt-poc

13 years agoadded support for reporting renewal responses in the template
Bill Erickson [Thu, 27 Jan 2011 14:56:26 +0000 (09:56 -0500)]
added support for reporting renewal responses in the template

13 years agoSerials: add "clone subscription" functionality to alt serials control
senator [Wed, 26 Jan 2011 23:04:56 +0000 (23:04 +0000)]
Serials: add "clone subscription" functionality to alt serials control

This feature clones subscriptions and all the objects related to them
that don't describe holdings.  Should help speed users' workflow when setting
up subscriptions.

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

13 years agoMerge branch 'master' of git+ssh://yeti.esilibrary.com/home/evergreen/evergreen-equin...
Bill Erickson [Wed, 26 Jan 2011 22:15:03 +0000 (17:15 -0500)]
Merge branch 'master' of git+ssh://yeti.esilibrary.com/home/evergreen/evergreen-equinox into opac-tt-poc

13 years agoinitial support for renew all and renew selected, w/ stub template implementation...
Bill Erickson [Wed, 26 Jan 2011 22:14:40 +0000 (17:14 -0500)]
initial support for renew all and renew selected, w/ stub template implementation;  still some to-do's

13 years agopatch to edi4r
gmc [Wed, 26 Jan 2011 21:58:47 +0000 (21:58 +0000)]
patch to edi4r

This is a patch to edi4r which has been submitted; sticking
it here temporarily since at the moment it's unclear whether
edi4r still has an active maintainer.

This patch fixes a bug where question marks in the bibiographic
description ended up being escaped three times over.

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

13 years agofix perl sort comparator
Bill Erickson [Wed, 26 Jan 2011 20:17:31 +0000 (15:17 -0500)]
fix perl sort comparator

13 years agoMerge branch 'master' of git+ssh://yeti.esilibrary.com/home/evergreen/evergreen-equin...
Bill Erickson [Wed, 26 Jan 2011 20:15:14 +0000 (15:15 -0500)]
Merge branch 'master' of git+ssh://yeti.esilibrary.com/home/evergreen/evergreen-equinox into opac-tt-poc

13 years agoMerge branch 'opac-tt-poc' of git+ssh://yeti.esilibrary.com/home/evergreen/evergreen...
Bill Erickson [Wed, 26 Jan 2011 20:14:26 +0000 (15:14 -0500)]
Merge branch 'opac-tt-poc' of git+ssh://yeti.esilibrary.com/home/evergreen/evergreen-equinox into opac-tt-poc

Conflicts:
Open-ILS/src/perlmods/OpenILS/WWW/EGCatLoader.pm

13 years agoinitial fines list handler
Bill Erickson [Wed, 26 Jan 2011 19:54:53 +0000 (14:54 -0500)]
initial fines list handler

13 years agoremove redundant finalize
gmc [Wed, 26 Jan 2011 19:05:52 +0000 (19:05 +0000)]
remove redundant finalize

Already handled by OpenILS::Mapper, and has the effect
of making a parsing bug in edi4r worse by causing
question marks in the EDI data to be escaped multiple
times.

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

13 years agodon't attempt to load account pages without valid ses and SSL
Bill Erickson [Wed, 26 Jan 2011 18:53:18 +0000 (13:53 -0500)]
don't attempt to load account pages without valid ses and SSL

13 years agoshow some holds
senator [Wed, 26 Jan 2011 17:23:38 +0000 (12:23 -0500)]
show some holds

13 years agoshow some circs in myopac -> items out
senator [Wed, 26 Jan 2011 16:20:05 +0000 (11:20 -0500)]
show some circs in myopac -> items out

13 years agoset the svn mimetype for these
phasefx [Wed, 26 Jan 2011 15:52:50 +0000 (15:52 +0000)]
set the svn mimetype for these

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

13 years agoStaff client portal page replacement by Michael Peters, with a few tweaks.
phasefx [Wed, 26 Jan 2011 15:36:49 +0000 (15:36 +0000)]
Staff client portal page replacement by Michael Peters, with a few tweaks.

Thanks!

Developer's Certificate of Origin 1.1

By making a contribution to this project, I certify that:

(a) The contribution was created in whole or in part by me and I
    have the right to submit it under the open source license
    indicated in the file; or

(b) The contribution is based upon previous work that, to the best
    of my knowledge, is covered under an appropriate open source
    license and I have the right under that license to submit that
    work with modifications, whether created in whole or in part
    by me, under the same open source license (unless I am
    permitted to submit under a different license), as indicated
    in the file; or

(c) The contribution was provided directly to me by some other
    person who certified (a), (b) or (c) and I have not modified
    it.

(d) I understand and agree that this project and the contribution
    are public and that a record of the contribution (including all
    personal information I submit with it, including my sign-off) is
    maintained indefinitely and may be redistributed consistent with
    this project or the open source license(s) involved.

Signed-off-by: Michael Peters <mrpeters@library.in.gov>
git-svn-id: svn://svn.open-ils.org/ILS/trunk@19305 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agoMake myopac subpages' names match what bill had in mind
senator [Wed, 26 Jan 2011 15:28:50 +0000 (10:28 -0500)]
Make myopac subpages' names match what bill had in mind

13 years agoMerge branch 'opac-tt-poc' of ssh://senator@yeti.esilibrary.com/home/evergreen/evergr...
senator [Wed, 26 Jan 2011 15:23:23 +0000 (10:23 -0500)]
Merge branch 'opac-tt-poc' of ssh://senator@yeti.esilibrary.com/home/evergreen/evergreen-equinox into opac-tt-poc

13 years agomyopac primitive framework
senator [Wed, 26 Jan 2011 15:23:00 +0000 (10:23 -0500)]
myopac primitive framework

13 years agoSwap item/issuance labels in Subscription tab prediction
dbwells [Wed, 26 Jan 2011 15:08:16 +0000 (15:08 +0000)]
Swap item/issuance labels in Subscription tab prediction

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

13 years agoMerge branch 'master' of git+ssh://yeti.esilibrary.com/home/evergreen/evergreen-equin...
Bill Erickson [Wed, 26 Jan 2011 15:00:01 +0000 (10:00 -0500)]
Merge branch 'master' of git+ssh://yeti.esilibrary.com/home/evergreen/evergreen-equinox into opac-tt-poc

13 years agoinitial user circulations list call
Bill Erickson [Wed, 26 Jan 2011 14:59:51 +0000 (09:59 -0500)]
initial user circulations list call

13 years agoClear out some unused code, which in some cases was causing "command bleed"
dbwells [Wed, 26 Jan 2011 14:54:18 +0000 (14:54 +0000)]
Clear out some unused code, which in some cases was causing "command bleed"

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

13 years agoMerge branch 'master' of git+ssh://yeti.esilibrary.com/home/evergreen/evergreen-equin...
Bill Erickson [Wed, 26 Jan 2011 13:40:07 +0000 (08:40 -0500)]
Merge branch 'master' of git+ssh://yeti.esilibrary.com/home/evergreen/evergreen-equinox into opac-tt-poc

13 years agofor listing holds, taking advantage of batch retrieve args to reduce data size; added...
Bill Erickson [Wed, 26 Jan 2011 13:39:22 +0000 (08:39 -0500)]
for listing holds, taking advantage of batch retrieve args to reduce data size; added limit/offset to holds list for paging

13 years agoadded call args to open-ils.circ.hold.details.*.retrieve to allow the caller to scale...
Bill Erickson [Wed, 26 Jan 2011 13:37:50 +0000 (08:37 -0500)]
added call args to open-ils.circ.hold.details.*.retrieve to allow the caller to scale back the returned data set

13 years agostarts
senator [Tue, 25 Jan 2011 23:48:41 +0000 (18:48 -0500)]
starts

13 years agoFix broken stream functions, re-enable commented-out menu with correct options
dbwells [Tue, 25 Jan 2011 23:20:59 +0000 (23:20 +0000)]
Fix broken stream functions, re-enable commented-out menu with correct options

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

13 years agoadded generic public object fetch-and-cache routine; added stub holds retrieval,...
Bill Erickson [Tue, 25 Jan 2011 22:40:37 +0000 (17:40 -0500)]
added generic public object fetch-and-cache routine; added stub holds retrieval, but more to come on that

13 years agoMerge branch 'master' of git+ssh://yeti.esilibrary.com/home/evergreen/evergreen-equin...
Bill Erickson [Tue, 25 Jan 2011 22:39:46 +0000 (17:39 -0500)]
Merge branch 'master' of git+ssh://yeti.esilibrary.com/home/evergreen/evergreen-equinox into opac-tt-poc

13 years agoThis menu was for a different tab (subscriptions), comment out for now
dbwells [Tue, 25 Jan 2011 21:47:02 +0000 (21:47 +0000)]
This menu was for a different tab (subscriptions), comment out for now

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

13 years agofix the svn:mimetype properties for these
phasefx [Tue, 25 Jan 2011 21:31:56 +0000 (21:31 +0000)]
fix the svn:mimetype properties for these

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

13 years agomark this as binary
phasefx [Tue, 25 Jan 2011 21:10:42 +0000 (21:10 +0000)]
mark this as binary

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

13 years agoTranslation string in manage_dists.js : right problem, wrong fix
dbwells [Tue, 25 Jan 2011 20:53:06 +0000 (20:53 +0000)]
Translation string in manage_dists.js : right problem, wrong fix

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

13 years agoFix checkin backdate assumptions
dbwells [Tue, 25 Jan 2011 20:43:47 +0000 (20:43 +0000)]
Fix checkin backdate assumptions

checkin_handle_backdate() did not properly interpret bill data (voided too much), so lets use void_overdues() instead

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

13 years agoTweaks to transparency and hue, courtesy of Michael Peters. Thanks!
phasefx [Tue, 25 Jan 2011 20:22:37 +0000 (20:22 +0000)]
Tweaks to transparency and hue, courtesy of Michael Peters.  Thanks!

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

13 years agoSmall serial interface string fixes
dbwells [Tue, 25 Jan 2011 19:57:01 +0000 (19:57 +0000)]
Small serial interface string fixes

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

13 years agoMerge branch 'master' of git+ssh://yeti.esilibrary.com/home/evergreen/evergreen-equin...
Bill Erickson [Tue, 25 Jan 2011 19:43:38 +0000 (14:43 -0500)]
Merge branch 'master' of git+ssh://yeti.esilibrary.com/home/evergreen/evergreen-equinox into opac-tt-poc

13 years agoPoint to Fedora 14 as the preferred Fedora version
dbs [Tue, 25 Jan 2011 19:18:50 +0000 (19:18 +0000)]
Point to Fedora 14 as the preferred Fedora version

Fedora 13 will be out of service relatively soon; give
2.0 some legs if someone goes with Fedora.

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

13 years agoUpdate README to include --admin-user / --admin-pass options for eg_db_config.pl
dbs [Tue, 25 Jan 2011 19:18:02 +0000 (19:18 +0000)]
Update README to include --admin-user / --admin-pass options for eg_db_config.pl

As the default Evergreen administrator account is now created with
a randomized user name and password, we have added the options to
eg_db_config.pl to reset those to something known and specific to
a given instance.

Also, Fedora 13 is getting close to retirement, update to Fedora 14 for
supported distros.

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

13 years agoTeach the i18n Makefile how to handle serial.properties
dbs [Tue, 25 Jan 2011 06:17:46 +0000 (06:17 +0000)]
Teach the i18n Makefile how to handle serial.properties

Also check in the POT for serial.properties and some other
foobar.label matches for foobar.accesskey (does not have
an effect on properties files but hopefully if we're
consistent then the pattern will be evident for entities).

Noting in passing that there are a number of "foobar(s)"
comined singular/plural labels that should be split to
support translation.

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

13 years agoReplace a few hardcoded strings in the serials JavaScript
dbs [Tue, 25 Jan 2011 04:44:39 +0000 (04:44 +0000)]
Replace a few hardcoded strings in the serials JavaScript

There is, unfortunately, an awful lot of this left to fix.

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

13 years agoFix existing serial entities that didn't provide .label partners for .accesskey
dbs [Tue, 25 Jan 2011 03:09:18 +0000 (03:09 +0000)]
Fix existing serial entities that didn't provide .label partners for .accesskey

The translate-toolkit project generates a POT file from an input DTD
that requires entities ending in .accesskey to have a corresponding
.label entity; this is a Mozilla convention for localization. Fix up
the serial interface strings that are localized to match this expectation.

Also remove two duplicate entities in lang.dtd that were flagged by
the build/i18n/tests/check_entities.py script (and which cause Launchpad
translation imports to break).

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

13 years agoExpose (in a very basic way) existing serial item reset functionality, fix small...
dbwells [Mon, 24 Jan 2011 23:19:53 +0000 (23:19 +0000)]
Expose (in a very basic way) existing serial item reset functionality, fix small bug in reset code (resetting an item with no unit)

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

13 years agoCorrect for over-zealous sdist editor field display code
dbwells [Mon, 24 Jan 2011 23:03:15 +0000 (23:03 +0000)]
Correct for over-zealous sdist editor field display code

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

13 years agoSerials: A batch of improvements to the caption/pattern wizard
senator [Mon, 24 Jan 2011 22:14:57 +0000 (22:14 +0000)]
Serials: A batch of improvements to the caption/pattern wizard

- Using a numeric frequency ($w) now pre-selects the regularity page
- Switch the regularity page from a box layout to a grid layout for legibility
- Simplify and unify month/date control pairs, enforcing correct limits
    on days in each month
- Scrollbars!
- If the user creates $y data in the regularity page, but then unchecks the
    "use specific regularity information" box, the $y stuff will be correctly
    excluded from the compiled pattern code.
- "Display in Holding Field" replaced with text that better explains what it
    means
- The wizard's dialog window has a title now
- In alternate serials control -> subscription details -> captions/patterns tab,
    if the user has already typed something in the Pattern Code field, they
    now get a warning that using the wizard will erase their existing work
    if they click the Wizard button
- The captions/pattern tab now treats pattern codes as immutable once created,
    which is what was apparently intended from the beginning.  See
    http://list.georgialibraries.org/pipermail/open-ils-dev/2010-May/006079.html

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

13 years agoexpose the print.always_print_silent preference in the Printer Settings Editor
phasefx [Mon, 24 Jan 2011 21:05:04 +0000 (21:05 +0000)]
expose the print.always_print_silent preference in the Printer Settings Editor

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

13 years agomake the Printer Settings Editor immune to the print.always_print_silent preference
phasefx [Mon, 24 Jan 2011 21:05:00 +0000 (21:05 +0000)]
make the Printer Settings Editor immune to the print.always_print_silent preference

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

13 years agoFix for spurious warning (LP bug #707114)
miker [Mon, 24 Jan 2011 20:28:52 +0000 (20:28 +0000)]
Fix for spurious warning (LP bug #707114)

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

13 years agoMerge branch 'master' of git+ssh://yeti.esilibrary.com/home/evergreen/evergreen-equin...
Bill Erickson [Mon, 24 Jan 2011 14:42:08 +0000 (09:42 -0500)]
Merge branch 'master' of git+ssh://yeti.esilibrary.com/home/evergreen/evergreen-equinox into opac-tt-poc

13 years agoi18n support for a few OPAC strings
dbs [Sun, 23 Jan 2011 18:43:22 +0000 (18:43 +0000)]
i18n support for a few OPAC strings

Enable translation of the "More copies listed in full record details"
message for the search results library / call number / item /status
lines

Also provide translation support for the hold queue status message,
including singular / plural variants (most languages do not provide
the equivalent of the "item(s)" idiom in English).

Instead of burying the display of hold queue status with a hard
coded "if (false)" test, turn it into a top-level variable for
a bit more exposure.

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

13 years agocorrect XPath attribute test syntax
miker [Sun, 23 Jan 2011 00:04:35 +0000 (00:04 +0000)]
correct XPath attribute test syntax

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

13 years agohandle deleting line item from selection list more carefully
gmc [Sat, 22 Jan 2011 05:49:10 +0000 (05:49 +0000)]
handle deleting line item from selection list more carefully

Once a line item is attached to a purchase order, removing it
from a selection list should mean detaching it from the list,
not deleting it outright.

The open-ils.acq.lineitem.delete method can be removed
once the old jubgrid code is finally purged.

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

13 years agopath based record display, primitive facet links
Bill Erickson [Fri, 21 Jan 2011 22:27:26 +0000 (17:27 -0500)]
path based record display, primitive facet links

13 years agopath based record display, primitive facet links
Bill Erickson [Fri, 21 Jan 2011 22:27:16 +0000 (17:27 -0500)]
path based record display, primitive facet links

13 years agomore overzealous unsaved data prompts
phasefx [Fri, 21 Jan 2011 22:22:53 +0000 (22:22 +0000)]
more overzealous unsaved data prompts

onKeypress catches all sorts of stuff, like the control+w for closing tabs.  Not good.  Ideally we'd test event.isChar, but that's broken in Mozilla:
https://bugzilla.mozilla.org/show_bug.cgi?id=312552

Instead we look to see if control, alt, or meta are being held down.  Not perfect, but good enough for now.  For example, won't ignore tabs for jumping from field to field, and won't realize the hotkey for clipboard pasting should trigger the unsaved data state.

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

13 years agoProtect against volumes with many copies attached
dbs [Fri, 21 Jan 2011 22:04:00 +0000 (22:04 +0000)]
Protect against volumes with many copies attached

Bill Erickson has good data for testing these cases.

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

13 years agorepaired subject rending on detail page
Bill Erickson [Fri, 21 Jan 2011 21:18:07 +0000 (16:18 -0500)]
repaired subject rending on detail page

13 years agoMerge branch 'master' of git+ssh://yeti.esilibrary.com/home/evergreen/evergreen-equin...
Bill Erickson [Fri, 21 Jan 2011 21:09:12 +0000 (16:09 -0500)]
Merge branch 'master' of git+ssh://yeti.esilibrary.com/home/evergreen/evergreen-equinox into opac-tt-poc

13 years agouse path-based bib IDs instead of GET params
Bill Erickson [Fri, 21 Jan 2011 21:09:07 +0000 (16:09 -0500)]
use path-based bib IDs instead of GET params

13 years agomove template finder in front of context loader, so that context loader has access...
Bill Erickson [Fri, 21 Jan 2011 21:08:50 +0000 (16:08 -0500)]
move template finder in front of context loader, so that context loader has access to path-based page arguments

13 years agoUse holdings_xml-full for the copy display
dbs [Fri, 21 Jan 2011 20:52:06 +0000 (20:52 +0000)]
Use holdings_xml-full for the copy display

Less to munge and transfer over the wire = win win win!

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

13 years agoslimpac issue where deleted copies are visisble, spotted by Steve Callendar and Jason...
miker [Fri, 21 Jan 2011 20:40:28 +0000 (20:40 +0000)]
slimpac issue where deleted copies are visisble, spotted by Steve Callendar and Jason Etheridge

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

13 years agoAdopt the Conifer local call number display code as an example of complex client...
dbs [Fri, 21 Jan 2011 20:36:16 +0000 (20:36 +0000)]
Adopt the Conifer local call number display code as an example of complex client-side customization

It's useful, too - library / call number / copy location / copy status on
search results, and easily tweaked from the out of the box defaults.

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

13 years agofix spurious unsaved data prompt with repeated use of same patron editor (only set...
phasefx [Fri, 21 Jan 2011 16:58:44 +0000 (16:58 +0000)]
fix spurious unsaved data prompt with repeated use of same patron editor (only set tab lock once with patron editor, since we only unlock once upon save)

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

13 years agodon't muck w/ media_prefix if it's unset
Bill Erickson [Fri, 21 Jan 2011 15:20:36 +0000 (10:20 -0500)]
don't muck w/ media_prefix if it's unset

13 years agoMerge branch 'master' of git+ssh://yeti.esilibrary.com/home/evergreen/evergreen-equin...
Bill Erickson [Fri, 21 Jan 2011 14:54:32 +0000 (09:54 -0500)]
Merge branch 'master' of git+ssh://yeti.esilibrary.com/home/evergreen/evergreen-equinox into opac-tt-poc

13 years agoPart 3 of a more secure default set up
dbs [Fri, 21 Jan 2011 03:13:14 +0000 (03:13 +0000)]
Part 3 of a more secure default set up

With this commit, the hardcoded default barcode is replaced by an
MD5 hash of a random string of numbers, preventing the barcode from
being used as a known login name in the OPAC interface (which would
remove one of the factors required in a brute forcing of the account
credentials).

You probably don't want to change the barcode for the admin user,
but if you feel the need you can use the usual patron editor in
the staff client.

Thanks to Thomas Berezansky for suggesting this additional change.

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

13 years agoAcq: the "Load Catalog Record IDs" interface failed on files produced in
senator [Thu, 20 Jan 2011 23:05:39 +0000 (23:05 +0000)]
Acq: the "Load Catalog Record IDs" interface failed on files produced in
Windows due to not stripping out carriage returns. Fixed.

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

13 years agoAcq: use the acqlimad table instead of its ancestor acqliad table to
senator [Thu, 20 Jan 2011 22:37:13 +0000 (22:37 +0000)]
Acq: use the acqlimad table instead of its ancestor acqliad table to
populate a dropdown for the Export Single Attribute List function of lists
of lineitems

The acqliad table may appear to have duplicate entries since it's a parent, and
the point of the function that's trying to use it is just to export lists of
ISBNs or UPCs, so acqlimad is a better fit.

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

13 years agobetter call parallization
Bill Erickson [Thu, 20 Jan 2011 22:05:28 +0000 (17:05 -0500)]
better call parallization

13 years agodon't offer to cancel related transits that have already completed when canceling...
phasefx [Thu, 20 Jan 2011 19:53:53 +0000 (19:53 +0000)]
don't offer to cancel related transits that have already completed when canceling holds

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

13 years agoBooking: these lines don't belong; they were erroneously copied and pasted
senator [Thu, 20 Jan 2011 19:41:30 +0000 (19:41 +0000)]
Booking: these lines don't belong; they were erroneously copied and pasted
from a neighboring section of the file

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

13 years agouse a single cache var instead of polluting with a series of global cache variables...
Bill Erickson [Thu, 20 Jan 2011 18:59:20 +0000 (13:59 -0500)]
use a single cache var instead of polluting with a series of global cache variables; protect against search calls that return an exception

13 years agoprotect against empty search results
Bill Erickson [Thu, 20 Jan 2011 18:10:51 +0000 (13:10 -0500)]
protect against empty search results

13 years agoMerge branch 'master' of git+ssh://yeti.esilibrary.com/home/evergreen/evergreen-equin...
Bill Erickson [Thu, 20 Jan 2011 14:23:16 +0000 (09:23 -0500)]
Merge branch 'master' of git+ssh://yeti.esilibrary.com/home/evergreen/evergreen-equinox into opac-tt-poc

13 years agowhack-a-mole, was getting a null instead of an empty array here, but may be a red...
phasefx [Wed, 19 Jan 2011 22:28:13 +0000 (22:28 +0000)]
whack-a-mole, was getting a null instead of an empty array here, but may be a red herring

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

13 years agoif this user does not have permission to edit an existing user, disable the save...
erickson [Wed, 19 Jan 2011 22:27:14 +0000 (22:27 +0000)]
if this user does not have permission to edit an existing user, disable the save and clone buttons

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

13 years agoremove disallowed permission groups from the perm group selector in user registration...
erickson [Wed, 19 Jan 2011 22:27:14 +0000 (22:27 +0000)]
remove disallowed permission groups from the perm group selector in user registration; see bug 699914

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

13 years agolet amnesty checkin mode trump the restore overdues on lost checkin setting
phasefx [Wed, 19 Jan 2011 22:05:18 +0000 (22:05 +0000)]
let amnesty checkin mode trump the restore overdues on lost checkin setting

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

13 years agoBooking: Robert Soulliere spotted and fixed a bug in processing reservation-
senator [Wed, 19 Jan 2011 21:52:28 +0000 (21:52 +0000)]
Booking: Robert Soulliere spotted and fixed a bug in processing reservation-
related overdue fines.  See https://bugs.launchpad.net/evergreen/+bug/705061

This patch tests successfully for me. Thanks Robert!

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

13 years agoBuild and flatten a tree, correcting a sorting issue in some OU dropdowns.
miker [Wed, 19 Jan 2011 19:50:47 +0000 (19:50 +0000)]
Build and flatten a tree, correcting a sorting issue in some OU dropdowns.

The previous code assumed that work org units would be delivered in hierarchical order, but alas, they are not.  Thus, we build the hierarchy and then flatten it, sorting at each level.  This will be non-fast with many work OUs, but the common case is a small set, which is not painful.

Further improvement is warranted when the above proves false.

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

13 years agouse explicit odd/even classes since some browsers don't support css3 odd/even selector
Bill Erickson [Wed, 19 Jan 2011 18:17:48 +0000 (13:17 -0500)]
use explicit odd/even classes since some browsers don't support css3 odd/even selector

13 years agoMerge branch 'master' of git+ssh://yeti.esilibrary.com/home/evergreen/evergreen-equin...
Bill Erickson [Wed, 19 Jan 2011 17:22:33 +0000 (12:22 -0500)]
Merge branch 'master' of git+ssh://yeti.esilibrary.com/home/evergreen/evergreen-equinox into opac-tt-poc

13 years agobug #684467: more bulletproofing of naco_normalize
gmc [Wed, 19 Jan 2011 15:59:01 +0000 (15:59 +0000)]
bug #684467: more bulletproofing of naco_normalize

Also preparing for backporting to rel_2_0.

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

13 years agodrop name check constraint on config.hard_due_due
gmc [Wed, 19 Jan 2011 15:34:56 +0000 (15:34 +0000)]
drop name check constraint on config.hard_due_due

See https://bugs.launchpad.net/evergreen/+bug/704951 for context
and possible future direction.

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

13 years agoAvoid escaping issues in authority.normalize_heading() by parameterizing the query
dbs [Wed, 19 Jan 2011 14:53:48 +0000 (14:53 +0000)]
Avoid escaping issues in authority.normalize_heading() by parameterizing the query

Long story short: MARC subfield values containing backslashes caused noise
and in some cases painful errors. Using spi_prepare/spi_exec_query is the
safest way of handling escaping, rather than adding more regexes and munging
the data before it even gets to naco_normalize().

Most painful case was <subfield code="a">Foo, Bar\</subfield> - the trailing
slash ended up escaping the enclosing single quote (because PostgreSQL isn't
configured by default with strict conformance to SQL escaping rules yet) and
threw an error.

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

13 years agoPart 2 of creating a more secure default setup
dbs [Wed, 19 Jan 2011 04:41:15 +0000 (04:41 +0000)]
Part 2 of creating a more secure default setup

With this commit, the user name and password for the administrative
user will be MD5 hashes of a random string of numbers. You can set
the user name and password to your liking using the --admin-user and
--admin-pass switches for eg_db_config.pl (this will be the
documented method in the install docs) or via straight SQL as:

UPDATE actor.usr SET usrname = 'FOO', passwd = 'BAR' WHERE id = 1;

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

13 years agoTowards a more secure default setup
dbs [Wed, 19 Jan 2011 04:24:49 +0000 (04:24 +0000)]
Towards a more secure default setup

Shipping with a default account user name and password is considered
an authentication anti-pattern; see
http://code.google.com/p/owasp-development-guide/wiki/WebAppSecDesignGuide_D2

By making the user select an admin user name and password at the time
they create the database, we avoid the chance that they will forget to
change the default password and leave their system open to access.

Next step is to change the seed data to insert random values for the
admin username and password, then update the documentation accordingly.

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