phasefx [Thu, 12 Nov 2009 00:07:13 +0000 (00:07 +0000)]
Some refactoring. Works with <toolbarbutton type="checked"> now, and monitors all the attributes listed in @oils_persist whenever the virtual oils_persist event is triggered. Provides a way to fire said event manually, and
offers @oils_persist_events for providing a specific list of events with which to trigger the oils_persist virtual event.
phasefx [Wed, 11 Nov 2009 21:47:19 +0000 (21:47 +0000)]
persist_helper: Some abstraction with an oils_persist virtual event. Better handling of non-true values. More debugging statements. A failed attempt to have oils_persist="checked" work with <toolbarbutton type="checkbox"/> (such buttons will get stuck into the unchecked state after being checked and unchecked)
phasefx [Wed, 11 Nov 2009 08:05:07 +0000 (08:05 +0000)]
Simplify list construction in xul (provide a default map_row_to_columns function), give the option for using fm_IDL.xml for column definitions, and use dojo.date.locale for timestamp columns when using fm_IDL.xml.
Simple example:
Given this XUL:
<tree id="atev_list" flex="1" />
Then this Javascript will build columns based on the "atev" class:
JSAN.use('util.list');
var list = new util.list('atev_list');
list.init(
{
columns: [ 'atev' ]
}
);
If we need to customize certain columns, we could do it like so:
miker [Wed, 11 Nov 2009 02:04:45 +0000 (02:04 +0000)]
Unlink the lock file as soon as possible if 1) we have not already looked at it and 2) it contains our pid. This is to allow multiple, concurrent runners where possible, after the find-events phase
erickson [Tue, 10 Nov 2009 18:43:19 +0000 (18:43 +0000)]
Patch from Lebbeous Fogle-Weekley to support configured staff client idle timeout delays. When staff has been
idle for X amount of time (per org unit setting), the staff client display will minimize. Staff is not
logged out of the server based on this setting. Use this in environments where unattended staff clients should
be minimized for privacy reasons.
phasefx [Mon, 9 Nov 2009 18:46:36 +0000 (18:46 +0000)]
Mozilla has a printer settings object which we serialize when saving the settings. But those objects are not necessarily compatible across xulrunner versions. This changeset will load what settings it can and warn the user that they need to reconfigure their printer settings. We also attempt to load the printer settings up-front during the login process for earlier warning.
dbs [Sun, 8 Nov 2009 01:29:04 +0000 (01:29 +0000)]
Normalize ISSNs on ingest so that "1972-156X" gets added as " 1972 156x " to mfr / mkfe
This enables keyword searching of this subset of ISSNs to work because it
sidesteps the full text search tokenizer that would otherwise have indexed
the values as "1972", "-156", and "x".
erickson [Fri, 6 Nov 2009 23:24:38 +0000 (23:24 +0000)]
Patch from Lebbeous Fogle-Weekley to add support for controlling access of org unit settings
based on the new in-database org settings permission setup
phasefx [Fri, 6 Nov 2009 20:48:16 +0000 (20:48 +0000)]
Tweak the Work/Activity Log interface in the staff client so that it has a sticky numberbox for how many log entries to retrieve (subject to an overall max cap configurable by org unit settings).
Some cosmetic tweaks as well.
dbs [Fri, 6 Nov 2009 05:20:39 +0000 (05:20 +0000)]
Add a new set of unapi/supercat holding-enriched formats, -uris
These formats focus on returning just URIs, rather than the bulky copy
information returned by -full. Accordingly, the default data type
requested by BibTemplate.js has been changed to 'marcxml-uris', as
out of the box no functionality in the default or craftsman skins
require copy information.
Some of the duplicate code in OpenILS::WWW::SuperCat.pm has been refactored
into subroutines.
To aid the human reader of the -uris and -full output, line breaks
and indentation has been introduced to the contents of the <volumes> element.
phasefx [Thu, 5 Nov 2009 21:37:23 +0000 (21:37 +0000)]
Use open-ils.circ.renewal_chain.retrieve_by_circ.atomic to retrieve the original circ for a sequence of circ renewals and display the workstation for that original circ in the alternate copy details page
miker [Thu, 5 Nov 2009 19:27:04 +0000 (19:27 +0000)]
Patch from Lebbeous Fogle-Weekley to add arbitrary event runtime grouping (granularity) to action-trigger events; also includes support for specifying granularity to action_trigger_runner.pl and the server-side batch events
erickson [Thu, 5 Nov 2009 02:43:21 +0000 (02:43 +0000)]
removed validator version of max delay age
replaced max delay params with max delay column in seed data for default overdue/courtesy notices
sort between params in trigger max-delay by oldest date first
phasefx [Wed, 4 Nov 2009 22:04:57 +0000 (22:04 +0000)]
Generic date/timestamp dialog and a change to Shelf Expire Time as an example of how to use it. Need to start plugging it into places like Edit Due Date, etc
erickson [Tue, 3 Nov 2009 21:50:04 +0000 (21:50 +0000)]
added a .count version of the hold pull list. added the prev_dest column to perl cdbi. reset hold if it goes from non-mint to mint. capture the prev_dest when a hold transit it changed mid-transit
scottmk [Tue, 3 Nov 2009 21:38:22 +0000 (21:38 +0000)]
Add column shelf_expire_time to action.hold_request.
If auditor.action_hold_request_history exists, add columns
mint_condition and shelf_expire_time.
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/0070.schema.ahr-shelf-expire-time.sql
M Open-ILS/examples/fm_IDL.xml
scottmk [Tue, 3 Nov 2009 18:50:40 +0000 (18:50 +0000)]
Add column prev_dest to action.transit_copy and
action.hold_transit_copy.
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/0069.schema.atc-prev-dest.sql
M Open-ILS/examples/fm_IDL.xml
erickson [Tue, 3 Nov 2009 17:05:10 +0000 (17:05 +0000)]
patch from Lebbeous Fogle-Weekley to add an org setting for default shelf expire interval. note, no change to 002.schema.config since this upgrade number has been grabbed already
dbs [Tue, 3 Nov 2009 04:46:26 +0000 (04:46 +0000)]
Patch from Jeff Godin to make holds placed by staff respect the patron's notification preferences.
The attached patch should fix a bug which resulted in patron notification
preferences (phone/email/both) being ignored in favor of the staff user's
notification preferences when staff place a hold on behalf of another
user.
BUG: When staff place a hold for another user, the staff member's
notification preferences (not the recipient user's) are consulted.
This patch fixes that bug, as well as a bug where notification selections
were not reset between canceled attempts to place holds for different
recipients.
There is also a minor change to grabUserPrefs() regarding which session
variable to send as an auth token (now uses G.user.session, which seems to
be an acceptable convention used elsewhere. This was needed, as the passed
user does not always have a valid session.
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: Jeff Godin <jeff@tcnet.org>
git-svn-id: svn://svn.open-ils.org/ILS/trunk@14735 dcc99617-32d9-48b4-a31d-7c20da2025e4
miker [Tue, 3 Nov 2009 01:57:46 +0000 (01:57 +0000)]
add support for, and use, the mint_condition flag on holds and copies; adjust the mint_condition upgrade script -- please ignore the possible failure on the post-COMMIT ALTER TABLE statement, that is generally expected
phasefx [Tue, 3 Nov 2009 00:18:45 +0000 (00:18 +0000)]
Fix minor typos for plural versus singular strings, and change a few identifiters to protect against accidental column collisions.
Meat of this changeset is to allow manipulation of the mint_condition fields on items and holds. The desired functionality is a way to let holds opt for pristine/complete/or-just-plain-better copies
or not, with the idea being that an item missing pieces or slightly damaged could be marked as mint_condition = false. I've re-cast mint condition as Quality/Copy Quality as far as labels go, with
Good and Mediocre/Any Copy instead of True or False. I'm open to better suggestions. There's some dissonance here with the Damaged copy status.
phasefx [Mon, 2 Nov 2009 07:15:50 +0000 (07:15 +0000)]
some refactoring. redistribute payment when Payment Received field changes its value and leaves focus, or when the field is in focus and the enter key is pressed. In the case of the Enter key while in that field, switch focus to the Apply Payment button, so that a subsequent enter press would apply the payment
phasefx [Mon, 2 Nov 2009 06:47:32 +0000 (06:47 +0000)]
FEATURE: bill patron dialog on mark item damage given certain org settings. allows you to override the item price for the purpose of billing and optionally specify an arbitrary billing type. TODO: see if we need to either disable the note field in the dialog or have the middle layer make use of it. See if we need to display both the billing type and the btype in the bills interface, or if the btype is meant to replace the billing type
phasefx [Mon, 2 Nov 2009 03:07:37 +0000 (03:07 +0000)]
FEATURE: Renew with Specific Due Date option for Items Out interface. DEV NOTES: Some refactoring. Would this style of commit message be useful for change logs? Some keywords like FEATURE or BUGFIX for stuff meant to be more widely read? Or alternately, we could use development branches for intermediate work/commits, and reserve trunk and the release branches for changelog worthy commits? I personally don't mind reviewing 'typo' and 'oops' changesets that fly by. :)