evergreen/bjwebb.git
14 years agoRough cut at providing the staff client as a Firefox extension.
phasefx [Sat, 23 Jan 2010 15:25:29 +0000 (15:25 +0000)]
Rough cut at providing the staff client as a Firefox extension.

If you do:    make STAFF_CLIENT_BUILD_ID=trunk extension

Then there will be a   build/evergreen.xpi

TODO: Work out how to handle automatic upgrades, etc.

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

14 years agoAdd the ability to renew via SIP 1 method used by 3M self-checks
dbs [Sat, 23 Jan 2010 00:44:06 +0000 (00:44 +0000)]
Add the ability to renew via SIP 1 method used by 3M self-checks

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

14 years agoFix up minor (but fatal) typo for the birthday boy :)
dbs [Fri, 22 Jan 2010 22:50:34 +0000 (22:50 +0000)]
Fix up minor (but fatal) typo for the birthday boy :)

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

14 years agoShould address https://bugs.launchpad.net/bugs/506827 by looking for the position...
miker [Fri, 22 Jan 2010 21:18:10 +0000 (21:18 +0000)]
Should address https://bugs.launchpad.net/bugs/506827 by looking for the position of the first : after a known key

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

14 years agoforward-porting r15367: correct billing timestamp and count calculation issues introd...
miker [Fri, 22 Jan 2010 20:28:28 +0000 (20:28 +0000)]
forward-porting r15367: correct billing timestamp and count calculation issues introduced by 1.6.0.0 "push day-granular circs to end of calendar day" trigger

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

14 years agoMake developer-oriented preferences for the staff client optional, since some of...
phasefx [Fri, 22 Jan 2010 15:40:55 +0000 (15:40 +0000)]
Make developer-oriented preferences for the staff client optional, since some of them can impact performance.

I couldn't figure out how to get something like

make DEBUG=1 build

to work, so I went with

make devbuild

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

14 years agoPatch from Joe Atzberger, with modification to max log size, to add a sample logrotat...
erickson [Fri, 22 Jan 2010 14:30:00 +0000 (14:30 +0000)]
Patch from Joe Atzberger, with modification to max log size, to add a sample logrotate config for /openils/var/log

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

14 years agoPatch from Joe Atzberger to verify custom filter file opened successfully
erickson [Thu, 21 Jan 2010 18:06:26 +0000 (18:06 +0000)]
Patch from Joe Atzberger to verify custom filter file opened successfully

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

14 years agoPatch from Joe Atzberger that does several things:
erickson [Thu, 21 Jan 2010 17:58:44 +0000 (17:58 +0000)]
Patch from Joe Atzberger that does several things:

1. Iniatial API calls for managing EDI documents at the server.  EDI file fetching script to come soon.
2. Creates OpenILS::Utils::Cronscript and Lockfile modules to share and abstract the common setup tasks for Evergreen cron jobs
3. Creates a OpenILS::Utils::RemoteAccount module for managing access to remote services via ftp/scp.  This is mostly taken from the SendFile reactor
4. Updates sendfile to use remoteaccount

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

14 years agoupgrade script to accompany r15353
miker [Thu, 21 Jan 2010 16:43:26 +0000 (16:43 +0000)]
upgrade script to accompany r15353

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

14 years agoPatch from Dan Wells to address a thinko in the use of the queue ownership field...
miker [Thu, 21 Jan 2010 16:43:04 +0000 (16:43 +0000)]
Patch from Dan Wells to address a thinko in the use of the queue ownership field for a Vandelay queue:

I have been doing a lot of experimenting with Vandelay the last few weeks and have traced many of my failures to one distinct bug.  I finally noticed yesterday why Item Import worked for the 'admin' user but for nobody else.  It turns out there is a bug in one of the database functions where it treats the queue 'owner' column as an org_unit ID when in fact it is a usr id.  Of course since 'admin' is ID 1 out of the box and there is an org_unit 1 as well, this bug is transparent to admin and easy to miss.

Well, I started by making a few changes to the function to address this, but soon realized that what we really wanted to do was base the import on the Import Def chosen by the user when the records are loaded, and it would be ideal if the Import Def was somehow associated with the queue at the time of import.  I started poking around in the schema, and lo and behold, the vandelay.bib_queue table already had an 'item_attr_def' linking column for this very purpose which was going unused!

So, the attached patch finally puts this column to use by doing the following:

1) Edits the create_bib_queue() sub in Vandelay.pm to accept the item import attribute definition ID as an argument and save it appropriately.

2) Edits the vandelay.js interface file to accept and send the import definition ID to create_bib_queue() when creating a queue.

3) Edits fm_IDL.xml to add the 'item_attr_def' field (and fix a small labeling error).

4) Edits 012.schema.vandelay.sql to replace the buggy function that started all this with a now simpler, working version.  The change is actually smaller than it looks due removing one nested loop and the resulting indentation change.

=============================================
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: Daniel B. Wells
=============================================

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

14 years agoAdd the schema upgrade corresponding to r15351 in-db ingest encoding fixes
dbs [Thu, 21 Jan 2010 02:18:40 +0000 (02:18 +0000)]
Add the schema upgrade corresponding to r15351 in-db ingest encoding fixes

Ensure MARC::File::XML treats the content as UTF-8; then follow
recommended practice of explicitly decoding the UTF-8 string to a
bytes string before operating on it, then encoding it back to UTF8
when it's returned.

'Québec' now gets naco-normalized to 'quebec' as one would expect. YAY!

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

14 years agoCorrect Unicode handling for in-db ingest
dbs [Wed, 20 Jan 2010 23:15:10 +0000 (23:15 +0000)]
Correct Unicode handling for in-db ingest

Ensure MARC::File::XML treats the content as UTF-8; then follow
recommended practice of explicitly decoding the UTF-8 string to a
bytes string before operating on it, then encoding it back to UTF8
when it's returned.

'Québec' now gets naco-normalized to 'quebec' as one would expect. YAY!

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

14 years agoprotect standard numbers from NACO normalization; make sure normalized text is proper...
miker [Wed, 20 Jan 2010 21:40:05 +0000 (21:40 +0000)]
protect standard numbers from NACO normalization; make sure normalized text is properly utf8-ized

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

14 years agotypo/thinko -- no s modifier for regex in PG
miker [Wed, 20 Jan 2010 19:05:59 +0000 (19:05 +0000)]
typo/thinko -- no s modifier for regex in PG

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

14 years agomake maximized versus non-maximized state of main window sticky, as well as the windo...
phasefx [Wed, 20 Jan 2010 18:02:50 +0000 (18:02 +0000)]
make maximized versus non-maximized state of main window sticky, as well as the window dimensions in non-maximized mode

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

14 years agoupdate circ xact_finish value after all billing for the transactions have been assess...
erickson [Wed, 20 Jan 2010 15:27:33 +0000 (15:27 +0000)]
update circ xact_finish value after all billing for the transactions have been assessed.  In particular, after lost item handling.  Thanks to Dan Wells for identifying the bug

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

14 years agoStart making autoconf more tolerant of other distributions (looking at you, Fedora)
dbs [Tue, 19 Jan 2010 20:38:17 +0000 (20:38 +0000)]
Start making autoconf more tolerant of other distributions (looking at you, Fedora)

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

14 years agoSubstitute configure variables appropriately in fast-extract
dbs [Tue, 19 Jan 2010 19:34:46 +0000 (19:34 +0000)]
Substitute configure variables appropriately in fast-extract

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

14 years agomove the removal of an optional trigger outside the transaction so it won't fail...
erickson [Tue, 19 Jan 2010 17:02:13 +0000 (17:02 +0000)]
move the removal of an optional trigger outside the transaction so it won't fail and roll back the transaction when the trigger is not present

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

14 years agomissing semicolon
phasefx [Tue, 19 Jan 2010 16:30:08 +0000 (16:30 +0000)]
missing semicolon

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

14 years agoResolve a conflict from the in-db ingest merge
dbs [Tue, 19 Jan 2010 03:47:36 +0000 (03:47 +0000)]
Resolve a conflict from the in-db ingest merge

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

14 years agoGive sites the ability to easily display due dates and times in the OPAC under "copy...
dbs [Tue, 19 Jan 2010 03:14:06 +0000 (03:14 +0000)]
Give sites the ability to easily display due dates and times in the OPAC under "copy details"

We add two new variables to copy_details.js:
  * showDueDate - this needs to be set to a non-false value to display the
    due date in the OPAC
  * showDueTime - this needs to be set to a non-false value to display the
    due time in the OPAC, along with the due date. If showDueDate is false,
    then the value of this variable is ignored.

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

14 years agoAddress long-standing typo: clense_ISO8601, matching change to OpenSRF-trunk.
dbs [Tue, 19 Jan 2010 02:07:45 +0000 (02:07 +0000)]
Address long-standing typo: clense_ISO8601, matching change to OpenSRF-trunk.

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

14 years agothrowing the switch to go to in-db ingest ... expect bugs, but that is why we have...
miker [Fri, 15 Jan 2010 21:31:33 +0000 (21:31 +0000)]
throwing the switch to go to in-db ingest ... expect bugs, but that is why we have trunk, eh?

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

14 years agothrowing the switch to go to in-db ingest ... expect bugs, but that is why we have...
miker [Fri, 15 Jan 2010 21:30:59 +0000 (21:30 +0000)]
throwing the switch to go to in-db ingest ... expect bugs, but that is why we have trunk, eh?

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

14 years agoPatch from Lebbeous Fogle-Weekley to add access keys to the ACQ menu
erickson [Fri, 15 Jan 2010 21:15:10 +0000 (21:15 +0000)]
Patch from Lebbeous Fogle-Weekley to add access keys to the ACQ menu

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

14 years agoPatch from Dan Wells to make the results returned when using in-db circ look more...
erickson [Fri, 15 Jan 2010 21:06:00 +0000 (21:06 +0000)]
Patch from Dan Wells to make the results returned when using in-db circ look more like those of the legacy circ scripts.  For more details plus DCO, see libmail.georgialibraries.org/pipermail/open-ils-dev/2010-January/005703.html

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

14 years agopatch from Lebbeous Fogle-Weekley to exit gracefully from timestamp display when...
erickson [Fri, 15 Jan 2010 20:47:36 +0000 (20:47 +0000)]
patch from Lebbeous Fogle-Weekley to exit gracefully from timestamp display when the timestamp value is null/empty

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

14 years agorepaired copy/paste thinko in edi_account provider link
erickson [Fri, 15 Jan 2010 16:20:28 +0000 (16:20 +0000)]
repaired copy/paste thinko in edi_account provider link

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

14 years agoIn acq.fund_transfer: make the dest_fund and dest_amount columns nullable.
scottmk [Fri, 15 Jan 2010 16:10:49 +0000 (16:10 +0000)]
In acq.fund_transfer: make the dest_fund and dest_amount columns nullable.
That way they can accommodate deallocations, where we move money out of a
fund without moving it into another fund.

A    upgrade/0135.schema.acq.fund_transfer_nulls.sql

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

14 years agoPatch from Joe Atzberger, with some IDL additions, to add a new generic remote_accoun...
erickson [Fri, 15 Jan 2010 15:57:49 +0000 (15:57 +0000)]
Patch from Joe Atzberger, with some IDL additions, to add a new generic remote_account table for managing ftp/scp/etc logins and a subclass table specific to ACQ providers, initially for EDI retrieval and delivery.

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

14 years agoMove the decode_utf8() call for various feeds to entityize()
dbs [Thu, 14 Jan 2010 04:54:48 +0000 (04:54 +0000)]
Move the decode_utf8() call for various feeds to entityize()

decode_utf8() is special in that it won't transform any string once
its 'utf8' flag has been set, so it is a safe subroutine to call
multiple times for a given string.

As it turns out, SRU (and in turn Z39.50) is suffering from a double-encoding
of the search terms, so we have to forcefully double-decode the terms with
the decode('utf8') variation that does not respect the 'utf8' string.

This will enable Z39.50 and SRU queries to actually return results for
queries like 'Montréal' and 'Québec'. Eventually we need to figure out
where in the SRU/CGI stack the strings are being incorrectly encoded in
the first place, but for now a much-improved Z39.50 server seems acceptable.

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

14 years agoCall decode_utf8() to generate clean output in HTML feeds
dbs [Thu, 14 Jan 2010 04:22:13 +0000 (04:22 +0000)]
Call decode_utf8() to generate clean output in HTML feeds

Tested on Debian Lenny and Ubuntu Karmic

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

14 years agoFactor out the aou-fetching code into a useful subroutine, get_ou($org)
dbs [Thu, 14 Jan 2010 03:21:25 +0000 (03:21 +0000)]
Factor out the aou-fetching code into a useful subroutine, get_ou($org)

Then use get_ou to make the bookbag_feed and changes_feed marginally smarter,
so that you can now pass ?searchOrg=BR1 or ?searchOrg=4 to limit the holdings
display scope.

Useful stuff if you're plodding along with bookbags-as-reserves in a
consortial environment.

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

14 years agoThis adds the ability to specify courier codes in transit and hold/transit slip templ...
phasefx [Wed, 13 Jan 2010 20:25:51 +0000 (20:25 +0000)]
This adds the ability to specify courier codes in transit and hold/transit slip templates via a %courier_code% macro and a lib.courier_code org unit setting.

So if an item at library BR1 is to be routed to library BR2, the org unit setting for BR2 is retrieved and that value is used for %courier_code%.

POSSIBLE TODO: Add simple interface-scoped caching for the courier code lookup (and perhaps for the mailing address lookup as well)

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

14 years agoPatch from Lebbeous Fogle-Weekley providing final, cut-1 cleanup of booking
miker [Wed, 13 Jan 2010 14:59:47 +0000 (14:59 +0000)]
Patch from Lebbeous Fogle-Weekley providing final, cut-1 cleanup of booking

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

14 years agoPatch from Galen Charlton fixing two typos in the fast-extract support script
miker [Tue, 12 Jan 2010 20:38:10 +0000 (20:38 +0000)]
Patch from Galen Charlton fixing two typos in the fast-extract support script

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

14 years agomove load_MARC_rec into separate package to prep for creating new test scripts
djfiander [Tue, 12 Jan 2010 02:14:38 +0000 (02:14 +0000)]
move load_MARC_rec into separate package to prep for creating new test scripts

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

14 years agomove test data into external file to prep for creating additional test files
djfiander [Tue, 12 Jan 2010 02:03:25 +0000 (02:03 +0000)]
move test data into external file to prep for creating additional test files

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

14 years agoGet consistent about "title : subtitle" in mods_slim
dbs [Mon, 11 Jan 2010 19:17:05 +0000 (19:17 +0000)]
Get consistent about "title : subtitle" in mods_slim

By teaching get_field_value() to prepend " : " to our incoming value
if the element name is "subTitle", we can ensure that records with a
title / subtitle structure have a consistent structure. Academics love
subtitles, so this was pretty glaring at Conifer.

This has a bonus effect of not appending colons after leading articles
(nonSort elements), which was annoying for "Der schutz" and the like.
Academics have a number of non-English / non-French / non-Spanish titles;
the MODS transform honours the non-filing indicator so this is a more
consistent method of generating the appropriate result.

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

14 years agoAdd a boolean "propagate" column to acq.fund, to denote whether
scottmk [Mon, 11 Jan 2010 16:55:39 +0000 (16:55 +0000)]
Add a boolean "propagate" column to acq.fund, to denote whether
the fund should be propagated from one year to the next.

M    Open-ILS/src/sql/Pg/200.schema.acq.sql
M    Open-ILS/src/sql/Pg/002.schema.config.sql
A    Open-ILS/src/sql/Pg/upgrade/0132.schema.acq.fund-propagable.sql
M    Open-ILS/examples/fm_IDL.xml

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

14 years agoCorrect the value of upgrade_log.version to match file name
scottmk [Mon, 11 Jan 2010 15:11:19 +0000 (15:11 +0000)]
Correct the value of upgrade_log.version to match file name

M    upgrade/0131.schema.serials.protect-delete.sql

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

14 years agoRemove serial ingest references and services
dbs [Mon, 11 Jan 2010 00:39:25 +0000 (00:39 +0000)]
Remove serial ingest references and services

The references and services for serial (MFHD) support are not
necessary in 1.6, as we are working directly with the MFHD as
maintained in serial.record_entry.marc; the services and
references being removed never could have been used in the
1.6.0.0 release and should have been removed prior to the 1.6.0.0
release when I removed the corresponding database structures.

Also updating the README to reflect the proper loading method for
serial records, dropping direct_ingest.pl invocation and noting the
limitation on the org_unit identification.

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

14 years agoFirst pass at formatting holdings properly, including textual holdings statements
djfiander [Sun, 10 Jan 2010 21:50:21 +0000 (21:50 +0000)]
First pass at formatting holdings properly, including textual holdings statements

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

14 years agoquicker entry point for Add Volumes action, by virtue of assuming Workstation Library
phasefx [Fri, 8 Jan 2010 21:30:10 +0000 (21:30 +0000)]
quicker entry point for Add Volumes action, by virtue of assuming Workstation Library

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

14 years agoPatch from Lebbeous Fogle-Weekley adding non-menu entry points for critical reservati...
miker [Fri, 8 Jan 2010 21:13:56 +0000 (21:13 +0000)]
Patch from Lebbeous Fogle-Weekley adding non-menu entry points for critical reservation (booking) interfaces (side-step a new staff client, for now), patron interface integration, and I18n

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

14 years agofix overdu_circs thinkos from reservation work
miker [Fri, 8 Jan 2010 20:58:30 +0000 (20:58 +0000)]
fix overdu_circs thinkos from reservation work

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

14 years agoSupport for Fast Item Add in MARC Editor for existing records. Removed a speedbump...
phasefx [Fri, 8 Jan 2010 20:21:58 +0000 (20:21 +0000)]
Support for Fast Item Add in MARC Editor for existing records.  Removed a speedbump.  Clear fast item barcode field after record save.

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

14 years agoPatch from Lebbeous Fogle-Weekley implementing pickup and return interfaces for booki...
miker [Fri, 8 Jan 2010 16:15:47 +0000 (16:15 +0000)]
Patch from Lebbeous Fogle-Weekley implementing pickup and return interfaces for booking reservations ... WE ARE SO CLOSE I CAN TASTE IT.  Minor reworking of Circulate.pm changes.

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

14 years agoA/T penalty.* hooks now have a core_type of 'ausp', not 'au'. pass the ausp (user...
erickson [Fri, 8 Jan 2010 14:20:45 +0000 (14:20 +0000)]
A/T penalty.* hooks now have a core_type of 'ausp', not 'au'.  pass the ausp (user penalty) object during event autocreate instead of the user

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

14 years agoBucket related enhancements:
phasefx [Thu, 7 Jan 2010 21:17:03 +0000 (21:17 +0000)]
Bucket related enhancements:
* Add to Record Bucket action for Item Status interface
* Authoritative methods in bucket interfaces immune to database replication lag
* Removed a CGI param for better caching of the quick Add to Record Bucket interface
* Added a cat.util.add_titles_to_bucket utility method (but forgot to put it into cat.util.EXPORT_OK, though harmless)

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

14 years agofix Edit MARC Order Record action for Acquisitions within the staff client
phasefx [Thu, 7 Jan 2010 17:01:46 +0000 (17:01 +0000)]
fix Edit MARC Order Record action for Acquisitions within the staff client

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

14 years agoThis fixes the checkbox selector in Vandelay's Inspect Queue interface, so you can...
phasefx [Thu, 7 Jan 2010 16:14:25 +0000 (16:14 +0000)]
This fixes the checkbox selector in Vandelay's Inspect Queue interface, so you can, for example, check a specific record in the queue and do Actions ->
Import Selected without the progressmeter hanging with a dojo.byId() is null error.  The formatter for the checkbox column in the table gets called
multiple times for a given row, and the first time it gets called it's using an id of null.  Subsequent calls with a real id replace the HTML generated.

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

14 years agoWe don't actually have access to the config from $self, but we can get it from OpenIL...
dbs [Thu, 7 Jan 2010 00:19:56 +0000 (00:19 +0000)]
We don't actually have access to the config from $self, but we can get it from OpenILS::SIP

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

14 years agoTypo: in theory fixing this will eliminate some calls
dbs [Thu, 7 Jan 2010 00:00:53 +0000 (00:00 +0000)]
Typo: in theory fixing this will eliminate some calls

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

14 years agoProtect serials from being deleted with ye olde ON DELETE rule
dbs [Wed, 6 Jan 2010 22:16:45 +0000 (22:16 +0000)]
Protect serials from being deleted with ye olde ON DELETE rule

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

14 years agofix dojo columnpicker glitches for restrained window dimensions
phasefx [Wed, 6 Jan 2010 21:48:40 +0000 (21:48 +0000)]
fix dojo columnpicker glitches for restrained window dimensions

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

14 years agoPatch from Lebbeous Fogle-Weekley to reservation pull list and resource capture inter...
miker [Wed, 6 Jan 2010 18:13:28 +0000 (18:13 +0000)]
Patch from Lebbeous Fogle-Weekley to reservation pull list and resource capture interfaces, and supporting backend and ML changes

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

14 years agosome error logging tweaks. D_ERROR to D_WARN for util/controller.js, and make D_ERRO...
phasefx [Wed, 6 Jan 2010 16:41:52 +0000 (16:41 +0000)]
some error logging tweaks.  D_ERROR to D_WARN for util/controller.js, and make D_ERROR show up as Errors in the javascript console

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

14 years agowork log for renewals, and some debugging for for checkouts
phasefx [Wed, 6 Jan 2010 16:39:14 +0000 (16:39 +0000)]
work log for renewals, and some debugging for for checkouts

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

14 years ago%balance_owed% macro for checkout receipts
phasefx [Tue, 5 Jan 2010 22:38:58 +0000 (22:38 +0000)]
%balance_owed% macro for checkout receipts

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

14 years agoEnable the SIP server to speak UTF8 or ASCII, defaulting to ASCII
dbs [Tue, 5 Jan 2010 19:07:54 +0000 (19:07 +0000)]
Enable the SIP server to speak UTF8 or ASCII, defaulting to ASCII

Some SIP clients have implemented UTF8 support, and it is desirable to
avoid mangling non-ASCII characters when possible, so a new <encoding>
option in the SIPServer config file enables sites to specify an
alternate encoding (such as "utf8"). The example oils_sip.xml file
will continue to default to ASCII, and if no <encoding> option is
supplied in the config file, ASCII will be the default.

In addition, this patch improves the ASCII option by applying the
ASCII mangling to all text fields, as well as ensuring that the
incoming data is in Normalization Form D mode to make the mangling
work cleanly.

Other encodings such as iso-8859-1 can be specified, but to properly
handle other encodings a transliteration phase would have to be added
to the OpenILS::SIP::clean_text()...

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

14 years agoAdd a new column funding_source_credit to the acq.fund_transfer table.
scottmk [Mon, 4 Jan 2010 16:51:18 +0000 (16:51 +0000)]
Add a new column funding_source_credit to the acq.fund_transfer table.

M    Open-ILS/src/sql/Pg/200.schema.acq.sql
M    Open-ILS/src/sql/Pg/002.schema.config.sql
A    Open-ILS/src/sql/Pg/upgrade/0129.schema.fund-transfer-credit.sql
M    Open-ILS/examples/fm_IDL.xml

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

14 years agoforward porting changeset 15256 for completeness, though this interface is being...
phasefx [Mon, 4 Jan 2010 15:51:06 +0000 (15:51 +0000)]
forward porting changeset 15256 for completeness, though this interface is being deprecated

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

14 years agohome library selector for Patrons with Negative Balances interface
phasefx [Wed, 30 Dec 2009 21:41:24 +0000 (21:41 +0000)]
home library selector for Patrons with Negative Balances interface

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

14 years agomaintenance interface for patrons with negative balances. TODO: add library filter
phasefx [Wed, 30 Dec 2009 20:55:27 +0000 (20:55 +0000)]
maintenance interface for patrons with negative balances.  TODO: add library filter

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

14 years agoduring checkout.full, bypass the caching (and retrieval of) the permit key, since...
erickson [Wed, 30 Dec 2009 20:37:57 +0000 (20:37 +0000)]
during checkout.full, bypass the caching (and retrieval of) the permit key, since permit and checkout occur in the same process

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

14 years agotypos
phasefx [Wed, 30 Dec 2009 20:00:11 +0000 (20:00 +0000)]
typos

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

14 years agoentry-point for Group Member interface from Group Member summary
phasefx [Wed, 30 Dec 2009 19:05:05 +0000 (19:05 +0000)]
entry-point for Group Member interface from Group Member summary

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

14 years agoItem Details action in billing interfaces, and some cleanup using attribute-forwardin...
phasefx [Wed, 30 Dec 2009 18:46:15 +0000 (18:46 +0000)]
Item Details action in billing interfaces, and some cleanup using attribute-forwarding on <command> elements

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

14 years agosimple (minded?) dojo NLS page translator
miker [Wed, 30 Dec 2009 17:09:22 +0000 (17:09 +0000)]
simple (minded?) dojo NLS page translator

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

14 years agoalso drop money.open_usr_summary before rebuilding to prevent error on dependence...
erickson [Wed, 30 Dec 2009 16:33:28 +0000 (16:33 +0000)]
also drop money.open_usr_summary before rebuilding to prevent error on dependence with money.open_billable_xact_summary

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

14 years agoPatch from Lebbeous Fogle-Weekley adding a pull list interface for booking reservations
miker [Wed, 30 Dec 2009 15:43:32 +0000 (15:43 +0000)]
Patch from Lebbeous Fogle-Weekley adding a pull list interface for booking reservations

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

14 years agosome CSS and styling tweaks for some information under the navigation buttons in...
phasefx [Wed, 30 Dec 2009 15:24:33 +0000 (15:24 +0000)]
some CSS and styling tweaks for some information under the navigation buttons in the patron display, and a cosmetic bug fix in the billing interface for patrons with no bills

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

14 years agoafter checkout, return the patrons account balance in the result data
erickson [Wed, 30 Dec 2009 14:52:55 +0000 (14:52 +0000)]
after checkout, return the patrons account balance in the result data

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

14 years agoupdated some existing billing views to use the new (faster) money.materialized_billab...
erickson [Wed, 30 Dec 2009 14:40:36 +0000 (14:40 +0000)]
updated some existing billing views to use the new (faster) money.materialized_billable_xact_summary

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

14 years agoadding a pile of infrastructure and data for in-database ingest -- specifically,...
miker [Tue, 29 Dec 2009 20:47:33 +0000 (20:47 +0000)]
adding a pile of infrastructure and data for in-database ingest -- specifically, MARC21 record structure information for fixed field extraction

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

14 years agomake the seed data wording match the upgrade script
phasefx [Tue, 29 Dec 2009 20:17:55 +0000 (20:17 +0000)]
make the seed data wording match the upgrade script

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

14 years agodisplay resource and resource type information for reservations in the original billi...
phasefx [Tue, 29 Dec 2009 17:30:48 +0000 (17:30 +0000)]
display resource and resource type information for reservations in the original billing interface

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

14 years agoReplace ui.circ_and_cat.notes.require_initials and ui.circ.standing_penalty.require_i...
phasefx [Tue, 29 Dec 2009 16:28:44 +0000 (16:28 +0000)]
Replace ui.circ_and_cat.notes.require_initials and ui.circ.standing_penalty.require_initials org unit settings with a single ui.staff.require_initials setting.

For those running trunk, re-run Open-ILS/src/sql/Pg/upgrade/0117.data.org-setting-notes-require-initials.sql

Also,

DELETE FROM actor.org_unit_setting WHERE name IN ( 'ui.circ_and_cat.notes.require_initials', 'ui.circ.standing_penalty.require_initials' );
DELETE FROM config.org_unit_setting_type WHERE name IN ( 'ui.circ_and_cat.notes.require_initials', 'ui.circ.standing_penalty.require_initials' );

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

14 years agoalternate version of user_of_interest, called open-ils.collections.users_of_interest...
erickson [Tue, 29 Dec 2009 16:06:55 +0000 (16:06 +0000)]
alternate version of user_of_interest, called open-ils.collections.users_of_interest.warning_penalty.retrieve, which searches for users that have the PATRON_EXCEEDS_COLLECTIONS_WARNING applied within a givin time frame instead of calculating the transaction totals.  Adds a new max_age option to limit how far back we look for users

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

14 years agoadd mbts variant view which includes billing location
miker [Tue, 29 Dec 2009 16:06:10 +0000 (16:06 +0000)]
add mbts variant view which includes billing location

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

14 years agoAdd new view acq.ordered_funding_source_credit, to define priorities
scottmk [Mon, 28 Dec 2009 21:47:36 +0000 (21:47 +0000)]
Add new view acq.ordered_funding_source_credit, to define priorities
for spending from funding source credits.  See COMMENT in
Open-ILS/src/sql/Pg/upgrade/0125.schema.acq-ord-fund-src-credit.sql.

M    Open-ILS/src/sql/Pg/200.schema.acq.sql
M    Open-ILS/src/sql/Pg/002.schema.config.sql
A    Open-ILS/src/sql/Pg/upgrade/0125.schema.acq-ord-fund-src-credit.sql
M    Open-ILS/examples/fm_IDL.xml

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

14 years agoPatch from Lebbeous Fogle-Weekley to wire up more of the booking functionality and...
miker [Mon, 28 Dec 2009 21:40:02 +0000 (21:40 +0000)]
Patch from Lebbeous Fogle-Weekley to wire up more of the booking functionality and provide more interface integration

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

14 years agoremove some speedbump dialogs
phasefx [Mon, 28 Dec 2009 20:30:51 +0000 (20:30 +0000)]
remove some speedbump dialogs

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

14 years agosyntax
phasefx [Mon, 28 Dec 2009 20:05:06 +0000 (20:05 +0000)]
syntax

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

14 years agoAdd an effective_date column to acq.funding_source_credit.
scottmk [Mon, 28 Dec 2009 15:53:00 +0000 (15:53 +0000)]
Add an effective_date column to acq.funding_source_credit.

M    Open-ILS/src/sql/Pg/200.schema.acq.sql
M    Open-ILS/src/sql/Pg/002.schema.config.sql
A    Open-ILS/src/sql/Pg/upgrade/0124.schema.acq-credit-eff-date.sql
M    Open-ILS/examples/fm_IDL.xml

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

14 years agoadded api call that returns the set of users with an overall negative balance, includ...
erickson [Wed, 23 Dec 2009 18:26:24 +0000 (18:26 +0000)]
added api call that returns the set of users with an overall negative balance, including balance owed and last billing activity time, optionally sorted by home org

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

14 years agoWe're not implementing Group summaries and stat cats in the original vertical patron...
phasefx [Wed, 23 Dec 2009 17:04:57 +0000 (17:04 +0000)]
We're not implementing Group summaries and stat cats in the original vertical patron summary sidebar, so protect against those missing elements

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

14 years agoAdd a boolean "rollover" column to acq.fund, to denote
scottmk [Wed, 23 Dec 2009 16:35:17 +0000 (16:35 +0000)]
Add a boolean "rollover" column to acq.fund, to denote
which funds are subject to rollover.

M    Open-ILS/src/sql/Pg/200.schema.acq.sql
M    Open-ILS/src/sql/Pg/002.schema.config.sql
A    Open-ILS/src/sql/Pg/upgrade/0123.schema.acq-fund-rollover.sql
M    Open-ILS/examples/fm_IDL.xml

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

14 years agoremove this speedbump
phasefx [Wed, 23 Dec 2009 14:55:56 +0000 (14:55 +0000)]
remove this speedbump

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

14 years agocheck-in time booking reservation transit receive and op-capture ... no, gmcharlt...
miker [Tue, 22 Dec 2009 21:30:14 +0000 (21:30 +0000)]
check-in time booking reservation transit receive and op-capture ... no, gmcharlt, say THAT 3 times fast!

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

14 years agoChange the default pull list interface and show the total # of holds available for...
phasefx [Tue, 22 Dec 2009 20:28:55 +0000 (20:28 +0000)]
Change the default pull list interface and show the total # of holds available for pulling

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

14 years agopatch from Joe Atzberger to provide support for using SSh keys, including new key...
erickson [Tue, 22 Dec 2009 19:48:40 +0000 (19:48 +0000)]
patch from Joe Atzberger to provide support for using SSh keys, including new key file params and some logic to find keyfiles in the default location

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

14 years agoshow circ rules in Item Details given an active circulation
phasefx [Tue, 22 Dec 2009 19:39:46 +0000 (19:39 +0000)]
show circ rules in Item Details given an active circulation

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

14 years agomethod and associated event definition (not A/T ... OpenILS::Event) for capturing...
miker [Tue, 22 Dec 2009 17:57:15 +0000 (17:57 +0000)]
method and associated event definition (not A/T ... OpenILS::Event) for capturing, and transiting as needed, a resource targeted by a booking reservation

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

14 years agocorrecting code comment
miker [Tue, 22 Dec 2009 17:56:15 +0000 (17:56 +0000)]
correcting code comment

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

14 years agomore node preservation in list.js, and eliminate the Retrieving... label for rows...
phasefx [Tue, 22 Dec 2009 16:50:58 +0000 (16:50 +0000)]
more node preservation in list.js, and eliminate the Retrieving... label for rows that have already been rendered previously and are merely changing their values

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

14 years agoadd workstation library shortname as an option for common.initials.format
phasefx [Tue, 22 Dec 2009 15:32:51 +0000 (15:32 +0000)]
add workstation library shortname as an option for common.initials.format

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