evergreen/bjwebb.git
15 years agocopy missing autotools files instead of linking to installed versions -- one less...
miker [Thu, 24 Sep 2009 14:40:11 +0000 (14:40 +0000)]
copy missing autotools files instead of linking to installed versions -- one less step in the release process!

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

15 years agoExcept in certain cases (like chrome://global/skin/), we can no longer reference...
phasefx [Thu, 24 Sep 2009 14:38:22 +0000 (14:38 +0000)]
Except in certain cases (like chrome://global/skin/), we can no longer reference chrome stylesheets in remote xul.  Tighter "security" in xulrunner 1.9 series

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

15 years agoRemove some garbage artifacts from clumsy editing...
scottmk [Thu, 24 Sep 2009 14:00:29 +0000 (14:00 +0000)]
Remove some garbage artifacts from clumsy editing...

M    Open-ILS/src/sql/Pg/upgrade/0021.schema.triggers-for-deleting-circs.sql

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

15 years agoModify a pre-delete trigger, and add a post-delete trigger, to ensure that
scottmk [Thu, 24 Sep 2009 13:58:03 +0000 (13:58 +0000)]
Modify a pre-delete trigger, and add a post-delete trigger, to ensure that
(1) We don't delete/archive a circulation if there are any undeleted renewals
for it, and (2) when we delete/archive a renewal, we also delete/archive
all its predecessors.

Also: expand the view action.circulation to include four new columns.

M    Open-ILS/src/sql/Pg/090.schema.action.sql
M    Open-ILS/src/sql/Pg/002.schema.config.sql
A    Open-ILS/src/sql/Pg/upgrade/0021.schema.triggers-for-deleting-circs.sql

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

15 years agoChange background colors for patron name to colored border around the name instead...
phasefx [Thu, 24 Sep 2009 06:57:17 +0000 (06:57 +0000)]
Change background colors for patron name to colored border around the name instead.  Correct the font-related CSS as well

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

15 years agoOrg unit setting for whether to obscure the Date of Birth field.
phasefx [Thu, 24 Sep 2009 06:25:15 +0000 (06:25 +0000)]
Org unit setting for whether to obscure the Date of Birth field.

If true, this will set the column visibility for Date of Birth in patron lists to false by default (though a Saved Columns state can specify otherwise), and it will also obscure the value in the patron summary sidebar, making it
say <Hidden> unless the field label is clicked.

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

15 years agoRemove Standing Penalty summary. This was an incomplete experiment that didn't pan...
phasefx [Thu, 24 Sep 2009 05:59:27 +0000 (05:59 +0000)]
Remove Standing Penalty summary.  This was an incomplete experiment that didn't pan out.  There's a desire for the information in the patron summary to be in the same locations all the time (for the layout not to shift
dynamically), and variable length data like a list is not conducive to that.  The penalties themselves are in the Messages sub-interface, and we need to decide whether to style on or around that button when there are interesting
messages to view, or rely on the "stop sign" page that comes up instead of Check Out.

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

15 years agosimilar to changeset 14138, make some of the labels in the horizontal patron summary...
phasefx [Thu, 24 Sep 2009 05:23:03 +0000 (05:23 +0000)]
similar to changeset 14138, make some of the labels in the horizontal patron summary selectable and copyable

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

15 years agoaway with the dark gray backgrounds in patron summary, and move inline style to ...
phasefx [Thu, 24 Sep 2009 05:11:16 +0000 (05:11 +0000)]
away with the dark gray backgrounds in patron summary, and move inline style to .css file

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

15 years agogo ahead and bundle in the common JSAN libraries as script tags to prevent them from...
phasefx [Thu, 24 Sep 2009 04:57:09 +0000 (04:57 +0000)]
go ahead and bundle in the common JSAN libraries as script tags to prevent them from being fetched/evaled into existence.  This makes for easier debugging (real line numbers, etc.).  They appear to stay cached after first load

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

15 years agoReplaces some of the xul labels with xul descriptions, which we've made selectable...
phasefx [Thu, 24 Sep 2009 01:54:51 +0000 (01:54 +0000)]
Replaces some of the xul labels with xul descriptions, which we've made selectable and copyable, at least via the keyboard shortcut for Copy.  A context menu would take more work.  We've actually been wanting to replace the patron
summary with an HTML-based interface for printability; you can not easily print a XUL interface.

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

15 years agocontrol+c won't work on description without -moz-user-focus: normal;
phasefx [Thu, 24 Sep 2009 01:50:10 +0000 (01:50 +0000)]
control+c won't work on description without -moz-user-focus: normal;

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

15 years agoget_text counterpart of set_text. abstracts away the widget type involved
phasefx [Thu, 24 Sep 2009 01:34:37 +0000 (01:34 +0000)]
get_text counterpart of set_text.  abstracts away the widget type involved

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

15 years agomeh, this should make labels selectable, but not in current xulrunners. Commiting...
phasefx [Wed, 23 Sep 2009 23:36:55 +0000 (23:36 +0000)]
meh, this should make labels selectable, but not in current xulrunners.  Commiting anyway in case the behavior changes in the future; we'll get a freebee

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

15 years agoAdd four columns to action.aged_circulation that were previously
scottmk [Wed, 23 Sep 2009 20:41:53 +0000 (20:41 +0000)]
Add four columns to action.aged_circulation that were previously
added to action.circulation.

M    Open-ILS/src/sql/Pg/002.schema.config.sql
A    Open-ILS/src/sql/Pg/upgrade/0019.schema.action-aged-circ-new-cols.sql
M    Open-ILS/examples/fm_IDL.xml

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

15 years agoThis covers the in-db portion of new hold functionality that will allow copies
miker [Wed, 23 Sep 2009 18:49:34 +0000 (18:49 +0000)]
This covers the in-db portion of new hold functionality that will allow copies
at specific organizational units to be ignored for both direct targeting and
opportunistic capture.

M    Pg/002.schema.config.sql
A    Pg/upgrade/0018.schema.in-db-hold-skip-org-setting.sql
M    Pg/110.hold_matrix.sql

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

15 years agoCorrect a typo: a redundant ON
scottmk [Wed, 23 Sep 2009 18:37:08 +0000 (18:37 +0000)]
Correct a typo: a redundant ON

M    upgrade/0017.schema.circ-target-copy-indexes.sql

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

15 years agoasterisk next to the Items Out count (under the nav button) only if there are overdue...
phasefx [Wed, 23 Sep 2009 18:25:39 +0000 (18:25 +0000)]
asterisk next to the Items Out count (under the nav button) only if there are overdue items

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

15 years agoFor Hold Cancel option, offer dialog for Cancel Reason and Cancel Note
phasefx [Wed, 23 Sep 2009 17:59:07 +0000 (17:59 +0000)]
For Hold Cancel option, offer dialog for Cancel Reason and Cancel Note

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

15 years agoCreate two new indexes on action.circulation & action.aged_circulation,
scottmk [Wed, 23 Sep 2009 17:56:38 +0000 (17:56 +0000)]
Create two new indexes on action.circulation & action.aged_circulation,
and a virtual view for counting circulations by year.

M    Open-ILS/src/sql/Pg/002.schema.config.sql
A    Open-ILS/src/sql/Pg/upgrade/0017.schema.circ-target-copy-indexes.sql
M    Open-ILS/examples/fm_IDL.xml

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

15 years agoSQL thinko causing over-zealous reshelving of copies not yet out of their delay time...
miker [Wed, 23 Sep 2009 16:46:32 +0000 (16:46 +0000)]
SQL thinko causing over-zealous reshelving of copies not yet out of their delay time.  Problem spotted and fix suggested by Bill Ott of GRPL.

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

15 years agorepresent due date in local time zone (eventually org unit time zone). cleaned up...
erickson [Wed, 23 Sep 2009 16:22:43 +0000 (16:22 +0000)]
represent due date in local time zone (eventually org unit time zone).  cleaned up the due-date calculation code

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

15 years agofixed db upgrade script collision
erickson [Wed, 23 Sep 2009 16:06:41 +0000 (16:06 +0000)]
fixed db upgrade script collision

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

15 years agoprint patron and staff hold notes in hold and hold/transit slips where hold note...
phasefx [Wed, 23 Sep 2009 14:59:02 +0000 (14:59 +0000)]
print patron and staff hold notes in hold and hold/transit slips where hold note slip==true

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

15 years agobiblios Z39 search requires truncation on title attr. call child_init on Z39 module...
erickson [Wed, 23 Sep 2009 14:58:25 +0000 (14:58 +0000)]
biblios Z39 search requires truncation on title attr.  call child_init on Z39 module from top-level search service child init

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

15 years agooops, variable typo.
erickson [Wed, 23 Sep 2009 14:20:30 +0000 (14:20 +0000)]
oops, variable typo.

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

15 years agoreturn any notes attached to the captured hold on checkin so the UI does not have...
erickson [Wed, 23 Sep 2009 14:09:31 +0000 (14:09 +0000)]
return any notes attached to the captured hold on checkin so the UI does not have to re-fetch them.  some mild code cleanup/optimization

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

15 years agoremove dedundant bib summary
phasefx [Wed, 23 Sep 2009 03:37:40 +0000 (03:37 +0000)]
remove dedundant bib summary

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

15 years agofix bug where oils persist was instigating the behavior associated with checkboxes...
phasefx [Wed, 23 Sep 2009 03:28:17 +0000 (03:28 +0000)]
fix bug where oils persist was instigating the behavior associated with checkboxes prematurely.  This fixes the duplicate rows problem in the various holds lists

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

15 years agoFix a long-standing undiscoverd bug in the Bib Summary for what was Show Notices...
phasefx [Wed, 23 Sep 2009 02:56:17 +0000 (02:56 +0000)]
Fix a long-standing undiscoverd bug in the Bib Summary for what was Show Notices for non-title holds.  We're getting a lot of objects related to holds already, so re-use that data where we can.

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

15 years agodoh, hold_notices.js was sticking around in build/ too, confounding things
phasefx [Wed, 23 Sep 2009 02:13:35 +0000 (02:13 +0000)]
doh, hold_notices.js was sticking around in build/ too, confounding things

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

15 years agohave the Detail View button will disable itself if no holds are currently selected
phasefx [Wed, 23 Sep 2009 00:49:02 +0000 (00:49 +0000)]
have the Detail View button will disable itself if no holds are currently selected

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

15 years agoThis completes the morphing of the Hold Notifications interface into a dual Notes...
phasefx [Tue, 22 Sep 2009 22:40:01 +0000 (22:40 +0000)]
This completes the morphing of the Hold Notifications interface into a dual Notes/Notifications interface, and embeds it into the Holds list with a Detail View/List View toggle.

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

15 years agoWhen a hold has expired waiting for a copy to become available and is subsequently...
erickson [Tue, 22 Sep 2009 21:15:44 +0000 (21:15 +0000)]
When a hold has expired waiting for a copy to become available and is subsequently cancelled, set the cancel cause value and tell the notification innards to react as necessary (e.g. send the patron an email)

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

15 years agoWhen a hold has gone around the org-unit loop (if configured) X number of times witho...
erickson [Tue, 22 Sep 2009 21:09:46 +0000 (21:09 +0000)]
When a hold has gone around the org-unit loop (if configured) X number of times without finding a copy and is subsequently cancelled, set the cancel cause value and tell the notification innards to react as necessary (e.g. send the patron an email)

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

15 years agoadding the new shelf_time field to action::hold_request Class::DBI representation
miker [Tue, 22 Sep 2009 20:56:16 +0000 (20:56 +0000)]
adding the new shelf_time field to action::hold_request Class::DBI representation

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

15 years agoCommit typo patch from Jason Stephenson (April 28, 2009)
dbs [Tue, 22 Sep 2009 20:33:57 +0000 (20:33 +0000)]
Commit typo patch from Jason Stephenson (April 28, 2009)

Attached is a small patch that fixes a typo in config.pm in Evergreen-ILS-1.4.0.4/Open-ILS/src/perlmods/OpenILS/Application/Storage/CDBI

I came across it while perusing the code.

Jason

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: Jason Stephenson jstephenson@mvlc.org
git-svn-id: svn://svn.open-ils.org/ILS/trunk@14098 dcc99617-32d9-48b4-a31d-7c20da2025e4

15 years agouser editor: check the claims returned count update permission to see if that field...
erickson [Tue, 22 Sep 2009 19:48:44 +0000 (19:48 +0000)]
user editor: check the claims returned count update permission to see if that field needs to be disabled for editing

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

15 years agoadded permission for allowing (or not) changing the claims returned count for a user
erickson [Tue, 22 Sep 2009 19:47:13 +0000 (19:47 +0000)]
added permission for allowing (or not) changing the claims returned count for a user

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

15 years agoChanging the rules for database upgrades: config.upgrade_log.version
scottmk [Tue, 22 Sep 2009 19:24:08 +0000 (19:24 +0000)]
Changing the rules for database upgrades: config.upgrade_log.version
will henceforth be all-numeric.

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

15 years agoIE does not appreciate direct parent/child CSS selectors, so we will use the more...
miker [Tue, 22 Sep 2009 17:49:09 +0000 (17:49 +0000)]
IE does not appreciate direct parent/child CSS selectors, so we will use the more generic descendant selector; improve the display of title data by providing a space between subfields (XML processors, particularly those rendering HTML, normalizes whitespace by default)

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

15 years agoRenaming an upgrade script to avoid a numbering collision
scottmk [Tue, 22 Sep 2009 17:38:26 +0000 (17:38 +0000)]
Renaming an upgrade script to avoid a numbering collision

D    upgrade/0011.schema.circ-checkin-ws-and-scan-time.sql
A    upgrade/0013.schema.circ-checkin-ws-and-scan-time.sql

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

15 years agomake the IE fix for pulling out formatting code less IE specific in case we run into...
miker [Tue, 22 Sep 2009 17:37:09 +0000 (17:37 +0000)]
make the IE fix for pulling out formatting code less IE specific in case we run into some other browser for which dojox.data.dom.textContent() does not work properly

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

15 years agocurse of interface duplication. Fix DOB behavior for vertical patron summary
phasefx [Tue, 22 Sep 2009 17:20:05 +0000 (17:20 +0000)]
curse of interface duplication.  Fix DOB behavior for vertical patron summary

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

15 years ago1. Add new column parent_circ to action.circulation, to connect
scottmk [Tue, 22 Sep 2009 17:17:16 +0000 (17:17 +0000)]
1. Add new column parent_circ to action.circulation, to connect
renewals to the original circulations (or to previous renewals).

2. Add a pesky semicolon to a previous upgrade script.

M    Open-ILS/src/sql/Pg/090.schema.action.sql
A    Open-ILS/src/sql/Pg/upgrade/0012.schema.circ-parent-circ.sql
M    Open-ILS/src/sql/Pg/upgrade/0011.schema.circ-checkin-ws-and-scan-time.sql
M    Open-ILS/examples/fm_IDL.xml

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

15 years agoAdd upgrade script for changes previously committed, adding two columns
scottmk [Tue, 22 Sep 2009 17:03:13 +0000 (17:03 +0000)]
Add upgrade script for changes previously committed, adding two columns
to action.circulation.

A    Open-ILS/src/sql/Pg/upgrade/0011.schema.circ-checkin-ws-and-scan-time.sql

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

15 years agoan upgrade script for adding the circ.staff_client.do_not_auto_attempt_print org...
phasefx [Tue, 22 Sep 2009 17:01:18 +0000 (17:01 +0000)]
an upgrade script for adding the circ.staff_client.do_not_auto_attempt_print org unit setting type

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

15 years agoAdd upgrade script for changes previously committed, adding a dummy_isbn
scottmk [Tue, 22 Sep 2009 16:48:24 +0000 (16:48 +0000)]
Add upgrade script for changes previously committed, adding a dummy_isbn
column to asset.copy and auditor.asset_copy_history.

A    Open-ILS/src/sql/Pg/upgrade/0010.schema.asset-copy-dummy-isbn.sql

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

15 years agoThis I18N'izes the string "HOLDS SHELF", and adds "PUBLIC HOLDS SHELF" and "PRIVATE...
phasefx [Tue, 22 Sep 2009 16:11:51 +0000 (16:11 +0000)]
This I18N'izes the string "HOLDS SHELF", and adds "PUBLIC HOLDS SHELF" and "PRIVATE HOLDS SHELF".

The latter two get used if the org unit setting circ.holds.behind_desk_pickup_supported is set to true, and more specifically, PRIVATE HOLDS SHELF gets used if the hold user has a user setting of circ.holds_behind_desk

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

15 years agoNew behavior for checkout attempt against an open circulation:
phasefx [Tue, 22 Sep 2009 05:21:59 +0000 (05:21 +0000)]
New behavior for checkout attempt against an open circulation:

If existing circ is for a different patron, offer:

  Cancel
  Normal Checkin then Checkout
  (if Overdue) Forgiving Checkin then Checkout

If existing circ is for the same patron, offer:

  Cancel
  Normal Checkin then Checkout
  Renew

Unless circ.checkout_auto_renew_age is set and the circulation is older than that specified interval, in which case, automatically try a renewal instead of a checkout.

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

15 years agoremove debugging alert
phasefx [Tue, 22 Sep 2009 03:54:02 +0000 (03:54 +0000)]
remove debugging alert

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

15 years agoafter applying penalty, fetch new patron with .standing_penalties. The constructed...
phasefx [Tue, 22 Sep 2009 03:51:49 +0000 (03:51 +0000)]
after applying penalty, fetch new patron with .standing_penalties.  The constructed/fake penalty wasn't good enough for further action with pcrud, only for display

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

15 years agoOrg unit setting (not wired into Settings Editor), circ.staff_client.do_not_auto_atte...
phasefx [Tue, 22 Sep 2009 03:11:24 +0000 (03:11 +0000)]
Org unit setting (not wired into Settings Editor), circ.staff_client.do_not_auto_attempt_print:

  Disable automatic print attempts from staff client interfaces for the receipt types in this list.  Possible values: "Checkout", "Bill Pay", "Hold Slip", "Transit Slip", and/or "Hold/Transit Slip".  This is different from the
Auto-Print checkbox in the pertinent interfaces in that it disables automatic print attempts altogether, rather than encouraging silent printing by suppressing the print dialog.  The Auto-Print checkbox in these interfaces have no
effect on the behavior for this setting.  In the case of the Hold, Transit, and Hold/Transit slips, this also suppresses the alert dialogs that precede the print dialog (the ones that offer Print and Do Not Print as options).

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

15 years agoSplits the hard-coded hold/transit slip logic into 3 types of slips (hold_slip, trans...
phasefx [Mon, 21 Sep 2009 20:06:41 +0000 (20:06 +0000)]
Splits the hard-coded hold/transit slip logic into 3 types of slips (hold_slip, transit_slip, and hold_transit_slip), and ties them into the receipt template system.  The ui.circ.old_harcoded_slip_template (not yet wired in) org
unit setting will revert to the hard-coded logic.  The new templates are not 100% identical to the hard-coded slips, mainly because they're brain-dead simple and don't lend themselves to conditional display logic without delving
into inline javascript.  Testing welcome.

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

15 years agoadded various hold cancelation hooks for (eventually) notifying patrons when a hold...
erickson [Mon, 21 Sep 2009 16:37:19 +0000 (16:37 +0000)]
added various hold cancelation hooks for (eventually) notifying patrons when a hold was cancelled for a given reason

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

15 years agoaccidentally duplicated a seed value, removing
erickson [Mon, 21 Sep 2009 16:13:51 +0000 (16:13 +0000)]
accidentally duplicated a seed value, removing

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

15 years agoproperly populate %services hash of configured Z servers
miker [Mon, 21 Sep 2009 15:10:55 +0000 (15:10 +0000)]
properly populate %services hash of configured Z servers

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

15 years agoNew org setting to turn on behind-the-desk hold pickup option for patrons
erickson [Mon, 21 Sep 2009 14:57:17 +0000 (14:57 +0000)]
New org setting to turn on behind-the-desk hold pickup option for patrons

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

15 years agomust remember to add seed data to the global seed data file in addition to the upgrad...
erickson [Mon, 21 Sep 2009 14:54:19 +0000 (14:54 +0000)]
must remember to add seed data to the global seed data file in addition to the upgrade files

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

15 years agoif an open circ exists for the same user, go ahead and return the circ, regardless...
erickson [Mon, 21 Sep 2009 13:59:02 +0000 (13:59 +0000)]
if an open circ exists for the same user, go ahead and return the circ, regardless of auto-renew

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

15 years agoAdded support for auto-renewal ages. If a checkout occurs and the item is already...
erickson [Mon, 21 Sep 2009 13:53:52 +0000 (13:53 +0000)]
Added support for auto-renewal ages.  If a checkout occurs and the item is already checked out to the same patron and they have had the item for more than a configred amount of time, tell the caller and let the caller decide if it should force a renewal

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

15 years agosetting checkin_scan_time on circs at checkin time. This captures the true scan...
erickson [Sun, 20 Sep 2009 14:16:51 +0000 (14:16 +0000)]
setting checkin_scan_time on circs at checkin time.  This captures the true scan time regardless of the backdate, er, date.

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

15 years agoreworked error handling for setting claimed returned. added PATRON_EXCEEDS_CLAIMS_RET...
phasefx [Fri, 18 Sep 2009 22:58:20 +0000 (22:58 +0000)]
reworked error handling for setting claimed returned. added PATRON_EXCEEDS_CLAIMS_RETURN_COUNT as an overridable event

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

15 years agobetter support for ils events where .ils_event == null. Can now include the textcode...
phasefx [Fri, 18 Sep 2009 22:57:49 +0000 (22:57 +0000)]
better support for ils events where .ils_event == null.  Can now include the textcode string in the list of overridable events one feeds the network.request methods.

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

15 years agoseed new databases with the circ.max_patron_claim_return_count org unit setting type
phasefx [Fri, 18 Sep 2009 22:29:48 +0000 (22:29 +0000)]
seed new databases with the circ.max_patron_claim_return_count org unit setting type

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

15 years agoif no legacy map for in-db checkout/renew is defined, default to the fail message...
erickson [Fri, 18 Sep 2009 21:34:00 +0000 (21:34 +0000)]
if no legacy map for in-db checkout/renew is defined, default to the fail message from the in-db process

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

15 years agoreceipt template for Item Renew interface
phasefx [Fri, 18 Sep 2009 20:33:05 +0000 (20:33 +0000)]
receipt template for Item Renew interface

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

15 years agoRenew Item interface, where you can scan in the item barcodes and a renewal attempt...
phasefx [Fri, 18 Sep 2009 20:29:15 +0000 (20:29 +0000)]
Renew Item interface, where you can scan in the item barcodes and a renewal attempt is made automatically.

Not as clean as it could be if implemented from scratch; it's a paired down derivative of the checkin interface.

Possible TODO: Provide an Override checkbox so that all subsequent renewal attempts are made with .override

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

15 years agojust in case code ever tries to get the OPAC to show the magic PreCat record, don...
phasefx [Fri, 18 Sep 2009 20:26:54 +0000 (20:26 +0000)]
just in case code ever tries to get the OPAC to show the magic PreCat record, don't let it

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

15 years agonew feature: Added max-claims-returned-count setting. if a patron hits this amount...
erickson [Fri, 18 Sep 2009 19:37:33 +0000 (19:37 +0000)]
new feature:  Added max-claims-returned-count setting.  if a patron hits this amount, it requires staff override to mark an additional item as claims returned.

new perm SET_CIRC_CLAIMS_RETURNED.override

new api call open-ils.circ.circulation.set_claims_returned.override

updated some inline docs

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

15 years agoAdd new column checkin_scan_time to action.circulation,
scottmk [Fri, 18 Sep 2009 18:49:25 +0000 (18:49 +0000)]
Add new column checkin_scan_time to action.circulation,
and change IDL accordingly.

For changing an existing table:

ALTER TABLE action.circulation
ADD COLUMN checkin_scan_time TIMESTAMPTZ;

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

15 years agomarc record in Alternate Item Detail -> Cataloging Info tab
phasefx [Fri, 18 Sep 2009 18:40:08 +0000 (18:40 +0000)]
marc record in Alternate Item Detail -> Cataloging Info tab

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

15 years agoin case marc_view.xul gets sent a pre-cat
phasefx [Fri, 18 Sep 2009 18:39:32 +0000 (18:39 +0000)]
in case marc_view.xul gets sent a pre-cat

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

15 years agomake sure previous display fields are cleared between items
phasefx [Fri, 18 Sep 2009 18:16:50 +0000 (18:16 +0000)]
make sure previous display fields are cleared between items

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

15 years agochanging the value of a datepicker within a change event handler can fire another...
phasefx [Fri, 18 Sep 2009 18:10:57 +0000 (18:10 +0000)]
changing the value of a datepicker within a change event handler can fire another event.. alert boxes also seem to make it act funny.  Replacing with a sound effect for now

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

15 years agoreplace Checkin Effective Date textbox with datepicker for popup-calendar
phasefx [Fri, 18 Sep 2009 17:30:03 +0000 (17:30 +0000)]
replace Checkin Effective Date textbox with datepicker for popup-calendar

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

15 years agoBug reported by Wiktor Rzeczkowski from McMaster University: [parallel_]pg_loader...
miker [Fri, 18 Sep 2009 17:23:00 +0000 (17:23 +0000)]
Bug reported by Wiktor Rzeczkowski from McMaster University: [parallel_]pg_loader.pl was not taught about the changes to the materialized_simple_record trigger

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

15 years agorepaired perl syntax on map call
erickson [Fri, 18 Sep 2009 15:28:17 +0000 (15:28 +0000)]
repaired perl syntax on map call

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

15 years agocache the target weight for the entire hold targetting run, not just for this hold
miker [Fri, 18 Sep 2009 13:45:13 +0000 (13:45 +0000)]
cache the target weight for the entire hold targetting run, not just for this hold

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

15 years agoloop-based targeting (does not need the views defined the other day ... may remove...
miker [Thu, 17 Sep 2009 20:19:28 +0000 (20:19 +0000)]
loop-based targeting (does not need the views defined the other day ... may remove those at some point), cut the first; org unit weighting for hold targeting

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

15 years agoAdded org setting for overriding the circ lib when creating a new pre-cat copy. ...
erickson [Thu, 17 Sep 2009 20:03:30 +0000 (20:03 +0000)]
Added org setting for overriding the circ lib when creating a new pre-cat copy.  This allows the lib to automatically
route all pre-cat copies to a different branch at post-circ checkin time.

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

15 years agoAvoid skewed display of record summary when bibtemplate displays extra fields.
dbs [Thu, 17 Sep 2009 16:40:18 +0000 (16:40 +0000)]
Avoid skewed display of record summary when bibtemplate displays extra fields.

Having a massive rowspan doesn't seem to negatively effect the display, so
better safe than sorry.

This should probably be backported all the way to rel_1_6_0.

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

15 years agoquick links for copying address info to the clipboard in tab-delimited format
phasefx [Thu, 17 Sep 2009 16:37:41 +0000 (16:37 +0000)]
quick links for copying address info to the clipboard in tab-delimited format

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

15 years agodisplay dummy fields for pre-cats if no mvr. fix checkin_workstation field if no...
phasefx [Thu, 17 Sep 2009 16:13:46 +0000 (16:13 +0000)]
display dummy fields for pre-cats if no mvr.  fix checkin_workstation field if no checkin_workstation

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

15 years agouse try/catch instead of eval/$@
miker [Thu, 17 Sep 2009 16:02:04 +0000 (16:02 +0000)]
use try/catch instead of eval/$@

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

15 years agocheckin_workstation is now fleshed
phasefx [Thu, 17 Sep 2009 15:50:50 +0000 (15:50 +0000)]
checkin_workstation is now fleshed

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

15 years agoflesh checkin_workstation on copy detail retrieve. changed reltyp for workstation...
erickson [Thu, 17 Sep 2009 15:34:59 +0000 (15:34 +0000)]
flesh checkin_workstation on copy detail retrieve.  changed reltyp for workstation and checkin_worksation to has_a

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

15 years agodummy isbn support for isbn column in lists
phasefx [Thu, 17 Sep 2009 15:31:14 +0000 (15:31 +0000)]
dummy isbn support for isbn column in lists

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

15 years agoDisplay Checkin Workstation in alternate item detail view. Right now it's displaying...
phasefx [Thu, 17 Sep 2009 15:21:26 +0000 (15:21 +0000)]
Display Checkin Workstation in alternate item detail view.  Right now it's displaying the workstation id.

Could we get open-ils.circ.copy_details.retrieve.barcode to flesh .checkin_workstation?

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

15 years agocapture pre-cat circ modifier in pre-cat copy creation
erickson [Thu, 17 Sep 2009 15:20:07 +0000 (15:20 +0000)]
capture pre-cat circ modifier in pre-cat copy creation

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

15 years agoAdd ISBN and Circ Modifier options to Pre-Cat dialog. Circ Modifier value gets remem...
phasefx [Thu, 17 Sep 2009 15:06:19 +0000 (15:06 +0000)]
Add ISBN and Circ Modifier options to Pre-Cat dialog.  Circ Modifier value gets remembered between pre-cat invocations for a given staff client session.  General reworking of the dialog to better handle closure of the window on
non-submits.

TODO: Test against middle layer .checkout.full once it supports circ_modifier argument.  We're broken until then.

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

15 years agofix Unset for circ modifier in Item Attribute Editor
phasefx [Thu, 17 Sep 2009 14:29:45 +0000 (14:29 +0000)]
fix Unset for circ modifier in Item Attribute Editor

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

15 years agouse Safe to protect against EVIL evals coming in from the outside world -- we share...
miker [Thu, 17 Sep 2009 01:54:21 +0000 (01:54 +0000)]
use Safe to protect against EVIL evals coming in from the outside world -- we share the environment into the Safe compartment using the name $current_environment

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

15 years agoFollowing r14030, add the Makefile.am that is required for the Web portions.
dbs [Wed, 16 Sep 2009 03:38:25 +0000 (03:38 +0000)]
Following r14030, add the Makefile.am that is required for the Web portions.
(Oh, the perils of grepping for "^M" in 'svn stat' output...)

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

15 years agoMake building & installing the core components of Evergreen optional.
dbs [Wed, 16 Sep 2009 03:34:38 +0000 (03:34 +0000)]
Make building & installing the core components of Evergreen optional.

For now, this will be of most interest to those interested in building only
the staff client, say, on platforms where many of the dependencies of the
other components of Evergreen are not readily available. If you disable the
core components using configure, then dependency checking for those core
components is skipped and the staff client will be build and installed to
the desired location.

For example:

./autogen.sh
./configure --prefix=/openils --disable-core --disable-apache-modules
sudo make install

... will result in the Evergreen Web files, reporter, and staff client
being built and their respective server components installed in
/openils/var/web/...

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

15 years agocompleting previous commit (hold loop calcuation upgrade scripts)
miker [Tue, 15 Sep 2009 20:24:27 +0000 (20:24 +0000)]
completing previous commit (hold loop calcuation upgrade scripts)

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

15 years agomoving the the upgrade SQL scripts to an unversioned "upgrade" directory instead...
miker [Tue, 15 Sep 2009 20:23:42 +0000 (20:23 +0000)]
moving the the upgrade SQL scripts to an unversioned "upgrade" directory instead of one labeled for 1.6; adding the min-version insert for config.upgrade_log; adding views and an index for hold loop calculation

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

15 years agocapturing ISBN value for pre-cat copies. setting checkin_workstation value at circ...
erickson [Tue, 15 Sep 2009 17:32:10 +0000 (17:32 +0000)]
capturing ISBN value for pre-cat copies.  setting checkin_workstation value at circ checkin time

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

15 years agospawn the right (horizontal versus vertical) patron display
phasefx [Tue, 15 Sep 2009 17:22:12 +0000 (17:22 +0000)]
spawn the right (horizontal versus vertical) patron display

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

15 years agoInitial stab at modeling database changes as atomic mini-scripts for ease of developm...
erickson [Tue, 15 Sep 2009 16:53:44 +0000 (16:53 +0000)]
Initial stab at modeling database changes as atomic mini-scripts for ease of development and eventual automatic upgrades
Created new upgrade directory for the 1.6 to trunk upgrade path.

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