evergreen/bjwebb.git
14 years agoCreate a separate function for adding datatype information
scottmk [Sat, 3 Apr 2010 05:48:39 +0000 (05:48 +0000)]
Create a separate function for adding datatype information
from the database to the IDL information.  That way we can
call it in other contexts, e.g. the forthcoming
query set server.

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

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

14 years agoReplace almost all remaining reference to the MODULENAME macro
scottmk [Sat, 3 Apr 2010 03:16:35 +0000 (03:16 +0000)]
Replace almost all remaining reference to the MODULENAME macro
with references to a corresponding variable name.

This change is part of a project to split up the oils_cstore module
into an interface module (consisting mostly of osrfAppChildInit(),
osrfAppInitialize(), and osrfAppChildExit()) and an implementation
module (consisting of pretty much everything else).  The implementation
module will then be available for reuse in other contexts.

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

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

14 years agoflesh the copy location and set a tooltip for its flags
phasefx [Fri, 2 Apr 2010 20:21:21 +0000 (20:21 +0000)]
flesh the copy location and set a tooltip for its flags

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

14 years agolocalized bool values for display
phasefx [Fri, 2 Apr 2010 20:21:20 +0000 (20:21 +0000)]
localized bool values for display

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

14 years agodisplay the shortnames for orgs in the Item Details interface (and set the full names...
phasefx [Fri, 2 Apr 2010 20:21:20 +0000 (20:21 +0000)]
display the shortnames for orgs in the Item Details interface (and set the full names as tooltips)

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

14 years agotypo
phasefx [Fri, 2 Apr 2010 20:21:19 +0000 (20:21 +0000)]
typo

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

14 years agolocalized date/time values for Item Details interface
phasefx [Fri, 2 Apr 2010 20:21:18 +0000 (20:21 +0000)]
localized date/time values for Item Details interface

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

14 years agoReduce dispatchCRUDMethod() to little more than a case structure,
scottmk [Fri, 2 Apr 2010 18:50:19 +0000 (18:50 +0000)]
Reduce dispatchCRUDMethod() to little more than a case structure,
which delegates all work to other functions (instead of doing some
of the work itself).  Besides making the code arguably tidier, this
change will make it easier to isolate much of the logic to a separate
module.

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

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

14 years agoadd format selector for e-books
miker [Fri, 2 Apr 2010 18:38:59 +0000 (18:38 +0000)]
add format selector for e-books

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

14 years agocopy-n-paste-o on variable name
miker [Fri, 2 Apr 2010 18:10:58 +0000 (18:10 +0000)]
copy-n-paste-o on variable name

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

14 years agowhen auth session times out with embedded catalog, launch the xul login dialog (inste...
erickson [Fri, 2 Apr 2010 16:28:59 +0000 (16:28 +0000)]
when auth session times out with embedded catalog, launch the xul login dialog (instead of flopping back to the home page)

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

14 years agoFlesh and show cancel_reason in the user request rejected template. I'm just correct...
phasefx [Fri, 2 Apr 2010 15:58:12 +0000 (15:58 +0000)]
Flesh and show cancel_reason in the user request rejected template.  I'm just correcting the existing upgrade script and seed data rather than roll a new one.

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

14 years agoaugment the xulG that the OPAC wrapper gives its content
phasefx [Fri, 2 Apr 2010 15:48:02 +0000 (15:48 +0000)]
augment the xulG that the OPAC wrapper gives its content

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

14 years agoOr unit setting acq.holds.allow_holds_from_purchase_request: Allows patrons to create...
phasefx [Fri, 2 Apr 2010 15:17:37 +0000 (15:17 +0000)]
Or unit setting acq.holds.allow_holds_from_purchase_request: Allows patrons to create automatic holds from purchase requests

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

14 years agoadded wrapper to new XUL get_new_session call. when embedded ui's lose their session...
erickson [Fri, 2 Apr 2010 15:15:58 +0000 (15:15 +0000)]
added wrapper to new XUL get_new_session call.  when embedded ui's lose their session, launch the staff client's login dialog instead of the local web-only dialog

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

14 years agorespond_complete before processing a/t events to the caller does not have to wait
erickson [Fri, 2 Apr 2010 13:25:26 +0000 (13:25 +0000)]
respond_complete before processing a/t events to the caller does not have to wait

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

14 years agoAdds a xulG.get_new_session() convenience function that can be called by embedded...
phasefx [Thu, 1 Apr 2010 21:25:38 +0000 (21:25 +0000)]
Adds a xulG.get_new_session() convenience function that can be called by embedded dojo interfaces, etc.

Side effect: Sets a session cookie and updates the global OpenILS.data store with the newly acquired authtoken.

Return Value: True if a new authtoken was acquired, otherwise False.

Optional Param: Object with optional keys 'callback' and 'operator_change'.

If 'operator_change' is passed in with a value of true, then the dialog will resemble the Admin->Operator Change dialog, but it is not yet completely implemented (doesn't preserve the existing authtoken).  Otherwise, we get the normal Session Expired dialog.

Callback may be a function that resembles this:

    function( success, authtoken, authtime ) {
        return success; // whatever gets returned here will also be returned by xulG.get_new_session()
    }

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

14 years agoPatch from Joe Atzberger: Last batch of method reg docs and perltidy.
erickson [Thu, 1 Apr 2010 21:00:12 +0000 (21:00 +0000)]
Patch from Joe Atzberger: Last batch of method reg docs and perltidy.

Note spellcheck now returns [] immediately if no term is given.
No point initalizing and fetching stuff with no term.

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

14 years agoadjust stored proc to use the appropriate STABLE or IMMUTABLE flag for speed
miker [Thu, 1 Apr 2010 19:56:17 +0000 (19:56 +0000)]
adjust stored proc to use the appropriate STABLE or IMMUTABLE flag for speed

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

14 years agoUse the AssetCommon version of update_fleshed_copies so we can stay within the same...
phasefx [Thu, 1 Apr 2010 19:54:32 +0000 (19:54 +0000)]
Use the AssetCommon version of update_fleshed_copies so we can stay within the same transaction.  However, no more magic hold retargeting.  The CRON job can take care of any holds that do not get cancelled

From my open-ils.acq.lineitem.cancel branch

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

14 years agoUse utility method for firing events
phasefx [Thu, 1 Apr 2010 19:54:19 +0000 (19:54 +0000)]
Use utility method for firing events

From my open-ils.acq.lineitem.cancel branch

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

14 years agofields for supporting bib record ownership and sharing
miker [Thu, 1 Apr 2010 19:21:01 +0000 (19:21 +0000)]
fields for supporting bib record ownership and sharing

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

14 years agoPatch from Joe Atzberger: Large overhaul of misleading and erroneous method reg...
erickson [Thu, 1 Apr 2010 19:09:34 +0000 (19:09 +0000)]
Patch from Joe Atzberger:  Large overhaul of misleading and erroneous method reg notes.

Including one deprecated method and its current replacement.

Signed-off-by: Joe Atzberger <atz@esilibrary.com>
git-svn-id: svn://svn.open-ils.org/ILS/trunk@16093 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoPatch from Joe Atzberger: Cleanup subs in Actor
erickson [Thu, 1 Apr 2010 19:09:33 +0000 (19:09 +0000)]
Patch from Joe Atzberger:  Cleanup subs in Actor

For the first, @xact was never used.
The 3 part conditional only had two different outcomes.
There is still a problem with user_transactions reproducing a lot
of the functionality of user_transaction_history, which it already
calls to do the real query.  But it doesn't reproduce all of it.
Recommend relying on user_transaction_history as much as possible,
but that kind of work is out of scope for this review.

For the other, remove unused var and unnecessary array.
You don't need to build an array when all you do at the end is count its elements.

Signed-off-by: Joe Atzberger <atz@esilibrary.com>
git-svn-id: svn://svn.open-ils.org/ILS/trunk@16092 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoPatch from Joe Atzberger: A great blast of perltidy
erickson [Thu, 1 Apr 2010 19:09:32 +0000 (19:09 +0000)]
Patch from Joe Atzberger:  A great blast of perltidy

Signed-off-by: Joe Atzberger <atz@esilibrary.com>
git-svn-id: svn://svn.open-ils.org/ILS/trunk@16091 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoPatch from Joe Atzberger: More method reg docs in Biblio.pm and Actor
erickson [Thu, 1 Apr 2010 19:09:32 +0000 (19:09 +0000)]
Patch from Joe Atzberger:  More method reg docs in Biblio.pm and Actor

Signed-off-by: Joe Atzberger <atz@esilibrary.com>
git-svn-id: svn://svn.open-ils.org/ILS/trunk@16090 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoadded claim sub-module. Added API call to retrieve claim-ready items. Added API...
erickson [Thu, 1 Apr 2010 18:48:06 +0000 (18:48 +0000)]
added claim sub-module.  Added API call to retrieve claim-ready items.  Added API call to initiate a claim for a given lineitem_detail or add a claim event to an existing claim

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

14 years agosome stubs for future facet UI support
miker [Thu, 1 Apr 2010 17:19:11 +0000 (17:19 +0000)]
some stubs for future facet UI support

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

14 years agoAcq: ML logic to support the "not" operator in unified acq search queries
senator [Thu, 1 Apr 2010 16:18:19 +0000 (16:18 +0000)]
Acq: ML logic to support the "not" operator in unified acq search queries

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

14 years agofixed function name in lineitem price setting code. update local copy of lineitem...
erickson [Thu, 1 Apr 2010 15:29:40 +0000 (15:29 +0000)]
fixed function name in lineitem price setting code.  update local copy of lineitem after price changes to prevent clobbering of value

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

14 years agoadded a view which returns all lineitem details that are ready to be claimed. return...
erickson [Thu, 1 Apr 2010 15:29:39 +0000 (15:29 +0000)]
added a view which returns all lineitem details that are ready to be claimed.  returns po, lineitem, lineitem_detail, and claim policy action data

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

14 years agomissed the environment when upgradeing the worksheet before. added copy location...
erickson [Thu, 1 Apr 2010 15:12:47 +0000 (15:12 +0000)]
missed the environment when upgradeing the worksheet before.  added copy location to lineitem worksheet template

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

14 years agogive the trigger autocreate wrapper a clearer name
erickson [Thu, 1 Apr 2010 13:09:18 +0000 (13:09 +0000)]
give the trigger autocreate wrapper a clearer name

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

14 years agofire hold_request.cancel.cancelled_order events for any cancelled holds after transac...
phasefx [Thu, 1 Apr 2010 05:15:33 +0000 (05:15 +0000)]
fire hold_request.cancel.cancelled_order events for any cancelled holds after transaction commit

From my open-ils.acq.lineitem.cancel branch

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

14 years agoCancel holds targeting the bib associated with a lineitem if it has become deleted...
phasefx [Thu, 1 Apr 2010 05:15:25 +0000 (05:15 +0000)]
Cancel holds targeting the bib associated with a lineitem if it has become deleted.  Note concerns about rolling back transactions and using open-ils.cat

From my open-ils.acq.lineitem.cancel branch

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

14 years agodon't make the call to open-ils.cat if there are no real copies to delete. I'm assum...
phasefx [Thu, 1 Apr 2010 05:15:19 +0000 (05:15 +0000)]
don't make the call to open-ils.cat if there are no real copies to delete.  I'm assuming we want to be able to call this method against lineitems that might not even be associated with a purchase order, much less have copies, etc.  Need to think about that permission check at the beginning which is using purchase order -> ordering agency as a context org

From my open-ils.acq.lineitem.cancel branch

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

14 years agoparam tweak to get copies to flesh on lineitem details, and yes, open-ils.cat will...
phasefx [Thu, 1 Apr 2010 05:15:13 +0000 (05:15 +0000)]
param tweak to get copies to flesh on lineitem details, and yes, open-ils.cat will handle volume and bib deletion, as well as hold retargeting.  But we still need to cancel holds in the case where the bib gets deleted.  If the bib isn't deleted (because other copies were added outside of acq), holds that came from acq may or may not target those non-acq copies.  If they don't and any holds become unfulfillable (say due to hold permit policies), we'll just let them lay for now rather than try to figure that out.

From my open-ils.acq.lineitem.cancel branch

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

14 years agoresults are fancier in perl; adjust the result test from open-ils.cat
phasefx [Thu, 1 Apr 2010 05:15:07 +0000 (05:15 +0000)]
results are fancier in perl; adjust the result test from open-ils.cat

From my open-ils.acq.lineitem.cancel branch

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

14 years agoHar, I looked in Lineitem.pm for an existing lineitem cancel method before I started...
phasefx [Thu, 1 Apr 2010 05:15:00 +0000 (05:15 +0000)]
Har, I looked in Lineitem.pm for an existing lineitem cancel method before I started, but not Order.pm.  Remove the one from Lineitem.pm and tweak the one in Order.pm.  Still need smoketest, etc.

From my open-ils.acq.lineitem.cancel branch

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

14 years agoRough cut of 'open-ils.acq.lineitem.cancel', which "Cancels a lineitem, any of its...
phasefx [Thu, 1 Apr 2010 05:14:47 +0000 (05:14 +0000)]
Rough cut of 'open-ils.acq.lineitem.cancel', which "Cancels a lineitem, any of its detail entries and corresponding copies and call numbers, and potentially related holds (if the bib becomes empty)."  Need to smoke test it, add hold deletion if the bib becomes empty (and add an org unit setting for optionally deleting the bib as well), and check to see if volume deletion is being handled automatically by open-ils.cat.asset.copy.fleshed.batch.update

From my open-ils.acq.lineitem.cancel branch

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

14 years agoshow progress dialog while waiting for the lineitem worksheet to load
erickson [Wed, 31 Mar 2010 20:46:59 +0000 (20:46 +0000)]
show progress dialog while waiting for the lineitem worksheet to load

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

14 years agoadded support for progress dialog messages in the markup
erickson [Wed, 31 Mar 2010 20:46:58 +0000 (20:46 +0000)]
added support for progress dialog messages in the markup

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

14 years agoSeed data for org settings and override permissions for managing the
erickson [Wed, 31 Mar 2010 19:44:19 +0000 (19:44 +0000)]
Seed data for org settings and override permissions for managing the
behavior when the systems finds a copy that could be used to fulfill a
hold at the requesting branch before the hold is placed.

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

14 years agofleshed out the docs for the open-ils.circ.hold.has_copy_at method
erickson [Wed, 31 Mar 2010 19:44:18 +0000 (19:44 +0000)]
fleshed out the docs for the open-ils.circ.hold.has_copy_at method

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

14 years agoAcq: Indicate funds at stop/warning balance level with color and warnings
senator [Wed, 31 Mar 2010 19:38:02 +0000 (19:38 +0000)]
Acq: Indicate funds at stop/warning balance level with color and warnings

Specifically, in the lineitem detail (copy) interface,
where there are fund dropdowns.

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

14 years agoadded API docs for open-ils.actor.user.stage.create. Added support for passing in...
erickson [Wed, 31 Mar 2010 17:26:09 +0000 (17:26 +0000)]
added API docs for open-ils.actor.user.stage.create.  Added support for passing in staged statcats

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

14 years agoadded pcrud entries for claim_policy and claim_policy_action
erickson [Wed, 31 Mar 2010 13:58:45 +0000 (13:58 +0000)]
added pcrud entries for claim_policy and claim_policy_action

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

14 years agoPatch from Joe Atzberger to add additional code docs and more code cleanup
erickson [Wed, 31 Mar 2010 13:31:28 +0000 (13:31 +0000)]
Patch from Joe Atzberger to add additional code docs and more code cleanup

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

14 years agocorrect paging behavior with new staged search stored proc and results
miker [Wed, 31 Mar 2010 07:43:46 +0000 (07:43 +0000)]
correct paging behavior with new staged search stored proc and results

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

14 years agosyntax
phasefx [Tue, 30 Mar 2010 20:48:02 +0000 (20:48 +0000)]
syntax

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

14 years agosyntax. this time I broke the file :)
phasefx [Tue, 30 Mar 2010 20:46:00 +0000 (20:46 +0000)]
syntax.  this time I broke the file :)

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

14 years agoreturn the whole blob for an undefined field key
miker [Tue, 30 Mar 2010 20:28:21 +0000 (20:28 +0000)]
return the whole blob for an undefined field key

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

14 years agoindex is already there, do not recreate it
miker [Tue, 30 Mar 2010 18:52:05 +0000 (18:52 +0000)]
index is already there, do not recreate it

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

14 years agoAcq: PO interface now tells you if activating a PO would breach fund limits.
senator [Tue, 30 Mar 2010 17:50:25 +0000 (17:50 +0000)]
Acq: PO interface now tells you if activating a PO would breach fund limits.

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

14 years agoadd makefile and autogen support for the facet definition bits; more minor bug fixing...
miker [Tue, 30 Mar 2010 17:05:22 +0000 (17:05 +0000)]
add makefile and autogen support for the facet definition bits; more minor bug fixing of facet definition JS generator

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

14 years agomoved to auto-grid for view funding-source UI (for paging, etc.). added pcrud entrie...
erickson [Tue, 30 Mar 2010 16:41:18 +0000 (16:41 +0000)]
moved to auto-grid for view funding-source UI (for paging, etc.).  added pcrud entries for funding_source credits

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

14 years agoarg, typos
miker [Tue, 30 Mar 2010 16:24:28 +0000 (16:24 +0000)]
arg, typos

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

14 years agoadd initial cut of slim facet structure autogen script
miker [Tue, 30 Mar 2010 16:16:31 +0000 (16:16 +0000)]
add initial cut of slim facet structure autogen script

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

14 years agoreinstated the links for funding_source code in the fund allocations grid
erickson [Tue, 30 Mar 2010 16:15:47 +0000 (16:15 +0000)]
reinstated the links for funding_source code in the fund allocations grid

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

14 years agomoved to auto-grid for allocations and debits for paging support, etc. hiding percen...
erickson [Tue, 30 Mar 2010 15:50:41 +0000 (15:50 +0000)]
moved to auto-grid for allocations and debits for paging support, etc.  hiding percent-based allocation option for now since they are not supported by the back-end

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

14 years agoadded pcrud entries for fund allocations and fund debits
erickson [Tue, 30 Mar 2010 14:51:10 +0000 (14:51 +0000)]
added pcrud entries for fund allocations and fund debits

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

14 years agoPatch from Lee Dickens and Galen Charlton to correct a thinko in the recent change...
miker [Tue, 30 Mar 2010 14:34:53 +0000 (14:34 +0000)]
Patch from Lee Dickens and Galen Charlton to correct a thinko in the recent change to pg_loader -- ignore auto-pkey tables, as those have had their sequences adjusted, um, automatically

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

14 years agoconsolidated the bib and authority record import logic to get the new functionality...
erickson [Tue, 30 Mar 2010 02:00:26 +0000 (02:00 +0000)]
consolidated the bib and authority record import logic to get the new functionality into the authority import process.  1match is possible if all matches point to the same record, not just if there is only 1 match.

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

14 years agoremoved some unnecessary intermediate code that snuck into the commit
erickson [Mon, 29 Mar 2010 21:12:30 +0000 (21:12 +0000)]
removed some unnecessary intermediate code that snuck into the commit

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

14 years agoforgot to change my version placeholder
phasefx [Mon, 29 Mar 2010 20:49:56 +0000 (20:49 +0000)]
forgot to change my version placeholder

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

14 years agoadded support for using alternate context-specific spell-check dictionaries w/ sample...
erickson [Mon, 29 Mar 2010 20:45:57 +0000 (20:45 +0000)]
added support for using alternate context-specific spell-check dictionaries w/ sample config.  now de-duping suggestions that only differ by case.  added a new boolean value to the response object to indicate if the original word was found in the dictionary, but still return alternate suggestions

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

14 years agopicking an upgrade version number
phasefx [Mon, 29 Mar 2010 20:36:29 +0000 (20:36 +0000)]
picking an upgrade version number

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

14 years agopaste-o
phasefx [Mon, 29 Mar 2010 20:36:27 +0000 (20:36 +0000)]
paste-o

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

14 years agofix paste-o for facet_field (do we need facet_xpath?) and add in missing reference...
phasefx [Mon, 29 Mar 2010 20:36:24 +0000 (20:36 +0000)]
fix paste-o for facet_field (do we need facet_xpath?) and add in missing reference to id column

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

14 years agoreorder these so that they work
phasefx [Mon, 29 Mar 2010 20:36:16 +0000 (20:36 +0000)]
reorder these so that they work

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

14 years agoseed data
phasefx [Mon, 29 Mar 2010 20:36:14 +0000 (20:36 +0000)]
seed data

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

14 years agothe reason I wanted to pass in an editor here, so I could flesh the users for their...
phasefx [Mon, 29 Mar 2010 20:36:12 +0000 (20:36 +0000)]
the reason I wanted to pass in an editor here, so I could flesh the users for their home_ou's needed for the event

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

14 years agoWe'll be renaming this before it goes into master
phasefx [Mon, 29 Mar 2010 20:36:10 +0000 (20:36 +0000)]
We'll be renaming this before it goes into master

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

14 years agouse editor
phasefx [Mon, 29 Mar 2010 20:36:08 +0000 (20:36 +0000)]
use editor

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

14 years agocreate acq.created and acq.rejected events
phasefx [Mon, 29 Mar 2010 20:36:06 +0000 (20:36 +0000)]
create acq.created and acq.rejected events

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

14 years agomore user request related templates, and add all of them to the db seed data. misc...
phasefx [Mon, 29 Mar 2010 20:35:38 +0000 (20:35 +0000)]
more user request related templates, and add all of them to the db seed data.  misc fixes to db seed data, and i18n for previous user request data

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

14 years agoAcq: In fund transfer, add destination amount field when warranted
senator [Mon, 29 Mar 2010 19:31:59 +0000 (19:31 +0000)]
Acq: In fund transfer, add destination amount field when warranted

When warranted means when source and dest fund have differing currencies.

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

14 years agoIn query.stored query: make from_clause nullable, so that we can
scottmk [Mon, 29 Mar 2010 19:22:38 +0000 (19:22 +0000)]
In query.stored query: make from_clause nullable, so that we can
represent UNION, INTERSECT, and EXCEPT queries.

M    Open-ILS/src/sql/Pg/002.schema.config.sql
M    Open-ILS/src/sql/Pg/008.schema.query.sql
A    Open-ILS/src/sql/Pg/upgrade/0220.schema.query.nullable-from.sql

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

14 years agoremoved unused / nonfunctional method stub
erickson [Mon, 29 Mar 2010 18:44:14 +0000 (18:44 +0000)]
removed unused / nonfunctional method stub

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

14 years agoAcq: fund transfer UI
senator [Mon, 29 Mar 2010 16:41:08 +0000 (16:41 +0000)]
Acq: fund transfer UI

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

14 years agoAcq: this line unneeded; TagManager doesn't go here.
senator [Mon, 29 Mar 2010 15:52:34 +0000 (15:52 +0000)]
Acq: this line unneeded; TagManager doesn't go here.

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

14 years agoplugged in paging for viewing fund propagation results. added context org and org...
erickson [Mon, 29 Mar 2010 15:38:43 +0000 (15:38 +0000)]
plugged in paging for viewing fund propagation results.  added context org and org child selector to rollver actions.  moved some css to external acq css file

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

14 years agoWhen propagating funds: propagate the balance_warning_percent
scottmk [Mon, 29 Mar 2010 14:36:08 +0000 (14:36 +0000)]
When propagating funds: propagate the balance_warning_percent
and balance_stop_percent columns.

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/0219.schema.acq.propagate-fund-bal-pct.sql

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

14 years agomore patron update docs
erickson [Mon, 29 Mar 2010 13:10:25 +0000 (13:10 +0000)]
more patron update docs

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

14 years agoMore method reg docs and a minor touchup.
erickson [Mon, 29 Mar 2010 13:02:24 +0000 (13:02 +0000)]
More method reg docs and a minor touchup.

$err variable was not used.
trinary op makes clearer that logger only gets called once.

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

14 years agoFix typo: open-ils.actor.retrieve_by_shorname (see r16029)
dbs [Sun, 28 Mar 2010 21:55:12 +0000 (21:55 +0000)]
Fix typo: open-ils.actor.retrieve_by_shorname (see r16029)

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

14 years agoFix typo: open-ils.actor.retrieve_by_shorname (but keep the old one around just in...
dbs [Sun, 28 Mar 2010 21:54:13 +0000 (21:54 +0000)]
Fix typo: open-ils.actor.retrieve_by_shorname (but keep the old one around just in case)

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

14 years agoset an upper limit using the same value as the per-index-matchpoint search limit...
miker [Sat, 27 Mar 2010 21:04:01 +0000 (21:04 +0000)]
set an upper limit using the same value as the per-index-matchpoint search limit (effective upper limit) for safer sort-only browse

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

14 years agoadd useful fixed-field indexing for browse-by-FF support (yay for QueryParser!)
miker [Sat, 27 Mar 2010 20:55:28 +0000 (20:55 +0000)]
add useful fixed-field indexing for browse-by-FF support (yay for QueryParser!)

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

14 years agoadd pubdate filtering support to compat wrapper
miker [Sat, 27 Mar 2010 20:50:15 +0000 (20:50 +0000)]
add pubdate filtering support to compat wrapper

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

14 years agosafer date1 number sanitization
miker [Sat, 27 Mar 2010 20:49:49 +0000 (20:49 +0000)]
safer date1 number sanitization

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

14 years agomake empty queries safe
miker [Sat, 27 Mar 2010 20:06:30 +0000 (20:06 +0000)]
make empty queries safe

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

14 years agomore backward compat for staged search -> QueryParser transition; added some debug...
miker [Sat, 27 Mar 2010 19:21:51 +0000 (19:21 +0000)]
more backward compat for staged search -> QueryParser transition; added some debug logging to the compat wrapper function

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

14 years agoPatch from Dan Wells which allows restriction of renewal when the item in question...
miker [Sat, 27 Mar 2010 17:30:40 +0000 (17:30 +0000)]
Patch from Dan Wells which allows restriction of renewal when the item in question is needed to fulfill a hold.

There was concern initially about whether a patrons own holds should be ignored, but that is not the case in scripted circ rules, so the behavior, as implemented by Dan, is correct.

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

14 years agoshow fiscal rollover summary; insert newly created funds into the fund grid for displ...
erickson [Fri, 26 Mar 2010 21:09:09 +0000 (21:09 +0000)]
show fiscal rollover summary; insert newly created funds into the fund grid for display; TODO: plug in grid paging handlers for paging through dry-run propagate results; finish up css and move to css file

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

14 years agoAcq: Resurrect an old "view fund" interface, add some tag mapping managment
senator [Fri, 26 Mar 2010 20:30:56 +0000 (20:30 +0000)]
Acq: Resurrect an old "view fund" interface, add some tag mapping managment

From the "list funds" interface, you can click on the name of a fund and get
to the "view funds" interface for that fund.  That interface now how a "tags"
tab where you can attach and detach tags to/from the fund you're viewing.

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

14 years agofor sync login, return true/false to indicate login success. show login failures...
erickson [Fri, 26 Mar 2010 20:03:29 +0000 (20:03 +0000)]
for sync login, return true/false to indicate login success.  show login failures in web login dialog

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

14 years agono autoWidth, use auto cell width
erickson [Fri, 26 Mar 2010 20:03:28 +0000 (20:03 +0000)]
no autoWidth, use auto cell width

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

14 years agocalculate facets, cache them, return the facet key with the result set
miker [Fri, 26 Mar 2010 19:53:29 +0000 (19:53 +0000)]
calculate facets, cache them, return the facet key with the result set

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

14 years agoadded note about source of hash keys for user req form data param object
erickson [Fri, 26 Mar 2010 19:31:39 +0000 (19:31 +0000)]
added note about source of hash keys for user req form data param object

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