Evergreen.git
13 years agoRemove relative path dependencies for running tests.
dbs [Mon, 10 Dec 2007 13:50:04 +0000 (13:50 +0000)]
Remove relative path dependencies for running tests.

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

13 years agoTest suite for fieldmapper IDL i18n (and a fix - yay, tests).
dbs [Mon, 10 Dec 2007 02:23:11 +0000 (02:23 +0000)]
Test suite for fieldmapper IDL i18n (and a fix - yay, tests).

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

13 years agoshow full and short name for patron org with privacy opt-in
phasefx [Sun, 9 Dec 2007 21:27:20 +0000 (21:27 +0000)]
show full and short name for patron org with privacy opt-in

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

13 years agoAdd a unit test for saving POT files
dbs [Sun, 9 Dec 2007 17:53:43 +0000 (17:53 +0000)]
Add a unit test for saving POT files

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

13 years agoforcing location names to be strings so toLowerCase will work
erickson [Sun, 9 Dec 2007 14:19:20 +0000 (14:19 +0000)]
forcing location names to be strings so toLowerCase will work

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

13 years agoUnit test for generating and loading PO files.
dbs [Sun, 9 Dec 2007 05:04:34 +0000 (05:04 +0000)]
Unit test for generating and loading PO files.

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

13 years agoMake BaseL10N more flexible about creation timestamp.
dbs [Sun, 9 Dec 2007 05:02:28 +0000 (05:02 +0000)]
Make BaseL10N more flexible about creation timestamp.
Add one test for loading PO files, along with required data files.

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

13 years agoslowly adding back the iterator cleanup
miker [Sun, 9 Dec 2007 04:44:45 +0000 (04:44 +0000)]
slowly adding back the iterator cleanup

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

13 years agoremove earlier iterator cleanup
miker [Sun, 9 Dec 2007 04:12:31 +0000 (04:12 +0000)]
remove earlier iterator cleanup

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

13 years agogoing back to jsonParseString ... something is still making json_query unhappy
miker [Sun, 9 Dec 2007 03:40:09 +0000 (03:40 +0000)]
going back to jsonParseString ... something is still making json_query unhappy

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

13 years agomoving around itr definitions ... something has made json_query unhappy recently
miker [Sun, 9 Dec 2007 03:18:28 +0000 (03:18 +0000)]
moving around itr definitions ... something has made json_query unhappy recently

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

13 years agofreeing iterators after use
miker [Sun, 9 Dec 2007 02:50:54 +0000 (02:50 +0000)]
freeing iterators after use

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

13 years agofree returned objects in json_query
miker [Sun, 9 Dec 2007 01:57:43 +0000 (01:57 +0000)]
free returned objects in json_query

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

13 years agoimplemented org setting for barcode regex to assist the opac in determing if a user...
erickson [Sat, 8 Dec 2007 20:22:18 +0000 (20:22 +0000)]
implemented org setting for barcode regex to assist the opac in determing if a user is logging in with their username or barcode

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

13 years agoHrmm, going back to the old--url param--way of passing data around windows/iframes...
phasefx [Sat, 8 Dec 2007 00:44:32 +0000 (00:44 +0000)]
Hrmm, going back to the old--url param--way of passing data around windows/iframes here.  Fixes a regression where Item Details weren't showing for Bill History/Alternate View/Full Details in billing interface.  Remind me to never use iframes in the next major staff client overhaul; I'll use Bill & Mike's clone template node strategy first. :)  Let's also trap the error I'm working around here, TypeError: this.docShell has no properties when trying to access the contentWindow for these specific iframes

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

13 years agoSplit out localization base class into basel10n.py
dbs [Fri, 7 Dec 2007 04:09:10 +0000 (04:09 +0000)]
Split out localization base class into basel10n.py
Add a class to support localization of fm_IDL.xml
Generate a POT file for the fieldmapper IDL
Clean up db-seed-i18n.py (thanks to pylint the pedantic)

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

13 years agobanging on the 'dos print' kludge. There was a 1.2 regression involving a file path...
phasefx [Thu, 6 Dec 2007 23:03:06 +0000 (23:03 +0000)]
banging on the 'dos print' kludge.  There was a 1.2 regression involving a file path, which still needs to be tested with an actual windows machine and receipt printer.  This changeset also adds linux lpr support for 'dos print'.  I may need to use this print strategy for incremental printing, as much as it pains me.

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

13 years agofixing i18n infrastructure in the DB
miker [Thu, 6 Dec 2007 22:11:22 +0000 (22:11 +0000)]
fixing i18n infrastructure in the DB

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

13 years agoTypo: identifcation -> identification
dbs [Thu, 6 Dec 2007 21:36:41 +0000 (21:36 +0000)]
Typo: identifcation -> identification

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

13 years agorepaired lost entity
erickson [Thu, 6 Dec 2007 21:12:08 +0000 (21:12 +0000)]
repaired lost entity

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

13 years agoremoving erroneous commit -- thanks berick!
miker [Thu, 6 Dec 2007 01:40:49 +0000 (01:40 +0000)]
removing erroneous commit -- thanks berick!

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

13 years agohaving the Makefile install the orphaned report detector
miker [Thu, 6 Dec 2007 01:30:59 +0000 (01:30 +0000)]
having the Makefile install the orphaned report detector

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

13 years agoscript to find and list orphaned output, report and template directories for removal
miker [Thu, 6 Dec 2007 01:29:18 +0000 (01:29 +0000)]
script to find and list orphaned output, report and template directories for removal

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

13 years agoThis could be a normal condition, not an error
phasefx [Wed, 5 Dec 2007 23:40:25 +0000 (23:40 +0000)]
This could be a normal condition, not an error

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

13 years agotypo, fixes a Retrieve Last Patron bug from Item Details
phasefx [Wed, 5 Dec 2007 23:30:33 +0000 (23:30 +0000)]
typo, fixes a Retrieve Last Patron bug from Item Details

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

13 years agotypo, fixes a get_contentWindow error
phasefx [Wed, 5 Dec 2007 22:33:36 +0000 (22:33 +0000)]
typo, fixes a get_contentWindow error

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

13 years agocruft. sorry dbs :)
phasefx [Wed, 5 Dec 2007 19:46:50 +0000 (19:46 +0000)]
cruft. sorry dbs :)

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

13 years agoarg. voided is already there in the IDL
miker [Wed, 5 Dec 2007 19:34:57 +0000 (19:34 +0000)]
arg. voided is already there in the IDL

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

13 years agoadding voided field to money::payment -- another log-causing oversight
miker [Wed, 5 Dec 2007 19:32:58 +0000 (19:32 +0000)]
adding voided field to money::payment -- another log-causing oversight

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

13 years agomoved calls to cstore. moved events to die_events for in-transaction errors
erickson [Wed, 5 Dec 2007 17:42:46 +0000 (17:42 +0000)]
moved calls to cstore.  moved events to die_events for in-transaction errors

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

13 years agoadd the deleted field to the CDBI field list
miker [Wed, 5 Dec 2007 17:41:44 +0000 (17:41 +0000)]
add the deleted field to the CDBI field list

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

13 years agoRemove the bre step from the join tree -- not needed
miker [Wed, 5 Dec 2007 17:20:15 +0000 (17:20 +0000)]
Remove the bre step from the join tree -- not needed

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

13 years agospeedy json_query version of metarecord hold permit
miker [Wed, 5 Dec 2007 17:01:38 +0000 (17:01 +0000)]
speedy json_query version of metarecord hold permit

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

13 years agoReorder to satisfy FK constraints.
dbs [Tue, 4 Dec 2007 16:56:30 +0000 (16:56 +0000)]
Reorder to satisfy FK constraints.

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

13 years agoPrevent msgstr without msgid from being generated in POT.
dbs [Tue, 4 Dec 2007 09:54:24 +0000 (09:54 +0000)]
Prevent msgstr without msgid from being generated in POT.

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

13 years agoClean up a few errors in escaped strings.
dbs [Tue, 4 Dec 2007 09:49:22 +0000 (09:49 +0000)]
Clean up a few errors in escaped strings.

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

13 years agoAvoid mouse-grabbing weirdness by calling script with python explicitly.
dbs [Tue, 4 Dec 2007 09:47:04 +0000 (09:47 +0000)]
Avoid mouse-grabbing weirdness by calling script with python explicitly.
Correct escaped quotes in POT msgids.

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

13 years agoEnable translation of seed values stored in database.
dbs [Tue, 4 Dec 2007 08:17:35 +0000 (08:17 +0000)]
Enable translation of seed values stored in database.
Moves all DML from schema files into a single file.
db-seed-i18n.py will generate POT files and SQL for new localizations.
Commit a new POT file for the database seed values.

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

13 years agoforward porting xpath typo fix from Dan Scott
miker [Tue, 4 Dec 2007 01:30:14 +0000 (01:30 +0000)]
forward porting xpath typo fix from Dan Scott

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

13 years agopatch suggested by Dan Scott to simplify the in-database translation logic
miker [Mon, 3 Dec 2007 19:19:19 +0000 (19:19 +0000)]
patch suggested by Dan Scott to simplify the in-database translation logic

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

13 years agoStaff client is using new-style JSON now (completing changeset 7894).
dbs [Sun, 2 Dec 2007 05:15:13 +0000 (05:15 +0000)]
Staff client is using new-style JSON now (completing changeset 7894).

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

13 years agoEnable strict throughout, clean up one more warning
dbs [Sun, 2 Dec 2007 03:59:49 +0000 (03:59 +0000)]
Enable strict throughout, clean up one more warning

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

13 years agomoving op_join to the right place ... duh
miker [Sun, 2 Dec 2007 02:54:41 +0000 (02:54 +0000)]
moving op_join to the right place ... duh

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

13 years agosplit WHERE and HAVING predicate creation
miker [Sun, 2 Dec 2007 02:48:07 +0000 (02:48 +0000)]
split WHERE and HAVING predicate creation

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

13 years agoThis is a big commit. It started with a patch from Scott McKellar to
miker [Sun, 2 Dec 2007 02:27:33 +0000 (02:27 +0000)]
This is a big commit.  It started with a patch from Scott McKellar to
clean up several memory leaks in cstore and provide const-ification. I
was then inspired to add HAVING and multiple predicates per column support.

From Scott:

1. I applied the static qualifier to a number of functions, and a few
variables, that aren't referenced by other files.  I left as global
those functions that are registered for dynamic calls.

2. I found a number of cases where a call to buffer_data() was being
passed as a parameter to a function, guaranteeing a memory leak.  I
added code to capture the pointer returned by buffer_data() so that I
could free it later.

3. I added code to free a number of growing_buffers, jsonObjects,
and dynamically allocated buffers that were otherwise leaking.  In
some cases I had to juggle some extra pointers so that I could
distinguish between things I could delete and things I couldn't.  In
other cases I rearranged operations so that the freeing wouldn't get
bypassed.  I don't guarantee that I have plugged all the leaks.

4. Whenever possible I replaced buffer_data() with buffer_release(),
to eliminate a round of malloc() and free().  In some cases this
change enabled me to eliminate an intermediate variable.

5. Whenever possible I replaced jsonObjectGetKey() with
jsonObjectGetKeyConst().  Sometimes I had to juggle an extra pointer
or two in order to distinguish between what was const and what wasn't.

6. I applied the const qualifier to a number of local variables and
function parameters.

7. Here and there I changed double leading underscores to single
leading underscores.

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

13 years agoDisable strict refs (really)
dbs [Sat, 1 Dec 2007 19:51:56 +0000 (19:51 +0000)]
Disable strict refs (really)

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

13 years agoUse XML::LibXML's parentNode function to avoid invalid expression warning.
dbs [Sat, 1 Dec 2007 19:39:57 +0000 (19:39 +0000)]
Use XML::LibXML's parentNode function to avoid invalid expression warning.
Short-circuit test for driver -> language correspondence to avoid bogus warning noted by Ben Ostrowsky.

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

13 years agochanging reporter to use <pw> instead of <password> to match the other services;...
miker [Sat, 1 Dec 2007 18:15:03 +0000 (18:15 +0000)]
changing reporter to use <pw> instead of <password> to match the other services; updating settings-tester.pl to match

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

13 years agorepairing small logo
erickson [Fri, 30 Nov 2007 14:16:37 +0000 (14:16 +0000)]
repairing small logo

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

13 years agoTypo: it's -> its
dbs [Wed, 28 Nov 2007 02:35:54 +0000 (02:35 +0000)]
Typo: it's -> its

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

13 years agoBig cleanup of the C auth app from Scott McKellar:
miker [Mon, 26 Nov 2007 18:25:09 +0000 (18:25 +0000)]
Big cleanup of the C auth app from Scott McKellar:

1. Apply the const qualifier where possible.

2. Plug memory leaks.

3. Make some global things static.

4. Some minor tidying-up.

Details:

1. The variables __oilsAuthOPACTimeout, __oilsAuthStaffTimeout and
and __oilsAuthOverrideTimeout are now static, since no other file
references them.  Also I reduced the leading underscores to one each.

2. In several places I replaced jsonObjectGetKey() with
jsonObjectGetKeyConst().

3. In oilsAuthInit(): I plugged a memory leak by moving the freeing
of username out of an else block and into the code following.

4. In oilsAuthVerifyPassword(): I plugged a memory leak in the case
of an early return.

5. In oilsAuthVerifyWorkstation: I plugged a memory leak by freeing
workstation at the end.

6. In oilsAuthCheckCard(): I eliminated the ctx and userObj parameters.
The function didn't do anything with them except to verify that they
weren't NULL.  I transferred that responsibility to the calling code
in oilsAuthComplete() (where I also plugged another memory leak).

7. Also in oilsAuthCheckCard(): I plugged a memory leak by freeing
params and card.  Also I rearranged the last few lines a bit so that
we free active in only one place.

8. In oilsAuthComplete(): I plugged a number of memory leaks caused
by a failure to free userObj in various early returns.

9. Also in oilsAuthComplete(): In order to be able make uname a const
pointer, but still be able to delete it when necessary, I created an
intermdiate non-const pointer named freeable_uname -- which also takes
the place of the original freeuname variable used as a boolean.

10. In oilsAuthSessionRetrieve(): I moved the freeing of evt out of
the if-else structure and put it at the end, to make sure that none
of the branches would miss it.

11. Also in oilsAuthSessionRetrieve(): one of the branches of the
if-else had a second variable named evt, hiding the variable of the
same name declared in an enclosing scope.  That's not a bug, but it's
confusing.  I renamed it to evt2.

12. The following functions are now static:

   oilsAuthCheckLoginPerm()
   oilsAuthVerifyPassword()
   oilsAuthGetTimeout()
   oilsAuthHandleLoginOK()
   oilsAuthVerifyWorkstation()
   _oilsAuthResetTimeout()

13. I added the const qualifier to various parameters and local
variables.

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

13 years agoadded a batch retrieve method
erickson [Mon, 26 Nov 2007 13:38:02 +0000 (13:38 +0000)]
added a batch retrieve method

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

13 years agoPatch from Scott McKellar to inject more tasty const correctness
miker [Sun, 25 Nov 2007 21:11:57 +0000 (21:11 +0000)]
Patch from Scott McKellar to inject more tasty const correctness

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

13 years agoSmall grammatical fix
dbs [Wed, 21 Nov 2007 18:25:15 +0000 (18:25 +0000)]
Small grammatical fix

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

13 years agoto move a workstation, you need perms at original org and destination org
erickson [Wed, 21 Nov 2007 15:44:27 +0000 (15:44 +0000)]
to move a workstation, you need perms at original org and destination org

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

13 years agoregression.. inactive flag in patron search form
phasefx [Tue, 20 Nov 2007 21:40:16 +0000 (21:40 +0000)]
regression.. inactive flag in patron search form

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

13 years agoUse pot2po to generate updated PO files (per asmodai's suggestion).
dbs [Tue, 20 Nov 2007 20:59:33 +0000 (20:59 +0000)]
Use pot2po to generate updated PO files (per asmodai's suggestion).
Add a unit test for newpo Makefile target.

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

13 years agoadded an optional idlPath param to init plus some docs
erickson [Tue, 20 Nov 2007 17:07:12 +0000 (17:07 +0000)]
added an optional idlPath param to init plus some docs

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

13 years agorepaired doc string
erickson [Tue, 20 Nov 2007 16:04:59 +0000 (16:04 +0000)]
repaired doc string

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

13 years agoPatch from Scott McKellar to apply some const-correctness to the ILS C code
miker [Tue, 20 Nov 2007 13:13:20 +0000 (13:13 +0000)]
Patch from Scott McKellar to apply some const-correctness to the ILS C code

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

13 years agoadding "create_date" field to circulations to track the insertion time of offline...
miker [Tue, 20 Nov 2007 13:04:18 +0000 (13:04 +0000)]
adding "create_date" field to circulations to track the insertion time of offline transactions

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

13 years agoforcing staff client search to filter on only circ_lib instead of either circ_lib...
miker [Tue, 20 Nov 2007 12:35:21 +0000 (12:35 +0000)]
forcing staff client search to filter on only circ_lib instead of either circ_lib or owning_lib

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

13 years agoAdd current POT (PO template) files for translators.
dbs [Tue, 20 Nov 2007 00:56:49 +0000 (00:56 +0000)]
Add current POT (PO template) files for translators.
Change "updatemoz" target to "updateproject" anticipating non-Mozilla PO files.
Remove duplicated English entries from French translation of opac.dtd.
Remove en-CA and fr-CA opac.dtd files; these will be generated in future releases.

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

13 years agoforgot to commit the xact
erickson [Mon, 19 Nov 2007 17:24:40 +0000 (17:24 +0000)]
forgot to commit the xact

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

13 years agoWhen a hold is edited and marked as frozen in the process, we clear the current_copy
erickson [Mon, 19 Nov 2007 15:57:20 +0000 (15:57 +0000)]
When a hold is edited and marked as frozen in the process, we clear the current_copy
and prev_check_time to untarget the hold.

Moved the hold update code over to CStoreEditor API

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

13 years agodefault these actions to disabled
phasefx [Mon, 19 Nov 2007 15:55:45 +0000 (15:55 +0000)]
default these actions to disabled

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

13 years agoPatch from Scott McKellar to implement const-correctness and move to the newStyleName...
miker [Mon, 19 Nov 2007 03:31:43 +0000 (03:31 +0000)]
Patch from Scott McKellar to implement const-correctness and move to the newStyleNames instead of the old_style_names

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

13 years agoPatch from Scott McKellar to implement const-correctness, plug a recursion-based...
miker [Mon, 19 Nov 2007 03:23:44 +0000 (03:23 +0000)]
Patch from Scott McKellar to implement const-correctness, plug a recursion-based leak and move to the buffer_release() API

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

13 years agoWe will use the Makefile for property/DTD -> PO -> property/DTD format conversion
dbs [Sun, 18 Nov 2007 17:43:39 +0000 (17:43 +0000)]
We will use the Makefile for property/DTD -> PO -> property/DTD format conversion

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

13 years agoExtend the translation framework to use a Makefile.
dbs [Sun, 18 Nov 2007 17:41:48 +0000 (17:41 +0000)]
Extend the translation framework to use a Makefile.
Add en-CA and fr-CA PO files for DTDs and property files.

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

13 years agoreplacing eval "use blah" with "blah"->use();
miker [Sat, 17 Nov 2007 02:08:27 +0000 (02:08 +0000)]
replacing eval "use blah" with "blah"->use();

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

13 years agoStoring the compiled search blob in a cookie. That cookie is used to populate
erickson [Fri, 16 Nov 2007 16:44:59 +0000 (16:44 +0000)]
Storing the compiled search blob in a cookie.  That cookie is used to populate
the advanced search widgets.  (This means we don't have to re-parse the query syntax
in the OPAC).

Removed the hold cancel option from the edit column since Cancel is an
option in the new hold actions dropdown.

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

13 years agonow calling the new search query parsing method for regular bib and metabib searches...
erickson [Thu, 15 Nov 2007 22:54:33 +0000 (22:54 +0000)]
now calling the new search query parsing method for regular bib and metabib searches.  compiling adv. searches into new query lang.  more to do....

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

13 years agocapturing any preceding search terms and appending them to the default search class...
erickson [Thu, 15 Nov 2007 22:01:45 +0000 (22:01 +0000)]
capturing any preceding search terms and appending them to the default search class.  rolling back previous change which allowed the query string to complement existing searches in the hash.. now the query string is the only source of class-based search data.

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

13 years agonow augmenting existing searches instead of replacing them. logging compiled search...
erickson [Thu, 15 Nov 2007 19:18:00 +0000 (19:18 +0000)]
now augmenting existing searches instead of replacing them.  logging compiled search.  removed old warn statement

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

13 years agoFirst step towards a saner translation framework for Evergreen.
dbs [Thu, 15 Nov 2007 05:39:43 +0000 (05:39 +0000)]
First step towards a saner translation framework for Evergreen.
We wrap Translate Toolkit to convert DTD and property files to PO format.

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

13 years agomake the version number a - separated string to avoid floatiness (1.300000, etc)
miker [Thu, 15 Nov 2007 04:17:58 +0000 (04:17 +0000)]
make the version number a - separated string to avoid floatiness (1.300000, etc)

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

13 years agosubclassing OpenSRF::Application so we have a place to put global OpenILS methods
miker [Thu, 15 Nov 2007 04:13:11 +0000 (04:13 +0000)]
subclassing OpenSRF::Application so we have a place to put global OpenILS methods

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

13 years agoAdded a new method to parse complex search query syntax for multiclass bib and metabi...
erickson [Wed, 14 Nov 2007 23:31:58 +0000 (23:31 +0000)]
Added a new method to parse complex search query syntax for multiclass bib and metabib searches
E.g. "title:crime author:dostoyevsky lang:rus"

This will allow us to encode multiclass searches as human-readable search strings

TODO: more testing

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

13 years agoAvoid tempdir trickery for c-apps and use consistent header includes.
dbs [Wed, 14 Nov 2007 20:05:15 +0000 (20:05 +0000)]
Avoid tempdir trickery for c-apps and use consistent header includes.

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

13 years agoAdd a basic 'make test' root Makefile target.
dbs [Wed, 14 Nov 2007 16:18:20 +0000 (16:18 +0000)]
Add a basic 'make test' root Makefile target.
The initial test suite validates the example XML files where a schema is available
or checks files for well-formedness where a schema is not available.

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

13 years agofixing no-param transform bug -- manifested in slimpac cn browswer
miker [Wed, 14 Nov 2007 04:40:25 +0000 (04:40 +0000)]
fixing no-param transform bug -- manifested in slimpac cn browswer

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

13 years agoUpdate field mapper schema to validate fm_IDL.xml
dbs [Tue, 13 Nov 2007 17:59:47 +0000 (17:59 +0000)]
Update field mapper schema to validate fm_IDL.xml

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

13 years agodefault is a reserved word in javascript and breaks under this usage
phasefx [Tue, 13 Nov 2007 15:42:36 +0000 (15:42 +0000)]
default is a reserved word in javascript and breaks under this usage

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

13 years agoremoved unused script
erickson [Mon, 12 Nov 2007 19:11:56 +0000 (19:11 +0000)]
removed unused script

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

13 years agoif we have already parsed the IDL,no need to re-parse
erickson [Sun, 11 Nov 2007 17:41:09 +0000 (17:41 +0000)]
if we have already parsed the IDL,no need to re-parse

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

13 years agoDelete reporter cruft.
dbs [Sat, 10 Nov 2007 02:06:00 +0000 (02:06 +0000)]
Delete reporter cruft.
Rename success and failure templates to match config file defaults.
Ensure current reporter code gets installed as part of openils_all target.

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

13 years ago<style> tags must have a type attribute
dbs [Sat, 10 Nov 2007 01:53:29 +0000 (01:53 +0000)]
<style> tags must have a type attribute

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

13 years agoSlight grammatical fix
dbs [Sat, 10 Nov 2007 01:39:03 +0000 (01:39 +0000)]
Slight grammatical fix

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

13 years agoAs caching has evolved, at some point we started returning the entire data set
erickson [Fri, 9 Nov 2007 21:49:36 +0000 (21:49 +0000)]
As caching has evolved, at some point we started returning the entire data set
regardless off limit/offset.

This patch corrects the post-cache trimming of search results so that
it only returns the requested chunk.

Also, updated the OPAC so it could understand the data

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

13 years agoAdded limit2available on advanced search page
erickson [Fri, 9 Nov 2007 19:47:14 +0000 (19:47 +0000)]
Added limit2available on advanced search page
made sort and limit options sticky accorss advanced and results pages
removed old commented-out code

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

13 years agoGenerate minimized tags for EMPTY elements if content-type = text/html
dbs [Fri, 9 Nov 2007 14:15:32 +0000 (14:15 +0000)]
Generate minimized tags for EMPTY elements if content-type = text/html

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

13 years agoMore html standards - multiple attribute only takes multiple as a value
dbs [Fri, 9 Nov 2007 01:34:43 +0000 (01:34 +0000)]
More html standards - multiple attribute only takes multiple as a value

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

13 years agoFix typos in attribute names
dbs [Fri, 9 Nov 2007 01:06:55 +0000 (01:06 +0000)]
Fix typos in attribute names

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

13 years agoMade sort labels more explicit when an option has already been chosen
erickson [Thu, 8 Nov 2007 23:58:14 +0000 (23:58 +0000)]
Made sort labels more explicit when an option has already been chosen
added relevance as a sort option -- probably needs some kind of style change
since it doesn't match the style of the other top-level labels

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

13 years agoadded auto-search-re-firing on limit and sort change; repaired node ID bug
erickson [Thu, 8 Nov 2007 23:40:17 +0000 (23:40 +0000)]
added auto-search-re-firing on limit and sort change; repaired node ID bug

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

13 years agoCommitting initial limit-to-available and sort options on record result page
erickson [Thu, 8 Nov 2007 15:37:27 +0000 (15:37 +0000)]
Committing initial limit-to-available and sort options on record result page
Also, cleaned up some old code and did some tab cleanup

TODO:
    Automatically re-fire search when limit or sort options are changed
    Add relevance as a sort option
    Add limit to advanced search
    Make limit and sort sticky on advanced search
    Evaluate dropdown labels - i.e. What is clearest to the user in the smallest amount of space?

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

13 years agoanother missing variable definition
miker [Thu, 8 Nov 2007 15:35:41 +0000 (15:35 +0000)]
another missing variable definition

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

13 years agomissing variable definition
miker [Thu, 8 Nov 2007 15:31:33 +0000 (15:31 +0000)]
missing variable definition

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

13 years agoRemove illegal <pre> from within <option> elements
dbs [Thu, 8 Nov 2007 15:27:01 +0000 (15:27 +0000)]
Remove illegal <pre> from within <option> elements
Describe purpose of script a little more accurately

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