]> git.evergreen-ils.org Git - working/Evergreen.git/log
working/Evergreen.git
14 years agoUnbelievably, not all systems have Python 2.6 yet!
dbs [Sun, 5 Jul 2009 17:44:55 +0000 (17:44 +0000)]
Unbelievably, not all systems have Python 2.6 yet!

Use the exception handling method supported by previous Python versions

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

14 years agoTweaks to osrfAppInitialize() in oils_cstore.c:
scottmk [Sun, 5 Jul 2009 12:47:11 +0000 (12:47 +0000)]
Tweaks to osrfAppInitialize() in oils_cstore.c:

1. Move some invariant tests out of the inner loop.

2. Plugged a memory leak by freeing the array of class names.

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

14 years agoSeveral tweaks to oils_cstore.c:
scottmk [Sun, 5 Jul 2009 11:09:14 +0000 (11:09 +0000)]
Several tweaks to oils_cstore.c:

1. Added a utility function single_hash() to create simple WHERE
clauses instead of calling jsonParseStringFmt().  This change
avoids the overhead of creating and then parsing a JSON string.

2. In SELECT(), processing an ORDER BY clause: traverse a
JSON_ARRAY with an index instead of an iterator.  This change
avoids some mallocs and frees -- and also plugs a memory leak,
since we weren't freeing the iterator.

3. Also in SELECT(), processing an ORDER BY clause: free the
iterator that we use for traversing the hash of classes.

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

14 years agoFix SQL translation script and associated unit tests
dbs [Sun, 5 Jul 2009 05:28:40 +0000 (05:28 +0000)]
Fix SQL translation script and associated unit tests

It looks like polib became stricter about forcing the line number portion of
filename:line occurrences in the PO to actually be an integer, with the result
of simply concatenating the text "line numbers" that we had been using to
store ID values to the table names.

Now we're using specially formatted translator comments to hold the ID values,
and using the filename:line occurence entries to actually hold the source filename
and line number for occurrences. Fancy that!

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

14 years agoChange the interface to doFieldMapperSearch(), and reap some performance
scottmk [Sat, 4 Jul 2009 19:01:35 +0000 (19:01 +0000)]
Change the interface to doFieldMapperSearch(), and reap some performance
gains that this change makes possible.

Instead of passing the query as two jsonObjects wrapped in a JSON_ARRAY,
pass them as separate parameters.  This change makes it possible to
avoid the overhead of constructing a single package to bundle them both.

The resulting code is also, to my eyes, easier to read.

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

14 years agoRemove dangling semicolon from PerlChildInitHandler
dbs [Fri, 3 Jul 2009 20:55:31 +0000 (20:55 +0000)]
Remove dangling semicolon from PerlChildInitHandler

Thanks to Jeff Godin for pointing this out!

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

14 years agodon't throw exception when auth session is not found. just return undef. updated...
erickson [Thu, 2 Jul 2009 20:30:56 +0000 (20:30 +0000)]
don't throw exception when auth session is not found.  just return undef.  updated related code

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

14 years agoRequests for added content fail all the time; don't pollute the logs with bogus errors
dbs [Thu, 2 Jul 2009 18:14:16 +0000 (18:14 +0000)]
Requests for added content fail all the time; don't pollute the logs with bogus errors

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

14 years agoGive unAPI and friends the ability to redirect to an OPAC with a specific locale...
dbs [Thu, 2 Jul 2009 02:06:07 +0000 (02:06 +0000)]
Give unAPI and friends the ability to redirect to an OPAC with a specific locale and skin

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

14 years agoIn usr_merge(): when merging rows from reporter.*_folder,
scottmk [Tue, 30 Jun 2009 14:25:00 +0000 (14:25 +0000)]
In usr_merge(): when merging rows from reporter.*_folder,
change the name in order to avoid collisions with existing
rows belonging to the destination user.

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

14 years agoIn actor.usr_merge(): when transferring rows from vandelay.queue,
scottmk [Tue, 30 Jun 2009 13:06:20 +0000 (13:06 +0000)]
In actor.usr_merge(): when transferring rows from vandelay.queue,
change the name in order to avoid collisions with existing rows
belonging to the destination user.

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

14 years agoTreat SRU queries as UTF8 input.
dbs [Tue, 30 Jun 2009 02:56:54 +0000 (02:56 +0000)]
Treat SRU queries as UTF8 input.

Resolves a problem whereby any non-ASCII input in SRU queries resulted in searches for corrupted strings (and consequently 0 hits)

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

14 years agoadd tests for weekly publication, fix bug in code for "day" publication patterns
djfiander [Tue, 30 Jun 2009 01:50:10 +0000 (01:50 +0000)]
add tests for weekly publication, fix bug in code for "day" publication patterns

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

14 years agoIn actor.usr_merge(): transfer picklists with changes of the
scottmk [Mon, 29 Jun 2009 23:03:48 +0000 (23:03 +0000)]
In actor.usr_merge(): transfer picklists with changes of the
name column so as to avoid collisions with existing picklists.

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

14 years agofetch org setting types from server now. yay.
erickson [Mon, 29 Jun 2009 21:14:29 +0000 (21:14 +0000)]
fetch org setting types from server now.  yay.

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

14 years agomenu entry for org-unit-setting-type editor
erickson [Mon, 29 Jun 2009 20:10:43 +0000 (20:10 +0000)]
menu entry for org-unit-setting-type editor

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

14 years agoIn actor.usr_merge(): For each *_bucket table, transfer the buckets
scottmk [Mon, 29 Jun 2009 18:53:51 +0000 (18:53 +0000)]
In actor.usr_merge(): For each *_bucket table, transfer the buckets
belonging to the source user into the custody of the destination user.

In order to avoid colliding with an existing bucket owned by the
destination user, append the source user's id (in parenthesese) to the
name.  If you still get a collision, add successive spaces to the name
and keep trying until you succeed.

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

14 years agoforce valid org-unit-setting name when updating settings
erickson [Mon, 29 Jun 2009 17:44:49 +0000 (17:44 +0000)]
force valid org-unit-setting name when updating settings

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

14 years agoAdd new table config.org_unit_setting_type to define
scottmk [Mon, 29 Jun 2009 15:46:40 +0000 (15:46 +0000)]
Add new table config.org_unit_setting_type to define
valid setting names for actor.org_unit_setting.

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

14 years agode-dupe the permission list
erickson [Mon, 29 Jun 2009 02:39:55 +0000 (02:39 +0000)]
de-dupe the permission list

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

14 years agoreturning extra flag in hold possibility check which indicates whether the permitted...
erickson [Fri, 26 Jun 2009 19:33:31 +0000 (19:33 +0000)]
returning extra flag in hold possibility check which indicates whether the permitted copy found in the possibility check is both available and lives at the requesting library.  also removed a big hunk of old, unused code

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

14 years agoorg_unit_setting_type management interface. comitted in anticipation of the new...
erickson [Fri, 26 Jun 2009 16:10:04 +0000 (16:10 +0000)]
org_unit_setting_type management interface.  comitted in anticipation of the new org_unit_setting_type table.  not yet functional.  will add to staff client when it's ready to roll out

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

14 years agoopen-ils.actor.org_setting.delete is not used. removing to reduce possible org-setti...
erickson [Fri, 26 Jun 2009 15:09:40 +0000 (15:09 +0000)]
open-ils.actor.org_setting.delete is not used.  removing to reduce possible org-settings churn as new table is added.  use open-ils.actor.org_unit.settings.update instead

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

14 years agoadjust the arbitrary print sleep based on the number of items that need printing...
erickson [Thu, 25 Jun 2009 13:28:12 +0000 (13:28 +0000)]
adjust the arbitrary print sleep based on the number of items that need printing.  this prevents chopping of the data as it's being queued to the printer

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

14 years agowhen a copy is manually edited and is either deleted or changed into a non-holdable...
erickson [Thu, 25 Jun 2009 03:03:32 +0000 (03:03 +0000)]
when a copy is manually edited and is either deleted or changed into a non-holdable status, reset any holds whose current_copy matches the changed copy

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

14 years agoadded batch hold reset call
erickson [Thu, 25 Jun 2009 03:02:03 +0000 (03:02 +0000)]
added batch hold reset call

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

14 years agoNow supports generating dates of combined issues (eg, "May/June").
djfiander [Thu, 25 Jun 2009 01:50:12 +0000 (01:50 +0000)]
Now supports generating dates of combined issues (eg, "May/June").
More test cases are needed, though.

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

14 years agoenable title rewriting and subject links via BibTemplate
miker [Wed, 24 Jun 2009 20:40:08 +0000 (20:40 +0000)]
enable title rewriting and subject links via BibTemplate

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

14 years agobasic cstore communication via opensrf perl
erickson [Wed, 24 Jun 2009 17:56:59 +0000 (17:56 +0000)]
basic cstore communication via opensrf perl

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

14 years agotweaked label on Potential Copies
lmcfarland [Wed, 24 Jun 2009 14:10:53 +0000 (14:10 +0000)]
tweaked label on Potential Copies

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

14 years agobased hold queue on un-fulfilled holds, not un-captured holds.
erickson [Wed, 24 Jun 2009 14:06:11 +0000 (14:06 +0000)]
based hold queue on un-fulfilled holds, not un-captured holds.

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

14 years agoAdded functionality to holds menus to include columns for Total Holds Available,...
lmcfarland [Wed, 24 Jun 2009 13:54:18 +0000 (13:54 +0000)]
Added functionality to holds menus to include columns for Total Holds Available, Queue Position, Potential Copies, and Estimated Wait

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

14 years agohold queue position starts at 1
erickson [Tue, 23 Jun 2009 19:45:32 +0000 (19:45 +0000)]
hold queue position starts at 1

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

14 years agoremoved unnecessary djConfig attr when importing openils_data.js
erickson [Tue, 23 Jun 2009 19:28:54 +0000 (19:28 +0000)]
removed unnecessary djConfig attr when importing openils_data.js

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

14 years agoSimple fix for making home page links work
dbs [Tue, 23 Jun 2009 19:11:28 +0000 (19:11 +0000)]
Simple fix for making home page links work

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

14 years agomoving the record-merge stored proc to the end of the schema load, to avoid cross...
miker [Tue, 23 Jun 2009 18:14:11 +0000 (18:14 +0000)]
moving the record-merge stored proc to the end of the schema load, to avoid cross-schema issues

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

14 years agoarg, syntax error
erickson [Tue, 23 Jun 2009 17:17:16 +0000 (17:17 +0000)]
arg, syntax error

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

14 years agoadded user stage delete. now returning all related objects (addresses, cards, etc...
erickson [Tue, 23 Jun 2009 14:47:05 +0000 (14:47 +0000)]
added user stage delete.  now returning all related objects (addresses, cards, etc.), not just the first one

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

14 years agomoved the user stage out to it's own module since there will be a number of support...
erickson [Tue, 23 Jun 2009 14:37:41 +0000 (14:37 +0000)]
moved the user stage out to it's own module since there will be a number of support functions.  added a retrieve-all-staged-users-by-home-org call

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

14 years agoadded initial staged user creation api (for patron self-registration)
erickson [Tue, 23 Jun 2009 14:02:31 +0000 (14:02 +0000)]
added initial staged user creation api (for patron self-registration)

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

14 years agoadded perl uuid deb package. sorry, don't know the centos or gentoo packages
erickson [Tue, 23 Jun 2009 14:02:01 +0000 (14:02 +0000)]
added perl uuid deb package.  sorry, don't know the centos or gentoo packages

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

14 years agoadded a shortcut for calling trigger autocreate. added a UUID string generator
erickson [Tue, 23 Jun 2009 14:01:25 +0000 (14:01 +0000)]
added a shortcut for calling trigger autocreate.  added a UUID string generator

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

14 years agoprovide some basic indication when a patron's address if marked as invalid. fixed...
erickson [Tue, 23 Jun 2009 13:01:26 +0000 (13:01 +0000)]
provide some basic indication when a patron's address if marked as invalid.  fixed some text entities

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

14 years agothe middle layer lets staff change the pickup lib of a hold already on the holds...
phasefx [Tue, 23 Jun 2009 12:59:20 +0000 (12:59 +0000)]
the middle layer lets staff change the pickup lib of a hold already on the holds shelf if they have the UPDATE_PICKUP_LIB_FROM_HOLDS_SHELF permission.  It'll create a new transit.  So let the staff client allow it too

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

14 years agoPatch from David Christensen to add support for fetching jacket images from Open...
erickson [Mon, 22 Jun 2009 20:45:20 +0000 (20:45 +0000)]
Patch from David Christensen to add support for fetching jacket images from Open Library:

Hi folks,

At a suggestion from the #OpenILS-Evergreen IRC channel, I'm putting this out there :-)

This is a patch to /openils/lib/perl5/OpenILS/WWW/AddedContent/Amazon.pm (it probably makes sense if it were to end up as OpenLibrary.pm, or some such) that enables getting book cover images from OpenLibrary (see http://openlibrary.org/dev/docs/api/covers for details on the OpenLibrary API).

A little comment section at the top shows the two changes that need to be made to opensrf.xml as well.

-David

Developer's Certificate of Origin 1.1

By making a contribution to this project, I certify that:

(a) The contribution was created in whole or in part by me and I
    have the right to submit it under the open source license
    indicated in the file; or

(b) The contribution is based upon previous work that, to the best

    of my knowledge, is covered under an appropriate open source
    license and I have the right under that license to submit that
    work with modifications, whether created in whole or in part
    by me, under the same open source license (unless I am

    permitted to submit under a different license), as indicated
    in the file; or

(c) The contribution was provided directly to me by some other
    person who certified (a), (b) or (c) and I have not modified

    it.

(d) I understand and agree that this project and the contribution
    are public and that a record of the contribution (including all
    personal information I submit with it, including my sign-off) is

    maintained indefinitely and may be redistributed consistent with
    this project or the open source license(s) involved.

Signed-off-by: David.A.Christensen@gmail.com
git-svn-id: svn://svn.open-ils.org/ILS/trunk@13435 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoreturn queue stats from hold details method
erickson [Mon, 22 Jun 2009 19:10:18 +0000 (19:10 +0000)]
return queue stats from hold details method

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

14 years agodefine fix_tcn and override parameters before call to biblio_record_replace_marc...
erickson [Mon, 22 Jun 2009 18:00:14 +0000 (18:00 +0000)]
define fix_tcn and override parameters before call to biblio_record_replace_marc, because of some unexpected (by me, anyway) handling of =~ in a parameter list

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

14 years agomake circ_history btype's match
erickson [Mon, 22 Jun 2009 15:52:00 +0000 (15:52 +0000)]
make circ_history btype's match

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

14 years agoImplement subsequent_month() to generate next publication month
djfiander [Mon, 22 Jun 2009 00:19:58 +0000 (00:19 +0000)]
Implement subsequent_month() to generate next publication month
based on $yp publication pattern. Somehow I missed this on the
first pass.

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

14 years agoAdd tests for publication pattern specifying a sequence of
djfiander [Mon, 22 Jun 2009 00:17:14 +0000 (00:17 +0000)]
Add tests for publication pattern specifying a sequence of
publication months and for a combined issue when there's a
publication pattern given.

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

14 years agosplit out date calculations into separate file to simplify things a bit
djfiander [Sun, 21 Jun 2009 23:52:34 +0000 (23:52 +0000)]
split out date calculations into separate file to simplify things a bit

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

14 years agoPatch from Warren Layton implementing RefWorks export via SuperCat:
miker [Fri, 19 Jun 2009 21:24:30 +0000 (21:24 +0000)]
Patch from Warren Layton implementing RefWorks export via SuperCat:

"The patch a new transform, MARC21slim2MARCtxt.xsl, which converts MARC
into the MARC-ish plain text format accepted by RefWorks (see [1]).
The patch also adds a new feed to SuperCat, called "marctxt"."

As well as a reworked patch for the default opac skin to expose this
functionality as a link next to the "Place a Hold" link.

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

14 years agoadded auth record number extractor
erickson [Fri, 19 Jun 2009 20:50:33 +0000 (20:50 +0000)]
added auth record number extractor

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

14 years agoadding authority ingest methods -- by id (record) or object
miker [Fri, 19 Jun 2009 20:48:37 +0000 (20:48 +0000)]
adding authority ingest methods -- by id (record) or object

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

14 years agocron script to run the clear-expired-circ-history items proc, attempt #2
erickson [Fri, 19 Jun 2009 20:04:38 +0000 (20:04 +0000)]
cron script to run the clear-expired-circ-history items proc, attempt #2

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

14 years agorolling back 13415, accidentally commited all local changes
erickson [Fri, 19 Jun 2009 20:03:12 +0000 (20:03 +0000)]
rolling back 13415, accidentally commited all local changes

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

14 years agocron script to run the clear-expired-circ-history items proc
erickson [Fri, 19 Jun 2009 20:01:08 +0000 (20:01 +0000)]
cron script to run the clear-expired-circ-history items proc

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

14 years agoAargh..,fix stupid syntax blunder...
scottmk [Fri, 19 Jun 2009 19:41:38 +0000 (19:41 +0000)]
Aargh..,fix stupid syntax blunder...

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

14 years ago1. Add new function container.clear_all_expired_circ_history_items( )
scottmk [Fri, 19 Jun 2009 19:37:52 +0000 (19:37 +0000)]
1. Add new function container.clear_all_expired_circ_history_items( )
to expire old circulation history.

2. Add a comment for the existing function
container.clear_expired_circ_history_items( ).

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

14 years agoReplace four calls to actor.usr_merge() with simple UPDATEs.
scottmk [Fri, 19 Jun 2009 18:08:19 +0000 (18:08 +0000)]
Replace four calls to actor.usr_merge() with simple UPDATEs.
These columns are not included in any unique indexes, so
updating them will not violate any uniqueness constraints.

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

14 years agoadding table sql and IDL entries for the staging schema. schema has multiple applica...
erickson [Fri, 19 Jun 2009 15:56:47 +0000 (15:56 +0000)]
adding table sql and IDL entries for the staging schema.  schema has multiple applications, including patron imports and an external place to store online account applications

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

14 years agofleshing hold notes on fleshed hold retrieval, added hold note CUD method
erickson [Fri, 19 Jun 2009 14:33:48 +0000 (14:33 +0000)]
fleshing hold notes on fleshed hold retrieval, added hold note CUD method

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

14 years agoadded virtual notes field to holds
erickson [Fri, 19 Jun 2009 14:33:01 +0000 (14:33 +0000)]
added virtual notes field to holds

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

14 years agofixed missing param to authority import call
erickson [Fri, 19 Jun 2009 14:10:22 +0000 (14:10 +0000)]
fixed missing param to authority import call

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

14 years agoAdd table action.hold_request_note, class "ahrn"
scottmk [Thu, 18 Jun 2009 21:06:48 +0000 (21:06 +0000)]
Add table action.hold_request_note, class "ahrn"

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

14 years agoadding developer (me) to the about page
lmcfarland [Thu, 18 Jun 2009 17:54:47 +0000 (17:54 +0000)]
adding developer (me) to the about page

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

14 years agoSupport for generating predictions based on publication patterns.
djfiander [Thu, 18 Jun 2009 01:10:16 +0000 (01:10 +0000)]
Support for generating predictions based on publication patterns.
Still don't support mixing publication patterns and combined dates.

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

14 years agoAdd a procedure to delete expired circulation history items
scottmk [Tue, 16 Jun 2009 14:44:37 +0000 (14:44 +0000)]
Add a procedure to delete expired circulation history items
in container.copy_bucket_item; also add an index so that this
operation doesn't need a full table scan.

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

14 years agoThe ever-popular/feared typo: Lanuage -> Language
dbs [Mon, 15 Jun 2009 19:55:35 +0000 (19:55 +0000)]
The ever-popular/feared typo: Lanuage -> Language

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

14 years agohold matrix matchpoint transit range is ref to org unit type, fixing IDL
erickson [Mon, 15 Jun 2009 18:16:05 +0000 (18:16 +0000)]
hold matrix matchpoint transit range is ref to org unit type, fixing IDL

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

14 years agoremove suppress fields and default to user's pref via column picker. added column...
erickson [Mon, 15 Jun 2009 17:24:31 +0000 (17:24 +0000)]
remove suppress fields and default to user's pref via column picker.  added column picker to hold config interface

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

14 years agoEnable Google Preview in craftsman skin
dbs [Mon, 15 Jun 2009 14:07:13 +0000 (14:07 +0000)]
Enable Google Preview in craftsman skin

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

14 years agoAdd some logging to MFHDParser.pm, and prevent returning raw parsing errors to the...
dbs [Mon, 15 Jun 2009 03:32:54 +0000 (03:32 +0000)]
Add some logging to MFHDParser.pm, and prevent returning raw parsing errors to the client

In concert with c13383, this will give cataloguers the ability to fix errors in MFHD records
without requiring a system administrator to manipulate SQL directly. Sweet relief.

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

14 years agoMake it possible to edit MFHD records that have gone bad.
dbs [Mon, 15 Jun 2009 03:28:56 +0000 (03:28 +0000)]
Make it possible to edit MFHD records that have gone bad.

Previously, invalid MFHD records would be hidden from the staff client because
they had no holdings to display; now we check for isXUL() and display a default
location of "MFHD" inside the staff client if things are so messed up that even
the location isn't visible.

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

14 years agoWe need to explicitly require dijit.form.Form
dbs [Sun, 14 Jun 2009 03:34:18 +0000 (03:34 +0000)]
We need to explicitly require dijit.form.Form

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

14 years agomake it so 'bundle' must be targeted specifically, otherwise folks might accidentally...
phasefx [Fri, 12 Jun 2009 20:03:19 +0000 (20:03 +0000)]
make it so 'bundle' must be targeted specifically, otherwise folks might accidentally include build.tar if they package the client into an installer.  It's a dev convenience thing for me

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

14 years agodisallow merge if subordinate account is in collections
erickson [Fri, 12 Jun 2009 18:12:57 +0000 (18:12 +0000)]
disallow merge if subordinate account is in collections

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

14 years agoFixes the display issue with using a lot of services in the Z39.50 client by summariz...
phasefx [Fri, 12 Jun 2009 02:04:21 +0000 (02:04 +0000)]
Fixes the display issue with using a lot of services in the Z39.50 client by summarizing the total results instead of listing them per service.  Based on a patch from Warren Layton.  Thanks!  I've tweaked this so that the per-service summaries still exist, but as a tooltip/mouse-over.

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

14 years agoUntested code for generating next dates for all patterns
djfiander [Fri, 12 Jun 2009 01:16:55 +0000 (01:16 +0000)]
Untested code for generating next dates for all patterns
specified in the standard. Now to write the code that calls the
generators to find the correct "next" issue from the current one.

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

14 years agoAdd index so that we can readily find all the
scottmk [Thu, 11 Jun 2009 20:43:07 +0000 (20:43 +0000)]
Add index so that we can readily find all the
items in a given copy_bucket.

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

14 years agojoins in the all_circulations reporting view were ... overzealous
miker [Thu, 11 Jun 2009 18:22:31 +0000 (18:22 +0000)]
joins in the all_circulations reporting view were ... overzealous

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

14 years agofinished dupe patron search plugin
erickson [Thu, 11 Jun 2009 15:15:57 +0000 (15:15 +0000)]
finished dupe patron search plugin

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

14 years agopart 1, duplicate patron searching plugin
erickson [Wed, 10 Jun 2009 19:41:09 +0000 (19:41 +0000)]
part 1, duplicate patron searching plugin

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

14 years agohave spine label interface use authoritative copy retrieval to prevent ASSET_COPY_NOT...
phasefx [Wed, 10 Jun 2009 16:00:37 +0000 (16:00 +0000)]
have spine label interface use authoritative copy retrieval to prevent ASSET_COPY_NOT_FOUND race condition

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

14 years agoadded org setting for future ability to close patron-related staff client tabs after...
erickson [Wed, 10 Jun 2009 14:27:20 +0000 (14:27 +0000)]
added org setting for future ability to close patron-related staff client tabs after a period of inactivity

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

14 years agoenabled authoritative for several methods
erickson [Wed, 10 Jun 2009 12:38:31 +0000 (12:38 +0000)]
enabled authoritative for several methods

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

14 years agofix OPAC visible cosmetic bug for stat cats in staff client. Bitten again by JSON...
phasefx [Wed, 10 Jun 2009 10:09:21 +0000 (10:09 +0000)]
fix OPAC visible cosmetic bug for stat cats in staff client.  Bitten again by JSON returning '0' instead of 0

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

14 years agolooks like JSAN isn't really using its EXPORT list for function libraries
phasefx [Wed, 10 Jun 2009 09:39:29 +0000 (09:39 +0000)]
looks like JSAN isn't really using its EXPORT list for function libraries

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

14 years agoindicate required widgets by checkin required-ness setting in the markup
erickson [Tue, 9 Jun 2009 21:35:46 +0000 (21:35 +0000)]
indicate required widgets by checkin required-ness setting in the markup

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

14 years ago when using a text box and a value is required or regEx is defined, use a ValidationT...
erickson [Tue, 9 Jun 2009 21:35:09 +0000 (21:35 +0000)]
 when using a text box and a value is required or regEx is defined, use a ValidationTextBox instead

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

14 years agoadded support for default inet access level setting
erickson [Tue, 9 Jun 2009 20:54:36 +0000 (20:54 +0000)]
added support for default inet access level setting

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

14 years agoplugged in 'auto-set-juvenile-flag-by-dob' handler
erickson [Tue, 9 Jun 2009 20:40:33 +0000 (20:40 +0000)]
plugged in 'auto-set-juvenile-flag-by-dob' handler

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

14 years agoremoved unnecessary check for the existence of matrix_test_result
erickson [Tue, 9 Jun 2009 20:12:29 +0000 (20:12 +0000)]
removed unnecessary check for the existence of matrix_test_result

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

14 years agodifferent show-all / show-required links. show new-addr button when show-required...
erickson [Tue, 9 Jun 2009 20:11:23 +0000 (20:11 +0000)]
different show-all / show-required links.  show new-addr button when show-required is selected

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

14 years agoignore expired penalties
erickson [Tue, 9 Jun 2009 17:08:11 +0000 (17:08 +0000)]
ignore expired penalties

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

14 years agoone small step for i18n
erickson [Tue, 9 Jun 2009 16:41:33 +0000 (16:41 +0000)]
one small step for i18n

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

14 years agosmarter boolean value test for display strings
erickson [Tue, 9 Jun 2009 16:33:01 +0000 (16:33 +0000)]
smarter boolean value test for display strings

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

14 years agoadded org setting to turn on 'show bills tab first when bills owed'
erickson [Tue, 9 Jun 2009 16:22:46 +0000 (16:22 +0000)]
added org setting to turn on 'show bills tab first when bills owed'

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

14 years agodon't try to load user settings if we are not logged in yet
erickson [Tue, 9 Jun 2009 16:22:00 +0000 (16:22 +0000)]
don't try to load user settings if we are not logged in yet

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

14 years agodon't try to load user settings if we are not logged in yet
erickson [Tue, 9 Jun 2009 16:21:45 +0000 (16:21 +0000)]
don't try to load user settings if we are not logged in yet

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