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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
dbs [Tue, 27 Oct 2009 19:02:15 +0000 (19:02 +0000)]
Update find_orphaned_reports.pl to modern Evergreen (with apologies to chromatic):
* prefer non-deprecated reporter database settings
* use opensrf_core.xml instead of bootstrap.conf
* fix typo (boostrap -> bootstrap)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@14632
dcc99617-32d9-48b4-a31d-
7c20da2025e4
miker [Tue, 27 Oct 2009 19:01:09 +0000 (19:01 +0000)]
add view and change permission slots to config.org_unit_setting_type, for controlling access to specific ou settings
git-svn-id: svn://svn.open-ils.org/ILS/trunk@14631
dcc99617-32d9-48b4-a31d-
7c20da2025e4
miker [Tue, 27 Oct 2009 18:12:07 +0000 (18:12 +0000)]
actually use JSON syntax, not perl
git-svn-id: svn://svn.open-ils.org/ILS/trunk@14630
dcc99617-32d9-48b4-a31d-
7c20da2025e4
miker [Tue, 27 Oct 2009 16:57:29 +0000 (16:57 +0000)]
move the hook configuration out to a config file (action_trigger_filters.json.example); default to the list of hooks in that file if none are specified; use try/otherwise instead of eval/$@
git-svn-id: svn://svn.open-ils.org/ILS/trunk@14629
dcc99617-32d9-48b4-a31d-
7c20da2025e4
erickson [Tue, 27 Oct 2009 14:44:20 +0000 (14:44 +0000)]
Patch from Lebbeous Fogle-Weekley to fine-tune credit card payment support in the the staff client.
This adds support for differentiating between in-band (using credit card processor) and
out-of-band (using external CC mechamism) in the staff client and payment entries
git-svn-id: svn://svn.open-ils.org/ILS/trunk@14628
dcc99617-32d9-48b4-a31d-
7c20da2025e4
erickson [Tue, 27 Oct 2009 12:42:08 +0000 (12:42 +0000)]
also clear cancel cause and note during un-cancel
git-svn-id: svn://svn.open-ils.org/ILS/trunk@14627
dcc99617-32d9-48b4-a31d-
7c20da2025e4
erickson [Tue, 27 Oct 2009 12:26:04 +0000 (12:26 +0000)]
canceled holds, when they exist, happened in the past, not the future
git-svn-id: svn://svn.open-ils.org/ILS/trunk@14626
dcc99617-32d9-48b4-a31d-
7c20da2025e4
phasefx [Tue, 27 Oct 2009 07:09:48 +0000 (07:09 +0000)]
wire up Top of Queue toggle for staff client hold interface
git-svn-id: svn://svn.open-ils.org/ILS/trunk@14625
dcc99617-32d9-48b4-a31d-
7c20da2025e4
phasefx [Tue, 27 Oct 2009 06:45:58 +0000 (06:45 +0000)]
wire up un-cancel hold action in the staff client
git-svn-id: svn://svn.open-ils.org/ILS/trunk@14624
dcc99617-32d9-48b4-a31d-
7c20da2025e4
phasefx [Tue, 27 Oct 2009 06:35:52 +0000 (06:35 +0000)]
List columns for hold cancel reason, cancel note, and cancel time. Display them by default if either of the two org unit settings that control display of cancelled holds are set.
git-svn-id: svn://svn.open-ils.org/ILS/trunk@14623
dcc99617-32d9-48b4-a31d-
7c20da2025e4
erickson [Tue, 27 Oct 2009 02:58:06 +0000 (02:58 +0000)]
started on a copy location order interface
git-svn-id: svn://svn.open-ils.org/ILS/trunk@14615
dcc99617-32d9-48b4-a31d-
7c20da2025e4
phasefx [Tue, 27 Oct 2009 02:39:59 +0000 (02:39 +0000)]
Tweak the Record In-House Use interface so that it has sound, a larger textbox for the '# of uses' field, and org unit settings that control the warning threshold and max allowed value for '# of uses'. Exceeding the cap no longer
sets the value to the cap.
git-svn-id: svn://svn.open-ils.org/ILS/trunk@14613
dcc99617-32d9-48b4-a31d-
7c20da2025e4
erickson [Mon, 26 Oct 2009 21:11:18 +0000 (21:11 +0000)]
since showing title/auther will be common in predue, overdue, billing, etc. notices, provide a helper routine to get the title/author for given a copy. this does the precat dance as well. Removed the get_user_fines_summary helper routine since we can now flesh the 'mus' directly on the user
git-svn-id: svn://svn.open-ils.org/ILS/trunk@14612
dcc99617-32d9-48b4-a31d-
7c20da2025e4
erickson [Mon, 26 Oct 2009 16:43:12 +0000 (16:43 +0000)]
general purpose action/trigger event creator and runner. see --help for usage
git-svn-id: svn://svn.open-ils.org/ILS/trunk@14611
dcc99617-32d9-48b4-a31d-
7c20da2025e4
miker [Mon, 26 Oct 2009 15:50:41 +0000 (15:50 +0000)]
make the date math a bit more maintainable
git-svn-id: svn://svn.open-ils.org/ILS/trunk@14607
dcc99617-32d9-48b4-a31d-
7c20da2025e4
phasefx [Mon, 26 Oct 2009 15:37:48 +0000 (15:37 +0000)]
Org unit setting for auto-hiding the patron summary sidebar
git-svn-id: svn://svn.open-ils.org/ILS/trunk@14606
dcc99617-32d9-48b4-a31d-
7c20da2025e4
erickson [Mon, 26 Oct 2009 15:15:39 +0000 (15:15 +0000)]
updated the max_delay_age date math, added comments
git-svn-id: svn://svn.open-ils.org/ILS/trunk@14605
dcc99617-32d9-48b4-a31d-
7c20da2025e4
dbs [Mon, 26 Oct 2009 14:31:56 +0000 (14:31 +0000)]
Scrub smartquotes / emdashes from JSONGrammar.xml as well
git-svn-id: svn://svn.open-ils.org/ILS/trunk@14604
dcc99617-32d9-48b4-a31d-
7c20da2025e4
dbs [Mon, 26 Oct 2009 14:30:26 +0000 (14:30 +0000)]
Kill smart quotes and emdashes beloved by MS Word and despised by the rest of the world
This enables openjade-based DocBook processing toolchains to actually transform the document.
git-svn-id: svn://svn.open-ils.org/ILS/trunk@14603
dcc99617-32d9-48b4-a31d-
7c20da2025e4
dbs [Mon, 26 Oct 2009 14:28:57 +0000 (14:28 +0000)]
Resurrect JSON grammar and tutorial that were blown away by r13990.
git-svn-id: svn://svn.open-ils.org/ILS/trunk@14602
dcc99617-32d9-48b4-a31d-
7c20da2025e4
miker [Mon, 26 Oct 2009 14:07:45 +0000 (14:07 +0000)]
allow the CircIsOpen and CircIsOverdue validators to reuse the MaxPassiveDelayAge validator in the presense of a max_delay_age param
git-svn-id: svn://svn.open-ils.org/ILS/trunk@14601
dcc99617-32d9-48b4-a31d-
7c20da2025e4
erickson [Mon, 26 Oct 2009 13:57:38 +0000 (13:57 +0000)]
seed data for sample pre-due notice. added delay age param (1 day) to sample overdue notice
git-svn-id: svn://svn.open-ils.org/ILS/trunk@14600
dcc99617-32d9-48b4-a31d-
7c20da2025e4
erickson [Sun, 25 Oct 2009 20:21:46 +0000 (20:21 +0000)]
added some links from the user object to the user's accumulated money summary and open billable transactions summaries
git-svn-id: svn://svn.open-ils.org/ILS/trunk@14593
dcc99617-32d9-48b4-a31d-
7c20da2025e4
erickson [Sun, 25 Oct 2009 19:01:08 +0000 (19:01 +0000)]
when testing for existing events (to prevent duplicates) don't test for the presence of events linked to the previous event def in the loop. when fetching targets, only fetch the identifier column since it is all that is needed to create the event (and there could be many objects for passive events). increase the search timeout for event targets
git-svn-id: svn://svn.open-ils.org/ILS/trunk@14589
dcc99617-32d9-48b4-a31d-
7c20da2025e4
miker [Sat, 24 Oct 2009 01:05:50 +0000 (01:05 +0000)]
add passive event validator to stop events that are too far past the delay_field-based timeout; add BEGIN to a previous upgrade script for correctness
git-svn-id: svn://svn.open-ils.org/ILS/trunk@14588
dcc99617-32d9-48b4-a31d-
7c20da2025e4
phasefx [Fri, 23 Oct 2009 22:34:17 +0000 (22:34 +0000)]
Make use of streaming batch hold update method in staff client and tie it to a progress meter
git-svn-id: svn://svn.open-ils.org/ILS/trunk@14587
dcc99617-32d9-48b4-a31d-
7c20da2025e4
scottmk [Fri, 23 Oct 2009 20:57:28 +0000 (20:57 +0000)]
Add a couple of link entries related to the new
table asset.copy_location_order.
M Open-ILS/examples/fm_IDL.xml
git-svn-id: svn://svn.open-ils.org/ILS/trunk@14586
dcc99617-32d9-48b4-a31d-
7c20da2025e4
scottmk [Fri, 23 Oct 2009 20:45:20 +0000 (20:45 +0000)]
Create new table asset.copy_location_order, and a new permission
for administering it.
M Open-ILS/src/sql/Pg/002.schema.config.sql
A Open-ILS/src/sql/Pg/upgrade/0052.schema.asset_copy_location_order.sql
M Open-ILS/src/sql/Pg/950.data.seed-values.sql
M Open-ILS/examples/fm_IDL.xml
git-svn-id: svn://svn.open-ils.org/ILS/trunk@14585
dcc99617-32d9-48b4-a31d-
7c20da2025e4
erickson [Fri, 23 Oct 2009 18:47:39 +0000 (18:47 +0000)]
make batch hold update streaming and perform each update within its own transaction
git-svn-id: svn://svn.open-ils.org/ILS/trunk@14584
dcc99617-32d9-48b4-a31d-
7c20da2025e4
erickson [Fri, 23 Oct 2009 18:43:57 +0000 (18:43 +0000)]
added support for passing in key/val pairs for hold update, instead of the entire hold object. added open-ils.circ.hold.update.batch which expects either an array of holds as second param, or list of key/value hashes as 3rd param
git-svn-id: svn://svn.open-ils.org/ILS/trunk@14583
dcc99617-32d9-48b4-a31d-
7c20da2025e4
miker [Fri, 23 Oct 2009 17:21:03 +0000 (17:21 +0000)]
Patch from Warren Layton which fixes the behavior of the new Org Unit
configuration interfaces. Moving from raw open-ils.pcrud service calls to the
handy openils.PermaCrud dojo module.
Applied with minor editorialization to remove some duplicated code.
git-svn-id: svn://svn.open-ils.org/ILS/trunk@14579
dcc99617-32d9-48b4-a31d-
7c20da2025e4
phasefx [Fri, 23 Oct 2009 16:44:22 +0000 (16:44 +0000)]
Another monster patch. Change each tab to 4 spaces in the staff client xul, html, and css files.
Did this to effect the change:
find . -name '*.xul' -exec sed -i 's/\t/ /g' {} \;
find . -name '*html' -exec sed -i 's/\t/ /g' {} \;
find . -name '*.css' -exec sed -i 's/\t/ /g' {} \;
Statements like dump('\t\tFoo\n'); are unaffected.
I imagine we'll need to realign and reindent things as we encounter visual ugliness.
git-svn-id: svn://svn.open-ils.org/ILS/trunk@14578
dcc99617-32d9-48b4-a31d-
7c20da2025e4
phasefx [Fri, 23 Oct 2009 16:26:24 +0000 (16:26 +0000)]
Change each tab to 4 spaces in the staff client javascript files.
Did this to effect the change:
find . -name '*.js' -exec sed -i 's/\t/ /g' {} \;
Statements like dump('\t\tFoo\n'); are unaffected.
I imagine we'll need to realign and reindent things as we encounter visual ugliness.
git-svn-id: svn://svn.open-ils.org/ILS/trunk@14577
dcc99617-32d9-48b4-a31d-
7c20da2025e4
erickson [Fri, 23 Oct 2009 13:38:59 +0000 (13:38 +0000)]
updated org setting name (more hierarchy for better perms)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@14576
dcc99617-32d9-48b4-a31d-
7c20da2025e4
erickson [Fri, 23 Oct 2009 13:38:21 +0000 (13:38 +0000)]
org setting to reset hold req time on uncancel
git-svn-id: svn://svn.open-ils.org/ILS/trunk@14575
dcc99617-32d9-48b4-a31d-
7c20da2025e4
erickson [Fri, 23 Oct 2009 13:33:03 +0000 (13:33 +0000)]
updated logic that handles how many canceled holds to return in patron holds list call
git-svn-id: svn://svn.open-ils.org/ILS/trunk@14574
dcc99617-32d9-48b4-a31d-
7c20da2025e4
erickson [Fri, 23 Oct 2009 13:31:52 +0000 (13:31 +0000)]
new org settings for managing the number of canceled holds to display in patron holds lists
git-svn-id: svn://svn.open-ils.org/ILS/trunk@14573
dcc99617-32d9-48b4-a31d-
7c20da2025e4
miker [Fri, 23 Oct 2009 13:14:49 +0000 (13:14 +0000)]
Patch from Ben Ostrowsky to add inline documentation to the hours-of-operation table
git-svn-id: svn://svn.open-ils.org/ILS/trunk@14572
dcc99617-32d9-48b4-a31d-
7c20da2025e4