evergreen/equinox.git
13 years agostill to test
Lebbeous Fogle-Weekley [Mon, 17 Sep 2012 22:15:25 +0000 (18:15 -0400)]
still to test

Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
13 years agoChange order: Saving filter sets
Lebbeous Fogle-Weekley [Wed, 12 Sep 2012 23:08:24 +0000 (19:08 -0400)]
Change order: Saving filter sets

Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
13 years agoFilter loading: gracefully skip unknown fields, remove inital empty row
Lebbeous Fogle-Weekley [Wed, 12 Sep 2012 18:02:49 +0000 (14:02 -0400)]
Filter loading: gracefully skip unknown fields, remove inital empty row

Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
13 years agoChange order: filter set loading works. still need saving.
Lebbeous Fogle-Weekley [Tue, 11 Sep 2012 22:34:02 +0000 (18:34 -0400)]
Change order: filter set loading works. still need saving.

Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
13 years agoPermission fixing
Lebbeous Fogle-Weekley [Tue, 11 Sep 2012 16:07:13 +0000 (12:07 -0400)]
Permission fixing

Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
13 years agoFor the change order, let's do filter sets a little more generalized-like
Lebbeous Fogle-Weekley [Tue, 11 Sep 2012 15:56:09 +0000 (11:56 -0400)]
For the change order, let's do filter sets a little more generalized-like

Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
13 years agoVerify-all now means all-matching-my-search-terms, not necessarily all-in-uvs
Lebbeous Fogle-Weekley [Tue, 11 Sep 2012 03:03:34 +0000 (23:03 -0400)]
Verify-all now means all-matching-my-search-terms, not necessarily all-in-uvs

Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
13 years agoimplement the "process immediately" switch, hitherto unhooked up
Lebbeous Fogle-Weekley [Tue, 11 Sep 2012 02:12:39 +0000 (22:12 -0400)]
implement the "process immediately" switch, hitherto unhooked up

Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
13 years agoFix broken display of verification attempt in progress
Lebbeous Fogle-Weekley [Mon, 10 Sep 2012 16:35:43 +0000 (12:35 -0400)]
Fix broken display of verification attempt in progress

Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
13 years agoTODO: deal with update_attempt_display() missing its target nodes now
Lebbeous Fogle-Weekley [Fri, 7 Sep 2012 23:59:50 +0000 (19:59 -0400)]
TODO: deal with update_attempt_display() missing its target nodes now

scrolling is perfect vertically, but where's my horiz scrollbar? grr

Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
13 years agoWasted hours on this
Lebbeous Fogle-Weekley [Fri, 7 Sep 2012 23:31:18 +0000 (19:31 -0400)]
Wasted hours on this

Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
13 years agoCorrections to the preceding commit
Lebbeous Fogle-Weekley [Thu, 6 Sep 2012 21:36:02 +0000 (17:36 -0400)]
Corrections to the preceding commit

Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
13 years agostarted verification review UI, also SCHEMA CHANGES
Lebbeous Fogle-Weekley [Thu, 6 Sep 2012 20:16:16 +0000 (16:16 -0400)]
started verification review UI, also SCHEMA CHANGES

It just doesn't work for me to not have url_verify.url directly related
to url_verify.session.  When dealing with the "root" URL in a redirect chain,
you can get the related session through url_selector, but not when
you have any later URL in the chain.  The only way for IDL perms to work
would be to have a link to a view using a CTE to find the "root" URL.

That's too complex, so instead of that I've just added a session fkey on
url_verify.url.

Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
13 years agolkasejf. It's the weekend.
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>
13 years agoURLVerify.pm; response throttling repairs
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>
13 years agoA note about open-ils.url_verify.verify_url for future reference
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>
13 years agoVerification sorta works but doesn't report progress correctly
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>
13 years agothese new bits untested, to be continued
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>
13 years agoEssentials for URL selecting interface
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>
13 years agoFix IDL permissions that require jumps
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>
13 years agoRefactor create_session as dojo module.
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>
13 years agoVarious fixes, largely UI
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>
13 years agofix xpath generation to match what works
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>
13 years agoCall URL extraction phase from UI
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>
13 years agoFix previously nonfunctional stored procedure url_verify.extract_urls(INT,INT)
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>
13 years agowhitespace
Lebbeous Fogle-Weekley [Mon, 27 Aug 2012 15:34:46 +0000 (11:34 -0400)]
whitespace

Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
13 years agoPermisison fixing
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>
13 years agoPretty much finished session create UI but for cloning
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>
13 years agoBuckets and their items aren't designed to be PCRUD accessible,
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>
13 years agoFix subtle Perl issue
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>
13 years agoMore UI work. Saved search selector & search scope OU selector & cosmetics
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>
13 years agouse a perm that actually exists
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>
13 years agoDeal with moved publish_fieldmapper() method
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>
13 years agocheck for session ownership and for previous searchitude
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>
13 years agoGet all search results, not just first 10
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>
13 years agoBeginnings for the big session kick-off UI. Not yet functional.
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>
13 years agoML methods to create sessions and do the searching/bucketing
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>
13 years agoAdd open-ils.url_verify service to example OpenSRF configs
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>
13 years agoNew container type for url verification sessions
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>
13 years agoFunction for ingesting URLs from container item + session
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>
13 years agoURLVerify.pm; docs; tested redirect max/loops and repairs
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>
13 years agoURLVerify.pm; docs; url domain looping; cleanup
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>
13 years agoURLVerify.pm; docs; url shuffling
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>
13 years agoURLVerify.pm; docs; url shuffling
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>
13 years agoURLVerify.pm; avoid re-processing same url repairs; honor delay=0
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>
13 years agoURLVerify.pm; avoid re-processing same url within the same attempt (thinko)
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>
13 years agoURLVerify.pm; avoid re-processing same url within the same attempt
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>
13 years agoURLVerify.pm; apply timeout to lwp useragent; comments
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>
13 years agoURLVerify.pm; move to lwp to support ftp and simplify
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>
13 years agoDo the same thing I did to fix constrain names in upgr scripts to baseline
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>
13 years agourl_verify schema repair / res-code constraint
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>
13 years agourl_verify seed data / sql manifest
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>
13 years agourl verify seed data repairs
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>
13 years agoURLVerify.pm; settings, tmp caching, cleanup / misc
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>
13 years agourl verify seed data / null constraint repairs
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>
13 years agourl_verify seed data (trigger)
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>
13 years agourl_verify perm/org setting seed data
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>
13 years agourl_verify perm/org setting seed data
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>
13 years agourl_verify perm/org setting seed data
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>
13 years agoURLVerify.pm; redirects / error handling
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>
13 years agoURLVerify.pm; more testing tweaks
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>
13 years agoMove Fieldmapper API call to Application.pm
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>
13 years agoURLVerify.pm; initial testing tweaks
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>
13 years agoURLVerify.pm; resume options; docs
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>
13 years agoLiberalize res_code constraint
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>
13 years agoConstraints need unique names
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>
13 years agoURLVerify.pm; docs / cleanup
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>
13 years agoURLVerify.pm; firing batch url verify calls
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>
13 years agoURLVerify.pm getting started
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>
13 years agoAdded is_event check to AppUtils
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>
13 years agoAdd ON INSERT trigger to parse the URL as it is added
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>
13 years agoAdd Rose::URI to the CPAN_MODULES list
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>
13 years agoStart building URL-Validation related funcitons
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>
13 years agoSchema and IDL changes for URL Verification functionality
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>
13 years agoDefault notify by text receipt replaces to blank
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>
13 years agoTPAC: Results - don't show the pubdate if we're showing full pubinfo
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>
13 years agoTPAC: Display full publication info
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>
13 years agoEnable 1-hit redirect for item barcode searches
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>
13 years agoProtect against fleshed circ_lib in legacy check_age_protect
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>
13 years agoSort of in line with 949322 but not absolutely necessary
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>
13 years agolp949322 Copy Patron barcode to clipboard when clicking their name
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>
13 years agoVarious additions to the 2.3 release notes.
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>
13 years agoHide Print Page button on Simplified Pull List
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>
13 years agoTPAC: Escape single quotes in MFHD record location
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>
13 years agoRemove defunct variable from 'jtitle' code
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>
13 years agoRevert "Bug #1044721: QP handles explicit group+joiner badly"
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>
13 years agoJournal title hackery - move to a more robust location
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>
13 years agoUpgrade bits for Vandelay Overlay Changes
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>
13 years agoIncrease Overlay Speed for Standard Identifiers
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>
13 years agoVandelay: Fix index-miss with MARC Imports using Match Sets
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>
13 years agoBug #1044721: QP handles explicit group+joiner badly
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>
13 years agoGracefully handle reporter class with no labels
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>
13 years agoFix Merge All Records in Bucket action
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>
13 years agoDefine a few strings missing from cat.properties
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>
13 years agoImporting translations for 2.3.rc1
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>
13 years agoDo the SQL upgrade dance for list pubdate in CSV
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>
13 years agoAdd pub date to CSV output.
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>
13 years agoTPAC: Add the ability to set a different default locale
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>
13 years agoTPAC: Make call number browse record links retain search lib
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>
13 years agoDocumentation: removie file reference to line items since section was moved to anothe...
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>