Evergreen.git
16 years agorepaired faulty user penalty checking logic in SIP server
erickson [Fri, 11 Dec 2009 15:00:47 +0000 (15:00 +0000)]
repaired faulty user penalty checking logic in SIP server

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

16 years agorepaired 'view marc' link in record matches grid. the link was missing a formatter...
erickson [Mon, 7 Dec 2009 21:10:15 +0000 (21:10 +0000)]
repaired 'view marc' link in record matches grid.  the link was missing a formatter, required by newer versions of dojo to display HTML content in a cell grid

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

16 years agopatch from Steve Callendar to protect against report output failure when trying to...
miker [Fri, 4 Dec 2009 18:46:26 +0000 (18:46 +0000)]
patch from Steve Callendar to protect against report output failure when trying to draw a line graph with no datasets

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

16 years agoApply patch from Dan Wells to correct nonumRegex
dbs [Wed, 2 Dec 2009 16:24:51 +0000 (16:24 +0000)]
Apply patch from Dan Wells to correct nonumRegex

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

16 years agoencode email text as utf8 to prevent 'wide character in syswrite' errors in email...
erickson [Mon, 30 Nov 2009 15:32:24 +0000 (15:32 +0000)]
encode email text as utf8 to prevent 'wide character in syswrite' errors in email::send

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

16 years agoadded 'g' qualifier to event path-fleshing method name munging
erickson [Wed, 25 Nov 2009 21:39:38 +0000 (21:39 +0000)]
added 'g' qualifier to event path-fleshing method name munging

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

16 years agopatch from Ben Ostrowsky to flesh patron profile info in overdue notice script
erickson [Mon, 23 Nov 2009 20:17:47 +0000 (20:17 +0000)]
patch from Ben Ostrowsky to flesh patron profile info in overdue notice script

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

16 years agopull dojo into selfcheck since it relies on opac_utils.js. treat inactive patrons...
erickson [Mon, 23 Nov 2009 14:10:45 +0000 (14:10 +0000)]
pull dojo into selfcheck since it relies on opac_utils.js.  treat inactive patrons as not-found

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

16 years agoBackport a safer version of the reporter.disable_materialized_simple_record_trigger...
dbs [Fri, 20 Nov 2009 22:06:57 +0000 (22:06 +0000)]
Backport a safer version of the reporter.disable_materialized_simple_record_trigger () function

This one works with PostgreSQL 8.1 and up, so it's targeted to the 1.4 branch.
But just in case there are stragglers using PostgreSQL 8.3 with 1.6, we'll use it here, too.

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

16 years agoThis gives the offline interfaces the ability to use font_helper (which honors the...
phasefx [Thu, 19 Nov 2009 18:48:23 +0000 (18:48 +0000)]
This gives the offline interfaces the ability to use font_helper (which honors the global font settings), but it also pulls in a lot of functions that won't work in offline mode is called, which why it wasn't there originally.  Font helper had slipped into the offline interfaces causing non-fatal errors

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

16 years agoApply patch from Galen Charlton to escape email addresses in overdue notices:
dbs [Thu, 19 Nov 2009 16:16:29 +0000 (16:16 +0000)]
Apply patch from Galen Charlton to escape email addresses in overdue notices:

"Trivial patch to turn on XML-escaping of e-mail addresses.  '&' is a
rarely used but valid character in email addresses, and failing to
escape makes the overdue notice data file non-well-formed."

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

16 years agoAdd the upgrade script from the 1.6.0.0 package, plus the fix from https://bugs.launc...
dbs [Thu, 19 Nov 2009 02:31:38 +0000 (02:31 +0000)]
Add the upgrade script from the 1.6.0.0 package, plus the fix from https://bugs.launchpad.net/evergreen/+bug/485143

Thanks to Brandon Uhlmann for reporting the problem in the 1.6.0.0 package.

Also, remove vestigial 1.2.3-1.4-upgrade-db.sql script.
-- is line, and those below, will be ignored--

A    Pg/1.2.4-1.4-upgrade-db.sql
D    Pg/1.2.3-1.4-upgrade-db.sql

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

16 years agopromote the #Evergreen channel over #OpenILS-Evergreen. Does this show up anywhere...
phasefx [Tue, 17 Nov 2009 12:52:56 +0000 (12:52 +0000)]
promote the #Evergreen channel over #OpenILS-Evergreen.  Does this show up anywhere else?

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

16 years agoAdd Russian and Czech to the enabled languages list
dbs [Fri, 13 Nov 2009 05:14:26 +0000 (05:14 +0000)]
Add Russian and Czech to the enabled languages list

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

16 years agoForward-port cs-CZ and ru-RU translations to rel_1_6
dbs [Fri, 13 Nov 2009 05:07:47 +0000 (05:07 +0000)]
Forward-port cs-CZ and ru-RU translations to rel_1_6

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

16 years ago"Periodique" is a better translation for "Serial" in French than "Collections".
dbs [Tue, 10 Nov 2009 21:58:38 +0000 (21:58 +0000)]
"Periodique" is a better translation for "Serial" in French than "Collections".

Doubly true when "Collection" appeared adjacent to it for English "Collection".

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

16 years agobackporting 14851: removing needless (and problematic) distinct clause, and fixing...
miker [Tue, 10 Nov 2009 16:57:52 +0000 (16:57 +0000)]
backporting 14851: removing needless (and problematic) distinct clause, and fixing order_by syntax

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

16 years agoMozilla has a printer settings object which we serialize when saving the settings...
phasefx [Mon, 9 Nov 2009 18:53:15 +0000 (18:53 +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.

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

16 years agoFix Launchpad bug 458321 ("authStrings missing when Change Operator fails)
dbs [Mon, 9 Nov 2009 02:25:58 +0000 (02:25 +0000)]
Fix Launchpad bug 458321 ("authStrings missing when Change Operator fails)

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

16 years agoBackport r14825 and r14826 to address ISSN ingest and retrieval bugs
dbs [Mon, 9 Nov 2009 01:11:08 +0000 (01:11 +0000)]
Backport r14825 and r14826 to address ISSN ingest and retrieval bugs

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

16 years agoBack-porting:
erickson [Mon, 9 Nov 2009 01:07:19 +0000 (01:07 +0000)]
Back-porting:

support for min-passive-delay-age validation
more detailed error logging
fix to max_delay between filter
no longer validate batch passive events during the grouping phase

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

16 years agoforward porting r14821: make sure there is a space before and after normalized date...
miker [Sat, 7 Nov 2009 20:01:57 +0000 (20:01 +0000)]
forward porting r14821: make sure there is a space before and after normalized date ranges

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

16 years agoRemove a duplicate permission group map entry.
dbs [Fri, 6 Nov 2009 18:46:10 +0000 (18:46 +0000)]
Remove a duplicate permission group map entry.

This worries me a little - did we reorder the non-pinned permission list
entries, thereby throwing off all the hard-coded perm_grp_map entries?

Also correct some mismatched oils_i18n_gettext ID attributes.

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

16 years agobackporting r14803: thinko in push-due_date trigger function
miker [Fri, 6 Nov 2009 14:57:43 +0000 (14:57 +0000)]
backporting r14803: thinko in push-due_date trigger function

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

16 years agouse new mbts mat view directly instead of jumping through the billable xact. remove...
erickson [Thu, 5 Nov 2009 22:47:07 +0000 (22:47 +0000)]
use new mbts mat view directly instead of jumping through the billable xact.  remove explicit xact management and rely on authoritative

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

16 years agoforward-porting r14786 and r14787: use a trigger to push day-granular circ due_date...
miker [Thu, 5 Nov 2009 18:53:17 +0000 (18:53 +0000)]
forward-porting r14786 and r14787: use a trigger to push day-granular circ due_date to the end of the calendar day

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

16 years agoenable the print button for these interfaces
phasefx [Thu, 5 Nov 2009 18:13:17 +0000 (18:13 +0000)]
enable the print button for these interfaces

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

16 years agoSet the encoding for oilsweb templates for systems that haven't set a default charset...
dbs [Wed, 4 Nov 2009 21:52:17 +0000 (21:52 +0000)]
Set the encoding for oilsweb templates for systems that haven't set a default charset header in Apache

This resolves a problem seen on Karmic where corrupted characters
were displayed in Vandelay and other TT2 interfaces.

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

16 years agoforward porting r14769: add max_delay field to optionally pre-invalidate events based...
miker [Wed, 4 Nov 2009 19:39:49 +0000 (19:39 +0000)]
forward porting r14769: add max_delay field to optionally pre-invalidate events based on a delay window, instead of simply the minimum delay time

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

16 years agofile was accidentally added during Craftsman skin porting. removing
erickson [Tue, 3 Nov 2009 23:19:24 +0000 (23:19 +0000)]
file was accidentally added during Craftsman skin porting.  removing

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

16 years agobackporting r14747: use the individual opcodes instead of the :load tag, which is...
miker [Tue, 3 Nov 2009 19:47:23 +0000 (19:47 +0000)]
backporting r14747: use the individual opcodes instead of the :load tag, which is not supported until opcodes in perl 5.10

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

16 years agoPatch from Jeff Godin to make holds placed by staff respect the patron's notification...
dbs [Tue, 3 Nov 2009 04:47:50 +0000 (04:47 +0000)]
Patch from Jeff Godin to make holds placed by staff respect the patron's notification preferences.

The attached patch should fix a bug which resulted in patron notification
preferences (phone/email/both) being ignored in favor of the staff user's
notification preferences when staff place a hold on behalf of another
user.

BUG: When staff place a hold for another user, the staff member's
notification preferences (not the recipient user's) are consulted.

This patch fixes that bug, as well as a bug where notification selections
were not reset between canceled attempts to place holds for different
recipients.

There is also a minor change to grabUserPrefs() regarding which session
variable to send as an auth token (now uses G.user.session, which seems to
be an acceptable convention used elsewhere. This was needed, as the passed
user does not always have a valid session.

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: Jeff Godin <jeff@tcnet.org>
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_6@14736 dcc99617-32d9-48b4-a31d-7c20da2025e4

16 years agothere could be many pending events, up the timeout for inititial fetching
erickson [Tue, 3 Nov 2009 02:43:03 +0000 (02:43 +0000)]
there could be many pending events, up the timeout for inititial fetching

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

16 years agoexit with help if the script is not told to process any hooks or run pending events
erickson [Mon, 2 Nov 2009 01:55:12 +0000 (01:55 +0000)]
exit with help if the script is not told to process any hooks or run pending events

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

16 years agoadded explicit --process-hooks flag to turn on hook event creation. This allows...
erickson [Mon, 2 Nov 2009 01:48:43 +0000 (01:48 +0000)]
added explicit --process-hooks flag to turn on hook event creation.  This allows the script to run in --run-pending mode without trying to create hook events from default values

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

16 years agorepaired function name and JSON
erickson [Fri, 30 Oct 2009 13:18:37 +0000 (13:18 +0000)]
repaired function name and JSON

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

16 years agobackporting max-delay-age validator, action_trigger runner script + trigger filters
erickson [Fri, 30 Oct 2009 01:54:32 +0000 (01:54 +0000)]
backporting max-delay-age validator, action_trigger runner script + trigger filters

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

16 years agowhen changing the pickup lib of a hold that is already on the shelf, create a hold...
erickson [Thu, 29 Oct 2009 21:43:34 +0000 (21:43 +0000)]
when changing the pickup lib of a hold that is already on the shelf, create a hold-transit-copy not just a regular transit-copy

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

16 years agobackport changeset 14662: modified patch from Steve Callender; exposes the patron...
phasefx [Thu, 29 Oct 2009 02:27:09 +0000 (02:27 +0000)]
backport changeset 14662: modified patch from Steve Callender; exposes the patron 'alias' field in the Receipt Template Editor as %PATRON_ALIAS%.  There's also a %PATRON_ALIAS_OR_FIRSTNAME% macro that will show the alias, or the first name if alias is unset

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

16 years agoMissed the addition of Date.pm when backporting djfiander's MFHD enhancements. Argh.
dbs [Wed, 28 Oct 2009 03:35:02 +0000 (03:35 +0000)]
Missed the addition of Date.pm when backporting djfiander's MFHD enhancements. Argh.

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

16 years agoForward-porting patch from James Fournie to increase the width of of the state/provin...
miker [Wed, 28 Oct 2009 01:07:31 +0000 (01:07 +0000)]
Forward-porting patch from James Fournie to increase the width of of the state/province field from 2 to 3 characters, for ISO 3166-2 compliance

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

16 years agoforward-porting r14636: correct ambiguous select
miker [Tue, 27 Oct 2009 20:51:26 +0000 (20:51 +0000)]
forward-porting r14636: correct ambiguous select

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

16 years agoUpdate find_orphaned_reports.pl to modern Evergreen (with apologies to chromatic):
dbs [Tue, 27 Oct 2009 19:03:29 +0000 (19:03 +0000)]
Update find_orphaned_reports.pl to modern Evergreen (with apologies to chromatic):
  * prefer non-deprecated reporter database settings
  * use opensrf_core.xml instead of bootstrap.conf
  * fix typo (boostrap -> bootstrap)

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

16 years agobackporting changeset 14613: Tweak the Record In-House Use interface so that it has...
phasefx [Tue, 27 Oct 2009 02:57:45 +0000 (02:57 +0000)]
backporting changeset 14613: 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.

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

16 years agobackporting part of 14606, disabling the auto-hide patron summary behavior by default
phasefx [Mon, 26 Oct 2009 15:59:40 +0000 (15:59 +0000)]
backporting part of 14606, disabling the auto-hide patron summary behavior by default

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

16 years agoBackport MFHD from trunk
dbs [Sun, 25 Oct 2009 20:49:08 +0000 (20:49 +0000)]
Backport MFHD from trunk

djfiander was horrified to hear that 1.6.0.0 might be rolled with an
arbitrary cut of his MFHD code from when that tag was originally
created

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

16 years agoadded some links from the user object to the user's accumulated money summary and...
erickson [Sun, 25 Oct 2009 20:22:15 +0000 (20:22 +0000)]
added some links from the user object to the user's accumulated money summary and open billable transactions summaries

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

16 years agowhen testing for existing events (to prevent duplicates) don't test for the presence...
erickson [Sun, 25 Oct 2009 19:01:38 +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

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

16 years agoPatch from Warren Layton which fixes the behavior of the new Org Unit
miker [Fri, 23 Oct 2009 17:31:27 +0000 (17:31 +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.

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

16 years agorolling back r14446: dojo.addOnLoad() is fine in xul, as long as we are not using...
miker [Fri, 23 Oct 2009 00:29:08 +0000 (00:29 +0000)]
rolling back r14446: dojo.addOnLoad() is fine in xul, as long as we are not using a layer

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

16 years agoforward-porting r14558: remove the call to unicode() -- breaks things on python 2.5+
miker [Thu, 22 Oct 2009 15:10:11 +0000 (15:10 +0000)]
forward-porting r14558: remove the call to unicode() -- breaks things on python 2.5+

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

16 years agobackporting r14545 from trunk: use fieldmapper.AutoIDL inside conify to allow openils...
miker [Thu, 22 Oct 2009 03:30:50 +0000 (03:30 +0000)]
backporting r14545 from trunk: use fieldmapper.AutoIDL inside conify to allow openils.PermaCrud to function properly

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

16 years agorolling back 14518, cstore might_have change. thinko
erickson [Wed, 21 Oct 2009 15:46:36 +0000 (15:46 +0000)]
rolling back 14518, cstore might_have change. thinko

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

16 years agorepaired bug in cstore 'might_have' fleshing which lead to fleshing the same object...
erickson [Wed, 21 Oct 2009 14:37:19 +0000 (14:37 +0000)]
repaired bug in cstore 'might_have' fleshing which lead to fleshing the same object into itself

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

16 years agobackport changeset 14396: Tweak the key used for oils_persist so that saved settings...
phasefx [Mon, 19 Oct 2009 17:16:18 +0000 (17:16 +0000)]
backport changeset 14396: Tweak the key used for oils_persist so that saved settings will survive staff client BUILD_ID changes.

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

16 years agobackport changeset 14467, for xulrunner 1.9 change to scrollbars in lists (fixes...
phasefx [Mon, 19 Oct 2009 17:12:13 +0000 (17:12 +0000)]
backport changeset 14467, for xulrunner 1.9 change to scrollbars in lists (fixes bug where off-screen rows don't flesh themselves when they become visible)

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

16 years agoauthority record queue needs autoheight to render
erickson [Mon, 19 Oct 2009 15:06:12 +0000 (15:06 +0000)]
authority record queue needs autoheight to render

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

16 years agoMore rendering optimizations via inline height/width properties for images.
dbs [Sun, 18 Oct 2009 00:45:06 +0000 (00:45 +0000)]
More rendering optimizations via inline height/width properties for images.

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

16 years agoAnother small rendering optimization - set dimensions of slimtree images
dbs [Sat, 17 Oct 2009 22:11:37 +0000 (22:11 +0000)]
Another small rendering optimization - set dimensions of slimtree images

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

16 years agoMove inline <style> block into CSS file.
dbs [Sat, 17 Oct 2009 21:40:58 +0000 (21:40 +0000)]
Move inline <style> block into CSS file.

This is a small optimization for rendering and simplifies customization.

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

16 years agoPatch from Warren Layton to add a "Export to RefWorks" link for bookbags.
dbs [Sat, 17 Oct 2009 18:40:10 +0000 (18:40 +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.

Signed-off-by: Warren Layton
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_6@14477 dcc99617-32d9-48b4-a31d-7c20da2025e4

16 years agoAdd a "complete subject" index and bring corresponding upgrade script up to date...
dbs [Fri, 16 Oct 2009 04:05:12 +0000 (04:05 +0000)]
Add a "complete subject" index and bring corresponding upgrade script up to date with rel_1_6_0_0

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

16 years agoSimplest possible way to add PostgreSQL 8.4 support.
dbs [Thu, 15 Oct 2009 22:21:40 +0000 (22:21 +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.

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

16 years agoadded support for tiered org unit setting permissions. for example, if i have the...
erickson [Thu, 15 Oct 2009 20:53:59 +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

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

16 years agobackporting trunk fix for pathological historical circ report query plan
miker [Thu, 15 Oct 2009 16:43:07 +0000 (16:43 +0000)]
backporting trunk fix for pathological historical circ report query plan

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

16 years agobackporting r14443 and r14444 from trunk: xul + dojo can not use dojo.addOnLoad or...
miker [Thu, 15 Oct 2009 16:20:52 +0000 (16:20 +0000)]
backporting r14443 and r14444 from trunk: xul + dojo can not use dojo.addOnLoad or djConfig.parseOnLoad

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

16 years agouse inline penalty processing during fine generation to prevent duplicate penalties
erickson [Thu, 15 Oct 2009 13:55:20 +0000 (13:55 +0000)]
use inline penalty processing during fine generation to prevent duplicate penalties

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

16 years agoAdd UPDATE_RECORD permission to enable cataloguers to undelete records.
dbs [Thu, 15 Oct 2009 02:49:58 +0000 (02:49 +0000)]
Add UPDATE_RECORD permission to enable cataloguers to undelete records.

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

16 years agoBackport r14431 - add missing error message
dbs [Thu, 15 Oct 2009 01:48:51 +0000 (01:48 +0000)]
Backport r14431 - add missing error message

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

16 years agothinko on rollback vs. commit when creating a local cstoreEditor object for user...
erickson [Wed, 14 Oct 2009 21:02:41 +0000 (21:02 +0000)]
thinko on rollback vs. commit when creating a local cstoreEditor object for user penalty calculation/creation

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

16 years agobackport changeset 14111: fixes doubled holds display glitch from oils_persist
phasefx [Wed, 14 Oct 2009 19:45:57 +0000 (19:45 +0000)]
backport changeset 14111: fixes doubled holds display glitch from oils_persist

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

16 years agolike dob, trim the expire_date to accomodate jscalendar
erickson [Wed, 14 Oct 2009 19:32:05 +0000 (19:32 +0000)]
like dob, trim the expire_date to accomodate jscalendar

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

16 years agoMerge r14405 from trunk: support state_store updates
dbs [Wed, 14 Oct 2009 01:30:01 +0000 (01:30 +0000)]
Merge r14405 from trunk: support state_store updates

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

16 years agoPatch from Laura Cassell to make the email regexp a bit more forgiving.
miker [Mon, 12 Oct 2009 20:25:16 +0000 (20:25 +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.

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

16 years agoonly need to send address search params once now
miker [Mon, 12 Oct 2009 18:00:00 +0000 (18:00 +0000)]
only need to send address search params once now

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

16 years agoforward-porting part of r14372: set trucation to 1 for LoC z39.50 source
miker [Mon, 12 Oct 2009 16:54:39 +0000 (16:54 +0000)]
forward-porting part of r14372: set trucation to 1 for LoC z39.50 source

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

16 years agosort checked out items by due date, oldest first. this brings the items that need...
erickson [Mon, 12 Oct 2009 16:37:12 +0000 (16:37 +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

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

16 years agoforward porting 14363 and 14364: do not use NEW in an ON DELETE trigger, use OLD
miker [Mon, 12 Oct 2009 16:20:56 +0000 (16:20 +0000)]
forward porting 14363 and 14364: do not use NEW in an ON DELETE trigger, use OLD

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

16 years agojscalendar doesn't like the DoB date format. trim the DoB to just the date part
erickson [Mon, 12 Oct 2009 15:04:50 +0000 (15:04 +0000)]
jscalendar doesn't like the DoB date format.  trim the DoB to just the date part

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

16 years agobackport changesets 13953, 14017: persist mechanism replacement for 1.9 xulrunners
phasefx [Mon, 12 Oct 2009 14:50:03 +0000 (14:50 +0000)]
backport changesets 13953, 14017: persist mechanism replacement for 1.9 xulrunners

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

16 years agoforward-porting r14346: pass the patron id (instead of the object) and the appropriat...
miker [Mon, 12 Oct 2009 05:09:26 +0000 (05:09 +0000)]
forward-porting r14346: pass the patron id (instead of the object) and the appropriate context org to the penalty calculator

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

16 years agocapture the context org parameter for penalty generation.
erickson [Mon, 12 Oct 2009 05:08:10 +0000 (05:08 +0000)]
capture the context org parameter for penalty generation.

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

16 years agofoward-porting 1.2 changeset r9281 for cloned patron address searching
miker [Fri, 9 Oct 2009 18:21:40 +0000 (18:21 +0000)]
foward-porting 1.2 changeset r9281 for cloned patron address searching

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

16 years agowhen adding copies to a lineitem, you can now choose the total count instead of havin...
erickson [Fri, 9 Oct 2009 15:29:18 +0000 (15:29 +0000)]
when adding copies to a lineitem, you can now choose the total count instead of having to X copies

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

16 years agountil a more flexible solution exists, make the default zip regex in the old-school...
erickson [Fri, 9 Oct 2009 12:49:38 +0000 (12:49 +0000)]
until a more flexible solution exists, make the default zip regex in the old-school patron editor Canada-friendly by default

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

16 years agoBackporting r14305 to fix <controlfield> creation and use (when missing) bug:
miker [Thu, 8 Oct 2009 17:47:11 +0000 (17:47 +0000)]
Backporting r14305 to fix <controlfield> creation and use (when missing) bug:

When we add a <controlfield> element we need to set it to be 40 characters
long, and full of spaces, otherwise the Fixed Field editor cannot properly
set the positions.

Additionally, when a Fixed Field is edited but there is no backing
<controlfield> element (say, trying to set the Audn when there is no 008)
then we will add the needed <controlfield>.

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

16 years agoBackporting r14032, a confirmed fix for ticket #64: use Safe to protect against EVIL...
miker [Thu, 8 Oct 2009 15:51:09 +0000 (15:51 +0000)]
Backporting r14032, a confirmed fix for ticket #64: use Safe to protect against EVIL evals coming in from the outside world -- we share the environment into the Safe compartment using the name $current_environment

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

16 years agoBackport the good part of r14283 for escaping call number labels and org_unit shortna...
dbs [Wed, 7 Oct 2009 20:38:01 +0000 (20:38 +0000)]
Backport the good part of r14283 for escaping call number labels and org_unit shortnames in -full unAPI output

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

16 years agocreated workaround for confusing IE bug caused by titles with @'s, which resulted...
erickson [Wed, 7 Oct 2009 20:24:08 +0000 (20:24 +0000)]
created workaround for confusing IE bug caused by titles with @'s, which resulted in URLs where the title should be

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

16 years agobackporting -r14276:14278. added support for setting billing/mailing address on...
erickson [Tue, 6 Oct 2009 14:57:26 +0000 (14:57 +0000)]
backporting -r14276:14278.  added support for setting billing/mailing address on the user account.  make new addresses valid by default. make the 1st address on a new patron the billing/mailing address

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

16 years agoRemove the source of many annoying 404 errors - a CSS file that doesn't exist
dbs [Tue, 6 Oct 2009 04:34:24 +0000 (04:34 +0000)]
Remove the source of many annoying 404 errors - a CSS file that doesn't exist

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

16 years agoRemove duplicate entity definition
dbs [Tue, 6 Oct 2009 03:53:51 +0000 (03:53 +0000)]
Remove duplicate entity definition

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

16 years agoif a timestamp is null, don't attempt to turn it into an iso string
erickson [Mon, 5 Oct 2009 17:48:55 +0000 (17:48 +0000)]
if a timestamp is null, don't attempt to turn it into an iso string

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

16 years agomake ndoe depth calculation more efficient and run at startup time to speed up displa...
erickson [Mon, 5 Oct 2009 16:12:14 +0000 (16:12 +0000)]
make ndoe depth calculation more efficient and run at startup time to speed up display for large trees (e.g. org trees).  throw exception when an org unit is retrieved that does not exist, since this cryptic error pops up from time to time during development

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

16 years agoRemove one hard-coded string (Subjects) from default skin
dbs [Fri, 2 Oct 2009 20:14:42 +0000 (20:14 +0000)]
Remove one hard-coded string (Subjects) from default skin

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

16 years agobackporting changeset 14244: Make the old survey wizard use work locations instead...
phasefx [Fri, 2 Oct 2009 04:42:01 +0000 (04:42 +0000)]
backporting changeset 14244: Make the old survey wizard use work locations instead of home lib

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

16 years agoMake MODS v3 variants inherit from mods3 rather than mods (version 2).
dbs [Mon, 28 Sep 2009 18:41:15 +0000 (18:41 +0000)]
Make MODS v3 variants inherit from mods3 rather than mods (version 2).

Results in the correct namespace being applied to MODS v3[123] and makes Zotero happy.

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

16 years agobackporting r14173: Fix targetting trac ticket #70 -- populate the xact_type column...
miker [Sat, 26 Sep 2009 16:39:14 +0000 (16:39 +0000)]
backporting r14173: Fix targetting trac ticket #70 -- populate the xact_type column in transaction summary materialization trigger

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

16 years agoBackporting r14165:
miker [Fri, 25 Sep 2009 01:18:41 +0000 (01:18 +0000)]
Backporting r14165:

Patch from Warren Layton at Laurentian university which addresses some issues
saving org unit data via the conify interfaces.

Thanks, Warren, and sorry for the delay.

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

16 years agobackporting r14159: Correcting reporting view definition with regard to ISBN and...
miker [Thu, 24 Sep 2009 19:26:24 +0000 (19:26 +0000)]
backporting r14159: Correcting reporting view definition with regard to ISBN and ISSN extraction

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