evergreen/bjwebb.git
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

14 years agomore convenience from ses()
phasefx [Tue, 22 Dec 2009 15:26:41 +0000 (15:26 +0000)]
more convenience from ses()

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

14 years agowire up Show in Catalog action for bills interface
phasefx [Tue, 22 Dec 2009 12:10:03 +0000 (12:10 +0000)]
wire up Show in Catalog action for bills interface

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

14 years agoMisc tweaks to billing interface and list infrastructure.
phasefx [Tue, 22 Dec 2009 10:32:14 +0000 (10:32 +0000)]
Misc tweaks to billing interface and list infrastructure.

Fix mislabeled column for title in payments history interface.
Support preservation of treecell properties, and style specific columns in the bills interface instead of whole rows.
Support immediate fleshing of rows in lists, and do such in the bills interface since the various tallies in that interface depend on the data being fully retrieved.

TODO:

Revisit the preservation of treecell properties.  May be some unintended consequences to not blowing away and re-creating the treecell elements when refreshing rows in a list.  Hrmm, perhaps a field being unset but its previous value still being rendered.

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

14 years agoadded support for cherry-picking transactions to pay
erickson [Mon, 21 Dec 2009 22:22:07 +0000 (22:22 +0000)]
added support for cherry-picking transactions to pay

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

14 years agowhen un-hiding tbody, use table-row-group as the display type to prevent formatting...
erickson [Mon, 21 Dec 2009 21:28:16 +0000 (21:28 +0000)]
when un-hiding tbody, use table-row-group as the display type to prevent formatting problems

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

14 years agoadding a new system status for "on reservation shelf", re booking
miker [Mon, 21 Dec 2009 21:18:27 +0000 (21:18 +0000)]
adding a new system status for "on reservation shelf", re booking

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

14 years agoadded support for abort transit -> check in -> check out in self check when COPY_IN_T...
erickson [Mon, 21 Dec 2009 20:22:35 +0000 (20:22 +0000)]
added support for abort transit -> check in -> check out in self check when COPY_IN_TRANSIT is added to the self-check override list

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

14 years agoadded support to self-check for handling lost items. If COPY_STATUS_LOST is in the...
erickson [Mon, 21 Dec 2009 20:07:06 +0000 (20:07 +0000)]
added support to self-check for handling lost items.  If COPY_STATUS_LOST is in the self-check override list, the system will forcably check the item in then check it out to the new patron

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

14 years agothinko during reservation code changes, spotted by Bill
miker [Mon, 21 Dec 2009 20:02:20 +0000 (20:02 +0000)]
thinko during reservation code changes, spotted by Bill

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

14 years agowhen an open circ exists during checkout, go ahead and return the copy in the event...
erickson [Mon, 21 Dec 2009 19:38:18 +0000 (19:38 +0000)]
when an open circ exists during checkout, go ahead and return the copy in the event payload

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

14 years agomove the credit card payable balance summary into the the public circ service
erickson [Mon, 21 Dec 2009 16:46:37 +0000 (16:46 +0000)]
move the credit card payable balance summary into the the public circ service

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

14 years agoinitial support for credit card payments via selfcheck. 2 caveats. 1) the code...
erickson [Mon, 21 Dec 2009 16:33:23 +0000 (16:33 +0000)]
initial support for credit card payments via selfcheck.  2 caveats.  1) the code does not (yet) support cherry-picking transactions to pay, it instead pays the oldest transactions first if the payment amount is less than the total owed.  2) it does not differentiate between transactions that started at (or having billings at) locations that do not support credit card payments.  Until (and if) support for differentiation is added, if the current location supports CC payments, all transactions are fair game for payment

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

14 years agoPatch from Lebbeous Fogle-Weekley to add booking reservation interfaces, supporting...
miker [Mon, 21 Dec 2009 16:21:48 +0000 (16:21 +0000)]
Patch from Lebbeous Fogle-Weekley to add booking reservation interfaces, supporting backend changes and IDL cleanup.  It's ... big.

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

14 years ago1. It's okay for a virtual field not to have a datatype.
scottmk [Mon, 21 Dec 2009 15:44:40 +0000 (15:44 +0000)]
1. It's okay for a virtual field not to have a datatype.

2. The "array_position" attribute is flagged by a warning
as deprecated.

M    Open-ILS/src/c-apps/idlval.c

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

14 years agoAdd new table acq.fund_transfer
scottmk [Mon, 21 Dec 2009 14:30:49 +0000 (14:30 +0000)]
Add new table acq.fund_transfer

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/0121.schema.acq_fund_transfer.sql
M    Open-ILS/examples/fm_IDL.xml

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

14 years agoBacking out a premature commit that I made inadvertently...
scottmk [Sun, 20 Dec 2009 06:43:10 +0000 (06:43 +0000)]
Backing out a premature commit that I made inadvertently...

M    Pg/999.functions.global.sql

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

14 years ago1. In the parent router process: wait for all of the immediate
scottmk [Sat, 19 Dec 2009 21:29:00 +0000 (21:29 +0000)]
1. In the parent router process: wait for all of the immediate
child processes to terminate before exiting.

This change eliminates the need for the shell script invoking
the router to sleep before running a ps to identify the effective
router processes (which are grandchildren of the parent).  By the
time the parent exits, the children will have launched the
grandchildren and exited.

2. If any of the immediate child processes terminates abnormally
(either a non-zero return code or termination by a signal), issue
a warning message to that effect.  This message goes to standard
error, since the parent process never opens a log file.

3. Apply the volatile qualifier to a couple of variables that
are updated asynchronously by a signal handler.

M    Open-ILS/src/sql/Pg/999.functions.global.sql

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

14 years agosyntax
phasefx [Fri, 18 Dec 2009 21:55:56 +0000 (21:55 +0000)]
syntax

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

14 years agopatch from Joe Atzberger to retrofit i18n'ed text descriptions for action/trigger...
erickson [Fri, 18 Dec 2009 21:45:58 +0000 (21:45 +0000)]
patch from Joe Atzberger to retrofit i18n'ed text descriptions for action/trigger reactor seed data

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

14 years agoonly set the value on a pre-defined widget when no value has been provided
erickson [Fri, 18 Dec 2009 21:29:40 +0000 (21:29 +0000)]
only set the value on a pre-defined widget when no value has been provided

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

14 years agoPatch from Joe Atzberger to add a generic SendFile reactor. Can be used for sending...
erickson [Fri, 18 Dec 2009 20:59:38 +0000 (20:59 +0000)]
Patch from Joe Atzberger to add a generic SendFile reactor.  Can be used for sending files to 3rd parties for process (e.g. mailed notices)

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

14 years agoApply patch from Warren Layton to fix marc2sre.pl options
dbs [Fri, 18 Dec 2009 20:15:57 +0000 (20:15 +0000)]
Apply patch from Warren Layton to fix marc2sre.pl options

Attached is a small patch (against trunk) which fixes the GetOptions
in marc2sre.xml. It fixes a small bug with the "idsubfield" parameter,
and changes "idfield" to accept a string instead of an int (to match
the behaviour of marc2bre.pl).

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

14 years agoRemove duplicate mapping for open-ils.ingest.full.serial.object.readonly
dbs [Fri, 18 Dec 2009 20:08:03 +0000 (20:08 +0000)]
Remove duplicate mapping for open-ils.ingest.full.serial.object.readonly

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

14 years agomake the multiple splitter widgets behave better (otherwise you can shrink the list...
phasefx [Fri, 18 Dec 2009 17:53:54 +0000 (17:53 +0000)]
make the multiple splitter widgets behave better (otherwise you can shrink the list and not be able to unshrink it)

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

14 years agoadd leading 0 for filename consistency
erickson [Fri, 18 Dec 2009 14:26:48 +0000 (14:26 +0000)]
add leading 0 for filename consistency

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

14 years agoChanged last line from "BEGIN;", an obvious blooper, to "COMMIT;".
scottmk [Fri, 18 Dec 2009 13:40:11 +0000 (13:40 +0000)]
Changed last line from "BEGIN;", an obvious blooper, to "COMMIT;".

M    upgrade/0118.schema.collections-penalty.sql

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

14 years agopatron.properties: Property name tweak (s/spwan/spawn/), new properties for new label...
phasefx [Thu, 17 Dec 2009 22:24:18 +0000 (22:24 +0000)]
patron.properties: Property name tweak (s/spwan/spawn/), new properties for new labels and columns in Members Group interface.

info_group.js, info_group.xul: split out the javascript from info_group.xul, refactored it, and added columns for circulation
counts and balance owed, and added labels to sum those across group members.

util.js, tweaked patron.util.retrieve_fleshed_au_via_id so that the 3rd parameter is an optional request callback to make the
function asynchronous

summary.js, added a sort_type to the balance owed column in the patron summary group tab panel

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

14 years agoadd tracking table for booking reservations transits (similar to hold transits)
miker [Thu, 17 Dec 2009 21:49:05 +0000 (21:49 +0000)]
add tracking table for booking reservations transits (similar to hold transits)

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

14 years agoadded a new system penalty called PATRON_IN_COLLECTIONS. this allows staff to define...
erickson [Thu, 17 Dec 2009 21:17:52 +0000 (21:17 +0000)]
added a new system penalty called PATRON_IN_COLLECTIONS.  this allows staff to define penalty blocks, allows the system to clear the blocks in real time when the patron pays back down to the configured threshold, and we get staff client alerts for free.

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

14 years agobill Full Details and Show Last Few Circs uses the old item details pane. This clean...
phasefx [Thu, 17 Dec 2009 18:41:26 +0000 (18:41 +0000)]
bill Full Details and Show Last Few Circs uses the old item details pane.  This cleans up that pane a bit (list actions and sticky view) and gives it a Show in OPAC button.

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