evergreen/bjwebb.git
15 years agoenable the print button for these interfaces
phasefx [Thu, 5 Nov 2009 18:10:39 +0000 (18:10 +0000)]
enable the print button for these interfaces

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

15 years agoremoved validator version of max delay age
erickson [Thu, 5 Nov 2009 02:43:21 +0000 (02:43 +0000)]
removed validator version of max delay age
replaced max delay params with max delay column in seed data for default overdue/courtesy notices
sort between params in trigger max-delay by oldest date first

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

15 years agoGeneric date/timestamp dialog and a change to Shelf Expire Time as an example of...
phasefx [Wed, 4 Nov 2009 22:04:57 +0000 (22:04 +0000)]
Generic date/timestamp dialog and a change to Shelf Expire Time as an example of how to use it.  Need to start plugging it into places like Edit Due Date, etc

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

15 years agowrong identifiers for the plural versions of these strings
phasefx [Wed, 4 Nov 2009 21:28:23 +0000 (21:28 +0000)]
wrong identifiers for the plural versions of these strings

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

15 years agomissed a function export, even though it's harmless to do so with JSAN
phasefx [Wed, 4 Nov 2009 20:10:30 +0000 (20:10 +0000)]
missed a function export, even though it's harmless to do so with JSAN

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

15 years agoadded missing semicolon
erickson [Wed, 4 Nov 2009 19:51:01 +0000 (19:51 +0000)]
added missing semicolon

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

15 years agoforward porting r14769: add max_delay field to optionally pre-invalidate events based...
miker [Wed, 4 Nov 2009 19:43:46 +0000 (19:43 +0000)]
forward porting r14769: add max_delay field to optionally pre-invalidate events based on a delay window, instead of simply the minimum delay time

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

15 years agogui for Edit Shelf Expire Time for holds
phasefx [Wed, 4 Nov 2009 19:32:28 +0000 (19:32 +0000)]
gui for Edit Shelf Expire Time for holds

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

15 years agoShelf Time and Shelf Expire Time columns for holds
phasefx [Wed, 4 Nov 2009 19:07:15 +0000 (19:07 +0000)]
Shelf Time and Shelf Expire Time columns for holds

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

15 years agoadd detail to some error logs. add a few info logs to help detect where we are in...
erickson [Wed, 4 Nov 2009 17:03:05 +0000 (17:03 +0000)]
add detail to some error logs.  add a few info logs to help detect where we are in the process

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

15 years agodon't die silently, let's log some error output to look for patterns
erickson [Wed, 4 Nov 2009 16:23:38 +0000 (16:23 +0000)]
don't die silently, let's log some error output to look for patterns

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

15 years agoSet the encoding for oilsweb templates for systems that haven't set a default charset...
dbs [Wed, 4 Nov 2009 15:08:38 +0000 (15:08 +0000)]
Set the encoding for oilsweb templates for systems that haven't set a default charset header in Apache

This resolves a problem seen on Karmic where corrupted characters
were displayed in Vandelay and other TT2 interfaces.

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

15 years agoAdjust the leader/05 of records that have been deleted or undeleted
dbs [Wed, 4 Nov 2009 05:49:12 +0000 (05:49 +0000)]
Adjust the leader/05 of records that have been deleted or undeleted

Complies with http://www.loc.gov/marc/bibliographic/bdleader.html

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

15 years agotypos
phasefx [Wed, 4 Nov 2009 04:31:17 +0000 (04:31 +0000)]
typos

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

15 years agoInitial support for displaying the type of unit (eg, 'playing
djfiander [Wed, 4 Nov 2009 01:25:28 +0000 (01:25 +0000)]
Initial support for displaying the type of unit (eg, 'playing
cards'); deleted some vestigal code.

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

15 years agoInitial support for displaying the type of unit (eg, 'playing
djfiander [Wed, 4 Nov 2009 01:25:26 +0000 (01:25 +0000)]
Initial support for displaying the type of unit (eg, 'playing
cards'); deleted some vestigal code.

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

15 years agofile was accidentally added during Craftsman skin porting. removing
erickson [Tue, 3 Nov 2009 23:19:09 +0000 (23:19 +0000)]
file was accidentally added during Craftsman skin porting.  removing

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

15 years agoadded support for setting shelf_expire_time to hold requests and clearing shelf expir...
erickson [Tue, 3 Nov 2009 23:16:37 +0000 (23:16 +0000)]
added support for setting shelf_expire_time to hold requests and clearing shelf expire time on hold reset

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

15 years agomake event firing more fault-tolerant to allow continued processing of very large...
erickson [Tue, 3 Nov 2009 23:05:47 +0000 (23:05 +0000)]
make event firing more fault-tolerant to allow continued processing of very large data sets when one event or event group fails

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

15 years agoFor backdating circs post-checkin in the Checkin interface, style the rows for the...
phasefx [Tue, 3 Nov 2009 22:59:14 +0000 (22:59 +0000)]
For backdating circs post-checkin in the Checkin interface, style the rows for the circs affected

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

15 years agotoward easier row refreshing
phasefx [Tue, 3 Nov 2009 22:38:15 +0000 (22:38 +0000)]
toward easier row refreshing

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

15 years agoadded a .count version of the hold pull list. added the prev_dest column to perl...
erickson [Tue, 3 Nov 2009 21:50:04 +0000 (21:50 +0000)]
added a .count version of the hold pull list.  added the prev_dest column to perl cdbi.  reset hold if it goes from non-mint to mint.  capture the prev_dest when a hold transit it changed mid-transit

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

15 years agoAdd column shelf_expire_time to action.hold_request.
scottmk [Tue, 3 Nov 2009 21:38:22 +0000 (21:38 +0000)]
Add column shelf_expire_time to action.hold_request.

If auditor.action_hold_request_history exists, add columns
mint_condition and shelf_expire_time.

M    Open-ILS/src/sql/Pg/090.schema.action.sql
M    Open-ILS/src/sql/Pg/002.schema.config.sql
A    Open-ILS/src/sql/Pg/upgrade/0070.schema.ahr-shelf-expire-time.sql
M    Open-ILS/examples/fm_IDL.xml

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

15 years agouse the individual opcodes instead of the :load tag, which is not supported until...
miker [Tue, 3 Nov 2009 19:46:31 +0000 (19:46 +0000)]
use the individual opcodes instead of the :load tag, which is not supported until opcodes in perl 5.10

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

15 years agoadding count variants of the pull list and status-filtered pull list methods
miker [Tue, 3 Nov 2009 18:54:41 +0000 (18:54 +0000)]
adding count variants of the pull list and status-filtered pull list methods

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

15 years agoAdd column prev_dest to action.transit_copy and
scottmk [Tue, 3 Nov 2009 18:50:40 +0000 (18:50 +0000)]
Add column prev_dest to action.transit_copy and
action.hold_transit_copy.

M    Open-ILS/src/sql/Pg/090.schema.action.sql
M    Open-ILS/src/sql/Pg/002.schema.config.sql
A    Open-ILS/src/sql/Pg/upgrade/0069.schema.atc-prev-dest.sql
M    Open-ILS/examples/fm_IDL.xml

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

15 years agoAdd is_renewal, total_copy_hold_ratio and available_copy_hold_ratio to the IDL
miker [Tue, 3 Nov 2009 18:26:05 +0000 (18:26 +0000)]
Add is_renewal, total_copy_hold_ratio and available_copy_hold_ratio to the IDL

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

15 years agoadding total and available copy-hold ratio support to in-db circ
miker [Tue, 3 Nov 2009 17:49:57 +0000 (17:49 +0000)]
adding total and available copy-hold ratio support to in-db circ

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

15 years agomoving the hold ratio stats function, and fixing a div-by-0 thinko
miker [Tue, 3 Nov 2009 17:46:17 +0000 (17:46 +0000)]
moving the hold ratio stats function, and fixing a div-by-0 thinko

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

15 years agopatch from Lebbeous Fogle-Weekley to add an org setting for default shelf expire...
erickson [Tue, 3 Nov 2009 17:05:10 +0000 (17:05 +0000)]
patch from Lebbeous Fogle-Weekley to add an org setting for default shelf expire interval.  note, no change to 002.schema.config since this upgrade number has been grabbed already

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

15 years agoadding stored procedure for calculating available and total copy/hold ratios for...
miker [Tue, 3 Nov 2009 16:45:20 +0000 (16:45 +0000)]
adding stored procedure for calculating available and total copy/hold ratios for a given copy

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

15 years agomissed these entities for the hold copy quality option
phasefx [Tue, 3 Nov 2009 15:43:45 +0000 (15:43 +0000)]
missed these entities for the hold copy quality option

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

15 years agoPatch from Jeff Godin to make holds placed by staff respect the patron's notification...
dbs [Tue, 3 Nov 2009 04:46:26 +0000 (04:46 +0000)]
Patch from Jeff Godin to make holds placed by staff respect the patron's notification preferences.

The attached patch should fix a bug which resulted in patron notification
preferences (phone/email/both) being ignored in favor of the staff user's
notification preferences when staff place a hold on behalf of another
user.

BUG: When staff place a hold for another user, the staff member's
notification preferences (not the recipient user's) are consulted.

This patch fixes that bug, as well as a bug where notification selections
were not reset between canceled attempts to place holds for different
recipients.

There is also a minor change to grabUserPrefs() regarding which session
variable to send as an auth token (now uses G.user.session, which seems to
be an acceptable convention used elsewhere. This was needed, as the passed
user does not always have a valid session.

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: Jeff Godin <jeff@tcnet.org>
git-svn-id: svn://svn.open-ils.org/ILS/trunk@14735 dcc99617-32d9-48b4-a31d-7c20da2025e4

15 years agothere could be many pending events, up the timeout for inititial fetching
erickson [Tue, 3 Nov 2009 02:42:17 +0000 (02:42 +0000)]
there could be many pending events, up the timeout for inititial fetching

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

15 years agoadd support for, and use, the mint_condition flag on holds and copies; adjust the...
miker [Tue, 3 Nov 2009 01:57:46 +0000 (01:57 +0000)]
add support for, and use, the mint_condition flag on holds and copies; adjust the mint_condition upgrade script -- please ignore the possible failure on the post-COMMIT ALTER TABLE statement, that is generally expected

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

15 years agoFix minor typos for plural versus singular strings, and change a few identifiters...
phasefx [Tue, 3 Nov 2009 00:18:45 +0000 (00:18 +0000)]
Fix minor typos for plural versus singular strings, and change a few identifiters to protect against accidental column collisions.

Meat of this changeset is to allow manipulation of the mint_condition fields on items and holds.  The desired functionality is a way to let holds opt for pristine/complete/or-just-plain-better copies
or not, with the idea being that an item missing pieces or slightly damaged could be marked as mint_condition = false.  I've re-cast mint condition as Quality/Copy Quality as far as labels go, with
Good and Mediocre/Any Copy instead of True or False.  I'm open to better suggestions.  There's some dissonance here with the Damaged copy status.

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

15 years agoindentation
phasefx [Mon, 2 Nov 2009 23:21:55 +0000 (23:21 +0000)]
indentation

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

15 years agoRemove restriction of editing pickup-lib for holds in transit
phasefx [Mon, 2 Nov 2009 23:17:16 +0000 (23:17 +0000)]
Remove restriction of editing pickup-lib for holds in transit

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

15 years agoChange default of mint_condition to true
scottmk [Mon, 2 Nov 2009 22:48:15 +0000 (22:48 +0000)]
Change default of mint_condition to true

M    Pg/090.schema.action.sql
M    Pg/040.schema.asset.sql

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

15 years agoChange default to true
scottmk [Mon, 2 Nov 2009 22:46:38 +0000 (22:46 +0000)]
Change default to true

M    upgrade/0065.schema.mint_condition.sql

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

15 years agoReintroduce the previous Charge Patron for Damage? dialog for its conciseness, but...
phasefx [Mon, 2 Nov 2009 22:29:14 +0000 (22:29 +0000)]
Reintroduce the previous Charge Patron for Damage? dialog for its conciseness, but add option for modifying the billing

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

15 years agoAdd mint_condition column to asset.copy, auditor.asset_copy_history,
scottmk [Mon, 2 Nov 2009 22:08:15 +0000 (22:08 +0000)]
Add mint_condition column to asset.copy, auditor.asset_copy_history,
and action.hold_request.

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

15 years agoadded option to override the note for when overriding the damaged item billing amount
erickson [Mon, 2 Nov 2009 21:44:01 +0000 (21:44 +0000)]
added option to override the note for when overriding the damaged item billing amount

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

15 years agocalculate change
phasefx [Mon, 2 Nov 2009 19:24:40 +0000 (19:24 +0000)]
calculate change

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

15 years agoremoved reference to 'percent' on fund allocation. corrected foreign key syntax...
erickson [Mon, 2 Nov 2009 16:31:50 +0000 (16:31 +0000)]
removed reference to 'percent' on fund allocation.  corrected foreign key syntax for org seting perm

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

15 years agowire up Bill Patron, and have it append to the list without refreshing the whole...
phasefx [Mon, 2 Nov 2009 07:28:26 +0000 (07:28 +0000)]
wire up Bill Patron, and have it append to the list without refreshing the whole display

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

15 years agosome refactoring. redistribute payment when Payment Received field changes its value...
phasefx [Mon, 2 Nov 2009 07:15:50 +0000 (07:15 +0000)]
some refactoring.  redistribute payment when Payment Received field changes its value and leaves focus, or when the field is in focus and the enter key is pressed.  In the case of the Enter key while in that field, switch focus to the Apply Payment button, so that a subsequent enter press would apply the payment

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

15 years agoFEATURE: bill patron dialog on mark item damage given certain org settings. allows...
phasefx [Mon, 2 Nov 2009 06:47:32 +0000 (06:47 +0000)]
FEATURE: bill patron dialog on mark item damage given certain org settings.  allows you to override the item price for the purpose of billing and optionally specify an arbitrary billing type.  TODO: see if we need to either disable the note field in the dialog or have the middle layer make use of it.  See if we need to display both the billing type and the btype in the bills interface, or if the btype is meant to replace the billing type

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

15 years agoFEATURE: Renew with Specific Due Date option for Items Out interface. DEV NOTES...
phasefx [Mon, 2 Nov 2009 03:07:37 +0000 (03:07 +0000)]
FEATURE: Renew with Specific Due Date option for Items Out interface.  DEV NOTES: Some refactoring.  Would this style of commit message be useful for change logs?  Some keywords like FEATURE or BUGFIX for stuff meant to be more widely read?  Or alternately, we could use development branches for intermediate work/commits, and reserve trunk and the release branches for changelog worthy commits?  I personally don't mind reviewing 'typo' and 'oops' changesets that fly by.  :)

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

15 years agothese make more sense in the overlay
phasefx [Mon, 2 Nov 2009 02:11:42 +0000 (02:11 +0000)]
these make more sense in the overlay

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

15 years agoexit with help if the script is not told to process any hooks or run pending events
erickson [Mon, 2 Nov 2009 01:54:49 +0000 (01:54 +0000)]
exit with help if the script is not told to process any hooks or run pending events

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

15 years agoadded explicit --process-hooks flag to turn on hook event creation. This allows...
erickson [Mon, 2 Nov 2009 01:48:16 +0000 (01:48 +0000)]
added explicit --process-hooks flag to turn on hook event creation.  This allows the script to run in --run-pending mode without trying to create hook events from default values

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

15 years agodue date entry option for dedicated renewal interface
phasefx [Mon, 2 Nov 2009 00:41:47 +0000 (00:41 +0000)]
due date entry option for dedicated renewal interface

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

15 years agorepaired more upgrade script names that were missing .schema.
erickson [Fri, 30 Oct 2009 18:08:49 +0000 (18:08 +0000)]
repaired more upgrade script names that were missing .schema.

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

15 years agorepaired upgrade script name
erickson [Fri, 30 Oct 2009 18:06:35 +0000 (18:06 +0000)]
repaired upgrade script name

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

15 years agorepaired upgrade script name
erickson [Fri, 30 Oct 2009 18:06:22 +0000 (18:06 +0000)]
repaired upgrade script name

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

15 years agocreated a new ApplyPatronPenalty A/T reactor
erickson [Fri, 30 Oct 2009 17:55:52 +0000 (17:55 +0000)]
created a new ApplyPatronPenalty A/T reactor

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

15 years agoadded support for overrideing the amount to charge the patron when an item is marked...
erickson [Fri, 30 Oct 2009 14:34:43 +0000 (14:34 +0000)]
added support for overrideing the amount to charge the patron when an item is marked as damaged

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

15 years agowrap permission and status check around hold request time changing
erickson [Fri, 30 Oct 2009 13:46:41 +0000 (13:46 +0000)]
wrap permission and status check around hold request time changing

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

15 years agoPatch from J. Atzberger to change SAN datatype to TEXT
erickson [Fri, 30 Oct 2009 13:24:18 +0000 (13:24 +0000)]
Patch from J. Atzberger to change SAN datatype to TEXT

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

15 years agorepaired function name and JSON
erickson [Fri, 30 Oct 2009 13:18:10 +0000 (13:18 +0000)]
repaired function name and JSON

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

15 years agoadd a validator (for stacking) to optionally check the age of an event target
miker [Fri, 30 Oct 2009 02:52:49 +0000 (02:52 +0000)]
add a validator (for stacking) to optionally check the age of an event target

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

15 years agowhen changing the pickup lib of a hold that is already on the shelf, create a hold...
erickson [Thu, 29 Oct 2009 21:43:14 +0000 (21:43 +0000)]
when changing the pickup lib of a hold that is already on the shelf, create a hold-transit-copy not just a regular transit-copy

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

15 years agoadded permission protected way to change a hold's pickup lib while in transit. curre...
erickson [Thu, 29 Oct 2009 21:37:55 +0000 (21:37 +0000)]
added permission protected way to change a hold's pickup lib while in transit.  current implementation just updates the transit destination

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

15 years agoteach the IDL how to teach JSON_v1 how to load classes when they are not yet loaded...
miker [Thu, 29 Oct 2009 19:47:53 +0000 (19:47 +0000)]
teach the IDL how to teach JSON_v1 how to load classes when they are not yet loaded ... heh

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

15 years agotoggle for displaying normal holds and cancelled holds in patron display
phasefx [Thu, 29 Oct 2009 19:46:48 +0000 (19:46 +0000)]
toggle for displaying normal holds and cancelled holds in patron display

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

15 years agoadded feauture to org unit settings interface to display friendly values and selector...
erickson [Thu, 29 Oct 2009 18:55:18 +0000 (18:55 +0000)]
added feauture to org unit settings interface to display friendly values and selector widgets for settings with type of 'link' where pcrud for the link type is supported

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

15 years agoteach AutoIDL how to load just a subset of classes
miker [Thu, 29 Oct 2009 17:55:49 +0000 (17:55 +0000)]
teach AutoIDL how to load just a subset of classes

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

15 years agoadd INCLUDES processing back into the example apache config, in preparation for i18n...
miker [Thu, 29 Oct 2009 17:19:40 +0000 (17:19 +0000)]
add INCLUDES processing back into the example apache config, in preparation for i18n-izing IDLCHUNK

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

15 years agoadd partial IDL vivication support to fieldmapper.[Auto]IDL
miker [Thu, 29 Oct 2009 17:18:59 +0000 (17:18 +0000)]
add partial IDL vivication support to fieldmapper.[Auto]IDL

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

15 years agorevert the dojo-ification from yesterday
miker [Thu, 29 Oct 2009 15:43:25 +0000 (15:43 +0000)]
revert the dojo-ification from yesterday

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

15 years agocombined patch from Lebbeous Fogle-Weekley to add option of overriding the default...
erickson [Thu, 29 Oct 2009 15:29:35 +0000 (15:29 +0000)]
combined patch from Lebbeous Fogle-Weekley to add option of overriding the default billing address and first/last when creating CC payments and converts a pile of tabs to 4-char spaces

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

15 years agovivicate from the lowest-common-denominator
miker [Thu, 29 Oct 2009 15:09:48 +0000 (15:09 +0000)]
vivicate from the lowest-common-denominator

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

15 years agouse return instead of continue to exit the foreach function
erickson [Thu, 29 Oct 2009 14:24:07 +0000 (14:24 +0000)]
use return instead of continue to exit the foreach function

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

15 years agoadded API call for just grabbing canceled holds
erickson [Thu, 29 Oct 2009 13:30:46 +0000 (13:30 +0000)]
added API call for just grabbing canceled holds

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

15 years agouse more dojo-tastic methods
miker [Thu, 29 Oct 2009 13:30:25 +0000 (13:30 +0000)]
use more dojo-tastic methods

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

15 years agoRemove the percent column from acq.fund_allocation. Make the
scottmk [Thu, 29 Oct 2009 13:25:00 +0000 (13:25 +0000)]
Remove the percent column from acq.fund_allocation.  Make the
amount column NOT NULL.

Remove references to the percent column from the views
acq.fund_allocation_total and acq.funding_source_allocation_total.

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/0061.schema.acqfa_no_percent.sql

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

15 years agoSome refactoring and payment distribution logic. Refunds have the same limitation...
phasefx [Thu, 29 Oct 2009 06:59:14 +0000 (06:59 +0000)]
Some refactoring and payment distribution logic.  Refunds have the same limitation as before in that they only get further applied to subsequent bills in the list.  We could either put refundable transactions at the top of the
list by default (maybe a good idea for making them more prominent if nothing else), and/or we could make a second pass over the list whenever money is left over.

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

15 years agotweak some of the debug output here
phasefx [Thu, 29 Oct 2009 05:29:33 +0000 (05:29 +0000)]
tweak some of the debug output here

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

15 years agoparams.on_retrieve() inside a retrieve_row handler must run at least once when that...
phasefx [Thu, 29 Oct 2009 05:28:15 +0000 (05:28 +0000)]
params.on_retrieve() inside a retrieve_row handler must run at least once when that handler is invoked, otherwise the row will get stuck on "Refreshing..."

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

15 years agosilence most of the debug chatter and tweak the configuration behavior some
phasefx [Thu, 29 Oct 2009 05:11:52 +0000 (05:11 +0000)]
silence most of the debug chatter and tweak the configuration behavior some

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

15 years agoreverting previous change and correcting the use of target_weight -- I had not comple...
miker [Thu, 29 Oct 2009 03:13:46 +0000 (03:13 +0000)]
reverting previous change and correcting the use of target_weight -- I had not completed the logic

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

15 years agomodified patch from Steve Callender; exposes the patron 'alias' field in the Receipt...
phasefx [Thu, 29 Oct 2009 02:18:36 +0000 (02:18 +0000)]
modified patch from Steve Callender; exposes the patron 'alias' field in the Receipt Template Editor as %PATRON_ALIAS%.  There's also a %PATRON_ALIAS_OR_FIRSTNAME% macro that will show the alias, or the first name if alias is unset

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

15 years agosimplify fieldmapper class building and reduce duplicated code
miker [Thu, 29 Oct 2009 01:01:44 +0000 (01:01 +0000)]
simplify fieldmapper class building and reduce duplicated code

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

15 years agoadding specialized apache module for returning specific classes from the IDL xml
miker [Thu, 29 Oct 2009 01:00:26 +0000 (01:00 +0000)]
adding specialized apache module for returning specific classes from the IDL xml

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

15 years agopatch from J. Atzberger to add the IDL entry for the new SAN column
erickson [Wed, 28 Oct 2009 21:52:02 +0000 (21:52 +0000)]
patch from J. Atzberger to add the IDL entry for the new SAN column

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

15 years agopatch from Joe Atzberger to add a SAN (Standard Address Number) to the ACQ provider...
erickson [Wed, 28 Oct 2009 21:22:32 +0000 (21:22 +0000)]
patch from Joe Atzberger to add a SAN (Standard Address Number) to the ACQ provider table. next up, the IDL entries.

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

15 years agobecause lists are pre-pending rows by default now, let's reverse the hold order here...
phasefx [Wed, 28 Oct 2009 20:51:13 +0000 (20:51 +0000)]
because lists are pre-pending rows by default now, let's reverse the hold order here so that they match what the server gives us

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

15 years agofix some indentation from the great tab to space conversion
phasefx [Wed, 28 Oct 2009 20:49:13 +0000 (20:49 +0000)]
fix some indentation from the great tab to space conversion

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

15 years agotarget_weight must evaluate to false by default, or will result in an infinite loop...
erickson [Wed, 28 Oct 2009 20:11:44 +0000 (20:11 +0000)]
target_weight must evaluate to false by default, or will result in an infinite loop caused by (1..{})

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

15 years agopickup_lib is an object. stringify to get the ID for the remote call
erickson [Wed, 28 Oct 2009 19:52:58 +0000 (19:52 +0000)]
pickup_lib is an object.  stringify to get the ID for the remote call

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

15 years agofixed typo in JOIN clause
erickson [Wed, 28 Oct 2009 19:22:42 +0000 (19:22 +0000)]
fixed typo in JOIN clause

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

15 years agoadd support for sorting the pull list by asset.copy_location_order when set
miker [Wed, 28 Oct 2009 17:41:55 +0000 (17:41 +0000)]
add support for sorting the pull list by asset.copy_location_order when set

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

15 years agoAdd CREATE statement for asset.copy_location_order
scottmk [Wed, 28 Oct 2009 16:57:09 +0000 (16:57 +0000)]
Add CREATE statement for asset.copy_location_order

M    Pg/040.schema.asset.sql

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

15 years agoplugged in load time ordering and apply changes operation to delete old order entries...
erickson [Wed, 28 Oct 2009 15:59:14 +0000 (15:59 +0000)]
plugged in load time ordering and apply changes operation to delete old order entries and create new ones

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

15 years agoturned location ordering into a drag-n-dop ui. TODO, plug in the Apply operation...
erickson [Wed, 28 Oct 2009 13:52:36 +0000 (13:52 +0000)]
turned location ordering into a drag-n-dop ui.  TODO, plug in the Apply operation to delete and re-created order entries

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

15 years agoadded menu entry for new copy location ordering interface
erickson [Wed, 28 Oct 2009 13:51:55 +0000 (13:51 +0000)]
added menu entry for new copy location ordering interface

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

15 years agoThem thar comments needs them some semicolons to be valid SQL
dbs [Wed, 28 Oct 2009 03:00:02 +0000 (03:00 +0000)]
Them thar comments needs them some semicolons to be valid SQL

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

15 years agoForward-porting patch from James Fournie to increase the width of of the state/provin...
miker [Wed, 28 Oct 2009 01:09:34 +0000 (01:09 +0000)]
Forward-porting patch from James Fournie to increase the width of of the state/province field from 2 to 3 characters, for ISO 3166-2 compliance

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

15 years agoforward-porting r14636: correct ambiguous select including upgrade script; also,...
miker [Tue, 27 Oct 2009 20:55:30 +0000 (20:55 +0000)]
forward-porting r14636: correct ambiguous select including upgrade script; also, fixing thinko in previous upgrade script

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