]> git.evergreen-ils.org Git - Evergreen.git/log
15 years agoadding test for SRU perl module in settings tester support script
miker [Sat, 1 Mar 2008 19:30:51 +0000 (19:30 +0000)]
adding test for SRU perl module in settings tester support script

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

15 years agoadding SRU exmple stanza
miker [Sat, 1 Mar 2008 16:59:42 +0000 (16:59 +0000)]
adding SRU exmple stanza

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

15 years agouse the correct access method for the id list
miker [Sat, 1 Mar 2008 16:41:30 +0000 (16:41 +0000)]
use the correct access method for the id list

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

15 years agomore adjusting of the cql qualifier logic
miker [Sat, 1 Mar 2008 16:37:27 +0000 (16:37 +0000)]
more adjusting of the cql qualifier logic

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

15 years agomore adjusting of the cql qualifier logic
miker [Sat, 1 Mar 2008 16:36:54 +0000 (16:36 +0000)]
more adjusting of the cql qualifier logic

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

15 years agoadjusting cql qualifier logic
miker [Sat, 1 Mar 2008 16:31:38 +0000 (16:31 +0000)]
adjusting cql qualifier logic

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

15 years agomoving default grammar to HEREDOC instead of DATA section
miker [Sat, 1 Mar 2008 16:13:02 +0000 (16:13 +0000)]
moving default grammar to HEREDOC instead of DATA section

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

15 years agoadding initial sru support
miker [Sat, 1 Mar 2008 05:43:04 +0000 (05:43 +0000)]
adding initial sru support

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

15 years agoadded check for always_xact since xact flag may not be set in authoritative mode
erickson [Fri, 29 Feb 2008 14:16:22 +0000 (14:16 +0000)]
added check for always_xact since xact flag may not be set in authoritative mode

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

15 years agochecking for xact instead of xact_id to verify session. at this point in the code...
erickson [Fri, 29 Feb 2008 14:08:25 +0000 (14:08 +0000)]
checking for xact instead of xact_id to verify session.  at this point in the code, if the editor has not had a reason to create a session yet, xact_id will be undef

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

15 years agochanged the /right/ error to warning to prevent stderr spewing
erickson [Tue, 26 Feb 2008 21:08:02 +0000 (21:08 +0000)]
changed the /right/ error to warning to prevent stderr spewing

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

15 years agochanged error to warning to prevent stderr spewing
erickson [Tue, 26 Feb 2008 21:04:19 +0000 (21:04 +0000)]
changed error to warning to prevent stderr spewing

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

15 years agoAnd check for duplicate IDs in the main loop, just like miker asked
dbs [Sat, 23 Feb 2008 01:34:49 +0000 (01:34 +0000)]
And check for duplicate IDs in the main loop, just like miker asked

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

15 years agoEnable custom specified ID to be retained in preprocess subroutine
dbs [Sat, 23 Feb 2008 00:32:45 +0000 (00:32 +0000)]
Enable custom specified ID to be retained in preprocess subroutine

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

15 years agoadded support for volume-level holds migration during volume merging
erickson [Fri, 22 Feb 2008 18:51:26 +0000 (18:51 +0000)]
added support for volume-level holds  migration during volume merging

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

15 years agosrfsh wants less, and it's not installed on minimal debian, so let's give it less.
dbs [Fri, 22 Feb 2008 18:34:56 +0000 (18:34 +0000)]
srfsh wants less, and it's not installed on minimal debian, so let's give it less.
less is more

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

15 years agomoved to die_events for in-transaction error handling
erickson [Fri, 22 Feb 2008 15:22:54 +0000 (15:22 +0000)]
moved to die_events for in-transaction error handling

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

15 years agoadded logic to migrate holds from the deleted records to the master record in title...
erickson [Fri, 22 Feb 2008 15:20:05 +0000 (15:20 +0000)]
added logic to migrate holds from the deleted records to the master record in title merging

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

15 years agoadded hold permit flag for new holds to prevent max-holds checks on existing holds
erickson [Fri, 22 Feb 2008 00:09:41 +0000 (00:09 +0000)]
added hold permit flag for new holds to prevent max-holds checks on existing holds

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

15 years agoadding authoritative method varients
miker [Thu, 21 Feb 2008 17:34:28 +0000 (17:34 +0000)]
adding authoritative method varients

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

15 years agoUpdate libdbi and libdbi-drivers to 0.8.3 to avoid recent compilation problems on...
dbs [Wed, 20 Feb 2008 17:33:33 +0000 (17:33 +0000)]
Update libdbi and libdbi-drivers to 0.8.3 to avoid recent compilation problems on Ubuntu Gutsy
(Thanks to anarchivist for the heads-up!)

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

15 years agoConvert entity-ized hyphens back to regular hyphens for easy copy and pasting
dbs [Wed, 20 Feb 2008 15:52:38 +0000 (15:52 +0000)]
Convert entity-ized hyphens back to regular hyphens for easy copy and pasting
(but escape the second hyphen to avoid "invalid comment" warnings from xsltproc)

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

15 years agoFrench MARC tooltip creator for the cataloging interface
dbs [Wed, 20 Feb 2008 04:38:35 +0000 (04:38 +0000)]
French MARC tooltip creator for the cataloging interface

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

15 years agousing explicit namespace in addition to default namespace to account for differences...
erickson [Tue, 19 Feb 2008 23:38:18 +0000 (23:38 +0000)]
using explicit namespace in addition to default namespace to account for differences in libxml2 handling

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

15 years agoRemoving some dead code
erickson [Tue, 19 Feb 2008 13:54:39 +0000 (13:54 +0000)]
Removing some dead code
changed (wherever possible) references from objson to the new opensrf/osrf_json.h
cstore is the last remaining legacy json (objson) client that needs updating

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

15 years agoAdd explicit postgresql version dependencies
dbs [Tue, 19 Feb 2008 12:34:58 +0000 (12:34 +0000)]
Add explicit postgresql version dependencies
Differentiate between Ubuntu Gutsy and Debian Etch postgresql versions
Update SpiderMonkey version

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

15 years agoreturning undef on not-found instead of 0 to prevent id=0 conflicts
erickson [Mon, 18 Feb 2008 21:55:14 +0000 (21:55 +0000)]
returning undef on not-found instead of 0 to prevent id=0 conflicts

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

15 years agoThis method returns 1 or 0. == appears to work whether res equals "1" or 1, is that...
phasefx [Mon, 18 Feb 2008 21:41:14 +0000 (21:41 +0000)]
This method returns 1 or 0. == appears to work whether res equals "1" or 1, is that what we want?

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

15 years agoThis method returns 1 or 0. == appears to work whether res equals "1" or 1, is that...
phasefx [Mon, 18 Feb 2008 21:33:13 +0000 (21:33 +0000)]
This method returns 1 or 0. == appears to work whether res equals "1" or 1, is that what we want?

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

15 years agoHoldings Maintenance interface. copy_browser.js uses circ/util.js and that needs...
phasefx [Sat, 16 Feb 2008 18:15:13 +0000 (18:15 +0000)]
Holdings Maintenance interface.  copy_browser.js uses circ/util.js and that needs these properties

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

15 years agoadding hold matrix model data; adding permacrud validation hooks to main xsd
miker [Fri, 15 Feb 2008 20:56:40 +0000 (20:56 +0000)]
adding hold matrix model data; adding permacrud validation hooks to main xsd

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

15 years agoadding test result virtual class and fixing cut-n-paste error
miker [Fri, 15 Feb 2008 20:35:53 +0000 (20:35 +0000)]
adding test result virtual class and fixing cut-n-paste error

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

15 years agodefaulting selection_ou to the pickup lib instead of home_ou of the recipient
erickson [Fri, 15 Feb 2008 02:41:35 +0000 (02:41 +0000)]
defaulting selection_ou to the pickup lib instead of home_ou of the recipient

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

15 years agoin-DB circ matrix models (a couple more to go)
miker [Thu, 14 Feb 2008 21:39:19 +0000 (21:39 +0000)]
in-DB circ matrix models (a couple more to go)

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

15 years agotweaked wording for Items Out interface to better match reality
phasefx [Thu, 14 Feb 2008 04:25:58 +0000 (04:25 +0000)]
tweaked wording for Items Out interface to better match reality

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

15 years agoUpdate copyright statement in catalogue footer
dbs [Wed, 13 Feb 2008 16:32:35 +0000 (16:32 +0000)]
Update copyright statement in catalogue footer

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

15 years agoremoving dead code.. Hold Capture interface is a variant of Check In interface
phasefx [Wed, 13 Feb 2008 04:00:28 +0000 (04:00 +0000)]
removing dead code.. Hold Capture interface is a variant of Check In interface

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

15 years agoarg! typo
miker [Tue, 12 Feb 2008 16:13:11 +0000 (16:13 +0000)]
arg! typo

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

15 years agoi18n for the server/main and server/OpenILS directories
dbs [Tue, 12 Feb 2008 02:41:11 +0000 (02:41 +0000)]
i18n for the server/main and server/OpenILS directories

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

15 years agoComplete server/circ/util.js i18n (oh my aching fingers)
dbs [Mon, 11 Feb 2008 21:44:51 +0000 (21:44 +0000)]
Complete server/circ/util.js i18n (oh my aching fingers)

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

15 years agoadde Parse::RecDescent stubbing for future use
miker [Mon, 11 Feb 2008 20:47:11 +0000 (20:47 +0000)]
adde Parse::RecDescent stubbing for future use

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

15 years agoaugmented parse_and_raise to act as a pass-thru when the provided object is not an...
erickson [Mon, 11 Feb 2008 20:37:58 +0000 (20:37 +0000)]
augmented parse_and_raise to act as a pass-thru when the provided object is not an event

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

15 years agorolling back one change to oilsEventFree, which was causing a double-free. as noted...
erickson [Mon, 11 Feb 2008 18:47:54 +0000 (18:47 +0000)]
rolling back one change to oilsEventFree, which was causing a double-free.  as noted in a new comment, if event->json is generated, it will contain a pointer to event->payload, which will cause event->payload to be automatically freed at ->payload free time

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

15 years agonew lib IP ranges
erickson [Mon, 11 Feb 2008 15:44:34 +0000 (15:44 +0000)]
new lib IP ranges

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

15 years agoPatch from Scott McKellar which plugs a couple of memory leaks, and
miker [Mon, 11 Feb 2008 12:52:04 +0000 (12:52 +0000)]
Patch from Scott McKellar which plugs a couple of memory leaks, and
applies some minor optimizations, as much for clarity as for

1. In buildSELECT() we were leaking defaultselhash in the case of an
early return.

2. In doFieldmapperSearch() we were leaking flesh_blob in the case
of an early return.

3. In doFieldmapperSearch() I rearranged the logic a bit.  First,
I performed a single search of meta to get a method type and saved
the result for reuse, instead of performing the identical search
repeatedly.  Second, I turned a series of ifs into a series of
if/elses.  That way we stop searching when we find a match.  More
importantly, the if/else structure makes it more clear to the reader
that we're really just branching on method type in a case structure.

This latter change requires that none of the branches changes the
contents of ctx->method->userData.  So far as I can tell by tracing
out all the branches, this condition is satisfied, as one would
intuitively expect.

4. Also in doFieldmapperSearch(): I increased the size of the
growing_buffer sel_list from 16 characters to 64.  Since the
formatted string is at least 13 characters long, depending on the
length of the class name and primary key, I suspect that 16
characters will almost never be big enough.  Even 64 characters
might be too short.  I don't know how long the values typically
are in practice.

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

15 years agoStart tackling circ/util.js i18n
dbs [Mon, 11 Feb 2008 05:04:23 +0000 (05:04 +0000)]
Start tackling circ/util.js i18n

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

15 years agomoving to direct call syntax instead of indirection based, since it is unsafe
miker [Fri, 8 Feb 2008 21:01:19 +0000 (21:01 +0000)]
moving to direct call syntax instead of indirection based, since it is unsafe

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

15 years agodirect function calls to prevent any issues with $self. removed some unused code
erickson [Fri, 8 Feb 2008 20:57:29 +0000 (20:57 +0000)]
direct function calls to prevent any issues with $self.  removed some unused code

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

15 years agodirect function calls to prevent any issues with $self
erickson [Fri, 8 Feb 2008 20:51:54 +0000 (20:51 +0000)]
direct function calls to prevent any issues with $self

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

15 years agocalling copy_details directly to prevent any issues with the $self variable
erickson [Fri, 8 Feb 2008 20:46:18 +0000 (20:46 +0000)]
calling copy_details directly to prevent any issues with the $self variable

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

15 years agoFix one little typo
dbs [Fri, 8 Feb 2008 19:56:33 +0000 (19:56 +0000)]
Fix one little typo

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

15 years agomoving variable decl. until after config is loaded
erickson [Fri, 8 Feb 2008 17:35:04 +0000 (17:35 +0000)]
moving variable decl. until after config is loaded

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

15 years agoadding subfield setting for idfield
miker [Fri, 8 Feb 2008 15:38:30 +0000 (15:38 +0000)]
adding subfield setting for idfield

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

15 years agoMostly finish off server/circ i18n work
dbs [Thu, 7 Feb 2008 22:39:23 +0000 (22:39 +0000)]
Mostly finish off server/circ i18n work

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

15 years agoTypo: lenth -> length
dbs [Thu, 7 Feb 2008 21:41:17 +0000 (21:41 +0000)]
Typo: lenth -> length

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

15 years agoalso bringing the permacrud.xsd from acq (thanks for the reminder, Dan!)
miker [Thu, 7 Feb 2008 19:49:48 +0000 (19:49 +0000)]
also bringing the permacrud.xsd from acq (thanks for the reminder, Dan!)

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

15 years agoadding index for object perms, and re-tabbing a bit
miker [Thu, 7 Feb 2008 19:48:17 +0000 (19:48 +0000)]
adding index for object perms, and re-tabbing a bit

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

15 years agocross-port the per-object perm scheme from the acq branch
miker [Thu, 7 Feb 2008 19:36:16 +0000 (19:36 +0000)]
cross-port the per-object perm scheme from the acq branch

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

15 years agoEnsure ils_events.py is executable
dbs [Thu, 7 Feb 2008 04:39:38 +0000 (04:39 +0000)]
Ensure ils_events.py is executable

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

15 years agoBring copy_status to the world of i18n
dbs [Thu, 7 Feb 2008 04:24:31 +0000 (04:24 +0000)]
Bring copy_status to the world of i18n

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

15 years agofixing readonly IDL logic
miker [Thu, 7 Feb 2008 01:26:36 +0000 (01:26 +0000)]
fixing readonly IDL logic

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

15 years agoadded explicit "return undef"
erickson [Wed, 6 Feb 2008 20:23:22 +0000 (20:23 +0000)]
added explicit "return undef"

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

15 years agologic bug in new perm checker. removed some dead code
erickson [Wed, 6 Feb 2008 18:03:15 +0000 (18:03 +0000)]
logic bug in new perm checker.  removed some dead code

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

15 years agoadded vars to store permission error info
erickson [Wed, 6 Feb 2008 17:53:33 +0000 (17:53 +0000)]
added vars to store permission error info

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

15 years agousing shared build_org_tree in apputils
erickson [Wed, 6 Feb 2008 17:33:51 +0000 (17:33 +0000)]
using shared build_org_tree in apputils

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

15 years agonow using the find_highest_perm_org and get_org_tree methods provided in apputils
erickson [Wed, 6 Feb 2008 17:14:41 +0000 (17:14 +0000)]
now using the find_highest_perm_org and get_org_tree methods provided in apputils

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

15 years agofixed variable declaration
erickson [Wed, 6 Feb 2008 16:39:23 +0000 (16:39 +0000)]
fixed variable declaration

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

15 years agogave cstore editor the ability to check an array of permissions
erickson [Wed, 6 Feb 2008 16:29:55 +0000 (16:29 +0000)]
gave cstore editor the ability to check an array of permissions

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

15 years agouse serial instead of plain INT for pkey on circ_mod_test table
miker [Wed, 6 Feb 2008 06:24:56 +0000 (06:24 +0000)]
use serial instead of plain INT for pkey on circ_mod_test table

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

15 years agooverriding save to force None-ness on the interval fields
erickson [Wed, 6 Feb 2008 04:18:00 +0000 (04:18 +0000)]
overriding save to force None-ness on the interval fields

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

15 years agoadded example verbose name
erickson [Wed, 6 Feb 2008 04:00:23 +0000 (04:00 +0000)]
added example verbose name

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

15 years agogetting closer on the circmatrixmatchpoint editing
erickson [Wed, 6 Feb 2008 03:57:01 +0000 (03:57 +0000)]
getting closer on the circmatrixmatchpoint editing
- using edit_inline on foreign keys to allow for up-front editing of
objects which link to circmatrixmatchpoint
- updated some of the __str__ methods to use gettext's unique brand of string interpolation
- added some blank=False flags for non-required fields

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

15 years agoi18n improvements as I go through updating status
dbs [Wed, 6 Feb 2008 03:44:09 +0000 (03:44 +0000)]
i18n improvements as I go through updating status

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

15 years agoupdating the exporter config to add the proxy for staff
miker [Tue, 5 Feb 2008 19:35:57 +0000 (19:35 +0000)]
updating the exporter config to add the proxy for staff

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

15 years agoregression in dos.print kludge.. need to quote path for windows, and assure text...
phasefx [Tue, 5 Feb 2008 19:28:43 +0000 (19:28 +0000)]
regression in dos.print kludge.. need to quote path for windows, and assure text is being passed and not objects

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

15 years agorepaired descendant logic for initial high perm org
erickson [Tue, 5 Feb 2008 15:52:44 +0000 (15:52 +0000)]
repaired descendant logic for initial high perm org

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

15 years agoadded a descendants option to the high work org retrieval function
erickson [Tue, 5 Feb 2008 15:25:11 +0000 (15:25 +0000)]
added a descendants option to the high work org retrieval function

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

15 years agofixed some typos
erickson [Tue, 5 Feb 2008 15:15:57 +0000 (15:15 +0000)]
fixed some typos

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

15 years agofixed calls to new_editor, which will not work in apputils (circular ref)
erickson [Tue, 5 Feb 2008 15:05:34 +0000 (15:05 +0000)]
fixed calls to new_editor, which will not work in apputils (circular ref)

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

15 years agoadded org descendant/ancestor/full_path utility methods
erickson [Tue, 5 Feb 2008 14:59:55 +0000 (14:59 +0000)]
added org descendant/ancestor/full_path utility methods

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

15 years agoupdating models with (what should be) working display code
miker [Tue, 5 Feb 2008 13:21:10 +0000 (13:21 +0000)]
updating models with (what should be) working display code

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

15 years agoMore i18n for chrome
dbs [Tue, 5 Feb 2008 04:30:59 +0000 (04:30 +0000)]
More i18n for chrome

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

15 years agoCorrect common.error vs. common.exception mistake, plus a bit more i18n
dbs [Tue, 5 Feb 2008 03:44:01 +0000 (03:44 +0000)]
Correct common.error vs. common.exception mistake, plus a bit more i18n

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

15 years agoBring i18n to main.js
dbs [Tue, 5 Feb 2008 03:22:51 +0000 (03:22 +0000)]
Bring i18n to main.js

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

15 years agomoved some of the work org and perm calls into apputils since they will be needed...
erickson [Mon, 4 Feb 2008 23:40:23 +0000 (23:40 +0000)]
moved some of the work org and perm calls into apputils since they will be needed accross applications and they will be hit a lot

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

15 years agoBring more i18n love to chrome/main
dbs [Mon, 4 Feb 2008 22:33:11 +0000 (22:33 +0000)]
Bring more i18n love to chrome/main

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

15 years agoadded a .ids version of the work ou retrieval function. short circuiting the highest...
erickson [Mon, 4 Feb 2008 22:14:58 +0000 (22:14 +0000)]
added a .ids version of the work ou retrieval function. short circuiting the highest-work-org method if we hit an org with depth 0

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

15 years agoFix typo (getStrint->getString)
dbs [Mon, 4 Feb 2008 22:08:53 +0000 (22:08 +0000)]
Fix typo (getStrint->getString)

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

15 years agoclear "Red Items are circulating" hint on refresh in Patron Bills interface
phasefx [Mon, 4 Feb 2008 22:01:39 +0000 (22:01 +0000)]
clear "Red Items are circulating" hint on refresh in Patron Bills interface

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

15 years agorepaired some copy/paste errors
erickson [Mon, 4 Feb 2008 21:52:33 +0000 (21:52 +0000)]
repaired some copy/paste errors

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

15 years agoadding baseline circ matrix models
miker [Mon, 4 Feb 2008 21:22:27 +0000 (21:22 +0000)]
adding baseline circ matrix models

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

15 years agoBring i18n to JSAN error messages
dbs [Mon, 4 Feb 2008 18:17:10 +0000 (18:17 +0000)]
Bring i18n to JSAN error messages

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

15 years agoadded a min-depth function for a group of orgs, changed some variable names to be...
erickson [Mon, 4 Feb 2008 16:45:51 +0000 (16:45 +0000)]
added a min-depth function for a group of orgs, changed some variable names to be more explicit

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

15 years agoforcing int-ness on flat org keys for consistency
erickson [Mon, 4 Feb 2008 16:35:03 +0000 (16:35 +0000)]
forcing int-ness on flat org keys for consistency

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

15 years agoverifying existance of org tree before building union tree
erickson [Mon, 4 Feb 2008 16:28:06 +0000 (16:28 +0000)]
verifying existance of org tree before building union tree

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

15 years agono longer clobbering client-provided array of orgs
erickson [Mon, 4 Feb 2008 16:23:30 +0000 (16:23 +0000)]
no longer clobbering client-provided array of orgs

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

15 years agorepaired logic error in union-tree builder
erickson [Mon, 4 Feb 2008 15:36:28 +0000 (15:36 +0000)]
repaired logic error in union-tree builder

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

15 years agoComplete i18n of chrome/cat/opac.js
dbs [Mon, 4 Feb 2008 05:56:31 +0000 (05:56 +0000)]
Complete i18n of chrome/cat/opac.js

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

15 years agoBring i18n to the main login window
dbs [Mon, 4 Feb 2008 05:43:50 +0000 (05:43 +0000)]
Bring i18n to the main login window

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

15 years agoPatch from Scott McKellar:
miker [Sun, 3 Feb 2008 19:08:44 +0000 (19:08 +0000)]
Patch from Scott McKellar:

1. In setSavepoint(), releaseSavepoint() and rollbackSavepoint()
we were leaking spName.

2. Deep in doCreate() we were passing the return value of
jsonObjectToSimpleString() directly to strcmp(), resulting in a leak.
The strcmp() was inside a complex if condition. which I rearranged so
as to capture the string and free it.

Also: I captured and reused the return value from
jsonObjectGetKeyConst() so as to avoid duplicated calls.

Aso: I reversed the sense of the if condition and swapped the branches,
so that it tests for equality rather than inequality.  To my eyes this
arrangement is more readable.

3. doRetrieve() was leaking id.

4. jsonNumberToDBString() was passing the return value of
jsonObjectToSimpleString() directly to atol() and atof(), thereby
leaking the memory.  I captured the pointers and freed them.

5. searchFieldTransform() was leaking val.

6. In searchJOIN() we were leaking type and filter_op in the case of
some early returns.  I moved the allocations past the early returns
so that we don't allocate them until we need them.  I also free them
as soon as we are done with them.  As a side benefit, I was able to
avoid allocating filter_op at all in some cases.

I gave similar treatment to table, although that wasn't being leaked.
As a result I could avoid having to free it in the early returns.

A couple of the early returns would leak field or fkey.  I plugged
those leaks as well.

I moved the declarations of filter and join_filter to their points
of first use, in the interest of clarity.

7. In buildSELECT(): we were passing the return value of
jsonObjectToSimpleString() directly to osrfHashGet(), thereby leaking
the memory.  I captured the pointer and freed it.

8. In doFieldmapperSearch() a do/while loop allocates pkey_val but
in some cases wasn't freeing it.

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