]> git.evergreen-ils.org Git - Evergreen.git/log
Evergreen.git
14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 years agomake new addresses valid by default. make the 1st address on a new patron the billin...
erickson [Tue, 6 Oct 2009 14:53:30 +0000 (14:53 +0000)]
make new addresses valid by default.  make the 1st address on a new patron the billing/mailing address

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

14 years agoadded support for setting billing/mailing address on the user account. closes #74
erickson [Tue, 6 Oct 2009 13:05:14 +0000 (13:05 +0000)]
added support for setting billing/mailing address on the user account.  closes #74

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

14 years agoRemove the source of many annoying 404 errors - a CSS file that doesn't exist
dbs [Tue, 6 Oct 2009 04:33:26 +0000 (04:33 +0000)]
Remove the source of many annoying 404 errors - a CSS file that doesn't exist

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

14 years agoStyle the cursor when hovering over a "link"
phasefx [Tue, 6 Oct 2009 04:06:43 +0000 (04:06 +0000)]
Style the cursor when hovering over a "link"

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

14 years agoRemove duplicate entity definitions
dbs [Tue, 6 Oct 2009 03:51:13 +0000 (03:51 +0000)]
Remove duplicate entity definitions

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

14 years agotweak entities
phasefx [Mon, 5 Oct 2009 22:06:55 +0000 (22:06 +0000)]
tweak entities

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

14 years agohandle @accesskey and append .label or .accesskey as appropriate
phasefx [Mon, 5 Oct 2009 22:06:17 +0000 (22:06 +0000)]
handle @accesskey and append .label or .accesskey as appropriate

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

14 years agomuhaha.. entities made easy ;)
phasefx [Mon, 5 Oct 2009 20:50:43 +0000 (20:50 +0000)]
muhaha.. entities made easy ;)

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

14 years agoQuick & dirty utility for making DTD entities
phasefx [Mon, 5 Oct 2009 20:42:53 +0000 (20:42 +0000)]
Quick & dirty utility for making DTD entities

Usage:
        make_entities.pl <prefix> <filename> > filename.new 2> entities.dtd

        mv filename.new filename
        sort entities.dtd | uniq >> lang.dtd

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

14 years agoReplace:
scottmk [Mon, 5 Oct 2009 19:54:10 +0000 (19:54 +0000)]
Replace:

jsonParseString( "[]" );

...with the equivalent, and faster:

jsonNewObjectType( JSON_ARRAY );

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

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

14 years agoif a timestamp is null, don't attempt to turn it into an iso string
erickson [Mon, 5 Oct 2009 17:48:38 +0000 (17:48 +0000)]
if a timestamp is null, don't attempt to turn it into an iso string

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

14 years agomake ndoe depth calculation more efficient and run at startup time to speed up displa...
erickson [Mon, 5 Oct 2009 16:11:54 +0000 (16:11 +0000)]
make ndoe depth calculation more efficient and run at startup time to speed up display for large trees (e.g. org trees).  throw exception when an org unit is retrieved that does not exist, since this cryptic error pops up from time to time during development

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

14 years agoRemove one hard-coded string ("Subjects") from default skin
dbs [Fri, 2 Oct 2009 20:12:46 +0000 (20:12 +0000)]
Remove one hard-coded string ("Subjects") from default skin

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

14 years agoApply the const qualifier to a variable so that it can receive
scottmk [Fri, 2 Oct 2009 18:55:35 +0000 (18:55 +0000)]
Apply the const qualifier to a variable so that it can receive
a const pointer from jsonObjectGetString().

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

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

14 years agoMake new patrons Active by default
phasefx [Fri, 2 Oct 2009 06:49:12 +0000 (06:49 +0000)]
Make new patrons Active by default

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

14 years agoAdd a "complete subject" index to support searches of compound subjects composed...
dbs [Fri, 2 Oct 2009 06:04:34 +0000 (06:04 +0000)]
Add a "complete subject" index to support searches of compound subjects composed of topic + temporal + geographic headings

Prior to this patch, searches for compound subjects had to be targeted against the keywords index

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

14 years agoMake the old survey wizard use work locations instead of home lib
phasefx [Fri, 2 Oct 2009 04:32:51 +0000 (04:32 +0000)]
Make the old survey wizard use work locations instead of home lib

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

14 years agoprovide access to the old survey wizard, but bury it in the For Developers menu
phasefx [Fri, 2 Oct 2009 03:07:34 +0000 (03:07 +0000)]
provide access to the old survey wizard, but bury it in the For Developers menu

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

14 years agoAlright, now that we know how to juggle multiple async fleshing calls for util.list...
phasefx [Wed, 30 Sep 2009 21:12:20 +0000 (21:12 +0000)]
Alright, now that we know how to juggle multiple async fleshing calls for util.list, let's go ahead and use the newly added objects we get from the checkin call payload instead of fetching them ourselves. :)

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

14 years agoerror handling here is abysmal
phasefx [Wed, 30 Sep 2009 21:02:01 +0000 (21:02 +0000)]
error handling here is abysmal

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

14 years agoflesh some data on the patron object returned from a checkin call
erickson [Wed, 30 Sep 2009 20:55:03 +0000 (20:55 +0000)]
flesh some data on the patron object returned from a checkin call

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

14 years agotypo on mbt object retrieval method
erickson [Wed, 30 Sep 2009 20:38:49 +0000 (20:38 +0000)]
typo on mbt object retrieval method

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

14 years agopatron data for checkin rows
phasefx [Wed, 30 Sep 2009 20:26:58 +0000 (20:26 +0000)]
patron data for checkin rows

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

14 years agoalso return the patron object in the response to the checkin API call
erickson [Wed, 30 Sep 2009 20:24:44 +0000 (20:24 +0000)]
also return the patron object in the response to the checkin API call

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

14 years agowhen we check in a circ, flesh the billing summary data on the billable_transaction...
erickson [Wed, 30 Sep 2009 20:17:12 +0000 (20:17 +0000)]
when we check in a circ, flesh the billing summary data on the billable_transaction link off the circ object

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