scottmk [Wed, 21 Oct 2009 17:58:28 +0000 (17:58 +0000)]
1. Add column to actor.usr: claims_never_checked_out_count.
2. Add valid value 'CLAIMSNEVERCHECKEDOUT' to check constraint
for action.circulation.stop_fines.
M Open-ILS/src/sql/Pg/090.schema.action.sql
M Open-ILS/src/sql/Pg/005.schema.actors.sql
M Open-ILS/src/sql/Pg/002.schema.config.sql
A Open-ILS/src/sql/Pg/upgrade/0043.schema.au-claims-never-checked-out-count.sql
M Open-ILS/examples/fm_IDL.xml
miker [Wed, 21 Oct 2009 17:05:26 +0000 (17:05 +0000)]
Cleaning up some syntax thinkos from earlier commit which added support
for hold target weighting and max hold targeting loops.
Added closed-date check condition such that if a library is closed both
now and at the next expected check time the location is ignored for
targetting. This differs from before in that we were only checking to
see if the library was currently closed. For 24h retargetting, this is
nominally not a change, but for longer-that-one-day retargetting intervals
this will allow a library that is open at the beginning /or/ the end of the
targetting interval to have a chance at capturing the requested copy.
miker [Tue, 20 Oct 2009 18:59:20 +0000 (18:59 +0000)]
Adding support for pushing to the front of the hold queue with a cut_in_line
boolean field. Setting this on an action.hold_request will cause the hold
to sort to the top of the queue in calls to open-ils.storage.action.hold_request.nearest_hold,
which is used to capture holds in priority order.
Currently, this field sorts /after/ the hold proximity. When strict FIFO
holds are implemented, this sort will go to the front of the line, followed
by request_time and then proximity.
phasefx [Tue, 20 Oct 2009 04:10:58 +0000 (04:10 +0000)]
experiment: duedate/duetime picker during checkout. Not sure when/how the middle layer ignores the time component of a duedate to treat it as a calendar day. Also not sure if some folks would still prefer to have a Today + 3 days, etc. convenience menu
erickson [Mon, 19 Oct 2009 15:44:32 +0000 (15:44 +0000)]
Patch from Lebbeous Fogle-Weekley which integrates credit card payments into the existing staff client payment API call. Also updates some unnecessarily long org unit settings names
dbs [Sat, 17 Oct 2009 18:41:26 +0000 (18:41 +0000)]
Patch from Warren Layton to add a "Export to RefWorks" link for bookbags.
The link only appears if the user's bookbag is shared (if it's not
shared, Supercat feeds for the bookbag won't be visible to outside
world, including RefWorks). It appears under the "Shared" column
(right under "Yes (View) [RSS]").
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.
erickson [Fri, 16 Oct 2009 20:17:08 +0000 (20:17 +0000)]
implemented the ability to mark a set of lineitems as 'ready for selector', and 'ready for order'. in the main lineitem list page (for selection lists and POs), each lineitem state now has an associated row color. The colors should change, but you get the idea. fixed some page titles
phasefx [Fri, 16 Oct 2009 01:57:55 +0000 (01:57 +0000)]
tree implementation changed, so we find the scrollbar elsewhere. We need the scrollbar to figure out when a row is no longer off-screen, so that we can fire off any pending network calls needed to flesh the row out. Pretty hacky, but for some lists we don't want to pulling down that much data at once. Long run we may need to just pull down data for the columns that are visible, and refetch data if folks use the column pickers
dbs [Thu, 15 Oct 2009 22:18:56 +0000 (22:18 +0000)]
Simplest possible way to add PostgreSQL 8.4 support.
Ubuntu 9.10 (Karmic Koala) ships with PostgreSQL 8.4, and in my
testing it works identically to 8.3. Let's add it and avoid at
least one install-time pain.
erickson [Thu, 15 Oct 2009 20:53:31 +0000 (20:53 +0000)]
added support for tiered org unit setting permissions. for example, if i have the UPDATE_ORG_UNIT_SETTING.foo.bar permission, I can update the foo.bar.baz setting
miker [Wed, 14 Oct 2009 23:56:34 +0000 (23:56 +0000)]
More work towards in-db ingest. The functions provided here will extract
data from a bib record in the same way that the Ingest server does for use
in metabib.*_field_entry tables.
Also provided: wrappers to the xml2 (aka pgxml) contrib module for Postgres 8.2
and before that implement text-based versions of the XPATH function available
in Postgres 8.3 and beyond.
phasefx [Wed, 14 Oct 2009 07:35:53 +0000 (07:35 +0000)]
Fix Hold Note creation in staff client by replacing permacrud call with a cstore-using OpenSRF method. It looks like pcrud.create isn't always closing the transaction that it starts here.
phasefx [Tue, 13 Oct 2009 05:23:45 +0000 (05:23 +0000)]
Support editable trees, which is needed if we want a usable checkbox column in a tree.
And, support checkbox columns in trees.
An example:
<tree id="my_list" editable="true" />
JSAN.use('util.list');
var list = new util.list('my_list');
list.init( {
'columns' : [
{
'id' : 'select',
'type' : 'checkbox',
'editable' : true,
'label' : '',
'render' : function(my) { return true; } // Checked by default
}
]
} );
But once a tree is editable, all tree cells are editable unless explicitly made otherwise, so you need 'editable' : false in the column definitions for such trees if you don't want cells in those columns to be editable.
miker [Mon, 12 Oct 2009 20:24:46 +0000 (20:24 +0000)]
Patch from Laura Cassell to make the email regexp a bit more forgiving.
Specifically, this allows the name portion of the address to contain
period separated chunks.
miker [Mon, 12 Oct 2009 17:06:01 +0000 (17:06 +0000)]
This patch moves towards in-database indexed value normalization. The eventual
goal of this is to move to pure database ingest handled by triggers. This will
free us from the grip of the Ingest server, speed up ingest altogether, and
cause ingest to occur entirely within the same database transaction as the
INSERT or UPDATE to the MARC that is the cause of the ingest. This means
no more potential for race conditions on ingest, and simpler data import.
In this first step, we add some normalization routines for dealing with basic
string data. NACO normalization and the like. With these functions we can
do everything that the Ingest server can do with regard to munging indexed
strings.
You can register these normalizers with specific indexed fields, and define the
order in which they are to be applied.
Next up: work on the scaffolding to actually apply the functions, define the
IDL entries, and create MARC-handling functions to do the xpath dances.
This functionallity will require either:
* a custom (I have a patch) pgxml contrib module or
* Postgresql 8.3+ XML/XPath support
erickson [Mon, 12 Oct 2009 16:36:53 +0000 (16:36 +0000)]
sort checked out items by due date, oldest first. this brings the items that need the most attention to the top of the list. previously, there was no sorting