evergreen/bjwebb.git
14 years agostarted support for overrideing the label for remote object filtering selects
erickson [Wed, 3 Mar 2010 20:25:42 +0000 (20:25 +0000)]
started support for overrideing the label for remote object filtering selects

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

14 years agokeep the original due_date time component of day-granular circs on due_date edit
miker [Wed, 3 Mar 2010 19:36:11 +0000 (19:36 +0000)]
keep the original due_date time component of day-granular circs on due_date edit

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

14 years agoAcq: middle-layer support for unified lineitem/purchase order/picklist search
senator [Wed, 3 Mar 2010 19:18:55 +0000 (19:18 +0000)]
Acq: middle-layer support for unified lineitem/purchase order/picklist search

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

14 years agoneed to add a space here, in case the term contains a : (parser gets confused)
miker [Wed, 3 Mar 2010 17:43:20 +0000 (17:43 +0000)]
need to add a space here, in case the term contains a : (parser gets confused)

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

14 years agopatch from Jason Stephenson to allow the EVERYTHING permission in permission.usr_has_...
miker [Wed, 3 Mar 2010 16:38:52 +0000 (16:38 +0000)]
patch from Jason Stephenson to allow the EVERYTHING permission in permission.usr_has_perm_at_nd

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

14 years agoPatch from Warren Layton to remove a debugging alert in the permission creation interface
miker [Wed, 3 Mar 2010 16:23:02 +0000 (16:23 +0000)]
Patch from Warren Layton to remove a debugging alert in the permission creation interface

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

14 years agoTidied up white space, mainly by indenting with tabs instead of spaces.
scottmk [Wed, 3 Mar 2010 15:52:07 +0000 (15:52 +0000)]
Tidied up white space, mainly by indenting with tabs instead of spaces.
Added some comments.  No substantive changes.

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

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

14 years ago1. Encapsulated into a few small functions the management of session-level
scottmk [Wed, 3 Mar 2010 03:24:23 +0000 (03:24 +0000)]
1. Encapsulated into a few small functions the management of session-level
information (currently just the transaction ID).

2. Fixed a bug in the treatment of the transaction ID that had caused us to
issue useless extra rollbacks whenever we did a commit or a rollback.

3. Further tinkered with comments.

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

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

14 years agoAcq: add a tooltip to show lineitem alert text description along with code
senator [Tue, 2 Mar 2010 23:05:16 +0000 (23:05 +0000)]
Acq: add a tooltip to show lineitem alert text description along with code

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

14 years agoforward-porting r15664: protect mmbxs mat view from NULLs
miker [Tue, 2 Mar 2010 22:36:39 +0000 (22:36 +0000)]
forward-porting r15664: protect mmbxs mat view from NULLs

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

14 years agoAdd ALLOW_ALT_TCN permission to the permission list
dbs [Tue, 2 Mar 2010 21:32:20 +0000 (21:32 +0000)]
Add ALLOW_ALT_TCN permission to the permission list

If given this permission, it will enable rogue cataloguers to set a
different TCN if an incoming bib record conflicts with an existing
bib record.

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

14 years agoFix bug where diacritics could be corrupted in places like the library hierarchy...
dbs [Tue, 2 Mar 2010 20:59:11 +0000 (20:59 +0000)]
Fix bug where diacritics could be corrupted in places like the library hierarchy selection list in the SlimPAC

Apply patch from Galen Charlton to ensure required version of Encode.pm; also removes support for Ubuntu Gutsy

From https://bugs.launchpad.net/evergreen/+bug/525069

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

14 years agoApply patch from Galen Charlton to prevent legacy 852 fields from being exported...
dbs [Tue, 2 Mar 2010 20:54:37 +0000 (20:54 +0000)]
Apply patch from Galen Charlton to prevent legacy 852 fields from being exported during bib+holdings export

From https://bugs.launchpad.net/evergreen/+bug/528424

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

14 years agoAcq: Indicate presence of alerts among notes in lineitem table interface
senator [Tue, 2 Mar 2010 19:42:26 +0000 (19:42 +0000)]
Acq: Indicate presence of alerts among notes in lineitem table interface

Italicize the notes link and mark it with a red flag character when the notes
associated with a given lineitem have alert texts linked to them.

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

14 years agoNot so fast, tex. The client sorted things, all right, but was completely messed up.
dbs [Tue, 2 Mar 2010 19:16:32 +0000 (19:16 +0000)]
Not so fast, tex. The client sorted things, all right, but was completely messed up.

Pursue wlayton's r14015 instead for client-side sorting.

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

14 years agoadded permacrud retrieve entries for po/li history tables
erickson [Tue, 2 Mar 2010 18:47:30 +0000 (18:47 +0000)]
added permacrud retrieve entries for po/li history tables

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

14 years agoSort Z39.50 sources as returned by fetch_service_defs() for a better UX
dbs [Tue, 2 Mar 2010 18:39:36 +0000 (18:39 +0000)]
Sort Z39.50 sources as returned by fetch_service_defs() for a better UX

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

14 years agoFix syntax error
senator [Tue, 2 Mar 2010 15:53:59 +0000 (15:53 +0000)]
Fix syntax error

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

14 years agoTidied up white space; added comments to several functions.
scottmk [Tue, 2 Mar 2010 04:32:27 +0000 (04:32 +0000)]
Tidied up white space; added comments to several functions.

Eliminated unnecessary return statements from the void functions
userDataFree() and sessionDataFree().

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

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

14 years ago1. Renamed getSourceDefinition() to getRelation(), since "SourceDefinition"
scottmk [Tue, 2 Mar 2010 00:49:43 +0000 (00:49 +0000)]
1. Renamed getSourceDefinition() to getRelation(), since "SourceDefinition"
could be taken to refer to a subquery defined in the IDL.

2. In getRelation(): when returning a source_definition instead of a table name
or view name, build it in a single allocated buffer instead of a growing_buffer,
in order to save a malloc() and free().

3. In osrfAppChildInit(): Use and reuse a single growing_buffer to build the
SELECT statements, instead of allocating and freeing one repeatedly.

4. In osrfAppChildInit(): if getRelation() returns NULL, skip the class and go
on to the next one, since any attempt to SELECT from it is doomed anyway.

5. In osrfAppChildInit(): eliminate several unnecessary casts.

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

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

14 years agoTidying up whte space, adding comments. No substantive changes.
scottmk [Mon, 1 Mar 2010 22:25:02 +0000 (22:25 +0000)]
Tidying up whte space, adding comments.  No substantive changes.

(The diff looks messier than it should because of some
spurious matches.)

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

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

14 years agothis slipped back in and shouldn't have
phasefx [Mon, 1 Mar 2010 22:20:02 +0000 (22:20 +0000)]
this slipped back in and shouldn't have

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

14 years agoIn PO Events UI, change Target ID column into a Purchase Order column linking to...
phasefx [Mon, 1 Mar 2010 22:18:16 +0000 (22:18 +0000)]
In PO Events UI, change Target ID column into a Purchase Order column linking to the PO View.  Change deprecated dojo .getValue and .setValue to .attr in places

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

14 years agoRetrieval, cancel, and set no hold methods for acq user requests
phasefx [Mon, 1 Mar 2010 20:01:42 +0000 (20:01 +0000)]
Retrieval, cancel, and set no hold methods for acq user requests

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

14 years agoDon't assume an options parameter was passed, and remove the ability to 'flesh your...
phasefx [Mon, 1 Mar 2010 19:58:55 +0000 (19:58 +0000)]
Don't assume an options parameter was passed, and remove the ability to 'flesh your way to China'

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

14 years ago1. Fixed a bug in osrfAppInitialize(). After loading the method name into the
scottmk [Mon, 1 Mar 2010 16:21:08 +0000 (16:21 +0000)]
1. Fixed a bug in osrfAppInitialize().  After loading the method name into the
method metadata, we were deleting it.  Any subsequent access of it invoked
undefined behavior.  It was just our dumb luck that cstore didn't crash and
burn long ago.

2. Tidied up some of the white space.

3. Added doxygen-style comments to three of the functions.

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

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

14 years agoAcq: View and manage distrib formula applications for a given lineitem
senator [Sat, 27 Feb 2010 00:07:40 +0000 (00:07 +0000)]
Acq: View and manage distrib formula applications for a given lineitem

When distribution formulas are applied, each application is represented by an
icon in a new table in the lineitem copies interface.

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

14 years agoReload button for staff client's browser, and some missing DTD entities
phasefx [Thu, 25 Feb 2010 20:58:10 +0000 (20:58 +0000)]
Reload button for staff client's browser, and some missing DTD entities

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

14 years agoAdded five new views to the acq schema:
scottmk [Thu, 25 Feb 2010 20:37:21 +0000 (20:37 +0000)]
Added five new views to the acq schema:

all_fund_allocation_total
all_fund_encumbrance_total
all_fund_spent_total
all_fund_spent_balance
all_fund_combined_balance

These views are similar to the correspondingly named views without the
"all_" prefix (i.e. acq.fund_allocation_total, etc) except that the
return a row for every fund in acq.fund, even if the fund is not
represented in acq.fund_debit or acq.fund_allocation.

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/0173.schema.acq.all-fund-views.sql
M    Open-ILS/examples/fm_IDL.xml

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

14 years agofix field name for acq.user_request IDL entry
phasefx [Thu, 25 Feb 2010 16:13:18 +0000 (16:13 +0000)]
fix field name for acq.user_request IDL entry

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

14 years agoCreated a new table acq.provider_note, similar to acq.po_note, but tied
scottmk [Wed, 24 Feb 2010 21:23:37 +0000 (21:23 +0000)]
Created a new table acq.provider_note, similar to acq.po_note, but tied
to acq.provider instead of to acq.purchase_order.

Also: modified actor.usr_purge_data() to touch the foreign keys to
actor.usr when a user is purged.

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

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

14 years agoneeded to enable the Extension Manager buried in the Admin -> For Developers menu...
phasefx [Wed, 24 Feb 2010 21:12:06 +0000 (21:12 +0000)]
needed to enable the Extension Manager buried in the Admin -> For Developers menu.  emrikol++

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

14 years agoFix the spurious "Item is already checked out." warning when placing a copy level...
phasefx [Wed, 24 Feb 2010 20:30:24 +0000 (20:30 +0000)]
Fix the spurious "Item is already checked out." warning when placing a copy level hold

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

14 years agoAcq: separate LI note creation from LI alert creation; improve notes iface
senator [Wed, 24 Feb 2010 19:36:17 +0000 (19:36 +0000)]
Acq: separate LI note creation from LI alert creation; improve notes iface

Since adding LI notes or alerts takes place immediately, so does deleting
them now, so there's no more need for a Save Changes button on that interface.

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

14 years agofetch user groups non-async to prevent clobbering expire date when group dijit update...
erickson [Wed, 24 Feb 2010 19:30:44 +0000 (19:30 +0000)]
fetch user groups non-async to prevent clobbering expire date when group dijit updates with async data.  set required var before it's used.  don't require values in the password field for existing users

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

14 years agoDon't require an ident value for offline mode patron registration, since we don't...
phasefx [Wed, 24 Feb 2010 18:03:30 +0000 (18:03 +0000)]
Don't require an ident value for offline mode patron registration, since we don't require it online

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

14 years agonew widgets to disable/enable in the checkout UI based on patron conditions
phasefx [Wed, 24 Feb 2010 17:26:19 +0000 (17:26 +0000)]
new widgets to disable/enable in the checkout UI based on patron conditions

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

14 years agofix double-listing bug in Actions for this Record -> View Holds
phasefx [Wed, 24 Feb 2010 16:54:20 +0000 (16:54 +0000)]
fix double-listing bug in Actions for this Record -> View Holds

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

14 years agoAdd fax number, phone, url, email to certain provider-related tables.
scottmk [Wed, 24 Feb 2010 14:34:32 +0000 (14:34 +0000)]
Add fax number, phone, url, email to certain provider-related 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/0171.schema.acq.provider-phone-email.sql
M    Open-ILS/examples/fm_IDL.xml

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

14 years agofix an org setting label mixup
phasefx [Tue, 23 Feb 2010 18:35:20 +0000 (18:35 +0000)]
fix an org setting label mixup

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

14 years agoupgrade script for ui.staff.require_initials
phasefx [Tue, 23 Feb 2010 18:17:49 +0000 (18:17 +0000)]
upgrade script for ui.staff.require_initials

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

14 years agoFix typo in upgrade version number
senator [Tue, 23 Feb 2010 17:03:15 +0000 (17:03 +0000)]
Fix typo in upgrade version number

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

14 years agoAcq: optionally associate an alert with lineitem note when creating the latter.
senator [Mon, 22 Feb 2010 22:23:33 +0000 (22:23 +0000)]
Acq: optionally associate an alert with lineitem note when creating the latter.

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

14 years agoPatch from Dan Wells to repair white space error in here-doc (fixes the r15418 reshel...
erickson [Mon, 22 Feb 2010 21:43:24 +0000 (21:43 +0000)]
Patch from Dan Wells to repair white space error in here-doc (fixes the r15418 reshelving problem)

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

14 years agowhere possible, return the matchpoint that would have been used had the tests passed
miker [Mon, 22 Feb 2010 21:25:57 +0000 (21:25 +0000)]
where possible, return the matchpoint that would have been used had the tests passed

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

14 years agostop nasty error when cancelling a Claim Return action
phasefx [Mon, 22 Feb 2010 21:20:27 +0000 (21:20 +0000)]
stop nasty error when cancelling a Claim Return action

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

14 years agoTrigger patron 'stop sign' page for the ALERT_NOTE penalty
phasefx [Mon, 22 Feb 2010 20:35:47 +0000 (20:35 +0000)]
Trigger patron 'stop sign' page for the ALERT_NOTE penalty

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

14 years agoAcq: Fix sorting bug in rev 15614 when use_count >= 10
senator [Mon, 22 Feb 2010 20:20:23 +0000 (20:20 +0000)]
Acq: Fix sorting bug in rev 15614 when use_count >= 10

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

14 years agofix actions in the Group summary when seen via the patron search interface
phasefx [Mon, 22 Feb 2010 20:16:00 +0000 (20:16 +0000)]
fix actions in the Group summary when seen via the patron search interface

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

14 years agoAcq: Distribution formula dropdown in lineitem detail editor shows use count.
senator [Mon, 22 Feb 2010 20:08:04 +0000 (20:08 +0000)]
Acq: Distribution formula dropdown in lineitem detail editor shows use count.

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

14 years agoverifying dcommit and rolling back last test, please ignore
erickson [Mon, 22 Feb 2010 18:55:06 +0000 (18:55 +0000)]
verifying dcommit and rolling back last test, please ignore

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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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