working/Evergreen.git
10 years agotest commit
erickson [Mon, 22 Feb 2010 18:53:16 +0000 (18:53 +0000)]
test commit

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

10 years agoNet::uFTP dependency (which on Debian-based systems appears to need libssh2-1-dev...
phasefx [Mon, 22 Feb 2010 16:41:52 +0000 (16:41 +0000)]
Net::uFTP dependency (which on Debian-based systems appears to need libssh2-1-dev and libssl-dev installed).  Any volunteers for shaking this out on other distros and OS's?

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

10 years agotypo in schema name
erickson [Mon, 22 Feb 2010 14:58:00 +0000 (14:58 +0000)]
typo in schema name

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

10 years agokeep in-db circ consistent with script circs WRT dissallowing checkouts and renewals...
erickson [Mon, 22 Feb 2010 14:18:21 +0000 (14:18 +0000)]
keep in-db circ consistent with script circs WRT dissallowing checkouts and renewals for inactive patrons, inactive cards, and expired patrons

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

10 years agoPatch from Joe Atzberger to implement much of the plumbing for EDI support. It includes
erickson [Mon, 22 Feb 2010 02:59:34 +0000 (02:59 +0000)]
Patch from Joe Atzberger to implement much of the plumbing for EDI support.  It includes
fixes for remote account handling, EDI JEDI event_def, an edi_message table, CstoreEditor
init fixes

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

10 years agostream holdings xml to the client
miker [Sun, 21 Feb 2010 04:47:35 +0000 (04:47 +0000)]
stream holdings xml to the client

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

10 years agoIE support hacks courtesy of Dan Wells
miker [Sat, 20 Feb 2010 20:54:41 +0000 (20:54 +0000)]
IE support hacks courtesy of Dan Wells

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

10 years agoAcq: when receiving items, require user to acknowledge any related alerts
senator [Fri, 19 Feb 2010 23:58:31 +0000 (23:58 +0000)]
Acq: when receiving items, require user to acknowledge any related alerts

Alerts are, in this context, lineitem notes (acqlin) that have a non-null
alert_text value pointing to a lineitem alert text (acqliat).

Users will be prompted to acknowledge all related alerts whether attempting
the receive operation against the whole purchase order, lineitems, or
individual copies.  Users will not be prompted to acknowledge the same alert
more than once per "use" of the purchase order viewing interface.

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

10 years agoemail A/T templates for Acquisition User Requests, supporting ML tweaks, and testing...
phasefx [Fri, 19 Feb 2010 20:56:38 +0000 (20:56 +0000)]
email A/T templates for Acquisition User Requests, supporting ML tweaks, and testing utility

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

10 years agoAcq: complete improvements of receive/unreceive for lineitems and copies
senator [Fri, 19 Feb 2010 20:00:35 +0000 (20:00 +0000)]
Acq: complete improvements of receive/unreceive for lineitems and copies

When viewing a purchase order, you can now recieve and un-receive individual
lineitems or even individual copies, and the PO viewing interface will
properly reflect all changes (to the states of the PO, the lineitems, and the
copies; to the amounts spent and encumbered; and to the state of widgets that
should appear or disappear based on PO/LI/copy state).

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

10 years agotrailing 1; for perl modules
phasefx [Fri, 19 Feb 2010 17:08:37 +0000 (17:08 +0000)]
trailing 1; for perl modules

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

10 years ago'acqli' isn't a class name. time to s/jub/acqli/ ?
erickson [Fri, 19 Feb 2010 16:33:04 +0000 (16:33 +0000)]
'acqli' isn't a class name.  time to s/jub/acqli/ ?

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

10 years agoteach edit pane and the (pending) pcrud filter code about local (non-IDL) fields...
erickson [Fri, 19 Feb 2010 16:03:23 +0000 (16:03 +0000)]
teach edit pane and the (pending) pcrud filter code about local (non-IDL) fields as opposed to regular virtual fields

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

10 years agopush 'xpath' to the end of the columns
erickson [Fri, 19 Feb 2010 04:12:36 +0000 (04:12 +0000)]
push 'xpath' to the end of the columns

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

10 years agoadded missing 'remove' field from li marc attr class
erickson [Fri, 19 Feb 2010 04:12:00 +0000 (04:12 +0000)]
added missing 'remove' field from li marc attr class

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

10 years agotreat virtual fields and non-IDL fields different in the auto-widget universe. as...
erickson [Fri, 19 Feb 2010 04:05:00 +0000 (04:05 +0000)]
treat virtual fields and non-IDL fields different in the auto-widget universe.  as a result, autogrid can sort non-IDL fields in with IDL fields based on explicit sort order

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

10 years agoAcq: Towards slick integration of granular un-receive in the PO interface.
senator [Fri, 19 Feb 2010 00:41:38 +0000 (00:41 +0000)]
Acq: Towards slick integration of granular un-receive in the PO interface.

This adds good UI support for lineitem unreceive.  The bulk of this commit,
however, is in middle-layer rearrangements to make it easier to keep track
of changing lineitems and the POs that they belong to in a long-lived client
side interface.  In other words, when you receive an LI in a PO, the LI table
doesn't only hide the receive button, but keeps track of the LI's state
(received or something else) and shows you the proper controls in any case.
Same for unreceive.

Similar thing coming very soon for lineitem details (copies).

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

10 years agoinitial lineitem marc attr def editor ui
erickson [Thu, 18 Feb 2010 22:43:55 +0000 (22:43 +0000)]
initial lineitem marc attr def editor ui

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

10 years agoadded missing need_before column to acq user request. Added pcrud entries for lineit...
erickson [Thu, 18 Feb 2010 22:43:31 +0000 (22:43 +0000)]
added missing need_before column to acq user request.  Added pcrud entries for lineitem marc attr def class

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

10 years agoIn doUpdate(): check field_object for NULL before dereferencing it.
scottmk [Thu, 18 Feb 2010 21:10:13 +0000 (21:10 +0000)]
In doUpdate(): check field_object for NULL before dereferencing it.

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

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

10 years agoadding "show call numbers at can-have-vols search locations; supporing unapi format
miker [Thu, 18 Feb 2010 20:28:37 +0000 (20:28 +0000)]
adding "show call numbers at can-have-vols search locations; supporing unapi format

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

10 years agoAcq: Minor bugfixes to PO search interface
senator [Thu, 18 Feb 2010 17:05:11 +0000 (17:05 +0000)]
Acq: Minor bugfixes to PO search interface

1) Avoid a problem with floating point math when summing
    amount_{encumbered,spent} in the combined PO view.

2) When redirected to the combined PO view after using the "split PO" function,
    check the "show results as a virtual combined PO" checkbox for
    interface consistency's sake.

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

10 years agodid't catch typo on 'length' first time around, repaired
erickson [Thu, 18 Feb 2010 16:10:29 +0000 (16:10 +0000)]
did't catch typo on 'length' first time around, repaired

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

10 years agoprotect against null 'kids' var in for loop
erickson [Thu, 18 Feb 2010 16:02:29 +0000 (16:02 +0000)]
protect against null 'kids' var in for loop

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

10 years agoforward-porting r15578: Patch from Warren Layton to escape "s in hand-built JSON...
miker [Thu, 18 Feb 2010 15:56:51 +0000 (15:56 +0000)]
forward-porting r15578: Patch from Warren Layton to escape "s in hand-built JSON ... should probably build an object and call js2json against it, but this gets the job done for now

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

10 years agosilence more warnings
erickson [Thu, 18 Feb 2010 15:56:33 +0000 (15:56 +0000)]
silence more warnings

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

10 years agothis was moved into buildEventGrid
phasefx [Thu, 18 Feb 2010 15:29:40 +0000 (15:29 +0000)]
this was moved into buildEventGrid

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

10 years agoSearch button instead of fire-on-change
phasefx [Thu, 18 Feb 2010 15:10:22 +0000 (15:10 +0000)]
Search button instead of fire-on-change

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

10 years agosilence uninitialized value warnings
erickson [Thu, 18 Feb 2010 14:53:57 +0000 (14:53 +0000)]
silence uninitialized value warnings

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

10 years agoAdded ACQ validator module, starting with user request status validation. seed data...
erickson [Thu, 18 Feb 2010 14:21:04 +0000 (14:21 +0000)]
Added ACQ validator module, starting with user request status validation.  seed data to follow

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

10 years agoPatch from Galen Charlton which:
miker [Thu, 18 Feb 2010 02:43:08 +0000 (02:43 +0000)]
Patch from Galen Charlton which:

Fixes bad call to array_upper() that causes ingest to fail if the record
contains one or more 856 fields.  Credit to Lee Dickens for discovering the
bug and subsequently testing the fix.

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

10 years agoUI for Purchase Order related Events
phasefx [Wed, 17 Feb 2010 22:15:09 +0000 (22:15 +0000)]
UI for Purchase Order related Events

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

10 years agoadded initial lineitem cancellation api call. added support for creating a/t events...
erickson [Wed, 17 Feb 2010 20:51:19 +0000 (20:51 +0000)]
added initial lineitem cancellation api call.  added support for creating a/t events for user requests, including item ordered, cancelled, and received.  added support for post response hooks to the batch manager for doing work after the caller has been issued a respond_complete

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

10 years agoadded support for stopping/starting single (Perl) services in lieu of stop/start...
erickson [Wed, 17 Feb 2010 20:35:27 +0000 (20:35 +0000)]
added support for stopping/starting single (Perl) services in lieu of stop/start all via brick control.  Also added support for a -l localhost option, which i realize makes no sense in a brick environment, but if you are bouncing between single and multi server systems, it's nice to have the ability to control either with this script

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

10 years agowe're not providing paging in this UI yet, so don't limit
phasefx [Wed, 17 Feb 2010 16:55:01 +0000 (16:55 +0000)]
we're not providing paging in this UI yet, so don't limit

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

10 years agoAcq: more LI search interface improvements
senator [Wed, 17 Feb 2010 14:33:11 +0000 (14:33 +0000)]
Acq: more LI search interface improvements

Another bug fixed that made LI searches sometimes not find LIs that
    didn't belong to a PO already

Generalized the ISBN export feature in the LI table to be an exporter of
    more attributes.

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

10 years agoAdd a boolean column prepayment_required to acq.provider.
scottmk [Wed, 17 Feb 2010 14:22:56 +0000 (14:22 +0000)]
Add a boolean column prepayment_required to acq.provider.

See KCLS ticket 2249.

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

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

10 years agoforward porting r15559: protect against just-spaces in the remaining query blob
miker [Tue, 16 Feb 2010 21:38:02 +0000 (21:38 +0000)]
forward porting r15559: protect against just-spaces in the remaining query blob

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

10 years agobilling generation typo
miker [Tue, 16 Feb 2010 18:53:30 +0000 (18:53 +0000)]
billing generation typo

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

10 years agothese have been moved to the seed-data file
miker [Tue, 16 Feb 2010 18:23:56 +0000 (18:23 +0000)]
these have been moved to the seed-data file

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

10 years agoDouble-decoding the UTF8 for SRU no longer seems necessary with current Debian Lenny...
dbs [Tue, 16 Feb 2010 17:00:48 +0000 (17:00 +0000)]
Double-decoding the UTF8 for SRU no longer seems necessary with current Debian Lenny packages

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

10 years agocut-and-paste-o spotted by Scott McKellar
miker [Tue, 16 Feb 2010 16:53:01 +0000 (16:53 +0000)]
cut-and-paste-o spotted by Scott McKellar

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

10 years agoinitial invoicing schema
miker [Tue, 16 Feb 2010 16:33:30 +0000 (16:33 +0000)]
initial invoicing schema

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

10 years agofixing regex interpolation in, er, fix
miker [Tue, 16 Feb 2010 15:43:02 +0000 (15:43 +0000)]
fixing regex interpolation in, er, fix

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

10 years agoARG! attempted support for search term containing colons ended up breaking multiclass...
miker [Tue, 16 Feb 2010 15:39:16 +0000 (15:39 +0000)]
ARG! attempted support for search term containing colons ended up breaking multiclass searching

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

10 years agoAcq: POs can only be created with active providers (vendors)
senator [Tue, 16 Feb 2010 15:11:37 +0000 (15:11 +0000)]
Acq: POs can only be created with active providers (vendors)

Added a new feature to AutoFieldWidget to make this as simple: there's now
a searchFilter option that you can give to the constructor, enabling you
to constrain the set of objects that you'll get back for, say, a
FilteringSelect widget.

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

10 years agoAcq: Several improvements to the LI search interface
senator [Tue, 16 Feb 2010 15:00:34 +0000 (15:00 +0000)]
Acq: Several improvements to the LI search interface

- You can export a file of ISBN numbers from any interface using an
    LI table.
- You can use multiple search terms in the LI search interface.
- The LI search interface no longer returns too many results in tested cases.
- You can make a brief bib record out of your LI search terms.
- Little bit of misc cleanup.

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

10 years agohide marc edit button in brief record create interface, update button text
erickson [Tue, 16 Feb 2010 13:54:44 +0000 (13:54 +0000)]
hide marc edit button in brief record create interface, update button text

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

10 years agothe change from 'for (var foo in bar)' to 'for (var foo = 0; foo < bar.length; foo...
phasefx [Tue, 16 Feb 2010 06:41:20 +0000 (06:41 +0000)]
the change from 'for (var foo in bar)' to 'for (var foo = 0; foo < bar.length; foo++)' was breaking things when bar was undefined or null.  lebbeous++

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

10 years agoUI for managing Line Item Alert Text for Acquisitions (acqliat)
phasefx [Tue, 16 Feb 2010 06:28:38 +0000 (06:28 +0000)]
UI for managing Line Item Alert Text for Acquisitions (acqliat)

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

10 years agoreturn success from org tree builder to prevent clobbering the widget later in the...
erickson [Tue, 16 Feb 2010 02:40:52 +0000 (02:40 +0000)]
return success from org tree builder to prevent clobbering the widget later in the top-level datatype switch clause

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

10 years agomake sure self is defined before we use it in the callback
erickson [Mon, 15 Feb 2010 20:42:26 +0000 (20:42 +0000)]
make sure self is defined before we use it in the callback

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

10 years agore-order the local admin menu based on en-US alphabetical order. If we start generat...
phasefx [Mon, 15 Feb 2010 19:19:21 +0000 (19:19 +0000)]
re-order the local admin menu based on en-US alphabetical order.  If we start generating these menus dynamically (which would help reduce the need for staff client upgrades), we could alphabetize long menus regardless of locale

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

10 years agomissing underscore in column name
phasefx [Mon, 15 Feb 2010 18:50:34 +0000 (18:50 +0000)]
missing underscore in column name

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

10 years agoadded pcrud entries for lineitem alert text
erickson [Mon, 15 Feb 2010 15:40:13 +0000 (15:40 +0000)]
added pcrud entries for lineitem alert text

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

10 years agoIn acq.lineitem_alert_text: add owning_lib column. Also make the
scottmk [Mon, 15 Feb 2010 15:12:14 +0000 (15:12 +0000)]
In acq.lineitem_alert_text: add owning_lib column.  Also make the
UNIQUE constraint apply to code + owning_lib, not just code.

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/0161.schema.acq.alert-text-org.sql
M    Open-ILS/examples/fm_IDL.xml

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

10 years agoadded lineitem alert text fleshing on lineitem notes
erickson [Mon, 15 Feb 2010 14:16:12 +0000 (14:16 +0000)]
added lineitem alert text fleshing on lineitem notes

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

10 years agoadded a virtual use_count field for distrib formulas, populating value in ranged...
erickson [Fri, 12 Feb 2010 20:52:53 +0000 (20:52 +0000)]
added a virtual use_count field for distrib formulas, populating value in ranged distrib form retrieve method

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

10 years agoMake autoconf 2.6.1 an explicit requirement due to AC_PROG_MKDIR_P macro usage
dbs [Fri, 12 Feb 2010 20:43:13 +0000 (20:43 +0000)]
Make autoconf 2.6.1 an explicit requirement due to AC_PROG_MKDIR_P macro usage

RHEL 5.4 still ships with autoconf 2.59 (released in 2003, folks) and fails
because MKDIR_P isn't defined. For now, let's kill it right at the ./configure
step until we decide whether to use the marked-as-obsolete AM_PROG_MKDIR_P
macro instead.

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

10 years ago1. New table, acq.lineitem_alert_text.
scottmk [Fri, 12 Feb 2010 20:37:18 +0000 (20:37 +0000)]
1. New table, acq.lineitem_alert_text.

2. New foreign key in acq.lineitem_note, pointing to the new table.

3. Fixed evident typo in IDL for acq.lineitem_note (changed
"Vote Value" to "Note Value").

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/0160.schema.acq.line-item-alert-text.sql
M    Open-ILS/examples/fm_IDL.xml

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

10 years agoadded optional user data pass-thru. this will give the UI the ability to pass in...
erickson [Fri, 12 Feb 2010 20:20:21 +0000 (20:20 +0000)]
added optional user data pass-thru.  this will give the UI the ability to pass in per-printout comments, etc.  go ahead and use the print-on-demand granulariy for consistency

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

10 years agomethod for creating/running format related lineitem events, modeled off the one for...
phasefx [Fri, 12 Feb 2010 18:33:22 +0000 (18:33 +0000)]
method for creating/running format related lineitem events, modeled off the one for purchase orders

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

10 years agoAddressing https://bugs.launchpad.net/evergreen/+bug/520632
miker [Fri, 12 Feb 2010 17:21:43 +0000 (17:21 +0000)]
Addressing https://bugs.launchpad.net/evergreen/+bug/520632

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

10 years agoAddressing https://bugs.launchpad.net/evergreen/+bug/520632
miker [Fri, 12 Feb 2010 17:13:27 +0000 (17:13 +0000)]
Addressing https://bugs.launchpad.net/evergreen/+bug/520632

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

10 years agoRemove unneeded debugging cruft.
senator [Fri, 12 Feb 2010 17:03:38 +0000 (17:03 +0000)]
Remove unneeded debugging cruft.

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

10 years agoAddressing https://bugs.launchpad.net/evergreen/+bug/520632
miker [Fri, 12 Feb 2010 16:40:37 +0000 (16:40 +0000)]
Addressing https://bugs.launchpad.net/evergreen/+bug/520632

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

10 years agoAddressing https://bugs.launchpad.net/evergreen/+bug/520632 -- not strictly required...
miker [Fri, 12 Feb 2010 16:24:21 +0000 (16:24 +0000)]
Addressing https://bugs.launchpad.net/evergreen/+bug/520632 -- not strictly required here, but for(;;) is better form for array access

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

10 years agoAddressing https://bugs.launchpad.net/evergreen/+bug/520632 -- not strictly required...
miker [Fri, 12 Feb 2010 16:23:07 +0000 (16:23 +0000)]
Addressing https://bugs.launchpad.net/evergreen/+bug/520632 -- not strictly required here, but for(;;) is better form for array access

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

10 years agoAcq: Added a working LI search interface.
senator [Fri, 12 Feb 2010 16:22:47 +0000 (16:22 +0000)]
Acq: Added a working LI search interface.

There's more to come on this, but for now you can search LIs by state,
by related PO ordering agency, by any one attached attribute value, and even
by providing a file of search terms to match some attributes (ISBN in
particular).

This doesn't have paging yet, and will also need tweaked to enable
searching by more than one attribute at a time.

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

10 years agoAddressing https://bugs.launchpad.net/evergreen/+bug/520632 -- not strictly required...
miker [Fri, 12 Feb 2010 16:17:31 +0000 (16:17 +0000)]
Addressing https://bugs.launchpad.net/evergreen/+bug/520632 -- not strictly required here, but for(;;) is better form for array access

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

10 years agoAddressing https://bugs.launchpad.net/evergreen/+bug/520632 -- not strictly required...
miker [Fri, 12 Feb 2010 16:11:46 +0000 (16:11 +0000)]
Addressing https://bugs.launchpad.net/evergreen/+bug/520632 -- not strictly required here, but for(;;) is better form for array access

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

10 years agoAddressing https://bugs.launchpad.net/evergreen/+bug/520632 -- not strictly required...
miker [Fri, 12 Feb 2010 16:10:57 +0000 (16:10 +0000)]
Addressing https://bugs.launchpad.net/evergreen/+bug/520632 -- not strictly required here, but for(;;) is better form for array access

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

10 years agoAddressing https://bugs.launchpad.net/evergreen/+bug/520632 -- not strictly required...
miker [Fri, 12 Feb 2010 16:06:19 +0000 (16:06 +0000)]
Addressing https://bugs.launchpad.net/evergreen/+bug/520632 -- not strictly required here, but for(;;) is better form for array access

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

10 years agoreverting one of the for..in to for(;;) changes for "arguments" -- that is special
miker [Fri, 12 Feb 2010 16:04:33 +0000 (16:04 +0000)]
reverting one of the for..in to for(;;) changes for "arguments" -- that is special

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

10 years agoAddressing https://bugs.launchpad.net/evergreen/+bug/520632 -- not strictly required...
miker [Fri, 12 Feb 2010 15:49:32 +0000 (15:49 +0000)]
Addressing https://bugs.launchpad.net/evergreen/+bug/520632 -- not strictly required here, but for(;;) is better form for array access

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

10 years agoPatch from Joe Atzberger to add getop support for defininging the call style, hostnam...
erickson [Fri, 12 Feb 2010 13:29:27 +0000 (13:29 +0000)]
Patch from Joe Atzberger to add getop support for defininging the call style, hostname, etc. and a fix to bypass some extraneous oils_requestor output that was dying during json parsing

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

10 years agoUse the home library of the bucket owner as the context org for the VIEW_CONTAINER...
phasefx [Thu, 11 Feb 2010 20:19:18 +0000 (20:19 +0000)]
Use the home library of the bucket owner as the context org for the VIEW_CONTAINER permission

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

10 years agoIn renaming the config.recuring_fine table, the associated sequence was not automatic...
dbs [Thu, 11 Feb 2010 20:09:17 +0000 (20:09 +0000)]
In renaming the config.recuring_fine table, the associated sequence was not automatically renamed; fix that.

This manifested in errors thrown while manipulating recurring fines due to the
expectation that the sequence would be named differently than it was.

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

10 years agoforward-porting r15501: Normalization for ratio-like strings -- specifically for...
miker [Thu, 11 Feb 2010 18:22:32 +0000 (18:22 +0000)]
forward-porting r15501: Normalization for ratio-like strings -- specifically for map scale ratios; allow the default search class (as specified in the basic search dropdown) to target a specific index

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

10 years agomoved user request hold promotion to its own sub. exit early on error. promote...
erickson [Thu, 11 Feb 2010 15:44:50 +0000 (15:44 +0000)]
moved user request hold promotion to its own sub.  exit early on error.  promote holds when the lineitem is 'imported' instead of with each lineitem update

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

10 years agoupdated the reporting output. limited returned funds to funds that are propagable...
erickson [Wed, 10 Feb 2010 22:10:13 +0000 (22:10 +0000)]
updated the reporting output. limited returned funds to funds that are propagable and returning the rollover amount for funds whose balances rolled to the following year's funds

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

10 years agobackend to support collection of patron purchase request data; create holds, when...
miker [Wed, 10 Feb 2010 21:45:59 +0000 (21:45 +0000)]
backend to support collection of patron purchase request data; create holds, when requested, from purchase requests at acqli->bre vivication time

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

10 years agoMethod for transfering money between funds
phasefx [Wed, 10 Feb 2010 21:38:43 +0000 (21:38 +0000)]
Method for transfering money between funds

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

10 years agoprovide wrapper methods for the 2 fiscall rollover processes: creating next year...
erickson [Wed, 10 Feb 2010 20:47:44 +0000 (20:47 +0000)]
provide wrapper methods for the 2 fiscall rollover processes: creating next year's funds and moving encumbrances to next years funds / de-activating last year's fund.  For both, a dry run version exists that reports on all fund data (for the related org units) for the following year, including fund summary.  I'd be surprised if we didn't have to tweak this some, but it should be mostly there

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

10 years agoadded sub to find the most relevant event def by hook for a given context org unit
erickson [Wed, 10 Feb 2010 18:15:01 +0000 (18:15 +0000)]
added sub to find the most relevant event def by hook for a given context org unit

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

10 years agoPatch from Joe Atzberger to add a line item 'worksheet' print template and a helper...
erickson [Wed, 10 Feb 2010 17:49:46 +0000 (17:49 +0000)]
Patch from Joe Atzberger to add a line item 'worksheet' print template and a helper routine for extracting lineitem attributes

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

10 years agooops, meant to delete this file when changing it's name. see 15484
erickson [Wed, 10 Feb 2010 17:48:17 +0000 (17:48 +0000)]
oops, meant to delete this file when changing it's name.  see 15484

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

10 years agopercent field was removed from acq::fund_allocation
phasefx [Wed, 10 Feb 2010 15:20:57 +0000 (15:20 +0000)]
percent field was removed from acq::fund_allocation

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

10 years agoML stub for fiscal rollover processing.
erickson [Wed, 10 Feb 2010 02:41:09 +0000 (02:41 +0000)]
ML stub for fiscal rollover processing.

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

10 years agoTry to ensure that the PostgreSQL cluster gets initialized with a C locale
dbs [Wed, 10 Feb 2010 01:42:03 +0000 (01:42 +0000)]
Try to ensure that the PostgreSQL cluster gets initialized with a C locale

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

10 years agoentry points for Transfer Title Holds functionality
phasefx [Tue, 9 Feb 2010 22:11:51 +0000 (22:11 +0000)]
entry points for Transfer Title Holds functionality

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

10 years agoSeveral bug fixes and improvements to LI table and DF application.
senator [Tue, 9 Feb 2010 21:55:26 +0000 (21:55 +0000)]
Several bug fixes and improvements to LI table and DF application.

- The "release" button was removed from the DF application controls.
- The "save changes" button was moved in from the right edge of the screen.
- "Save changes" behaves better (doesn't reveal a dead progress bar) when
    there are no changes to save.
- Distribution formula application controls and labels disappear properly
    from the LI table's copy editor if there are none in the system.
- There is no more error about "li.id is not a function."
- There is a "reset formulas" button in the DF application controls now that
    reverts all copy values to whatever they were before any DF were
    applied (within a single editing session).
- When multiple DF are applied, they are applied "serially" with regards to
    copies, not "in parallel" (i.e., from the end of the last application,
    not from position zero).

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

10 years agolineitem item_count was changed to a virtual field in the IDL some time ago. the...
erickson [Tue, 9 Feb 2010 20:38:27 +0000 (20:38 +0000)]
lineitem item_count was changed to a virtual field in the IDL some time ago.  the column was never used.  removing from the schema for future installs

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

10 years agoinsert 'schema' into upgrade script name
erickson [Tue, 9 Feb 2010 18:00:11 +0000 (18:00 +0000)]
insert 'schema' into upgrade script name

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

10 years agoAdding org unit settings for fund spending limits.
scottmk [Tue, 9 Feb 2010 17:35:29 +0000 (17:35 +0000)]
Adding org unit settings for fund spending limits.

See ticket 4201.

M    Open-ILS/src/sql/Pg/002.schema.config.sql
A    Open-ILS/src/sql/Pg/upgrade/0157.data.fund-spending-limits.sql
M    Open-ILS/src/sql/Pg/950.data.seed-values.sql

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

10 years agoconsolidate inactive provider test in the po create code. added support for preventi...
erickson [Tue, 9 Feb 2010 17:21:06 +0000 (17:21 +0000)]
consolidate inactive provider test in the po create code.  added support for preventing fund debit creation when a fund has or is about to exceed the balance stop percent (if defined)

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

10 years agoWhoops: forgot this sql upgrade script that belonged with the previous commit.
senator [Tue, 9 Feb 2010 14:50:23 +0000 (14:50 +0000)]
Whoops: forgot this sql upgrade script that belonged with the previous commit.

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

10 years agoRecord applications of distribution formulas to lineitems in a new DB table.
senator [Tue, 9 Feb 2010 14:49:16 +0000 (14:49 +0000)]
Record applications of distribution formulas to lineitems in a new DB table.

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

10 years agologic thinko in last-copy-deleted IDL view
miker [Tue, 9 Feb 2010 14:25:22 +0000 (14:25 +0000)]
logic thinko in last-copy-deleted IDL view

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

10 years agodon't allow creation of PO's against inactive providers
erickson [Tue, 9 Feb 2010 03:22:26 +0000 (03:22 +0000)]
don't allow creation of PO's against inactive providers

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