evergreen/equinox.git
14 years agostub out the callnumber class, prefix, and suffix columns
Jason Etheridge [Mon, 7 Mar 2011 11:21:57 +0000 (06:21 -0500)]
stub out the callnumber class, prefix, and suffix columns

14 years agoindentation, trailing whitespace, and minor refactoring
Jason Etheridge [Mon, 7 Mar 2011 10:36:32 +0000 (05:36 -0500)]
indentation, trailing whitespace, and minor refactoring

14 years agolock down the interface less when using Add Items, since the UI can handle it now
Jason Etheridge [Mon, 7 Mar 2011 10:20:36 +0000 (05:20 -0500)]
lock down the interface less when using Add Items, since the UI can handle it now

14 years agobe more aggressive with updating the copy editor
Jason Etheridge [Mon, 7 Mar 2011 09:59:46 +0000 (04:59 -0500)]
be more aggressive with updating the copy editor

14 years agodon't need this anymore
Jason Etheridge [Mon, 7 Mar 2011 09:42:37 +0000 (04:42 -0500)]
don't need this anymore

14 years agofix these errors. as an aside, I don't think unexpected errors need to be localized...
Jason Etheridge [Mon, 7 Mar 2011 09:38:56 +0000 (04:38 -0500)]
fix these errors.  as an aside, I don't think unexpected errors need to be localized.  Maybe just a localized blurb saying Oopsie, but the rest of the message should be for helping a developer find the bug, and that can be in the same language as the code: EnglishScript

14 years agodon't try to apply a default call number if we're not generating the drop-down (say...
Jason Etheridge [Mon, 7 Mar 2011 09:35:42 +0000 (04:35 -0500)]
don't try to apply a default call number if we're not generating the drop-down (say, for Add Items)

14 years agoMerge branch 'masslnc-cataloging-enhancements' of git+ssh://yeti.esilibrary.com/home...
Mike Rylander [Fri, 4 Mar 2011 20:35:29 +0000 (15:35 -0500)]
Merge branch 'masslnc-cataloging-enhancements' of git+ssh://yeti.esilibrary.com/home/evergreen/evergreen-equinox into masslnc-cataloging-enhancements

14 years agoMerge branch 'master' of git+ssh://yeti.esilibrary.com/home/evergreen/evergreen-equin...
Mike Rylander [Fri, 4 Mar 2011 20:35:27 +0000 (15:35 -0500)]
Merge branch 'master' of git+ssh://yeti.esilibrary.com/home/evergreen/evergreen-equinox into masslnc-cataloging-enhancements

14 years agoAdd monograph part support to in-db unapi
Mike Rylander [Fri, 4 Mar 2011 20:35:20 +0000 (15:35 -0500)]
Add monograph part support to in-db unapi

14 years agoRespect a setting of depth=0. In particular, this fixes holdings requests for branch...
dbwells [Fri, 4 Mar 2011 19:46:13 +0000 (19:46 +0000)]
Respect a setting of depth=0.  In particular, this fixes holdings requests for branch-level searches with an 'Everything' scope.

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

14 years agobug fix with using templates without manipulating the template menu
Jason Etheridge [Fri, 4 Mar 2011 19:34:06 +0000 (14:34 -0500)]
bug fix with using templates without manipulating the template menu

14 years agoTeac marc_export how to replace the 001 field value with the record ID
dbs [Fri, 4 Mar 2011 18:03:12 +0000 (18:03 +0000)]
Teac marc_export how to replace the 001 field value with the record ID

This is option is probably more useful prior to 2.0 where we introduced
the automated "munge control numbers" option, but new features go
here, right? A site that wants to export their bibliographic records
to send to a large library consortium for control number matching
may find this a useful way to send out records with a local 001 record
ID and get standard identifier control numbers back that they can
add as a 035, per MARC standards.

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

14 years agorobusty use of pcrud.create. Somehow (and intermittently), I would try to create...
Jason Etheridge [Fri, 4 Mar 2011 10:37:59 +0000 (05:37 -0500)]
robusty use of pcrud.create.  Somehow (and intermittently), I would try to create a bmp, and the sequence would increment, but no row would be added to the table, yet a fresh pcrud.search would return the new object

14 years agoflesh parts for copy retrieval
Jason Etheridge [Fri, 4 Mar 2011 09:18:50 +0000 (04:18 -0500)]
flesh parts for copy retrieval

14 years agofix sequence
Jason Etheridge [Fri, 4 Mar 2011 08:23:47 +0000 (03:23 -0500)]
fix sequence

14 years agomiddle-layer support for updating asset.copy_part_map when updating copies
Jason Etheridge [Fri, 4 Mar 2011 08:33:38 +0000 (03:33 -0500)]
middle-layer support for updating asset.copy_part_map when updating copies

14 years agofix IDL link for acp and parts
Jason Etheridge [Fri, 4 Mar 2011 09:18:29 +0000 (04:18 -0500)]
fix IDL link for acp and parts

14 years agofill in the .parts virtual field on copies
Jason Etheridge [Fri, 4 Mar 2011 07:42:18 +0000 (02:42 -0500)]
fill in the .parts virtual field on copies

14 years agocreate part button
Jason Etheridge [Fri, 4 Mar 2011 07:29:56 +0000 (02:29 -0500)]
create part button

14 years agoprevent 'undefined' from showing up in empty editable dropdown menus
Jason Etheridge [Fri, 4 Mar 2011 06:13:34 +0000 (01:13 -0500)]
prevent 'undefined' from showing up in empty editable dropdown menus

14 years agoif we're providing defaults, default focus to the first barcode field
Jason Etheridge [Fri, 4 Mar 2011 06:02:16 +0000 (01:02 -0500)]
if we're providing defaults, default focus to the first barcode field

14 years agosome defaults for the most common case/workflow
Jason Etheridge [Fri, 4 Mar 2011 05:19:26 +0000 (00:19 -0500)]
some defaults for the most common case/workflow

14 years agoadd label for Barcodes & Parts, retrieve monographic parts for a bib, and supply...
Jason Etheridge [Fri, 4 Mar 2011 01:23:18 +0000 (20:23 -0500)]
add label for Barcodes & Parts, retrieve monographic parts for a bib, and supply a parts menu per item

14 years agoadd missing columns so CDBI relationships work
Mike Rylander [Fri, 4 Mar 2011 14:13:47 +0000 (09:13 -0500)]
add missing columns so CDBI relationships work

14 years agoMerge branch 'masslnc-cataloging-enhancements' of git+ssh://yeti.esilibrary.com/home...
Mike Rylander [Fri, 4 Mar 2011 14:03:42 +0000 (09:03 -0500)]
Merge branch 'masslnc-cataloging-enhancements' of git+ssh://yeti.esilibrary.com/home/evergreen/evergreen-equinox into masslnc-cataloging-enhancements

14 years agoMerge branch 'master' of git+ssh://yeti.esilibrary.com/home/evergreen/evergreen-equin...
Mike Rylander [Fri, 4 Mar 2011 14:03:33 +0000 (09:03 -0500)]
Merge branch 'master' of git+ssh://yeti.esilibrary.com/home/evergreen/evergreen-equinox into masslnc-cataloging-enhancements

14 years agoSRU: Restructure the hash returned from open-ils.supercat.biblio.search_aliases
dbs [Fri, 4 Mar 2011 02:39:53 +0000 (02:39 +0000)]
SRU: Restructure the hash returned from open-ils.supercat.biblio.search_aliases

By returning explicit index and title elements from the method,
we can backport cleanly to 2.0 and set the stage for pulling the
title element directly from the database in 2.1 and beyond.

In addition, the enriched object enables us to get rid of the
hardcoded nested qualifier map for bibs, and also enables us to
fix the explain document for SRU for authority records.

Finally, we also fix the mappings of SRU qualifiers to Evergreen
search aliases (in many cases we had been quietly falling back
to plain kw searches, which was not cool).

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

14 years agocopy/paste-o
Jason Etheridge [Thu, 3 Mar 2011 23:38:39 +0000 (18:38 -0500)]
copy/paste-o

14 years agoneed to group on columns used
Mike Rylander [Thu, 3 Mar 2011 21:36:49 +0000 (16:36 -0500)]
need to group on columns used

14 years agoadd in-db unapi support for CN affixes
Mike Rylander [Thu, 3 Mar 2011 21:25:25 +0000 (16:25 -0500)]
add in-db unapi support for CN affixes

14 years agoadd more relationship cross-refs
Mike Rylander [Thu, 3 Mar 2011 21:23:59 +0000 (16:23 -0500)]
add more relationship cross-refs

14 years agoMerge branch 'master' of git+ssh://yeti.esilibrary.com/home/evergreen/evergreen-equin...
Mike Rylander [Thu, 3 Mar 2011 21:06:31 +0000 (16:06 -0500)]
Merge branch 'master' of git+ssh://yeti.esilibrary.com/home/evergreen/evergreen-equinox into masslnc-cataloging-enhancements

14 years agoAdd complete set of Evergreen search aliases and attributes to SRU explain
dbs [Thu, 3 Mar 2011 20:47:23 +0000 (20:47 +0000)]
Add complete set of Evergreen search aliases and attributes to SRU explain

Original "pull from database" code had limited the search aliases to those
that were qualified; now we pull all of them, and if they are not qualified,
we qualify them as "eg".

In addition, for some of the non-index attributes (sort, direction, site,
available), restore the descriptive title that was previously available.
Slightly longer term we will add a "description" column to
config.metabib_search_alias to store this information.

Also, we had always been using the global %qualifier_map in
return_sru_explain(), even though the intention was to enable the authority
explain index to pass in an overriding set of values. This commit breaks the
authority SRU explain, but as it had been incorrectly dumping the bib explain,
this brings us a step closer to proper explain support for authorities.

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

14 years agoMerge branch 'master' of git+ssh://yeti.esilibrary.com/home/evergreen/evergreen-equin...
Mike Rylander [Thu, 3 Mar 2011 14:18:29 +0000 (09:18 -0500)]
Merge branch 'master' of git+ssh://yeti.esilibrary.com/home/evergreen/evergreen-equinox into masslnc-cataloging-enhancements

14 years agoDraw SRU search indexes from config.metabib_search_alias
dbs [Thu, 3 Mar 2011 05:44:33 +0000 (05:44 +0000)]
Draw SRU search indexes from config.metabib_search_alias

We had hardcoded search indexes for SRU, but thanks to the work
of Mike Rylander, it is fairly easy to remove that brittle code
and replace it with code that polls the contents of
config.metabib_search_alias and dumps it into the explain document.

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

14 years agoWhitespace consistency for O:WWW:SuperCat.pm
dbs [Thu, 3 Mar 2011 05:43:25 +0000 (05:43 +0000)]
Whitespace consistency for O:WWW:SuperCat.pm

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

14 years agoMove seed data to appropriate script
Mike Rylander [Wed, 2 Mar 2011 21:13:49 +0000 (16:13 -0500)]
Move seed data to appropriate script

14 years agoMerge branch 'master' of git+ssh://yeti.esilibrary.com/home/evergreen/evergreen-equin...
Mike Rylander [Wed, 2 Mar 2011 21:11:07 +0000 (16:11 -0500)]
Merge branch 'master' of git+ssh://yeti.esilibrary.com/home/evergreen/evergreen-equinox into masslnc-cataloging-enhancements

14 years agoCall number sorting "before" the context needs to be segregated based on directly...
miker [Wed, 2 Mar 2011 20:43:17 +0000 (20:43 +0000)]
Call number sorting "before" the context needs to be segregated based on directly on the label, "here-and-after" on the bytea version.  Testing bears this out, but more eyes would be appreciated.

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

14 years agoCorrect TRIGGER syntax. Again.
Mike Rylander [Wed, 2 Mar 2011 20:35:04 +0000 (15:35 -0500)]
Correct TRIGGER syntax. Again.

14 years agoMerge branch 'masslnc-cataloging-enhancements' of git+ssh://yeti.esilibrary.com/home...
Mike Rylander [Wed, 2 Mar 2011 20:29:26 +0000 (15:29 -0500)]
Merge branch 'masslnc-cataloging-enhancements' of git+ssh://yeti.esilibrary.com/home/evergreen/evergreen-equinox into masslnc-cataloging-enhancements

14 years agoCorrect TRIGGER syntax
Mike Rylander [Wed, 2 Mar 2011 20:29:21 +0000 (15:29 -0500)]
Correct TRIGGER syntax

14 years agomissing semicolon
Jason Etheridge [Wed, 2 Mar 2011 20:23:20 +0000 (15:23 -0500)]
missing semicolon

14 years agoand, another thinko spotted by Thomas Berezansky
Mike Rylander [Wed, 2 Mar 2011 20:07:17 +0000 (15:07 -0500)]
and, another thinko spotted by Thomas Berezansky

14 years agomissing semicolon. fun.
Mike Rylander [Wed, 2 Mar 2011 19:49:59 +0000 (14:49 -0500)]
missing semicolon. fun.

14 years agoimprovements to readability suggested by Thomas Berezansky -- thanks, again, for...
Mike Rylander [Wed, 2 Mar 2011 18:32:58 +0000 (13:32 -0500)]
improvements to readability suggested by Thomas Berezansky -- thanks, again, for the eyes

14 years agotypos spotted by Thomas Berezansky -- thanks for the eyes
Mike Rylander [Wed, 2 Mar 2011 18:32:18 +0000 (13:32 -0500)]
typos spotted by Thomas Berezansky -- thanks for the eyes

14 years agoMerge branch 'masslnc-vol-item-ui' of git+ssh://yeti.esilibrary.com/home/evergreen...
Mike Rylander [Wed, 2 Mar 2011 17:00:57 +0000 (12:00 -0500)]
Merge branch 'masslnc-vol-item-ui' of git+ssh://yeti.esilibrary.com/home/evergreen/evergreen-equinox into masslnc-cataloging-enhancements

14 years agomerge conflicts
Mike Rylander [Wed, 2 Mar 2011 17:00:19 +0000 (12:00 -0500)]
merge conflicts

14 years agoMerge branch 'master' of git+ssh://yeti.esilibrary.com/home/evergreen/evergreen-equin... cn_affix
Mike Rylander [Wed, 2 Mar 2011 15:54:14 +0000 (10:54 -0500)]
Merge branch 'master' of git+ssh://yeti.esilibrary.com/home/evergreen/evergreen-equinox into cn_affix

14 years agoMerge branch 'master' of git+ssh://yeti.esilibrary.com/home/evergreen/evergreen-equin... bib_parts
Mike Rylander [Wed, 2 Mar 2011 15:54:11 +0000 (10:54 -0500)]
Merge branch 'master' of git+ssh://yeti.esilibrary.com/home/evergreen/evergreen-equinox into bib_parts

14 years agoenable actual volume/item creation in unified interface masslnc-vol-item-ui
Jason Etheridge [Wed, 2 Mar 2011 06:37:53 +0000 (01:37 -0500)]
enable actual volume/item creation in unified interface

14 years agomaintain a list of applied templates so that we can re-apply them as items get added...
Jason Etheridge [Mon, 28 Feb 2011 20:36:21 +0000 (15:36 -0500)]
maintain a list of applied templates so that we can re-apply them as items get added/changed in the volume/copy creator

14 years agohave the unified wrapper present template controls but let the item attribute editor...
Jason Etheridge [Mon, 28 Feb 2011 18:24:29 +0000 (13:24 -0500)]
have the unified wrapper present template controls but let the item attribute editor do the work.  Pull the reset button into the template bar.  Currently broken for applying templates before items get created (or recreated)

14 years agoenable editing in item attribute editor
Jason Etheridge [Mon, 28 Feb 2011 17:27:38 +0000 (12:27 -0500)]
enable editing in item attribute editor

14 years agoimprove UI responsiveness with setTimeout
Jason Etheridge [Mon, 28 Feb 2011 06:00:45 +0000 (01:00 -0500)]
improve UI responsiveness with setTimeout

14 years agofix bug from overzealous copy/paste, and override the modal-expecting xul_param behav...
Jason Etheridge [Mon, 28 Feb 2011 05:46:57 +0000 (00:46 -0500)]
fix bug from overzealous copy/paste, and override the modal-expecting xul_param behavior in copy_editor.js

14 years agoprovide an easy override to xul_param() modal_xulG behavior, for windows that are...
Jason Etheridge [Mon, 28 Feb 2011 04:59:52 +0000 (23:59 -0500)]
provide an easy override to xul_param() modal_xulG behavior, for windows that are no longer strictly modal

Some background, a little code documentation:

The utility function xul_param() was a quick attempt at abstracting away different mechanisms of passing data to content windows, rather than taking the "hard" route of re-factoring and standardizing on one scheme right away.  CGI-style query params were one early mechanism for pure data, but defeated caching and the now deprecated @persist mechanism in XUL (which would tie persisted data to the entire URL).  "xulG" was an experiment that caught on for injecting data (and references to external functions) directly into a window.  For example:

    var w = window.open('test.html');
    w.xulG = { 'foo' : 'bar' };

Another mechanism for data sharing is a hack involving a singleton Mozilla XPCOM (cross-platform component) implemented with Javascript.  XPCOM is supposed to be accessed strictly through a defined interface, but if implemented with Javascript, external code can reach into the underlying implementation.  The hack uses this fact and bypasses the IDL and stores arbitrary Javascript in the same scope as the implementation.  This Javascript can be shared across different windows/users of the XPCOM.  We've wrapped this in a JSAN library that you can use like so:

    JSAN.use('OpenILS.data');
    var data = new OpenILS.data();
    data.stash_retrieve();
    data.foo = 'bar';
    data.stash('foo');

One problem with xulG is that it would not work with modal windows:

    var w = window.open('test.html','_blank','modal'); // this blocks until the window is closed
    w.xulG = { 'foo' : 'bar' }; // making this line impotent

OpenILS.data was used on ad-hoc basis for some modal windows, using such keys as "temporary_barcodes".  This was usually okay because of common workflows and the nature of modal windows locking up the rest of an interface, however, the staff client could support multiple "top-level" windows, which could each spawn independent modal windows, rendering such keys non-unique.

Another JSAN library was constructed, util.window, which could pass data for non-modal windows using xulG, and construct a local xulG for modal windows by passing data through OpenILS.data with a (not much better, I see now) key based on the window (location.pathname + location.search + location.hash).

    JSAN.use('util.window);
    var win = new util.window();

    var w = win.open('test.html','title','chrome',{'foo':'bar'});
    // or
    var returned_xulG = win.open('test.html','title','chrome,modal',{'foo':'bar'});

Use of xul_param() in a modal window created thus would setup the local xulG (and return the data for the specified key).  The update_modal_xulG() function would set things up using OpenILS.data for util.window to pass data back from the modal window to the calling code upon window closure.

Now I'm at a point where I have a wrapper interface embedding two separate interfaces that can potentially share a common xulG and communicate through it.  However, one of the sub-interfaces used to be modal, and its use of xul_param wipes out its reference to the shared xulG.  So once again, trying to change the least code at a time (at the risk of making things even less comprehensible), this change allows the presence of xulG.not_modal to disable the use of OpenILS.data and the vivication of a new xulG when using xul_param().

14 years agohave volume/copy creator refresh item attribute editor in unified interface
Jason Etheridge [Wed, 23 Feb 2011 06:01:59 +0000 (01:01 -0500)]
have volume/copy creator refresh item attribute editor in unified interface

14 years agohide parts of the volume/copy creator and item attribute editor when wrapped in unifi...
Jason Etheridge [Sun, 20 Feb 2011 08:08:58 +0000 (03:08 -0500)]
hide parts of the volume/copy creator and item attribute editor when wrapped in unified interface

14 years agoitem editor
Jason Etheridge [Sun, 20 Feb 2011 07:52:50 +0000 (02:52 -0500)]
item editor

14 years agoload volume editor and passthru xulG
Jason Etheridge [Sun, 20 Feb 2011 02:50:14 +0000 (21:50 -0500)]
load volume editor and passthru xulG

14 years agostarting point from templates
Jason Etheridge [Sun, 20 Feb 2011 01:50:10 +0000 (20:50 -0500)]
starting point from templates

14 years agotemporary constants change
Jason Etheridge [Sun, 20 Feb 2011 01:43:42 +0000 (20:43 -0500)]
temporary constants change

14 years agoAdd example intervals to some library setting descriptions
dbs [Wed, 2 Mar 2011 02:53:23 +0000 (02:53 +0000)]
Add example intervals to some library setting descriptions

Based on a patch provided by Michael Peters <mrpeters@library.in.gov>
in Launchpad bug 717308, provide examples of intervals in several
descriptions that lacked them.

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

14 years agoPrevent an unitialized variable warning when loading OpenILS::WWW::EgWeb
dbs [Tue, 1 Mar 2011 22:27:43 +0000 (22:27 +0000)]
Prevent an unitialized variable warning when loading OpenILS::WWW::EgWeb

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

14 years agoRemove dead code: OpenILS::WWW::Web and OpenILS::WWW::Method modules
dbs [Tue, 1 Mar 2011 22:27:03 +0000 (22:27 +0000)]
Remove dead code: OpenILS::WWW::Web and OpenILS::WWW::Method modules

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

14 years agoupdate cached user after email/password update; repaired recently-introduced typo...
erickson [Tue, 1 Mar 2011 21:19:39 +0000 (21:19 +0000)]
update cached user after email/password update; repaired recently-introduced typo on user transaction retrieval method

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

14 years agoadd prefix/suffix to label for summary display
Mike Rylander [Tue, 1 Mar 2011 21:02:43 +0000 (16:02 -0500)]
add prefix/suffix to label for summary display

14 years agoMerge branch 'master' of git+ssh://yeti.esilibrary.com/home/evergreen/evergreen-equin...
Mike Rylander [Tue, 1 Mar 2011 20:51:46 +0000 (15:51 -0500)]
Merge branch 'master' of git+ssh://yeti.esilibrary.com/home/evergreen/evergreen-equinox into cn_affix

14 years agoMerge branch 'master' of git+ssh://yeti.esilibrary.com/home/evergreen/evergreen-equin...
Mike Rylander [Tue, 1 Mar 2011 19:40:29 +0000 (14:40 -0500)]
Merge branch 'master' of git+ssh://yeti.esilibrary.com/home/evergreen/evergreen-equinox into bib_parts

14 years agowhen using the force-reload option to reset timeout, propagate the ws_ou and wsid...
erickson [Tue, 1 Mar 2011 18:09:57 +0000 (18:09 +0000)]
when using the force-reload option to reset timeout, propagate the ws_ou and wsid values from the cached user object into the reloaded user object

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

14 years agomerge uber-hold reworking
Mike Rylander [Tue, 1 Mar 2011 17:11:03 +0000 (12:11 -0500)]
merge uber-hold reworking

14 years agomerging in some useful changes from the opac-tt-poc branch, including capture of...
erickson [Tue, 1 Mar 2011 16:20:52 +0000 (16:20 +0000)]
merging in some useful changes from the opac-tt-poc branch, including capture of authtime in CStoreEditor, some holds retrieval de-fleshing options, and a total_count field added to user opac vital stats api

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

14 years agoAdd a TT helper to encode email headers in UTF-8
dbs [Tue, 1 Mar 2011 04:16:07 +0000 (04:16 +0000)]
Add a TT helper to encode email headers in UTF-8

This can and should be used to encode any headers (To, From, Subject, etc)
in an email that might include text outside of the ASCII 7-bit range. Names
of people or libraries, for example, that might otherwise come out garbled.

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

14 years agoUpdated org selector code in org setting UI
erickson [Fri, 25 Feb 2011 21:32:02 +0000 (21:32 +0000)]
Updated org selector code in org setting UI

Removed some ad-hoc org-unit tree widget code and replaced with
the a standard solution from the openils dojo user lib.

Pass the auth on org value retrieval to pick up perm-protected settings.

Use STAFF_LOGIN for context selector perm, since each setting has its
own perm that is checked before fetching.

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

14 years agoMerge branch 'master' of git+ssh://yeti.esilibrary.com/home/evergreen/evergreen-equin...
Mike Rylander [Fri, 25 Feb 2011 20:23:16 +0000 (15:23 -0500)]
Merge branch 'master' of git+ssh://yeti.esilibrary.com/home/evergreen/evergreen-equinox into bib_parts

14 years agomake sure asset.call_number.label_sortkey is up to date
miker [Fri, 25 Feb 2011 19:12:49 +0000 (19:12 +0000)]
make sure asset.call_number.label_sortkey is up to date

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

14 years agoMerge branch 'master' of git+ssh://yeti.esilibrary.com/home/evergreen/evergreen-equin...
Mike Rylander [Fri, 25 Feb 2011 14:50:52 +0000 (09:50 -0500)]
Merge branch 'master' of git+ssh://yeti.esilibrary.com/home/evergreen/evergreen-equinox into bib_parts

14 years agotypo fix
gmc [Thu, 24 Feb 2011 21:57:23 +0000 (21:57 +0000)]
typo fix

"Pat, I'd like to buy a vowel"

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

14 years agoFix regex in maintain 901c
dbwells [Thu, 24 Feb 2011 20:00:09 +0000 (20:00 +0000)]
Fix regex in maintain 901c

The previous regex would delete any 901 fields *and* any fields which followed.  Since the 901 is typically the last field, this problem didn't surface during testing.

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

14 years agoMerge branch 'master' of git+ssh://yeti.esilibrary.com/home/evergreen/evergreen-equin...
Mike Rylander [Thu, 24 Feb 2011 18:40:57 +0000 (13:40 -0500)]
Merge branch 'master' of git+ssh://yeti.esilibrary.com/home/evergreen/evergreen-equinox into bib_parts

14 years agoadded missing columns to CDBI table definitions
gmc [Thu, 24 Feb 2011 16:50:55 +0000 (16:50 +0000)]
added missing columns to CDBI table definitions

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

14 years agoPer Robert Soulliere, it can be necessary in some cases to clean out bad
senator [Thu, 24 Feb 2011 15:35:12 +0000 (15:35 +0000)]
Per Robert Soulliere, it can be necessary in some cases to clean out bad
data from action.reservation_transit_copy before applying the missing
fkeys to said table.

https://bugs.launchpad.net/evergreen/+bug/721450

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

14 years agoMerge branch 'master' of git+ssh://yeti.esilibrary.com/home/evergreen/evergreen-equin...
Mike Rylander [Thu, 24 Feb 2011 14:41:17 +0000 (09:41 -0500)]
Merge branch 'master' of git+ssh://yeti.esilibrary.com/home/evergreen/evergreen-equinox into bib_parts

14 years agoclear out the hold_copy_map entries for holds cancelled via the clear-shelf processes
erickson [Wed, 23 Feb 2011 22:20:05 +0000 (22:20 +0000)]
clear out the hold_copy_map entries for holds cancelled via the clear-shelf processes

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

14 years agoMerge branch 'master' of git+ssh://yeti.esilibrary.com/home/evergreen/evergreen-equin...
Mike Rylander [Wed, 23 Feb 2011 22:05:04 +0000 (17:05 -0500)]
Merge branch 'master' of git+ssh://yeti.esilibrary.com/home/evergreen/evergreen-equinox into bib_parts

14 years agoinclude copy/call_number deletedness in staff-version copy counts
miker [Wed, 23 Feb 2011 21:32:42 +0000 (21:32 +0000)]
include copy/call_number deletedness in staff-version copy counts

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

14 years agoMerge branch 'master' of git+ssh://yeti.esilibrary.com/home/evergreen/evergreen-equin...
Mike Rylander [Wed, 23 Feb 2011 18:47:02 +0000 (13:47 -0500)]
Merge branch 'master' of git+ssh://yeti.esilibrary.com/home/evergreen/evergreen-equinox into bib_parts

14 years agoAdd 830 as a controllable bibliographic field in authority linking script
dbs [Wed, 23 Feb 2011 15:05:36 +0000 (15:05 +0000)]
Add 830 as a controllable bibliographic field in authority linking script

Per http://www.loc.gov/marc/bibliographic/bd830.html, bibliographic 830
should be controlled by authority 130. The "common cataloging practice"
in 830 of omitting non-filing characters may cause some entries to not be
linked that otherwise would be.

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

14 years agoMerge branch 'master' of git+ssh://yeti.esilibrary.com/home/evergreen/evergreen-equin...
Mike Rylander [Wed, 23 Feb 2011 04:34:35 +0000 (23:34 -0500)]
Merge branch 'master' of git+ssh://yeti.esilibrary.com/home/evergreen/evergreen-equinox into bib_parts

14 years agomissing semicolon
phasefx [Wed, 23 Feb 2011 04:28:15 +0000 (04:28 +0000)]
missing semicolon

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

14 years agotypo
phasefx [Wed, 23 Feb 2011 04:17:33 +0000 (04:17 +0000)]
typo

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

14 years agoMerge branch 'master' of git+ssh://yeti.esilibrary.com/home/evergreen/evergreen-equin...
Mike Rylander [Wed, 23 Feb 2011 03:44:04 +0000 (22:44 -0500)]
Merge branch 'master' of git+ssh://yeti.esilibrary.com/home/evergreen/evergreen-equinox into bib_parts

14 years agoWorking SRU search for various authority records
dbs [Wed, 23 Feb 2011 02:56:54 +0000 (02:56 +0000)]
Working SRU search for various authority records

We now have search indexes for:
  * ID
  * name
  * subject
  * title
  * topic

O:WWW:SuperCat::sru_search has been refactored somewhat to reduce
code duplication between the authority SRU and the bibliographic SRU.

This SRU interface lives, by default, at http://hostname/opac/extras/sru_auth

Explain output is still a bit wonky in the configInfo section.

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

14 years agoMerge branch 'master' of git+ssh://yeti.esilibrary.com/home/evergreen/evergreen-equin...
Mike Rylander [Wed, 23 Feb 2011 02:21:57 +0000 (21:21 -0500)]
Merge branch 'master' of git+ssh://yeti.esilibrary.com/home/evergreen/evergreen-equinox into cn_affix

14 years agoMerge branch 'master' of git+ssh://yeti.esilibrary.com/home/evergreen/evergreen-equin...
Mike Rylander [Wed, 23 Feb 2011 02:21:54 +0000 (21:21 -0500)]
Merge branch 'master' of git+ssh://yeti.esilibrary.com/home/evergreen/evergreen-equinox into bib_parts

14 years agoCorrect the install location for Dojo i18n bundles
dbs [Wed, 23 Feb 2011 02:10:05 +0000 (02:10 +0000)]
Correct the install location for Dojo i18n bundles

We had been converting xx-YY into xx/yy for a directory structure,
but current evidence shows that it should be xx-yy. Hard to believe
we've overlooked this for so long. Also, with the exception of the
en-ca/en-gb/en-us locales, we should probably trim the locale to
just xx - but that's a different problem, and let's just focus on
getting this working to begin with.

Addresses Launchpad # 723489

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

14 years agoMerging in unAPI v2, the bono edition
miker [Wed, 23 Feb 2011 02:06:06 +0000 (02:06 +0000)]
Merging in unAPI v2, the bono edition

 * Add unapi schema, functions and initial transform setup
 * General purpose tag URI parser
 * upgrade script and build-db.pl integration

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