fulfillment.git
2 years agoFF: enable configurable metarecord-first searching ff-on-eg-rel_2_7 origin/ff-on-eg-rel_2_7
Mike Rylander [Wed, 14 Dec 2016 21:47:47 +0000]
FF: enable configurable metarecord-first searching

Signed-off-by: Mike Rylander <mrylander@gmail.com>

2 years agoUpdate copyright statement to be correct for FulfILLment
Mike Rylander [Wed, 7 Dec 2016 15:39:15 +0000]
Update copyright statement to be correct for FulfILLment

Signed-off-by: Mike Rylander <mrylander@gmail.com>

3 years agoIII item caching settings
Mike Rylander [Mon, 9 May 2016 17:01:55 +0000]
III item caching settings

Signed-off-by: Mike Rylander <mrylander@gmail.com>

3 years agoff: bring back correct FF search code; unbreak search startup which requires an initi...
Mike Rylander [Thu, 17 Mar 2016 21:31:55 +0000]
ff: bring back correct FF search code; unbreak search startup which requires an initialize() sub

Signed-off-by: Mike Rylander <mrylander@gmail.com>

3 years agomore ff connector settings menu repairs
Bill Erickson [Fri, 30 May 2014 15:23:30 +0000]
more ff connector settings menu repairs

Signed-off-by: Bill Erickson <berick@esilibrary.com>

3 years agoConnector Settings Editor menu fixes
miker [Wed, 16 May 2012 15:54:34 +0000]
Connector Settings Editor menu fixes

git-svn-id: svn://fulfillment-ill.org/FulfILLment/trunk@386 c09e901b-359b-4c48-93b1-c7450cb1b5b7

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>

Conflicts:
Open-ILS/xul/staff_client/chrome/content/main/menu.js

3 years agoAdd menu entry for connector settings editor
miker [Wed, 16 May 2012 14:49:59 +0000]
Add menu entry for connector settings editor

git-svn-id: svn://fulfillment-ill.org/FulfILLment/trunk@385 c09e901b-359b-4c48-93b1-c7450cb1b5b7
Signed-off-by: Bill Erickson <berick@esilibrary.com>

3 years agoAdd support for an initial type_filter param to org_unit_settings.xhtml to load only...
miker [Wed, 16 May 2012 13:37:55 +0000]
Add support for an initial type_filter param to org_unit_settings.xhtml to load only the fulfillment settings

git-svn-id: svn://fulfillment-ill.org/FulfILLment/trunk@384 c09e901b-359b-4c48-93b1-c7450cb1b5b7

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>

Conflicts:
Open-ILS/xul/staff_client/chrome/content/main/menu.js

3 years agoRecover patron reg for staff : b313d53
Bill Erickson [Fri, 30 May 2014 15:00:30 +0000]
Recover patron reg for staff : b313d53

Signed-off-by: Bill Erickson <berick@esilibrary.com>

3 years agoFF Hold => ILL Request label updates (partial side-port 9faf9d1)
Bill Erickson [Fri, 30 May 2014 14:58:23 +0000]
FF Hold => ILL Request label updates (partial side-port 9faf9d1)

Signed-off-by: Bill Erickson <berick@esilibrary.com>

3 years agoSplash page FF logo updates continued
Bill Erickson [Fri, 30 May 2014 14:31:19 +0000]
Splash page FF logo updates continued

Signed-off-by: Bill Erickson <berick@esilibrary.com>

3 years agoUse the fulfillment logo
miker [Fri, 2 Mar 2012 03:16:14 +0000]
Use the fulfillment logo

git-svn-id: svn://fulfillment-ill.org/FulfILLment/trunk@279 c09e901b-359b-4c48-93b1-c7450cb1b5b7

Plus a few additions from the original.

Signed-off-by: Bill Erickson <berick@esilibrary.com>

3 years agoEvergreen -> FulfILLment cleanup
miker [Fri, 17 Feb 2012 16:00:55 +0000]
Evergreen -> FulfILLment cleanup

git-svn-id: svn://fulfillment-ill.org/FulfILLment/trunk@246 c09e901b-359b-4c48-93b1-c7450cb1b5b7
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>

Conflicts:
Open-ILS/xul/staff_client/chrome/content/util/network.js

3 years agoChop out visible vestiges of exiced features
Bill Erickson [Fri, 30 May 2014 13:42:22 +0000]
Chop out visible vestiges of exiced features

Side-port of db0e630 from legacy repo.

Hide a bunch of staff client menu entries that have no business being
accessed in the context of Fulfillment.

Signed-off-by: Bill Erickson <berick@esilibrary.com>

3 years agoff: recover ncip template lost in code migration
Bill Erickson [Thu, 6 Mar 2014 19:11:17 +0000]
ff: recover ncip template lost in code migration

Signed-off-by: Bill Erickson <berick@esilibrary.com>

3 years agoff: SQL mediated holds; bib import sql repairs
Bill Erickson [Thu, 6 Mar 2014 17:02:59 +0000]
ff: SQL mediated holds; bib import sql repairs

* Ensure the holds insertion where the mediated org setting is
  unset result in a frozen=FALSE value and not a frozen=NULL value.

* Repair SQL thinko in bib fast import proc, checking "!bool" vs
  "NOT bool", since ! isn't valid SQL.

Signed-off-by: Bill Erickson <berick@esilibrary.com>

3 years agoFF apache config updates
Bill Erickson [Thu, 13 Feb 2014 14:31:17 +0000]
FF apache config updates

Signed-off-by: Bill Erickson <berick@esilibrary.com>

3 years agoFF add ff to example opensrf.xml; disable some stuff
Bill Erickson [Wed, 12 Feb 2014 19:06:50 +0000]
FF add ff to example opensrf.xml; disable some stuff

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>

Conflicts:
Open-ILS/examples/opensrf.xml.example

3 years agoFF staff support display/toggle of holds suspend / activate
Bill Erickson [Tue, 11 Feb 2014 20:11:26 +0000]
FF staff support display/toggle of holds suspend / activate

Signed-off-by: Bill Erickson <berick@esilibrary.com>

3 years agoFF additional hold mediation SQL repairs
Bill Erickson [Tue, 11 Feb 2014 19:34:42 +0000]
FF additional hold mediation SQL repairs

oils_json_to_text() should not be used against boolean values.  They can
be cast directly to SQL BOOL's.

Signed-off-by: Bill Erickson <berick@esilibrary.com>

3 years agoFF mediated holds TPAC support
Bill Erickson [Tue, 11 Feb 2014 19:13:45 +0000]
FF mediated holds TPAC support

When using mediated holds (YAOUS ff.request.force_mediation is true),
disallow patron access to the hold suspend and activate functions.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>

Conflicts:
Open-ILS/src/templates/opac/myopac/holds/edit.tt2

3 years agohold mediation syntax repairs
Bill Erickson [Tue, 11 Feb 2014 18:40:50 +0000]
hold mediation syntax repairs

Signed-off-by: Bill Erickson <berick@esilibrary.com>

3 years agoAllow YAOUS to control ILL mediation
Mike Rylander [Tue, 28 Jan 2014 16:35:50 +0000]
Allow YAOUS to control ILL mediation

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Bill Erickson <berick@esilibrary.com>

3 years agoFF staff UI refers to Holds as ILL Requests
Bill Erickson [Mon, 10 Feb 2014 22:23:33 +0000]
FF staff UI refers to Holds as ILL Requests

Signed-off-by: Bill Erickson <berick@esilibrary.com>

3 years agoFF opac skinning; small logo needs work
Bill Erickson [Mon, 10 Feb 2014 21:49:10 +0000]
FF opac skinning; small logo needs work

Signed-off-by: Bill Erickson <berick@esilibrary.com>

3 years agoff: koha svc supports proto and port configs
Bill Erickson [Mon, 6 Jan 2014 19:11:01 +0000]
ff: koha svc supports proto and port configs

Signed-off-by: Bill Erickson <berick@esilibrary.com>

3 years agoFF field additions and repairs
Bill Erickson [Thu, 5 Dec 2013 14:46:15 +0000]
FF field additions and repairs

* repair checkout (mis-named patron_id field)
* add shelf expire time to on-shelf and item status display
* default to short date format

Signed-off-by: Bill Erickson <berick@esilibrary.com>

3 years agoff: fix user name display in item status page
Bill Erickson [Wed, 4 Dec 2013 18:22:54 +0000]
ff: fix user name display in item status page

Signed-off-by: Bill Erickson <berick@esilibrary.com>

3 years agoff / item status UI receive item repair
Bill Erickson [Mon, 25 Nov 2013 21:06:04 +0000]
ff / item status UI receive item repair

Signed-off-by: Bill Erickson <berick@esilibrary.com>

3 years agoff ui / ensure lookupcomplete is set even when no data is present
Bill Erickson [Wed, 6 Nov 2013 18:04:07 +0000]
ff ui / ensure lookupcomplete is set even when no data is present

Signed-off-by: Bill Erickson <berick@esilibrary.com>

3 years agoff ui / onshelf labels
Bill Erickson [Wed, 6 Nov 2013 15:58:37 +0000]
ff ui / onshelf labels

Signed-off-by: Bill Erickson <berick@esilibrary.com>

3 years agoff ui / column sorting and more
Bill Erickson [Wed, 6 Nov 2013 14:44:30 +0000]
ff ui / column sorting and more

Signed-off-by: Bill Erickson <berick@esilibrary.com>

3 years agoff ui / list columns in template
Bill Erickson [Tue, 5 Nov 2013 22:02:34 +0000]
ff ui / list columns in template

Signed-off-by: Bill Erickson <berick@esilibrary.com>

3 years agoff ui : move to all flattener; needs more testing
Bill Erickson [Tue, 5 Nov 2013 16:08:19 +0000]
ff ui : move to all flattener; needs more testing

Signed-off-by: Bill Erickson <berick@esilibrary.com>

3 years agoff ui : only show no-items message after initial query
Bill Erickson [Mon, 4 Nov 2013 21:37:57 +0000]
ff ui : only show no-items message after initial query

Signed-off-by: Bill Erickson <berick@esilibrary.com>

3 years agoff ui : fetch pending holds via flattener
Bill Erickson [Mon, 4 Nov 2013 21:32:30 +0000]
ff ui : fetch pending holds via flattener

Signed-off-by: Bill Erickson <berick@esilibrary.com>

3 years agoff ui : IDL rhrr pcrud controller
Bill Erickson [Mon, 4 Nov 2013 21:32:11 +0000]
ff ui : IDL rhrr pcrud controller

Signed-off-by: Bill Erickson <berick@esilibrary.com>

3 years agoff ui / more list repairs
Bill Erickson [Mon, 4 Nov 2013 19:34:55 +0000]
ff ui / more list repairs

Signed-off-by: Bill Erickson <berick@esilibrary.com>

3 years agoport list code to egList
Bill Erickson [Mon, 4 Nov 2013 19:12:24 +0000]
port list code to egList

Signed-off-by: Bill Erickson <berick@esilibrary.com>

3 years agoweb staff : list api cleanup
Bill Erickson [Mon, 4 Nov 2013 19:12:10 +0000]
web staff : list api cleanup

Signed-off-by: Bill Erickson <berick@esilibrary.com>

3 years agoff web / cleanup
Bill Erickson [Mon, 4 Nov 2013 18:49:49 +0000]
ff web / cleanup

Signed-off-by: Bill Erickson <berick@esilibrary.com>

3 years agoff ui / link to tpac; remove eg navbar
Bill Erickson [Mon, 4 Nov 2013 17:20:42 +0000]
ff ui / link to tpac; remove eg navbar

Signed-off-by: Bill Erickson <berick@esilibrary.com>

3 years agoff ui / css compensate for slightly wider banner image
Bill Erickson [Mon, 4 Nov 2013 16:08:17 +0000]
ff ui / css compensate for slightly wider banner image

Signed-off-by: Bill Erickson <berick@esilibrary.com>

3 years agoff ui / display more patron info
Bill Erickson [Mon, 4 Nov 2013 15:53:20 +0000]
ff ui / display more patron info

Signed-off-by: Bill Erickson <berick@esilibrary.com>

3 years agoff ui / style borrower/lender pills
Bill Erickson [Mon, 4 Nov 2013 15:44:49 +0000]
ff ui / style borrower/lender pills

Signed-off-by: Bill Erickson <berick@esilibrary.com>

3 years agoff ui / wording improvements and i18n; show circ patron info
Bill Erickson [Mon, 4 Nov 2013 15:27:04 +0000]
ff ui / wording improvements and i18n; show circ patron info

Signed-off-by: Bill Erickson <berick@esilibrary.com>

3 years agoff ui : updating to latest template layout; extracting css
Bill Erickson [Mon, 4 Nov 2013 15:02:20 +0000]
ff ui : updating to latest template layout; extracting css

Signed-off-by: Bill Erickson <berick@esilibrary.com>

Conflicts:
Open-ILS/src/templates/staff/t_base_js.tt2

3 years agoside-porting web staff base template
Bill Erickson [Mon, 4 Nov 2013 14:41:12 +0000]
side-porting web staff base template

Signed-off-by: Bill Erickson <berick@esilibrary.com>

3 years agoside-porting latest UI services code from web staff project
Bill Erickson [Mon, 4 Nov 2013 14:28:50 +0000]
side-porting latest UI services code from web staff project

Signed-off-by: Bill Erickson <berick@esilibrary.com>

3 years agoff ui : misc repairs
Bill Erickson [Tue, 29 Oct 2013 13:33:15 +0000]
ff ui : misc repairs

Signed-off-by: Bill Erickson <berick@esilibrary.com>

3 years agoff ui : on-shelf tab; push status tab right
Bill Erickson [Mon, 28 Oct 2013 21:26:03 +0000]
ff ui : on-shelf tab; push status tab right

Signed-off-by: Bill Erickson <berick@esilibrary.com>

3 years agoff ui : template i18n; cleanup
Bill Erickson [Mon, 28 Oct 2013 20:59:02 +0000]
ff ui : template i18n; cleanup

Signed-off-by: Bill Erickson <berick@esilibrary.com>

3 years agoff ui : code formatting improvements
Bill Erickson [Mon, 28 Oct 2013 20:33:10 +0000]
ff ui : code formatting improvements

Signed-off-by: Bill Erickson <berick@esilibrary.com>

3 years agoff and ui : fulfillment_admin perm; paging improvements
Bill Erickson [Mon, 28 Oct 2013 19:57:52 +0000]
ff and ui : fulfillment_admin perm; paging improvements

Signed-off-by: Bill Erickson <berick@esilibrary.com>

3 years agoff ui : orientation as url component
Bill Erickson [Mon, 28 Oct 2013 18:11:39 +0000]
ff ui : orientation as url component

maintain our lender vs borrower filter orientation within the url so
that browser-back returns the user to the correct list of items.  it
also helps simplify the code.

Signed-off-by: Bill Erickson <berick@esilibrary.com>

3 years agoff ui : repair some action click handlers
Bill Erickson [Mon, 28 Oct 2013 17:40:22 +0000]
ff ui : repair some action click handlers

Signed-off-by: Bill Erickson <berick@esilibrary.com>

3 years agoff : better default sip name extraction (confirmed w/ koha)
Bill Erickson [Mon, 28 Oct 2013 17:15:57 +0000]
ff : better default sip name extraction (confirmed w/ koha)

Signed-off-by: Bill Erickson <berick@esilibrary.com>

3 years agoff : TPAC FF login
Bill Erickson [Mon, 28 Oct 2013 16:06:44 +0000]
ff : TPAC FF login

Signed-off-by: Bill Erickson <berick@esilibrary.com>

3 years agoff : tpac auth porting, part 1
Bill Erickson [Mon, 28 Oct 2013 14:13:08 +0000]
ff : tpac auth porting, part 1

Signed-off-by: Bill Erickson <berick@esilibrary.com>

3 years agoff staff web : generate org selector by perms
Bill Erickson [Mon, 28 Oct 2013 13:11:40 +0000]
ff staff web : generate org selector by perms

Signed-off-by: Bill Erickson <berick@esilibrary.com>

3 years agoweb staff : added egUser.hasPermAt()
Bill Erickson [Sun, 27 Oct 2013 14:04:09 +0000]
web staff : added egUser.hasPermAt()

Signed-off-by: Bill Erickson <berick@esilibrary.com>

3 years agoff : ui log repair for circulating items
Bill Erickson [Sat, 26 Oct 2013 22:26:50 +0000]
ff : ui log repair for circulating items

Signed-off-by: Bill Erickson <berick@esilibrary.com>

3 years agoff : staff UI record upload result msg
Bill Erickson [Sat, 26 Oct 2013 22:22:52 +0000]
ff : staff UI record upload result msg

Signed-off-by: Bill Erickson <berick@esilibrary.com>

3 years agoff : copy-level remote_id field not currently present
Bill Erickson [Sat, 26 Oct 2013 22:22:34 +0000]
ff : copy-level remote_id field not currently present

Signed-off-by: Bill Erickson <berick@esilibrary.com>

3 years agoff : initial bib upload form
Bill Erickson [Fri, 25 Oct 2013 21:49:39 +0000]
ff : initial bib upload form

Signed-off-by: Bill Erickson <berick@esilibrary.com>

3 years agoff : staff web UI repairs
Bill Erickson [Fri, 25 Oct 2013 20:23:03 +0000]
ff : staff web UI repairs

Signed-off-by: Bill Erickson <berick@esilibrary.com>

3 years agoff : connector sanity check org id
Bill Erickson [Fri, 25 Oct 2013 20:22:15 +0000]
ff : connector sanity check org id

Signed-off-by: Bill Erickson <berick@esilibrary.com>

3 years agoff : banner images
Bill Erickson [Fri, 25 Oct 2013 19:31:37 +0000]
ff : banner images

Signed-off-by: Bill Erickson <berick@esilibrary.com>

3 years agoff/angular UI initial import
Bill Erickson [Fri, 25 Oct 2013 14:23:16 +0000]
ff/angular UI initial import

Signed-off-by: Bill Erickson <berick@esilibrary.com>

3 years agoff : pulling connector mods from ff master
Bill Erickson [Fri, 25 Oct 2013 18:53:33 +0000]
ff : pulling connector mods from ff master

Signed-off-by: Bill Erickson <berick@esilibrary.com>

3 years agoff : default hold boundary
Bill Erickson [Fri, 25 Oct 2013 18:51:01 +0000]
ff : default hold boundary

Signed-off-by: Bill Erickson <berick@esilibrary.com>

3 years agoff : initial EG perl diffs import
Bill Erickson [Fri, 25 Oct 2013 18:24:49 +0000]
ff : initial EG perl diffs import

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>

Conflicts:
Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/action.pm

3 years agoff : IDL changes
Bill Erickson [Fri, 25 Oct 2013 17:29:14 +0000]
ff : IDL changes

Signed-off-by: Bill Erickson <berick@esilibrary.com>

3 years agoff : sql mods file repairs
Bill Erickson [Fri, 25 Oct 2013 16:18:35 +0000]
ff : sql mods file repairs

Signed-off-by: Bill Erickson <berick@esilibrary.com>

3 years agoFF : initial SQL mods file; needs testing
Bill Erickson [Fri, 25 Oct 2013 15:47:25 +0000]
FF : initial SQL mods file; needs testing

Signed-off-by: Bill Erickson <berick@esilibrary.com>

3 years agoMake FF a child of Evergreen; experiment
Bill Erickson [Fri, 30 Aug 2013 20:21:05 +0000]
Make FF a child of Evergreen; experiment

Signed-off-by: Bill Erickson <berick@esilibrary.com>

3 years agoLP#1092018: Make the reports UI use UTF-8.
Pasi Kallinen [Thu, 4 Jul 2013 05:33:25 +0000]
LP#1092018: Make the reports UI use UTF-8.

To test:

[1] Install the translation for a language that uses
    non-Latin-1 characters, such as Russian.
[2] Start the XUL staff client and open the reports
    interface.  Note that labels are mangled.
[3] Apply the Apache configuration changes in this patch,
    reload Apache, clear cache in the staff client, and
    reload the reports UI. The labels should now be
    displayed correctly.

Signed-off-by: Pasi Kallinen <pasi.kallinen@pttk.fi>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>

3 years agoLP#1503782: fix horizontal scrollbar in MARC import queue inspector
Galen Charlton [Wed, 7 Oct 2015 17:49:19 +0000]
LP#1503782: fix horizontal scrollbar in MARC import queue inspector

In the XUL client (and webstaff), attempting to view the contents
of a MARC record import queue displays a table that, due to
its width, will almost always have a horizontal scrollbar. However,
attempting to actually use the scrollbar often causes the
focus to jump to the top of the table instead.  This patch
fixes that.

To test:

[1] Create a bib queue that has at least a dozen records or so.
[2] Inspect the contents of the queue, scroll to the bottom of
    the table, and interact with the horizontal scrollbar.
[3] Observe that doing so typically results in jumping up
    to the top of the table.
[4] Apply the patch, clear cache and refresh, and try step #2
    again.
[5] This time, the horizontal scrollbar should act normally.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Ben Shum <bshum@biblio.org>

3 years agoLP#1406786: fix remapping copies during parts merge
Galen Charlton [Thu, 29 Oct 2015 19:30:31 +0000]
LP#1406786: fix remapping copies during parts merge

This patch fixes an issue with how copies are mapped
on the target part when using "Merge Selected" in the
Monograph Parts interface.

To test:

[1] Create some monograph parts on a record and assign
    some copies to use them.
[2] Use the merge parts function to collapse all of the
    parts created in step 1 onto a single part.
[3] Verify that the copies whose original parts were removed
    are now mapped onto the part that was the target of the
    merge.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Dan Wells <dbw2@calvin.edu>

3 years agoLP#1509479: set a limit on loops in QP's decompose() method
Galen Charlton [Fri, 23 Oct 2015 20:03:07 +0000]
LP#1509479: set a limit on loops in QP's decompose() method

Following a suggestion of Dan Scott's, add a pair of
suspenders to the belt and enforce an arbitrary limit
of 1000 passes through QP->decompse().

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Dan Scott <dscott@laurentian.ca>

3 years agoLP#1509479: fix infinite loop bug in QueryParser
Galen Charlton [Fri, 23 Oct 2015 19:23:05 +0000]
LP#1509479: fix infinite loop bug in QueryParser

An unclosed phrase search that has a modifier can cause QueryParser to
enter an infinite loop, tying up open-ils.storage backends.

Examples of such searches include:

  -"cats and dogs
  subject:+"physical chemistry

This patch fixes the bug by allowing the end of the query string
to terminate a phrase (in addition to a quotation mark).

To test:

[1] Verify that the t/21-QueryParser.t unit test passes
[2] To test in a *development* database, before applying the patch
    run one of the example queries.  Observe that no
    results are returned, and that one of the open-ils.storage
    drones is running at 100% CPU.
[3] Apply the patch and restart the open-ils.storage service.
[4] Try the query again; this time, it should return results
    immediately without causing an open-ils.storage drone to
    peg a CPU.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Dan Scott <dscott@laurentian.ca>

3 years agoLP 1502156: Fix marc_export error when dumping authorities.
Jason Stephenson [Fri, 2 Oct 2015 14:17:09 +0000]
LP 1502156: Fix marc_export error when dumping authorities.

There is a chance that marc_export will attempt to call a nonexistent
field on MARC::Record if an error occurs while exporting authority
records.  The bug could only be triggered if a conversion error
occurred while exporting the authority as either MARCXML or USMARC.

The fix is to rename a couple of variables in the Marque::Authority->next
method to be more like those used in Marque::Biblio->next.  This will have
the side effect of making marc_export easier to maintain, since the
variables used in one method will now have the same meaning as those
in the other.

Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>

3 years agoLP#1496837: Postgres fixed a bug and broke our test
Mike Rylander [Thu, 17 Sep 2015 12:24:56 +0000]
LP#1496837: Postgres fixed a bug and broke our test

So, we will unbreak it here.  The PG fix in question can be seen here:

http://git.postgresql.org/gitweb/?p=postgresql.git;a=commitdiff;h=c975fa4713c2325623d7bbfd81806327234281ac

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Dan Wells <dbw2@calvin.edu>

3 years agoDocs: Change references to release 2.7.8
Ben Shum [Wed, 16 Sep 2015 17:38:43 +0000]
Docs: Change references to release 2.7.8

Since 2.7.8 is released, change references in upgrade docs to this newest
release.

Signed-off-by: Ben Shum <bshum@biblio.org>

3 years agoForward-port 2.7.7-2.7.8 upgrade script
Ben Shum [Wed, 16 Sep 2015 18:20:40 +0000]
Forward-port 2.7.7-2.7.8 upgrade script

Signed-off-by: Ben Shum <bshum@biblio.org>

3 years agoLP#1361266 Patron self-registration form accepts date of birth in wrong format
Michael Peters [Thu, 4 Dec 2014 20:56:53 +0000]
LP#1361266 Patron self-registration form accepts date of birth in wrong format

This patch applys some basic javascript to validate that a date entered is
at least in ISO 8601 format.  This prevents someone from entering "cupcake"
or 55/66/6666 as a valid date of birth by validating the stgu.dob input
at the time of submission.

Signed-off-by: Michael Peters <mpeters@emeralddata.net>
Signed-off-by: Josh Stompro <stomproj@larl.org>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>

3 years agoLP#1465847 Empty patron search exits early
Bill Erickson [Mon, 22 Jun 2015 16:01:19 +0000]
LP#1465847 Empty patron search exits early

If no search parameters or invalid search parameters are sent to the
patron search API, the API call exits early with zero results.  This
avoids cases where empty searches can lead to heavy DB calls, querying
and sorting he entire patron data set.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>

3 years agoLP#1491962 Fix 0847 Live Test
Jason Stephenson [Thu, 3 Sep 2015 17:48:20 +0000]
LP#1491962 Fix 0847 Live Test

The fix for LP 1484281 broke the 0847.auth_overlay_generator.pg live
test.  Since e was removed from the controlled subfield list for the
100 authority tag, it needs to be removed from the expected live test
results.

This commit does that.

Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
Signed-off-by: Dan Wells <dbw2@calvin.edu>

3 years agoLP#1484281: Stamping Upgrade Script.
Jason Stephenson [Wed, 2 Sep 2015 16:00:15 +0000]
LP#1484281: Stamping Upgrade Script.

Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>

3 years agoLP# 1484281 auth control config update release notes
Yamil Suarez [Wed, 2 Sep 2015 15:20:23 +0000]
LP# 1484281 auth control config update release notes

Signed-off-by: Yamil Suarez <yamil@yamil.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>

3 years agoLP# 1484281 auth control config update to prevent propagated data deletion
Yamil Suarez [Mon, 17 Aug 2015 20:47:34 +0000]
LP# 1484281 auth control config update to prevent propagated data deletion

Remove subfield 'e' from authority.control_set_authority_field seed values

Removed from the auth tag 100 and 110, which should apply to bib tags
100,110,600,610,700,710

Added upgrade script, and pgTAP test.

How to test this patch
----------------------
[1] To test this bug you need 1 authority record and at least 1 bib record.
The auth record needs to have an auth 100 or 110 tag that has a subfield $e,
for example 100 $aDavis, Miles $ecomposer. (for the record, it is not good
cataloging practice to have $e in the auth record, but it can happen by mistake.)
The bib record needs to be have a matching bib 100 or 700 tag with the same
subfield $a and $e. In addition the matching bib tag has to be linked to the
authority record, i.e. the bib tag has to have a bib subfield $0 with the DB
id of the authority record.

[2] If you open up the authority record, in the authority MARC editor, and remove
the subfield $e; the subfield $e found in the bib record tag will be removed.
This is a mistake because normally bib record tags 100/110/700/710 do use subfield
$e, though the subfield $e should not be used in the auth record 100/110 tags.

[3] When this patch is applied, if a cataloger removes a subfield $e from an auth
100/110 tag, the deletion will not cascade to its linked bibs.

Signed-off-by: Yamil Suarez <yamil@yamil.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>

3 years agoForward-port 2.7.6-2.7.7 upgrade script
Ben Shum [Wed, 19 Aug 2015 21:29:40 +0000]
Forward-port 2.7.6-2.7.7 upgrade script

Signed-off-by: Ben Shum <bshum@biblio.org>

3 years agoDocs: Change references to release 2.7.7
Ben Shum [Wed, 19 Aug 2015 21:27:20 +0000]
Docs: Change references to release 2.7.7

Since 2.7.7 is released, change references in upgrade docs to this newest
release.

Signed-off-by: Ben Shum <bshum@biblio.org>

3 years agoChanges to smooth out make_release
Dan Wells [Thu, 16 Jan 2014 20:07:40 +0000]
Changes to smooth out make_release

1) Make the fake 'HeadURL' into a URL which works with our web repo.
Note that this has 'tags/' hardcoded in, so it only works with true
release branches (e.g. rel_x_y_z) not "working" branches
(e.g. rel_x_y).

2) Change range selector when building log to better exclude commits
from previous releases.

Signed-off-by: Dan Wells <dbw2@calvin.edu>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Ben Shum <bshum@biblio.org>

3 years agoFix mis-stamping of 0940.schema.vlist_freq.sql.
Jason Stephenson [Wed, 19 Aug 2015 19:52:47 +0000]
Fix mis-stamping of 0940.schema.vlist_freq.sql.

I typed the wrong number in the upgrade script.

Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>

3 years agoLP#1457111 eg-pbx-allocator uses modern rpc api name
Bill Erickson [Wed, 20 May 2015 16:24:13 +0000]
LP#1457111 eg-pbx-allocator uses modern rpc api name

Replace "-" with "__" in XML-RPC method name for compatibility with
modern Perl XML-RPC libraries.

See also https://bugs.launchpad.net/bugs/1050596

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Ben Shum <bshum@biblio.org>

3 years agoLP 1438136: Stamping upgrade script.
Jason Stephenson [Wed, 19 Aug 2015 19:01:10 +0000]
LP 1438136: Stamping upgrade script.

Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
Signed-off-by: Ben Shum <bshum@biblio.org>

Conflicts:
Open-ILS/src/sql/Pg/002.schema.config.sql

3 years agoLP#1438136: Make upgrade script forgiving
Mike Rylander [Sun, 26 Apr 2015 16:29:18 +0000]
LP#1438136: Make upgrade script forgiving

If the functions already exist, that's OK.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Jason Boyer <jboyer@library.in.gov>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
Signed-off-by: Ben Shum <bshum@biblio.org>

3 years agoLP#1438136: Protect PG < 9.2 from our stats probe
Mike Rylander [Fri, 17 Apr 2015 16:37:06 +0000]
LP#1438136: Protect PG < 9.2 from our stats probe

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
Signed-off-by: Ben Shum <bshum@biblio.org>

3 years agoLP#1438136: Update baseline schema files
Mike Rylander [Thu, 16 Apr 2015 21:39:49 +0000]
LP#1438136: Update baseline schema files

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
Signed-off-by: Ben Shum <bshum@biblio.org>