working/Evergreen.git
13 years agodon't match on deleted bib records
berick [Wed, 4 May 2011 14:45:40 +0000 (10:45 -0400)]
don't match on deleted bib records

13 years agoalso remove matched_set from IDL
berick [Wed, 4 May 2011 14:13:42 +0000 (10:13 -0400)]
also remove matched_set from IDL

13 years agoClean up uses of vandelay.incoming_record_quality to provide all required params...
Mike Rylander [Wed, 4 May 2011 00:23:57 +0000 (20:23 -0400)]
Clean up uses of vandelay.incoming_record_quality to provide all required params; Remove matched_set on matches, just look at the match_set for the queue of the vandelay record in question

13 years agoAdd MARC::Charset dance to the remaining plperlu function
Mike Rylander [Wed, 4 May 2011 00:06:46 +0000 (20:06 -0400)]
Add MARC::Charset dance to the remaining plperlu function

13 years agomatch set selection support in vl uploage UI, part 1
berick [Tue, 3 May 2011 19:18:55 +0000 (15:18 -0400)]
match set selection support in vl uploage UI, part 1

13 years agodelete match_set_point's starting with leaf nodes to avoid foreign key constraints...
berick [Tue, 3 May 2011 18:42:09 +0000 (14:42 -0400)]
delete match_set_point's starting with leaf nodes to avoid foreign key constraints on nodes w/ children

13 years agocreate an embedded view of the vandelay match-set admin ui inside of vandelay (as...
berick [Tue, 3 May 2011 17:55:22 +0000 (13:55 -0400)]
create an embedded view of the vandelay match-set admin ui inside of vandelay (as one of the tabs)

13 years agoadded support for viewing all import-items related to a queue, with a filter to limit...
berick [Tue, 3 May 2011 15:11:11 +0000 (11:11 -0400)]
added support for viewing all import-items related to a queue, with a filter to limit to those that failed import

13 years agoadded view for all failed item imports for a queue; next up is export options
berick [Mon, 2 May 2011 21:48:29 +0000 (17:48 -0400)]
added view for all failed item imports for a queue; next up is export options

13 years agoadded support for 'limit records to those with any import errors' in vandelay queue...
berick [Mon, 2 May 2011 19:51:15 +0000 (15:51 -0400)]
added support for 'limit records to those with any import errors' in vandelay queue display

13 years agoadded 'with_import_error' option to queued record retrieval; returns recs with eithe...
berick [Mon, 2 May 2011 19:49:33 +0000 (15:49 -0400)]
added 'with_import_error' option to queued record retrieval;  returns recs with either a record or item import failure (or both)

13 years agoVandelay file upload page cleanup
berick [Mon, 2 May 2011 16:52:30 +0000 (12:52 -0400)]
Vandelay file upload page cleanup

 * Separate data configuration parameters from import actions
 * Since import item profile is linked to queue, show the profile for
    the selected queue and dissallow changing the profile for existing
    queues in the UI (which has no effect)

13 years agoadded new stub actions for limit-to-import-errors and show all item import errors...
berick [Mon, 25 Apr 2011 20:34:54 +0000 (16:34 -0400)]
added new stub actions for limit-to-import-errors and show all item import errors; displaying new summary info; much rearrangement to bettet fit the UI pieces

13 years agoadd error and item import/error summary info to queue summary api call
berick [Mon, 25 Apr 2011 20:33:48 +0000 (16:33 -0400)]
add error and item import/error summary info to queue summary api call

13 years agoNo longer limit to non-imported items by default in queue display
berick [Mon, 25 Apr 2011 18:16:35 +0000 (14:16 -0400)]
No longer limit to non-imported items by default in queue display

13 years agohide item import error grid when not in use
berick [Mon, 25 Apr 2011 17:45:21 +0000 (13:45 -0400)]
hide item import error grid when not in use

misc. bug fixes

13 years agoshow rec summary and import failure reason when appropriate
berick [Mon, 25 Apr 2011 15:38:52 +0000 (11:38 -0400)]
show rec summary and import failure reason when appropriate

13 years agoshow item import error counts and rec import error as link to error page; initial...
berick [Mon, 25 Apr 2011 15:02:55 +0000 (11:02 -0400)]
show item import error counts and rec import error as link to error page;  initial error page

13 years agorecord / item import failures summar links
berick [Mon, 25 Apr 2011 13:58:19 +0000 (09:58 -0400)]
record / item import failures summar links

13 years agoadded virtual field for import_items to queued record
berick [Mon, 25 Apr 2011 13:57:13 +0000 (09:57 -0400)]
added virtual field for import_items to queued record

13 years agoadded option to flesh import items on queued record retrieval
berick [Mon, 25 Apr 2011 13:56:58 +0000 (09:56 -0400)]
added option to flesh import items on queued record retrieval

13 years agoMake sort order of imported item retrieval stable
Mike Rylander [Sat, 23 Apr 2011 15:47:27 +0000 (11:47 -0400)]
Make sort order of imported item retrieval stable

13 years agoadded api call open-ils.vandelay.import_item.queue.retrieve for fetching import-items...
berick [Fri, 22 Apr 2011 20:58:15 +0000 (16:58 -0400)]
added api call open-ils.vandelay.import_item.queue.retrieve for fetching import-items by queue, w/ optional has-import-failure filter

13 years agoadded with_rec_import_error and with_item_import_error filters to records-by-queue...
berick [Fri, 22 Apr 2011 20:14:47 +0000 (16:14 -0400)]
added with_rec_import_error and with_item_import_error filters to records-by-queue retrieval

13 years agorec import bug error capturing bug fixes
berick [Fri, 22 Apr 2011 17:42:08 +0000 (13:42 -0400)]
rec import bug error capturing bug fixes

13 years agoremove unused match_attr and actually capture eg_record into eg_id
Mike Rylander [Fri, 22 Apr 2011 17:19:22 +0000 (13:19 -0400)]
remove unused match_attr and actually capture eg_record into eg_id

13 years agoSecondary sort by quality ratio (higher means incoming is more "good" than existing...
Mike Rylander [Fri, 22 Apr 2011 16:55:37 +0000 (12:55 -0400)]
Secondary sort by quality ratio (higher means incoming is more "good" than existing) instead of simple incoming quality, which is a no-op (all the same)

13 years agofunctions for performing queue-wide vandelay.auto_overlay_bib_record_with_best
Mike Rylander [Fri, 22 Apr 2011 16:33:16 +0000 (12:33 -0400)]
functions for performing queue-wide vandelay.auto_overlay_bib_record_with_best

13 years agomatch_score column for recording matchiness; functions for auto-overlay based on...
Mike Rylander [Fri, 22 Apr 2011 16:30:17 +0000 (12:30 -0400)]
match_score column for recording matchiness; functions for auto-overlay based on "bestness"; low-water-mark boundary for best-auto-overlay

13 years agoBugfix for negative matches
senator [Fri, 22 Apr 2011 16:12:30 +0000 (12:12 -0400)]
Bugfix for negative matches

13 years agosome changes in the UI to reflect DB side changes
senator [Fri, 22 Apr 2011 15:45:49 +0000 (11:45 -0400)]
some changes in the UI to reflect DB side changes

Negation and quality are now ignored for operator nodes, and are not
settable in the UI.

Also in the UI, you can no longer replace the root node of the tree with
a non-op node, meaning the root of a tree is always AND or OR.

This is due to some bug that hangs the UI now when you try to save a
single-non-op-node tree, and it's not worth debugging: just remove the
feature.

13 years agoReplace vandelay.match_bib_record() with the new tree-y version
senator [Fri, 22 Apr 2011 15:29:24 +0000 (11:29 -0400)]
Replace vandelay.match_bib_record() with the new tree-y version

13 years agoWe don't have a matched_attr column anymore, because we're using the fancy expression...
Mike Rylander [Fri, 22 Apr 2011 15:14:21 +0000 (11:14 -0400)]
We don't have a matched_attr column anymore, because we're using the fancy expression tree, so test for 901c match directly

13 years agoinitial cut of capturing bib/auth import errors
berick [Fri, 22 Apr 2011 14:38:38 +0000 (10:38 -0400)]
initial cut of capturing bib/auth import errors

13 years agoinitial item-import-failure reporting; needs testing
berick [Thu, 21 Apr 2011 20:55:26 +0000 (16:55 -0400)]
initial item-import-failure reporting;  needs testing

13 years agoprevious cast solution didn't work. casting inline instead
berick [Thu, 21 Apr 2011 18:27:41 +0000 (14:27 -0400)]
previous cast solution didn't work.  casting inline instead

13 years agorepaired some thinko's in vandelay.match_bib_record stored proc
berick [Thu, 21 Apr 2011 17:52:49 +0000 (13:52 -0400)]
repaired some thinko's in vandelay.match_bib_record stored proc

13 years agocleaned out some non-existent fields from vandelay classes
berick [Thu, 21 Apr 2011 17:51:51 +0000 (13:51 -0400)]
cleaned out some non-existent fields from vandelay classes

13 years agoWorking ML method to update a tree
senator [Mon, 18 Apr 2011 17:53:13 +0000 (13:53 -0400)]
Working ML method to update a tree

13 years agoTerminology change, more consitent with existing crad editor
senator [Mon, 18 Apr 2011 15:20:28 +0000 (11:20 -0400)]
Terminology change, more consitent with existing crad editor

13 years agomake the "Your Expression" preview more accurate by
senator [Mon, 18 Apr 2011 15:15:20 +0000 (11:15 -0400)]
make the "Your Expression" preview more accurate by

showing "NOT (a OR b OR c)" instead of "(a NOR b NOR c)".

This really only matters in the case of a single clause inside the
negated expression:

Now such a thing shows up as "NOT (a)" versus "(a)"

13 years agoAdmin -> Server Administration -> Import Match Sets
senator [Fri, 15 Apr 2011 22:01:22 +0000 (18:01 -0400)]
Admin -> Server Administration -> Import Match Sets

That's where you'll find the interface for the match set expression
editor in the staff client.

13 years agomove parts to conify namespace
senator [Fri, 15 Apr 2011 21:56:07 +0000 (17:56 -0400)]
move parts to conify namespace

13 years agoUI perfection. it previews. it saves...
senator [Fri, 15 Apr 2011 21:49:12 +0000 (17:49 -0400)]
UI perfection. it previews. it saves...

(or if it would if the ML method were done, but it will be easy now)

I just need to move things to the conify path and add staff client menu
entries

13 years agoMatch Set Tree editor improvements/cleanup
senator [Fri, 15 Apr 2011 18:28:16 +0000 (14:28 -0400)]
Match Set Tree editor improvements/cleanup

You can now replace the root node of the tree with anything,

and the children will be automatically deleted.  This makes it easier to
create a single-node tree with no operators, if the user should so
desire.

comment cleanup, etc

13 years agomake sure user can only add reasonbly valid match points to the tree
senator [Fri, 15 Apr 2011 16:28:47 +0000 (12:28 -0400)]
make sure user can only add reasonbly valid match points to the tree

13 years ago1) implemented working replace mode 2) autocreate new tree on launch if needed
senator [Fri, 15 Apr 2011 16:02:07 +0000 (12:02 -0400)]
1) implemented working replace mode 2) autocreate new tree on launch if needed

13 years agolots of things here, but nearly last big UI todo is...
senator [Thu, 14 Apr 2011 22:14:32 +0000 (18:14 -0400)]
lots of things here, but nearly last big UI todo is...

to implement openils.vandelay.TreeDndSource._is_replaceable() and then
make the changes to itemCreator

13 years agoAbility to delete nodes from working tree. Show metadata about match_set.
senator [Thu, 14 Apr 2011 15:45:43 +0000 (11:45 -0400)]
Ability to delete nodes from working tree. Show metadata about match_set.

13 years agoAdd an autogrid-based interface for CRUD ops on vms objects, with links to the tree...
senator [Wed, 13 Apr 2011 22:04:10 +0000 (18:04 -0400)]
Add an autogrid-based interface for CRUD ops on vms objects, with links to the tree editor

13 years agoCorrected merge from trunk
Mike Rylander [Tue, 12 Apr 2011 17:41:19 +0000 (13:41 -0400)]
Corrected merge from trunk

13 years agoInitial vmsp tree editor
Lebbeous Fogle-Weekley [Fri, 8 Apr 2011 21:48:57 +0000 (17:48 -0400)]
Initial vmsp tree editor

__ notes __

now we can retrieve a tree from the server and use it as the basis of
our dijit.Tree widget. Still work to be done. Can't save anything yet.

Note to self: borrow dojo dnd's "copy" operation (as opposed to move) to
mean replacing a node in the tree, rather than adding to the tree.

Re the permissions I changed, actual users of Evergreen hate having as
much granularity as there was before, and it just confuses people trying
to figure out what perms to give to whom.

Note to self 2: add ADMIN_IMPORT_MATCH_SET to ppl

Usability

1) the tree editor will only let bool_op nodes have children

2) you can't put the unset "dummy" node from the leftside onto the tree

incidentally, gave fm objects a toString method that identifies their
classname hint, as an aid to debugging in general

13 years agoStructure match set points as a tree
Mike Rylander [Thu, 24 Mar 2011 19:37:00 +0000 (15:37 -0400)]
Structure match set points as a tree

13 years agoProtect bib matching from 901$c which has no corresponding incumbent record; also...
Mike Rylander [Mon, 14 Mar 2011 18:47:55 +0000 (14:47 -0400)]
Protect bib matching from 901$c which has no corresponding incumbent record; also, boost the quality of an exact match

13 years agoSQL schema cleanup
Mike Rylander [Mon, 14 Mar 2011 16:08:58 +0000 (12:08 -0400)]
SQL schema cleanup

13 years agoAdd table and columns for tracking current import/overlay errors per object
Mike Rylander [Mon, 14 Mar 2011 15:43:24 +0000 (11:43 -0400)]
Add table and columns for tracking current import/overlay errors per object

13 years agoMostly, new function(s) for bib matching based on SVF and tag+subfield; also, goodly...
Mike Rylander [Fri, 11 Mar 2011 21:05:07 +0000 (16:05 -0500)]
Mostly, new function(s) for bib matching based on SVF and tag+subfield; also, goodly amounts of moving things around

13 years agoTeach fieldmapper about the new vandelay classes
Mike Rylander [Fri, 11 Mar 2011 15:12:13 +0000 (10:12 -0500)]
Teach fieldmapper about the new vandelay classes

13 years agomoving functions around; tables for configuring match points and quality metrics
Mike Rylander [Thu, 10 Mar 2011 21:35:44 +0000 (16:35 -0500)]
moving functions around; tables for configuring match points and quality metrics

13 years agoDelete protection - Ensure you can touch group
Thomas Berezansky [Thu, 16 Jun 2011 21:03:36 +0000 (17:03 -0400)]
Delete protection - Ensure you can touch group

Same protection editing a user seems to get:
If you don't have the right group_application.user perm, reject

Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
13 years agoCan't use 0 in true/false, use defined instead
Thomas Berezansky [Tue, 5 Jul 2011 21:13:05 +0000 (17:13 -0400)]
Can't use 0 in true/false, use defined instead

This allows for setting renewals/grace period to 0 by force

Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
13 years agoFix checkout on alternate patron barcode
Thomas Berezansky [Sat, 2 Jul 2011 22:50:27 +0000 (18:50 -0400)]
Fix checkout on alternate patron barcode

Specifically, when a non-primary patron barcode is used.
Such as via SIP2.

NOTE: This does not change the behavior of inactive cards, nor
will stock Evergreen usage produce a situation where this fix
comes into play. --miker

Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
13 years agoLP805971: Specify UTF8 encoding in password reset templates
Dan Scott [Tue, 5 Jul 2011 15:08:31 +0000 (11:08 -0400)]
LP805971: Specify UTF8 encoding in password reset templates

As reported by Liam Whalen in Launchpad bug 805971: "The file
/openils/var/template/password-reset/reset-form.tt2 does not display
utf-8 characters.  I modified it to include '<meta
http-equiv="Content-Type" content="text/html; charset=UTF-8" />' inside
the <head> tag, and the fr-CA version of the page now displays
correctly."

I duplicated the problem in Firefox 5 and confirmed that the addition of
the META tag corrects the problem.

Signed-off-by: Dan Scott <dscott@laurentian.ca>
13 years agoNormalize facet values
Mike Rylander [Fri, 1 Jul 2011 15:50:25 +0000 (11:50 -0400)]
Normalize facet values

Spotted by Lebbeous Fogle-Weekley, facet values were not being normalized.  This is due to changes in how facets are stored in 2.1+.  This alternate implementation mirrors the way search_field index definitions work, which is a bit cleaner than inserting normalization into the field extraction process.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
13 years agoStampping upgrade for authorsort fix from Lebbeous
Mike Rylander [Fri, 1 Jul 2011 15:20:44 +0000 (11:20 -0400)]
Stampping upgrade for authorsort fix from Lebbeous

Signed-off-by: Mike Rylander <mrylander@gmail.com>
13 years agoFix the SVF authorsort field (metabib.record_attr->'authorsort')
Lebbeous Fogle-Weekley [Thu, 30 Jun 2011 19:14:36 +0000 (15:14 -0400)]
Fix the SVF authorsort field (metabib.record_attr->'authorsort')

It's important not to include things like $0 that we wouldn't want in
there.

Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
13 years agoUse open-ils.circ.checkout.full in SIP2.
Jason Stephenson [Wed, 29 Jun 2011 15:34:29 +0000 (11:34 -0400)]
Use open-ils.circ.checkout.full in SIP2.

Change the SIP2 checkout code to use a single call to open-ils.
circ.checkout.full instead of doing the whole checkout.permit
checkout dance.

Further simplify the checkout logic in O::SIP::Transaction::Checkout.

Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
Signed-off-by: Bill Erickson <berick@esilibrary.com>
13 years agowhen using params.data keys as print macros, render bare numbers correctly, and treat...
Jason Etheridge [Tue, 14 Jun 2011 18:50:33 +0000 (14:50 -0400)]
when using params.data keys as print macros, render bare numbers correctly, and treat nulls as empty strings

Signed-off-by: Jason Etheridge <jason@esilibrary.com>
Signed-off-by: Bill Erickson <berick@esilibrary.com>
13 years agoadd Print button and associated template for Holdings Maintenance
Jason Etheridge [Mon, 13 Jun 2011 19:51:18 +0000 (15:51 -0400)]
add Print button and associated template for Holdings Maintenance
wire up List Actions for Holdings Maintenance
  * give List Actions support for nested rows in trees
  * give util.list.print support for nested rows in trees
  * we can leverage bib_brief_overlay to populate params.data for printing instead of fleshing out DOM

Signed-off-by: Jason Etheridge <jason@esilibrary.com>
Signed-off-by: Bill Erickson <berick@esilibrary.com>
13 years agoHold Notes column
Jason Etheridge [Thu, 9 Jun 2011 21:27:21 +0000 (17:27 -0400)]
Hold Notes column

New column in holds list UIs that allows staff to see at a glance the
(initial) text content of attached hold notes.  In some cases, this
helps avoid the need to open the dedicated notes UI.

Signed-off-by: Jason Etheridge <jason@esilibrary.com>
Signed-off-by: Bill Erickson <berick@esilibrary.com>
13 years agoStaff UI for batch holds on items.
Jason Etheridge [Wed, 29 Jun 2011 16:12:31 +0000 (12:12 -0400)]
Staff UI for batch holds on items.

"Request Item" action in Holdings Maintenance, Item Status, and Copy
Buckets is the entry-point.  Works on selected items in the first two
interfaces and all items in the bucket for the latter.  UI allows you
to place Copy type, Recall type, or Force type holds.  It reports the #
of successes and breaks down the failures by failure event.  You can
retry failures (optionally changing some of the request parameters
like Pickup Library) or "override" them.  Clicking the hyperlink for
a set of failures will show the items involved in a new Item Status tab.

More technical blurbs from squashed commits:

  * "open-ils.circ.holds.test_and_create.batch" Takes an argument hash and a list of targets.  All the holds created will be identical except for the targets.
  * retrieve and display Recall and Force holds like Copy holds
  * give the Item Status UI an inefficient way to handle being passed copy id's (via xulG) in addition to barcodes
  * wire-up item hold request ui
  * place hold UI

Signed-off-by: Jason Etheridge <jason@esilibrary.com>
Signed-off-by: Bill Erickson <berick@esilibrary.com>
13 years agoCorrect copy-paste-o spotted by Dan Scott
Mike Rylander [Tue, 28 Jun 2011 19:18:55 +0000 (15:18 -0400)]
Correct copy-paste-o spotted by Dan Scott

Signed-off-by: Mike Rylander <mrylander@gmail.com>
13 years agoMichael Peters provided a patch to add some missing labels...
Lebbeous Fogle-Weekley [Tue, 28 Jun 2011 16:00:18 +0000 (12:00 -0400)]
Michael Peters provided a patch to add some missing labels...

... to a key acquisitions interface.  It works.  Also fixed
some unclosed tags while I was at it.

Wasn't sure whether to copy and paste Michael's sign-off or what, but
here's the link to his original patch for purists:
https://launchpadlibrarian.net/74191964/0001-LP802578-Acquisitions-Batch-copy-update-missing-head.patch

Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
13 years agoFix broken images for items without ISBNs in search results
Dan Scott [Fri, 24 Jun 2011 14:44:43 +0000 (10:44 -0400)]
Fix broken images for items without ISBNs in search results

The search results code happily sets the src attribute of the cover
image to an empty string (as returned by cleanISBN()) if currentISBN has
not been defined (which is generally the case if an item doesn't have an
ISBN, such as a DVD or a thesis or an old book).

Protect against the empty string and set the src attribute to
'/opac/images/blank.png' to avoid broken image indicators in search
results.

Signed-off-by: Dan Scott <dscott@laurentian.ca>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
13 years agoMerge branch 'master' of git.evergreen-ils.org:Evergreen
Mike Rylander [Tue, 28 Jun 2011 14:57:42 +0000 (10:57 -0400)]
Merge branch 'master' of git.evergreen-ils.org:Evergreen

13 years agoAdd a method to generate a URI from extracted or supplied parts (both class and objec...
Mike Rylander [Tue, 28 Jun 2011 14:57:35 +0000 (10:57 -0400)]
Add a method to generate a URI from extracted or supplied parts (both class and object method)

Signed-off-by: Mike Rylander <mrylander@gmail.com>
13 years agobatch menus for Volume Edit
Jason Etheridge [Thu, 16 Jun 2011 16:23:09 +0000 (12:23 -0400)]
batch menus for Volume Edit
refactoring menu generators for CN classes and affixes
description of Auto-Merge checkbox in Volume Edit

Signed-off-by: Jason Etheridge <jason@esilibrary.com>
Signed-off-by: Bill Erickson <berick@esilibrary.com>
13 years agoSaner behavior for Actions for Selected Holds -> Transfer to Marked Title
Jason Etheridge [Mon, 27 Jun 2011 18:41:52 +0000 (14:41 -0400)]
Saner behavior for Actions for Selected Holds -> Transfer to Marked Title

* Transfer the actual selected title holds, rather than all title holds for
the bibs referenced by those selected.
* middle layer method for changing the target and resetting specified holds
* label change for clarity, Transfer All Title Holds

Signed-off-by: Jason Etheridge <jason@esilibrary.com>
Signed-off-by: Bill Erickson <berick@esilibrary.com>
13 years agoCleanup of missed commit from the original topic branch
Mike Rylander [Mon, 27 Jun 2011 23:04:43 +0000 (19:04 -0400)]
Cleanup of missed commit from the original topic branch

Signed-off-by: Mike Rylander <mrylander@gmail.com>
13 years agoPinning upgrade script for copy visibility speed boost
Mike Rylander [Mon, 27 Jun 2011 22:47:14 +0000 (18:47 -0400)]
Pinning upgrade script for copy visibility speed boost

Signed-off-by: Mike Rylander <mrylander@gmail.com>
13 years agoUnwrapped upgrade script
Thomas Berezansky [Tue, 21 Jun 2011 14:24:58 +0000 (10:24 -0400)]
Unwrapped upgrade script

Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
13 years agoAttempt to speed up cache visbility trigger
Thomas Berezansky [Tue, 21 Jun 2011 14:24:25 +0000 (10:24 -0400)]
Attempt to speed up cache visbility trigger

With the old version merges were timing out.

Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
13 years agoConfiguration interface for config.metabib_field table
Bill Erickson [Mon, 27 Jun 2011 20:11:19 +0000 (16:11 -0400)]
Configuration interface for config.metabib_field table

This interface enables admins to create and modify the entries used for
defining indexes, faceting, and eventually display.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Dan Scott <dscott@laurentian.ca>
13 years agoUpgrade stamping for "overdues fines on lost checkin" merge
Mike Rylander [Mon, 27 Jun 2011 17:57:59 +0000 (13:57 -0400)]
Upgrade stamping for "overdues fines on lost checkin" merge

Signed-off-by: Mike Rylander <mrylander@gmail.com>
13 years agoUnstamped upgrade script for circ.lost.generate_overdue_on_checkin seed data
Bill Erickson [Mon, 27 Jun 2011 17:20:52 +0000 (13:20 -0400)]
Unstamped upgrade script for circ.lost.generate_overdue_on_checkin seed data

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
13 years agoOption to generate lacking overdues on lost checkin
Bill Erickson [Fri, 24 Jun 2011 15:27:26 +0000 (11:27 -0400)]
Option to generate lacking overdues on lost checkin

New org unit setting "circ.lost.generate_overdue_on_checkin".

This org unit setting enables retroactive overdue fine generation for
lost item checkin.  When enabled, the system will generate overdue fines
starting from the date of the last created overdue fine for the
circulation and working its way up to the checkin time or stopping at
the max fine amount (consistent with regular overdue fine generation).

This differs from the existing org unit setting
"circ.restore_overdue_on_lost_return", which only un-voids existing
overdue fines.

Consider an item whose due date is the 1st, that gets marked lost on the
7th, then checked in on the 14th.  If set,
"circ.restore_overdue_on_lost_return" would un-void the fines created up
to the 7th and "circ.lost.generate_overdue_on_checkin" would create new
overdue fines from the 7th up to the 14th (or up to the max fine
amount).

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
13 years agowith scan missing pieces, retarget affected holds prior to recirculating to previous...
Jason Etheridge [Fri, 24 Jun 2011 19:40:32 +0000 (15:40 -0400)]
with scan missing pieces, retarget affected holds prior to recirculating to previous patron, lest the checkout reset the holds for us without retargeting

Signed-off-by: Jason Etheridge <jason@esilibrary.com>
Signed-off-by: Bill Erickson <berick@esilibrary.com>
13 years agoretarget title holds after transfering to a new bib
Jason Etheridge [Wed, 22 Jun 2011 18:04:40 +0000 (14:04 -0400)]
retarget title holds after transfering to a new bib

Signed-off-by: Jason Etheridge <jason@esilibrary.com>
Signed-off-by: Bill Erickson <berick@esilibrary.com>
13 years agoInclude Apache configuration instructions in README
Dan Scott [Sun, 26 Jun 2011 03:47:55 +0000 (23:47 -0400)]
Include Apache configuration instructions in README

Borrowing heavily from the wiki for these instructions, this helps round
out the README. Still more to do.

Signed-off-by: Dan Scott <dan@coffeecode.net>
13 years agoShow human label for Internet Access Level in Patron Search
Dan Scott [Fri, 24 Jun 2011 23:29:30 +0000 (19:29 -0400)]
Show human label for Internet Access Level in Patron Search

Looks like fm_columns uses a prefix of "au_" for the column name defined
in util.js. Therefore, au_net_access_level lets us define the label to
display in place of the integer value.

Signed-off-by: Dan Scott <dan@coffeecode.net>
13 years agoSpecify the display field for linked objects with fm_columns
Jason Etheridge [Tue, 31 May 2011 19:46:50 +0000 (15:46 -0400)]
Specify the display field for linked objects with fm_columns

If a display field isn't specified, it defaults to the key field,
which is essentially the same as not fleshing the object in the first
place.  Let me know if fieldmapper has or gains a way of specifying
such "display" fields, and we can augment fm_columns to use it as well.

Signed-off-by: Jason Etheridge <jason@esilibrary.com>
Signed-off-by: Dan Scott <dan@coffeecode.net>
13 years agoLet fm_columns use cached data.hash objects for linked fields
Jason Etheridge [Tue, 31 May 2011 19:45:25 +0000 (15:45 -0400)]
Let fm_columns use cached data.hash objects for linked fields

Signed-off-by: Jason Etheridge <jason@esilibrary.com>
Signed-off-by: Dan Scott <dan@coffeecode.net>
13 years agoSupport Fedora 15 as a target in Makefile.install
Dan Scott [Fri, 24 Jun 2011 15:35:10 +0000 (11:35 -0400)]
Support Fedora 15 as a target in Makefile.install

Add Fedora 15 to the Makefile.install as a simple clone of the Fedora 14
target for now. Correct Makefile.install target names in README, and
point out that nothing special is required for Fedora 15 for PostgreSQL
9 support.

While we're in the README, rip out the Dojo toolkit install info as
packaged releases include Dojo now (we retain the developer instructions
for installing Dojo manually for git users, of course).

Signed-off-by: Dan Scott <dscott@laurentian.ca>
13 years agoAdd checkout override to SIP2 checkout & renew.
Jason Stephenson [Mon, 20 Jun 2011 18:07:54 +0000 (14:07 -0400)]
Add checkout override to SIP2 checkout & renew.

OpenILS::SIP::Transaction::Checkout was modified to allow for
the override of certain, configurable events much in the same
way that checkin currently does overrides.

Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
Signed-off-by: Bill Erickson <berick@esilibrary.com>
13 years agoRespect DESTDIR during the build process
Ben Webb [Mon, 13 Jun 2011 12:31:53 +0000 (13:31 +0100)]
Respect DESTDIR during the build process

Add $(DESTDIR) to paths it is currently missing from
Manually specify the apxs2 install location so that DESTDIR can be prepended
Attempt to create the apache directory if it does not exist

Signed-off-by: Ben Webb <bjwebb67@googlemail.com>
Signed-off-by: Dan Scott <dan@coffeecode.net>
13 years agoStamped DB upgrade script for for XMLAGG cleanup
Bill Erickson [Fri, 24 Jun 2011 15:34:05 +0000 (11:34 -0400)]
Stamped DB upgrade script for for XMLAGG cleanup

Signed-off-by: Bill Erickson <berick@esilibrary.com>
13 years agoUpgrade script for the XMLAGG cleanup
Mike Rylander [Fri, 24 Jun 2011 15:15:49 +0000 (11:15 -0400)]
Upgrade script for the XMLAGG cleanup

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Bill Erickson <berick@esilibrary.com>
13 years agoAddress LP#801129, in-db unAPI failure
Mike Rylander [Fri, 24 Jun 2011 14:42:15 +0000 (10:42 -0400)]
Address LP#801129, in-db unAPI failure

Cleanup of improper use of XMLAGG in the unAPI stored procs first identified by Bill Erickson in https://bugs.launchpad.net/bugs/801129

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Bill Erickson <berick@esilibrary.com>
13 years agoupgrade script for A/T event def: Hold Cancelled (No Target) Email Notification
Jason Etheridge [Fri, 24 Jun 2011 15:13:41 +0000 (11:13 -0400)]
upgrade script for A/T event def: Hold Cancelled (No Target) Email Notification

Signed-off-by: Jason Etheridge <jason@esilibrary.com>
13 years agocat.volume.delete_on_empty org setting. break up and wrap the upgrade script
Jason Etheridge [Fri, 24 Jun 2011 15:10:40 +0000 (11:10 -0400)]
cat.volume.delete_on_empty org setting.  break up and wrap the upgrade script

Signed-off-by: Jason Etheridge <jason@esilibrary.com>