evergreen/joelewis.git
15 years agomerge r18106 from trunk for needless auth prompting
phasefx [Wed, 29 Sep 2010 20:50:18 +0000 (20:50 +0000)]
merge r18106 from trunk for needless auth prompting

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

15 years agofix FM type of reporter.report.data
gmc [Wed, 29 Sep 2010 18:08:16 +0000 (18:08 +0000)]
fix FM type of reporter.report.data

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

15 years agoreporter: don't try to write Excel formulas
gmc [Wed, 29 Sep 2010 17:49:51 +0000 (17:49 +0000)]
reporter: don't try to write Excel formulas

Any cell value that starts with = is now always written
as a text cell in spreadsheet output.  Avoids a possible
exploit as well as errors like this:

Couldn't parse formula: = at /openils/bin/clark-kent.pl line 429

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

15 years agoBackport r18099 from trunk: support per-grunlarity parallelizing via flag and lock...
miker [Wed, 29 Sep 2010 15:06:25 +0000 (15:06 +0000)]
Backport r18099 from trunk: support per-grunlarity parallelizing via flag and lock file

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

15 years agoBackport r18097 from trunk: Process item imports during record import, not as a secon...
miker [Wed, 29 Sep 2010 14:46:25 +0000 (14:46 +0000)]
Backport r18097 from trunk: Process item imports during record import, not as a secondary call (never should have worked, but for transaction timing)

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

15 years agoBackport r18095 from trunk: Use transactions everywhere in Vandelay
miker [Tue, 28 Sep 2010 23:13:38 +0000 (23:13 +0000)]
Backport r18095 from trunk: Use transactions everywhere in Vandelay

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

15 years agoDelete all cookies on logoff. There's dojo code that looks for stale session cookies...
phasefx [Tue, 28 Sep 2010 21:12:47 +0000 (21:12 +0000)]
Delete all cookies on logoff.  There's dojo code that looks for stale session cookies and has the xul client prompt for a new session.  When you logoff, the session is destroyed, but the stale cookies were being left behind (and not overwritten on login? I don't understand that part).  But this fixes it

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

15 years agoBackport r18091 from trunk: move the early-out response so we avoid breaking the...
miker [Tue, 28 Sep 2010 20:45:59 +0000 (20:45 +0000)]
Backport r18091 from trunk: move the early-out response so we avoid breaking the caller

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

15 years agoBackport r18089 from trunk. A/T feature.
senator [Tue, 28 Sep 2010 20:26:39 +0000 (20:26 +0000)]
Backport r18089 from trunk. A/T feature.

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

15 years agofor troubleshooting, log the size of the template output to be stored
erickson [Tue, 28 Sep 2010 19:34:50 +0000 (19:34 +0000)]
for troubleshooting, log the size of the template output to be stored

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

15 years agobackport 18084: sip override checkins, bug fixes
erickson [Tue, 28 Sep 2010 19:34:17 +0000 (19:34 +0000)]
backport 18084: sip override checkins, bug fixes

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

15 years agorepaired logic bug in lineitem worksheet template
erickson [Tue, 28 Sep 2010 19:33:20 +0000 (19:33 +0000)]
repaired logic bug in lineitem worksheet template

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

15 years agothis breaks (hides) the buttonbar in windows. Sorry James, miker
phasefx [Tue, 28 Sep 2010 16:47:15 +0000 (16:47 +0000)]
this breaks (hides) the buttonbar in windows.  Sorry James, miker

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

15 years agoChange memcached default location to 127.0.0.1 from localhost
dbs [Tue, 28 Sep 2010 16:40:53 +0000 (16:40 +0000)]
Change memcached default location to 127.0.0.1 from localhost

Debian Squeeze currently doesn't fare well with memcached servers pointing to
localhost and needs an explicit 127.0.0.1, whereas Ubuntu Lucid is happy with
either. Changing the default here means one less possible gotcha in the out
of the box install & configure experience for Debian Squeeze folk.

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

15 years agoBackport r18077 from trunk: add support for the null() xpath function, which works...
miker [Tue, 28 Sep 2010 16:36:05 +0000 (16:36 +0000)]
Backport r18077 from trunk: add support for the null() xpath function, which works in pgxml (AKA xml2) but not in the builtin XPATH function for 8.3+

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

15 years agoIncorporate several recent upgrade scripts, through # 0422.
scottmk [Tue, 28 Sep 2010 05:17:16 +0000 (05:17 +0000)]
Incorporate several recent upgrade scripts, through # 0422.

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

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

15 years agoTurn an int into a bigint in acq.acq_lineitem_history, following up on
scottmk [Tue, 28 Sep 2010 05:13:27 +0000 (05:13 +0000)]
Turn an int into a bigint in acq.acq_lineitem_history, following up on
a similar change to acq.lineitem.

M    Open-ILS/src/sql/Pg/002.schema.config.sql
A    Open-ILS/src/sql/Pg/upgrade/0422.schema.acq.lineitem-history-bigint.sql

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

15 years agotypo in POD
atz [Tue, 28 Sep 2010 03:18:53 +0000 (03:18 +0000)]
typo in POD

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

15 years agoMinor cleanup
atz [Tue, 28 Sep 2010 03:18:53 +0000 (03:18 +0000)]
Minor cleanup

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

15 years agoFix POD for RemoteAccount
atz [Tue, 28 Sep 2010 03:18:52 +0000 (03:18 +0000)]
Fix POD for RemoteAccount

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

15 years agoFor edi_translator on RHEL
atz [Tue, 28 Sep 2010 03:17:27 +0000 (03:17 +0000)]
For edi_translator on RHEL

Note: RubyGems 1.3.4 is not available anymore

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

15 years agoUse quoted attribute values to make Firefox / XULRunner happier about dojo queries
dbs [Tue, 28 Sep 2010 03:10:27 +0000 (03:10 +0000)]
Use quoted attribute values to make Firefox / XULRunner happier about dojo queries

The unquoted values in BibTemplate and the OPAC detail template were generating
mucho noise in the JavaScript console; this hushes it up nicely.

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

15 years agoedi_translator sample EDI/JEDI docs
atz [Tue, 28 Sep 2010 02:20:11 +0000 (02:20 +0000)]
edi_translator sample EDI/JEDI docs

EDI test and sample data

Ingram ORDRSP that fails translation

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

15 years agoScript is executable
atz [Tue, 28 Sep 2010 02:20:10 +0000 (02:20 +0000)]
Script is executable

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

15 years agoUtility for ISBN10->ISBN13 upconversion
atz [Tue, 28 Sep 2010 02:20:09 +0000 (02:20 +0000)]
Utility for ISBN10->ISBN13 upconversion

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

15 years ago1. Turn some ints into bigints.
scottmk [Mon, 27 Sep 2010 21:31:13 +0000 (21:31 +0000)]
1. Turn some ints into bigints.

2. Rename the uniqueness constraint for booking.resource_type.

M    Open-ILS/src/sql/Pg/090.schema.action.sql
M    Open-ILS/src/sql/Pg/200.schema.acq.sql
M    Open-ILS/src/sql/Pg/012.schema.vandelay.sql
M    Open-ILS/src/sql/Pg/095.schema.booking.sql
M    Open-ILS/src/sql/Pg/002.schema.config.sql
M    Open-ILS/src/sql/Pg/070.schema.container.sql
A    Open-ILS/src/sql/Pg/upgrade/0421.schema.embiggen-ints.sql

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

15 years agoBackport r18051: fix a glitch with the granularity column of the event def UI
senator [Mon, 27 Sep 2010 20:56:17 +0000 (20:56 +0000)]
Backport r18051: fix a glitch with the granularity column of the event def UI

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

15 years agoadjustments to pubdate sorting patch
gmc [Mon, 27 Sep 2010 20:15:28 +0000 (20:15 +0000)]
adjustments to pubdate sorting patch

* handle upgrade for date1/date2 containing the empty string
* syntax error fix

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

15 years agofix another hold targeting glitch
gmc [Mon, 27 Sep 2010 19:48:57 +0000 (19:48 +0000)]
fix another hold targeting glitch

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

15 years agofix glitch in hold target OU weighting
gmc [Mon, 27 Sep 2010 19:27:39 +0000 (19:27 +0000)]
fix glitch in hold target OU weighting

We want to weight by the copy's circulation library, not the
pickup library.

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

15 years agomissed in the previous commit, sorry folks
miker [Mon, 27 Sep 2010 19:24:31 +0000 (19:24 +0000)]
missed in the previous commit, sorry folks

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

15 years agoBackport r18041 from trunk: Correct the subquery for A/T opt_in_setting
miker [Mon, 27 Sep 2010 19:17:27 +0000 (19:17 +0000)]
Backport r18041 from trunk: Correct the subquery for A/T opt_in_setting

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

15 years agoBackporting 18039 from trunk: make pubdate sorting on search faster by pre-munging...
miker [Mon, 27 Sep 2010 19:14:14 +0000 (19:14 +0000)]
Backporting 18039 from trunk: make pubdate sorting on search faster by pre-munging date1 and date2 into an acceptable sortkey

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

15 years agofix default path to selfcheck sounds
gmc [Mon, 27 Sep 2010 18:51:29 +0000 (18:51 +0000)]
fix default path to selfcheck sounds

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

15 years agobackporting some xact management fine tuning
erickson [Mon, 27 Sep 2010 18:34:48 +0000 (18:34 +0000)]
backporting some xact management fine tuning

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

15 years agoBackport r18034 from trunk: use transaction when gathering records from a newly creat...
miker [Mon, 27 Sep 2010 18:33:41 +0000 (18:33 +0000)]
Backport r18034 from trunk: use transaction when gathering records from a newly created queue; adjust rollback usage in import loop

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

15 years agoBackporting r17984 from trunk: pedantic protection of cstore backends -- always use...
miker [Mon, 27 Sep 2010 18:04:34 +0000 (18:04 +0000)]
Backporting r17984 from trunk: pedantic protection of cstore backends -- always use die_event when in xact mode, and rollback otherwise

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

15 years agomerge part of r18002, and all of r18003 and r18004 from trunk for persistent/sticky...
phasefx [Mon, 27 Sep 2010 16:38:08 +0000 (16:38 +0000)]
merge part of r18002, and all of r18003 and r18004 from trunk for persistent/sticky slider positions and window sizes

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

15 years agoaccidental change in previous commit. long term plan here is a 'slip' printer role
phasefx [Mon, 27 Sep 2010 16:31:04 +0000 (16:31 +0000)]
accidental change in previous commit.  long term plan here is a 'slip' printer role

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

15 years agosince we're enforcing the requiredness of address type, let's give it a default value...
phasefx [Mon, 27 Sep 2010 16:29:50 +0000 (16:29 +0000)]
since we're enforcing the requiredness of address type, let's give it a default value (since empty strings don't work with these widgets)

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

15 years agoBackport r18027 from trunk: Adjust hold-to-record view to cover I, F and R hold types
miker [Mon, 27 Sep 2010 16:15:52 +0000 (16:15 +0000)]
Backport r18027 from trunk: Adjust hold-to-record view to cover I, F and R hold types

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

15 years agoBackport r18025 from trunk: Provide for limiting the number of classOrder elements...
miker [Mon, 27 Sep 2010 15:31:50 +0000 (15:31 +0000)]
Backport r18025 from trunk: Provide for limiting the number of classOrder elements to a specific number. Skips those without facet values.

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

15 years agoResolve differences between stored procedures in a freshly installed
scottmk [Mon, 27 Sep 2010 12:45:58 +0000 (12:45 +0000)]
Resolve differences between stored procedures in a freshly installed
2.0 database and those in an upgraded one.

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

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

15 years agoavoid multiple clicks of selfcheck logout link
gmc [Mon, 27 Sep 2010 01:43:38 +0000 (01:43 +0000)]
avoid multiple clicks of selfcheck logout link

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

15 years agobackport 18017: honor SIP return date as the circ backdate
erickson [Sun, 26 Sep 2010 23:24:35 +0000 (23:24 +0000)]
backport 18017: honor SIP return date as the circ backdate

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

15 years agobackport 18016: no need to warn when emails may just be disabled
erickson [Sun, 26 Sep 2010 23:23:47 +0000 (23:23 +0000)]
backport 18016: no need to warn when emails may just be disabled

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

15 years agobackport 18015 : push copy location order update into ML method. return updated order...
erickson [Sun, 26 Sep 2010 23:22:24 +0000 (23:22 +0000)]
backport 18015 : push copy location order update into ML method. return updated orders from method to prevent replication issues. update UI JS to match

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

15 years agoRemove a debugging statement that slipped in
dbs [Sun, 26 Sep 2010 18:35:17 +0000 (18:35 +0000)]
Remove a debugging statement that slipped in

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

15 years agoadded missing columns to CDBI table definitions
gmc [Sun, 26 Sep 2010 16:27:16 +0000 (16:27 +0000)]
added missing columns to CDBI table definitions

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

15 years agoBackport r18009 from trunk: Only show facetOrder limited facets that have values
miker [Sun, 26 Sep 2010 15:53:53 +0000 (15:53 +0000)]
Backport r18009 from trunk: Only show facetOrder limited facets that have values

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

15 years agoBackport r18007 from trunk: allow more complex facet ordering
miker [Sun, 26 Sep 2010 15:33:05 +0000 (15:33 +0000)]
Backport r18007 from trunk: allow more complex facet ordering

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

15 years agomake address_type required in the patron editor, otherwise a blank value sends a...
phasefx [Sun, 26 Sep 2010 03:17:31 +0000 (03:17 +0000)]
make address_type required in the patron editor, otherwise a blank value sends a null to the db where it silently fails

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

15 years agomore selfcheck receipt transaction hackery
gmc [Sun, 26 Sep 2010 02:50:27 +0000 (02:50 +0000)]
more selfcheck receipt transaction hackery

Instead of having authoritative versions of
open-ils.circ.fire_*_trigger_events, wrap just the
target retrieval itself in a transaction.  Avoids as
yet unexplained rollback failure that occurs if
processing a selfcheck receipt with more than a few items on it.

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

15 years agodon't leak cstores if CStoreEditor rollback fails
gmc [Sun, 26 Sep 2010 02:43:34 +0000 (02:43 +0000)]
don't leak cstores if CStoreEditor rollback fails

Patch by Mike Rylander.

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

15 years agoBackport r17992 from trunk: misplaced paranoia
senator [Sat, 25 Sep 2010 03:54:33 +0000 (03:54 +0000)]
Backport r17992 from trunk: misplaced paranoia

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

15 years agoBackport r17989 from trunk
senator [Sat, 25 Sep 2010 03:45:43 +0000 (03:45 +0000)]
Backport r17989 from trunk

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

15 years agoevents don't have granularity's. removing
erickson [Sat, 25 Sep 2010 03:27:57 +0000 (03:27 +0000)]
events don't have granularity's.  removing

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

15 years agoBackport r17985
senator [Sat, 25 Sep 2010 01:13:58 +0000 (01:13 +0000)]
Backport r17985

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

15 years agoBackport r17982 from trunk
senator [Sat, 25 Sep 2010 00:56:50 +0000 (00:56 +0000)]
Backport r17982 from trunk

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

15 years agomore transaction cleanups
erickson [Fri, 24 Sep 2010 23:07:00 +0000 (23:07 +0000)]
more transaction cleanups

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

15 years agoclean up the fire_object_events cstore xact
erickson [Fri, 24 Sep 2010 22:24:48 +0000 (22:24 +0000)]
clean up the fire_object_events cstore xact

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

15 years agobackport 17976 from trunk
gmc [Fri, 24 Sep 2010 20:55:14 +0000 (20:55 +0000)]
backport 17976 from trunk

Remove confusing older targeter version; move status trimming to earlier in the process --miker

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

15 years agoBackport r17974 from trunk
senator [Fri, 24 Sep 2010 20:12:47 +0000 (20:12 +0000)]
Backport r17974 from trunk

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

15 years agoBackport r17972 from trunk: removed extra {}s from where clause
miker [Fri, 24 Sep 2010 19:38:22 +0000 (19:38 +0000)]
Backport r17972 from trunk: removed extra {}s from where clause

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

15 years agospawn item attribute editor instead of item notes UI during process missing pieces...
phasefx [Fri, 24 Sep 2010 18:23:43 +0000 (18:23 +0000)]
spawn item attribute editor instead of item notes UI during process missing pieces workflow

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

15 years agoBackporting hold queue stats fixes from 17956, 17957 and 17963
miker [Fri, 24 Sep 2010 18:13:17 +0000 (18:13 +0000)]
Backporting hold queue stats fixes from 17956, 17957 and 17963

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

15 years agomerge r17958 from trunk for patron display juvenile CSS
phasefx [Fri, 24 Sep 2010 18:05:55 +0000 (18:05 +0000)]
merge r17958 from trunk for patron display juvenile CSS

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

15 years agoimprove hold targetting
gmc [Fri, 24 Sep 2010 16:40:07 +0000 (16:40 +0000)]
improve hold targetting

* all potential capturable copies are now checked (up to the first
  one that is permitted for the request), instead of a small random
  subset of them
* don't do redundant permission checks

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

15 years agothis call returns an array; fixes surprise stat cats in patron display
phasefx [Fri, 24 Sep 2010 05:49:25 +0000 (05:49 +0000)]
this call returns an array; fixes surprise stat cats in patron display

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

15 years agoBackport r17950 from trunk
senator [Fri, 24 Sep 2010 04:46:25 +0000 (04:46 +0000)]
Backport r17950 from trunk

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

15 years agoWe're starting to get events where ilsevent == empty string now, not just null or...
phasefx [Fri, 24 Sep 2010 02:37:33 +0000 (02:37 +0000)]
We're starting to get events where ilsevent == empty string now, not just null or a number.

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

15 years agoBackport r17946 from trunk: use _session_request in RO calls
miker [Fri, 24 Sep 2010 01:48:09 +0000 (01:48 +0000)]
Backport r17946 from trunk: use _session_request in RO calls

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

15 years agoApply some fixes that were earlier applied to the base installation script
scottmk [Fri, 24 Sep 2010 00:54:33 +0000 (00:54 +0000)]
Apply some fixes that were earlier applied to the base installation script
090.schema.action.sql, but not in an upgrade script.

Also: correct a typo (INTEVAL -> INTERVAL).  Hence this upgrade needs to go
to v2.0 as well as to trunk.

M    Open-ILS/src/sql/Pg/090.schema.action.sql
M    Open-ILS/src/sql/Pg/002.schema.config.sql
A    Open-ILS/src/sql/Pg/upgrade/0418.function.action.fix-purge-circ.sql

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

15 years agoBackport r17941 from trunk: miker's permacrud authoritative search
senator [Fri, 24 Sep 2010 00:16:12 +0000 (00:16 +0000)]
Backport r17941 from trunk: miker's permacrud authoritative search

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

15 years agoBackport r17939 from trunk: Stopping the leak
miker [Thu, 23 Sep 2010 23:50:20 +0000 (23:50 +0000)]
Backport r17939 from trunk: Stopping the leak

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

15 years agoI can has authoritative for selfcheck receipts
erickson [Thu, 23 Sep 2010 23:01:47 +0000 (23:01 +0000)]
I can has authoritative for selfcheck receipts

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

15 years agoBackport r17933 from trunk: unneeded comma removed to placate IE
senator [Thu, 23 Sep 2010 21:00:20 +0000 (21:00 +0000)]
Backport r17933 from trunk: unneeded comma removed to placate IE

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

15 years agorepaired search call for user_setting. cstoreeditor uses the fieldmapper name, sos...
erickson [Thu, 23 Sep 2010 20:48:27 +0000 (20:48 +0000)]
repaired search call for user_setting. cstoreeditor uses the fieldmapper name, sos/usr/user/

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

15 years agoResolving various discrepancies between a freshly built 2.0
scottmk [Thu, 23 Sep 2010 18:58:38 +0000 (18:58 +0000)]
Resolving various discrepancies between a freshly built 2.0
database and an upgraded one.

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

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

15 years agodisable holds Detail View button until the asynchronously loading details UI is ready
phasefx [Thu, 23 Sep 2010 16:35:55 +0000 (16:35 +0000)]
disable holds Detail View button until the asynchronously loading details UI is ready

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

15 years agoBackport r17913 from trunk: event firing util code needs to run in a xact
miker [Thu, 23 Sep 2010 15:47:54 +0000 (15:47 +0000)]
Backport r17913 from trunk: event firing util code needs to run in a xact

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

15 years agoBackport r17912 from trunk: Have the CStoreEditor grow a DESTROY
miker [Thu, 23 Sep 2010 15:47:13 +0000 (15:47 +0000)]
Backport r17912 from trunk: Have the CStoreEditor grow a DESTROY

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

15 years agoMerging r17905 and r17914 from trunk: A/T transaction semantics fixes
miker [Thu, 23 Sep 2010 15:46:26 +0000 (15:46 +0000)]
Merging r17905 and r17914 from trunk: A/T transaction semantics fixes

r17905: Use a transaction to avoid talking to a replicated db when building A/T data structures
r17914: In EventGroup.pm, fetch updated event back from the R/W db before comitting

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

15 years agoForward-port of a patch from Steve Callendar, via James Fournie, via launchpad:
miker [Thu, 23 Sep 2010 15:40:48 +0000 (15:40 +0000)]
Forward-port of a patch from Steve Callendar, via James Fournie, via launchpad:

When the patron.password.use_phone is set, new patrons are created with their password set to the last 4 digits of their phone number, HOWEVER, when a
 patron's password is reset, it does not work properly. Although the little underlined summary shows the proper 4 digits, the password box displays 9-
ish digits, and is not the last 4 digits of the password.

The attached patch was created by Steve Callender and is confirmed working on 1.6.0

ORIGINAL CAVEAT: This patch will not work on 2.0 as that has a new user editor, but it would presumably be worthwhile to verify this functionality wor
ks in that editor as well.

ED NOTE: Because it is possible to use the old editor -- it still exists -- this patch should be applied.  It does what it advertises to do, which is
fix the old editor to follow the "use phone number" OU setting.

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

15 years agoDropping and recreating a foreign key constraint for config.metabib_field,
scottmk [Thu, 23 Sep 2010 13:45:08 +0000 (13:45 +0000)]
Dropping and recreating a foreign key constraint for config.metabib_field,
in order to change its name.  WHen this foreign key was first introduced,
the upgrade script gave it one name and the base install script gave it
a different name.  Here we bring the names into sync.

M    Open-ILS/src/sql/Pg/002.schema.config.sql
A    Open-ILS/src/sql/Pg/upgrade/0415.schema.rename-field-class-fkey.sql

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

15 years agoRemove most annoying UI "feature" of the new authority browse list interface
dbs [Thu, 23 Sep 2010 03:46:09 +0000 (03:46 +0000)]
Remove most annoying UI "feature" of the new authority browse list interface

When I added the new authority browse list interface, I used dojo.xhrGet()
to retrieve records from the authority browse backend - but because I didn't
specify sync:true, when you first right-clicked on a subfield, the function
would return immediately and default to showing the context menu. You would
then need to click two more times to show the authority list.

Now you get it on your first right-click, as it should be.

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

15 years agoBrowse through 20 authority records at a time in management interface
dbs [Thu, 23 Sep 2010 03:18:55 +0000 (03:18 +0000)]
Browse through 20 authority records at a time in management interface

The default browse list is set to 9 elements, but we have enough vertical
space to make use of more. Perhaps we should check the font size and
viewport height and then adjust accordingly, but that would be Hard.

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

15 years agoBackport r17906: Remove most UI annoyances from authority management interface
dbs [Thu, 23 Sep 2010 03:11:26 +0000 (03:11 +0000)]
Backport r17906: Remove most UI annoyances from authority management interface

  * term input field now gets the focus automatically
  * pressing enter in most places submits a new search
  * removed the onBlur event as that required users to click a second
    time to open the action menu

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

15 years agoBackport r17903 from trunk: only flesh up to, but not including, the leaf for the...
miker [Thu, 23 Sep 2010 02:13:19 +0000 (02:13 +0000)]
Backport r17903 from trunk: only flesh up to, but not including, the leaf for the group_field

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

15 years agoBackport r17901 from trunk: IDL chunking fixin'
senator [Thu, 23 Sep 2010 00:34:55 +0000 (00:34 +0000)]
Backport r17901 from trunk: IDL chunking fixin'

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

15 years agoBackport r17899 from trunk: fix a pull list sorting issue
senator [Thu, 23 Sep 2010 00:14:56 +0000 (00:14 +0000)]
Backport r17899 from trunk: fix a pull list sorting issue

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

15 years agomerge r17896-17897 from trunk for printing fixes
phasefx [Wed, 22 Sep 2010 20:03:09 +0000 (20:03 +0000)]
merge r17896-17897 from trunk for printing fixes

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

15 years agomerge r17894 from trunk to fix bug in Item Status -> Alternate View for items with...
phasefx [Wed, 22 Sep 2010 19:38:45 +0000 (19:38 +0000)]
merge r17894 from trunk to fix bug in Item Status -> Alternate View for items with no circ modifier

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

15 years agomerge r17892 from trunk for holdings maintenance fix allowing volumes at top of org...
phasefx [Wed, 22 Sep 2010 19:31:53 +0000 (19:31 +0000)]
merge r17892 from trunk for holdings maintenance fix allowing volumes at top of org tree

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

15 years agoAdding a trigger. Upgrade # 0364 created the trigger function but not
scottmk [Wed, 22 Sep 2010 19:16:25 +0000 (19:16 +0000)]
Adding a trigger.  Upgrade # 0364 created the trigger function but not
the trigger itself.  However the base install script 040.schema.asset.sql
creates both the function and the trigger.

M    Open-ILS/src/sql/Pg/002.schema.config.sql
A    Open-ILS/src/sql/Pg/upgrade/0414.schema.call-number-upd-ins-trigger.sql

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

15 years agoFor action.circulation and action.aged_circulation: add indexes
scottmk [Wed, 22 Sep 2010 15:59:05 +0000 (15:59 +0000)]
For action.circulation and action.aged_circulation: add indexes
on the target_copy column.

This change was made in upgrade script # 0017, but was apparently
never applied to the base install script.

M    Open-ILS/src/sql/Pg/090.schema.action.sql

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

15 years agoIn acq.fund_transfer: drop the NOT NULL constraint from dest_fund and
scottmk [Wed, 22 Sep 2010 12:55:26 +0000 (12:55 +0000)]
In acq.fund_transfer: drop the NOT NULL constraint from dest_fund and
dest_amount, in order to accommodate deallocations -- where we move
money out of a fund without moving it into another fund.

This change was applied via upgrade script # 0135, but apparently was
never applied to the base installation script.

M    Open-ILS/src/sql/Pg/200.schema.acq.sql

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

15 years agoForward port r17847: Make query parser a bit more careful when converting convenience...
dbs [Wed, 22 Sep 2010 02:13:21 +0000 (02:13 +0000)]
Forward port r17847: Make query parser a bit more careful when converting convenience classes to search classes

Queries like "Heart disease: a global problem" were getting converted to series searches
due to the trailing "se:" in the search terms. This change ensures that the convenience
class is either at the start of the input or preceded by whitespace.

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

15 years agohandle null as a return result for an empty list
phasefx [Wed, 22 Sep 2010 01:04:09 +0000 (01:04 +0000)]
handle null as a return result for an empty list

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

15 years agomerge r17879 from trunk to increase timeout for full pull list call
phasefx [Wed, 22 Sep 2010 00:56:44 +0000 (00:56 +0000)]
merge r17879 from trunk to increase timeout for full pull list call

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