evergreen/bjwebb.git
15 years agoPatch from Warren Layton to add a "Export to RefWorks" link for bookbags.
dbs [Sat, 17 Oct 2009 18:41:26 +0000 (18:41 +0000)]
Patch from Warren Layton to add a "Export to RefWorks" link for bookbags.

The link only appears if the user's bookbag is shared (if it's not
shared, Supercat feeds for the bookbag won't be visible to outside
world, including RefWorks). It appears under the "Shared" column
(right under "Yes (View) [RSS]").

Developer's Certificate of Origin 1.1

By making a contribution to this project, I certify that:

(a) The contribution was created in whole or in part by me and I
  have the right to submit it under the open source license
  indicated in the file; or

(b) The contribution is based upon previous work that, to the best
  of my knowledge, is covered under an appropriate open source
  license and I have the right under that license to submit that
  work with modifications, whether created in whole or in part
  by me, under the same open source license (unless I am
  permitted to submit under a different license), as indicated
  in the file; or

(c) The contribution was provided directly to me by some other
  person who certified (a), (b) or (c) and I have not modified
  it.

(d) I understand and agree that this project and the contribution
  are public and that a record of the contribution (including all
  personal information I submit with it, including my sign-off) is
  maintained indefinitely and may be redistributed consistent with
  this project or the open source license(s) involved.

Signed-off-by: Warren Layton
git-svn-id: svn://svn.open-ils.org/ILS/trunk@14478 dcc99617-32d9-48b4-a31d-7c20da2025e4

15 years agoWe have no Spanish translation at all, so remove it for now
dbs [Sat, 17 Oct 2009 04:49:05 +0000 (04:49 +0000)]
We have no Spanish translation at all, so remove it for now

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

15 years agoEnsure that we don't invoke functions that have not yet been created
dbs [Sat, 17 Oct 2009 04:41:25 +0000 (04:41 +0000)]
Ensure that we don't invoke functions that have not yet been created

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

15 years agoThese are, after all, binary files.
dbs [Sat, 17 Oct 2009 00:28:42 +0000 (00:28 +0000)]
These are, after all, binary files.

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

15 years agoAdd authority record sample sets from IISH
dbs [Sat, 17 Oct 2009 00:15:02 +0000 (00:15 +0000)]
Add authority record sample sets from IISH

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

15 years agoimplemented the ability to mark a set of lineitems as 'ready for selector', and ...
erickson [Fri, 16 Oct 2009 20:17:08 +0000 (20:17 +0000)]
implemented the ability to mark a set of lineitems as 'ready for selector', and 'ready for order'.  in the main lineitem list page (for selection lists and POs), each lineitem state now has an associated row color.  The colors should change, but you get the idea.  fixed some page titles

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

15 years agoPatch from Lebbeous Fogle-Weekley and Joe Atzberger. Adds org unit settings for...
erickson [Fri, 16 Oct 2009 15:43:19 +0000 (15:43 +0000)]
Patch from Lebbeous Fogle-Weekley and Joe Atzberger.  Adds org unit settings for Authorize.net and PayPal credit card processors.

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

15 years agotree implementation changed, so we find the scrollbar elsewhere. We need the scrollb...
phasefx [Fri, 16 Oct 2009 01:57:55 +0000 (01:57 +0000)]
tree implementation changed, so we find the scrollbar elsewhere.  We need the scrollbar to figure out when a row is no longer off-screen, so that we can fire off any pending network calls needed to flesh the row out.  Pretty hacky, but for some lists we don't want to pulling down that much data at once.  Long run we may need to just pull down data for the columns that are visible, and refetch data if folks use the column pickers

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

15 years agoload dojo and dojo fieldmapper into the Javascript Shell
phasefx [Fri, 16 Oct 2009 00:36:11 +0000 (00:36 +0000)]
load dojo and dojo fieldmapper into the Javascript Shell

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

15 years agoXMLENT was killing the Javascript Shell
phasefx [Fri, 16 Oct 2009 00:33:47 +0000 (00:33 +0000)]
XMLENT was killing the Javascript Shell

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

15 years agoprotect 0-param normalizers from null params value
miker [Fri, 16 Oct 2009 00:25:10 +0000 (00:25 +0000)]
protect 0-param normalizers from null params value

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

15 years agoprotect 0-param normalizers from null params value
miker [Fri, 16 Oct 2009 00:20:16 +0000 (00:20 +0000)]
protect 0-param normalizers from null params value

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

15 years agoSimplest possible way to add PostgreSQL 8.4 support.
dbs [Thu, 15 Oct 2009 22:18:56 +0000 (22:18 +0000)]
Simplest possible way to add PostgreSQL 8.4 support.

Ubuntu 9.10 (Karmic Koala) ships with PostgreSQL 8.4, and in my
testing it works identically to 8.3. Let's add it and avoid at
least one install-time pain.

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

15 years agolayout tweaks, uncheck refundable transactions by default
phasefx [Thu, 15 Oct 2009 20:59:24 +0000 (20:59 +0000)]
layout tweaks, uncheck refundable transactions by default

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

15 years agoadded support for tiered org unit setting permissions. for example, if i have the...
erickson [Thu, 15 Oct 2009 20:53:31 +0000 (20:53 +0000)]
added support for tiered org unit setting permissions.  for example, if i have the UPDATE_ORG_UNIT_SETTING.foo.bar permission, I can update the foo.bar.baz setting

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

15 years agoprecedence to row styling for selected rows
phasefx [Thu, 15 Oct 2009 20:13:43 +0000 (20:13 +0000)]
precedence to row styling for selected rows

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

15 years agostyle refundable rows with a pink background :)
phasefx [Thu, 15 Oct 2009 18:50:50 +0000 (18:50 +0000)]
style refundable rows with a pink background :)

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

15 years agosupport the setting of properties on treerows in util.list, so that we can style...
phasefx [Thu, 15 Oct 2009 18:14:12 +0000 (18:14 +0000)]
support the setting of properties on treerows in util.list, so that we can style an arbitrary row with CSS

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

15 years agopart 2 of: xul + dojo can not use dojo.addOnLoad or djConfig.parseOnLoad
miker [Thu, 15 Oct 2009 16:18:48 +0000 (16:18 +0000)]
part 2 of: xul + dojo can not use dojo.addOnLoad or djConfig.parseOnLoad

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

15 years agoxul + dojo can not use dojo.addOnLoad or djConfig.parseOnLoad
miker [Thu, 15 Oct 2009 16:17:41 +0000 (16:17 +0000)]
xul + dojo can not use dojo.addOnLoad or djConfig.parseOnLoad

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

15 years agouse inline penalty processing during fine generation to prevent duplicate penalties
erickson [Thu, 15 Oct 2009 13:52:57 +0000 (13:52 +0000)]
use inline penalty processing during fine generation to prevent duplicate penalties

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

15 years agoAdd UPDATE_RECORD permission, required to undelete records.
dbs [Thu, 15 Oct 2009 02:36:42 +0000 (02:36 +0000)]
Add UPDATE_RECORD permission, required to undelete records.
Also fix a duplicate ID in oils_i18n_gettext().

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

15 years agoAdd a missing error message.
dbs [Thu, 15 Oct 2009 01:46:52 +0000 (01:46 +0000)]
Add a missing error message.

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

15 years agoYet more progress towards in-db ingest. This time, a MARC flattener for metabib...
miker [Thu, 15 Oct 2009 00:47:55 +0000 (00:47 +0000)]
Yet more progress towards in-db ingest.  This time, a MARC flattener for metabib.full_rec data.

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

15 years agothinko on the datatype for bib id
miker [Thu, 15 Oct 2009 00:07:17 +0000 (00:07 +0000)]
thinko on the datatype for bib id

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

15 years agoMore work towards in-db ingest. The functions provided here will extract
miker [Wed, 14 Oct 2009 23:56:34 +0000 (23:56 +0000)]
More work towards in-db ingest.  The functions provided here will extract
data from a bib record in the same way that the Ingest server does for use
in metabib.*_field_entry tables.

Also provided: wrappers to the xml2 (aka pgxml) contrib module for Postgres 8.2
and before that implement text-based versions of the XPATH function available
in Postgres 8.3 and beyond.

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

15 years agothinko on rollback vs. commit when creating a local cstoreEditor object for user...
erickson [Wed, 14 Oct 2009 21:02:14 +0000 (21:02 +0000)]
thinko on rollback vs. commit when creating a local cstoreEditor object for user penalty calculation/creation

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

15 years agoreturn the picklist when creating a new picklist during record upload
erickson [Wed, 14 Oct 2009 13:27:45 +0000 (13:27 +0000)]
return the picklist when creating a new picklist during record upload

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

15 years agosemi-functional mockup of new billing interface, hidden away in Alternate View for...
phasefx [Wed, 14 Oct 2009 09:56:15 +0000 (09:56 +0000)]
semi-functional mockup of new billing interface, hidden away in Alternate View for now.  Will I18N'ize after it stabilizes.

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

15 years agoshow renewals remaining column by default in dedicated renew interface
phasefx [Wed, 14 Oct 2009 07:52:56 +0000 (07:52 +0000)]
show renewals remaining column by default in dedicated renew interface

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

15 years agoFix Hold Note creation in staff client by replacing permacrud call with a cstore...
phasefx [Wed, 14 Oct 2009 07:35:53 +0000 (07:35 +0000)]
Fix Hold Note creation in staff client by replacing permacrud call with a cstore-using OpenSRF method.  It looks like pcrud.create isn't always closing the transaction that it starts here.

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

15 years agotesting bzr-svn
phasefx [Wed, 14 Oct 2009 06:36:58 +0000 (06:36 +0000)]
testing bzr-svn

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

15 years agotesting bzr-svn
phasefx [Wed, 14 Oct 2009 06:30:55 +0000 (06:30 +0000)]
testing bzr-svn

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

15 years agoAdd a patron.util.format_name() function and have every XUL interface which shows...
phasefx [Wed, 14 Oct 2009 05:06:16 +0000 (05:06 +0000)]
Add a patron.util.format_name() function and have every XUL interface which shows the patron's name make use of it.

Add .alias to the name thus rendered in parenthesis.

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

15 years agoAdd a patron.util.format_name() function and have every XUL interface which shows...
phasefx [Wed, 14 Oct 2009 05:03:20 +0000 (05:03 +0000)]
Add a patron.util.format_name() function and have every XUL interface which shows the patron's name make use of it.

Add .alias to the name thus rendered in parenthesis.

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

15 years agoAdd a patron.util.format_name() function and have every XUL interface which shows...
phasefx [Wed, 14 Oct 2009 05:03:19 +0000 (05:03 +0000)]
Add a patron.util.format_name() function and have every XUL interface which shows the patron's name make use of it.

Add .alias to the name thus rendered in parenthesis.

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

15 years agoSupport updating state_store section of opensrf.xml, either individually or as part...
dbs [Wed, 14 Oct 2009 01:27:21 +0000 (01:27 +0000)]
Support updating state_store section of opensrf.xml, either individually or as part of --service all.

Also, cut out some dead code.

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

15 years agoavoid auto adding a new distrib formula row with every rendering of the li details...
erickson [Tue, 13 Oct 2009 21:20:48 +0000 (21:20 +0000)]
avoid auto adding a new distrib formula row with every rendering of the li details page

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

15 years agowhen viewing a selection list, show a link to the related lineitem PO if necessary
erickson [Tue, 13 Oct 2009 21:12:24 +0000 (21:12 +0000)]
when viewing a selection list, show a link to the related lineitem PO if necessary

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

15 years agoadd a replacement oils_tsearch2() trigger function that will use any configured in...
miker [Tue, 13 Oct 2009 19:06:25 +0000 (19:06 +0000)]
add a replacement oils_tsearch2() trigger function that will use any configured in-db indexing normalizers

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

15 years agoEnhance upgrade for complete subject indexing: drop the unnecessary final ORDER BY...
dbs [Tue, 13 Oct 2009 15:09:58 +0000 (15:09 +0000)]
Enhance upgrade for complete subject indexing: drop the unnecessary final ORDER BY clause and create an index on the source record.

Cuts upgrade time to about one one-hundredth of what it was before.

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

15 years agoadd index normalization fieldmapper classes
miker [Tue, 13 Oct 2009 14:30:06 +0000 (14:30 +0000)]
add index normalization fieldmapper classes

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

15 years agoFix the upgrade script that adds ingest normalizer schema changes
miker [Tue, 13 Oct 2009 14:18:50 +0000 (14:18 +0000)]
Fix the upgrade script that adds ingest normalizer schema changes

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

15 years agoFix the upgrade script that adds ingest normalizer schema changes
miker [Tue, 13 Oct 2009 13:58:37 +0000 (13:58 +0000)]
Fix the upgrade script that adds ingest normalizer schema changes

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

15 years agoTweak the key used for oils_persist so that saved settings will survive staff client...
phasefx [Tue, 13 Oct 2009 06:57:22 +0000 (06:57 +0000)]
Tweak the key used for oils_persist so that saved settings will survive staff client BUILD_ID changes.

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

15 years agoToward a visually slimmer billing interface. Sticking it in the Alternate View slot...
phasefx [Tue, 13 Oct 2009 05:23:50 +0000 (05:23 +0000)]
Toward a visually slimmer billing interface.  Sticking it in the Alternate View slot until it's ready.

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

15 years agoSupport some extra callback functions for staff client lists (on_sort and on_checkbox...
phasefx [Tue, 13 Oct 2009 05:23:48 +0000 (05:23 +0000)]
Support some extra callback functions for staff client lists (on_sort and on_checkbox_toggle)

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

15 years agoReplace sort behavior when clicking on on checkbox column headers with a (un)check...
phasefx [Tue, 13 Oct 2009 05:23:47 +0000 (05:23 +0000)]
Replace sort behavior when clicking on on checkbox column headers with a (un)check-all toggle.

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

15 years agoEasier to see list colors for selected (and focused) rows in trees, especially for...
phasefx [Tue, 13 Oct 2009 05:23:46 +0000 (05:23 +0000)]
Easier to see list colors for selected (and focused) rows in trees, especially for checkbox columns.

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

15 years agoSupport editable trees, which is needed if we want a usable checkbox column in a...
phasefx [Tue, 13 Oct 2009 05:23:45 +0000 (05:23 +0000)]
Support editable trees, which is needed if we want a usable checkbox column in a tree.
And, support checkbox columns in trees.

An example:

<tree id="my_list" editable="true" />

JSAN.use('util.list');
var list = new util.list('my_list');
list.init( {
'columns' : [
{
'id' : 'select',
'type' : 'checkbox',
'editable' : true,
'label' : '',
'render' : function(my) { return true; } // Checked by default
                }
]
} );

But once a tree is editable, all tree cells are editable unless explicitly made otherwise, so you need 'editable' : false in the column definitions for such trees if you don't want cells in those columns to be editable.

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

15 years agobell target for Makefile. Just sends the ASCII bell character to the screen :)
phasefx [Tue, 13 Oct 2009 05:23:44 +0000 (05:23 +0000)]
bell target for Makefile.  Just sends the ASCII bell character to the screen :)

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

15 years agoJust auto-jump to the billing interface once, if at all
phasefx [Tue, 13 Oct 2009 05:23:43 +0000 (05:23 +0000)]
Just auto-jump to the billing interface once, if at all

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

15 years agoRestrict subject searches to subject index. Completion of r14250.
dbs [Tue, 13 Oct 2009 01:04:29 +0000 (01:04 +0000)]
Restrict subject searches to subject index. Completion of r14250.

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

15 years agoPatch from Laura Cassell to make the email regexp a bit more forgiving.
miker [Mon, 12 Oct 2009 20:24:46 +0000 (20:24 +0000)]
Patch from Laura Cassell to make the email regexp a bit more forgiving.
Specifically, this allows the name portion of the address to contain
period separated chunks.

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

15 years agoonly need to send address search params once now
miker [Mon, 12 Oct 2009 17:57:14 +0000 (17:57 +0000)]
only need to send address search params once now

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

15 years agoThis patch moves towards in-database indexed value normalization. The eventual
miker [Mon, 12 Oct 2009 17:06:01 +0000 (17:06 +0000)]
This patch moves towards in-database indexed value normalization.  The eventual
goal of this is to move to pure database ingest handled by triggers.  This will
free us from the grip of the Ingest server, speed up ingest altogether, and
cause ingest to occur entirely within the same database transaction as the
INSERT or UPDATE to the MARC that is the cause of the ingest.  This means
no more potential for race conditions on ingest, and simpler data import.

In this first step, we add some normalization routines for dealing with basic
string data.  NACO normalization and the like.  With these functions we can
do everything that the Ingest server can do with regard to munging indexed
strings.

You can register these normalizers with specific indexed fields, and define the
order in which they are to be applied.

Next up: work on the scaffolding to actually apply the functions, define the
IDL entries, and create MARC-handling functions to do the xpath dances.

This functionallity will require either:

 * a custom (I have a patch) pgxml contrib module or
 * Postgresql 8.3+ XML/XPath support

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

15 years agorolling back a portion of the last commit -- unintended
miker [Mon, 12 Oct 2009 16:41:34 +0000 (16:41 +0000)]
rolling back a portion of the last commit -- unintended

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

15 years agosort checked out items by due date, oldest first. this brings the items that need...
erickson [Mon, 12 Oct 2009 16:36:53 +0000 (16:36 +0000)]
sort checked out items by due date, oldest first.  this brings the items that need the most attention to the top of the list.  previously, there was no sorting

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

15 years agoforward porting 14364: do not use NEW in an ON DELETE trigger, use OLD
miker [Mon, 12 Oct 2009 16:24:41 +0000 (16:24 +0000)]
forward porting 14364: do not use NEW in an ON DELETE trigger, use OLD

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

15 years agoforward-porting r14346: pass the patron id (instead of the object) and the appropriat...
miker [Mon, 12 Oct 2009 05:10:04 +0000 (05:10 +0000)]
forward-porting r14346: pass the patron id (instead of the object) and the appropriate context org to the penalty calculator

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

15 years agocapture the context org parameter for penalty generation.
erickson [Mon, 12 Oct 2009 05:07:51 +0000 (05:07 +0000)]
capture the context org parameter for penalty generation.

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

15 years agoWhen editing billing or payment notes, default with the existing notes. If batch...
phasefx [Fri, 9 Oct 2009 23:09:22 +0000 (23:09 +0000)]
When editing billing or payment notes, default with the existing notes.  If batch editing, concatenate the existing notes.

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

15 years agoCredit card related params for open-ils.circ.money.payment have been re-arranged.
phasefx [Fri, 9 Oct 2009 22:06:32 +0000 (22:06 +0000)]
Credit card related params for open-ils.circ.money.payment have been re-arranged.

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

15 years agoMore obvious Amnesty Mode. Need to get some CSS gurus involved with Evergreen :)
phasefx [Fri, 9 Oct 2009 20:12:31 +0000 (20:12 +0000)]
More obvious Amnesty Mode.  Need to get some CSS gurus involved with Evergreen :)

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

15 years agoinitial support for applying distribution formulas to a set of lineitem_details....
erickson [Fri, 9 Oct 2009 19:47:59 +0000 (19:47 +0000)]
initial support for applying distribution formulas to a set of lineitem_details.  TODO: need to clean up the styling, support formula chains (appying multiples), storing which formula was used (somehwere)

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

15 years agoremove an overlooked experiment
phasefx [Fri, 9 Oct 2009 19:30:27 +0000 (19:30 +0000)]
remove an overlooked experiment

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

15 years agoMore CSS configurability for Checkin/Hold Capture interfaces, mostly so we can style...
phasefx [Fri, 9 Oct 2009 19:15:00 +0000 (19:15 +0000)]
More CSS configurability for Checkin/Hold Capture interfaces, mostly so we can style those states from the Checkin Modifiers menu-button, like Amnesty Mode and Auto-Print Hold and Transit Slips.  Problem is, I don't know a
good way to style them.  End-users could create a circ_custom.css file mimicking circ.css and give any rules the ! important flag to override the stock CSS.

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

15 years agoturned on paginator for org setting type config page
erickson [Fri, 9 Oct 2009 19:14:46 +0000 (19:14 +0000)]
turned on paginator for org setting type config page

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

15 years agofoward-porting 1.2 changeset r9281 for cloned patron address searching
miker [Fri, 9 Oct 2009 18:21:01 +0000 (18:21 +0000)]
foward-porting 1.2 changeset r9281 for cloned patron address searching

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

15 years agoIf an element under the sway of persist_helper makes use of @command, poke the corres...
phasefx [Fri, 9 Oct 2009 18:18:14 +0000 (18:18 +0000)]
If an element under the sway of persist_helper makes use of @command, poke the corresponding <command> with an event if needed, and add a special event listener to it for monitoring the state of the original element.

So basically, this will work now:

    <checkbox id="foo" oils_persist="checked" command="cmd_foo" />

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

15 years agowhen adding copies to a lineitem, you can now choose the total count instead of havin...
erickson [Fri, 9 Oct 2009 15:28:52 +0000 (15:28 +0000)]
when adding copies to a lineitem, you can now choose the total count instead of having to X copies

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

15 years agountil a more flexible solution exists, make the default zip regex in the old-school...
erickson [Fri, 9 Oct 2009 12:49:21 +0000 (12:49 +0000)]
until a more flexible solution exists, make the default zip regex in the old-school patron editor Canada-friendly by default

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

15 years agomore git testing
phasefx [Thu, 8 Oct 2009 21:44:11 +0000 (21:44 +0000)]
more git testing

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

15 years agotest
phasefx [Thu, 8 Oct 2009 21:11:20 +0000 (21:11 +0000)]
test

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

15 years agotesting some svn <-> git-svn <-> git workflows, don't mind me
phasefx [Thu, 8 Oct 2009 21:11:19 +0000 (21:11 +0000)]
testing some svn <-> git-svn <-> git workflows, don't mind me

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

15 years agorolling back 14319. Did not mean to commit wholly re-tabbed file
erickson [Thu, 8 Oct 2009 20:59:34 +0000 (20:59 +0000)]
rolling back 14319.  Did not mean to commit wholly re-tabbed file

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

15 years agopush the CC processing to the end so that it runs just before the final commit
erickson [Thu, 8 Oct 2009 20:57:22 +0000 (20:57 +0000)]
push the CC processing to the end so that it runs just before the final commit

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

15 years agopush the CC processing to the end so that it runs just before the final commit
erickson [Thu, 8 Oct 2009 20:56:45 +0000 (20:56 +0000)]
push the CC processing to the end so that it runs just before the final commit

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

15 years agomade CC payment arguments more flexible
erickson [Thu, 8 Oct 2009 20:53:36 +0000 (20:53 +0000)]
made CC payment arguments more flexible

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

15 years agoverify requested user matches all requested transactions. allow users to create...
erickson [Thu, 8 Oct 2009 20:45:23 +0000 (20:45 +0000)]
verify requested user matches all requested transactions.  allow users to create credit-card-payments toward their own transactions.  dissalow negative CC payments.  don't store CC number or validation code.  updated docs.  minor cleanup

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

15 years agouse an explicit time format instead of relying on the iso8601 method
miker [Thu, 8 Oct 2009 20:13:03 +0000 (20:13 +0000)]
use an explicit time format instead of relying on the iso8601 method

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

15 years agoPatch from Joe Atzberger and Lebbeous Fogle-Weekley:
erickson [Thu, 8 Oct 2009 17:23:01 +0000 (17:23 +0000)]
Patch from Joe Atzberger and Lebbeous Fogle-Weekley:

- provides numerous cleanups to the creditcard.pm module
- test script for testing credit card transactions
- currently support authorizenet and paypal (requires account logins to test)
- other miscellaneous format cleanups

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

15 years agoBug fix for the MARC editor:
miker [Thu, 8 Oct 2009 15:41:44 +0000 (15:41 +0000)]
Bug fix for the MARC editor:

When we add a <controlfield> element we need to set it to be 40 characters
long, and full of spaces, otherwise the Fixed Field editor cannot properly
set the positions.

Additionally, when a Fixed Field is edited but there is no backing
<controlfield> element (say, trying to set the Audn when there is no 008)
then we will add the needed <controlfield>.

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

15 years agoauthoritative hold notification retrieval
phasefx [Wed, 7 Oct 2009 21:32:17 +0000 (21:32 +0000)]
authoritative hold notification retrieval

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

15 years agocreated workaround for confusing IE bug caused by titles with @'s, which resulted...
erickson [Wed, 7 Oct 2009 20:23:41 +0000 (20:23 +0000)]
created workaround for confusing IE bug caused by titles with @'s, which resulted in URLs where the title should be

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

15 years agoGenerate a more correct record leader and 008 field for new MFHD records
dbs [Wed, 7 Oct 2009 19:30:59 +0000 (19:30 +0000)]
Generate a more correct record leader and 008 field for new MFHD records

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

15 years agoEscaping angle brackets is too pervasive a change in entityize(). Revert this part...
dbs [Wed, 7 Oct 2009 17:56:39 +0000 (17:56 +0000)]
Escaping angle brackets is too pervasive a change in entityize(). Revert this part of r14283.

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

15 years agoToward a new look for XUL Record Summary. bib_brief.xul modified for existing instan...
phasefx [Wed, 7 Oct 2009 15:56:12 +0000 (15:56 +0000)]
Toward a new look for XUL Record Summary.  bib_brief.xul modified for existing instances of Record Summary, but the alternate Item Details interface is doing it differently.

The old Record Summary is a dedicated XUL file that typically lives in an iframe.  It would fetch its own data if fed some ID's either via xulG or URL parameters.

The new way (which is really an old way that was tried before and is used with bill summaries) involves a XUL overlay, and a render function matching the overlay name.  A caller can feed it already fetched objects or have it fetch
its own objects given ID's.

To do this,

Include these in your XUL file:
<?xul-overlay href="/xul/server/cat/bib_brief_overlay.xul"?>
<grid id="bib_brief_grid"/>

This pulls in the overlay, which merges with the <grid/> in your XUL and loads bib_brief_overlay.js.

In your javascript, call bib_brief_overlay():

bib_brief_overlay( { 'mvr' : details.mvr, 'acp' : details.copy } );

Different options include mvr, mvr_id, bre, bre_id, and acp.  This will render values into the grid.

Since this is an overlay, you can mix-in your own elements.  The new Item Details is doing this:

<grid id="bib_brief_grid">
    <rows id="bib_brief_grid_rows">
<row>
    <label value="&staff.circ.alternate_copy_summary.Call_Number.label;" accesskey="&staff.circ.alternate_copy_summary.call_number.accesskey;" control="call_number"/>
    <textbox name="call_number" readonly="true" context="clipboard"/>
</row>
    </rows>
</grid>

This is adding a custom/local row to the bottom of the Record Summary grid.

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

15 years agoredundant date.js, and another tweak to aid in debugging
phasefx [Wed, 7 Oct 2009 15:37:04 +0000 (15:37 +0000)]
redundant date.js, and another tweak to aid in debugging

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

15 years agoremnants of some troubleshooting; useful to keep these in here
phasefx [Wed, 7 Oct 2009 15:34:41 +0000 (15:34 +0000)]
remnants of some troubleshooting; useful to keep these in here

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

15 years agosome class hints for these column definitions, so that some non-list code can re...
phasefx [Wed, 7 Oct 2009 15:32:54 +0000 (15:32 +0000)]
some class hints for these column definitions, so that some non-list code can re-use them and be more selective in what it tries to render.  In the long run, we should probably try to utilize fm_IDL.xml for some of this, in the same way that the reporter becomes aware of displayable fields

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

15 years agofix regression with activating checkout pane
phasefx [Wed, 7 Oct 2009 05:09:45 +0000 (05:09 +0000)]
fix regression with activating checkout pane

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

15 years agoAdd basic favicon.ico, per #63 - thanks atz!
dbs [Wed, 7 Oct 2009 02:08:07 +0000 (02:08 +0000)]
Add basic favicon.ico, per #63 - thanks atz!

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

15 years agoprevent bare 'null' from showing up in patron name
erickson [Tue, 6 Oct 2009 20:55:48 +0000 (20:55 +0000)]
prevent bare 'null' from showing up in patron name

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

15 years agoplugged in link to address owner when address is owned by another user (e.g. via...
erickson [Tue, 6 Oct 2009 20:42:36 +0000 (20:42 +0000)]
plugged in link to address owner when address is owned by another user (e.g. via cloning)

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

15 years agostarting clone support. added cloning for home org, phone numbers, and mailing/billi...
erickson [Tue, 6 Oct 2009 17:44:48 +0000 (17:44 +0000)]
starting clone support.  added cloning for home org, phone numbers, and mailing/billing addresses. like previous user editor, addresses are only directly editable by the address owner.  TODO, add address detachment and linking to addr owner

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

15 years agoExtend entityize() escaping behaviour to also convert raw angle brackets to entities.
dbs [Tue, 6 Oct 2009 17:15:13 +0000 (17:15 +0000)]
Extend entityize() escaping behaviour to also convert raw angle brackets to entities.

Also, escape the library short name and call number labels in XML holdings.

The entityize() omission was killing marcxml-full unAPI output, but the
function is used heavily through the code base. Will test further before
backporting in case the angle brackets are manually escaped in other
uses.

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

15 years agotweak to suppress security related error
phasefx [Tue, 6 Oct 2009 17:12:59 +0000 (17:12 +0000)]
tweak to suppress security related error

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

15 years agoSupport ui.circ.show_billing_tab_on_bills org setting.
phasefx [Tue, 6 Oct 2009 17:06:33 +0000 (17:06 +0000)]
Support ui.circ.show_billing_tab_on_bills org setting.

Some refactoring to eliminate a redundant network call and to have the stop sign page trump the Show Billing Tab on Bills behavior.

This whole display/summary/sub-interface setup needs some TLC, and I want to redo the stop sign page so that you can spawn it quickly and just feed it asynchronous data as needed.

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

15 years agoadded a batch version of the post-checkin backdate call: open-ils.circ.post_checkin_b...
erickson [Tue, 6 Oct 2009 15:08:00 +0000 (15:08 +0000)]
added a batch version of the post-checkin backdate call: open-ils.circ.post_checkin_backdate.batch.  It takes an array of circ IDs

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