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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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