evergreen/bjwebb.git
15 years agoavoid empty authority search queries
miker [Tue, 5 May 2009 12:56:21 +0000 (12:56 +0000)]
avoid empty authority search queries

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

15 years agonew acq perm
erickson [Tue, 5 May 2009 12:42:06 +0000 (12:42 +0000)]
new acq perm

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

15 years agoquiet warnings about undef string escaping; add more fields to the top level copy...
miker [Mon, 4 May 2009 23:42:00 +0000 (23:42 +0000)]
quiet warnings about undef string escaping; add more fields to the top level copy element

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

15 years agocheck explicit perm on importing on-order record and only when necessary
erickson [Mon, 4 May 2009 21:32:39 +0000 (21:32 +0000)]
check explicit perm on importing on-order record and only when necessary

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

15 years agomore acq seed data, fixed my broken syntax
erickson [Mon, 4 May 2009 21:30:14 +0000 (21:30 +0000)]
more acq seed data, fixed my broken syntax

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

15 years agoadd some protection against partially cataloged pre-cat copies
erickson [Mon, 4 May 2009 21:10:57 +0000 (21:10 +0000)]
add some protection against partially cataloged pre-cat copies

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

15 years agoadding unapi <abbr> tags to slimpac record detail display for copies, callnumbers...
miker [Mon, 4 May 2009 20:10:14 +0000 (20:10 +0000)]
adding unapi <abbr> tags to slimpac record detail display for copies, callnumbers and local URIs

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

15 years agofixing json_query for fleshing URIs
miker [Mon, 4 May 2009 20:09:23 +0000 (20:09 +0000)]
fixing json_query for fleshing URIs

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

15 years agoadded some acq seed data
erickson [Mon, 4 May 2009 19:52:07 +0000 (19:52 +0000)]
added some acq seed data

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

15 years agosimplify the basic po retrieval perm test
erickson [Mon, 4 May 2009 19:51:34 +0000 (19:51 +0000)]
simplify the basic po retrieval perm test

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

15 years agoadded ordering agency field to create-po dialog
erickson [Mon, 4 May 2009 19:50:42 +0000 (19:50 +0000)]
added ordering agency field to create-po dialog

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

15 years agogive more view perrms to provider
erickson [Mon, 4 May 2009 19:50:04 +0000 (19:50 +0000)]
give more view perrms to provider

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

15 years agoallow the workstation to be passed in via url param for testing/debugging
erickson [Mon, 4 May 2009 16:29:15 +0000 (16:29 +0000)]
allow the workstation to be passed in via url param for testing/debugging

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

15 years agocapture async widgets after they are loaded
erickson [Mon, 4 May 2009 16:28:50 +0000 (16:28 +0000)]
capture async widgets after they are loaded

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

15 years agoadded special handler for copy location fetching to fetch locations owned at workstat...
erickson [Mon, 4 May 2009 16:26:06 +0000 (16:26 +0000)]
added special handler for copy location fetching to fetch locations owned at workstation ancestors + descendents, instead of entire tree

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

15 years agoTo plug a memory leak: uncommented a call to jsonObjectIteratorFree().
scottmk [Mon, 4 May 2009 14:17:11 +0000 (14:17 +0000)]
To plug a memory leak: uncommented a call to jsonObjectIteratorFree().
This call was allegedly causing abends at some point in the past,
but my testing reveals no problems with it now.

Also: eliminated a couple of calls to oilsIDLFindPath().

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

15 years agoshowing copy counts or localized online resources (##URI##) up front on the main...
miker [Mon, 4 May 2009 13:52:12 +0000 (13:52 +0000)]
showing copy counts or localized online resources (##URI##) up front on the main slimpac result list

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

15 years agoadding internal identifier to holdings-namespaced location, status and circlib elemen...
miker [Mon, 4 May 2009 13:47:35 +0000 (13:47 +0000)]
adding internal identifier to holdings-namespaced location, status and circlib elements in holdings xml

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

15 years agoadding holdings to fleshed atom feeds
miker [Mon, 4 May 2009 13:46:46 +0000 (13:46 +0000)]
adding holdings to fleshed atom feeds

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

15 years agoAdd support for the tags "transform", "params", and "result_field" to the
scottmk [Mon, 4 May 2009 13:08:02 +0000 (13:08 +0000)]
Add support for the tags "transform", "params", and "result_field" to the
new ORDER BY syntax for JSON queries.

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

15 years agoremove unwanted empty elements; add ##URI## scoping support to tag browsing
miker [Mon, 4 May 2009 00:17:03 +0000 (00:17 +0000)]
remove unwanted empty elements;  add ##URI## scoping support to tag browsing

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

15 years agoadd ##URI## support ot the slimpac
miker [Sun, 3 May 2009 20:41:39 +0000 (20:41 +0000)]
add ##URI## support ot the slimpac

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

15 years agoimprove example, removing all non-local links where this is at least one 856$9
miker [Sun, 3 May 2009 12:06:14 +0000 (12:06 +0000)]
improve example, removing all non-local links where this is at least one 856$9

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

15 years agoadding a simplistic example of URI rendering.
miker [Sun, 3 May 2009 11:48:33 +0000 (11:48 +0000)]
adding a simplistic example of URI rendering.

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

15 years agoadd org unit scoping support, defaulting to global; clean up textContent handling...
miker [Sun, 3 May 2009 05:51:20 +0000 (05:51 +0000)]
add org unit scoping support, defaulting to global; clean up textContent handling; avoid removing content unless there are items matching the query

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

15 years agohide empty volumes (for ##URI## support)
miker [Sun, 3 May 2009 04:01:47 +0000 (04:01 +0000)]
hide empty volumes (for ##URI## support)

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

15 years agoadd configurable string joiner instead of hardcoding a space Open-ILS/web/js/dojo...
miker [Sun, 3 May 2009 00:52:14 +0000 (00:52 +0000)]
add configurable string joiner instead of hardcoding a space Open-ILS/web/js/dojo/openils/BibTemplate.js

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

15 years agoDetect and report certain malformations in the ORDER BY clause
scottmk [Sat, 2 May 2009 19:54:59 +0000 (19:54 +0000)]
Detect and report certain malformations in the ORDER BY clause
(which would otherwise cause segfaults).

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

15 years agoadding acn and acp support to unAPI interface
miker [Sat, 2 May 2009 19:27:02 +0000 (19:27 +0000)]
adding acn and acp support to unAPI interface

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

15 years agoIntroduce a new syntax for specifying an ORDER BY clause
scottmk [Sat, 2 May 2009 16:28:51 +0000 (16:28 +0000)]
Introduce a new syntax for specifying an ORDER BY clause
(while retaining the old syntax).  For example:

{
    "select":{ "au":[ "family_name", "id" ] },
    "from": "au",
    "order_by":
    [
        {
            "class":"au",
            "field":"family_name",
            "direction":"D"
        },
        {
            "class":"au",
            "field":"id"
        }
    ]
}

This syntax is more flexible than the old syntax, because columns
from the same table don't have to be grouped together.

Planned but not yet implemented: "transform" and "params" tag for
passing a column through a transforming function.

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

15 years agomoving default page size back to 10, since paging works properly in yaz-client again
miker [Sat, 2 May 2009 03:15:40 +0000 (03:15 +0000)]
moving default page size back to 10, since paging works properly in yaz-client again

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

15 years agopass in the record position starting at the offset
miker [Fri, 1 May 2009 19:28:17 +0000 (19:28 +0000)]
pass in the record position starting at the offset

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

15 years agodisambiguate the owning_lib field
miker [Fri, 1 May 2009 18:50:49 +0000 (18:50 +0000)]
disambiguate the owning_lib field

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

15 years agoIncrease default maximumRecords from 10 to 50
dbs [Fri, 1 May 2009 16:52:43 +0000 (16:52 +0000)]
Increase default maximumRecords from 10 to 50

This is a stop-gap measure until simple2zoom / SRU can be taught to work together on paging

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

15 years agoJust add a single record to the SRU results without a collection wrapper
dbs [Fri, 1 May 2009 06:14:55 +0000 (06:14 +0000)]
Just add a single record to the SRU results without a collection wrapper

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

15 years agoProof of concept holdings-in-SRU results
dbs [Fri, 1 May 2009 06:06:59 +0000 (06:06 +0000)]
Proof of concept holdings-in-SRU results

Based on what seems to be the best holdings option of a poor lot from
http://vdxipedia.oclc.org/index.php/Holdings_Parsing - apparently
standard MFHD doesn't exist, despite http://www.loc.gov/marc/holdings/hd852.html

As miker says, code from this should be factored out
from a few different places, and this needs to be much
more configurable, and holdings values need to be escaped...

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

15 years agoAdd a basic holdings retrieval format - more flexible than the XML holdings, but...
dbs [Fri, 1 May 2009 04:12:01 +0000 (04:12 +0000)]
Add a basic holdings retrieval format - more flexible than the XML holdings, but less detailed

Should be enough info to flesh out Z39.50 holdings, at least

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

15 years agoremoving namspace prefixes on holdings extentions
miker [Fri, 1 May 2009 01:24:49 +0000 (01:24 +0000)]
removing namspace prefixes on holdings extentions

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

15 years agoEnable org_unit-scoped SRU searches
dbs [Fri, 1 May 2009 00:30:44 +0000 (00:30 +0000)]
Enable org_unit-scoped SRU searches

http://example.com/opac/extras/sru/SHORTNAME will set a search scope
of SHORTNAME if the search string does not already contain a site:
parameter

Combined with simple2zoom configuration, this gives us the ability to
surface different Z39.50 "databases" that correspond to various org_units.

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

15 years agomore correct permission handling for registering workstations..builds the library...
phasefx [Thu, 30 Apr 2009 20:47:35 +0000 (20:47 +0000)]
more correct permission handling for registering workstations..builds the library drop-down based on work orgs.  But was also done because I was getting a weird -1 result on the admin user from open-ils.actor.user.perm.highest_org

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

15 years agowe need a local attr def for price out of the box
erickson [Thu, 30 Apr 2009 20:44:08 +0000 (20:44 +0000)]
we need a local attr def for price out of the box

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

15 years agoEnforce the requirement that the ORDER BY clause be represented
scottmk [Thu, 30 Apr 2009 19:32:00 +0000 (19:32 +0000)]
Enforce the requirement that the ORDER BY clause be represented
by a JSON_HASH.  The old code would often silently ignore a
malformed ORDER BY clause.

(Note: the output of diff makes this change look spectacularly
more complicated than it really is.  Because I increased the
level of indentation of a large chunk of code, diff made a lot
of spurious matches.)

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

15 years agofield array position is determined by position in the IDL. dynamically generate...
erickson [Thu, 30 Apr 2009 14:42:40 +0000 (14:42 +0000)]
field array position is determined by position in the IDL.  dynamically generate isnew/ischanged/isdeleted fields and push them onto the end of the list of fields.  For now, if isnew/ischanged/isdeleted fields exist in the IDL, they are ignored

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

15 years agoadd example Subjects extention based on openils.BibTemplate
miker [Thu, 30 Apr 2009 00:14:25 +0000 (00:14 +0000)]
add example Subjects extention based on openils.BibTemplate

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

15 years agobig re-work of the provider config page
erickson [Wed, 29 Apr 2009 20:05:31 +0000 (20:05 +0000)]
big re-work of the provider config page

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

15 years agoFor style guides and other materials specific to the production of Evergreen document...
kgs [Wed, 29 Apr 2009 18:08:55 +0000 (18:08 +0000)]
For style guides and other materials specific to the production of Evergreen documentation

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

15 years agogit-svn-id: svn://svn.open-ils.org/ILS/trunk@13018 dcc99617-32d9-48b4-a31d-7c20da2025e4
kgs [Wed, 29 Apr 2009 17:41:04 +0000 (17:41 +0000)]
git-svn-id: svn://svn.open-ils.org/ILS/trunk@13018 dcc99617-32d9-48b4-a31d-7c20da2025e4

15 years agogit-svn-id: svn://svn.open-ils.org/ILS/trunk@13017 dcc99617-32d9-48b4-a31d-7c20da2025e4
kgs [Wed, 29 Apr 2009 17:40:41 +0000 (17:40 +0000)]
git-svn-id: svn://svn.open-ils.org/ILS/trunk@13017 dcc99617-32d9-48b4-a31d-7c20da2025e4

15 years agogit-svn-id: svn://svn.open-ils.org/ILS/trunk@13016 dcc99617-32d9-48b4-a31d-7c20da2025e4
kgs [Wed, 29 Apr 2009 17:38:57 +0000 (17:38 +0000)]
git-svn-id: svn://svn.open-ils.org/ILS/trunk@13016 dcc99617-32d9-48b4-a31d-7c20da2025e4

15 years agoWhen loading the IDL code in C or Perl: generate the array_positions
scottmk [Wed, 29 Apr 2009 16:06:00 +0000 (16:06 +0000)]
When loading the IDL code in C or Perl: generate the array_positions
based on the sequence in which the fields appear in the IDL file
(rather than from attributes in the <field> elements).

In most cases this change will make no difference, because the
fields appear in sequence.  However for classes "brn" and "mvr" the
sequences of fields in the IDL are scrambled.  For those classes,
this change will effectively renumber the fields.

This commit does not affect the corresponding Python or Java code.
So don't go editing the IDL yet to remove the array_position
attributes.

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

15 years agoadded access points to picklist and PO view UI for creating brief records
erickson [Wed, 29 Apr 2009 14:34:10 +0000 (14:34 +0000)]
added access points to picklist and PO view UI for creating brief records

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

15 years agoFix the links in the Fieldmapper, which were borked whenever a
scottmk [Wed, 29 Apr 2009 13:45:11 +0000 (13:45 +0000)]
Fix the links in the Fieldmapper, which were borked whenever a
class had only one link.

This fix entailed a complete rewrite of the code that builds the
fieldmapper structure, using XML::LibXML instead of XML::Simple.

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

15 years agoexperiment-turned-feature: openils.BibTemplate dojo module, with an example in result...
miker [Wed, 29 Apr 2009 01:08:21 +0000 (01:08 +0000)]
experiment-turned-feature: openils.BibTemplate dojo module, with an example in result_summary.xml

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

15 years agoreplace, do not extend, the innerHTML of the slot
miker [Wed, 29 Apr 2009 00:48:57 +0000 (00:48 +0000)]
replace, do not extend, the innerHTML of the slot

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

15 years agoadding dojo class for parsing and rendering opac/slot-data extentions
miker [Wed, 29 Apr 2009 00:35:40 +0000 (00:35 +0000)]
adding dojo class for parsing and rendering opac/slot-data extentions

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

15 years agoadded code to build the marc xml from the form, added option to select destination...
erickson [Tue, 28 Apr 2009 21:07:41 +0000 (21:07 +0000)]
added code to build the marc xml from the form, added option to select destination selection list for brief record.  added stub for 'finish editing via marc editor' option

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

15 years agobetter test. New copies were getting the string "undefined" for the creator/owner...
phasefx [Tue, 28 Apr 2009 03:15:38 +0000 (03:15 +0000)]
better test.  New copies were getting the string "undefined" for the creator/owner field values

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

15 years agoThis is the search interface experiment attached to the record bucket interface....
phasefx [Tue, 28 Apr 2009 02:46:54 +0000 (02:46 +0000)]
This is the search interface experiment attached to the record bucket interface.  Make it more useful by not capping results to 10 rows

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

15 years agoI was incrementing the counter twice in the "count linefeeds" loop. Stop doing that.
dbs [Tue, 28 Apr 2009 02:26:43 +0000 (02:26 +0000)]
I was incrementing the counter twice in the "count linefeeds" loop. Stop doing that.
Also, use a Unicode-safe algorithm for iterating over characters.

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

15 years agobegining of brief record entry form, based on defined marc attr defs. just need...
erickson [Mon, 27 Apr 2009 21:32:11 +0000 (21:32 +0000)]
begining of brief record entry form, based on defined marc attr defs.  just need to determine how to go the opposite direction with the xpath for building marc (IOW, which tag/subfield to use when presented with multiple options in the attr def xpath

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

15 years agoJSON demands double-quoted strings (simplejson is picky about this!)
dbs [Mon, 27 Apr 2009 20:50:02 +0000 (20:50 +0000)]
JSON demands double-quoted strings (simplejson is picky about this!)

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

15 years agooops, new patron editor link slipped in, rolling that back for now
erickson [Mon, 27 Apr 2009 20:21:21 +0000 (20:21 +0000)]
oops, new patron editor link slipped in, rolling that back for now

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

15 years agoforward-porting 12847 (hold expire date warning bug), which was missed before
erickson [Mon, 27 Apr 2009 19:52:06 +0000 (19:52 +0000)]
forward-porting 12847 (hold expire date warning bug), which was missed before

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

15 years agocreated an Acqusitions menu with a couple of menu entries. experimental, probably...
erickson [Mon, 27 Apr 2009 19:48:39 +0000 (19:48 +0000)]
created an Acqusitions menu with a couple of menu entries.  experimental, probably will be hidden for 1.6 release

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

15 years agoplug in real copy save.
erickson [Mon, 27 Apr 2009 18:21:18 +0000 (18:21 +0000)]
plug in real copy save.

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

15 years agostarted a per-lineitem, batch-barcode updater ui. just need to plug in the save
erickson [Mon, 27 Apr 2009 16:41:46 +0000 (16:41 +0000)]
started a per-lineitem, batch-barcode updater ui.  just need to plug in the save

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

15 years agoon second thought, just rely on the existing record details page for editing records...
erickson [Mon, 27 Apr 2009 14:23:44 +0000 (14:23 +0000)]
on second thought, just rely on the existing record details page for editing records that are already in the ILS

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

15 years agoilsevent may be present, but null, be safer
erickson [Sun, 26 Apr 2009 18:22:35 +0000 (18:22 +0000)]
ilsevent may be present, but null, be safer

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

15 years agodon't assume the existence event code number
erickson [Sun, 26 Apr 2009 17:42:29 +0000 (17:42 +0000)]
don't assume the existence event code number

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

15 years agoPatch from Doug Kyle which allows the caller to specify a user during renewal so...
erickson [Sun, 26 Apr 2009 15:21:03 +0000 (15:21 +0000)]
Patch from Doug Kyle which allows the caller to specify a user during renewal so that the system can verify the renewed item is checked out to the specified user.  Thanks

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

15 years agoMFHD lives in the file OpenILS/Utils/MFHD.pm, but all submodules and code using it...
miker [Sun, 26 Apr 2009 12:55:39 +0000 (12:55 +0000)]
MFHD lives in the file OpenILS/Utils/MFHD.pm, but all submodules and code using it, except the new MFHDParser.pm, work in the shorter MFHD namespace (instead of OpenILS::Utils::MFHD).  See Fieldmapper as an existing analog

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

15 years agoAdd some bib and MFHD records for testing out various serials features
dbs [Sun, 26 Apr 2009 02:46:38 +0000 (02:46 +0000)]
Add some bib and MFHD records for testing out various serials features

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

15 years agoupdating badly explained (by me) alternative (untested)
miker [Sun, 26 Apr 2009 01:49:21 +0000 (01:49 +0000)]
updating badly explained (by me) alternative (untested)

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

15 years agoBasic support for returning MFHD for display purposes
dbs [Sun, 26 Apr 2009 01:31:26 +0000 (01:31 +0000)]
Basic support for returning MFHD for display purposes

Interim measure, while there is a direct linkage between sre and bre,
is to invoke the bib_to_mfhd_hash method at record display time;
probably should return a structure including a count of parsed MFHD
records to shortcut cycling through all the arrays, but baby steps

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

15 years agoImprove the ID-matching regex
dbs [Sun, 26 Apr 2009 01:25:48 +0000 (01:25 +0000)]
Improve the ID-matching regex
Normalize to composed Unicode characters

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

15 years agoNormalize to composed Unicode characters
dbs [Sun, 26 Apr 2009 01:25:08 +0000 (01:25 +0000)]
Normalize to composed Unicode characters

Some browsers (like Firefox) do a better job of displaying composed Unicode characters

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

15 years agoPut MFHD in the OpenILS::Utils:: package space
dbs [Sun, 26 Apr 2009 01:22:57 +0000 (01:22 +0000)]
Put MFHD in the OpenILS::Utils:: package space

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

15 years agoMove a particularly noticeable colour feature from layout to colors.css
dbs [Sat, 25 Apr 2009 03:01:32 +0000 (03:01 +0000)]
Move a particularly noticeable colour feature from layout to colors.css

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

15 years agouse custom textarea widget
erickson [Fri, 24 Apr 2009 19:45:09 +0000 (19:45 +0000)]
use custom textarea widget

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

15 years agocan't get dijit textarea to honor spaces/tabs. this custom textarea widget (much...
erickson [Fri, 24 Apr 2009 19:44:53 +0000 (19:44 +0000)]
can't get dijit textarea to honor spaces/tabs.  this custom textarea widget (much simpler) works nicely

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

15 years agoadded provider holding_tag
erickson [Fri, 24 Apr 2009 12:58:00 +0000 (12:58 +0000)]
added provider holding_tag

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

15 years agoadded template callback for getting user fines summary
erickson [Thu, 23 Apr 2009 17:57:24 +0000 (17:57 +0000)]
added template callback for getting user fines summary

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

15 years agoIf the "virtual" tag is not present for a field,
scottmk [Thu, 23 Apr 2009 17:37:54 +0000 (17:37 +0000)]
If the "virtual" tag is not present for a field,
default it to "false".

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

15 years agocut-and-paste-o when adding the collections warning penalty calc
miker [Thu, 23 Apr 2009 17:04:21 +0000 (17:04 +0000)]
cut-and-paste-o when adding the collections warning penalty calc

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

15 years agoAdd a definition for the trigger service
dbs [Thu, 23 Apr 2009 16:50:44 +0000 (16:50 +0000)]
Add a definition for the trigger service

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

15 years agoadded the hold.avaiable hook
erickson [Thu, 23 Apr 2009 16:36:57 +0000 (16:36 +0000)]
added the hold.avaiable hook

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

15 years agoplug in the event creation for the hold.available hook. (note, hold.capture is diffe...
erickson [Thu, 23 Apr 2009 16:34:40 +0000 (16:34 +0000)]
plug in the event creation for the hold.available hook.  (note, hold.capture is different since transit may be required)

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

15 years agoIn SELECT():
scottmk [Thu, 23 Apr 2009 14:28:45 +0000 (14:28 +0000)]
In SELECT():

1. Reduce the scope of order_buf and having_buf, thereby reducing the number
of places where we need to remember to free them.

2. Don't allocate order_buf unless we're going to use it.

3. Return an error if the ORDER BY clause references an invalid class
or column (instead of silently ignoring the reference).

4. Return an error if the ORDER BY clause references a virtual field
(instead of including it like it was a real column, resulting in a
failure later).

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

15 years agomissing comma
erickson [Thu, 23 Apr 2009 14:12:07 +0000 (14:12 +0000)]
missing comma

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

15 years agoallow groups of circ modifiers for the max-per-circ-mod test
miker [Thu, 23 Apr 2009 00:50:03 +0000 (00:50 +0000)]
allow groups of circ modifiers for the max-per-circ-mod test

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

15 years agoordering events by run_time and then add_time to tie-break
miker [Wed, 22 Apr 2009 20:13:20 +0000 (20:13 +0000)]
ordering events by run_time and then add_time to tie-break

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

15 years agosplit wants a regex pattern to split on
erickson [Wed, 22 Apr 2009 18:49:23 +0000 (18:49 +0000)]
split wants a regex pattern to split on

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

15 years agoPatch from Ben Ostrowsky adding many labels to the IDL and fixing several typos;...
miker [Wed, 22 Apr 2009 18:34:41 +0000 (18:34 +0000)]
Patch from Ben Ostrowsky adding many labels to the IDL and fixing several typos; some minor re-flowing as well

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

15 years agoneed to define the <description> element
miker [Wed, 22 Apr 2009 18:23:16 +0000 (18:23 +0000)]
need to define the <description> element

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

15 years agoadded event def label string
erickson [Wed, 22 Apr 2009 17:10:04 +0000 (17:10 +0000)]
added event def label string

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

15 years agouse new event_def name field. added delete buttons for more event_def grids
erickson [Wed, 22 Apr 2009 17:09:37 +0000 (17:09 +0000)]
use new event_def name field.  added delete buttons for more event_def grids

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

15 years agoprevent erroneous error message on xact begin when an exact already exists
erickson [Wed, 22 Apr 2009 17:07:50 +0000 (17:07 +0000)]
prevent erroneous error message on xact begin when an exact already exists

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

15 years agoteach the batch processor to ignore targets with existing events (pending for active...
miker [Wed, 22 Apr 2009 16:46:56 +0000 (16:46 +0000)]
teach the batch processor to ignore targets with existing events (pending for active, any for passive) for the def in question

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

15 years agojust in case any cstore connections linger, force disconnect after we're done with...
erickson [Wed, 22 Apr 2009 16:36:05 +0000 (16:36 +0000)]
just in case any cstore connections linger, force disconnect after we're done with them

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

15 years agowhen only one cstore clause is passed to an editor query, no need for containing...
erickson [Wed, 22 Apr 2009 15:56:23 +0000 (15:56 +0000)]
when only one cstore clause is passed to an editor query, no need for containing array

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