evergreen:tags/rel_2_2_alpha1

Last commit made on 2011-11-16
Get this branch:
git clone -b tags/rel_2_2_alpha1 https://git.launchpad.net/evergreen

Branch merges

Branch information

Name:
tags/rel_2_2_alpha1
Repository:
lp:evergreen

Recent commits

0fef62c... by Thomas Berezansky

Bumping version numbers, adding Upgrade Script and Changelog

Signed-off-by: Thomas Berezansky <email address hidden>

472c7e7... by Bill Erickson

Repair errant explode_array in upgrade script.

The upgrade script 0562.schema.copy_active_date.sql included 2 calls to
explode_array after explode_array had been removed from the baseline
schema. This upgrade just copies the contents of the
action.hold_request_permit_test function from the baseline schema to
repair the function for anyone following the upgrade scripts.

Signed-off-by: Bill Erickson <email address hidden>

3b4dc85... by Mike Rylander

Stamping upgrade script for copy visibility vs peer-bibs fix

Signed-off-by: Mike Rylander <email address hidden>

cda0eaa... by Thomas Berezansky

Distinct cache_copy_visibility copy/record

Because if you peer bib a copy to the bib it is on things don't like you.

Signed-off-by: Thomas Berezansky <email address hidden>
Signed-off-by: Mike Rylander <email address hidden>

d0572fe... by Thomas Berezansky

Obey renewal rules for SIP2 Checkout

If local policy OR the selfcheck are set to not do renewals than don't
attempt them.

Also, return whether a renewal was attempted (success or failure) so that
the self check on the other end has a better clue what went on.

Signed-off-by: Thomas Berezansky <email address hidden>
Signed-off-by: Mike Rylander <email address hidden>

02211d5... by Lebbeous Fogle-Weekley <email address hidden>

Improvement for telephony: just-in-time event revalidation

One of the shortcomings with using the Action/Trigger based telephony in
Evergreen until now was that while you might have overdue notices
generated and sent to a system where Asterisk runs for later calling,
but if the notice was generated on a Saturday night, and you have Asterisk
set up not to place any calls again until Monday morning, Asterisk has
no way of revalidating that call at the last minute. That is, the
system could not determine whether the items that were overdue on
Saturday night are still overdue on Monday morning, and whether the call
should still be made.

Now we have a workable solution to that.

The eg-pbx-allocator.pl script, which takes call files for Asterisk from
a "staging" directory and slowly drips them onto Asterisk's spool can
now consult an open-ils.justintime which in turn asks open-ils.trigger
whether given events, enumerated within the call files themselves, are
still valid.

open-ils.trigger is designed to run as a private service, so that's why
we need a public service that doesn't do anything too sensitive.

This open-ils.justintime service can potentially be extended to offer other
just-in-time information to the allocator right before a call goes onto
Asterisk's spool. For example, that might be a good time to check the time
of day and make a late decision on which phone number to use for a given
user (day_phone, evening_phone, other_phone).

Signed-off-by: Lebbeous Fogle-Weekley <email address hidden>
Signed-off-by: Mike Rylander <email address hidden>

b10df43... by Mike Rylander

Stamped upgrade for full circ count view fix

Signed-off-by: Mike Rylander <email address hidden>

dbbb3a3... by Thomas Berezansky

Use DISTINCT in counts to avoid dupes

Otherwise you get:
Legacy count + 2(normal count)(aged count)

Signed-off-by: Thomas Berezansky <email address hidden>
Signed-off-by: Mike Rylander <email address hidden>

e6a0371... by Dan Wells

Full Circ Count View Amplifies Legacy Circs

The current extend_reported.full_circ_count sums the legacy circ count
column, but this results in amplifying the count by the number of current
circs in the system. This commit adds the legacy count to the GROUP BY
instead of summing it.

Signed-off-by: Dan Wells <email address hidden>
Signed-off-by: Mike Rylander <email address hidden>

91201d1... by Thomas Berezansky

Skip shelved holds at checkout auto-fill

Already happened for volume/title hold, but target map checking wasn't
checking to see if the current copy was shelved.

Signed-off-by: Thomas Berezansky <email address hidden>
Signed-off-by: Mike Rylander <email address hidden>