evergreen/bjwebb.git
14 years agoAdding new methodolgoy, robust docs, new options
erickson [Thu, 18 Mar 2010 00:04:04 +0000 (00:04 +0000)]
Adding new methodolgoy, robust docs, new options

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

14 years agoTrivial doc change
erickson [Thu, 18 Mar 2010 00:04:03 +0000 (00:04 +0000)]
Trivial doc change

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

14 years agoMake GetOpts::Long and Cronscript get along
erickson [Thu, 18 Mar 2010 00:04:02 +0000 (00:04 +0000)]
Make GetOpts::Long and Cronscript get along

So the old Cronscript approach was to have variables declared with
the default values assigned and pass a hash of keys => var_ref, where
the var_ref's pointed to the variables.  This didn't work because of
Cronscript trying to build the clean hashes and incorporate structure
into the object.

So instead now we rely on the MyGetOptions return
value (hashref or hash), essentially the opts_clean hash.  And we
populate the local variables afterwards.  The default values are passed
in the hash now.  This works.

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

14 years agoallow oils_logout to take a specific argument, optionally
erickson [Thu, 18 Mar 2010 00:04:01 +0000 (00:04 +0000)]
allow oils_logout to take a specific argument, optionally

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

14 years agoMid-refactor move data processing into sub
erickson [Thu, 18 Mar 2010 00:04:00 +0000 (00:04 +0000)]
Mid-refactor move data processing into sub

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

14 years agoMid-overhaul, perldoc added
erickson [Thu, 18 Mar 2010 00:04:00 +0000 (00:04 +0000)]
Mid-overhaul, perldoc added

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

14 years agoDefault config file for marc_stream_importer (Net::Server)
erickson [Thu, 18 Mar 2010 00:03:59 +0000 (00:03 +0000)]
Default config file for marc_stream_importer (Net::Server)

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

14 years agoTweaked oilsAuthVerifyPassword(), mostly for clarity:
scottmk [Wed, 17 Mar 2010 20:42:33 +0000 (20:42 +0000)]
Tweaked oilsAuthVerifyPassword(), mostly for clarity:

1. Addad a doxygen-style comment block to document it, plus several comments
in the body of the function.

2. A slight rearrangement: get the password from the user object after getting
the seed from memcache, instead of before.  That way if the memcache call
fails we don't need to free the copy of the user object's password.

3. Moved the declaration of ret (the return code) closer to its first use.

4. Plugged a potential (albeit improbable) memory leak in the case of an
early exit.

Also: several minor tweaks to white space and comments elsewhere.

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

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

14 years agomake this use a transaction or replication lag can bite us on patron registration
phasefx [Wed, 17 Mar 2010 20:40:49 +0000 (20:40 +0000)]
make this use a transaction or replication lag can bite us on patron registration

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

14 years agodelete the metarecord link for "deleted" records
miker [Wed, 17 Mar 2010 19:18:37 +0000 (19:18 +0000)]
delete the metarecord link for "deleted" records

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

14 years agosyntax error in fkey cascade
miker [Wed, 17 Mar 2010 13:42:42 +0000 (13:42 +0000)]
syntax error in fkey cascade

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

14 years agoAdd four tables in acq schema: claim, claim_type, claim_event, claim_event_type.
scottmk [Wed, 17 Mar 2010 13:29:31 +0000 (13:29 +0000)]
Add four tables in acq schema: claim, claim_type, claim_event, claim_event_type.

M    Open-ILS/src/sql/Pg/999.functions.global.sql
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/0198.schema.acq.claim.sql
M    Open-ILS/examples/fm_IDL.xml

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

14 years agomake batch renewal use synchronous calls again to better handle exceptions. The...
phasefx [Tue, 16 Mar 2010 20:03:51 +0000 (20:03 +0000)]
make batch renewal use synchronous calls again to better handle exceptions.  The original push for synchronous calls here was for performance, so we may need to revisit

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

14 years agotypo spotted by Steve Callender and Dan Scott
miker [Tue, 16 Mar 2010 18:55:53 +0000 (18:55 +0000)]
typo spotted by Steve Callender and Dan Scott

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

14 years agoForward-porting r15845: Fixing broken multi-question surveys
miker [Tue, 16 Mar 2010 16:37:31 +0000 (16:37 +0000)]
Forward-porting r15845: Fixing broken multi-question surveys

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

14 years agoAdded doxygen-style comments to several functions.
scottmk [Tue, 16 Mar 2010 15:54:43 +0000 (15:54 +0000)]
Added doxygen-style comments to several functions.

Also, in oilsAuthInit():

1. Moved the declarations of several variables closer to their first uses.

2. Instead of using va_list_to_string() to build a seed, exploit the fact that
md5sum() builds its input using printf-style formatting.  This change eliminates
a malloc(), a free(), and two calls to vsprintf().

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

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

14 years agoImproved patch from Galen Charlton: removes empty XML elements when ingesting a bib...
miker [Tue, 16 Mar 2010 14:59:39 +0000 (14:59 +0000)]
Improved patch from Galen Charlton: removes empty XML elements when ingesting a bib record

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

14 years agoAcq: detail.tt2 -> info.tt2 ("detail" misleadingly suggested lineitem detail)
senator [Tue, 16 Mar 2010 14:56:14 +0000 (14:56 +0000)]
Acq: detail.tt2 -> info.tt2 ("detail" misleadingly suggested lineitem detail)

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

14 years agoPatch from Galen Charlton: removes empty controlfield elements, which can be produced...
miker [Tue, 16 Mar 2010 14:16:52 +0000 (14:16 +0000)]
Patch from Galen Charlton: removes empty controlfield elements, which can be produced in a couple different ways during the ingest of slightly invalid MARC records

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

14 years agouse logical date math to avoid problems with DST boundary
miker [Tue, 16 Mar 2010 14:14:37 +0000 (14:14 +0000)]
use logical date math to avoid problems with DST boundary

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

14 years agorepaired key names in json query response
erickson [Tue, 16 Mar 2010 14:13:52 +0000 (14:13 +0000)]
repaired key names in json query response

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

14 years agoTidying up white space. No substantive changes.
scottmk [Tue, 16 Mar 2010 12:54:40 +0000 (12:54 +0000)]
Tidying up white space.  No substantive changes.

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

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

14 years agoSupport multiple languages in the lookup for event descriptions.
scottmk [Tue, 16 Mar 2010 01:14:16 +0000 (01:14 +0000)]
Support multiple languages in the lookup for event descriptions.

Capture the current locale, which reflects the message most
recently received, and confine the lookup to messages in that
language.  If you don't find a description, and the language is
different from the default language (hard-coded as "en-US"),
try again with the default language.

Also: eliminate a needless memset().

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

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

14 years agotypo spotted by gmcharlt; upgrade script is ok. Insert key, I hate thee (or at least...
miker [Mon, 15 Mar 2010 22:49:56 +0000 (22:49 +0000)]
typo spotted by gmcharlt; upgrade script is ok.  Insert key, I hate thee (or at least thy placement)

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

14 years agoadd a (hidden, db-internal) flag table; restrict MR mapping at ingest time based...
miker [Mon, 15 Mar 2010 18:22:00 +0000 (18:22 +0000)]
add a (hidden, db-internal) flag table; restrict MR mapping at ingest time based on internal flag

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

14 years agofunction to pull possible tcn values out of a bib xml record
miker [Mon, 15 Mar 2010 16:47:14 +0000 (16:47 +0000)]
function to pull possible tcn values out of a bib xml record

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

14 years agoAcq: for showing related lineitems, do the right thing w/ null bib rec
senator [Mon, 15 Mar 2010 15:45:02 +0000 (15:45 +0000)]
Acq: for showing related lineitems, do the right thing w/ null bib rec

Also, flesh_cancel_reason employed in more of the cases where we're retrieving
lineitems to build an li_table, and li_table doesn't fail so hard when it
doesn't have a fleshed cancel_reason.

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

14 years agoAcq: cancel POs, lineitems, or individual copies from the PO interface
senator [Mon, 15 Mar 2010 08:52:29 +0000 (08:52 +0000)]
Acq: cancel POs, lineitems, or individual copies from the PO interface

Still needs some adjustments: e.g., you can still "receive" lineitems even
when all the individual copies are canceled, and things like that.

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

14 years agoTidied up whitespace; added comments; removed comments from the header
scottmk [Mon, 15 Mar 2010 01:54:50 +0000 (01:54 +0000)]
Tidied up whitespace; added comments; removed comments from the header
so that they won't override the new doxygen-style comments in the
implementation file.

M    Open-ILS/include/openils/oils_event.h
M    Open-ILS/src/c-apps/oils_event.c

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

14 years agoAcq: fix inaccurate word choice in "related lineitems" link; hide when only 1
senator [Sat, 13 Mar 2010 00:05:41 +0000 (00:05 +0000)]
Acq: fix inaccurate word choice in "related lineitems" link; hide when only 1

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

14 years agoAcq: from the lineitem details pane, one can view other LIs of same bib
senator [Fri, 12 Mar 2010 23:46:04 +0000 (23:46 +0000)]
Acq: from the lineitem details pane, one can view other LIs of same bib

Also included a minor improvement to the use of the "notes" template for that
part of the LI interface

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

14 years agobug fix for auto-merge short circut mapping on 901c
miker [Fri, 12 Mar 2010 22:40:36 +0000 (22:40 +0000)]
bug fix for auto-merge short circut mapping on 901c

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

14 years agoinitial merge/overlay profile editor ui
erickson [Fri, 12 Mar 2010 20:51:03 +0000 (20:51 +0000)]
initial merge/overlay profile editor ui

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

14 years agorepaired variable name
erickson [Fri, 12 Mar 2010 20:51:03 +0000 (20:51 +0000)]
repaired variable name

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

14 years agoadded a .stream_results version of the spooler that response with the imported queued...
erickson [Fri, 12 Mar 2010 20:37:55 +0000 (20:37 +0000)]
added a .stream_results version of the spooler that response with the imported queued record ID.  using per-record auto and non-auto merge calls for bib merging. added support for a merge-on-1-match setting that will automatically overlay if exactly 1 match is found

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

14 years agoAcq: unified search: big improvement
senator [Fri, 12 Mar 2010 20:37:04 +0000 (20:37 +0000)]
Acq: unified search: big improvement

You can now search any field linked to au by string matching name, username,
alias, or barcode, not just user ID (which was fairly useless).

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

14 years agoadding 901c cross-check to auto-overlay logic to prevent isbn, etc auto-overlay
miker [Fri, 12 Mar 2010 20:12:52 +0000 (20:12 +0000)]
adding 901c cross-check to auto-overlay logic to prevent isbn, etc auto-overlay

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

14 years agoreturn the final count of records spooled
miker [Fri, 12 Mar 2010 19:14:34 +0000 (19:14 +0000)]
return the final count of records spooled

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

14 years agoget the new query parser into the repo
miker [Fri, 12 Mar 2010 19:12:49 +0000 (19:12 +0000)]
get the new query parser into the repo

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

14 years agoscale the response rate with the number of records processed so far
miker [Fri, 12 Mar 2010 19:02:18 +0000 (19:02 +0000)]
scale the response rate with the number of records processed so far

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

14 years agoadding authority version of the record merging and queue processing functions
miker [Fri, 12 Mar 2010 15:45:37 +0000 (15:45 +0000)]
adding authority version of the record merging and queue processing functions

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

14 years agoreturn the correct failpart for precat/noncat items
miker [Fri, 12 Mar 2010 15:03:20 +0000 (15:03 +0000)]
return the correct failpart for precat/noncat items

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

14 years agosome actions on user request list, and toward a user request detail page
phasefx [Fri, 12 Mar 2010 10:46:33 +0000 (10:46 +0000)]
some actions on user request list, and toward a user request detail page

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

14 years agodon't eat the exception here
phasefx [Fri, 12 Mar 2010 10:45:58 +0000 (10:45 +0000)]
don't eat the exception here

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

14 years agomissed collision marker
erickson [Fri, 12 Mar 2010 05:03:03 +0000 (05:03 +0000)]
missed collision marker

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

14 years agodon't hide dialogs, they handle that for us
erickson [Fri, 12 Mar 2010 05:03:03 +0000 (05:03 +0000)]
don't hide dialogs, they handle that for us

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

14 years agoinitial fiscall rollover processor UI. still needs to handle the response data in...
erickson [Fri, 12 Mar 2010 05:03:02 +0000 (05:03 +0000)]
initial fiscall rollover processor UI.  still needs to handle the response data in a more useful way

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

14 years agoadded id version of org descendent list function
erickson [Fri, 12 Mar 2010 05:03:01 +0000 (05:03 +0000)]
added id version of org descendent list function

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

14 years agotypo in options var
erickson [Fri, 12 Mar 2010 05:03:00 +0000 (05:03 +0000)]
typo in options var

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

14 years agoadded limit/offset options to response stream of fiscall rollover processor
erickson [Fri, 12 Mar 2010 05:03:00 +0000 (05:03 +0000)]
added limit/offset options to response stream of fiscall rollover processor

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

14 years agoadded option for displaying a message inside the progressdialog
erickson [Fri, 12 Mar 2010 05:02:59 +0000 (05:02 +0000)]
added option for displaying a message inside the progressdialog

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

14 years agonon-auto merge function, bug fixing (commas ... BAH), matching cleanup
miker [Fri, 12 Mar 2010 03:48:01 +0000 (03:48 +0000)]
non-auto merge function, bug fixing (commas ... BAH), matching cleanup

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

14 years agoadded auto-overlay-exact option to queue import
erickson [Thu, 11 Mar 2010 23:38:32 +0000 (23:38 +0000)]
added auto-overlay-exact option to queue import

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

14 years agoadded auto_overlay_exact option to queue import call, which uses new overlay/merge...
erickson [Thu, 11 Mar 2010 23:38:32 +0000 (23:38 +0000)]
added auto_overlay_exact option to queue import call, which uses new overlay/merge functions

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

14 years agoadded option to discard streaming results
erickson [Thu, 11 Mar 2010 23:38:31 +0000 (23:38 +0000)]
added option to discard streaming results

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

14 years agoAcq: Add PO notes interface and checkbox for vendor_public flag on any note
senator [Thu, 11 Mar 2010 22:13:58 +0000 (22:13 +0000)]
Acq: Add PO notes interface and checkbox for vendor_public flag on any note

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

14 years agoallow marc file attributes to be passed directly to vandelay spooler, bypass the...
erickson [Thu, 11 Mar 2010 21:43:25 +0000 (21:43 +0000)]
allow marc file attributes to be passed directly to vandelay spooler, bypass the cache

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

14 years agofunctions that allow vandelay to merge records based on profiles/rules
miker [Thu, 11 Mar 2010 21:32:13 +0000 (21:32 +0000)]
functions that allow vandelay to merge records based on profiles/rules

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

14 years agoimportant to commit the transaction :)
phasefx [Thu, 11 Mar 2010 21:11:01 +0000 (21:11 +0000)]
important to commit the transaction :)

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

14 years agodebug link in staff client browser framework now lets you change the URL
phasefx [Thu, 11 Mar 2010 21:02:18 +0000 (21:02 +0000)]
debug link in staff client browser framework now lets you change the URL

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

14 years agofix this property thingy
phasefx [Thu, 11 Mar 2010 19:39:46 +0000 (19:39 +0000)]
fix this property thingy

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

14 years agotrim the default display fields in the user req ui. format the title as a link to...
erickson [Thu, 11 Mar 2010 18:59:10 +0000 (18:59 +0000)]
trim the default display fields in the user req ui.  format the title as a link to load the request detail page, added some todo comments

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

14 years agocreation method for new user requests, and fix to IDL
phasefx [Thu, 11 Mar 2010 18:16:11 +0000 (18:16 +0000)]
creation method for new user requests, and fix to IDL

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

14 years ago1. Changed search_alias() to an inline function, since it's a trivial wrapper.
scottmk [Thu, 11 Mar 2010 18:14:35 +0000 (18:14 +0000)]
1. Changed search_alias() to an inline function, since it's a trivial wrapper.

2. Minor rearrangements in doFieldmapperSearch(), for clarity:
- Moved the declaration of fields closer to its first use.
- Renamed x to flesh_depth.
- Added a sanity check to make sure that a <link> in the IDL has a reltype
  attribute (otherwise we risk a segfault in subsequent lines).
- Combined the tests for "has_many" and "might_have" into a single test.
- Added or refined comments here and there.

3. For the functions that manage QueryFrames: converted the comment blocks at
the head of each function to the doxygen style.

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

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

14 years agomake the ses cookie go away when the browser is closed
miker [Thu, 11 Mar 2010 18:03:53 +0000 (18:03 +0000)]
make the ses cookie go away when the browser is closed

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

14 years agocreate standalone PO activation routine so PO's can be activated during create time
erickson [Thu, 11 Mar 2010 16:33:18 +0000 (16:33 +0000)]
create standalone PO activation routine so PO's can be activated during create time

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

14 years agosome extra options for the acq user request retrieval methods
phasefx [Thu, 11 Mar 2010 16:07:42 +0000 (16:07 +0000)]
some extra options for the acq user request retrieval methods

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

14 years agoAdd boolean column prepayment_required to acq.purchase_order and
scottmk [Thu, 11 Mar 2010 15:54:03 +0000 (15:54 +0000)]
Add boolean column prepayment_required to acq.purchase_order and
acq.acq_purchase_order_history.

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/0190.schema.acq.po-prepayment-required.sql
M    Open-ILS/examples/fm_IDL.xml

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

14 years agoupdate PO printout to include vendor-public PO and LI notes
erickson [Thu, 11 Mar 2010 15:32:24 +0000 (15:32 +0000)]
update PO printout to include vendor-public PO and LI notes

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

14 years agofixed typo, thanks dan
erickson [Thu, 11 Mar 2010 15:00:22 +0000 (15:00 +0000)]
fixed typo, thanks dan

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

14 years agoadd a table to manage vandelay merge profiles
miker [Thu, 11 Mar 2010 14:48:42 +0000 (14:48 +0000)]
add a table to manage vandelay merge profiles

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

14 years agoAdded boolean column vendor_public to acq.lineitem_note and acq.po_note.
scottmk [Thu, 11 Mar 2010 14:16:57 +0000 (14:16 +0000)]
Added boolean column vendor_public to acq.lineitem_note and acq.po_note.

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/0187.schema.acq.vendor-public.sql
M    Open-ILS/examples/fm_IDL.xml

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

14 years agoby default, don't fetch user reqs that have already been cancelled
erickson [Thu, 11 Mar 2010 14:10:52 +0000 (14:10 +0000)]
by default, don't fetch user reqs that have already been cancelled

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

14 years agoilsevent, not ils_event
phasefx [Thu, 11 Mar 2010 10:02:17 +0000 (10:02 +0000)]
ilsevent, not ils_event

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

14 years agorefactoring of Volume Editor invocations to use a utility function, make VOLUME_LABEL...
phasefx [Thu, 11 Mar 2010 09:53:32 +0000 (09:53 +0000)]
refactoring of Volume Editor invocations to use a utility function, make VOLUME_LABEL_EXISTS event overridable, provide an upfront checkbox for auto-merge functionality on volume collision, and some accesskeys and default textbox focus

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

14 years agoHoldings Maintenance link next to Update Barcodes in Acq
phasefx [Thu, 11 Mar 2010 09:51:31 +0000 (09:51 +0000)]
Holdings Maintenance link next to Update Barcodes in Acq

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

14 years agobeginning of patron request processing page
erickson [Wed, 10 Mar 2010 22:54:38 +0000 (22:54 +0000)]
beginning of patron request processing page

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

14 years agoallow pass-thru of search 'join' filter option to pcrud
erickson [Wed, 10 Mar 2010 22:54:37 +0000 (22:54 +0000)]
allow pass-thru of search 'join' filter option to pcrud

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

14 years agoset cancel_reason label as the reporter:select column. removed duplicate user req...
erickson [Wed, 10 Mar 2010 22:54:36 +0000 (22:54 +0000)]
set cancel_reason label as the reporter:select column.  removed duplicate user req column

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

14 years agoAdd "ON DELETE CASCADE" clauses to foreign keys pointing to
scottmk [Wed, 10 Mar 2010 22:30:04 +0000 (22:30 +0000)]
Add "ON DELETE CASCADE" clauses to foreign keys pointing to
acq.lineitem, from the following tables:

acq.distribution_formula_application
acq.lineitem_attr
acq.lineitem_detail
acq.lineitem_note

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/0186.schema.acq-on-delete-li.sql

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

14 years ago1. Eliminate somed source_definitions from the IDL where there is already
scottmk [Wed, 10 Mar 2010 19:41:50 +0000 (19:41 +0000)]
1. Eliminate somed source_definitions from the IDL where there is already
an equivalent view.  In the presence of a tablename attribute, the
source_definitions were being ignored anyway.  This step applies to classes
aufhl, aufhml, and aufhil.

2. For class aufhmxl: the IDL had both a tablename and a source_definition,
but there was no table or view corresponding to the tablename.
I eliminated the source_definition and created the corresponding view
action.unfulfilled_hold_max_loop.

3. For class aufhol: the IDL had both a tablename and a source_definition,
but neither was valid.  The tablename didn't exist in the database, and the
source_definition referenced the action.unfulfilled_hold_max_loop view, which
didn't exist.  I removed the tablename attribute and left the source_definition
in place, which is now valid because in step 2 I created the missing view.

4. Unrelated: added 201.acq.audit-functions.sql to the list of installation
scripts to run in build-db.sh.

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/0185.schema.acq.aufhmxl-view.sql
M    Open-ILS/src/sql/Pg/build-db.sh
M    Open-ILS/examples/fm_IDL.xml

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

14 years agoReworking of a patch from Ben Ostrowsky: add an OILSProxyLoginOU Directory config...
miker [Wed, 10 Mar 2010 19:20:30 +0000 (19:20 +0000)]
Reworking of a patch from Ben Ostrowsky: add an OILSProxyLoginOU Directory config option for apache to supply a pinned workstation OU for permission checking

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

14 years agosupply a string so that the I18N build process does not lose the event definition
miker [Wed, 10 Mar 2010 14:29:44 +0000 (14:29 +0000)]
supply a string so that the I18N build process does not lose the event definition

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

14 years agofunctions for merging MARC records of the same type
miker [Wed, 10 Mar 2010 01:16:44 +0000 (01:16 +0000)]
functions for merging MARC records of the same type

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

14 years agoadded some missing param commas
erickson [Tue, 9 Mar 2010 22:01:01 +0000 (22:01 +0000)]
added some missing param commas

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

14 years ago* Using lineitem estimated_unit_price to store the price instead of the lineitem...
erickson [Tue, 9 Mar 2010 20:24:14 +0000 (20:24 +0000)]
* Using lineitem estimated_unit_price to store the price instead of the lineitem attrs
* If necessary, perform the currency conversion exactly once, when the order is activated.  Otherewise, assume the price is in the currency of the vendor.
* Create fund debits during PO activation instead of PO creation time.
* Cleared out a pile of deprecated code
* TODO: update JEDI template to pull price from the estimated_price_field

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

14 years agoteach vandelay.strip_field() how to handle lists of complex field specs (ie: 100d...
miker [Tue, 9 Mar 2010 18:55:13 +0000 (18:55 +0000)]
teach vandelay.strip_field() how to handle lists of complex field specs (ie: 100d,245c,650); add vandelay.add_field() which will transfer fields from an incoming record to an incumbent record; add vandelay.replace_field() and vandelay.preserve_field(), which are wrappers that use strip and add

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

14 years ago1. Add estimated_unit_price column to acq.lineitem.
scottmk [Tue, 9 Mar 2010 17:22:52 +0000 (17:22 +0000)]
1. Add estimated_unit_price column to acq.lineitem.

2. Bring acq.acq_lineitem_history and acq.acq_purchase_order_history
into sync with their respective source tables.

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/0183.schema.acq-cancel-reason-history.sql
M    Open-ILS/examples/fm_IDL.xml

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

14 years agoforgot this safety net
phasefx [Tue, 9 Mar 2010 17:09:29 +0000 (17:09 +0000)]
forgot this safety net

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

14 years agoAbility to auto-generate barcodes in the Volume/Copy dialog. Takes the first barcode...
phasefx [Tue, 9 Mar 2010 17:05:16 +0000 (17:05 +0000)]
Ability to auto-generate barcodes in the Volume/Copy dialog.  Takes the first barcode entered and generates subsequent barcodes using the typical library/codabar checkdigit algorithm if the barcodes are 13-14 digits, otherwise, just incrementing them without checkdigits.

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

14 years agoFix a NULL pointer problem that, under some circumstances, could segfault.
scottmk [Tue, 9 Mar 2010 04:53:52 +0000 (04:53 +0000)]
Fix a NULL pointer problem that, under some circumstances, could segfault.

The get_primitive() function was returning NULL in some cases, and the calling
code didn't check for NULL.

Fix: return "string" as the default datatype.

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

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

14 years agoWe like SQL that doesn't contain syntax errors!
dbs [Tue, 9 Mar 2010 02:51:21 +0000 (02:51 +0000)]
We like SQL that doesn't contain syntax errors!

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

14 years agoadded auto_merge_vols option to open-ils.cat.asset.volume.fleshed.batch.update. ...
erickson [Mon, 8 Mar 2010 21:29:50 +0000 (21:29 +0000)]
added auto_merge_vols option to open-ils.cat.asset.volume.fleshed.batch.update.  when changing the label (or owner or bib) for a volume creates a collision against an existing volume, auto-merge (or override) will merge the contents of the edited volume into the existing volume

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

14 years agoMethods to retrieve lineitems with PO's associated with a specific bib.
phasefx [Mon, 8 Mar 2010 19:51:15 +0000 (19:51 +0000)]
Methods to retrieve lineitems with PO's associated with a specific bib.

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

14 years agoacq cancel reason administration interface. TODO: add staff client menu entries
erickson [Mon, 8 Mar 2010 19:50:45 +0000 (19:50 +0000)]
acq cancel reason administration interface.  TODO: add staff client menu entries

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

14 years agoadded org util method to find the full path for an org unit, where the full path...
erickson [Mon, 8 Mar 2010 19:43:33 +0000 (19:43 +0000)]
added org util method to find the full path for an org unit, where the full path is all ancestors, the context org, and all children, as an ordered list of nodes or IDs.

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

14 years agopcrud delete is no more, use eliminate
erickson [Mon, 8 Mar 2010 19:42:24 +0000 (19:42 +0000)]
pcrud delete is no more, use eliminate

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

14 years agoMake permissions for administering triggers more usable out of the box:
dbs [Mon, 8 Mar 2010 19:25:53 +0000 (19:25 +0000)]
Make permissions for administering triggers more usable out of the box:
  * Add CREATE/DELETE/UPDATE/VIEW variants to the generic ADMIN
  * Add ADMIN/CREATE/DELETE/UPDATE trigger permissions to Local System Administrator group at System depth
  * Add VIEW trigger permissions to Local System Administrator at Consortial depth to enable cloning

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

14 years agoadded pcrud entries for po notes
erickson [Mon, 8 Mar 2010 18:57:47 +0000 (18:57 +0000)]
added pcrud entries for po notes

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

14 years agoAdd a cancel_reason column to acq.user_request, pointing to acq.cancel_reason.
scottmk [Mon, 8 Mar 2010 15:53:07 +0000 (15:53 +0000)]
Add a cancel_reason column to acq.user_request, pointing to acq.cancel_reason.

Also: corrected the IDL entries for similar columns elsewhere.  The <link>
should have a reltype of "might_have", not "has_a", since the column is nullable.

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/0181.schema.acq-user-request-cancel-cause.sql
M    Open-ILS/examples/fm_IDL.xml

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