]> git.evergreen-ils.org Git - Evergreen.git/log
Evergreen.git
13 years agobumping version numbers tags/rel_2_0_beta3
miker [Tue, 23 Nov 2010 00:36:55 +0000 (00:36 +0000)]
bumping version numbers

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

13 years agoTagging 2.0-beta3
miker [Tue, 23 Nov 2010 00:31:22 +0000 (00:31 +0000)]
Tagging 2.0-beta3

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

13 years agofix missing dep that prevented acq bib search form from working
gmc [Mon, 22 Nov 2010 22:47:36 +0000 (22:47 +0000)]
fix missing dep that prevented acq bib search form from working

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@18832 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agominor FeedTemplate bug fixes
miker [Mon, 22 Nov 2010 21:10:18 +0000 (21:10 +0000)]
minor FeedTemplate bug fixes

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

13 years agoappend to bottom of list for xul-based hold list interfaces. The result of this...
phasefx [Mon, 22 Nov 2010 20:38:55 +0000 (20:38 +0000)]
append to bottom of list for xul-based hold list interfaces.  The result of this is that rows appended off-screen (with just the hold id) will not make a network request for fleshing until they either become visible, or a column sort action is initiated

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

13 years agobug #680096 - upgrade script to partially reingest bibs after upgrade to 2.0
gmc [Mon, 22 Nov 2010 17:17:13 +0000 (17:17 +0000)]
bug #680096 - upgrade script to partially reingest bibs after upgrade to 2.0

This solves the problem of the new facets sidebar showing up empty in
OPAC search results.  Since the process of populating metabib.facet_entry
and updating metabib.*_field_entry can take a long time on large databases,
the update SQL is generated by a separate script, reingest-1.6-2.0.pl.  Usage
from an example run is:

./reingest-1.6-2.0.pl: generate SQL script to reingest bibs during an upgrade to Evergreen 2.0

By default, the script writes to the file reingest-1.6-2.0.sql.  To modify
this script's behavior, you can supply the following options:

--config /path/to/opensrf_core.xml  used to get connection information to
                                    the Evergreen database
--chunk_size n                      number of bibs to reingest in a chunk;
                                    specify if you don't want all of the
                                    bibs in the database to be reindexes
                                    in a single transaction
--output /path/to/output_file.sql   path of output SQL file

Writing output to file reingest-1.6-2.0.sql

SQL script complete.  To perform the reingest, please run the script using
the psql program, e.g.,

psql {connection parameters}  < reingest-1.6-2.0.sql

If you are running a large Evergreen installation, it is recommend that you
examine the script first; note that a reingest of a large Evergreen database
can take several hours.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@18825 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agomore SuperCat XML fixup needed to support serials data -- important for opac customiz...
miker [Mon, 22 Nov 2010 17:05:49 +0000 (17:05 +0000)]
more SuperCat XML fixup needed to support serials data -- important for opac customization though BibTemplate (as in, "do not blow up")

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

13 years agoadd field to IDL needed by, well, a bunch of stuff: sstr-[has_many]->items
miker [Mon, 22 Nov 2010 15:17:35 +0000 (15:17 +0000)]
add field to IDL needed by, well, a bunch of stuff: sstr-[has_many]->items

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

13 years agoparallel fine generator
gmc [Mon, 22 Nov 2010 13:38:53 +0000 (13:38 +0000)]
parallel fine generator

The fine generator cronjob can now use multiple
parallel processes by setting fine_generator/parallel
in opensrf.xml to a value greater than 1.  This
can speed up periodic fine generation in a database
containing a large number of overdue loans.

Also added a service to return just the list of
IDs of overdue loans and reservations - fleshing
the entire set of overdue loans when generating fines
has been observed to cause significant swap-thrashing in
at least one large database.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@18820 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agohold targeter: add option to run parallel targeter processes
gmc [Mon, 22 Nov 2010 13:38:51 +0000 (13:38 +0000)]
hold targeter: add option to run parallel targeter processes

Permit the hold targeter to divvy up the work and run more than one process
at a time by setting the opensrf.xml setting hold_targeter/parallel to a
value greater than one.  Doing so can significantly reduce the
time it takes to (re)target a large number of hold requests, although
only up to a point (in other words, if increasing the number of parallel
targeters beyond one, it is recommended to do so slowly.)

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@18819 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agoAddress maintain_control_numbers() database function bug #677160
dbs [Sat, 20 Nov 2010 19:56:10 +0000 (19:56 +0000)]
Address maintain_control_numbers() database function bug #677160

Jason Stephenson reported a bug handling records with multiple
001 or 003 fields, and supplied a set of test records to
reproduce the condition. The bug caused the ingest process
to throw a database error, rolling back the transaction and
preventing the actual ingest of those records.

The solution was to simplify the logic in maintain_control_numbers().
Now, in the case that there are either multiple 001s or 003s in the
incoming record, we simply delete all of the 003s and 001s and
create the desired 001 and 003. Also, if there are not exactly one
001 and one 003 in the incoming record, we do not try to preserve
one of those values in the 035 as it would be close to meaningless.

Many thanks to Jason for the clear bug report and test cases!

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

13 years agono one likes the persisting call number with fast add, not even me :)
phasefx [Fri, 19 Nov 2010 20:44:50 +0000 (20:44 +0000)]
no one likes the persisting call number with fast add, not even me :)

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

13 years agoonly allow choice from active providers when creating POs and invoices
gmc [Thu, 18 Nov 2010 20:32:32 +0000 (20:32 +0000)]
only allow choice from active providers when creating POs and invoices

Also removed cusotm defaultLinkedDataLoader for the provider selection widget;
no longer necessary since pcrud handles filter by OUs

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@18799 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agoStomp another ru-RU PO problem in lang.dtd
dbs [Thu, 18 Nov 2010 20:03:45 +0000 (20:03 +0000)]
Stomp another ru-RU PO problem in lang.dtd

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

13 years agoUnbreak the Russian translation
dbs [Thu, 18 Nov 2010 19:41:32 +0000 (19:41 +0000)]
Unbreak the Russian translation

Ampersands at the end of msgstr entries break translate-toolkit but good.

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

13 years agoReplace deprecated use of window.opener in unit selection window.
dbwells [Thu, 18 Nov 2010 19:30:05 +0000 (19:30 +0000)]
Replace deprecated use of window.opener in unit selection window.

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

13 years agomark some non-NULL provider and EDI fields as required
gmc [Thu, 18 Nov 2010 17:38:57 +0000 (17:38 +0000)]
mark some non-NULL provider and EDI fields as required

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@18791 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agouse pcrud auto-complete widget when selecting providers
gmc [Thu, 18 Nov 2010 16:31:36 +0000 (16:31 +0000)]
use pcrud auto-complete widget when selecting providers

Fixes general slowness working with invoice and PO forms if
more than a couple hundred providers are defined.

This could be generalized with a bit of work with Fieldmapper
to define "has-one-chosen-by-user-from-cast-of-thousands"
relationships that should trigger use the auto-complete widget.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@18787 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agofetchItemByIdentity now returns null immediately upon null identity
gmc [Thu, 18 Nov 2010 16:31:34 +0000 (16:31 +0000)]
fetchItemByIdentity now returns null immediately upon null identity

Besides being trivially more efficient, this avoids a situation
where pcrud can sometimes time out when attempting to retrieve
a row by a null PK value.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@18786 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agofetch more than the default 10 (per page) distrib formulas; 500 is arbitrary, but...
erickson [Thu, 18 Nov 2010 15:37:11 +0000 (15:37 +0000)]
fetch more than the default 10 (per page) distrib formulas;  500 is arbitrary, but still notably less than the infinity that was in effect before paging.  todo: research optiosn for using the new autofieldwidget/dojo/pcrud-store instead

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

13 years agoApparently, IE versions 6+ can handle ssl+keepalive. this apache change should help...
erickson [Thu, 18 Nov 2010 14:32:07 +0000 (14:32 +0000)]
Apparently, IE versions 6+ can handle ssl+keepalive.  this apache change should help speed up IE w/ ssl and reduce server back-and-forth

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

13 years agoBackport r18762 from trunk:
senator [Wed, 17 Nov 2010 22:41:33 +0000 (22:41 +0000)]
Backport r18762 from trunk:

Wonder of wonders, a Dojo data store supporting lazy loading objects via pcrud!

So openils.PermaCrud.Store was dreamt up and directed by Mike Rylander, and
implemented by me.  Right now it gives us a new way to provide widgets for
selecting objects in Dojo-based interfaces.

Where previously we had some dropdowns here and there that really shouldn't
be dropdowns (such as one for selection lists in Acq, and several for resources
and resource types in Booking -- these examples I've replaced, but there are
surely more) because loading a dropdown with potentially zillions of items
to choose from can take forever and break the interface, now we can have
autocompleting textboxes that only load items matching what you type (and
even then with a low-ish default limit so that if you're vague in your input
you still don't get huge unwieldy result sets).

Easiest way to see an example is if you already have any acq selection lists.
Just go to any catalog record, choose Actions for this Record, choose View/Place
orders, then click "Add to Selection List." In the resulting dialog, that
second field used to be a dropdown, but now it's an autocompleting textbox.

Alternatively, you can see these in the affected booking interfaces (see files
modified in this commit) under Admin -> Server Administration -> Booking.

The future promises even better things for this store. When it implements the
Dojo Write API, interfaces using grids can potentially be vastly simplified
by relying on the store to save its own dirty objects. The Notification API
would facilitate easy use of single stores with multiple widgets. All good
things for faster-to-write interfaces.

------------------------------------------------------------------------

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

13 years agoHold targeting didn't work right on type I (issuance) holds, but now it does
senator [Wed, 17 Nov 2010 22:01:07 +0000 (22:01 +0000)]
Hold targeting didn't work right on type I (issuance) holds, but now it does

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

13 years agoAdd authority control support for 630 and 648 fields
dbs [Wed, 17 Nov 2010 19:01:42 +0000 (19:01 +0000)]
Add authority control support for 630 and 648 fields

Thanks to Ole Kerpel <oke@iisg.nl> for providing the additional
definitions for this support to bring us closer to MARC
authority control norms.

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

13 years ago0 (zero) is a valid depth, so allow it via defined()
miker [Wed, 17 Nov 2010 16:58:23 +0000 (16:58 +0000)]
0 (zero) is a valid depth, so allow it via defined()

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

13 years agopass the supplied depth parameter to the query parser for use
miker [Wed, 17 Nov 2010 16:43:16 +0000 (16:43 +0000)]
pass the supplied depth parameter to the query parser for use

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

13 years agoadd libnet-ssh2-perl to Debian package deps
gmc [Wed, 17 Nov 2010 04:11:17 +0000 (04:11 +0000)]
add libnet-ssh2-perl to Debian package deps

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@18765 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agoBackport r18760: small serial fixes
dbwells [Tue, 16 Nov 2010 21:26:17 +0000 (21:26 +0000)]
Backport r18760: small serial fixes

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

13 years agopush the asset.uri pkey serial into reality -- before 2.0 we did not use the serial
miker [Tue, 16 Nov 2010 16:52:22 +0000 (16:52 +0000)]
push the asset.uri pkey serial into reality -- before 2.0 we did not use the serial

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

13 years agoreturn AutoIDL to its original state of loading the while IDL if no classes are selec...
erickson [Mon, 15 Nov 2010 20:26:44 +0000 (20:26 +0000)]
return AutoIDL to its original state of loading the while IDL if no classes are selected.  This will ease the process of moving to /IDL2js;  other minor cleanup

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

13 years agoBackport r18745 from trunk: serials ease-of-use issues
senator [Mon, 15 Nov 2010 18:30:16 +0000 (18:30 +0000)]
Backport r18745 from trunk: serials ease-of-use issues

It's comical how near a miss this commit is to making it into beta2, but it's
fairly minor stuff.

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

13 years agomake sure dojo.cookie is loaded before use; removed unnecessary import of dojoData
erickson [Mon, 15 Nov 2010 17:01:47 +0000 (17:01 +0000)]
make sure dojo.cookie is loaded before use; removed unnecessary import of dojoData

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

13 years agoReverting and extending r18472 to correct implementation thinko
miker [Mon, 15 Nov 2010 15:16:13 +0000 (15:16 +0000)]
Reverting and extending r18472 to correct implementation thinko

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

13 years agoPrevent creation of authority records that are truncated by one letter
dbs [Mon, 15 Nov 2010 05:24:38 +0000 (05:24 +0000)]
Prevent creation of authority records that are truncated by one letter

The summarizeField() function grabbed the values of the XUL elements,
which were set by the keypress event listeners on the XUL elements.
However, the keypress event listener seems to capture the value of
the XUL element before the value of the new key is appended to the
existing value in a textbox - so, when you typed a new subfield, then
right-clicked to create an authority, the value that was captured was
missing the final character.

Adding the "input" event to the registered listeners captures the
actual value for creating an authority and solves the problem. It
might be possible to remove the keypress event listeners, but for
now we'll take the cautious route.

Address Launchpad bug 669445

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

13 years agoFix negative paging issue in open-ils.supercat.authority.author.startwith
dbs [Mon, 15 Nov 2010 04:52:59 +0000 (04:52 +0000)]
Fix negative paging issue in open-ils.supercat.authority.author.startwith

When paging backwards through authority lists, we were skipping the
first page of results. By reducing the offset by the value of one
page, we restore the expected order.

The same problem might affect other paging interfaces: to be determined.

Closes Launchpad bug 669247

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

13 years agoDo not cache the authority context menu
dbs [Mon, 15 Nov 2010 04:52:42 +0000 (04:52 +0000)]
Do not cache the authority context menu

Caching would be great, except when you add an authority in the
flow and you expect to see it the next time you right-click
on the authority that you just added.

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

13 years agoMerge translations from Launchpad
dbs [Sat, 13 Nov 2010 23:39:00 +0000 (23:39 +0000)]
Merge translations from Launchpad

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

13 years agoin some scenarios, the 'mous' class may not have loaded yet. pre-load the class...
erickson [Fri, 12 Nov 2010 20:52:39 +0000 (20:52 +0000)]
in some scenarios, the 'mous' class may not have loaded yet.  pre-load the class in myopac init

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

13 years agoBackporting r18686 for great justice (and PCRUD speed)
miker [Fri, 12 Nov 2010 20:52:07 +0000 (20:52 +0000)]
Backporting r18686 for great justice (and PCRUD speed)

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

13 years agoCache the language set (per locale) in a cookie
miker [Fri, 12 Nov 2010 20:40:17 +0000 (20:40 +0000)]
Cache the language set (per locale) in a cookie

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

13 years agoTrim the set of classes and fields pulled in by Searcher; Cache the cmc data (cmf...
miker [Fri, 12 Nov 2010 20:40:12 +0000 (20:40 +0000)]
Trim the set of classes and fields pulled in by Searcher; Cache the cmc data (cmf is too big)

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

13 years agoBack-port of 18712 and related changes: Server-generated IDL JS
erickson [Fri, 12 Nov 2010 19:51:26 +0000 (19:51 +0000)]
Back-port of 18712 and related changes: Server-generated IDL JS

The goal is to reduce use of pre-onload XHR, which is known to cause
problems (dreaded white-screen-of-death) in firefox/xulrunner. Change
allows opac, staff client, and embedded browser interfaces to load
a pre-formatted JS object instead of IDL XML via XHR. In addition to
dropping the XHR, clients no longer parse the XML, which should reduce
page render time. Finally, in the staff interfaces, the full IDL is
once again loaded, so there is no need to specifiy per-page classes.
Per-page classes are still supported and used in the OPAC to reduce the
up-front load time.

Change requires an update to the Evergreen Apache config.

Part of this change included condensing fieldmapper.hash and
fielmapper.dojoData content into fieldmapper.Fieldmapper to avoid
circular dependencies, which was causing problems with IE. Will
eventually want to deprecate .hash and .dojoData, but for now they still
function as before.

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

13 years agoensure that we only fetch this setting once per page
phasefx [Fri, 12 Nov 2010 19:49:34 +0000 (19:49 +0000)]
ensure that we only fetch this setting once per page

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

13 years agomerge r18687 from trunk for cookie library changes
phasefx [Fri, 12 Nov 2010 18:00:08 +0000 (18:00 +0000)]
merge r18687 from trunk for cookie library changes

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

13 years agoAvoid munging 035 when a new record is created
dbs [Thu, 11 Nov 2010 17:02:03 +0000 (17:02 +0000)]
Avoid munging 035 when a new record is created

If there is no 003 in the record when it is created, then we will not attempt
to generate a 035. If the incoming record contains a 001 and 003, then we will
create a 035.

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

13 years agoDo not supply a default value for 003 in new authority records
dbs [Thu, 11 Nov 2010 17:01:32 +0000 (17:01 +0000)]
Do not supply a default value for 003 in new authority records

With cat.maintain_control_numbers enabled by default, we can trust
the database trigger to create the appropriate 003 for us - and by
not supplying a 003 in the new record, we won't create a spurious
035 for a brand new record.

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

13 years agowraps tips appendChild in try/catch to prevent occaisonal exeptions.
erickson [Thu, 11 Nov 2010 15:40:53 +0000 (15:40 +0000)]
wraps tips appendChild in try/catch to prevent occaisonal exeptions.

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

13 years agoUpdate the edit dates for authority and MFHD records when they are edited
dbs [Thu, 11 Nov 2010 04:18:14 +0000 (04:18 +0000)]
Update the edit dates for authority and MFHD records when they are edited

Addresses the oversight in the original implementation that missed this;
important if we're going to differentiate between creating and editing
a record for triggers.

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

13 years agoEnable "maintain control numbers" and "record ID as TCN" behavior by default
dbs [Wed, 10 Nov 2010 22:31:12 +0000 (22:31 +0000)]
Enable "maintain control numbers" and "record ID as TCN" behavior by default

Per http://ur1.ca/2bgc4, this behavior hews more closely to the MARC21
specification. Note, however, that duplicate bib detection in the
"Import via Z39.50" interface will be somewhat affected; a more
trustworthy workaround is to include the "Local catalog" in Z39.50 searches to
determine if a matching record already exists in the database.

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

13 years agoBackport r18685 and r18691 from trunk: serials-integration work + patch from
senator [Wed, 10 Nov 2010 21:57:27 +0000 (21:57 +0000)]
Backport r18685 and r18691 from trunk: serials-integration work + patch from
Dan Wells

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

13 years agoBackport r18688 from trunk: booking bugfix
senator [Wed, 10 Nov 2010 21:30:37 +0000 (21:30 +0000)]
Backport r18688 from trunk: booking bugfix

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

13 years agoMove the magic-bib update to the top of the file, avoiding triggers that care about...
miker [Wed, 10 Nov 2010 14:51:44 +0000 (14:51 +0000)]
Move the magic-bib update to the top of the file, avoiding triggers that care about XML namespaces

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

13 years agodo not use TRUNCATE when refreshing reporter.materialized_simple_record
gmc [Wed, 10 Nov 2010 13:19:03 +0000 (13:19 +0000)]
do not use TRUNCATE when refreshing reporter.materialized_simple_record

Previous behavior would break Slony replication after doing a
bib load.  Since a deletion is slower than a truncate, if you're
not using Slony replication, you may prefer to truncate rmsr
prior to calling reporter.enable_materialized_simple_record_trigger.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@18678 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agomerge r18675 from trunk for DP_DateExtension removal
phasefx [Tue, 9 Nov 2010 20:37:14 +0000 (20:37 +0000)]
merge r18675 from trunk for DP_DateExtension removal

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

13 years agodynamically loaded classes also need access to toHash
erickson [Mon, 8 Nov 2010 22:06:14 +0000 (22:06 +0000)]
dynamically loaded classes also need access to toHash

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

13 years agoBackporting IDL bug fixes
miker [Mon, 8 Nov 2010 21:41:48 +0000 (21:41 +0000)]
Backporting IDL bug fixes

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

13 years agoBackport r18662 from trunk: don't try to render dropdown of all bib IDs
senator [Mon, 8 Nov 2010 20:44:43 +0000 (20:44 +0000)]
Backport r18662 from trunk: don't try to render dropdown of all bib IDs

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

13 years agoMore fixing related to r18657
miker [Mon, 8 Nov 2010 19:05:10 +0000 (19:05 +0000)]
More fixing related to r18657

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

13 years agoBacport r18657: syntax problem spotted by Jason Etheridge
miker [Mon, 8 Nov 2010 19:00:57 +0000 (19:00 +0000)]
Bacport r18657: syntax problem spotted by Jason Etheridge

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

13 years ago1.6-2.0 upgrade script syncing, re r18652
miker [Mon, 8 Nov 2010 16:32:45 +0000 (16:32 +0000)]
1.6-2.0 upgrade script syncing, re r18652

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

13 years agoBackporting r18652: Teach vandelay.replace_field to be a little smarter by allowing...
miker [Mon, 8 Nov 2010 16:24:47 +0000 (16:24 +0000)]
Backporting r18652: Teach vandelay.replace_field to be a little smarter by allowing simple cases of both replacing and regexp-testing the same subfield

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

13 years agoholds retrieval API call sorting and cleanup; sort non-cancelled holds by ready...
erickson [Mon, 8 Nov 2010 16:21:45 +0000 (16:21 +0000)]
holds retrieval API call sorting and cleanup;  sort non-cancelled holds by ready-for pickup, then active, then suspended;  use json_query to fetch IDs first, so id_list calls can avoid fetching the full hold objects in the ML.  sort fleshed transit by send time to pick up the latest transit

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

13 years agoFurther Fedora prereq installer tweaks
dbs [Mon, 8 Nov 2010 02:57:59 +0000 (02:57 +0000)]
Further Fedora prereq installer tweaks

  * Install the Perl DBD::Pg module
  * Force the CPAN modules, as Business::OnlinePayment::AuthorizeNet
    still suffers from an install-crippling bug

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

13 years agoAdd UUID::Tiny to Fedora prerequisites
dbs [Mon, 8 Nov 2010 01:29:59 +0000 (01:29 +0000)]
Add UUID::Tiny to Fedora prerequisites

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

13 years agoImprove Fedora prerequisite installer
dbs [Mon, 8 Nov 2010 00:39:19 +0000 (00:39 +0000)]
Improve Fedora prerequisite installer

  * Explicitly install wget, which isn't installed in a minimal install
  * Hack JavaScript-SpiderMonkey Makefile.PL for 32-bit Fedora
  * Provide a fedora14 target
  * Change "fedora-13" to "fedora13" to match OpenSRF prereq installer

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

13 years ago#671213: remove extraneous insert from upgrade script
gmc [Fri, 5 Nov 2010 18:58:53 +0000 (18:58 +0000)]
#671213: remove extraneous insert from upgrade script

Somebody upgrading from 1.6.1 should already have this.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@18640 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agoswitch to authoritative methods for various acq retrievals
gmc [Fri, 5 Nov 2010 17:56:29 +0000 (17:56 +0000)]
switch to authoritative methods for various acq retrievals

Avoid race condition when using Slony replication

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@18638 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agomissed database update from password reset fix
gmc [Fri, 5 Nov 2010 17:54:13 +0000 (17:54 +0000)]
missed database update from password reset fix

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@18636 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agobackport r18548, 18564, and 18602 from trunk for opac login form tweaks
phasefx [Fri, 5 Nov 2010 17:37:16 +0000 (17:37 +0000)]
backport r18548, 18564, and 18602 from trunk for opac login form tweaks

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

13 years agoremove aupr.request_time fix from 1.6.1-2.0 upgrade
gmc [Fri, 5 Nov 2010 17:06:33 +0000 (17:06 +0000)]
remove aupr.request_time fix from 1.6.1-2.0 upgrade

Fix also in 1.6.1.3

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@18627 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agoBackport r18622 from trunk: legacy serials OPAC fix
senator [Fri, 5 Nov 2010 17:03:24 +0000 (17:03 +0000)]
Backport r18622 from trunk: legacy serials OPAC fix

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

13 years agofix user password reset request time column def
gmc [Fri, 5 Nov 2010 16:46:40 +0000 (16:46 +0000)]
fix user password reset request time column def

Needs to be a timestamp with time zone; fixes a bug
where it was interpreted as a UTC time, throwing off
the calculation of the expiration of the password reset
request.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@18621 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agoremove some extra rollbacks, and catch the failure of others where they may or may...
miker [Fri, 5 Nov 2010 16:07:04 +0000 (16:07 +0000)]
remove some extra rollbacks, and catch the failure of others where they may or may not be needed

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

13 years agobackporting r18609 patch from bshum for catalog search in button bar
phasefx [Fri, 5 Nov 2010 13:24:38 +0000 (13:24 +0000)]
backporting r18609 patch from bshum for catalog search in button bar

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

13 years agoBackport r18606 from trunk: no more Net::uFTP
senator [Thu, 4 Nov 2010 21:19:49 +0000 (21:19 +0000)]
Backport r18606 from trunk: no more Net::uFTP

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

13 years agocut down on reloading of IDL classes
miker [Thu, 4 Nov 2010 21:17:20 +0000 (21:17 +0000)]
cut down on reloading of IDL classes

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

13 years agoGeneral 2.0b1 cleanup
miker [Thu, 4 Nov 2010 12:41:49 +0000 (12:41 +0000)]
General 2.0b1 cleanup

 * Problem in vandelay.add_fields spotted by tsbere
 * Syncing 1.6.1-2.0 upgrade script with reality

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

13 years agoover-aggressive backporting -- only in trunk and 1.6
miker [Thu, 4 Nov 2010 12:29:03 +0000 (12:29 +0000)]
over-aggressive backporting -- only in trunk and 1.6

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

13 years agoadd TT helper to squeeze strings into the UNOB straitjacket
gmc [Thu, 4 Nov 2010 01:04:15 +0000 (01:04 +0000)]
add TT helper to squeeze strings into the UNOB straitjacket

The force_jedi_unob helper strips non-ASCII characters from
template output but does so nicely by converting the string
to NFD first.  This is meant to be used by EDI templates, although
could be useful for A/T output that goes to receipt
printers that cannot print diacritics.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@18599 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agoblimey
gmc [Wed, 3 Nov 2010 20:31:01 +0000 (20:31 +0000)]
blimey

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

13 years agoadd the Batch Bib Update module to startup.pl
miker [Wed, 3 Nov 2010 20:30:12 +0000 (20:30 +0000)]
add the Batch Bib Update module to startup.pl

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

13 years agoflip sense of spending limit check
gmc [Wed, 3 Nov 2010 19:58:18 +0000 (19:58 +0000)]
flip sense of spending limit check

Testing showed users expecting that the limit would
be based on amount spent, not the amount available
to send.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@18592 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agoBackport r18589 from trunk: acq invoice voucher fix
senator [Wed, 3 Nov 2010 14:46:51 +0000 (14:46 +0000)]
Backport r18589 from trunk: acq invoice voucher fix

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

13 years agoBackport r18535 from trunk: hard due date interfaces
senator [Tue, 2 Nov 2010 16:46:16 +0000 (16:46 +0000)]
Backport r18535 from trunk: hard due date interfaces

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

13 years agoMove upgrade to upgrade directory
senator [Tue, 2 Nov 2010 16:44:10 +0000 (16:44 +0000)]
Move upgrade to upgrade directory

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

13 years agoBackport r18583 from trunk, fund totals on an invoice voucher
senator [Tue, 2 Nov 2010 16:28:33 +0000 (16:28 +0000)]
Backport r18583 from trunk, fund totals on an invoice voucher

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

13 years agoPatch from Steve Callender to address a booking-related collection agency reporting...
miker [Tue, 2 Nov 2010 16:23:35 +0000 (16:23 +0000)]
Patch from Steve Callender to address a booking-related collection agency reporting problem

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

13 years agoDROP TRIGGER IF EXISTS push_due_date_tgr ON action.circulation;
gmc [Tue, 2 Nov 2010 15:50:39 +0000 (15:50 +0000)]
DROP TRIGGER IF EXISTS push_due_date_tgr ON action.circulation;
add definition for UPC line item attribute

Useful for providers of audiovisual material that
don't have ISBNs.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@18579 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agoenable authoritative versions of various acq retrieval functions
gmc [Tue, 2 Nov 2010 13:05:27 +0000 (13:05 +0000)]
enable authoritative versions of various acq retrieval functions

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@18577 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agodon't break up title and author when ingesting acquisitions MARC
gmc [Tue, 2 Nov 2010 13:03:14 +0000 (13:03 +0000)]
don't break up title and author when ingesting acquisitions MARC

Note that this can be done more cleanly once oils_xpath groks
XPATH 2.0 functions, in particular string-join.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@18575 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agoback-porting 18571, 18572. provider fetching updates, autofieldwidget linked class...
erickson [Tue, 2 Nov 2010 03:03:17 +0000 (03:03 +0000)]
back-porting 18571, 18572.  provider fetching updates, autofieldwidget linked class loader

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

13 years agoin SIP patron retrieval, only fetch non-archived penalties and penalties that that...
erickson [Tue, 2 Nov 2010 02:56:02 +0000 (02:56 +0000)]
in SIP patron retrieval, only fetch non-archived penalties and penalties that that matter (fines, overdues, blocking penalties).  pair down the penalty comparisons to avoid fleshing the penalty type, potentially numerous times for a given type, by using the constant identifiers

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

13 years agoEnable merge of authority records to do the right thing
dbs [Tue, 2 Nov 2010 02:47:47 +0000 (02:47 +0000)]
Enable merge of authority records to do the right thing

The target and source authority record was flipped, causing
the update to fail. In reconsidering this function, it is not
necessary to change the contents of the source authority record
just to propagate the content of the target authority record
to any linked bibliographic records.

Instead, take the approach of updating the ID of the controlled
field in the bib record, then temporarily set "reingest on same
MARC" to TRUE and update the target authority record by setting
deleted = FALSE (which propagates the "changes" to the linked
bib records), then set "reingest on same MARC" flag back to its
original value.

This has the bonus of actually working.

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

13 years agoyet another replication race condition fix
gmc [Mon, 1 Nov 2010 23:24:23 +0000 (23:24 +0000)]
yet another replication race condition fix

Fixes problems that can occur when creating a lineitem
from an existing bib in the catalog; adds an authoritative
version of open-ils.acq.lineitem.retrieve.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@18566 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agoBackporting r18561 from trunk: Make vandelay.add_field smarter about applying add...
miker [Mon, 1 Nov 2010 20:55:02 +0000 (20:55 +0000)]
Backporting r18561 from trunk: Make vandelay.add_field smarter about applying add rules when no target field exists before hand

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

13 years agoReplace hard-coded '(CONS)' for MARC control number identifier in authority records
dbs [Mon, 1 Nov 2010 20:42:00 +0000 (20:42 +0000)]
Replace hard-coded '(CONS)' for MARC control number identifier in authority records

We created an actor.org_unit_setting, 'cat.marc_control_number_identifier', for
specifying the preferred MARC control number identifier, but when we create a
new authority record from the MARC editor, the hardcoded value of 'CONS' is being
used.

This teaches the staff client how to pull the appropriate value from the AOUS
when invoking the MARC Editor.

Resolves https://bugs.launchpad.net/evergreen/+bug/669245

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

13 years agoEnsure that changes to authority records propagate to linked bibliographic records
dbs [Mon, 1 Nov 2010 19:46:15 +0000 (19:46 +0000)]
Ensure that changes to authority records propagate to linked bibliographic records

Per https://bugs.launchpad.net/evergreen/+bug/669596, updated authority records
weren't being reflected in bibliographic records with fields that link to those
authority records. We were missing the call to authority.propaagate_changes()
withing the ingest trigger on authority.record_entry.

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

13 years agowe should not restrict to the top org only, get all counts
miker [Mon, 1 Nov 2010 18:38:34 +0000 (18:38 +0000)]
we should not restrict to the top org only, get all counts

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

13 years agoBackport thinko fix for count reporting
miker [Mon, 1 Nov 2010 18:27:14 +0000 (18:27 +0000)]
Backport thinko fix for count reporting

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

13 years agoBackport of in-db hold permit improvements from trunk
miker [Mon, 1 Nov 2010 17:31:22 +0000 (17:31 +0000)]
Backport of in-db hold permit improvements from trunk

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