Evergreen.git
12 years agoused decomposed characters -- mostly for consistency with other recent changes
miker [Thu, 7 Aug 2008 02:35:48 +0000 (02:35 +0000)]
used decomposed characters -- mostly for consistency with other recent changes

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

12 years agoadded example config for over/pre due notices
erickson [Thu, 7 Aug 2008 02:34:51 +0000 (02:34 +0000)]
added example config for over/pre due notices

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

12 years agoadding some example templates. need to add locale blocks and do some more pre-run...
erickson [Thu, 7 Aug 2008 02:30:47 +0000 (02:30 +0000)]
adding some example templates.  need to add locale blocks and do some more pre-run data munging

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

12 years agoPlugged in template processing
erickson [Thu, 7 Aug 2008 02:26:14 +0000 (02:26 +0000)]
Plugged in template processing

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

12 years agouse decomposed characters where possible, for the sake of JSON::XS
miker [Thu, 7 Aug 2008 02:23:43 +0000 (02:23 +0000)]
use decomposed characters where possible, for the sake of JSON::XS

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

12 years agodon't re-fetch the user and circ lib on a batch. use editor for initial query (good...
erickson [Wed, 6 Aug 2008 22:05:28 +0000 (22:05 +0000)]
don't re-fetch the user and circ lib on a batch.  use editor for initial query (good for logging)

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

12 years agoThis is a remodeled version of Evergreen/src/support-scripts/eg_gen_overdue.pl.
erickson [Wed, 6 Aug 2008 21:33:40 +0000 (21:33 +0000)]
This is a remodeled version of Evergreen/src/support-scripts/eg_gen_overdue.pl.

This version is built to work for both overdue and predue (courtesy) notices.

What we have so far is circ searching and retrieval of associated data.

TODO
- Add some tuning for sub-day notice intervals
- Plug in Template Toolkit for template generation
- Set up and test emailing of templates
- Handle global XML file generation (send all loaded data to a TT XML template as a last step?)
- Add sample templates to repo
- Add sample config to opensrf.xml.example

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

12 years agoSort our Debian package list as it's getting unruly
dbs [Wed, 6 Aug 2008 19:19:09 +0000 (19:19 +0000)]
Sort our Debian package list as it's getting unruly

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

12 years agoAdd autoconf and automake for Debian (not part of build-essential? geez!)
dbs [Wed, 6 Aug 2008 19:17:49 +0000 (19:17 +0000)]
Add autoconf and automake for Debian (not part of build-essential? geez!)
Add an explicit shell and vim formatting modeline

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

12 years agodon't consider deleted volumes in callnumber browse
erickson [Wed, 6 Aug 2008 15:42:00 +0000 (15:42 +0000)]
don't consider deleted volumes in callnumber browse

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

12 years agoadding 1.2.2.3 to 1.2.3.0 upgrade script
miker [Wed, 6 Aug 2008 02:02:04 +0000 (02:02 +0000)]
adding 1.2.2.3 to 1.2.3.0 upgrade script

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

12 years agoallow NULL as a parameter in transforms and FROM clause functions
miker [Wed, 6 Aug 2008 01:47:35 +0000 (01:47 +0000)]
allow NULL as a parameter in transforms and FROM clause functions

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

12 years agoAdded support for using in-database hold permit logic.
erickson [Tue, 5 Aug 2008 18:01:59 +0000 (18:01 +0000)]
Added support for using in-database hold permit logic.
This code abides by the legacy_script_support setting to determine which
permit style should be used

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

12 years agothe existing if/else construct was forcing the proximity call regardless of whether...
erickson [Tue, 5 Aug 2008 17:55:36 +0000 (17:55 +0000)]
the existing if/else construct was forcing the proximity call regardless of whether the cached value existed.  changed and tested

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

12 years agoAdd test for JSON::XS (per Syd Weidman's suggestion)
dbs [Tue, 5 Aug 2008 17:17:47 +0000 (17:17 +0000)]
Add test for JSON::XS (per Syd Weidman's suggestion)

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

12 years agocatch server errors on checkout, clear the pending transaction flag, store the except...
erickson [Tue, 5 Aug 2008 12:42:34 +0000 (12:42 +0000)]
catch server errors on checkout, clear the pending transaction flag, store the exception text in a hidden div as a debugging tool

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

12 years agono need to bail out on no-copy. if precat, send null copy id to circ test
erickson [Tue, 5 Aug 2008 12:34:03 +0000 (12:34 +0000)]
no need to bail out on no-copy.  if precat, send null copy id to circ test

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

12 years agoUpdated translations from Tigran Zargaryan - for early testing of 1.4 release
dbs [Tue, 5 Aug 2008 03:15:03 +0000 (03:15 +0000)]
Updated translations from Tigran Zargaryan - for early testing of 1.4 release

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

12 years agoAdd an "install" target to place built i18n files into the correct location in the...
dbs [Tue, 5 Aug 2008 03:12:18 +0000 (03:12 +0000)]
Add an "install" target to place built i18n files into the correct location in the source tree

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

12 years agofixed syntax error in elseif. fixed undefined reference to service
erickson [Mon, 4 Aug 2008 21:42:27 +0000 (21:42 +0000)]
fixed syntax error in elseif.  fixed undefined reference to service

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

12 years agomoved duration, recurring fine, and max fine generation out to separate method for...
erickson [Mon, 4 Aug 2008 19:15:51 +0000 (19:15 +0000)]
moved duration, recurring fine, and max fine generation out to separate method for sharing
moved max fine percent calc to it's own method as well

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

12 years agofleshed out the inspect call to return more info in an easier to parse/read fashion
erickson [Mon, 4 Aug 2008 18:05:45 +0000 (18:05 +0000)]
fleshed out the inspect call to return more info in an easier to parse/read fashion

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

12 years agotypo on stored proc name
erickson [Mon, 4 Aug 2008 17:34:06 +0000 (17:34 +0000)]
typo on stored proc name

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

12 years agoadded config example for legacy circ script support
erickson [Mon, 4 Aug 2008 17:15:48 +0000 (17:15 +0000)]
added config example for legacy circ script support

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

12 years agoAdded support for using in-database circ checkout and renew policies
erickson [Mon, 4 Aug 2008 17:14:09 +0000 (17:14 +0000)]
Added support for using in-database circ checkout and renew policies

Legacy script support is activated by setting legacy_script_support to true in opensrf.xml
(committing example for that next)

Added open-ils.circ.checkout.inspect, which takes patron and item information and returns
the test retults, including the circ policies that would be applied at checkout.  This
only works on in-db policies

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

12 years agotypo in comment
miker [Mon, 4 Aug 2008 06:56:48 +0000 (06:56 +0000)]
typo in comment

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

12 years agoadd support for xml-based z servers (such as xml-backed zebra without yaz-proxy)
miker [Mon, 4 Aug 2008 06:55:57 +0000 (06:55 +0000)]
add support for xml-based z servers (such as xml-backed zebra without yaz-proxy)

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

12 years ago"parent" is a special variable. some browsers (opera) will complain
erickson [Sun, 3 Aug 2008 23:58:09 +0000 (23:58 +0000)]
"parent" is a special variable.  some browsers (opera) will complain

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

12 years ago"parent" is a special variable. some browsers (opera) will complain
erickson [Sun, 3 Aug 2008 23:57:06 +0000 (23:57 +0000)]
"parent" is a special variable.  some browsers (opera) will complain

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

12 years agoingest of dates thinko
miker [Fri, 1 Aug 2008 18:57:44 +0000 (18:57 +0000)]
ingest of dates thinko

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

12 years agoadd support for selecting from a function, given the function name and all params...
miker [Fri, 1 Aug 2008 18:00:30 +0000 (18:00 +0000)]
add support for selecting from a function, given the function name and all params in an array (and the function takes only TEXT params)

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

12 years agofixed faulty rule set query
erickson [Fri, 1 Aug 2008 17:04:08 +0000 (17:04 +0000)]
fixed faulty rule set query
made some var names more explicit
fix getopt setting

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

12 years agoremoved ":" from log line so output can be pasted directly into srfsh
erickson [Fri, 1 Aug 2008 16:45:45 +0000 (16:45 +0000)]
removed ":" from log line so output can be pasted directly into srfsh

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

12 years agoD'oh! That 404 error really does mean that osrf-http-translator could not be found.
dbs [Fri, 1 Aug 2008 16:21:15 +0000 (16:21 +0000)]
D'oh! That 404 error really does mean that osrf-http-translator could not be found.

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

12 years agoNo leading period for selector, please.
dbs [Fri, 1 Aug 2008 02:47:39 +0000 (02:47 +0000)]
No leading period for selector, please.

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

12 years agoif you set signed.applets.codebase_principal_support to true in about:config in Firef...
erickson [Thu, 31 Jul 2008 18:55:38 +0000 (18:55 +0000)]
if you set signed.applets.codebase_principal_support to true in about:config in Firefox, you now have the option to bypass the printer dialog if you accept the security dialogs

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

12 years agoif a patron barcode regex is configured and a patron barcode is scanned into the...
erickson [Thu, 31 Jul 2008 16:44:46 +0000 (16:44 +0000)]
if a patron barcode regex is configured and a patron barcode is scanned into the item barcode input, the current user is logged out and the new user is logged in

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

12 years agoadded explicit DESTROY methods to each package so AUTOLOAD won't attempt to use it
erickson [Thu, 31 Jul 2008 16:28:30 +0000 (16:28 +0000)]
added explicit DESTROY methods to each package so AUTOLOAD won't attempt to use it

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

12 years agomake grace period a command line parameter
miker [Thu, 31 Jul 2008 16:16:11 +0000 (16:16 +0000)]
make grace period a command line parameter

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

12 years agoUpped the default patron timeout to 10 minutes
erickson [Thu, 31 Jul 2008 15:53:44 +0000 (15:53 +0000)]
Upped the default patron timeout to 10 minutes

When an item barcode is scanned but the Enter key is not sent,
the system waits a configured amount of time (default 800 milliseconds)
then selects the text so the next scan will replace the existing text.

Automatically print at logout time

Replace Logout and Print links with "Done" links since printing is assumed

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

12 years agoHush schema build messages that obscure potential real problems
dbs [Thu, 31 Jul 2008 13:10:18 +0000 (13:10 +0000)]
Hush schema build messages that obscure potential real problems

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

12 years agouse the correct field as the pkey
miker [Thu, 31 Jul 2008 05:46:01 +0000 (05:46 +0000)]
use the correct field as the pkey

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

12 years agomake log message conditional
miker [Thu, 31 Jul 2008 05:40:58 +0000 (05:40 +0000)]
make log message conditional

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

12 years agomore locale switch work
miker [Thu, 31 Jul 2008 05:22:51 +0000 (05:22 +0000)]
more locale switch work

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

12 years agomake locale names and descriptions translatable
miker [Thu, 31 Jul 2008 05:21:54 +0000 (05:21 +0000)]
make locale names and descriptions translatable

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

12 years agowe want to explicitly set net access level for new users or the db will provide a...
phasefx [Thu, 31 Jul 2008 05:13:12 +0000 (05:13 +0000)]
we want to explicitly set net access level for new users or the db will provide a default

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

12 years agoIn Holdings Maintenance, we used to disable some render child behavior for the top...
phasefx [Thu, 31 Jul 2008 05:05:11 +0000 (05:05 +0000)]
In Holdings Maintenance, we used to disable some render child behavior for the top of the org hierarchy, to prevent in the case of PINES, 200-odd libraries from being retrieved and rendered.  Now we check the can_have_vols for that org as well, to allow the interface to work with a single-org hierarchy

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

12 years agomoving the lang switcher to a more reasonable location
miker [Thu, 31 Jul 2008 04:57:07 +0000 (04:57 +0000)]
moving the lang switcher to a more reasonable location

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

12 years agoreplace does not, um, replace in place
miker [Thu, 31 Jul 2008 04:08:39 +0000 (04:08 +0000)]
replace does not, um, replace in place

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

12 years agodojo-based locale switcher
miker [Thu, 31 Jul 2008 03:56:24 +0000 (03:56 +0000)]
dojo-based locale switcher

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

12 years agodependency ordering of config functions
miker [Thu, 31 Jul 2008 02:51:44 +0000 (02:51 +0000)]
dependency ordering of config functions

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

12 years ago... and a typo fix to the fix
miker [Wed, 30 Jul 2008 18:18:53 +0000 (18:18 +0000)]
... and a typo fix to the fix

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

12 years agoadjustment to previous fix (create or replace ... so it it cut-n-paste friendly)
miker [Wed, 30 Jul 2008 18:17:19 +0000 (18:17 +0000)]
adjustment to previous fix (create or replace ... so it it cut-n-paste friendly)

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

12 years agofalling back to existing is_true method
erickson [Wed, 30 Jul 2008 18:01:28 +0000 (18:01 +0000)]
falling back to existing is_true method

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

12 years agoadd a reasonable prefix to autogenerated TCNs
miker [Wed, 30 Jul 2008 17:37:44 +0000 (17:37 +0000)]
add a reasonable prefix to autogenerated TCNs

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

12 years agooops, forgot the aliasmatch locale extraction for selfcheck
erickson [Wed, 30 Jul 2008 17:09:39 +0000 (17:09 +0000)]
oops, forgot the aliasmatch locale extraction for selfcheck

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

12 years agoBasic web-based selfcheck interface. This interface implements a subset of
erickson [Wed, 30 Jul 2008 17:07:19 +0000 (17:07 +0000)]
Basic web-based selfcheck interface.  This interface implements a subset of

http://open-ils.org/dokuwiki/doku.php?id=scratchpad:simple_self_check

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

12 years agopreferred language and date filter fixes
miker [Tue, 29 Jul 2008 20:56:38 +0000 (20:56 +0000)]
preferred language and date filter fixes

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

12 years agothinko ... use the responder, which has the session, not the method pointer
miker [Tue, 29 Jul 2008 19:10:57 +0000 (19:10 +0000)]
thinko ... use the responder, which has the session, not the method pointer

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

12 years agoremoving unnecessary SetEnv[If] stuff
miker [Tue, 29 Jul 2008 18:40:11 +0000 (18:40 +0000)]
removing unnecessary SetEnv[If] stuff

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

12 years agoAdd default conify configuration to eg_vhost.conf
dbs [Tue, 29 Jul 2008 18:05:23 +0000 (18:05 +0000)]
Add default conify configuration to eg_vhost.conf

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

12 years agoreplaced unnecessary nbsp with a space
erickson [Tue, 29 Jul 2008 13:18:44 +0000 (13:18 +0000)]
replaced unnecessary nbsp with a space

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

12 years agoAdding date filtering support and automatic/configurable default preferred language...
miker [Tue, 29 Jul 2008 04:45:42 +0000 (04:45 +0000)]
Adding date filtering support and automatic/configurable default preferred language code

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

12 years agoadd date fields for 008/7-14
miker [Tue, 29 Jul 2008 04:42:35 +0000 (04:42 +0000)]
add date fields for 008/7-14

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

12 years agocopy-n-paste error -- thanks Dan!
miker [Tue, 29 Jul 2008 02:34:57 +0000 (02:34 +0000)]
copy-n-paste error -- thanks Dan!

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

12 years agoremoving spurious entityize
miker [Tue, 29 Jul 2008 00:02:08 +0000 (00:02 +0000)]
removing spurious entityize

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

12 years agocreating directories for blocked patron list and overdue script output
erickson [Mon, 28 Jul 2008 14:57:45 +0000 (14:57 +0000)]
creating directories for blocked patron list and overdue script output

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

12 years agoEnable the OpenSRF-over-HTTP translator in the default Apache configuration
dbs [Mon, 28 Jul 2008 04:43:59 +0000 (04:43 +0000)]
Enable the OpenSRF-over-HTTP translator in the default Apache configuration

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

12 years agoArgh. Let's build a complete schema, shall we?
dbs [Mon, 28 Jul 2008 04:29:17 +0000 (04:29 +0000)]
Argh. Let's build a complete schema, shall we?

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

12 years agoWe need to load the database with seed values (my bad; I removed
dbs [Mon, 28 Jul 2008 04:20:53 +0000 (04:20 +0000)]
We need to load the database with seed values (my bad; I removed
the obsolete 006 data file from asjoyner's patch but failed to add the
950 file that replaced it).

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

12 years agoApply patch from Aaron S. Joyner to improve user friendliness of database build script
dbs [Sun, 27 Jul 2008 19:04:17 +0000 (19:04 +0000)]
Apply patch from Aaron S. Joyner to improve user friendliness of database build script

- validate that the fts-config.sql script exists for the specified database version
- if it does not, detect the latest available version, warn the user, suggest aborting, offer to continue w/ the latest available version
- rework call of psql to avoid PGPASSWORD on the command line, visible via ps
- warn user if psql fails attempting to import any of these files for reasons such as couldn't connect, or file not found (not sql script errors)
- provide commented out option to fail on sql script errors, for future convenience when the scripts run cleanly w/o errors
- limit line length to 80 characters (a nearly unbreakable habit from work)
- remove database version entirely from the user interface, down to build-db.sh.  This makes minor removals from:
  - install.sh
  - config.sh
  - install.conf.default
  - Open-ILS/src/Makefile
  - Open-ILS/src/extras/import/build-oils-db.sh
- implement automatic detection of PostgreSQL database version
- abort if we can not detect the db version, providing the user with our best guess (it's probably not going to be, but oh well)
- maintain fallback in the case of missing fts-config.sql for specific db version, with big shiny warnings adapted to the autodetection
- abort if no fts-config.sql files exist

Developer's Certificate of Origin 1.1

By making a contribution to this project, I certify that:

(a) The contribution was created in whole or in part by me and I
    have the right to submit it under the open source license
    indicated in the file; or

(b) The contribution is based upon previous work that, to the best
    of my knowledge, is covered under an appropriate open source
    license and I have the right under that license to submit that
    work with modifications, whether created in whole or in part
    by me, under the same open source license (unless I am
    permitted to submit under a different license), as indicated
    in the file; or

(c) The contribution was provided directly to me by some other
    person who certified (a), (b) or (c) and I have not modified
    it.

(d) I understand and agree that this project and the contribution
    are public and that a record of the contribution (including all
    personal information I submit with it, including my sign-off) is
    maintained indefinitely and may be redistributed consistent with
    this project or the open source license(s) involved.

Signed-off-by: Aaron S. Joyner <aaron@joyner.ws>
git-svn-id: svn://svn.open-ils.org/ILS/trunk@10156 dcc99617-32d9-48b4-a31d-7c20da2025e4

12 years agoshow the org tree root in the copy details display if it can have items
erickson [Sun, 27 Jul 2008 18:40:48 +0000 (18:40 +0000)]
show the org tree root in the copy details display if it can have items

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

12 years agoremoving overly agressive locale normalization
miker [Sun, 27 Jul 2008 16:45:47 +0000 (16:45 +0000)]
removing overly agressive locale normalization

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

12 years agoimplement the backend for "max_fine as percent-of-price" functionality
miker [Sun, 27 Jul 2008 15:31:11 +0000 (15:31 +0000)]
implement the backend for "max_fine as percent-of-price" functionality

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

12 years agoported getbysession to fieldmapper.standardrequest to take advantage of default error...
erickson [Sun, 27 Jul 2008 15:09:22 +0000 (15:09 +0000)]
ported getbysession to fieldmapper.standardrequest to take advantage of default error handlers

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

12 years agoadded method name to default transport error handler
erickson [Sun, 27 Jul 2008 15:08:58 +0000 (15:08 +0000)]
added method name to default transport error handler

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

12 years agoAnd disable debugging in the default build
dbs [Sat, 26 Jul 2008 05:14:58 +0000 (05:14 +0000)]
And disable debugging in the default build

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

12 years agoStart replacing jscalendar and DP_DateExtensions with Dojo
dbs [Sat, 26 Jul 2008 05:14:11 +0000 (05:14 +0000)]
Start replacing jscalendar and DP_DateExtensions with Dojo
  * Use dijit.DateTextBox for date picker in setting "suspend hold until" dates
  * Start using dojo.date.stamp.* and dojo.date.locale.* functions instead of DP_DateExtensions
    * Here, we replace all occurrences of Date.parseIso8601()
  * Remove ISO formatting hints as hold dates now use locales rather than being hardcoded

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

12 years agoOh yeah, with the move to hy-AM we'll want to delete hy
dbs [Sat, 26 Jul 2008 01:44:01 +0000 (01:44 +0000)]
Oh yeah, with the move to hy-AM we'll want to delete hy

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

12 years agodropping all support for 8.0 with 1.4 and beyond
miker [Sat, 26 Jul 2008 00:41:04 +0000 (00:41 +0000)]
dropping all support for 8.0 with 1.4 and beyond

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

12 years agoadding set_curcfg() call to tsearch2 configuration script for 8.2 and 8.1; fixing...
miker [Sat, 26 Jul 2008 00:39:28 +0000 (00:39 +0000)]
adding set_curcfg() call to tsearch2 configuration script for 8.2 and 8.1; fixing datatype of extend_reporter.legacy_circ_count.id (harmless, but useless, thinko)

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

12 years agoAdd and update PO files for hy-AM
dbs [Fri, 25 Jul 2008 19:55:32 +0000 (19:55 +0000)]
Add and update PO files for hy-AM

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

12 years agoMove hy to hy-AM (according to ISO3166 that's the right country code, at least)
dbs [Fri, 25 Jul 2008 19:54:51 +0000 (19:54 +0000)]
Move hy to hy-AM (according to ISO3166 that's the right country code, at least)

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

12 years agoAdd new POT files and update existing POT files for en-US
dbs [Fri, 25 Jul 2008 19:53:54 +0000 (19:53 +0000)]
Add new POT files and update existing POT files for en-US
Add new PO files and update existing PO files for en-CA and fr-CA

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

12 years agoa tool for adding IDs to MARCXML dumped directly from biblio.record_entry
miker [Fri, 25 Jul 2008 19:11:22 +0000 (19:11 +0000)]
a tool for adding IDs to MARCXML dumped directly from biblio.record_entry

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

12 years agorevert the too-much-change
miker [Fri, 25 Jul 2008 19:10:40 +0000 (19:10 +0000)]
revert the too-much-change

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

12 years agoa tool for adding IDs to MARCXML dumped directly from biblio.record_entry
miker [Fri, 25 Jul 2008 19:04:08 +0000 (19:04 +0000)]
a tool for adding IDs to MARCXML dumped directly from biblio.record_entry

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

12 years agoturning raw time durations into h/m/s notation so interval_to_seconds can parse it
erickson [Fri, 25 Jul 2008 19:00:18 +0000 (19:00 +0000)]
turning raw time durations into h/m/s notation so interval_to_seconds can parse it

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

12 years agouse more correct test (rather than a side-effect) to detect short durations circs
miker [Fri, 25 Jul 2008 17:34:38 +0000 (17:34 +0000)]
use more correct test (rather than a side-effect) to detect short durations circs

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

12 years agoinitializing some vars so gcc will stop warning
erickson [Fri, 25 Jul 2008 15:03:28 +0000 (15:03 +0000)]
initializing some vars so gcc will stop warning

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

12 years agouse MARC terminology
miker [Fri, 25 Jul 2008 04:03:20 +0000 (04:03 +0000)]
use MARC terminology

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

12 years agoTypo: Vidoe -> Video
dbs [Fri, 25 Jul 2008 03:16:56 +0000 (03:16 +0000)]
Typo: Vidoe -> Video

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

12 years agocorrecting column name in the IDL
miker [Fri, 25 Jul 2008 01:03:47 +0000 (01:03 +0000)]
correcting column name in the IDL

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

12 years agoPorted jsonObjectIterator to new jsonIterator API and removed all references to the...
erickson [Thu, 24 Jul 2008 21:31:08 +0000 (21:31 +0000)]
Ported jsonObjectIterator to new jsonIterator API and removed all references to the legacy objson headers

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

12 years agouse filtering select to present the friendly name of the locale ... the default set...
miker [Thu, 24 Jul 2008 21:00:39 +0000 (21:00 +0000)]
use filtering select to present the friendly name of the locale ... the default set needs to be normalized against CLDR

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

12 years agopull valid locales from the configured set in the database
miker [Thu, 24 Jul 2008 17:58:20 +0000 (17:58 +0000)]
pull valid locales from the configured set in the database

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

12 years agoadding locale table to IDL
miker [Thu, 24 Jul 2008 17:35:44 +0000 (17:35 +0000)]
adding locale table to IDL

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

12 years agobackporting virtual field support from acq branch
miker [Thu, 24 Jul 2008 15:04:05 +0000 (15:04 +0000)]
backporting virtual field support from acq branch

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

12 years agobe careful with identity values
miker [Wed, 23 Jul 2008 01:44:39 +0000 (01:44 +0000)]
be careful with identity values

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

12 years agomarc code editor works (sans vr format map)
miker [Wed, 23 Jul 2008 01:44:00 +0000 (01:44 +0000)]
marc code editor works (sans vr format map)

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