miker [Thu, 25 Mar 2010 17:24:02 +0000 (17:24 +0000)]
add a table to allow labelling (and eventual expansion) of search classes; index each node separately for facets, instead of (well, in addition to) globbing; remove extra (redundant) oils_xslt_process function
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15979
dcc99617-32d9-48b4-a31d-
7c20da2025e4
miker [Thu, 25 Mar 2010 16:06:03 +0000 (16:06 +0000)]
capture multiple values (on pg 8.4) of an attr def
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15978
dcc99617-32d9-48b4-a31d-
7c20da2025e4
scottmk [Thu, 25 Mar 2010 16:03:48 +0000 (16:03 +0000)]
Replace acq.lineitem.claim_interval and acq.provider.default_claim_interval
with foreign keys pointing to the new acq.claim_policy table.
M Open-ILS/src/sql/Pg/200.schema.acq.sql
M Open-ILS/src/sql/Pg/002.schema.config.sql
A Open-ILS/src/sql/Pg/upgrade/0211.schema.acq.replace-claim-interval.sql
M Open-ILS/examples/fm_IDL.xml
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15977
dcc99617-32d9-48b4-a31d-
7c20da2025e4
phasefx [Thu, 25 Mar 2010 14:10:55 +0000 (14:10 +0000)]
fix some bugs that slipped in with AutoFieldWidget and .hide/.show (Set No Hold and View Picklist versus Add to Picklist)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15976
dcc99617-32d9-48b4-a31d-
7c20da2025e4
erickson [Thu, 25 Mar 2010 13:37:32 +0000 (13:37 +0000)]
repaired signature params name
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15975
dcc99617-32d9-48b4-a31d-
7c20da2025e4
erickson [Thu, 25 Mar 2010 13:33:01 +0000 (13:33 +0000)]
removed unused vars for clarity, make use of the depth var instead of referencing the original call params (apologies for the extra commits)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15974
dcc99617-32d9-48b4-a31d-
7c20da2025e4
senator [Thu, 25 Mar 2010 13:31:27 +0000 (13:31 +0000)]
Acq: Fixed fund dropdowns for new copies and copies without funds.
Now these dropdowns, too, exclude inactive funds.
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15973
dcc99617-32d9-48b4-a31d-
7c20da2025e4
scottmk [Thu, 25 Mar 2010 13:31:06 +0000 (13:31 +0000)]
Create two tables in acq schema: claim_policy and claim_policy_action.
M Open-ILS/src/sql/Pg/200.schema.acq.sql
M Open-ILS/src/sql/Pg/002.schema.config.sql
A Open-ILS/src/sql/Pg/upgrade/0210.schema.acq.claim-policy.sql
M Open-ILS/examples/fm_IDL.xml
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15972
dcc99617-32d9-48b4-a31d-
7c20da2025e4
erickson [Thu, 25 Mar 2010 13:19:57 +0000 (13:19 +0000)]
Minor refactors for clarity:
~ avoid name confusion between $holds and $holds[0] (@holds)
~ more consistent style (return X if X)
~ factor out common case from all conditional blocks
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15971
dcc99617-32d9-48b4-a31d-
7c20da2025e4
erickson [Thu, 25 Mar 2010 13:19:56 +0000 (13:19 +0000)]
Mid-process of reworking the method registrations
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15970
dcc99617-32d9-48b4-a31d-
7c20da2025e4
erickson [Thu, 25 Mar 2010 13:19:55 +0000 (13:19 +0000)]
perltidy prepass
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15969
dcc99617-32d9-48b4-a31d-
7c20da2025e4
erickson [Thu, 25 Mar 2010 13:19:54 +0000 (13:19 +0000)]
reverting
d2c33efd962378c3fa211ef08b8151f074953052 in prep for new patch which covers the same territory
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15968
dcc99617-32d9-48b4-a31d-
7c20da2025e4
scottmk [Thu, 25 Mar 2010 13:11:14 +0000 (13:11 +0000)]
Corrected version number in the update to config.upgrade.log
M Open-ILS/src/sql/Pg/upgrade/0209.schema.metabib.indexing-facets.sql
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15967
dcc99617-32d9-48b4-a31d-
7c20da2025e4
erickson [Thu, 25 Mar 2010 12:45:58 +0000 (12:45 +0000)]
removed unused vars for clarity, make use of the depth var instead of referencing the original call params
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15966
dcc99617-32d9-48b4-a31d-
7c20da2025e4
scottmk [Thu, 25 Mar 2010 05:43:48 +0000 (05:43 +0000)]
1. In order to avoid repeated calls to the authentication server, cache
the login information locally, as part of the userData stored by the
applicaton session. This caching speeds up some queries by about 20%.
Actual results will of course vary according to circumstance.
2. Don't include the database password in log messages.
3. Tinkered a bit with white space and comments here and there.
M Open-ILS/src/c-apps/oils_cstore.c
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15965
dcc99617-32d9-48b4-a31d-
7c20da2025e4
senator [Wed, 24 Mar 2010 21:17:58 +0000 (21:17 +0000)]
Acq: limit "Fund" dropdowns in LID table to active funds
A dropdown will still include one inactive fund if the dropdown belongs to a
copy row whose fund has become inactive (but presumably wasn't originally
inactive).
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15964
dcc99617-32d9-48b4-a31d-
7c20da2025e4
miker [Wed, 24 Mar 2010 20:46:31 +0000 (20:46 +0000)]
provide indexes for the new faceting code
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15963
dcc99617-32d9-48b4-a31d-
7c20da2025e4
miker [Wed, 24 Mar 2010 20:18:50 +0000 (20:18 +0000)]
plan stability through casting for plpgsql; improve preferred language support
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15962
dcc99617-32d9-48b4-a31d-
7c20da2025e4
erickson [Wed, 24 Mar 2010 19:58:28 +0000 (19:58 +0000)]
break before worksheet contents
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15961
dcc99617-32d9-48b4-a31d-
7c20da2025e4
erickson [Wed, 24 Mar 2010 19:50:43 +0000 (19:50 +0000)]
added some data to the acq lineitem worksheet. added distib formula link from lineitems in the IDL
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15960
dcc99617-32d9-48b4-a31d-
7c20da2025e4
phasefx [Wed, 24 Mar 2010 19:43:49 +0000 (19:43 +0000)]
Cancel with Reason for User Requests (tweaked the ML to support that), and wired the interface into the staff client menu
Apologies for any bazaar merge metadata noise with this commit.
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15959
dcc99617-32d9-48b4-a31d-
7c20da2025e4
miker [Wed, 24 Mar 2010 19:42:23 +0000 (19:42 +0000)]
debugging flag leaked in
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15958
dcc99617-32d9-48b4-a31d-
7c20da2025e4
miker [Wed, 24 Mar 2010 19:24:54 +0000 (19:24 +0000)]
support facet-only "search" Open-ILS/src/perlmods/OpenILS/Application/Storage/Driver/Pg/QueryParser.pm
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15957
dcc99617-32d9-48b4-a31d-
7c20da2025e4
miker [Wed, 24 Mar 2010 19:10:48 +0000 (19:10 +0000)]
conditionally quote strings that start with numbers using E-quotes instead of $-quoting, which confuses dbd::pg
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15956
dcc99617-32d9-48b4-a31d-
7c20da2025e4
senator [Wed, 24 Mar 2010 18:53:38 +0000 (18:53 +0000)]
Acq: minor fix to the worksheet UI
openils.Util is already included by js/ui/base.js, but what we do need to do
instead is load the localization string bundle.
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15955
dcc99617-32d9-48b4-a31d-
7c20da2025e4
erickson [Wed, 24 Mar 2010 18:32:46 +0000 (18:32 +0000)]
added import profile selector and auto-merge-1-match options to main upload page
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15954
dcc99617-32d9-48b4-a31d-
7c20da2025e4
erickson [Wed, 24 Mar 2010 18:32:45 +0000 (18:32 +0000)]
added selector display column to merge profile table
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15953
dcc99617-32d9-48b4-a31d-
7c20da2025e4
miker [Wed, 24 Mar 2010 18:13:52 +0000 (18:13 +0000)]
split search/fact metadata; add facet syntax
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15952
dcc99617-32d9-48b4-a31d-
7c20da2025e4
senator [Wed, 24 Mar 2010 17:32:37 +0000 (17:32 +0000)]
Acq: Add access to lineitem worksheet from LI table interfaces.
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15951
dcc99617-32d9-48b4-a31d-
7c20da2025e4
dbs [Wed, 24 Mar 2010 16:56:14 +0000 (16:56 +0000)]
"Active" in this context means "Enabled", not not-passive; let's avoid potential confusion
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15948
dcc99617-32d9-48b4-a31d-
7c20da2025e4
phasefx [Wed, 24 Mar 2010 16:08:17 +0000 (16:08 +0000)]
for user requests, View Picklist instead of Add to Picklist where appropriate. TODO: change the cancel method wired up here
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15947
dcc99617-32d9-48b4-a31d-
7c20da2025e4
scottmk [Wed, 24 Mar 2010 15:41:40 +0000 (15:41 +0000)]
Clear up some muddlement in the design of query.from_relation.
The table_alias column should be nullable, but it shouldn't be required
to be null for a core table.
M Open-ILS/src/sql/Pg/002.schema.config.sql
M Open-ILS/src/sql/Pg/008.schema.query.sql
A Open-ILS/src/sql/Pg/upgrade/0207.schema.query.nullable-table-alias.sql
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15946
dcc99617-32d9-48b4-a31d-
7c20da2025e4
erickson [Wed, 24 Mar 2010 14:32:25 +0000 (14:32 +0000)]
provided a batch mode for open-ils.actor.container.item.create, w/ updated docs
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15945
dcc99617-32d9-48b4-a31d-
7c20da2025e4
erickson [Wed, 24 Mar 2010 14:16:44 +0000 (14:16 +0000)]
for added security, allow for the configuration of a separate cache server for the anonymous cache to prevent filling up the main cache with anon data
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15944
dcc99617-32d9-48b4-a31d-
7c20da2025e4
erickson [Wed, 24 Mar 2010 03:11:33 +0000 (03:11 +0000)]
anonymous cache service for web caching
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15943
dcc99617-32d9-48b4-a31d-
7c20da2025e4
miker [Tue, 23 Mar 2010 19:55:10 +0000 (19:55 +0000)]
switching to the query parser ... truncation support!
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15942
dcc99617-32d9-48b4-a31d-
7c20da2025e4
miker [Tue, 23 Mar 2010 17:49:13 +0000 (17:49 +0000)]
typos in reservation logic
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15941
dcc99617-32d9-48b4-a31d-
7c20da2025e4
phasefx [Tue, 23 Mar 2010 16:35:52 +0000 (16:35 +0000)]
exclude server/ from build.tar with the bundle target, but likely limits us to GNU tar
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15939
dcc99617-32d9-48b4-a31d-
7c20da2025e4
phasefx [Tue, 23 Mar 2010 16:35:01 +0000 (16:35 +0000)]
progressmeter as a "throbber" for page loads, etc. in staff client browser
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15938
dcc99617-32d9-48b4-a31d-
7c20da2025e4
senator [Tue, 23 Mar 2010 16:00:26 +0000 (16:00 +0000)]
Acq: optionally mark POs as prepayment_required; show/confirm it where needed
The PO creation dialog box now has a checkbox for "prepayment required." This
will be checked or unchecked automatically when choosing a vendor from the
above dropdown based on whether that vendor's "prepayment required" value is
true. The user can override the default value for a vendor, but will face a
confirmation dialog about it.
The PO viewing interface shows whether or not a PO is marked "prepayment
required," and if it is, when the user wishes to activate the PO, there will
be another confirmation dialog reminding the user to deal with payment.
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15937
dcc99617-32d9-48b4-a31d-
7c20da2025e4
scottmk [Tue, 23 Mar 2010 13:47:06 +0000 (13:47 +0000)]
Tweak to reflect a better understanding of oilsUtilsQuickReq().
If the latter calls a method that returns no result, it returns
a JSON_NULL, not a NULL.
(The previous version worked correctly, but kinda sorta by accident.)
M Open-ILS/src/c-apps/oils_auth.c
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15936
dcc99617-32d9-48b4-a31d-
7c20da2025e4
dbs [Mon, 22 Mar 2010 22:25:41 +0000 (22:25 +0000)]
Forward-port r15933 from rel_1_6_0: Default to "true" for email notification of holds in example configuration file
Fix minor typos in HoldNotify.pm log messages
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15935
dcc99617-32d9-48b4-a31d-
7c20da2025e4
phasefx [Mon, 22 Mar 2010 21:31:15 +0000 (21:31 +0000)]
Add to Picklist function for acq user requests. Disable EditOnEnter for list view.
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15932
dcc99617-32d9-48b4-a31d-
7c20da2025e4
scottmk [Mon, 22 Mar 2010 20:13:36 +0000 (20:13 +0000)]
Add the const qualifier to one variable. Tidy up white space.
M Open-ILS/src/extras/oils_requestor.c
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15931
dcc99617-32d9-48b4-a31d-
7c20da2025e4
scottmk [Mon, 22 Mar 2010 20:00:17 +0000 (20:00 +0000)]
Applied the const qualifier to a couple of variables.
Also tidied up the white space.
M Open-ILS/src/c-apps/oils_dataloader.c
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15930
dcc99617-32d9-48b4-a31d-
7c20da2025e4
miker [Mon, 22 Mar 2010 19:47:32 +0000 (19:47 +0000)]
protect ingest against < in the data -- subfield codes are still a problem; do not delete metarecord mapping when we are not reingesting a record
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15929
dcc99617-32d9-48b4-a31d-
7c20da2025e4
miker [Mon, 22 Mar 2010 17:39:32 +0000 (17:39 +0000)]
move the rule to /after/ we create the referenced schemas and tables
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15928
dcc99617-32d9-48b4-a31d-
7c20da2025e4
scottmk [Mon, 22 Mar 2010 16:18:54 +0000 (16:18 +0000)]
Fixing blooper in the version number of an upgrade script.
M upgrade/0205.schema.force-reingest-flag-usage.sql
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15927
dcc99617-32d9-48b4-a31d-
7c20da2025e4
miker [Mon, 22 Mar 2010 03:48:51 +0000 (03:48 +0000)]
provide valid xml for the magical -1 precat record, so that we avoid xml errors; add a force-reingest flag to allow reingest when the MARC has not changed
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15926
dcc99617-32d9-48b4-a31d-
7c20da2025e4
miker [Sun, 21 Mar 2010 20:08:18 +0000 (20:08 +0000)]
QueryParser-based stored proc, and adjustments to calling perl -- next up, a compat wrapper and testing
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15925
dcc99617-32d9-48b4-a31d-
7c20da2025e4
miker [Sun, 21 Mar 2010 20:05:38 +0000 (20:05 +0000)]
make #metabib an alias for #metarecord
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15924
dcc99617-32d9-48b4-a31d-
7c20da2025e4
miker [Sun, 21 Mar 2010 20:02:29 +0000 (20:02 +0000)]
remove OFFSET/LIMIT -- do that inside the stored proc for hit estimation; simplify phrase restriction logic
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15923
dcc99617-32d9-48b4-a31d-
7c20da2025e4
miker [Sun, 21 Mar 2010 18:17:22 +0000 (18:17 +0000)]
add phrase cross-checking
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15922
dcc99617-32d9-48b4-a31d-
7c20da2025e4
miker [Fri, 19 Mar 2010 21:00:58 +0000 (21:00 +0000)]
initial perl-side implementation of QueryParser-based search
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15921
dcc99617-32d9-48b4-a31d-
7c20da2025e4
miker [Fri, 19 Mar 2010 21:00:23 +0000 (21:00 +0000)]
add support for pub date filters; add superpage-related override support; add lasso support; add preferred language rel bump support
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15920
dcc99617-32d9-48b4-a31d-
7c20da2025e4
miker [Fri, 19 Mar 2010 20:58:14 +0000 (20:58 +0000)]
pull the query parser implementation in at startup
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15919
dcc99617-32d9-48b4-a31d-
7c20da2025e4
scottmk [Thu, 18 Mar 2010 20:12:40 +0000 (20:12 +0000)]
Performance tweak to oilsAuthComplete().
Formerly, if authenticating a barcode rather tnan a user name, we would
look up the same barcode twice in actor.card: first to get the user id
for a lookup in actor.usr, and again to determine whether the card was
active. Now we use a single lookup for both purposes. In other respects
the validation logic is unchanged.
The oilsAuthCheckCard() function, which performed the second lookup, has
been eliminated.
The oilsUtilsFetchUserByBarcode() function, in oils_utils.c, is no
longer called from anywhere and may be eliminated.
Also added a doxygen-style comment block to document oilsUtilsFetchUserByBarcode(),
and tweaked few comments in the body of the function.
M Open-ILS/src/c-apps/oils_auth.c
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15916
dcc99617-32d9-48b4-a31d-
7c20da2025e4
miker [Thu, 18 Mar 2010 19:58:48 +0000 (19:58 +0000)]
support * as a truncation operator in FTS. NOTE: this will require Postgres 8.4 or newer!
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15915
dcc99617-32d9-48b4-a31d-
7c20da2025e4
miker [Thu, 18 Mar 2010 18:34:29 +0000 (18:34 +0000)]
return mapped legacy events from in-db circ, so that precat copies check out properly
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15914
dcc99617-32d9-48b4-a31d-
7c20da2025e4
miker [Thu, 18 Mar 2010 14:41:08 +0000 (14:41 +0000)]
need to pass the $client to transactional methods
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15911
dcc99617-32d9-48b4-a31d-
7c20da2025e4
miker [Thu, 18 Mar 2010 13:43:23 +0000 (13:43 +0000)]
make sure these selects run against the master db by putting them inside a transaction
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15906
dcc99617-32d9-48b4-a31d-
7c20da2025e4
erickson [Thu, 18 Mar 2010 03:46:38 +0000 (03:46 +0000)]
repaired grid name in new/delete button actions. set grid column order. added a touch of text padding
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15905
dcc99617-32d9-48b4-a31d-
7c20da2025e4
erickson [Thu, 18 Mar 2010 03:46:37 +0000 (03:46 +0000)]
repaired sequence name for merge profile class
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15904
dcc99617-32d9-48b4-a31d-
7c20da2025e4
erickson [Thu, 18 Mar 2010 02:33:46 +0000 (02:33 +0000)]
updated copyright
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15903
dcc99617-32d9-48b4-a31d-
7c20da2025e4
miker [Thu, 18 Mar 2010 01:07:29 +0000 (01:07 +0000)]
accounting for a difference between the behaviour of XPATH in pg 8.3 and 8.4
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15902
dcc99617-32d9-48b4-a31d-
7c20da2025e4
miker [Thu, 18 Mar 2010 00:44:46 +0000 (00:44 +0000)]
cut-n-paste-o
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15901
dcc99617-32d9-48b4-a31d-
7c20da2025e4
miker [Thu, 18 Mar 2010 00:43:03 +0000 (00:43 +0000)]
escape &s in xml nodes (not sure why XPATH does not); skip null values in flatten_marc
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15900
dcc99617-32d9-48b4-a31d-
7c20da2025e4
erickson [Thu, 18 Mar 2010 00:04:08 +0000 (00:04 +0000)]
updated docs to match new/altered option; changed default port to provide some distance from the default pg port
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15899
dcc99617-32d9-48b4-a31d-
7c20da2025e4
erickson [Thu, 18 Mar 2010 00:04:07 +0000 (00:04 +0000)]
added option to import records by record list in addition to queue-level imports; eval doesn't like being exited via 'last', rearranged sysread loop to accommodate; changed merge param to merge-profile
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15898
dcc99617-32d9-48b4-a31d-
7c20da2025e4
erickson [Thu, 18 Mar 2010 00:04:07 +0000 (00:04 +0000)]
Correct constructor call, and added logger line
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15897
dcc99617-32d9-48b4-a31d-
7c20da2025e4
erickson [Thu, 18 Mar 2010 00:04:06 +0000 (00:04 +0000)]
Missing ->new constructor
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15896
dcc99617-32d9-48b4-a31d-
7c20da2025e4
erickson [Thu, 18 Mar 2010 00:04:05 +0000 (00:04 +0000)]
queue is an integer option
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15895
dcc99617-32d9-48b4-a31d-
7c20da2025e4
erickson [Thu, 18 Mar 2010 00:04:04 +0000 (00:04 +0000)]
Implement tempdir, tempfile option.
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15894
dcc99617-32d9-48b4-a31d-
7c20da2025e4
erickson [Thu, 18 Mar 2010 00:04:04 +0000 (00:04 +0000)]
Adding new methodolgoy, robust docs, new options
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15893
dcc99617-32d9-48b4-a31d-
7c20da2025e4
erickson [Thu, 18 Mar 2010 00:04:03 +0000 (00:04 +0000)]
Trivial doc change
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15892
dcc99617-32d9-48b4-a31d-
7c20da2025e4
erickson [Thu, 18 Mar 2010 00:04:02 +0000 (00:04 +0000)]
Make GetOpts::Long and Cronscript get along
So the old Cronscript approach was to have variables declared with
the default values assigned and pass a hash of keys => var_ref, where
the var_ref's pointed to the variables. This didn't work because of
Cronscript trying to build the clean hashes and incorporate structure
into the object.
So instead now we rely on the MyGetOptions return
value (hashref or hash), essentially the opts_clean hash. And we
populate the local variables afterwards. The default values are passed
in the hash now. This works.
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15891
dcc99617-32d9-48b4-a31d-
7c20da2025e4
erickson [Thu, 18 Mar 2010 00:04:01 +0000 (00:04 +0000)]
allow oils_logout to take a specific argument, optionally
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15890
dcc99617-32d9-48b4-a31d-
7c20da2025e4
erickson [Thu, 18 Mar 2010 00:04:00 +0000 (00:04 +0000)]
Mid-refactor move data processing into sub
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15889
dcc99617-32d9-48b4-a31d-
7c20da2025e4
erickson [Thu, 18 Mar 2010 00:04:00 +0000 (00:04 +0000)]
Mid-overhaul, perldoc added
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15888
dcc99617-32d9-48b4-a31d-
7c20da2025e4
erickson [Thu, 18 Mar 2010 00:03:59 +0000 (00:03 +0000)]
Default config file for marc_stream_importer (Net::Server)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15887
dcc99617-32d9-48b4-a31d-
7c20da2025e4
scottmk [Wed, 17 Mar 2010 20:42:33 +0000 (20:42 +0000)]
Tweaked oilsAuthVerifyPassword(), mostly for clarity:
1. Addad a doxygen-style comment block to document it, plus several comments
in the body of the function.
2. A slight rearrangement: get the password from the user object after getting
the seed from memcache, instead of before. That way if the memcache call
fails we don't need to free the copy of the user object's password.
3. Moved the declaration of ret (the return code) closer to its first use.
4. Plugged a potential (albeit improbable) memory leak in the case of an
early exit.
Also: several minor tweaks to white space and comments elsewhere.
M Open-ILS/src/c-apps/oils_auth.c
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15886
dcc99617-32d9-48b4-a31d-
7c20da2025e4
phasefx [Wed, 17 Mar 2010 20:40:49 +0000 (20:40 +0000)]
make this use a transaction or replication lag can bite us on patron registration
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15883
dcc99617-32d9-48b4-a31d-
7c20da2025e4
miker [Wed, 17 Mar 2010 19:18:37 +0000 (19:18 +0000)]
delete the metarecord link for "deleted" records
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15882
dcc99617-32d9-48b4-a31d-
7c20da2025e4
miker [Wed, 17 Mar 2010 13:42:42 +0000 (13:42 +0000)]
syntax error in fkey cascade
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15877
dcc99617-32d9-48b4-a31d-
7c20da2025e4
scottmk [Wed, 17 Mar 2010 13:29:31 +0000 (13:29 +0000)]
Add four tables in acq schema: claim, claim_type, claim_event, claim_event_type.
M Open-ILS/src/sql/Pg/999.functions.global.sql
M Open-ILS/src/sql/Pg/200.schema.acq.sql
M Open-ILS/src/sql/Pg/002.schema.config.sql
A Open-ILS/src/sql/Pg/upgrade/0198.schema.acq.claim.sql
M Open-ILS/examples/fm_IDL.xml
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15876
dcc99617-32d9-48b4-a31d-
7c20da2025e4
phasefx [Tue, 16 Mar 2010 20:03:51 +0000 (20:03 +0000)]
make batch renewal use synchronous calls again to better handle exceptions. The original push for synchronous calls here was for performance, so we may need to revisit
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15875
dcc99617-32d9-48b4-a31d-
7c20da2025e4
miker [Tue, 16 Mar 2010 18:55:53 +0000 (18:55 +0000)]
typo spotted by Steve Callender and Dan Scott
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15872
dcc99617-32d9-48b4-a31d-
7c20da2025e4
miker [Tue, 16 Mar 2010 16:37:31 +0000 (16:37 +0000)]
Forward-porting r15845: Fixing broken multi-question surveys
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15869
dcc99617-32d9-48b4-a31d-
7c20da2025e4
scottmk [Tue, 16 Mar 2010 15:54:43 +0000 (15:54 +0000)]
Added doxygen-style comments to several functions.
Also, in oilsAuthInit():
1. Moved the declarations of several variables closer to their first uses.
2. Instead of using va_list_to_string() to build a seed, exploit the fact that
md5sum() builds its input using printf-style formatting. This change eliminates
a malloc(), a free(), and two calls to vsprintf().
M Open-ILS/src/c-apps/oils_auth.c
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15867
dcc99617-32d9-48b4-a31d-
7c20da2025e4
miker [Tue, 16 Mar 2010 14:59:39 +0000 (14:59 +0000)]
Improved patch from Galen Charlton: removes empty XML elements when ingesting a bib record
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15862
dcc99617-32d9-48b4-a31d-
7c20da2025e4
senator [Tue, 16 Mar 2010 14:56:14 +0000 (14:56 +0000)]
Acq: detail.tt2 -> info.tt2 ("detail" misleadingly suggested lineitem detail)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15861
dcc99617-32d9-48b4-a31d-
7c20da2025e4
miker [Tue, 16 Mar 2010 14:16:52 +0000 (14:16 +0000)]
Patch from Galen Charlton: removes empty controlfield elements, which can be produced in a couple different ways during the ingest of slightly invalid MARC records
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15858
dcc99617-32d9-48b4-a31d-
7c20da2025e4
miker [Tue, 16 Mar 2010 14:14:37 +0000 (14:14 +0000)]
use logical date math to avoid problems with DST boundary
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15857
dcc99617-32d9-48b4-a31d-
7c20da2025e4
erickson [Tue, 16 Mar 2010 14:13:52 +0000 (14:13 +0000)]
repaired key names in json query response
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15855
dcc99617-32d9-48b4-a31d-
7c20da2025e4
scottmk [Tue, 16 Mar 2010 12:54:40 +0000 (12:54 +0000)]
Tidying up white space. No substantive changes.
M Open-ILS/src/c-apps/oils_auth.c
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15853
dcc99617-32d9-48b4-a31d-
7c20da2025e4
scottmk [Tue, 16 Mar 2010 01:14:16 +0000 (01:14 +0000)]
Support multiple languages in the lookup for event descriptions.
Capture the current locale, which reflects the message most
recently received, and confine the lookup to messages in that
language. If you don't find a description, and the language is
different from the default language (hard-coded as "en-US"),
try again with the default language.
Also: eliminate a needless memset().
M Open-ILS/src/c-apps/oils_event.c
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15852
dcc99617-32d9-48b4-a31d-
7c20da2025e4
miker [Mon, 15 Mar 2010 22:49:56 +0000 (22:49 +0000)]
typo spotted by gmcharlt; upgrade script is ok. Insert key, I hate thee (or at least thy placement)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15851
dcc99617-32d9-48b4-a31d-
7c20da2025e4
miker [Mon, 15 Mar 2010 18:22:00 +0000 (18:22 +0000)]
add a (hidden, db-internal) flag table; restrict MR mapping at ingest time based on internal flag
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15850
dcc99617-32d9-48b4-a31d-
7c20da2025e4
miker [Mon, 15 Mar 2010 16:47:14 +0000 (16:47 +0000)]
function to pull possible tcn values out of a bib xml record
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15849
dcc99617-32d9-48b4-a31d-
7c20da2025e4
senator [Mon, 15 Mar 2010 15:45:02 +0000 (15:45 +0000)]
Acq: for showing related lineitems, do the right thing w/ null bib rec
Also, flesh_cancel_reason employed in more of the cases where we're retrieving
lineitems to build an li_table, and li_table doesn't fail so hard when it
doesn't have a fleshed cancel_reason.
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15846
dcc99617-32d9-48b4-a31d-
7c20da2025e4