Lebbeous Fogle-Weekley [Fri, 31 Aug 2012 21:31:43 +0000 (17:31 -0400)]
lkasejf. It's the weekend.
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Bill Erickson [Fri, 31 Aug 2012 13:59:58 +0000 (09:59 -0400)]
URLVerify.pm; response throttling repairs
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Lebbeous Fogle-Weekley [Thu, 30 Aug 2012 22:49:55 +0000 (18:49 -0400)]
A note about open-ils.url_verify.verify_url for future reference
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Lebbeous Fogle-Weekley [Thu, 30 Aug 2012 22:41:14 +0000 (18:41 -0400)]
Verification sorta works but doesn't report progress correctly
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Lebbeous Fogle-Weekley [Thu, 30 Aug 2012 15:44:57 +0000 (11:44 -0400)]
these new bits untested, to be continued
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Lebbeous Fogle-Weekley [Wed, 29 Aug 2012 22:53:23 +0000 (18:53 -0400)]
Essentials for URL selecting interface
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Lebbeous Fogle-Weekley [Tue, 28 Aug 2012 22:06:03 +0000 (18:06 -0400)]
Fix IDL permissions that require jumps
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Lebbeous Fogle-Weekley [Tue, 28 Aug 2012 18:38:25 +0000 (14:38 -0400)]
Refactor create_session as dojo module.
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Lebbeous Fogle-Weekley [Tue, 28 Aug 2012 18:08:28 +0000 (14:08 -0400)]
Various fixes, largely UI
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Lebbeous Fogle-Weekley [Tue, 28 Aug 2012 15:09:02 +0000 (11:09 -0400)]
fix xpath generation to match what works
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Lebbeous Fogle-Weekley [Mon, 27 Aug 2012 22:50:39 +0000 (18:50 -0400)]
Call URL extraction phase from UI
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Lebbeous Fogle-Weekley [Mon, 27 Aug 2012 22:18:09 +0000 (18:18 -0400)]
Fix previously nonfunctional stored procedure url_verify.extract_urls(INT,INT)
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Lebbeous Fogle-Weekley [Mon, 27 Aug 2012 15:34:46 +0000 (11:34 -0400)]
whitespace
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Lebbeous Fogle-Weekley [Mon, 27 Aug 2012 15:32:37 +0000 (11:32 -0400)]
Permisison fixing
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Lebbeous Fogle-Weekley [Fri, 24 Aug 2012 22:39:11 +0000 (18:39 -0400)]
Pretty much finished session create UI but for cloning
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Lebbeous Fogle-Weekley [Thu, 23 Aug 2012 19:46:44 +0000 (15:46 -0400)]
Buckets and their items aren't designed to be PCRUD accessible,
so we need a handy view to link URL Verify Sessions to the bib
contained. We can leverage this in flattener queries.
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Lebbeous Fogle-Weekley [Tue, 21 Aug 2012 18:36:32 +0000 (14:36 -0400)]
Fix subtle Perl issue
Not a syntax error that the compiler will catch, but see
"perldoc -f do" which will lead you do "perldoc perlsyn"
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Lebbeous Fogle-Weekley [Mon, 20 Aug 2012 22:45:06 +0000 (18:45 -0400)]
More UI work. Saved search selector & search scope OU selector & cosmetics
Still not actually functional.
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Lebbeous Fogle-Weekley [Mon, 20 Aug 2012 21:04:55 +0000 (17:04 -0400)]
use a perm that actually exists
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Lebbeous Fogle-Weekley [Mon, 20 Aug 2012 18:22:06 +0000 (14:22 -0400)]
Deal with moved publish_fieldmapper() method
This is a companion commit to
fac45ab9b1cb8924 / Move Fieldmapper API call to Application.pm
Without it, Flattener and Action/Trigger stop working with errors like
this:
[Mon Aug 20 13:50:18 2012] [error] [client XXX.XXX.XXX.XXX] Exception:
OpenSRF::EX::ERROR 2012-08-20T13:50:18 main -e:0 System ERROR:
Exception: OpenSRF::DomainObject::oilsMethodException
2012-08-20T13:50:18 OpenSRF::AppRequest
/usr/local/share/perl/5.10.1/OpenSRF/AppSession.pm:1064 <500> *** Call
to [open-ils.fielder.flattened_search.execute.atomic] failed for session
[
1345485018.
767884163.
96534353976], thread trace [1]:\nNo field by the
name publish_fieldmapper in Fieldmapper! at
/usr/local/share/perl/5.10.1/OpenILS/Utils/Fieldmapper.pm line
270.\n\n\n\n, referer:
http://XXXXXXX/eg/conify/global/actor/search_filter_group
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Lebbeous Fogle-Weekley [Mon, 20 Aug 2012 16:58:48 +0000 (12:58 -0400)]
check for session ownership and for previous searchitude
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Lebbeous Fogle-Weekley [Mon, 20 Aug 2012 15:16:21 +0000 (11:16 -0400)]
Get all search results, not just first 10
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Lebbeous Fogle-Weekley [Fri, 17 Aug 2012 22:58:03 +0000 (18:58 -0400)]
Beginnings for the big session kick-off UI. Not yet functional.
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Lebbeous Fogle-Weekley [Fri, 17 Aug 2012 19:40:09 +0000 (15:40 -0400)]
ML methods to create sessions and do the searching/bucketing
We can't use PCRUD to create url_verify.session objects because a) you
couldn't trust the creator field if we allowed that, and b) the
container foreign key has a not-null constraint, so you have to create
that first, and you can't do that with PCRUD.
I've removed the C, U and D perms for PCRUD for url_verify.session, but
I left the R in case we wind up using that.
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Lebbeous Fogle-Weekley [Fri, 17 Aug 2012 16:17:00 +0000 (12:17 -0400)]
Add open-ils.url_verify service to example OpenSRF configs
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Mike Rylander [Tue, 14 Aug 2012 19:08:40 +0000 (15:08 -0400)]
New container type for url verification sessions
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Mike Rylander [Mon, 13 Aug 2012 20:10:38 +0000 (16:10 -0400)]
Function for ingesting URLs from container item + session
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Bill Erickson [Fri, 10 Aug 2012 13:35:02 +0000 (09:35 -0400)]
URLVerify.pm; docs; tested redirect max/loops and repairs
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Fri, 10 Aug 2012 13:10:52 +0000 (09:10 -0400)]
URLVerify.pm; docs; url domain looping; cleanup
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Thu, 9 Aug 2012 20:42:20 +0000 (16:42 -0400)]
URLVerify.pm; docs; url shuffling
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Thu, 9 Aug 2012 20:42:02 +0000 (16:42 -0400)]
URLVerify.pm; docs; url shuffling
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Thu, 9 Aug 2012 20:06:34 +0000 (16:06 -0400)]
URLVerify.pm; avoid re-processing same url repairs; honor delay=0
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Thu, 9 Aug 2012 19:40:15 +0000 (15:40 -0400)]
URLVerify.pm; avoid re-processing same url within the same attempt (thinko)
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Thu, 9 Aug 2012 18:58:41 +0000 (14:58 -0400)]
URLVerify.pm; avoid re-processing same url within the same attempt
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Thu, 9 Aug 2012 16:57:32 +0000 (12:57 -0400)]
URLVerify.pm; apply timeout to lwp useragent; comments
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Thu, 9 Aug 2012 16:53:02 +0000 (12:53 -0400)]
URLVerify.pm; move to lwp to support ftp and simplify
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Lebbeous Fogle-Weekley [Thu, 9 Aug 2012 15:36:35 +0000 (11:36 -0400)]
Do the same thing I did to fix constrain names in upgr scripts to baseline
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Bill Erickson [Thu, 9 Aug 2012 15:34:14 +0000 (11:34 -0400)]
url_verify schema repair / res-code constraint
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Thu, 9 Aug 2012 14:51:52 +0000 (10:51 -0400)]
url_verify seed data / sql manifest
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Thu, 9 Aug 2012 14:34:34 +0000 (10:34 -0400)]
url verify seed data repairs
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Thu, 9 Aug 2012 14:26:02 +0000 (10:26 -0400)]
URLVerify.pm; settings, tmp caching, cleanup / misc
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Thu, 9 Aug 2012 14:25:28 +0000 (10:25 -0400)]
url verify seed data / null constraint repairs
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Thu, 9 Aug 2012 14:23:27 +0000 (10:23 -0400)]
url_verify seed data (trigger)
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Thu, 9 Aug 2012 13:38:33 +0000 (09:38 -0400)]
url_verify perm/org setting seed data
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Thu, 9 Aug 2012 13:27:00 +0000 (09:27 -0400)]
url_verify perm/org setting seed data
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Thu, 9 Aug 2012 13:21:07 +0000 (09:21 -0400)]
url_verify perm/org setting seed data
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Wed, 8 Aug 2012 19:38:39 +0000 (15:38 -0400)]
URLVerify.pm; redirects / error handling
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Wed, 8 Aug 2012 19:11:19 +0000 (15:11 -0400)]
URLVerify.pm; more testing tweaks
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Wed, 8 Aug 2012 18:26:31 +0000 (14:26 -0400)]
Move Fieldmapper API call to Application.pm
Move export of opensrf.open-ils.system.fieldmapper API call from
Fieldmapper.pm into Application.pm with the rest of the shared API
calls. This allows us to remove the OpenSRF::Application base from
Fieldmapper, which was causing some method name collisions. For
example, if a Fieldmapper object had a field called "session", which,
incidentally, is also a method of OpenSRF::Application, the version
from OpenSRF::Application would get called instead of the Fieldmapper
version, since Fieldmapper methods are defined during AUTOLOAD.
Hilarity was guaranteed to ensue.
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Wed, 8 Aug 2012 18:15:25 +0000 (14:15 -0400)]
URLVerify.pm; initial testing tweaks
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Wed, 8 Aug 2012 16:25:27 +0000 (12:25 -0400)]
URLVerify.pm; resume options; docs
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Lebbeous Fogle-Weekley [Wed, 8 Aug 2012 15:56:54 +0000 (11:56 -0400)]
Liberalize res_code constraint
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Lebbeous Fogle-Weekley [Wed, 8 Aug 2012 15:54:21 +0000 (11:54 -0400)]
Constraints need unique names
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Bill Erickson [Wed, 8 Aug 2012 14:29:06 +0000 (10:29 -0400)]
URLVerify.pm; docs / cleanup
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Wed, 8 Aug 2012 14:05:35 +0000 (10:05 -0400)]
URLVerify.pm; firing batch url verify calls
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Tue, 7 Aug 2012 20:27:57 +0000 (16:27 -0400)]
URLVerify.pm getting started
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Tue, 7 Aug 2012 20:28:33 +0000 (16:28 -0400)]
Added is_event check to AppUtils
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Mike Rylander [Wed, 8 Aug 2012 15:42:41 +0000 (11:42 -0400)]
Add ON INSERT trigger to parse the URL as it is added
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Mike Rylander [Tue, 7 Aug 2012 16:25:21 +0000 (12:25 -0400)]
Add Rose::URI to the CPAN_MODULES list
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Mike Rylander [Tue, 7 Aug 2012 13:15:25 +0000 (09:15 -0400)]
Start building URL-Validation related funcitons
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Mike Rylander [Mon, 6 Aug 2012 19:51:04 +0000 (15:51 -0400)]
Schema and IDL changes for URL Verification functionality
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Thomas Berezansky [Wed, 19 Sep 2012 14:19:48 +0000 (10:19 -0400)]
Default notify by text receipt replaces to blank
So that when the option is disabled we don't leave behind things like
%notify_by_text% and %notify_by_text_msg%.
Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Signed-off-by: Jason Etheridge <jason@esilibrary.com>
Dan Scott [Wed, 12 Sep 2012 16:59:53 +0000 (12:59 -0400)]
TPAC: Results - don't show the pubdate if we're showing full pubinfo
In the "show few details" mode, we show just the pubdate; in the "show
full details" mode, we're showing the full pubinfo and therefore do not
need to show the stubby pubdate.
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Signed-off-by: Ben Shum <bshum@biblio.org>
Dan Scott [Wed, 12 Sep 2012 15:50:03 +0000 (11:50 -0400)]
TPAC: Display full publication info
In both the results table and record summary, we were failing to display
the place of publication - which is critical information for people
trying to track down the right edition or constructing a bibliography.
Grab the place of publication, and then reconstruct 260abc (avoiding
another XPath iteration and giving ourselves the ability to enhance the
schema.org microdata at the same time).
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Signed-off-by: Ben Shum <bshum@biblio.org>
Thomas Berezansky [Mon, 20 Aug 2012 16:22:44 +0000 (12:22 -0400)]
Enable 1-hit redirect for item barcode searches
Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Mon, 17 Sep 2012 12:48:26 +0000 (08:48 -0400)]
Protect against fleshed circ_lib in legacy check_age_protect
Retrieving org settings with an org unit object as the context org unit
results in errors and dying.
This affects legacy scripts only.
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Michael Peters <mrpeters@library.in.gov>
edoceo [Thu, 2 Aug 2012 02:37:37 +0000 (19:37 -0700)]
Sort of in line with 949322 but not absolutely necessary
This just supresses the message about what text was copied to the clipboard - globally!
Signed-off-by: edoceo <code@edoceo.com>
Signed-off-by: Jason Etheridge <jason@esilibrary.com>
edoceo [Thu, 2 Aug 2012 02:33:20 +0000 (19:33 -0700)]
lp949322 Copy Patron barcode to clipboard when clicking their name
CTRL+Click will open the patron record in a new tab
Signed-off-by: edoceo <code@edoceo.com>
This affects the patron label in Item Status -> Alt View -> Holds/Transits. Looks good to me.
Signed-off-by: Jason Etheridge <jason@esilibrary.com>
Kathy Lussier [Sun, 16 Sep 2012 04:56:55 +0000 (00:56 -0400)]
Various additions to the 2.3 release notes.
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Ben Shum [Mon, 10 Sep 2012 19:03:59 +0000 (15:03 -0400)]
Hide Print Page button on Simplified Pull List
On the Simplified Pull List interface, there is a button for "Print Page"
that shows up in the upper right corner. The suggestion is to hide that
button to avoid library staff printing just what's visible instead of using
the proper "Print Pull List" button that's actually on the page.
Signed-off-by: Ben Shum <bshum@biblio.org>
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Dan Scott [Thu, 6 Sep 2012 16:25:01 +0000 (12:25 -0400)]
TPAC: Escape single quotes in MFHD record location
If an MFHD record contains an 852 field with a subfield containing a
single quote, the unescaped single quote is introduced directly into the
value of the JavaScript hash that uses single quotes as delimiters -
thereby generating a JS exception and preventing the staff client from
properly populating the MFHD Editor menu.
This commit escapes incoming single quotes from the MFHD location field
to prevent that from happening. The other fields in the JS hash are
numeric and therefore should not need escaping.
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
Dan Wells [Fri, 7 Sep 2012 13:50:11 +0000 (09:50 -0400)]
Remove defunct variable from 'jtitle' code
With the second part of the 'jtitle' code moved elsewhere,
we no longer need this extra '$q' variable. No big deal, but
best to sweep up while we're in here.
Signed-off-by: Dan Wells <dbw2@calvin.edu>
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Lebbeous Fogle-Weekley [Fri, 7 Sep 2012 15:42:12 +0000 (11:42 -0400)]
Revert "Bug #
1044721: QP handles explicit group+joiner badly"
This reverts commit
b77bb9943009b81042b4ef1a6ac33ec9e3e96dd7.
Unfortunately this had side effects that escaped our manual testing
processes. Especially with facets as reported by Ben Shum.
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Dan Scott [Fri, 7 Sep 2012 03:37:32 +0000 (23:37 -0400)]
Journal title hackery - move to a more robust location
The fix for bug #
1044721 broke the journal title hack, which probably
should have lived where this commit moves it - if, in the age of filter
groups, we decide whether it's worthwhile to keep it alive at all.
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
Dan Wells [Tue, 4 Sep 2012 21:09:44 +0000 (17:09 -0400)]
Upgrade bits for Vandelay Overlay Changes
Signed-off-by: Dan Wells <dbw2@calvin.edu>
Dan Wells [Thu, 30 Aug 2012 19:26:15 +0000 (15:26 -0400)]
Increase Overlay Speed for Standard Identifiers
Due to an inefficient query order and a confused query planner,
some overlay matching can end up going abysmally slow. See LP
bug #
1024095 for elaboration on the issue.
This commit reorders the joins as originally suggested by Lebbeous,
then adds a specific index to coax the query planner into making the
best choices. The example index here only targets the 02x identifier
fields, so other tag/subfield/substring(value) indexes will likely
be necessary for maximum benefit when matching on other fields
(e.g. 010).
These changes combined with the previous commit which replaces 'LIKE
ANY' with 'LIKE (... OR ...)' has shown great promise in testing.
Signed-off-by: Dan Wells <dbw2@calvin.edu>
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Lebbeous Fogle-Weekley [Tue, 26 Jun 2012 00:00:33 +0000 (20:00 -0400)]
Vandelay: Fix index-miss with MARC Imports using Match Sets
In some Postgres installations, an expression such as:
(value LIKE '
13423488%' OR value LIKE '245425%') will use a btree index,
but
value LIKE ANY('{
13423488%,245425%}'::TEXT[])
will not.
Missing such an index can make matching incoming bibs based on a field
that's present in most of your existing records terrifically slow.
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
Jared Camins-Esakov [Sat, 1 Sep 2012 14:21:51 +0000 (10:21 -0400)]
Bug #
1044721: QP handles explicit group+joiner badly
Although the following four queries should be equivalent:
george || fred
(george) || fred
george || (fred)
(george) || (fred)
The Pg QueryParser driver generates SQL queries that return different
numbers of results for each of those queries, with all desired results
appearing only with the first query. This seems to be because of the way
filters are added in the interface.
This patch adjusts the Search code in TPAC to add an explicit group
around the user-entered query, which enables the Pg QueryParser driver
to handle all four of the above queries properly.
This patch should also resolve the problems encountered with the patch
for bug #
1040740, "Implicit ANDs should have higher precedence than
explicit ORs"
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Bill Erickson [Tue, 4 Sep 2012 18:43:27 +0000 (14:43 -0400)]
Gracefully handle reporter class with no labels
LP
1045964 -- unable to clone report template
The template interface was failing while rendering the reporter sources
drop-down when a reporter source (IDL class) had no label. This adds a
sanity check around that.
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Ben Shum <bshum@biblio.org>
Thomas Berezansky [Tue, 4 Sep 2012 17:23:37 +0000 (13:23 -0400)]
Fix Merge All Records in Bucket action
A xul file was not being prefixed with oils://remote
Note: This is a quick fix. Ideally we move the url to constants.js.
Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Signed-off-by: Ben Shum <bshum@biblio.org>
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Dan Scott [Tue, 4 Sep 2012 17:46:41 +0000 (13:46 -0400)]
Define a few strings missing from cat.properties
By the power of build/i18n/test/check_properties.py ...
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Fri, 31 Aug 2012 22:46:27 +0000 (18:46 -0400)]
Importing translations for 2.3.rc1
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Dan Scott [Sun, 2 Sep 2012 02:59:21 +0000 (22:59 -0400)]
Do the SQL upgrade dance for list pubdate in CSV
With a slight tweak to base the upgrade off of the event definition name
instead of the ID; possibly more resilient.
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Jason Stephenson [Fri, 27 Jul 2012 13:25:05 +0000 (09:25 -0400)]
Add pub date to CSV output.
Change the template for the ContainerCSV reactor to add the publication
date (MARC 260$c) in the csv output in the same position that the previous
commit adds it to the html output.
Add an upgrade script to update the existing template for the ContainerCSV
reactor in action_trigger.event_definition.
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Dan Scott [Sat, 4 Aug 2012 14:10:48 +0000 (10:10 -0400)]
TPAC: Add the ability to set a different default locale
Installations with multiple sites might desire different default locales
for their skins. This adds the Apache config directive
"OILSWebDefaultLocale", which enables you to set the default locale on a
global and a per-skin basis.
Note that this prevents the browser Accept-language header from having
any effect; sadly that header is not often used in real life.
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Signed-off-by: Art Rhyno <art632000@yahoo.ca>
Conflicts:
Open-ILS/examples/apache/eg_vhost.conf
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Dan Scott [Mon, 13 Aug 2012 20:50:33 +0000 (16:50 -0400)]
TPAC: Make call number browse record links retain search lib
In addition to maintaining scope for the call number browse search
results, we also need to maintain the scope for the links for the call
number records in the results themselves (for example, the "retrieve
this record" link, or the "search for this author" link).
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Signed-off-by: Ben Shum <bshum@biblio.org>
Robert Soulliere [Thu, 30 Aug 2012 18:52:08 +0000 (14:52 -0400)]
Documentation: removie file reference to line items since section was moved to another file.
Signed-off-by: Robert Soulliere <robert.soulliere@mohawkcollege.ca>
Robert Soulliere [Thu, 30 Aug 2012 18:40:00 +0000 (14:40 -0400)]
Documentation: Add sections for new features in Acquisitions
From: http://www.esilibrary.com/esi/availableDocs.php
RS added some index terms to start beefing up our index for the docs.
Steven Callender [Tue, 10 Jul 2012 19:43:59 +0000 (15:43 -0400)]
Changed the thawing of a hold to first update the hold record and then re-target.
When thawing a hold, originaly we were first re-targeting before actually saving the hold record. On items with large quantities, sometimes the hold would timeout on targetig before getting a chance to actually save. This patch moves things around to first save the hold record before attempting to retarget.
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Lebbeous Fogle-Weekley [Thu, 30 Aug 2012 16:42:01 +0000 (12:42 -0400)]
Acq: In general search, make value widgets for OU-linked fields right again
They always used to be OU selector dropdowns until a thinko in
55a82b5.
This restores them.
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Lebbeous Fogle-Weekley [Thu, 30 Aug 2012 16:20:13 +0000 (12:20 -0400)]
Acq: Fix General Search for Lineitem Attribute-based fields
Reported by Ben Shum and Kathy Lussier, the Acq General Search interface
was broken in that you couldn't use any of the search fields under
Lineitem Attribute. This error was indeed introduced by recent commit
55a82b5 as Ben determined, but simply reverting that commit left other
things broken.
This commit actually targets the problem and seems to fix it in my
testing.
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Lebbeous Fogle-Weekley [Tue, 28 Aug 2012 20:09:00 +0000 (16:09 -0400)]
Acq: New lineitems added to existing POs should inherit provider
Jeremy Miller of the Albany Public Library in Albany, OR, reports that
through the interface at
Actions For This Record -> View/Place Orders
in the staff client, when you add a lineitem to an existing PO, the new
lineitem has a null value in the "provider" field, instead of inheriting
the expected value from the PO.
This causes problems for some Acquisitions workflows.
The feature containing the bug appeared in 2.2, and this fix for it can be
backported that far.
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Wed, 2 May 2012 13:55:06 +0000 (09:55 -0400)]
ACQ support for two-step vandelay imports
If a lineitm is loaded into a queue via ACQ+Vandelay and a later attempt
is made to load the record into the catalog via ACQ+Vandelay, the
attempt will fail, because ACQ+Vandelay treats all
not-yet-fully-imported lineitems as new to vandelay. This change
inspects lineitems at vandelay processing time to determine if they are
already linked to a VL record or if a new one is needed. It also
removes the requirement that a queue be provided when all records in
process are already linked to a VL record (which already lives in a
queue).
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Kathy Lussier [Wed, 1 Aug 2012 13:31:24 +0000 (09:31 -0400)]
Add a new "starts with" search option to the advanced search page.
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Bill Erickson [Fri, 24 Aug 2012 17:27:24 +0000 (13:27 -0400)]
Add kpac to 2.3 release notes
This is a snippet from the main kpac documentation in
docs/opac/kids_opac.txt, added to make sure it's represented in the
release notes.
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Robert Soulliere <robert.soulliere@mohawkcollege.ca>
Lebbeous Fogle-Weekley [Mon, 13 Aug 2012 15:47:48 +0000 (11:47 -0400)]
Fix sorting when printing from FlattenerGrid-based interfaces
This particularly affects the Simplified Hold Pull List. The printed
verison of your data is supposed to reflect the same sort order that has
been selected in the visual interface, and now it does.
Buggy handling of the different avenues of sorting the grid (clicking column
headers, using the column-picker/multicolumn-sort dialog, default sort order)
had broken the flow of the data needed to build the right sort clause for
some situations.
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Dan Scott [Fri, 24 Aug 2012 03:02:42 +0000 (23:02 -0400)]
Fix epub complaint about image with extra colon
The "+" operators are typically only used to embed an image within an
ordered or unordered list to avoid breaking the indentation level or
numbering; here, we were using the "+" operators between regular
paragraphs, which doesn't make much sense. What made less sense was the
processing result, which bizarrely added an extra colon to the front of
the image path, leading to a (naturally) missing image and processing
error.
The fix is just to throw the image tag in between the paragraphs with no
special "+" operators; just blank lines.
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Dan Scott [Fri, 24 Aug 2012 01:12:40 +0000 (21:12 -0400)]
Document how to create a TPAC/KPAC search box
Now that we're in the land of the TPAC, it's time to ensure that
everyone can update their simple search boxes so that they no longer
point at the JSPAC and point at the TPAC or Kid's OPAC instead.
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Dan Scott [Fri, 24 Aug 2012 01:14:02 +0000 (21:14 -0400)]
Resolve doc PDF transform error
The doc build gets angry when a target that does not exist is linked
from somewhere else in the docs. So, make the target exist.
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Sally Fortin [Thu, 23 Aug 2012 18:21:39 +0000 (14:21 -0400)]
Documentation: Add documentation for setting maximum checkout by copy location.
Signed-off-by: Robert Soulliere <robert.soulliere@mohawkcollege.ca>