phasefx [Tue, 27 Oct 2009 02:39:59 +0000 (02:39 +0000)]
Tweak the Record In-House Use interface so that it has sound, a larger textbox for the '# of uses' field, and org unit settings that control the warning threshold and max allowed value for '# of uses'. Exceeding the cap no longer
sets the value to the cap.
erickson [Mon, 26 Oct 2009 21:11:18 +0000 (21:11 +0000)]
since showing title/auther will be common in predue, overdue, billing, etc. notices, provide a helper routine to get the title/author for given a copy. this does the precat dance as well. Removed the get_user_fines_summary helper routine since we can now flesh the 'mus' directly on the user
erickson [Sun, 25 Oct 2009 19:01:08 +0000 (19:01 +0000)]
when testing for existing events (to prevent duplicates) don't test for the presence of events linked to the previous event def in the loop. when fetching targets, only fetch the identifier column since it is all that is needed to create the event (and there could be many objects for passive events). increase the search timeout for event targets
scottmk [Fri, 23 Oct 2009 20:45:20 +0000 (20:45 +0000)]
Create new table asset.copy_location_order, and a new permission
for administering it.
M Open-ILS/src/sql/Pg/002.schema.config.sql
A Open-ILS/src/sql/Pg/upgrade/0052.schema.asset_copy_location_order.sql
M Open-ILS/src/sql/Pg/950.data.seed-values.sql
M Open-ILS/examples/fm_IDL.xml
erickson [Fri, 23 Oct 2009 18:43:57 +0000 (18:43 +0000)]
added support for passing in key/val pairs for hold update, instead of the entire hold object. added open-ils.circ.hold.update.batch which expects either an array of holds as second param, or list of key/value hashes as 3rd param
miker [Fri, 23 Oct 2009 17:21:03 +0000 (17:21 +0000)]
Patch from Warren Layton which fixes the behavior of the new Org Unit
configuration interfaces. Moving from raw open-ils.pcrud service calls to the
handy openils.PermaCrud dojo module.
Applied with minor editorialization to remove some duplicated code.
scottmk [Thu, 22 Oct 2009 18:55:14 +0000 (18:55 +0000)]
Create new table acq.fund_allocation_percent, to store the percentages by which
future funding credits will be allocated to funds.
Create a trigger to ensure that the percentages never add up to more than
100 for any given funding source.
Populate the new table from acq.fund_allocation.
In acq.fund_allocation: convert any percentages to amounts, and nullify the
percentages.
M Open-ILS/src/sql/Pg/002.schema.config.sql
A Open-ILS/src/sql/Pg/upgrade/0049.schema.acq_funding_allocation_percent.sql
M Open-ILS/examples/fm_IDL.xml
erickson [Wed, 21 Oct 2009 19:08:43 +0000 (19:08 +0000)]
Added support for claims-never-checked-out checkin mode. It does this:
1. sets the checkin backdate equal to the xact_start time to void any possible overdue fines
2. increments the patrons claims_never_checked_out count by 1
3. the copy does not capture any holds or go into transit
4. the copy is optionally marked as MISSING, based on org unit setting
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