]> git.evergreen-ils.org Git - working/Evergreen.git/log
working/Evergreen.git
13 years agoAcq: Make the distribution formula UI page like it was supposed to
senator [Wed, 27 Oct 2010 14:52:36 +0000 (14:52 +0000)]
Acq: Make the distribution formula UI page like it was supposed to

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

13 years agofix glitch in escaping call number labels
gmc [Wed, 27 Oct 2010 12:06:22 +0000 (12:06 +0000)]
fix glitch in escaping call number labels

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
git-svn-id: svn://svn.open-ils.org/ILS/trunk@18487 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agoView Source option for embedded browser (click on the Debug link)
phasefx [Wed, 27 Oct 2010 05:10:39 +0000 (05:10 +0000)]
View Source option for embedded browser (click on the Debug link)

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

13 years agoCopy template editor was still glitchy on create. No more.
senator [Tue, 26 Oct 2010 22:11:19 +0000 (22:11 +0000)]
Copy template editor was still glitchy on create. No more.

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

13 years agoMore reordering of JS. Helps for simple interfaces, not for complex ones. More work...
miker [Tue, 26 Oct 2010 20:11:59 +0000 (20:11 +0000)]
More reordering of JS. Helps for simple interfaces, not for complex ones. More work needed.

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

13 years agoallow openils.XUL to work (and report false for isXUL()) outside xulrunner/firefox
miker [Tue, 26 Oct 2010 20:04:01 +0000 (20:04 +0000)]
allow openils.XUL to work (and report false for isXUL()) outside xulrunner/firefox

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

13 years agofix NACO normalization of four letter modifier characters
gmc [Tue, 26 Oct 2010 19:35:38 +0000 (19:35 +0000)]
fix NACO normalization of four letter modifier characters

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
git-svn-id: svn://svn.open-ils.org/ILS/trunk@18476 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agomove the "I need a transaction" marker into the called method, removing 2 perl round...
miker [Tue, 26 Oct 2010 15:31:17 +0000 (15:31 +0000)]
move the "I need a transaction" marker into the called method, removing 2 perl round-trips to start the transaction and close it

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

13 years agoJS reordering to account for readyState event leakage from XHR to the main page
miker [Tue, 26 Oct 2010 14:52:25 +0000 (14:52 +0000)]
JS reordering to account for readyState event leakage from XHR to the main page

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

13 years agoinclude more information in the debugging dump; correct the "back to index" link
miker [Tue, 26 Oct 2010 13:59:30 +0000 (13:59 +0000)]
include more information in the debugging dump; correct the "back to index" link

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

13 years agoFloating field in alternate item details UI
phasefx [Mon, 25 Oct 2010 19:15:49 +0000 (19:15 +0000)]
Floating field in alternate item details UI

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

13 years agoquickly, before anyone notices ... minor speed enhancement (aka, thinko)
miker [Mon, 25 Oct 2010 18:31:20 +0000 (18:31 +0000)]
quickly, before anyone notices ... minor speed enhancement (aka, thinko)

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

13 years agoBring 1.6.1-2.0 upgrade script in line with reality
miker [Mon, 25 Oct 2010 18:21:40 +0000 (18:21 +0000)]
Bring 1.6.1-2.0 upgrade script in line with reality

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

13 years agoIn 2.0+ we require PG 8.4+ which means we have WITH RECURSIVE support, so use that...
miker [Mon, 25 Oct 2010 18:01:25 +0000 (18:01 +0000)]
In 2.0+ we require PG 8.4+ which means we have WITH RECURSIVE support, so use that instead of tablefunc connect_by.

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

13 years agoDump some debugging output from clark; may later make this optional, but we usually...
miker [Mon, 25 Oct 2010 16:25:05 +0000 (16:25 +0000)]
Dump some debugging output from clark; may later make this optional, but we usually need it when looking for the cause of problems.

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

13 years agoImproved subject formatting on summary page, and better title bookmarking
dbs [Mon, 25 Oct 2010 15:15:49 +0000 (15:15 +0000)]
Improved subject formatting on summary page, and better title bookmarking

Apply a modified version of Ben Ostrowsky's patch from
https://bugs.launchpad.net/evergreen/+bug/627133 - the modifications include
using BT.textContent() to retrieve the text of the subfields, and
getAttribute() instead of dojo.attr() for IE support.

From the description of 627133:

Currently the BibTemplate code in rdetail/rdetail_summary.xml for display
of subject headings only includes the 650. It should be expanded to:

  * include all standard subject added entry fields (or more broadly, all 6XX)
  * exclude control subfields (those whose subfield label is a digit) from display
  * only using the double-dash separator before subfields $x, $y, $z, and $v.
    The display text of other subfields should be separated from one another only
    by a space.

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

13 years agofurther protection against dreaded opac bank page; wrap settimeout redetail bibtempla...
erickson [Fri, 22 Oct 2010 20:40:25 +0000 (20:40 +0000)]
further protection against dreaded opac bank page; wrap settimeout redetail bibtemplate loading in an onload to ensure it runs after dojo onload events

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

13 years agoUse standard JS syntax; var [...] seems to be a Spidermonkey extension
miker [Fri, 22 Oct 2010 19:26:04 +0000 (19:26 +0000)]
Use standard JS syntax; var [...] seems to be a Spidermonkey extension

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

13 years agotypo in setTimeout spotted by dbs
miker [Fri, 22 Oct 2010 16:25:08 +0000 (16:25 +0000)]
typo in setTimeout spotted by dbs

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

13 years agoAcq: fix minor bug, sometimes view/place orders interface failed if you clicked
senator [Fri, 22 Oct 2010 16:23:55 +0000 (16:23 +0000)]
Acq: fix minor bug, sometimes view/place orders interface failed if you clicked
"Add to Selection List" for a new order

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

13 years agoMove dojo loading around to avoid the "white screen of death" in Firefox and xulrunne...
miker [Fri, 22 Oct 2010 16:19:49 +0000 (16:19 +0000)]
Move dojo loading around to avoid the "white screen of death" in Firefox and xulrunner (See: http://o.dojotoolkit.org/forum/dojo-foundation/general-discussion/firefox-3-fires-domcontentloaded-event-prematurely )

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

13 years agoSerials: in alt serial controls, subscription details, avoid cut-off autogrid
senator [Thu, 21 Oct 2010 19:33:09 +0000 (19:33 +0000)]
Serials: in alt serial controls, subscription details, avoid cut-off autogrid

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

13 years agoilsevent is no longer a number, but a string. I knew that, but missed these tests
phasefx [Thu, 21 Oct 2010 16:08:50 +0000 (16:08 +0000)]
ilsevent is no longer a number, but a string.  I knew that, but missed these tests

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

13 years agoadding database update missed in previous commit
gmc [Thu, 21 Oct 2010 14:45:13 +0000 (14:45 +0000)]
adding database update missed in previous commit

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
git-svn-id: svn://svn.open-ils.org/ILS/trunk@18435 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agoimprove call number sorting
gmc [Thu, 21 Oct 2010 14:44:35 +0000 (14:44 +0000)]
improve call number sorting

oils_text_as_bytea now does uppercasing in addition
to converting strings to bytea, working around
the limitation that json_query can't stack transforms

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
git-svn-id: svn://svn.open-ils.org/ILS/trunk@18434 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agouse a transaction when searching for the nearest hold request
gmc [Wed, 20 Oct 2010 21:47:34 +0000 (21:47 +0000)]
use a transaction when searching for the nearest hold request

Solves the following problem in a setup that uses Slony - if
multiple items that can fulfill the same hold are checked
in one after another, occassionally two items will end up
being put in transit for the same hold request.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
git-svn-id: svn://svn.open-ils.org/ILS/trunk@18432 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agoPatch from tsbere for new tab versus current tab behavior with the button bar:
phasefx [Wed, 20 Oct 2010 21:10:51 +0000 (21:10 +0000)]
Patch from tsbere for new tab versus current tab behavior with the button bar:
---
The attached patch to trunk adds the ability to set an open-ils.toolbar.defaultnewtab preference to cause the toolbar buttons to open in a new tab instead of the current tab. Holding the "accel" key (default of ctrl on windows/linux and command on mac) will do the opposite.

I only applied this to the five commands currently in use on the toolbar for now. Any other commands added to the toolbar will need to have their command handlers in menu.js updated.

Thomas Berezansky
Merrimack Valley Library Consortium

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

13 years agoadded some time diagnostics to checkin process; more org unit caching; do less user...
erickson [Wed, 20 Oct 2010 20:44:58 +0000 (20:44 +0000)]
added some time diagnostics to checkin process;  more org unit caching; do less user fleshing on hold user during checkin (only card and name is needed)

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

13 years agoThese fields exist ... tell the IDL about them
miker [Wed, 20 Oct 2010 20:44:23 +0000 (20:44 +0000)]
These fields exist ... tell the IDL about them

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

13 years agoadd start_date and end_date to scap serialization
miker [Wed, 20 Oct 2010 20:33:32 +0000 (20:33 +0000)]
add start_date and end_date to scap serialization

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

13 years agodon't allow inactive cards with web-selfcheck
phasefx [Wed, 20 Oct 2010 20:15:01 +0000 (20:15 +0000)]
don't allow inactive cards with web-selfcheck

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

13 years agoRemove accidental duplicated line
senator [Wed, 20 Oct 2010 20:13:49 +0000 (20:13 +0000)]
Remove accidental duplicated line

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

13 years agoFix a set of supercat bugs in handling records with subscriptions attached. The
senator [Wed, 20 Oct 2010 19:51:47 +0000 (19:51 +0000)]
Fix a set of supercat bugs in handling records with subscriptions attached. The
most noticeable manifestation was that you wouldn't see local call numbers in
the opac for any such record.

Credit to miker for help with the bug squashing and filling in missing pieces.

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

13 years agoAction/trigger: restore the environment-flesher's ability to try reporter-store
senator [Wed, 20 Oct 2010 19:35:42 +0000 (19:35 +0000)]
Action/trigger: restore the environment-flesher's ability to try reporter-store
if cstore is not among the controllers on a needed class

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

13 years agoreporter.materialized_simple_record isn't really /just/ for reporter, as it's
senator [Wed, 20 Oct 2010 17:32:55 +0000 (17:32 +0000)]
reporter.materialized_simple_record isn't really /just/ for reporter, as it's
linked to from bre

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

13 years ago1.6.1-2.0 upgrade script needs to fall in line with reality, re 0442
miker [Wed, 20 Oct 2010 16:39:40 +0000 (16:39 +0000)]
1.6.1-2.0 upgrade script needs to fall in line with reality, re 0442

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

13 years agoPrevent "Validate" from matching against deleted authority records
dbs [Wed, 20 Oct 2010 16:17:45 +0000 (16:17 +0000)]
Prevent "Validate" from matching against deleted authority records

2.0 introduces the ability to delete authority records. The routines in
OpenILS:Application:Storage:Publisher:authority check for matching values
of authority.full_rec without concern about whether the corresponding
entry in authority.record_entry has been deleted or not.

This change removes entries from authority.full_rec when an
authority.record_entry row is deleted, with the (possibly incorrect)
assumption that there won't be many cases where users will want to
search for deleted authority records and undelete them. If that
assumption turns out to be incorrect, then further changes can follow;
this change at least makes the current behaviour for user-visible
actions work as expected.

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

13 years agoAlt serials interface tweak
senator [Wed, 20 Oct 2010 15:59:55 +0000 (15:59 +0000)]
Alt serials interface tweak

Add a shortcut for the user to jump back from the streams interface to the
distributions tab of the subscription details interface

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

13 years agoduring checkin, an item's hold may have a fleshed pickup_lib. added code to detect...
erickson [Wed, 20 Oct 2010 15:23:35 +0000 (15:23 +0000)]
during checkin, an item's hold may have a fleshed pickup_lib.  added code to detect and protect against treating a ref as an ID.  minor cleanup

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

13 years agoSummary: Patch from Thomas Berezansky providing an alternate implementation of Hard...
miker [Wed, 20 Oct 2010 13:23:09 +0000 (13:23 +0000)]
Summary: Patch from Thomas Berezansky providing an alternate implementation of Hard Due Dates.

Overview:
 * Moves hard due date configuration from the duration rule to the circ matrix
 * Implements backward-compatible API for circ scripts
 * Provides a stored procedure which updates hard due date values on demand

Further extension by Mike Rylander:
 * Provide a srfsh script and crontab.example entry to fire the stored procedure nightly
 * Expose stored procedure and add to the upgrade script

TODO: Create UIs for configuring hard due dates; integrate into version upgrade scripts

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

13 years agoUse a transaction when clearing the expired circ history
miker [Wed, 20 Oct 2010 12:56:34 +0000 (12:56 +0000)]
Use a transaction when clearing the expired circ history

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

13 years agoexpand the scope of BT on the result list page, allowing simpler slots
miker [Tue, 19 Oct 2010 20:37:10 +0000 (20:37 +0000)]
expand the scope of BT on the result list page, allowing simpler slots

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

13 years agoupdate 1.6.1 to 2.0 upgrade script for 0441
gmc [Mon, 18 Oct 2010 23:02:23 +0000 (23:02 +0000)]
update 1.6.1 to 2.0 upgrade script for 0441

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
git-svn-id: svn://svn.open-ils.org/ILS/trunk@18390 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agofix mapping of the crossed D character in naco_normalize
gmc [Mon, 18 Oct 2010 22:56:48 +0000 (22:56 +0000)]
fix mapping of the crossed D character in naco_normalize

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
git-svn-id: svn://svn.open-ils.org/ILS/trunk@18388 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agoMake editing of asset.copy_template a little more friendly (AutoGrid w/ pcrud
senator [Mon, 18 Oct 2010 21:53:44 +0000 (21:53 +0000)]
Make editing of asset.copy_template a little more friendly (AutoGrid w/ pcrud
can't deal with editor/creator fields for you).

Incidentally add createPaneOnSubmit and editPaneOnSubmit attributes to
AutoGrid that take a function name as their values, specifying an alternate
callback function to use instead of pcrud.create/update

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

13 years agoSerials: add functionality meant for "Previous Issuance Copy Location" setting
senator [Mon, 18 Oct 2010 19:44:55 +0000 (19:44 +0000)]
Serials: add functionality meant for "Previous Issuance Copy Location" setting

Simply put, if you're receiving an item a branch for which the org-unit
setting "serial.prev_issuance_copy_location" has a value, the previously
received copy matching the same distribution and stream as the item you're
receiving now will be moved to that copy location specified in the org-unit
setting.

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

13 years agoProtect biblio.extract_located_uris() from a NULL uri_use value by using the href...
dbs [Mon, 18 Oct 2010 19:05:19 +0000 (19:05 +0000)]
Protect biblio.extract_located_uris() from a NULL uri_use value by using the href as a fallback

If an 856 field contained a subfield "9" but did not contain a subfield
"z", "2", or "n", then ingest of the MARC record would fail as it attempted
to retrieve an asset.uri row where uri_use = NULL - which was never true.

This change adds the subfield "u" to fall back to for the uri_use variable,
just like we do for the uri_label variable, and prevents ugly ingest errors
from getting thrown back at the client.

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

13 years agostop sign page was incorrectly coming up for all penalties
phasefx [Mon, 18 Oct 2010 17:44:59 +0000 (17:44 +0000)]
stop sign page was incorrectly coming up for all penalties

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

13 years agomake Circulation -> Enter Offline Interface open a new window instead of a tab, like...
phasefx [Mon, 18 Oct 2010 16:18:40 +0000 (16:18 +0000)]
make Circulation -> Enter Offline Interface open a new window instead of a tab, like the button from the login window.  This works around a permission issue with loading the offline receipt templates

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

13 years agofix billing interface so that %title% and %barcode% work in bill_payment template
phasefx [Mon, 18 Oct 2010 15:35:50 +0000 (15:35 +0000)]
fix billing interface so that %title% and %barcode% work in bill_payment template

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

13 years agocorrect default bills_historical template to use %mbts_id% instead of %id%. Also...
phasefx [Mon, 18 Oct 2010 15:35:46 +0000 (15:35 +0000)]
correct default bills_historical template to use %mbts_id% instead of %id%.  Also add in %title%

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

13 years agogo ahead and use the new index if we need to
miker [Sat, 16 Oct 2010 15:38:21 +0000 (15:38 +0000)]
go ahead and use the new index if we need to

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

13 years agoneed to update this index as well
miker [Sat, 16 Oct 2010 15:35:39 +0000 (15:35 +0000)]
need to update this index as well

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

13 years agouse a function to wrap up escaping of solidus and casting to bytea, propogate to...
miker [Sat, 16 Oct 2010 15:32:32 +0000 (15:32 +0000)]
use a function to wrap up escaping of solidus and casting to bytea, propogate to indexing and where/order_by

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

13 years agotweak expanding search field aliases
gmc [Fri, 15 Oct 2010 13:08:52 +0000 (13:08 +0000)]
tweak expanding search field aliases

Avoids a glitch that can occur if a search field alias
exists that happens to have the same name as a search field.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
git-svn-id: svn://svn.open-ils.org/ILS/trunk@18353 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agoIf an item is captured for a hold, but not in transit (i.e. on holds shelf), set...
erickson [Thu, 14 Oct 2010 22:17:21 +0000 (22:17 +0000)]
If an item is captured for a hold, but not in transit (i.e. on holds shelf), set the destination_location equal to the pickup library (i.e where it's supposedly on the shelf).  This is useful for autmated sorting so that the item will return to the branch whose shelf where it belongs.

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

13 years agoforce granularity-only when any granularity is specified
miker [Thu, 14 Oct 2010 20:17:00 +0000 (20:17 +0000)]
force granularity-only when any granularity is specified

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

13 years ago"as" not "to" ... you pointed that out the first time, miker, what is your deal?
miker [Thu, 14 Oct 2010 20:04:05 +0000 (20:04 +0000)]
"as" not "to" ... you pointed that out the first time, miker, what is your deal?

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

13 years agorepaired upgrade version
erickson [Thu, 14 Oct 2010 19:57:42 +0000 (19:57 +0000)]
repaired upgrade version

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

13 years agobackward compat indexing for label instead of label_sortkey
miker [Thu, 14 Oct 2010 19:33:41 +0000 (19:33 +0000)]
backward compat indexing for label instead of label_sortkey

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

13 years agocast label_sortkey to bytea in order to get ascii-betical sorting in any locale,...
miker [Thu, 14 Oct 2010 19:18:11 +0000 (19:18 +0000)]
cast label_sortkey to bytea in order to get ascii-betical sorting in any locale, even C. stupid glibc ...

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

13 years agopatch from Steve Callendar to avoid resetting the passwd every time a phone number...
miker [Thu, 14 Oct 2010 18:35:27 +0000 (18:35 +0000)]
patch from Steve Callendar to avoid resetting the passwd every time a phone number changes

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

13 years agocorrect top-half ordering by label_sortkey
miker [Thu, 14 Oct 2010 18:13:20 +0000 (18:13 +0000)]
correct top-half ordering by label_sortkey

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

13 years agochange the Swap Editor button to a persisted checkbox
phasefx [Thu, 14 Oct 2010 15:29:29 +0000 (15:29 +0000)]
change the Swap Editor button to a persisted checkbox

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

13 years agodefault to standard cstore instead of rstore for env building editor
erickson [Wed, 13 Oct 2010 20:16:58 +0000 (20:16 +0000)]
default to standard cstore instead of rstore for env building editor

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

13 years agoclean up duplicate system-controlled penalties during penalty calculation; perform...
erickson [Wed, 13 Oct 2010 20:16:57 +0000 (20:16 +0000)]
clean up duplicate system-controlled penalties during penalty calculation; perform penalty trigger event creation after the standalone commit occurs.  todo, handle non-standalone post-commit penalty trigger event creation

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

13 years agoChanges to the treatment of ORDER BY:
scottmk [Wed, 13 Oct 2010 18:53:56 +0000 (18:53 +0000)]
Changes to the treatment of ORDER BY:

1. For json_query: when ORDER BY is expressed as an object keyed on class
(instead of an array of field specifications), and the class is not in
scope, error out instead of silently ignoring the class.

The other changes affect only methods other than json_query:

2. When the ORDER BY list is provided as a raw text string: block any
string containing a semicolon, in order to block simple SQL injections.
For now we make no exceptions for quoted semicolons, which are not
likely ever to appear an an ORDER BY clause.

3. Keep virtual fields out of the ORDER BY clause.  For now we silently
ignore them, as we ignore non-existent fields.  In both cases we should
perhaps error out.

4. Don't require that a class referenced in the ORDER BY clause also be
referenced in the SELECT clause.  Just make sure it's in scope.

M    Open-ILS/src/c-apps/oils_sql.c

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

13 years agooverzealous trimming of cat.properties
phasefx [Wed, 13 Oct 2010 16:30:38 +0000 (16:30 +0000)]
overzealous trimming of cat.properties

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

13 years agoUse just one transaction, and inside an rstore editor no less, for fleshing env paths
miker [Wed, 13 Oct 2010 16:17:14 +0000 (16:17 +0000)]
Use just one transaction, and inside an rstore editor no less, for fleshing env paths

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

13 years agowhen the target for an event is no longer around, immediately invalidate the event...
erickson [Wed, 13 Oct 2010 16:13:23 +0000 (16:13 +0000)]
when the target for an event is no longer around, immediately invalidate the event and prevent the event from bubbling up for further processing

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

13 years agomissing semicolon
phasefx [Wed, 13 Oct 2010 16:03:25 +0000 (16:03 +0000)]
missing semicolon

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

13 years agothinko supporting multiple rules of the same type in in-line merge rulesets
miker [Wed, 13 Oct 2010 02:33:59 +0000 (02:33 +0000)]
thinko supporting multiple rules of the same type in in-line merge rulesets

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

13 years agodouble-arg, backwards logic
miker [Wed, 13 Oct 2010 00:29:38 +0000 (00:29 +0000)]
double-arg, backwards logic

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

13 years agoarg, missing semicolon
miker [Wed, 13 Oct 2010 00:28:43 +0000 (00:28 +0000)]
arg, missing semicolon

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

13 years agodeduplicate bibs going into the merge queue
miker [Wed, 13 Oct 2010 00:27:46 +0000 (00:27 +0000)]
deduplicate bibs going into the merge queue

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

13 years agoentry points for miker_'s batch marc editor
phasefx [Tue, 12 Oct 2010 21:32:21 +0000 (21:32 +0000)]
entry points for miker_'s batch marc editor

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

13 years agowhen we have no target field, add the entire source field, even when we have a subfie...
miker [Tue, 12 Oct 2010 21:31:33 +0000 (21:31 +0000)]
when we have no target field, add the entire source field, even when we have a subfield designation

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

13 years agoGet rid of commas, apparently confusing; make action button label more generic /...
miker [Tue, 12 Oct 2010 20:31:31 +0000 (20:31 +0000)]
Get rid of commas, apparently confusing; make action button label more generic / less "developery"

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

13 years agomore terminology cleanup and inline documentation
miker [Tue, 12 Oct 2010 19:55:58 +0000 (19:55 +0000)]
more terminology cleanup and inline documentation

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

13 years agonew record merge UI. needs r18287, r18288. I'll backport them all together
phasefx [Tue, 12 Oct 2010 19:35:42 +0000 (19:35 +0000)]
new record merge UI.  needs r18287, r18288.  I'll backport them all together

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

13 years agovertical bib summary (mainly for use in the Merge Record interface). I tried using...
phasefx [Tue, 12 Oct 2010 19:34:50 +0000 (19:34 +0000)]
vertical bib summary (mainly for use in the Merge Record interface).  I tried using just bib_brief.xul with document.loadOverlay to choose between bib_brief_overlay_vertical.xul and bib_brief_overlay.xul based on a param, but was running into too much pain going that route.

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

13 years agoallow util.deck to be instantiated with either a xul deck object or a xul deck id
phasefx [Tue, 12 Oct 2010 19:34:39 +0000 (19:34 +0000)]
allow util.deck to be instantiated with either a xul deck object or a xul deck id

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

13 years agoadd option for hiding entire embedded browser toolbar
phasefx [Tue, 12 Oct 2010 19:34:35 +0000 (19:34 +0000)]
add option for hiding entire embedded browser toolbar

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

13 years agoimprove labeling and documentation
miker [Tue, 12 Oct 2010 19:23:22 +0000 (19:23 +0000)]
improve labeling and documentation

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

13 years agoBe sure to copy new JS files from OpenSRF on a FULL update/install
atz [Tue, 12 Oct 2010 17:01:52 +0000 (17:01 +0000)]
Be sure to copy new JS files from OpenSRF on a FULL update/install

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

13 years agonow that we are working again, hush the warnings (osrfLogInternal to the rescue)
miker [Tue, 12 Oct 2010 16:02:31 +0000 (16:02 +0000)]
now that we are working again, hush the warnings (osrfLogInternal to the rescue)

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

13 years agoand ... use a function name that exists
miker [Tue, 12 Oct 2010 15:40:45 +0000 (15:40 +0000)]
and ... use a function name that exists

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

13 years agorearrangement for variable existance
miker [Tue, 12 Oct 2010 15:39:47 +0000 (15:39 +0000)]
rearrangement for variable existance

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

13 years agoskip unknown order_by entries instead of erroring
miker [Tue, 12 Oct 2010 15:19:54 +0000 (15:19 +0000)]
skip unknown order_by entries instead of erroring

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

13 years agoIncorporate upgrade # 0433 into the consolidated upgrade script.
scottmk [Tue, 12 Oct 2010 13:40:14 +0000 (13:40 +0000)]
Incorporate upgrade # 0433 into the consolidated upgrade script.

M    Open-ILS/src/sql/Pg/1.6.1-2.0-upgrade-db.sql

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

13 years agoavoid race condition with post-save patron editor refresh and replicated databases
phasefx [Mon, 11 Oct 2010 21:42:48 +0000 (21:42 +0000)]
avoid race condition with post-save patron editor refresh and replicated databases

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

13 years agomake the source selection less confusing, and improve some wording in the template...
miker [Mon, 11 Oct 2010 20:42:46 +0000 (20:42 +0000)]
make the source selection less confusing, and improve some wording in the template section (more to come)

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

13 years agodogfooding cleanup
miker [Mon, 11 Oct 2010 20:41:37 +0000 (20:41 +0000)]
dogfooding cleanup

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

13 years agoinitialize these lists just once to prevent display glitch
phasefx [Mon, 11 Oct 2010 20:39:31 +0000 (20:39 +0000)]
initialize these lists just once to prevent display glitch

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

13 years agoWorking template-based batch bib updater!
miker [Mon, 11 Oct 2010 16:07:47 +0000 (16:07 +0000)]
Working template-based batch bib updater!

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

13 years agoTighter verbose format for skipped POs
atz [Mon, 11 Oct 2010 16:07:09 +0000 (16:07 +0000)]
Tighter verbose format for skipped POs

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

13 years agosupply a dummy leader, as required by the Perl MARC modules
miker [Mon, 11 Oct 2010 16:06:52 +0000 (16:06 +0000)]
supply a dummy leader, as required by the Perl MARC modules

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

13 years agoMethod registration cleanup
atz [Mon, 11 Oct 2010 16:06:23 +0000 (16:06 +0000)]
Method registration cleanup

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

13 years agoClean up method registration sigs/descs
atz [Mon, 11 Oct 2010 15:21:12 +0000 (15:21 +0000)]
Clean up method registration sigs/descs

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

13 years agoPull out into a separate function: the code in SELECT() that builds a
scottmk [Mon, 11 Oct 2010 14:25:05 +0000 (14:25 +0000)]
Pull out into a separate function: the code in SELECT() that builds a
comma-separated list of ORDER BY expressions from a JSON_ARRAY.

Invoke that function, not only from SELECT(), but also from the
buildSELECT() function.

As a result, the select methods will be able to use the same array
syntax as json_query for ORDER BY clauses, as an alternative to the
existing hash syntax.

M    Open-ILS/src/c-apps/oils_sql.c

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