phasefx [Sat, 14 Nov 2009 09:11:53 +0000 (09:11 +0000)]
Have List Actions -> Print List CSV & Print List Expanded Format use the displayed column order instead of the original column order, for better WYSIWYP(rint) :)
phasefx [Sat, 14 Nov 2009 08:36:57 +0000 (08:36 +0000)]
List Actions -> Print List Expanded Format
Similar to Print List CSV in that in prints visible columns without using a template, but it pivots the data vertically, similar to the \x option in psql.
dbs [Fri, 13 Nov 2009 05:24:42 +0000 (05:24 +0000)]
Apply patch from Warren Layton to make the existing default group permission map entries explicit
Now, I have no idea what the base permission setup should look like
for the average library. However, figuring out what permissions are
currently being applied is difficult with lines such as:
INSERT INTO permission.grp_perm_map VALUES (57, 2, 15, 0, false);
...when it could be rewritten as:
-- Add basic patron permissions to the Patrons group
INSERT INTO permission.grp_perm_map (grp, perm, depth, grantable)
VALUES (2, (SELECT id FROM permission.perm_list WHERE code =
'RENEW_CIRC'), 0, false);
To me, this patch makes it very clear which permissions are assigned
to which groups (the permissions for the Acquisition groups are
currently set in this way, too). This added clarity may help when
someone more knowledgeable than me tries to figure out what the "base
permission setup" should be for each group.
================================================
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: Warren A. Layton <warren.layton@googlemail.com>
================================================
phasefx [Fri, 13 Nov 2009 04:01:27 +0000 (04:01 +0000)]
more columns for the triggered events UI. Some label collisions/ambiguity; could override/hand-craft the labels, but maybe something like adding the class label for the column-come-lately's
phasefx [Thu, 12 Nov 2009 22:41:20 +0000 (22:41 +0000)]
Filters for the triggered events interface, and support for items instead of patrons as an entry point (just need to wire that up). Lists and streaming rows can be brittle if the lists are cleared while data is still streaming in. I've tried to fix that by disabling the buttons until an oncomplete is encountered, but it's still brittle.
erickson [Thu, 12 Nov 2009 22:11:29 +0000 (22:11 +0000)]
added flag to mark claims returned which tells the code to use the circ due date as the claims returned date. good for batch processing of claims return items
erickson [Thu, 12 Nov 2009 17:03:58 +0000 (17:03 +0000)]
Added ability to retrieve/edit a staged user and subsequently save as a "real" user.
importing Stage module into Actor.pm
Added retrieve by username API to Stage.pm
phasefx [Thu, 12 Nov 2009 06:03:26 +0000 (06:03 +0000)]
Turn off bubbling for the oils_persist event (makes things less noisy with iframes, etc.). Support @oils_persist_peers for persisting related elements (mainly to support radio group style widgets)
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