Evergreen.git
11 years agoKill smart quotes and emdashes beloved by MS Word and despised by the rest of the...
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

11 years agoResurrect JSON grammar and tutorial that were blown away by r13990.
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

11 years agoallow the CircIsOpen and CircIsOverdue validators to reuse the MaxPassiveDelayAge...
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

11 years agoseed data for sample pre-due notice. added delay age param (1 day) to sample overdue...
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

11 years agoadded some links from the user object to the user's accumulated money summary and...
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

11 years agowhen testing for existing events (to prevent duplicates) don't test for the presence...
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

11 years agoadd passive event validator to stop events that are too far past the delay_field...
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

11 years agoMake use of streaming batch hold update method in staff client and tie it to a progre...
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

11 years agoAdd a couple of link entries related to the new
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

11 years agoCreate new table asset.copy_location_order, and a new permission
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

11 years agomake batch hold update streaming and perform each update within its own transaction
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

11 years agoadded support for passing in key/val pairs for hold update, instead of the entire...
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

11 years agoPatch from Warren Layton which fixes the behavior of the new Org Unit
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

11 years agoAnother monster patch. Change each tab to 4 spaces in the staff client xul, html...
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

11 years agoChange each tab to 4 spaces in the staff client javascript files.
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

11 years agoupdated org setting name (more hierarchy for better perms)
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

11 years agoorg setting to reset hold req time on uncancel
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

11 years agoupdated logic that handles how many canceled holds to return in patron holds list...
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

11 years agonew org settings for managing the number of canceled holds to display in patron holds...
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

11 years agoPatch from Ben Ostrowsky to add inline documentation to the hours-of-operation table
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

11 years agorolling back r14446: dojo.addOnLoad() is fine in xul, as long as we are not using...
miker [Fri, 23 Oct 2009 00:28:04 +0000 (00:28 +0000)]
rolling back r14446: dojo.addOnLoad() is fine in xul, as long as we are not using a layer

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

11 years agofixed some syntax errors
erickson [Thu, 22 Oct 2009 19:06:03 +0000 (19:06 +0000)]
fixed some syntax errors

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

11 years agoCreate new table acq.fund_allocation_percent, to store the percentages by which
scottmk [Thu, 22 Oct 2009 18:55:14 +0000 (18:55 +0000)]
Create new table acq.fund_allocation_percent, to store the percentages by which
future funding credits will be allocated to funds.

Create a trigger to ensure that the percentages never add up to more than
100 for any given funding source.

Populate the new table from acq.fund_allocation.

In acq.fund_allocation: convert any percentages to amounts, and nullify the
percentages.

M    Open-ILS/src/sql/Pg/002.schema.config.sql
A    Open-ILS/src/sql/Pg/upgrade/0049.schema.acq_funding_allocation_percent.sql
M    Open-ILS/examples/fm_IDL.xml

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

11 years agoYes, it is true, I wrote a MARC library (marcxml and marcbreaker supported) in JS...
miker [Thu, 22 Oct 2009 14:37:26 +0000 (14:37 +0000)]
Yes, it is true, I wrote a MARC library (marcxml and marcbreaker supported) in JS as a Dojo module. I am sorry, world.

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

11 years agoadded support for voiding overdue fines on the most recent circ when marking an item...
erickson [Thu, 22 Oct 2009 13:41:14 +0000 (13:41 +0000)]
added support for voiding overdue fines on the most recent circ when marking an item as damaged

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

11 years agoorg setting to enable void-overdues-on-mark-item-damaged
erickson [Thu, 22 Oct 2009 13:30:54 +0000 (13:30 +0000)]
org setting to enable void-overdues-on-mark-item-damaged

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

11 years agoinline style here no longer works in xulrunner 1.9 for some reason
phasefx [Thu, 22 Oct 2009 07:09:54 +0000 (07:09 +0000)]
inline style here no longer works in xulrunner 1.9 for some reason

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

11 years agoremoves a warning about a bare #text element in the vbox
phasefx [Thu, 22 Oct 2009 06:54:02 +0000 (06:54 +0000)]
removes a warning about a bare #text element in the vbox

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

11 years agonot that persist_helper handles resize events yet, but oils_persist instead of oils_p...
phasefx [Thu, 22 Oct 2009 06:46:11 +0000 (06:46 +0000)]
not that persist_helper handles resize events yet, but oils_persist instead of oils_perist

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

11 years agoFor backdating-already-returned-items prompt, don't display circ summaries for each...
phasefx [Thu, 22 Oct 2009 06:41:29 +0000 (06:41 +0000)]
For backdating-already-returned-items prompt, don't display circ summaries for each circ, and use streaming version of batch backdate method

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

11 years agoDon't remove these columns from the Item Status interface
phasefx [Thu, 22 Oct 2009 05:14:30 +0000 (05:14 +0000)]
Don't remove these columns from the Item Status interface

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

11 years agoprovisional fix for non-IDL fieldmapper mode -- push isnew, ischanged and isdeleted...
miker [Thu, 22 Oct 2009 03:34:50 +0000 (03:34 +0000)]
provisional fix for non-IDL fieldmapper mode -- push isnew, ischanged and isdeleted to the end of the field list

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

11 years agouse fieldmapper.AutoIDL inside conify to allow openils.PermaCrud to function properly
miker [Thu, 22 Oct 2009 03:29:18 +0000 (03:29 +0000)]
use fieldmapper.AutoIDL inside conify to allow openils.PermaCrud to function properly

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

11 years agoinstead of manually updating the claims-never-checked-out counter, use the existing...
erickson [Wed, 21 Oct 2009 20:54:14 +0000 (20:54 +0000)]
instead of manually updating the claims-never-checked-out counter, use the existing claims returned trigger to manage that

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

11 years agoAdd new column to auditor.actor_user_history to match the one
scottmk [Wed, 21 Oct 2009 20:39:24 +0000 (20:39 +0000)]
Add new column to auditor.actor_user_history to match the one
just added to actor.usr.

M    Pg/002.schema.config.sql
A    Pg/upgrade/0046.au_hist_claims_never_checked_out.sql

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

11 years agoCorrecting datatype of pubdate for reporter.classic_item_list
scottmk [Wed, 21 Oct 2009 20:25:40 +0000 (20:25 +0000)]
Correcting datatype of pubdate for reporter.classic_item_list
(Patch from Don McMorris)

M    examples/fm_IDL.xml

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

11 years agoadded claims never checked out field to patron editor along with associated permissio...
erickson [Wed, 21 Oct 2009 20:03:51 +0000 (20:03 +0000)]
added claims never checked out field to patron editor along with associated permission for changing the value

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

11 years agoAdded support for claims-never-checked-out checkin mode. It does this:
erickson [Wed, 21 Oct 2009 19:08:43 +0000 (19:08 +0000)]
Added support for claims-never-checked-out checkin mode. It does this:

1. sets the checkin backdate equal to the xact_start time to void any possible overdue fines
2. increments the patrons claims_never_checked_out count by 1
3. the copy does not capture any holds or go into transit
4. the copy is optionally marked as MISSING, based on org unit setting

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

11 years agothinko ... do NOT comment out "use base"
miker [Wed, 21 Oct 2009 18:13:24 +0000 (18:13 +0000)]
thinko ... do NOT comment out "use base"

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

11 years ago1. Add column to actor.usr: claims_never_checked_out_count.
scottmk [Wed, 21 Oct 2009 17:58:28 +0000 (17:58 +0000)]
1. Add column to actor.usr: claims_never_checked_out_count.

2. Add valid value 'CLAIMSNEVERCHECKEDOUT' to check constraint
for action.circulation.stop_fines.

M    Open-ILS/src/sql/Pg/090.schema.action.sql
M    Open-ILS/src/sql/Pg/005.schema.actors.sql
M    Open-ILS/src/sql/Pg/002.schema.config.sql
A    Open-ILS/src/sql/Pg/upgrade/0043.schema.au-claims-never-checked-out-count.sql
M    Open-ILS/examples/fm_IDL.xml

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

11 years agoCleaning up some syntax thinkos from earlier commit which added support
miker [Wed, 21 Oct 2009 17:05:26 +0000 (17:05 +0000)]
Cleaning up some syntax thinkos from earlier commit which added support
for hold target weighting and max hold targeting loops.

Added closed-date check condition such that if a library is closed both
now and at the next expected check time the location is ignored for
targetting.  This differs from before in that we were only checking to
see if the library was currently closed.  For 24h retargetting, this is
nominally not a change, but for longer-that-one-day retargetting intervals
this will allow a library that is open at the beginning /or/ the end of the
targetting interval to have a chance at capturing the requested copy.

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

11 years agoin renewal interface, add the patron data to the list rows, and remove the early...
phasefx [Wed, 21 Oct 2009 16:37:09 +0000 (16:37 +0000)]
in renewal interface, add the patron data to the list rows, and remove the early return for billing summary/tally (copy/paste/think-o)

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

11 years agorework the parameters for circ.util.renew_via_barcode so that we can more easily...
phasefx [Wed, 21 Oct 2009 15:55:32 +0000 (15:55 +0000)]
rework the parameters for circ.util.renew_via_barcode so that we can more easily pass in return_patron : true for the dedicated renewal interface

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

11 years agorolling back 14518 and 14519. thinko
erickson [Wed, 21 Oct 2009 15:45:50 +0000 (15:45 +0000)]
rolling back 14518 and 14519. thinko

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

11 years agoadded logic to mark items missing during the claims-return process
erickson [Wed, 21 Oct 2009 15:24:39 +0000 (15:24 +0000)]
added logic to mark items missing during the claims-return process

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

11 years agonew org setting for making items as missing during claims returned processing
erickson [Wed, 21 Oct 2009 15:13:57 +0000 (15:13 +0000)]
new org setting for making items as missing during claims returned processing

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

11 years agofixing think-o on the date range normalizer
miker [Wed, 21 Oct 2009 14:59:25 +0000 (14:59 +0000)]
fixing think-o on the date range normalizer

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

11 years agoadded 'return_patron' option on renewals to return the patron object in the final...
erickson [Wed, 21 Oct 2009 14:44:17 +0000 (14:44 +0000)]
added 'return_patron' option on renewals to return the patron object in the final payload

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

11 years agogo back to 'might_nave' rel for parent_circ now that fleshing is fixed
erickson [Wed, 21 Oct 2009 14:36:55 +0000 (14:36 +0000)]
go back to 'might_nave' rel for parent_circ now that fleshing is fixed

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

11 years agorepaired bug in cstore 'might_have' fleshing which lead to fleshing the same object...
erickson [Wed, 21 Oct 2009 14:36:34 +0000 (14:36 +0000)]
repaired bug in cstore 'might_have' fleshing which lead to fleshing the same object into itself

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

11 years agochanged parent_circ column link to a 'has_a' instead of 'might_have'. 'might_have...
erickson [Wed, 21 Oct 2009 13:28:16 +0000 (13:28 +0000)]
changed parent_circ column link to a 'has_a' instead of 'might_have'.  'might_have' fleshes the same object onto itself.  needs investigation

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

11 years agofix testing of the return value from the backdate.batch.atomic method
phasefx [Wed, 21 Oct 2009 08:37:39 +0000 (08:37 +0000)]
fix testing of the return value from the backdate.batch.atomic method

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

11 years agoI like explicit semicolons
phasefx [Wed, 21 Oct 2009 08:26:11 +0000 (08:26 +0000)]
I like explicit semicolons

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

11 years agofix a bug where only the first circ_id given was being backdated with the .batch...
phasefx [Wed, 21 Oct 2009 08:23:34 +0000 (08:23 +0000)]
fix a bug where only the first circ_id given was being backdated with the .batch method

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

11 years agouse batch api call for post-checkin backdating
phasefx [Wed, 21 Oct 2009 08:12:16 +0000 (08:12 +0000)]
use batch api call for post-checkin backdating

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

11 years agoin dedicated renewal interface, add billing info for previous circ for items being...
phasefx [Wed, 21 Oct 2009 06:19:30 +0000 (06:19 +0000)]
in dedicated renewal interface, add billing info for previous circ for items being renewed as done with the checkin interface

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

11 years agohandle non-existent copies in renewal interface
phasefx [Wed, 21 Oct 2009 05:58:47 +0000 (05:58 +0000)]
handle non-existent copies in renewal interface

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

11 years agoHold Alias in patron summary
phasefx [Wed, 21 Oct 2009 05:50:22 +0000 (05:50 +0000)]
Hold Alias in patron summary

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

11 years agoAdding support for pushing to the front of the hold queue with a cut_in_line
miker [Tue, 20 Oct 2009 18:59:20 +0000 (18:59 +0000)]
Adding support for pushing to the front of the hold queue with a cut_in_line
boolean field.  Setting this on an action.hold_request will cause the hold
to sort to the top of the queue in calls to open-ils.storage.action.hold_request.nearest_hold,
which is used to capture holds in priority order.

Currently, this field sorts /after/ the hold proximity.  When strict FIFO
holds are implemented, this sort will go to the front of the line, followed
by request_time and then proximity.

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

11 years agodon't treat Hold Alias (which is for replacing a name entirely on a hold slip) as...
phasefx [Tue, 20 Oct 2009 18:37:45 +0000 (18:37 +0000)]
don't treat Hold Alias (which is for replacing a name entirely on a hold slip) as a Name Alias

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

11 years agoStatus Changed Time field in item details
phasefx [Tue, 20 Oct 2009 16:33:23 +0000 (16:33 +0000)]
Status Changed Time field in item details

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

11 years agofall through instead of return to handle pre-cats in bib summary
phasefx [Tue, 20 Oct 2009 16:29:27 +0000 (16:29 +0000)]
fall through instead of return to handle pre-cats in bib summary

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

11 years agoStatus Changed Time column
phasefx [Tue, 20 Oct 2009 16:17:19 +0000 (16:17 +0000)]
Status Changed Time column

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

11 years agoAdd new status_changed_time to CREATE statement for asset.copy,
scottmk [Tue, 20 Oct 2009 15:03:33 +0000 (15:03 +0000)]
Add new status_changed_time to CREATE statement for asset.copy,
plus a trigger to maintain it.

Corresponding ALTER already committed in an upgrade script.

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

11 years agoexperiment: duedate/duetime picker during checkout. Not sure when/how the middle...
phasefx [Tue, 20 Oct 2009 04:10:58 +0000 (04:10 +0000)]
experiment: duedate/duetime picker during checkout.  Not sure when/how the middle layer ignores the time component of a duedate to treat it as a calendar day.  Also not sure if some folks would still prefer to have a Today + 3 days, etc. convenience menu

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

11 years agoAdd new column status_changed_time to asset.copy,
scottmk [Tue, 20 Oct 2009 02:36:11 +0000 (02:36 +0000)]
Add new column status_changed_time to asset.copy,
with a trigger to maintain it.

Add corresponding new column to auditor.asset_copy_history.

M    Open-ILS/src/sql/Pg/002.schema.config.sql
A    Open-ILS/src/sql/Pg/upgrade/0039.schema.acp_status_date_changed.sql
M    Open-ILS/examples/fm_IDL.xml

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

11 years agoclear shelf_time when hold is reset
erickson [Tue, 20 Oct 2009 00:21:09 +0000 (00:21 +0000)]
clear shelf_time when hold is reset

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

11 years agointermediate work, toward refund handling. bug with row refresh
phasefx [Mon, 19 Oct 2009 18:00:39 +0000 (18:00 +0000)]
intermediate work, toward refund handling.  bug with row refresh

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

11 years agoadded some basic log lines. Add the approval code in the newly created credit_card_p...
erickson [Mon, 19 Oct 2009 15:55:14 +0000 (15:55 +0000)]
added some basic log lines.  Add the approval code in the newly created credit_card_payment objects

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

11 years agoPatch from Lebbeous Fogle-Weekley which integrates credit card payments into the...
erickson [Mon, 19 Oct 2009 15:44:32 +0000 (15:44 +0000)]
Patch from Lebbeous Fogle-Weekley which integrates credit card payments into the existing staff client payment API call.  Also updates some unnecessarily long org unit settings names

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

11 years agoauthority record queue needs autoheight to render
erickson [Mon, 19 Oct 2009 15:05:54 +0000 (15:05 +0000)]
authority record queue needs autoheight to render

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

11 years agoafter a renewal, return the billing summary for the checked-in circ. removed unused...
erickson [Mon, 19 Oct 2009 13:49:11 +0000 (13:49 +0000)]
after a renewal, return the billing summary for the checked-in circ.  removed unused autoload field

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

11 years agoMore rendering optimizations via inline height/width properties for images.
dbs [Sun, 18 Oct 2009 00:44:10 +0000 (00:44 +0000)]
More rendering optimizations via inline height/width properties for images.

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

11 years agoAnother small rendering optimization - set dimensions of slimtree images
dbs [Sat, 17 Oct 2009 22:10:42 +0000 (22:10 +0000)]
Another small rendering optimization - set dimensions of slimtree images

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

11 years agoMove inline <style> block into CSS file.
dbs [Sat, 17 Oct 2009 21:40:04 +0000 (21:40 +0000)]
Move inline <style> block into CSS file.

This is a small optimization for rendering and simplifies customization.

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

11 years agoPatch from Warren Layton to add a "Export to RefWorks" link for bookbags.
dbs [Sat, 17 Oct 2009 18:41:26 +0000 (18:41 +0000)]
Patch from Warren Layton to add a "Export to RefWorks" link for bookbags.

The link only appears if the user's bookbag is shared (if it's not
shared, Supercat feeds for the bookbag won't be visible to outside
world, including RefWorks). It appears under the "Shared" column
(right under "Yes (View) [RSS]").

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: Warren Layton
git-svn-id: svn://svn.open-ils.org/ILS/trunk@14478 dcc99617-32d9-48b4-a31d-7c20da2025e4

11 years agoWe have no Spanish translation at all, so remove it for now
dbs [Sat, 17 Oct 2009 04:49:05 +0000 (04:49 +0000)]
We have no Spanish translation at all, so remove it for now

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

11 years agoEnsure that we don't invoke functions that have not yet been created
dbs [Sat, 17 Oct 2009 04:41:25 +0000 (04:41 +0000)]
Ensure that we don't invoke functions that have not yet been created

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

11 years agoThese are, after all, binary files.
dbs [Sat, 17 Oct 2009 00:28:42 +0000 (00:28 +0000)]
These are, after all, binary files.

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

11 years agoAdd authority record sample sets from IISH
dbs [Sat, 17 Oct 2009 00:15:02 +0000 (00:15 +0000)]
Add authority record sample sets from IISH

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

11 years agoimplemented the ability to mark a set of lineitems as 'ready for selector', and ...
erickson [Fri, 16 Oct 2009 20:17:08 +0000 (20:17 +0000)]
implemented the ability to mark a set of lineitems as 'ready for selector', and 'ready for order'.  in the main lineitem list page (for selection lists and POs), each lineitem state now has an associated row color.  The colors should change, but you get the idea.  fixed some page titles

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

11 years agoPatch from Lebbeous Fogle-Weekley and Joe Atzberger. Adds org unit settings for...
erickson [Fri, 16 Oct 2009 15:43:19 +0000 (15:43 +0000)]
Patch from Lebbeous Fogle-Weekley and Joe Atzberger.  Adds org unit settings for Authorize.net and PayPal credit card processors.

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

11 years agotree implementation changed, so we find the scrollbar elsewhere. We need the scrollb...
phasefx [Fri, 16 Oct 2009 01:57:55 +0000 (01:57 +0000)]
tree implementation changed, so we find the scrollbar elsewhere.  We need the scrollbar to figure out when a row is no longer off-screen, so that we can fire off any pending network calls needed to flesh the row out.  Pretty hacky, but for some lists we don't want to pulling down that much data at once.  Long run we may need to just pull down data for the columns that are visible, and refetch data if folks use the column pickers

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

11 years agoload dojo and dojo fieldmapper into the Javascript Shell
phasefx [Fri, 16 Oct 2009 00:36:11 +0000 (00:36 +0000)]
load dojo and dojo fieldmapper into the Javascript Shell

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

11 years agoXMLENT was killing the Javascript Shell
phasefx [Fri, 16 Oct 2009 00:33:47 +0000 (00:33 +0000)]
XMLENT was killing the Javascript Shell

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

11 years agoprotect 0-param normalizers from null params value
miker [Fri, 16 Oct 2009 00:25:10 +0000 (00:25 +0000)]
protect 0-param normalizers from null params value

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

11 years agoprotect 0-param normalizers from null params value
miker [Fri, 16 Oct 2009 00:20:16 +0000 (00:20 +0000)]
protect 0-param normalizers from null params value

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

11 years agoSimplest possible way to add PostgreSQL 8.4 support.
dbs [Thu, 15 Oct 2009 22:18:56 +0000 (22:18 +0000)]
Simplest possible way to add PostgreSQL 8.4 support.

Ubuntu 9.10 (Karmic Koala) ships with PostgreSQL 8.4, and in my
testing it works identically to 8.3. Let's add it and avoid at
least one install-time pain.

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

11 years agolayout tweaks, uncheck refundable transactions by default
phasefx [Thu, 15 Oct 2009 20:59:24 +0000 (20:59 +0000)]
layout tweaks, uncheck refundable transactions by default

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

11 years agoadded support for tiered org unit setting permissions. for example, if i have the...
erickson [Thu, 15 Oct 2009 20:53:31 +0000 (20:53 +0000)]
added support for tiered org unit setting permissions.  for example, if i have the UPDATE_ORG_UNIT_SETTING.foo.bar permission, I can update the foo.bar.baz setting

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

11 years agoprecedence to row styling for selected rows
phasefx [Thu, 15 Oct 2009 20:13:43 +0000 (20:13 +0000)]
precedence to row styling for selected rows

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

11 years agostyle refundable rows with a pink background :)
phasefx [Thu, 15 Oct 2009 18:50:50 +0000 (18:50 +0000)]
style refundable rows with a pink background :)

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

11 years agosupport the setting of properties on treerows in util.list, so that we can style...
phasefx [Thu, 15 Oct 2009 18:14:12 +0000 (18:14 +0000)]
support the setting of properties on treerows in util.list, so that we can style an arbitrary row with CSS

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

11 years agopart 2 of: xul + dojo can not use dojo.addOnLoad or djConfig.parseOnLoad
miker [Thu, 15 Oct 2009 16:18:48 +0000 (16:18 +0000)]
part 2 of: xul + dojo can not use dojo.addOnLoad or djConfig.parseOnLoad

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

11 years agoxul + dojo can not use dojo.addOnLoad or djConfig.parseOnLoad
miker [Thu, 15 Oct 2009 16:17:41 +0000 (16:17 +0000)]
xul + dojo can not use dojo.addOnLoad or djConfig.parseOnLoad

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

11 years agouse inline penalty processing during fine generation to prevent duplicate penalties
erickson [Thu, 15 Oct 2009 13:52:57 +0000 (13:52 +0000)]
use inline penalty processing during fine generation to prevent duplicate penalties

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

11 years agoAdd UPDATE_RECORD permission, required to undelete records.
dbs [Thu, 15 Oct 2009 02:36:42 +0000 (02:36 +0000)]
Add UPDATE_RECORD permission, required to undelete records.
Also fix a duplicate ID in oils_i18n_gettext().

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

11 years agoAdd a missing error message.
dbs [Thu, 15 Oct 2009 01:46:52 +0000 (01:46 +0000)]
Add a missing error message.

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

11 years agoYet more progress towards in-db ingest. This time, a MARC flattener for metabib...
miker [Thu, 15 Oct 2009 00:47:55 +0000 (00:47 +0000)]
Yet more progress towards in-db ingest.  This time, a MARC flattener for metabib.full_rec data.

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

11 years agothinko on the datatype for bib id
miker [Thu, 15 Oct 2009 00:07:17 +0000 (00:07 +0000)]
thinko on the datatype for bib id

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