]> git.evergreen-ils.org Git - Evergreen.git/log
Evergreen.git
14 years agoPatch from Joe Atzberger to add org settings and perms for alert/deny if local copy...
erickson [Thu, 12 Nov 2009 14:18:56 +0000 (14:18 +0000)]
Patch from Joe Atzberger to add org settings and perms for alert/deny if local copy is available for a hold

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

14 years agoTurn off bubbling for the oils_persist event (makes things less noisy with iframes...
phasefx [Thu, 12 Nov 2009 06:03:26 +0000 (06:03 +0000)]
Turn off bubbling for the oils_persist event (makes things less noisy with iframes, etc.).  Support @oils_persist_peers for persisting related elements (mainly to support radio group style widgets)

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

14 years agoMagic Control+Alt+F7 Key for debugging
phasefx [Thu, 12 Nov 2009 05:16:44 +0000 (05:16 +0000)]
Magic Control+Alt+F7 Key for debugging

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

14 years agoSome refactoring. Works with <toolbarbutton type="checked"> now, and monitors all...
phasefx [Thu, 12 Nov 2009 00:07:13 +0000 (00:07 +0000)]
Some refactoring.  Works with <toolbarbutton type="checked"> now, and monitors all the attributes listed in @oils_persist whenever the virtual oils_persist event is triggered.  Provides a way to fire said event manually, and
offers @oils_persist_events for providing a specific list of events with which to trigger the oils_persist virtual event.

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

14 years agonull workstation sanity checks part 2
erickson [Wed, 11 Nov 2009 22:01:29 +0000 (22:01 +0000)]
null workstation sanity checks part 2

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

14 years agopersist_helper: Some abstraction with an oils_persist virtual event. Better handling...
phasefx [Wed, 11 Nov 2009 21:47:19 +0000 (21:47 +0000)]
persist_helper: Some abstraction with an oils_persist virtual event.  Better handling of non-true values.  More debugging statements.  A failed attempt to have oils_persist="checked" work with <toolbarbutton type="checkbox"/> (such buttons will get stuck into the unchecked state after being checked and unchecked)

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

14 years agoadding datetime::set perl mod to debs
erickson [Wed, 11 Nov 2009 21:40:37 +0000 (21:40 +0000)]
adding datetime::set perl mod to debs

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

14 years agoPatch from Lebbeous Fogle-Weekley to prevent staff client exceptions when encounting...
erickson [Wed, 11 Nov 2009 21:28:43 +0000 (21:28 +0000)]
Patch from Lebbeous Fogle-Weekley to prevent staff client exceptions when encounting null workstations on circs in copy details UI

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

14 years agofor consistency, also flesh the copy in the resulting circ/hold objects
erickson [Wed, 11 Nov 2009 21:25:06 +0000 (21:25 +0000)]
for consistency, also flesh the copy in the resulting circ/hold objects

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

14 years agocreated a companion method to return trigger events for circ and hold event defs...
erickson [Wed, 11 Nov 2009 21:21:32 +0000 (21:21 +0000)]
created a companion method to return trigger events for circ and hold event defs based on copy instead of user

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

14 years agoprotect against missing (or no) HOO and closure rows
miker [Wed, 11 Nov 2009 20:19:31 +0000 (20:19 +0000)]
protect against missing (or no) HOO and closure rows

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

14 years agoadd initial cut of support for in-db array datatype operators
miker [Wed, 11 Nov 2009 18:52:01 +0000 (18:52 +0000)]
add initial cut of support for in-db array datatype operators

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

14 years agofixing typo in crazy-search (user search); moving to DateTime::SpanSet for time overl...
miker [Wed, 11 Nov 2009 18:50:41 +0000 (18:50 +0000)]
fixing typo in crazy-search (user search); moving to DateTime::SpanSet for time overlap calculation and support "after midnight" closing times

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

14 years agosyntax thinko, doh
phasefx [Wed, 11 Nov 2009 18:05:59 +0000 (18:05 +0000)]
syntax thinko, doh

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

14 years agoadded support for optional limit, offset, and order_by filters to open-ils.trigger...
erickson [Wed, 11 Nov 2009 15:40:09 +0000 (15:40 +0000)]
added support for optional limit, offset, and order_by filters to open-ils.trigger.events_by_target

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

14 years agoInterface for viewing pending action/trigger notices for a patron, with the ability...
phasefx [Wed, 11 Nov 2009 09:13:02 +0000 (09:13 +0000)]
Interface for viewing pending action/trigger notices for a patron, with the ability to reset or cancel the notices.

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

14 years agoSimplify list construction in xul (provide a default map_row_to_columns function...
phasefx [Wed, 11 Nov 2009 08:05:07 +0000 (08:05 +0000)]
Simplify list construction in xul (provide a default map_row_to_columns function), give the option for using fm_IDL.xml for column definitions, and use dojo.date.locale for timestamp columns when using fm_IDL.xml.

Simple example:

Given this XUL:

<tree id="atev_list" flex="1" />

Then this Javascript will build columns based on the "atev" class:

JSAN.use('util.list');
var list = new util.list('atev_list');
list.init(
{
columns: [ 'atev' ]
}
);

If we need to customize certain columns, we could do it like so:

JSAN.use('util.list');
var list = new util.list('atev_list');
list.init(
{
columns: list.fm_columns('atev', {
'atev_id' : { 'primary' : true },
'atev_run_time' : { 'flex' : 1 },
'atev_isdeleted' : { 'hidden' : false, 'onclick' : 'alert("Boo!")' }
})
}
);

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

14 years agoUnlink the lock file as soon as possible if 1) we have not already looked at it and...
miker [Wed, 11 Nov 2009 02:04:45 +0000 (02:04 +0000)]
Unlink the lock file as soon as possible if 1) we have not already looked at it and 2) it contains our pid.  This is to allow multiple, concurrent runners where possible, after the find-events phase

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

14 years agowhen creating events, filter the defs on granularity if the user requested that;...
miker [Wed, 11 Nov 2009 00:05:35 +0000 (00:05 +0000)]
when creating events, filter the defs on granularity if the user requested that; do not add granularity to the event object, it has no such field

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

14 years ago"Periodique" is a better translation for "Serial" in French than "Collections".
dbs [Tue, 10 Nov 2009 21:58:01 +0000 (21:58 +0000)]
"Periodique" is a better translation for "Serial" in French than "Collections".

Doubly true when "Collection" appeared adjacent to it for English "Collection".

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

14 years agodoh! thinko on param name
miker [Tue, 10 Nov 2009 19:42:02 +0000 (19:42 +0000)]
doh! thinko on param name

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

14 years agoPatch from Lebbeous Fogle-Weekley to support configured staff client idle timeout...
erickson [Tue, 10 Nov 2009 18:43:19 +0000 (18:43 +0000)]
Patch from Lebbeous Fogle-Weekley to support configured staff client idle timeout delays.  When staff has been
idle for X amount of time (per org unit setting), the staff client display will minimize.  Staff is not
logged out of the server based on this setting.  Use this in environments where unattended staff clients should
be minimized for privacy reasons.

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

14 years agoremoving needless (and problematic) distinct clause, and fixing order_by syntax
miker [Tue, 10 Nov 2009 16:56:58 +0000 (16:56 +0000)]
removing needless (and problematic) distinct clause, and fixing order_by syntax

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

14 years agosubsequent patch from Lebbeous Fogle-Weekley to prevent display of bare nulls in...
erickson [Mon, 9 Nov 2009 21:10:22 +0000 (21:10 +0000)]
subsequent patch from Lebbeous Fogle-Weekley to prevent display of bare nulls in address template

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

14 years agoMozilla has a printer settings object which we serialize when saving the settings...
phasefx [Mon, 9 Nov 2009 18:46:36 +0000 (18:46 +0000)]
Mozilla has a printer settings object which we serialize when saving the settings.  But those objects are not necessarily compatible across xulrunner versions.  This changeset will load what settings it can and warn the user that they need to reconfigure their printer settings.  We also attempt to load the printer settings up-front during the login process for earlier warning.

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

14 years agopatch from Lebbeous Fogle-Weekley to make address clipboard copying come from a strin...
erickson [Mon, 9 Nov 2009 18:30:11 +0000 (18:30 +0000)]
patch from Lebbeous Fogle-Weekley to make address clipboard copying come from a string property instead of hard-coded format

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

14 years agorepaired column order in sample 7-day notice entry
erickson [Mon, 9 Nov 2009 16:14:28 +0000 (16:14 +0000)]
repaired column order in sample 7-day notice entry

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

14 years agoMinor tweak to avoid undefined behavior.
scottmk [Mon, 9 Nov 2009 14:46:20 +0000 (14:46 +0000)]
Minor tweak to avoid undefined behavior.

In SELECT() we issue a debug message to display the locale.  However
the locale can be NULL.  I added an explicit test to replace a NULL
with "(none)".

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

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

14 years agoCorrect the view that pulls together the ISSNs for a given record.
dbs [Sun, 8 Nov 2009 01:56:27 +0000 (01:56 +0000)]
Correct the view that pulls together the ISSNs for a given record.

When we started wrapping ISSNs in spaces, the old view definition started
returning NULL results as the ISSN always began in a space.

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

14 years agoNormalize ISSNs on ingest so that "1972-156X" gets added as " 1972 156x " to mfr...
dbs [Sun, 8 Nov 2009 01:29:04 +0000 (01:29 +0000)]
Normalize ISSNs on ingest so that "1972-156X" gets added as " 1972 156x " to mfr / mkfe

This enables keyword searching of this subset of ISSNs to work because it
sidesteps the full text search tokenizer that would otherwise have indexed
the values as "1972", "-156", and "x".

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

14 years agoforward porting r14821: make sure there is a space before and after normalized date...
miker [Sat, 7 Nov 2009 20:02:32 +0000 (20:02 +0000)]
forward porting r14821: make sure there is a space before and after normalized date ranges

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

14 years agoadd virtual duedate field to non-cat circs, and offset the calculated duedate just...
miker [Sat, 7 Nov 2009 14:25:53 +0000 (14:25 +0000)]
add virtual duedate field to non-cat circs, and offset the calculated duedate just like real circs

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

14 years agoadded workstation fleshing to some circ retrieval methods
erickson [Fri, 6 Nov 2009 23:28:34 +0000 (23:28 +0000)]
added workstation fleshing to some circ retrieval methods

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

14 years agoPatch from Lebbeous Fogle-Weekley to add support for controlling access of org unit...
erickson [Fri, 6 Nov 2009 23:24:38 +0000 (23:24 +0000)]
Patch from Lebbeous Fogle-Weekley to add support for controlling access of org unit settings
based on the new in-database org settings permission setup

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

14 years agotweak work log statement in Checkout interface to handle on the fly renewals
phasefx [Fri, 6 Nov 2009 22:02:15 +0000 (22:02 +0000)]
tweak work log statement in Checkout interface to handle on the fly renewals

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

14 years agoplugged in details on replaced addr for approval of changes process
erickson [Fri, 6 Nov 2009 21:11:28 +0000 (21:11 +0000)]
plugged in details on replaced addr for approval of changes process

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

14 years agoWire up the org unit settings related to the Work Log interface
phasefx [Fri, 6 Nov 2009 21:09:48 +0000 (21:09 +0000)]
Wire up the org unit settings related to the Work Log interface

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

14 years agoTweak the Work/Activity Log interface in the staff client so that it has a sticky...
phasefx [Fri, 6 Nov 2009 20:48:16 +0000 (20:48 +0000)]
Tweak the Work/Activity Log interface in the staff client so that it has a sticky numberbox for how many log entries to retrieve (subject to an overall max cap configurable by org unit settings).
Some cosmetic tweaks as well.

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

14 years agooils_persist support for textbox values
phasefx [Fri, 6 Nov 2009 20:32:42 +0000 (20:32 +0000)]
oils_persist support for textbox values

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

14 years agofix logic error with the patron log. The array should work more like a Set. We...
phasefx [Fri, 6 Nov 2009 18:35:15 +0000 (18:35 +0000)]
fix logic error with the patron log.  The array should work more like a Set.  We only want to see the last X unique patrons who had activity logged

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

14 years agodon't pre-validate events when grouping, just fetch and group
erickson [Fri, 6 Nov 2009 17:08:54 +0000 (17:08 +0000)]
don't pre-validate events when grouping, just fetch and group

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

14 years agothinko in push-due_date trigger function
miker [Fri, 6 Nov 2009 14:56:50 +0000 (14:56 +0000)]
thinko in push-due_date trigger function

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

14 years agoAdd a new set of unapi/supercat holding-enriched formats, -uris
dbs [Fri, 6 Nov 2009 05:20:39 +0000 (05:20 +0000)]
Add a new set of unapi/supercat holding-enriched formats, -uris

These formats focus on returning just URIs, rather than the bulky copy
information returned by -full. Accordingly, the default data type
requested by BibTemplate.js has been changed to 'marcxml-uris', as
out of the box no functionality in the default or craftsman skins
require copy information.

Some of the duplicate code in OpenILS::WWW::SuperCat.pm has been refactored
into subroutines.

To aid the human reader of the -uris and -full output, line breaks
and indentation has been introduced to the contents of the <volumes> element.

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

14 years agoup the timeout for batch event running to accomodate the initial wait for event retri...
erickson [Fri, 6 Nov 2009 04:16:22 +0000 (04:16 +0000)]
up the timeout for batch event running to accomodate the initial wait for event retrieval and grouping

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

14 years agorepaired mbts array ref
erickson [Thu, 5 Nov 2009 22:45:12 +0000 (22:45 +0000)]
repaired mbts array ref

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

14 years agouse new mbts mat view directly instead of jumping through the billable xact. remove...
erickson [Thu, 5 Nov 2009 22:25:08 +0000 (22:25 +0000)]
use new mbts mat view directly instead of jumping through the billable xact.  remove explicit xact management and rely on authoritative

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

14 years agoUse open-ils.circ.renewal_chain.retrieve_by_circ.atomic to retrieve the original...
phasefx [Thu, 5 Nov 2009 21:37:23 +0000 (21:37 +0000)]
Use open-ils.circ.renewal_chain.retrieve_by_circ.atomic to retrieve the original circ for a sequence of circ renewals and display the workstation for that original circ in the alternate copy details page

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

14 years agofix thinko on granularity filter -- granularity is on the defintion, not the event
miker [Thu, 5 Nov 2009 20:29:40 +0000 (20:29 +0000)]
fix thinko on granularity filter -- granularity is on the defintion, not the event

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

14 years agoWe shouldn't expect a fleshed acp.circulations in the staff client
phasefx [Thu, 5 Nov 2009 20:13:43 +0000 (20:13 +0000)]
We shouldn't expect a fleshed acp.circulations in the staff client

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

14 years agoadd workstation-related circ columns and relabel Checkout Library to Checkout or...
phasefx [Thu, 5 Nov 2009 20:08:29 +0000 (20:08 +0000)]
add workstation-related circ columns and relabel Checkout Library to Checkout or Renew Library, given how circs are implemented

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

14 years agoforward-porting r14786 and r14787: use a trigger to push day-granular circ due_date...
miker [Thu, 5 Nov 2009 19:27:38 +0000 (19:27 +0000)]
forward-porting r14786 and r14787: use a trigger to push day-granular circ due_date to the end of the calendar day

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

14 years agoPatch from Lebbeous Fogle-Weekley to add arbitrary event runtime grouping (granularit...
miker [Thu, 5 Nov 2009 19:27:04 +0000 (19:27 +0000)]
Patch from Lebbeous Fogle-Weekley to add arbitrary event runtime grouping (granularity) to action-trigger events; also includes support for specifying granularity to action_trigger_runner.pl and the server-side batch events

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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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