]> git.evergreen-ils.org Git - Evergreen.git/log
Evergreen.git
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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 years agoteach json_query in cstore about parameterized transforms (at least for output field...
miker [Thu, 8 Nov 2007 15:20:48 +0000 (15:20 +0000)]
teach json_query in cstore about parameterized transforms (at least for output field transforms)

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

16 years agoMove inline style attributes into CSS.
dbs [Thu, 8 Nov 2007 14:42:13 +0000 (14:42 +0000)]
Move inline style attributes into CSS.
Add alt="" attribute to help screen readers skip logo.
Add a missing divider back to the footer links.

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

16 years agoadditionally logging filename and XML content on parse failures
erickson [Thu, 8 Nov 2007 14:31:59 +0000 (14:31 +0000)]
additionally logging filename and XML content on parse failures

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

16 years agodid some re-tabbing
erickson [Thu, 8 Nov 2007 14:28:32 +0000 (14:28 +0000)]
did some re-tabbing

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

16 years agoadded util/ to the set of files to build
erickson [Thu, 8 Nov 2007 14:21:11 +0000 (14:21 +0000)]
added util/ to the set of files to build

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

16 years agoAvoid tag minimization for empty <script> tags due to IE6.
dbs [Thu, 8 Nov 2007 13:47:37 +0000 (13:47 +0000)]
Avoid tag minimization for empty <script> tags due to IE6.

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

16 years agoCorrect some translated style attributes.
dbs [Thu, 8 Nov 2007 13:19:36 +0000 (13:19 +0000)]
Correct some translated style attributes.
These will probably move into CSS in the near future anyways.

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

16 years agoLow-hanging fruit for better (X)HTML compliance:
dbs [Thu, 8 Nov 2007 04:01:27 +0000 (04:01 +0000)]
Low-hanging fruit for better (X)HTML compliance:
  * Add type and language attributes to all <script> tags
  * Close empty tags (use <img /> instead of <img> </img>, etc)
  * Use Unicode character entities for next/previous
  * Place some elements within legal parent element

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

16 years agoRecord Delete action in embedded opac
phasefx [Wed, 7 Nov 2007 15:27:03 +0000 (15:27 +0000)]
Record Delete action in embedded opac

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

16 years agoseparate out the js from this xul
phasefx [Wed, 7 Nov 2007 14:53:26 +0000 (14:53 +0000)]
separate out the js from this xul

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

16 years agosome error handling
phasefx [Wed, 7 Nov 2007 14:43:39 +0000 (14:43 +0000)]
some error handling

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

16 years agodon't assume we found an element by id
phasefx [Wed, 7 Nov 2007 14:09:23 +0000 (14:09 +0000)]
don't assume we found an element by id

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

16 years agoDelete Record entities for embedded opac
phasefx [Wed, 7 Nov 2007 14:02:47 +0000 (14:02 +0000)]
Delete Record entities for embedded opac

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

16 years agoSmall XHTML tidying: move from <center> elements to <div> + CSS
dbs [Wed, 7 Nov 2007 12:56:05 +0000 (12:56 +0000)]
Small XHTML tidying: move from <center> elements to <div> + CSS

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

16 years agoApply more correct qualifier to initializer of locale var.
dbs [Tue, 6 Nov 2007 22:46:55 +0000 (22:46 +0000)]
Apply more correct qualifier to initializer of locale var.

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

16 years agono longer showing hidden libs in the hold pickup lib selector
erickson [Tue, 6 Nov 2007 22:11:55 +0000 (22:11 +0000)]
no longer showing hidden libs in the hold pickup lib selector

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

16 years agoadding internationalization core table to the IDL; adding I18N flag to the obvious...
miker [Tue, 6 Nov 2007 14:22:39 +0000 (14:22 +0000)]
adding internationalization core table to the IDL; adding I18N flag to the obvious first round of translateable fields via fm_IDL.xml; remove debugging from the i18n stored proc

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

16 years agodebugging ability to turn off i18n
miker [Tue, 6 Nov 2007 04:01:34 +0000 (04:01 +0000)]
debugging ability to turn off i18n

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

16 years agoability to turn off i18n
miker [Tue, 6 Nov 2007 03:56:49 +0000 (03:56 +0000)]
ability to turn off i18n

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

16 years agoquote alias for SQL safety
miker [Tue, 6 Nov 2007 03:45:06 +0000 (03:45 +0000)]
quote alias for SQL safety

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

16 years agomisnamed parameter
miker [Tue, 6 Nov 2007 03:27:35 +0000 (03:27 +0000)]
misnamed parameter

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

16 years agoadd i18n support to json_query
miker [Tue, 6 Nov 2007 03:25:15 +0000 (03:25 +0000)]
add i18n support to json_query

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

16 years agoadding a view for overdue circs to simplify reporting
miker [Tue, 6 Nov 2007 02:20:44 +0000 (02:20 +0000)]
adding a view for overdue circs to simplify reporting

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

16 years agoneed to make sure the resultset field name matches the table field name
miker [Tue, 6 Nov 2007 00:40:17 +0000 (00:40 +0000)]
need to make sure the resultset field name matches the table field name

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

16 years agoprotecting against the case where the key is not a string. i.e. in some cases, it...
erickson [Tue, 6 Nov 2007 00:30:55 +0000 (00:30 +0000)]
protecting against the case where the key is not a string.  i.e. in some cases, it can be an array of values

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

16 years agofirst round of i18n magic in cstore
miker [Tue, 6 Nov 2007 00:25:09 +0000 (00:25 +0000)]
first round of i18n magic in cstore

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

16 years agorepairing cancel link label
erickson [Mon, 5 Nov 2007 21:40:16 +0000 (21:40 +0000)]
repairing cancel link label

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

16 years agoinline the regexp the sprintf implementation uses
phasefx [Mon, 5 Nov 2007 20:59:27 +0000 (20:59 +0000)]
inline the regexp the sprintf implementation uses

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

16 years agofirst attempt at unbreaking messagecatalog
miker [Mon, 5 Nov 2007 20:04:09 +0000 (20:04 +0000)]
first attempt at unbreaking messagecatalog

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

16 years agoremove some tracer bullets
phasefx [Mon, 5 Nov 2007 19:22:20 +0000 (19:22 +0000)]
remove some tracer bullets

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

16 years agoflatten current_copy on ahr before updating hold
phasefx [Mon, 5 Nov 2007 18:58:13 +0000 (18:58 +0000)]
flatten current_copy on ahr before updating hold

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

16 years agoadded some perl deps needed by the reporter
erickson [Mon, 5 Nov 2007 18:35:47 +0000 (18:35 +0000)]
added some perl deps needed by the reporter

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

16 years agoadding reporter perl modules to the settings tester
miker [Mon, 5 Nov 2007 18:26:15 +0000 (18:26 +0000)]
adding reporter perl modules to the settings tester

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

16 years agomake use of the postgres password from config via the PGPASSWORD env variable
miker [Mon, 5 Nov 2007 14:10:22 +0000 (14:10 +0000)]
make use of the postgres password from config via the PGPASSWORD env variable

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