]> git.evergreen-ils.org Git - Evergreen.git/log
Evergreen.git
16 years agomake z search more robust when using multi-target search
miker [Wed, 19 Dec 2007 22:51:14 +0000 (22:51 +0000)]
make z search more robust when using multi-target search

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

16 years agoupdating to use new osrf api
erickson [Wed, 19 Dec 2007 20:17:35 +0000 (20:17 +0000)]
updating to use new osrf api

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

16 years agochanged str calls to unicode, changed a var from str to s
erickson [Wed, 19 Dec 2007 19:07:41 +0000 (19:07 +0000)]
changed str calls to unicode, changed a var from str to s

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

16 years agorefactoring.. moved some list print/clipboard functions into list.js
phasefx [Mon, 17 Dec 2007 22:55:58 +0000 (22:55 +0000)]
refactoring.. moved some list print/clipboard functions into list.js

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

16 years agosome internal follow-through and refactoring for multiple full-list-retrieve callbacks
phasefx [Mon, 17 Dec 2007 15:11:04 +0000 (15:11 +0000)]
some internal follow-through and refactoring for multiple full-list-retrieve callbacks

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

16 years agonail down the IDs of statuses
miker [Sun, 16 Dec 2007 21:18:56 +0000 (21:18 +0000)]
nail down the IDs of statuses

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

16 years agoSync up with OpenSRF trunk function name change
dbs [Sun, 16 Dec 2007 21:08:36 +0000 (21:08 +0000)]
Sync up with OpenSRF trunk function name change

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

16 years agoadding "bibid" result peer to the marcxml
miker [Sun, 16 Dec 2007 19:52:03 +0000 (19:52 +0000)]
adding "bibid" result peer to the marcxml

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

16 years agofixing search object layout
miker [Sun, 16 Dec 2007 19:48:16 +0000 (19:48 +0000)]
fixing search object layout

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

16 years agoadd root ou to the search
miker [Sun, 16 Dec 2007 19:36:40 +0000 (19:36 +0000)]
add root ou to the search

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

16 years agoadd Z-style search/result interface
miker [Sun, 16 Dec 2007 19:30:15 +0000 (19:30 +0000)]
add Z-style search/result interface

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

16 years agoBring Evergreen Python code in sync with OpenSRF python.
dbs [Sun, 16 Dec 2007 16:56:55 +0000 (16:56 +0000)]
Bring Evergreen Python code in sync with OpenSRF python.

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

16 years agomulti-target Z39.50 searches -- just supply an array for all of username, password...
miker [Sun, 16 Dec 2007 01:47:04 +0000 (01:47 +0000)]
multi-target Z39.50 searches -- just supply an array for all of username, password and service

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

16 years agoUpdate to correspond with polib 0.30.1:
dbs [Sat, 15 Dec 2007 05:29:49 +0000 (05:29 +0000)]
Update to correspond with polib 0.30.1:
  * occurences->occurrences
  * different handling of header newline characters
Remove some inherited methods that add no new behaviour.

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

16 years agotest for non-ref-ness
miker [Sat, 15 Dec 2007 03:05:36 +0000 (03:05 +0000)]
test for non-ref-ness

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

16 years agoEVEN MORE errors caught by strict
miker [Sat, 15 Dec 2007 03:02:16 +0000 (03:02 +0000)]
EVEN MORE errors caught by strict

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

16 years agoAdd a PROJECT parameter for variable locale support.
dbs [Sat, 15 Dec 2007 03:01:32 +0000 (03:01 +0000)]
Add a PROJECT parameter for variable locale support.
Make testpo.py able to run from within any directory.

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

16 years agoMORE errors caught by strict
miker [Sat, 15 Dec 2007 02:58:43 +0000 (02:58 +0000)]
MORE errors caught by strict

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

16 years agoerrors caught by strict
miker [Sat, 15 Dec 2007 02:55:56 +0000 (02:55 +0000)]
errors caught by strict

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

16 years agoasync and multi-target Z search .... yes, I am that indefferent to it
miker [Sat, 15 Dec 2007 02:21:56 +0000 (02:21 +0000)]
async and multi-target Z search .... yes, I am that indefferent to it

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

16 years agochanged on_retrieve callback for list.full_retrieve so that it can handle an array...
phasefx [Thu, 13 Dec 2007 17:40:19 +0000 (17:40 +0000)]
changed on_retrieve callback for list.full_retrieve so that it can handle an array of callbacks.  dump_csv_to_clipboard function for refactoring elsewhere

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

16 years agorepairing (unused) method name
erickson [Thu, 13 Dec 2007 16:52:51 +0000 (16:52 +0000)]
repairing (unused) method name

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

16 years agorefactoring the pick_file/export/import a bit, though chrome/content/main.js is a...
phasefx [Thu, 13 Dec 2007 15:39:05 +0000 (15:39 +0000)]
refactoring the pick_file/export/import a bit, though chrome/content/main.js is a little more complicated than what I want to tackle right now.  Ultimate goal down the road is to abstract things so that we can store data like this on the backend to facilitate sharing/administration

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

16 years agorobustify these
phasefx [Thu, 13 Dec 2007 15:27:14 +0000 (15:27 +0000)]
robustify these

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

16 years agoMake unit tests less fragile.
dbs [Wed, 12 Dec 2007 04:38:24 +0000 (04:38 +0000)]
Make unit tests less fragile.
Correct POT output where headers require an escaped \n.

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

16 years agotweak layout flex for Hold Notices, and persist layout
phasefx [Tue, 11 Dec 2007 18:34:21 +0000 (18:34 +0000)]
tweak layout flex for Hold Notices, and persist layout

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

16 years agotweak layout flex for Bill History and bill Alternate View, and persist layout
phasefx [Tue, 11 Dec 2007 17:17:04 +0000 (17:17 +0000)]
tweak layout flex for Bill History and bill Alternate View, and persist layout

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

16 years agoAdd fieldmapper IDL -> POT support to i18n Makefile
dbs [Tue, 11 Dec 2007 02:36:53 +0000 (02:36 +0000)]
Add fieldmapper IDL -> POT support to i18n Makefile
Update POT files for SQL and IDL.

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

16 years agoImplement SQL localization tests.
dbs [Tue, 11 Dec 2007 00:46:47 +0000 (00:46 +0000)]
Implement SQL localization tests.
Refactor some test helper functions into a common module.
Clean up db-seed-i18n.py SQL output.

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

16 years agoprint bills with titles from main billing interface
phasefx [Mon, 10 Dec 2007 21:24:11 +0000 (21:24 +0000)]
print bills with titles from main billing interface

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

16 years agoAdd another simple(ton) filter for build versions of libdbdpgsql.so
dbs [Mon, 10 Dec 2007 19:53:46 +0000 (19:53 +0000)]
Add another simple(ton) filter for build versions of libdbdpgsql.so

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

16 years agoAdd a test for incorrect driver in /reporter/; bug found by Ben Ostrowsky.
dbs [Mon, 10 Dec 2007 19:41:48 +0000 (19:41 +0000)]
Add a test for incorrect driver in /reporter/; bug found by Ben Ostrowsky.
Test for /reporter/ in xpath including delimiters, instead of just "reporter".

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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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