11 years agoMerge branch 'opac-tt-poc' of git+ssh://yeti.esilibrary.com/home/evergreen/evergreen...
Bill Erickson [Thu, 3 Feb 2011 21:50:17 +0000 (16:50 -0500)]
Merge branch 'opac-tt-poc' of git+ssh://yeti.esilibrary.com/home/evergreen/evergreen-equinox into opac-tt-poc

11 years agoIntegrate Locale::Maketext for string translations
Bill Erickson [Thu, 3 Feb 2011 21:47:59 +0000 (16:47 -0500)]
Integrate Locale::Maketext for string translations

Added support for configuring supported locales and specifying message
catalogs as gettext .po or .mo files.  All locales default to native
template strings when no translation is provided.

Updated oils_web config and added some inline template examples

11 years agoMerge branch 'master' of ssh://senator@yeti.esilibrary.com/home/evergreen/evergreen...
senator [Thu, 3 Feb 2011 21:00:49 +0000 (16:00 -0500)]
Merge branch 'master' of ssh://senator@yeti.esilibrary.com/home/evergreen/evergreen-equinox into opac-tt-poc

11 years agoa thought about the add/remove css funcs
senator [Thu, 3 Feb 2011 20:40:34 +0000 (15:40 -0500)]
a thought about the add/remove css funcs

11 years agoJS stubbed out, mostly. See longer commit msg.
senator [Thu, 3 Feb 2011 20:34:19 +0000 (15:34 -0500)]
JS stubbed out, mostly. See longer commit msg.

Here's the deal with JS so far.

A few instances of onfocus, onblur, onmouseout, and onmouseover have been
left alone, as they're doing simple cosmetic things.

A lot of instances of onclick remain, and a couple onchange, but these
now either a) just do cosmetic things (hide/unhide) or b) call stubbed
out functions prepared in misc.js

That doesn't mean we won't still totally rip out lots of this JS, but
it leaves us a hint as to what is supposed to happen where.  I can
easily see us losing track of that later.  So anyway, many of the
stubbed functions will probably be replaced with purely server side
functionality later, but until then, they can serve as a kind of

11 years agowhile the enter-key capturing is around, do it right at least
senator [Thu, 3 Feb 2011 20:03:54 +0000 (15:03 -0500)]
while the enter-key capturing is around, do it right at least

11 years agodeal with some onclick handlers, also with broken relative links from
senator [Thu, 3 Feb 2011 19:54:14 +0000 (14:54 -0500)]
deal with some onclick handlers, also with broken relative links from
myopac/* templates

11 years agoaddressed existing onchange handlers
senator [Thu, 3 Feb 2011 18:37:22 +0000 (13:37 -0500)]
addressed existing onchange handlers

11 years agoget rid of some onkeydown events handlers, as well as onload and onerror events
senator [Thu, 3 Feb 2011 18:15:39 +0000 (13:15 -0500)]
get rid of some onkeydown events handlers, as well as onload and onerror events
that aren't for real DOM events, but for dojo-related stuff

11 years agoKeep the swapTabs() function around only for the advanced search page
senator [Thu, 3 Feb 2011 17:56:10 +0000 (12:56 -0500)]
Keep the swapTabs() function around only for the advanced search page

Other use cases will be replaced with links to actual pages, or
otherwise dealt with.

11 years agoremove __setsortsel() - I think this can be handled in templates later
senator [Thu, 3 Feb 2011 17:53:22 +0000 (12:53 -0500)]
remove __setsortsel() - I think this can be handled in templates later

11 years agowell, almost all references to dojo were already gone
senator [Thu, 3 Feb 2011 17:37:11 +0000 (12:37 -0500)]
well, almost all references to dojo were already gone

For now i'm leaving alone a lot of instances of jsId attributes; they
might serve to remind us later of what some elements are for.

11 years agoall five main parts of their myopac page
senator [Thu, 3 Feb 2011 16:54:23 +0000 (11:54 -0500)]
all five main parts of their myopac page

now it's on to the serious js scrubbing (dojo parts are already gone). this is
going to take more than simply removing js in many cases, though, since
so much layout is accomplished by means of JS in the kcls skin,
especially in regards to subinterfaces and nested tabbiness

11 years agoTwo binding fixes for manage items
dbwells [Thu, 3 Feb 2011 16:47:49 +0000 (16:47 +0000)]
Two binding fixes for manage items

The first fix is more or less cosmetic.  When selecting a target unit, both areas need to refresh in order to not show the selected unit's items in the main list.

The second fix involves handling cases where moving items from one unit to another does not empty the 'donor' unit.  In those cases, we need to update the contents of both the new and the old unit.

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

11 years agoAuthorities: control 610/611, do not control 4xx by default
dbs [Thu, 3 Feb 2011 14:15:47 +0000 (14:15 +0000)]
Authorities: control 610/611, do not control 4xx by default

The 4xx fields in bibliographic records have not been controlled
fields for some time (1988 for CAN/MARC, 1999 for USMARC per)
http://www.loc.gov/marc/bibliographic/bd4xx.html; and
http://www.oclc.org/bibformats/en/4xx/default.shtm also lists
these as obsolete. So, remove them from the default controlled
fields in Evergreen.

Also, add 610/611 to the controlled fields list (per LP #712467).

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

11 years agomyopac circs page
senator [Wed, 2 Feb 2011 23:04:57 +0000 (18:04 -0500)]
myopac circs page

11 years agoa start to myopac
senator [Wed, 2 Feb 2011 22:17:32 +0000 (17:17 -0500)]
a start to myopac

11 years agolet due date show up correctly in the copy browser for circulating items
phasefx [Wed, 2 Feb 2011 20:51:40 +0000 (20:51 +0000)]
let due date show up correctly in the copy browser for circulating items

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

11 years agoallow deletion of stat cat entries in the patron editor (or more accurately, rows...
phasefx [Wed, 2 Feb 2011 19:56:39 +0000 (19:56 +0000)]
allow deletion of stat cat entries in the patron editor (or more accurately, rows in actor.stat_cat_entry_usr_map) by blanking out the value

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

11 years agocirc.claim_return.mark_missing was superceded with circ.claim_return.copy_status...
phasefx [Wed, 2 Feb 2011 19:34:36 +0000 (19:34 +0000)]
circ.claim_return.mark_missing was superceded with circ.claim_return.copy_status.  It's still lingering in 1.6.1-2.0-upgrade-db.sql, and in other branches.  Thanks to bshum for noticing

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

11 years agoexit finish_fines_and_voiding() if there is no open circ
erickson [Wed, 2 Feb 2011 18:53:25 +0000 (18:53 +0000)]
exit finish_fines_and_voiding() if there is no open circ

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

11 years agoApply autogenerate barcode trigger to serial.unit to enable serial checkin
dbs [Wed, 2 Feb 2011 03:28:33 +0000 (03:28 +0000)]
Apply autogenerate barcode trigger to serial.unit to enable serial checkin

Serial checkin tried to use the '@@AUTO' macro to autogenerate barcodes,
but unfortunately the required trigger had only been defined on the parent
table asset.copy and not on the child table serial.unit. Here we define the
trigger on serial.unit to resolve that problem.

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

11 years agomake sure that inline overdue fines generation completes before we attempt to void...
erickson [Tue, 1 Feb 2011 23:39:00 +0000 (23:39 +0000)]
make sure that inline overdue fines generation completes before we attempt to void overdues fines in checkin, otherwise it's possible to create multiple services (storage and cstore) competing for the same DB row mid-transaction, resulting in cstore timeouts and rollback of checkin.  This could happen with backdated or amnesty checkins

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

11 years agoAcq: Improving on r19351, don't let showCreatePane() be issued repeatedly to
senator [Tue, 1 Feb 2011 21:39:06 +0000 (21:39 +0000)]
Acq: Improving on r19351, don't let showCreatePane() be issued repeatedly to
fill the window with redundant dialogs, since a) it looks silly, and b) the
dialogs don't work when there are more than one of them. Thanks again Dan.

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

11 years agoThis should get this correct version of postgresql installed for clean
senator [Tue, 1 Feb 2011 21:22:40 +0000 (21:22 +0000)]
This should get this correct version of postgresql installed for clean
installations on debian-lenny, *if* your system has the backports repo enabled.

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

11 years agoAcq: make the "new provider" button under Admin -> Server Admin ->
senator [Tue, 1 Feb 2011 21:15:22 +0000 (21:15 +0000)]
Acq: make the "new provider" button under Admin -> Server Admin ->
Acquisitions -> Providers not produce a dialog with a ton of mysterious
whitespace. Spotted by Dan Scott.

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

11 years agomore whitespace fixing; may seem trivial, but will save a lot of time
senator [Tue, 1 Feb 2011 20:46:46 +0000 (15:46 -0500)]
more whitespace fixing; may seem trivial, but will save a lot of time
later in trying to understand what's what

11 years agoMerge branch 'master' of ssh://senator@yeti.esilibrary.com/home/evergreen/evergreen...
senator [Tue, 1 Feb 2011 20:40:15 +0000 (15:40 -0500)]
Merge branch 'master' of ssh://senator@yeti.esilibrary.com/home/evergreen/evergreen-equinox into opac-tt-poc

11 years agomore whitespace fixing, reorg, etc. note to self: JS in advanced page
senator [Tue, 1 Feb 2011 20:38:14 +0000 (15:38 -0500)]
more whitespace fixing, reorg, etc. note to self: JS in advanced page

11 years agowhitespace, syntax, and title fixes
senator [Tue, 1 Feb 2011 20:29:34 +0000 (15:29 -0500)]
whitespace, syntax, and title fixes

11 years agoforgot this for record
senator [Tue, 1 Feb 2011 20:25:55 +0000 (15:25 -0500)]
forgot this for record

11 years agorecord more complete
senator [Tue, 1 Feb 2011 20:25:29 +0000 (15:25 -0500)]
record more complete

11 years agoAdd record page; cleanup and reorg
senator [Tue, 1 Feb 2011 19:34:28 +0000 (14:34 -0500)]
Add record page; cleanup and reorg

11 years agoSerial: Little bug in the alt serials control item editor
senator [Mon, 31 Jan 2011 23:10:31 +0000 (23:10 +0000)]
Serial: Little bug in the alt serials control item editor

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

11 years agoMerge branch 'master' of ssh://senator@yeti.esilibrary.com/home/evergreen/evergreen...
senator [Mon, 31 Jan 2011 22:56:42 +0000 (17:56 -0500)]
Merge branch 'master' of ssh://senator@yeti.esilibrary.com/home/evergreen/evergreen-equinox into opac-tt-poc

11 years agoresults page kinda there
senator [Mon, 31 Jan 2011 22:44:41 +0000 (17:44 -0500)]
results page kinda there

11 years agoprogress on the results page
senator [Mon, 31 Jan 2011 22:38:52 +0000 (17:38 -0500)]
progress on the results page

11 years agoa little consolidation, a little linking of new pages to each other
senator [Mon, 31 Jan 2011 21:20:08 +0000 (16:20 -0500)]
a little consolidation, a little linking of new pages to each other

11 years agomyopac login form
senator [Mon, 31 Jan 2011 20:52:35 +0000 (15:52 -0500)]
myopac login form

11 years agominor missing parts from adv search
senator [Mon, 31 Jan 2011 20:22:02 +0000 (15:22 -0500)]
minor missing parts from adv search

11 years agoadvanced page getting there
senator [Mon, 31 Jan 2011 19:08:39 +0000 (14:08 -0500)]
advanced page getting there

11 years agouse tabs & spaces consistently, bleh :)
phasefx [Mon, 31 Jan 2011 18:56:09 +0000 (18:56 +0000)]
use tabs & spaces consistently, bleh :)

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

11 years agoIn actor.usr_purge_data, default destination user to admin (id=1).
phasefx [Mon, 31 Jan 2011 18:53:20 +0000 (18:53 +0000)]
In actor.usr_purge_data, default destination user to admin (id=1).

Destination user is where we move things like reports and acq picklists when
purging staff members.  However, if we tried to purge a patron that used to be
a staff member, then destination user was being set to null, which won't work
when updating things like requestor on holds.  The purge UI checks for the
STAFF_LOGIN permission on the user to be purged for determining whether to
prompt for a destination user or not.

Some alternatives to this change might include:
1) always asking for a destination user (and defaulting to admin or the
logged in staff member), or
2) robustifying the stored procedure and surrounding code to raise an
expected exception whenever this edge case hits, prompting the UI to try
again after asking for a destination user.

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

11 years agoenough super-lite js to make the advanced page with its tabbiness work
senator [Mon, 31 Jan 2011 18:10:20 +0000 (13:10 -0500)]
enough super-lite js to make the advanced page with its tabbiness work

11 years agocleanup and reorg parts so far
senator [Mon, 31 Jan 2011 17:56:42 +0000 (12:56 -0500)]
cleanup and reorg parts so far

11 years agokind of have the home page working, minus entity renderin
senator [Mon, 31 Jan 2011 17:21:25 +0000 (12:21 -0500)]
kind of have the home page working, minus entity renderin

11 years agoMerge branch 'opac-tt-poc' of ssh://senator@yeti.esilibrary.com/home/evergreen/evergr...
senator [Mon, 31 Jan 2011 15:08:09 +0000 (10:08 -0500)]
Merge branch 'opac-tt-poc' of ssh://senator@yeti.esilibrary.com/home/evergreen/evergreen-equinox into opac-tt-poc

11 years agomoved EGCatLoader to be consistent w/ new perlmod layout
Bill Erickson [Mon, 31 Jan 2011 14:59:52 +0000 (09:59 -0500)]
moved EGCatLoader to be consistent w/ new perlmod layout

11 years agoMerge branch 'master' of git+ssh://yeti.esilibrary.com/home/evergreen/evergreen-equin...
Bill Erickson [Mon, 31 Jan 2011 14:54:05 +0000 (09:54 -0500)]
Merge branch 'master' of git+ssh://yeti.esilibrary.com/home/evergreen/evergreen-equinox into opac-tt-poc

11 years agoThe new, ultra-basic tests caught this syntax error in BadDebt.pm
dbs [Mon, 31 Jan 2011 03:41:40 +0000 (03:41 +0000)]
The new, ultra-basic tests caught this syntax error in BadDebt.pm

Yay for ultra-basic tests!

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

11 years agoAdd basic unit tests for Evergreen Perl modules
dbs [Mon, 31 Jan 2011 03:30:42 +0000 (03:30 +0000)]
Add basic unit tests for Evergreen Perl modules

By "basic", I mean, "Can we use them without provoking a
syntax error?" and the answer is... all but one appear to
be clean, or have a legit reason for not being able to be
used normally. Stay tuned for the culprit...

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

11 years agoClean up Module::Build of Evergreen Perl modules
dbs [Mon, 31 Jan 2011 02:26:28 +0000 (02:26 +0000)]
Clean up Module::Build of Evergreen Perl modules

Give OpenILS.pm a head1 POD section to satisfy Module::Build's dist_abstract demand

Remove MYMETA.yml as it is a generated file.

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

11 years agoMake Evergreen Perl modules installable via Module::Build to match OpenSRF
dbs [Mon, 31 Jan 2011 02:14:37 +0000 (02:14 +0000)]
Make Evergreen Perl modules installable via Module::Build to match OpenSRF

Build.PL gives us an install-time check on dependencies; right now
the required versions are not set, but we can update these easily
to start catching some of the problematic modules that have tripped
sites up in the past.

Build.PL really seems to want a top-level "OpenILS.pm" so add a placeholder

Adjust references to /src/perlmods/ to /src/perlmods/lib/ even though
a number of the affected scripts are probably cruft.

Use autoconf to provide the default paths in O:WWW:Web and O:WWW:Method;
next step is probably to teach autoconf to ask Build.PL to do that for
us to make the OpenILS Perl modules more independent.

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

11 years agoinitial bookbags stub page
Bill Erickson [Mon, 31 Jan 2011 01:16:54 +0000 (20:16 -0500)]
initial bookbags stub page

11 years agominor terminology change
Bill Erickson [Mon, 31 Jan 2011 00:51:22 +0000 (19:51 -0500)]
minor terminology change

11 years agoreport when 0 items to list in circs/holds page
Bill Erickson [Mon, 31 Jan 2011 00:51:05 +0000 (19:51 -0500)]
report when 0 items to list in circs/holds page

11 years agoadded sample update-email operation; cleaned out some debug code
Bill Erickson [Mon, 31 Jan 2011 00:50:32 +0000 (19:50 -0500)]
added sample update-email operation; cleaned out some debug code

11 years agoadded org selector to search form; added 'loc' param to search next/prev links
Bill Erickson [Mon, 31 Jan 2011 00:00:25 +0000 (19:00 -0500)]
added org selector to search form; added 'loc' param to search next/prev links

11 years agofixed some cache bugs; added org location/depth search params; added org settings...
Bill Erickson [Sun, 30 Jan 2011 23:57:47 +0000 (18:57 -0500)]
fixed some cache bugs; added org location/depth search params; added org settings handler

11 years agoprotect against undef string warnings
Bill Erickson [Sun, 30 Jan 2011 23:56:11 +0000 (18:56 -0500)]
protect against undef string warnings

11 years agoWhitespace. gah.
dbs [Sun, 30 Jan 2011 05:54:47 +0000 (05:54 +0000)]
Whitespace. gah.

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

11 years agoReplace a hard-coded path in Cronscript.pm with a configure variable
dbs [Sun, 30 Jan 2011 05:47:52 +0000 (05:47 +0000)]
Replace a hard-coded path in Cronscript.pm with a configure variable

As much as possible, we need to avoid hard-coded paths if we
ever want to be packagable.

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

11 years agoDon't attempt to control 4xx fields in records
dbs [Sun, 30 Jan 2011 05:10:11 +0000 (05:10 +0000)]
Don't attempt to control 4xx fields in records

Per LP bug # 708029, it doesn't make sense to apply an
authority control on a 4xx field; so remove those entries
from the authority tag map.

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

11 years agoUse the browse method instead of startwith for Manage Authorities, too
dbs [Sun, 30 Jan 2011 04:31:56 +0000 (04:31 +0000)]
Use the browse method instead of startwith for Manage Authorities, too

Now that the browse method is working properly, adopt it for the
Manage Authorities interface as well so that context around the
search term can be provided.

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

11 years agoCorrect authority browsing for reals
dbs [Sun, 30 Jan 2011 04:22:08 +0000 (04:22 +0000)]
Correct authority browsing for reals

First, restore the >= enable before and after ranges in
authority_tag_sf_browse(), after I mistakenly removed it in
r19131; the second storage request for $after does not
stomp on the prior $before results, it simply gets pushed
onto the carefully constructed list of $before results,
ensuring that our target is in the middle of page 0.

Second, we're treating all of the "tag" members in the
method registration as list references now (for the purpose
of searching against 4xx/5xx in the .refs. variants), but
that was blowing up when we registered just a single tag as
a string and tried to treat the scalar as a list reference.
I could have checked to see if what we had incoming was a
reference and dance accordingly, but opted to just define
all single-tag entries as single-element arrays instead.
Applied the same to startwith.

Finally, in r19331 I had used chop() to ensure that an
exact match for startwith would be returned as element 1 on
page 0, instead of appearing as the last element of page -1.
I had said that the right way to do this would be to naco_normalize()
the value to match the normalized afr.value, and so this is what
I have done. Rather than torturously using O:A:Storage:FTS to get
at the naco_normalize() definition, I moved the function into its
own Utils package and adjusted its usage accordingly through the
affected code. One step closer to single-sourcing the function
in the database, as well?

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

11 years agoFor more predictable authority browse results, use startwith until browse is sorted out
dbs [Sat, 29 Jan 2011 18:03:26 +0000 (18:03 +0000)]
For more predictable authority browse results, use startwith until browse is sorted out

authority_tag_sf_browse() was returning unexpected results when only a small
set of authority records was loaded. This may be an indication of a corner
case, but until we sort that out the more straightforward startwith should
be used.

Also, chop the final character of the incoming search value to ensure
that an exact match is returned on page 0 instead of page -1. For example,
'Bacon, Jono.' becomes 'Bacon, Jono' for the search. (The right thing to
do, come to think of it, is probably to naco_normalize the incoming value;
perhaps next patch).

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

11 years agomake title/author links on holds page
Bill Erickson [Sat, 29 Jan 2011 15:30:52 +0000 (10:30 -0500)]
make title/author links on holds page

11 years agoMerge branch 'master' of git+ssh://yeti.esilibrary.com/home/evergreen/evergreen-equin...
Bill Erickson [Sat, 29 Jan 2011 15:25:55 +0000 (10:25 -0500)]
Merge branch 'master' of git+ssh://yeti.esilibrary.com/home/evergreen/evergreen-equinox into opac-tt-poc

11 years agominor circs page tweaks: disable renew option when no renewals left; make title...
Bill Erickson [Sat, 29 Jan 2011 15:25:45 +0000 (10:25 -0500)]
minor circs page tweaks: disable renew option when no renewals left;  make title/author links

11 years agoAddress typos in Rollover and Propagation dialogue
dbs [Sat, 29 Jan 2011 05:15:48 +0000 (05:15 +0000)]
Address typos in Rollover and Propagation dialogue

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

11 years agoStay in sync with entity name changes
senator [Fri, 28 Jan 2011 21:18:46 +0000 (21:18 +0000)]
Stay in sync with entity name changes

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

11 years agoSerials: Add some missing permacrud permissions to IDL
senator [Fri, 28 Jan 2011 20:51:58 +0000 (20:51 +0000)]
Serials: Add some missing permacrud permissions to IDL

7 classes (sdistn, siss, sunit, sin, sbsum, sssum, sisum) were missing IDL
perms.  Appropriate permissions were added to all but sin (serial_item_note).

For the sin class, since it's several leaps away from anything that points at
an org unit, and since no existing code deals with it via PermaCrud, its
PermaCrud section was simply removed.

Some classes retain open <retrieve /> permissions, and others do not.

No new permissions were created for this. All permissions are reused from
"higher" serials objects.

Credit to Mike Rylander for spotting the omissions.

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

11 years agoRename custom.js to custom.js.example. This file should be under local control,...
phasefx [Fri, 28 Jan 2011 19:39:03 +0000 (19:39 +0000)]
Rename custom.js to custom.js.example.  This file should be under local control, and not trampled

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

11 years agoReplace the native dump() function with a wrapper function that takes an optional...
phasefx [Fri, 28 Jan 2011 19:38:57 +0000 (19:38 +0000)]
Replace the native dump() function with a wrapper function that takes an optional 2nd parameter for log level (defaults to debug)
Log level: 0 None, 1 Error, 2 Warning, 3 Info, 4 debug
A global _dump_level variable gets consulted when the function is used.  The default is 2, Warning.
So by default, until we start changing things, this will suppress most of the existing dump statements.  Some are slipping through the cracks based on when the function replacement happens, but I'm happy with it.  We also prepend the dump msg with a label for the log level.

_dump_level could be locally customized with server/skin/custom.js

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

11 years agomake the default sdump setup less noisy
phasefx [Fri, 28 Jan 2011 19:38:06 +0000 (19:38 +0000)]
make the default sdump setup less noisy

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

11 years agobeginning of boiling down the home page of the kcls skin
senator [Fri, 28 Jan 2011 19:30:17 +0000 (14:30 -0500)]
beginning of boiling down the home page of the kcls skin

11 years agoeffectively fixes tab locking with the MARC editor, and makes the previous fix with...
phasefx [Fri, 28 Jan 2011 17:37:32 +0000 (17:37 +0000)]
effectively fixes tab locking with the MARC editor, and makes the previous fix with the patron editor redundant.  bleh :)

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

11 years agotweaking the debug output for page/tab locking
phasefx [Fri, 28 Jan 2011 17:37:25 +0000 (17:37 +0000)]
tweaking the debug output for page/tab locking

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

11 years agoneed to record the schema version in the upgrade script ... spotted by Thomas Berezansky
miker [Fri, 28 Jan 2011 15:33:15 +0000 (15:33 +0000)]
need to record the schema version in the upgrade script ... spotted by Thomas Berezansky

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

11 years agoschema version bump required by previous commit
miker [Fri, 28 Jan 2011 15:06:07 +0000 (15:06 +0000)]
schema version bump required by previous commit

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

11 years agoPatch from Thomas Berezansky addressing logical importance of various circulation...
miker [Fri, 28 Jan 2011 14:58:37 +0000 (14:58 +0000)]
Patch from Thomas Berezansky addressing logical importance of various circulation and hold matrix matchpoint components.

Previous to this commit, INDB circ and holds use a pre-defined weighting set for rule ordering. This can be changed via replacing the relevant "find" functions in the database, but this is not easily done for most people.

The weight set for circ matchpoints is obtained based on the context ou of the circ (aka, where the circ is happening).

The weight set for hold matchpoints is obtained based on the item's circ library (aka, where the item lives).

Optionally, add an enabled circ.holds.weight_owner_not_circ internal flag to have the weight set for hold matchpoints be obtained based on the item's owning library (owner of the call number).

TODO: discuss promotion of circ.holds.weight_owner_not_circ to a Global Flag; wikified or docbook'd documentation and use-case examples.

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

11 years agoholds retrieval is a hefty process, created a parallelizer for testing; shows good...
Bill Erickson [Thu, 27 Jan 2011 22:40:47 +0000 (17:40 -0500)]
holds retrieval is a hefty process, created a parallelizer for testing; shows good speed improvemetn on larger batches of holds

11 years agoShow hold statuses
senator [Thu, 27 Jan 2011 21:28:59 +0000 (16:28 -0500)]
Show hold statuses

11 years agoMerge branch 'master' of git+ssh://yeti.esilibrary.com/home/evergreen/evergreen-equin...
Bill Erickson [Thu, 27 Jan 2011 21:00:34 +0000 (16:00 -0500)]
Merge branch 'master' of git+ssh://yeti.esilibrary.com/home/evergreen/evergreen-equinox into opac-tt-poc

11 years agoMerge branch 'opac-tt-poc' of git+ssh://yeti.esilibrary.com/home/evergreen/evergreen...
Bill Erickson [Thu, 27 Jan 2011 21:00:25 +0000 (16:00 -0500)]
Merge branch 'opac-tt-poc' of git+ssh://yeti.esilibrary.com/home/evergreen/evergreen-equinox into opac-tt-poc

11 years agomore holds placement work; use http referer as default redirect_to option for login...
Bill Erickson [Thu, 27 Jan 2011 21:00:19 +0000 (16:00 -0500)]
more holds placement work; use http referer as default redirect_to option for login page and post-holds-placement page; when a secure resource is requested, redirect to login page

11 years agoMake window.print() configurable. The "Mozilla Print" strategy is internally identif...
phasefx [Thu, 27 Jan 2011 20:58:41 +0000 (20:58 +0000)]
Make window.print() configurable.  The "Mozilla Print" strategy is internally identified as 'webBrowserPrint', and it uses XPCOM for printing the contents of an HTML document.  However, in some cases we override this with a 'window.print' strategy to workaround bugs.  A problem with this has been that an actual bare javascript window.print() does not honor any of configured "gPrintSettings".  However, it is informed by (and in turn informs) a Mozilla preference called print.print_printer.  Right now window.print (if used from within the JSAN util.print library) only gets called in when in the Default printer context/role.  So we force print.print_printer to equal the configured printer for the Default role.  Have I mentioned that I hate printing in Mozilla?

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

11 years agoshow kcls-style mat-type images for holds
senator [Thu, 27 Jan 2011 20:49:27 +0000 (15:49 -0500)]
show kcls-style mat-type images for holds

11 years agoMerge branch 'opac-tt-poc' of ssh://senator@yeti.esilibrary.com/home/evergreen/evergr...
senator [Thu, 27 Jan 2011 20:04:25 +0000 (15:04 -0500)]
Merge branch 'opac-tt-poc' of ssh://senator@yeti.esilibrary.com/home/evergreen/evergreen-equinox into opac-tt-poc

11 years agoformat/mat-type start
senator [Thu, 27 Jan 2011 20:04:07 +0000 (15:04 -0500)]
format/mat-type start

11 years agomore holds work; added item form/type/lang maps to list of public access classes...
Bill Erickson [Thu, 27 Jan 2011 19:55:44 +0000 (14:55 -0500)]
more holds work; added item form/type/lang maps to list of public access classes; removed some unused test tempates

11 years agoHolds editing is totally giraffes for the moment
senator [Thu, 27 Jan 2011 19:21:47 +0000 (14:21 -0500)]
Holds editing is totally giraffes for the moment

11 years agoMerge branch 'opac-tt-poc' of ssh://senator@yeti.esilibrary.com/home/evergreen/evergr...
senator [Thu, 27 Jan 2011 17:37:04 +0000 (12:37 -0500)]
Merge branch 'opac-tt-poc' of ssh://senator@yeti.esilibrary.com/home/evergreen/evergreen-equinox into opac-tt-poc

11 years agofines summary
senator [Thu, 27 Jan 2011 17:36:52 +0000 (12:36 -0500)]
fines summary

11 years agoMerge branch 'master' of git+ssh://yeti.esilibrary.com/home/evergreen/evergreen-equin...
Bill Erickson [Thu, 27 Jan 2011 17:11:03 +0000 (12:11 -0500)]
Merge branch 'master' of git+ssh://yeti.esilibrary.com/home/evergreen/evergreen-equinox into opac-tt-poc

11 years agoMerge branch 'opac-tt-poc' of git+ssh://yeti.esilibrary.com/home/evergreen/evergreen...
Bill Erickson [Thu, 27 Jan 2011 17:10:56 +0000 (12:10 -0500)]
Merge branch 'opac-tt-poc' of git+ssh://yeti.esilibrary.com/home/evergreen/evergreen-equinox into opac-tt-poc

11 years agoadded perl bits for hold cancel/suspend/activate all/selected w/ sample tempate compo...
Bill Erickson [Thu, 27 Jan 2011 17:10:49 +0000 (12:10 -0500)]
added perl bits for hold cancel/suspend/activate all/selected w/ sample tempate components

11 years agoThis isn't the time/place for finesse, but these tweaks make development easier
senator [Thu, 27 Jan 2011 17:04:11 +0000 (12:04 -0500)]
This isn't the time/place for finesse, but these tweaks make development easier

11 years agoctx.responses was for debugging; don't need it
senator [Thu, 27 Jan 2011 16:47:45 +0000 (11:47 -0500)]
ctx.responses was for debugging; don't need it

11 years agoMerge branch 'opac-tt-poc' of ssh://senator@yeti.esilibrary.com/home/evergreen/evergr...
senator [Thu, 27 Jan 2011 16:46:31 +0000 (11:46 -0500)]
Merge branch 'opac-tt-poc' of ssh://senator@yeti.esilibrary.com/home/evergreen/evergreen-equinox into opac-tt-poc