senator [Mon, 13 Dec 2010 21:42:33 +0000 (21:42 +0000)]
Serials: simple bug in batch receive. Certain field values got treated
like strings sometimes when they weren't. No more.
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@18998
dcc99617-32d9-48b4-a31d-
7c20da2025e4
gmc [Mon, 13 Dec 2010 18:21:37 +0000 (18:21 +0000)]
regularize spelling of "fulfill"
Based on patch by Steve Callender
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@18996
dcc99617-32d9-48b4-a31d-
7c20da2025e4
miker [Mon, 13 Dec 2010 17:44:51 +0000 (17:44 +0000)]
Backport of r18989: boolean test for hard due force flag
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@18990
dcc99617-32d9-48b4-a31d-
7c20da2025e4
erickson [Mon, 13 Dec 2010 16:22:19 +0000 (16:22 +0000)]
repaired order-by in update_hard_due_dates function to prevent sql errors
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@18987
dcc99617-32d9-48b4-a31d-
7c20da2025e4
erickson [Mon, 13 Dec 2010 16:16:45 +0000 (16:16 +0000)]
repaired order-by in update_hard_due_dates function to prevent sql errors
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@18986
dcc99617-32d9-48b4-a31d-
7c20da2025e4
miker [Fri, 10 Dec 2010 20:56:33 +0000 (20:56 +0000)]
arg ... reverting version bump that got applied to the wrong branch
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@18981
dcc99617-32d9-48b4-a31d-
7c20da2025e4
miker [Fri, 10 Dec 2010 20:52:48 +0000 (20:52 +0000)]
bumping version numbers
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@18979
dcc99617-32d9-48b4-a31d-
7c20da2025e4
miker [Fri, 10 Dec 2010 17:22:15 +0000 (17:22 +0000)]
Patch from James Fournie to address https://bugs.launchpad.net/evergreen/+bug/622908 wherein we learn that related item physical description might be used as the main PD of the main item, if the main item lacks such a field in the MARC
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@18968
dcc99617-32d9-48b4-a31d-
7c20da2025e4
miker [Fri, 10 Dec 2010 16:03:49 +0000 (16:03 +0000)]
Provide a mechanism to load any random JS file via dojo.require()-ish syntax.
Why would we want to do such a thing, you might ask?
Well, the short answer is that Firefox hates pages that have more than one script block (inline is worse than tag) that contains pre-onLoad XHR. So, this allows us to pull the actual loading of JS from the same domain as the page into an inline block. This allows us to eliminate the WSOD on FF by pulling all (dangerous) JS into a single, final inline block, after which we don't care if the DOMContentLoaded event fires -- that's when it should fire, structurally -- but in FF it may fire for a different reason (bug) than it should (fell of the end of the page in the rendering engine).
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@18965
dcc99617-32d9-48b4-a31d-
7c20da2025e4
miker [Fri, 10 Dec 2010 14:27:37 +0000 (14:27 +0000)]
Backporting r18957 from trunk:
Fix two bugs:
* Wide Character warning in authority.generate_overlay_template due to the generated template not being UTF-8 encoded internally
* Correctly test the same space-normalization form of the pre- and post-strip records during the application of a replace rule in vandelay.replace_field
This addresses https://bugs.launchpad.net/evergreen/+bug/687996 for 2.0beta5
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@18960
dcc99617-32d9-48b4-a31d-
7c20da2025e4
dbs [Fri, 10 Dec 2010 14:20:58 +0000 (14:20 +0000)]
Return authority records for freshmeat when authority records are requested
Previously, freshmeat was hardcoded to return bibliographic records, even
when authority records were requested.
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@18959
dcc99617-32d9-48b4-a31d-
7c20da2025e4
dbs [Fri, 10 Dec 2010 14:20:24 +0000 (14:20 +0000)]
Give the recent_changes list the ability to sort authority records correctly
We were always sorting by bibliographic record entry, which does not
work all that well for authority records.
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@18958
dcc99617-32d9-48b4-a31d-
7c20da2025e4
phasefx [Thu, 9 Dec 2010 18:26:25 +0000 (18:26 +0000)]
big thinko. Going by the stock receipt template, this should be the workstation lib. Destination is handled by a different variable
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@18951
dcc99617-32d9-48b4-a31d-
7c20da2025e4
phasefx [Thu, 9 Dec 2010 18:13:25 +0000 (18:13 +0000)]
transit isn't in payload first time through with ROUTE_ITEM checkin, fallback on check.org
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@18947
dcc99617-32d9-48b4-a31d-
7c20da2025e4
senator [Wed, 8 Dec 2010 21:57:12 +0000 (21:57 +0000)]
Backport r18800 from trunk (I thought I already had! r18932 depends on it)
Place holds on issuances from the OPAC. Also a couple very minor API
documentation fixes.
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@18937
dcc99617-32d9-48b4-a31d-
7c20da2025e4
dbwells [Wed, 8 Dec 2010 20:00:08 +0000 (20:00 +0000)]
Support for predicting serials with no chronology caption
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@18936
dcc99617-32d9-48b4-a31d-
7c20da2025e4
dbwells [Wed, 8 Dec 2010 19:49:26 +0000 (19:49 +0000)]
Add a simple subfields_list() method to MFHD/Caption.pm to match that in Holding.pm
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@18934
dcc99617-32d9-48b4-a31d-
7c20da2025e4
senator [Tue, 7 Dec 2010 22:43:55 +0000 (22:43 +0000)]
Backport r18931 from trunk
Serials: When the fully compressed serial holdings are active in the OPAC,
you get this "issues held" display with an expand/compress toggle that will
either show you individual holdings (and allow you to place holds on them)
or compressed holdings statements.
The functionality existed in trunk before this commit, but this cleans it up
and makes it better. It's more consistent with the the result detail table,
it doesn't offer you the change to place holds on issues that don't have
units (copy-equivalent objects), etc etc.
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@18932
dcc99617-32d9-48b4-a31d-
7c20da2025e4
miker [Fri, 3 Dec 2010 21:36:11 +0000 (21:36 +0000)]
Moving bits around and protecting against a pre-existing subject|complete index definition that some sites have
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@18921
dcc99617-32d9-48b4-a31d-
7c20da2025e4
miker [Fri, 3 Dec 2010 21:14:45 +0000 (21:14 +0000)]
The "All Subjects" index never made it into 1.6, so we need it in the upgrade script
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@18918
dcc99617-32d9-48b4-a31d-
7c20da2025e4
miker [Fri, 3 Dec 2010 20:55:01 +0000 (20:55 +0000)]
protect against empty control fields (bad MARC)
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@18916
dcc99617-32d9-48b4-a31d-
7c20da2025e4
senator [Fri, 3 Dec 2010 19:51:22 +0000 (19:51 +0000)]
Backport part of r18912 from trunk
BibTemplate: make a couple of IE-friendly changes to BibTemplate.
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@18914
dcc99617-32d9-48b4-a31d-
7c20da2025e4
miker [Fri, 3 Dec 2010 15:09:18 +0000 (15:09 +0000)]
Normalize spaces in notcontains advance search query terms to address bug https://bugs.launchpad.net/evergreen/+bug/677122
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@18907
dcc99617-32d9-48b4-a31d-
7c20da2025e4
phasefx [Thu, 2 Dec 2010 20:55:21 +0000 (20:55 +0000)]
copy/paste-o. Retrieve Patron in the patron log section of the Admin->Local Admin->Work Log uses the right list now
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@18903
dcc99617-32d9-48b4-a31d-
7c20da2025e4
dbs [Wed, 1 Dec 2010 19:12:16 +0000 (19:12 +0000)]
Return the copy status name when a copy is not available
It looks like the checkout operation used to return a fleshed
config.copy_status object, but that changed and we now get a
raw ccs ID back.
Retrieve the status name using the ccs ID and present that
to the users. Also, in case problems like this happen in
the future, provide a more specific error message and var
name so that it will be (hopefully!) a little clearer what
payload was expected in the first place :)
Resolves https://bugs.launchpad.net/evergreen/+bug/680575
Thanks to Jason Etheridge for a major assist with this bug.
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@18898
dcc99617-32d9-48b4-a31d-
7c20da2025e4
dbwells [Wed, 1 Dec 2010 13:52:28 +0000 (13:52 +0000)]
Assorted small serials fixes
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@18896
dcc99617-32d9-48b4-a31d-
7c20da2025e4
gmc [Tue, 30 Nov 2010 22:32:32 +0000 (22:32 +0000)]
test case for minimum required version of Perl modules
Encode > 2.12 particularly matters, but there are likely
others of significance.
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@18894
dcc99617-32d9-48b4-a31d-
7c20da2025e4
dbs [Tue, 30 Nov 2010 21:58:39 +0000 (21:58 +0000)]
Move Google Preview badge below the book cover image, if there is one
There might be a more correct way to do this in CSS, but works++
Also, give a little room between the images.
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@18892
dcc99617-32d9-48b4-a31d-
7c20da2025e4
dbs [Tue, 30 Nov 2010 21:11:35 +0000 (21:11 +0000)]
Clean up some of the Apache config mod_rewrite rules
Thomas Berezansky suggested some improvements to the mod_rewrite
rules in eg_vhost.conf on the -devel mailing list; this is a stab
at correcting the most egregious problems.
Tested with Zotero and unAPI still works; tested with the staff
client and language-switching still works, as do the Conify and
Vandelay interfaces. Seems reasonably good.
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@18890
dcc99617-32d9-48b4-a31d-
7c20da2025e4
gmc [Tue, 30 Nov 2010 20:44:31 +0000 (20:44 +0000)]
protect some of the supercat browse interfaces from unboundedness
E.g., browsing from a call number that contains forward slashes, e.g.,
"02/05/2004"
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@18885
dcc99617-32d9-48b4-a31d-
7c20da2025e4
dbs [Tue, 30 Nov 2010 20:35:09 +0000 (20:35 +0000)]
Enable GET params to be added properly in buildOPACLink()
Symptom was that the "?l=#" parameter wasn't being added to the
home screen "Advanced Search" link. Cause was that the
dojo.addOnLoad(init) call was being made after the
dojo.addOnLoad(home_init) call, which depended on globals being
set by init(). This started happening when the JavaScript was
shifted around in an attempt to kill the white screen of death.
There may be other similar issues in other interfaces; keep
your eyes open!
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@18883
dcc99617-32d9-48b4-a31d-
7c20da2025e4
gmc [Tue, 30 Nov 2010 19:09:21 +0000 (19:09 +0000)]
specify default leader for acq brief bibs
In particular, avoid fun that could ensue if the
Leader/09 is not set to 'a'.
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@18879
dcc99617-32d9-48b4-a31d-
7c20da2025e4
phasefx [Tue, 30 Nov 2010 17:11:34 +0000 (17:11 +0000)]
menu entry for Admin->Server Administration->Acquisitions->Line Item MARC Attribute Definitions
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@18876
dcc99617-32d9-48b4-a31d-
7c20da2025e4
gmc [Tue, 30 Nov 2010 13:52:05 +0000 (13:52 +0000)]
straighten out triggers that maintain rmsr
In particular, make sure that the old zzz_
trigger on metabib.real_full_rec is completely removed, as
it needlessly slows down bib ingest.
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@18870
dcc99617-32d9-48b4-a31d-
7c20da2025e4
gmc [Tue, 30 Nov 2010 00:12:07 +0000 (00:12 +0000)]
fix failure when attempting to create invoice
Occurred for line items that were not part of a selection list
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@18867
dcc99617-32d9-48b4-a31d-
7c20da2025e4
miker [Mon, 29 Nov 2010 19:47:20 +0000 (19:47 +0000)]
logic error (inversion) in retargetting of previous copy when no other holds are looking at it
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@18859
dcc99617-32d9-48b4-a31d-
7c20da2025e4
miker [Mon, 29 Nov 2010 17:44:23 +0000 (17:44 +0000)]
Patch from Jeff Godin, backported from trunkified version:
In the staff client, the holds context menu option "Edit PickupLibrary" displays and allows selection of org units that it shouldn't.
Org units whose type has can_have_users = FALSE are not valid pickup locations.
Using the default types as an example, CONS and SYS1 are invalid pickup locations.
The OPAC enforces this when allowing patrons to edit a hold.
The staff client does not enforce this when staff edit a hold.
The can_have_users() method of the au object returns a string 't' or 'f' which is then compared to 0.
The attached patch corrects this issue. ( foo == 0 becomes !isTrue(foo) ).
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@18855
dcc99617-32d9-48b4-a31d-
7c20da2025e4
phasefx [Mon, 29 Nov 2010 17:12:26 +0000 (17:12 +0000)]
merge r18841 from trunk for label interface bug https://bugs.launchpad.net/evergreen/+bug/677628
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@18853
dcc99617-32d9-48b4-a31d-
7c20da2025e4
dbs [Sun, 28 Nov 2010 15:11:02 +0000 (15:11 +0000)]
Address 1.6.1-2.0 upgrade problems reported by Ben Shum
1. We were attempting to update the asset.uri ID sequence value
with the wrong syntax; also, adding just 1 would return an error
in the event that only the seed value for asset.uri had been
inserted.
2. Somehow the body of the maintain_control_numbers() function
was pasted twice, resulting in a syntax error.
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@18849
dcc99617-32d9-48b4-a31d-
7c20da2025e4
dbs [Wed, 24 Nov 2010 20:12:19 +0000 (20:12 +0000)]
Add the asset.copy(create_date) index to the 1.6.1-2.0 update script
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@18848
dcc99617-32d9-48b4-a31d-
7c20da2025e4
senator [Wed, 24 Nov 2010 16:33:54 +0000 (16:33 +0000)]
Backport r18845 from trunk
Everything else in the menu is alphabetized (in English anyway), so Copy
Template Editor may as well be too.
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@18846
dcc99617-32d9-48b4-a31d-
7c20da2025e4
dbs [Wed, 24 Nov 2010 03:32:44 +0000 (03:32 +0000)]
Add an index on asset.copy(create_date) for item-age browse
Running an item-age browse against a database with a reasonable
number of entries in asset.copy is dog-slow without an index
like this.
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@18843
dcc99617-32d9-48b4-a31d-
7c20da2025e4
senator [Tue, 23 Nov 2010 21:39:09 +0000 (21:39 +0000)]
Backport r18838 from trunk
Serials: Fix error in batch receiving when trying to change the shelving
location of the previous item in the stream when there /is/ no previous
item in the stream
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@18839
dcc99617-32d9-48b4-a31d-
7c20da2025e4
gmc [Tue, 23 Nov 2010 14:12:22 +0000 (14:12 +0000)]
fix broken prefix and namespace URI for the mods32 transform
This breakage can be found in databases that started out at
version 1.2 or earlier; matters since in-DB ingest is stricter
with its XPATH processing.
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@18836
dcc99617-32d9-48b4-a31d-
7c20da2025e4
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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