evergreen/bjwebb.git
14 years agoadded extra filter optoins for retrieving user payment history
erickson [Wed, 9 Dec 2009 21:32:19 +0000 (21:32 +0000)]
added extra filter optoins for retrieving user payment history

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

14 years agoPatch from Lebbeous Fogle-Weekley to fix some of my thinkos, with sql injection prote...
miker [Wed, 9 Dec 2009 21:23:47 +0000 (21:23 +0000)]
Patch from Lebbeous Fogle-Weekley to fix some of my thinkos, with sql injection protections and corrected json_queries added by moi

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

14 years agoadded a workstation registration wizard to selfcheck. this will come in handy when...
erickson [Wed, 9 Dec 2009 21:10:58 +0000 (21:10 +0000)]
added a workstation registration wizard to selfcheck.  this will come in handy when an org requires a workstation for selfcheck.  some other minor cleanup

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

14 years agoadded user version of ad-hoc A/T runner method (for receipt printing)
erickson [Wed, 9 Dec 2009 21:09:28 +0000 (21:09 +0000)]
added user version of ad-hoc A/T runner method (for receipt printing)

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

14 years agoadded support for using patron usernames in addition to barcodes during offline check...
erickson [Wed, 9 Dec 2009 19:22:58 +0000 (19:22 +0000)]
added support for using patron usernames in addition to barcodes during offline checkout.  to use it, turn on the circ.offline.username_allowed org setting and have a value configured for the opac.barcode_regex org setting

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

14 years agorepaired mislabeled setting s/selfcheck/offline/. thanks, jason
erickson [Wed, 9 Dec 2009 18:48:35 +0000 (18:48 +0000)]
repaired mislabeled setting s/selfcheck/offline/.  thanks, jason

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

14 years agoadded org setting to allow patrons to identify themselves via username (in addition...
erickson [Wed, 9 Dec 2009 18:34:28 +0000 (18:34 +0000)]
added org setting to allow patrons to identify themselves via username (in addition to barcode) during offline checkout

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

14 years agoUse better retrieval method for bill history (handles transactions where all the...
phasefx [Wed, 9 Dec 2009 16:42:35 +0000 (16:42 +0000)]
Use better retrieval method for bill history (handles transactions where all the billings are voided but payments have been received/refunded)

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

14 years agoadded support for auto-renew in offline processor. now using renew.override in offli...
erickson [Wed, 9 Dec 2009 15:44:52 +0000 (15:44 +0000)]
added support for auto-renew in offline processor.  now using renew.override in offline processor to better reflect reality (i.e. the patron thinks they renewed, try harder to make that a reality in the software)

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

14 years agoadded sample selfcheck fines receipt and plugged in fines printing from self-check UI
erickson [Wed, 9 Dec 2009 14:39:14 +0000 (14:39 +0000)]
added sample selfcheck fines receipt and plugged in fines printing from self-check UI

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

14 years agohrmm, playing with bazaar. This should be an empty commit
phasefx [Wed, 9 Dec 2009 14:34:54 +0000 (14:34 +0000)]
hrmm, playing with bazaar.  This should be an empty commit

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

14 years agoadded some more inline comments for clarity
erickson [Wed, 9 Dec 2009 14:33:06 +0000 (14:33 +0000)]
added some more inline comments for clarity

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

14 years agoadded API open-ils.actor.user.transactions.history.have_bill_or_payment[.ids] which...
erickson [Wed, 9 Dec 2009 14:30:08 +0000 (14:30 +0000)]
added API open-ils.actor.user.transactions.history.have_bill_or_payment[.ids] which will capture xacts where all billings have been voided but 1 or more payments toward the billing have been made.

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

14 years agoFull Details button for payment history interface
phasefx [Wed, 9 Dec 2009 14:29:50 +0000 (14:29 +0000)]
Full Details button for payment history interface

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

14 years agodon't look for duplicates on empty values
erickson [Wed, 9 Dec 2009 14:01:25 +0000 (14:01 +0000)]
don't look for duplicates on empty values

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

14 years agorough-cut of a payment-history interface
phasefx [Wed, 9 Dec 2009 13:36:50 +0000 (13:36 +0000)]
rough-cut of a payment-history interface

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

14 years agomove elbow_room to the correct class. sorry, Jason
miker [Wed, 9 Dec 2009 01:07:34 +0000 (01:07 +0000)]
move elbow_room to the correct class.  sorry, Jason

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

14 years agoplugged in initial fines list interface
erickson [Tue, 8 Dec 2009 22:06:19 +0000 (22:06 +0000)]
plugged in initial fines list interface

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

14 years agoturns out i needed 'newpot' as well as 'newpo'. also split up for loop over several...
sboyette [Tue, 8 Dec 2009 21:46:50 +0000 (21:46 +0000)]
turns out i needed 'newpot' as well as 'newpo'. also split up for loop over several lines for readability

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

14 years agosearch returns an array-ref, doh
miker [Tue, 8 Dec 2009 21:40:33 +0000 (21:40 +0000)]
search returns an array-ref, doh

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

14 years agomake the main banner a separate template to ease overriding the layout locally
erickson [Tue, 8 Dec 2009 21:35:48 +0000 (21:35 +0000)]
make the main banner a separate template to ease overriding the layout locally

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

14 years agothinko on field name; do not set $self->due_date, just $circ->due_date
miker [Tue, 8 Dec 2009 21:24:54 +0000 (21:24 +0000)]
thinko on field name; do not set $self->due_date, just $circ->due_date

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

14 years agoplugged in holds list printing and progress dialog while waiting for template generation
erickson [Tue, 8 Dec 2009 21:21:03 +0000 (21:21 +0000)]
plugged in holds list printing and progress dialog while waiting for template generation

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

14 years agoseed data for selfcheck holds list receipt. also removed the lib addr and hours...
erickson [Tue, 8 Dec 2009 21:10:52 +0000 (21:10 +0000)]
seed data for selfcheck holds list receipt.  also removed the lib addr and hours of op from the circ receipt since there is no 1 context org unit for a set of circs

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

14 years agoAdd global support for local added content files.
miker [Tue, 8 Dec 2009 20:35:06 +0000 (20:35 +0000)]
Add global support for local added content files.

If files exist under (by default) /openils/var/web/opac/extras/ac/{type}/{format}/{key}
on the content server (the main server, unless a separate content server is configured),
these will be served in preference to remote added content.  The files here should contain
the same type of data that would be expected from a remote added-content engine, such as
images or html pages.

  * "type" is one of jacket, reviews, toc, excerpt or anotes
  * "format" is type dependent:
    - for jacket, one of small, medium or large
    - others, one of html, xml or json ... html is the default for non-image added content
  * "key" is the sanitized ISBN (any leading spaces are removed, then anything after the
    first space is removed)

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

14 years agoadding org unit settings to block or provide default elbow room for circs; logic...
miker [Tue, 8 Dec 2009 19:08:32 +0000 (19:08 +0000)]
adding org unit settings to block or provide default elbow room for circs; logic to shorten circ duration (if not blocked) to reflect bookings on specific resources

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

14 years agoorder bookings by start time
miker [Tue, 8 Dec 2009 17:30:05 +0000 (17:30 +0000)]
order bookings by start time

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

14 years agoAdd idlval.c -- source for a new utility for
scottmk [Tue, 8 Dec 2009 16:53:24 +0000 (16:53 +0000)]
Add idlval.c -- source for a new utility for
validating IDL files.

This commit does not include any changes
to the Makefile.

A    Open-ILS/src/c-apps/idlval.c

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

14 years agoplugged in items-out receipt template and printing for selfcheck
erickson [Tue, 8 Dec 2009 16:47:07 +0000 (16:47 +0000)]
plugged in items-out receipt template and printing for selfcheck

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

14 years agocheck session viability when retrieving resources or reservations, and VIEW_TRANSACTI...
miker [Tue, 8 Dec 2009 16:29:53 +0000 (16:29 +0000)]
check session viability when retrieving resources or reservations, and VIEW_TRANSACTION permission on reservations

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

14 years agocopy-n-paste-o on sub name
miker [Tue, 8 Dec 2009 16:26:53 +0000 (16:26 +0000)]
copy-n-paste-o on sub name

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

14 years agomore debug info for outbound requests
phasefx [Tue, 8 Dec 2009 15:54:22 +0000 (15:54 +0000)]
more debug info for outbound requests

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

14 years agoThis wires up most of the new billing interface, which has aesthetic and internal...
phasefx [Tue, 8 Dec 2009 14:23:29 +0000 (14:23 +0000)]
This wires up most of the new billing interface, which has aesthetic and internal changes, but not a lot of new functionality (if any) yet.  Let me
know if we lost anything.

Also some drive-by edits to other files:
  lighter-weight refresh callback for billing interface in display.js
  tweaks to logging levels in error.js
  default non-maximized window size for the main menu in menu_frame.xul
  some utility functions (addProperty, removeProperty) in widgets.js
  an attempt to workaround the "parent window loses focus or gets lowered behind another application after a child modal window closes" issue in window.js
  made the patron.util.retrieve_au_via_id utility method .authoritative
  tweaked the CSS for currently selected rows in lists/trees
  whitespace/indentation in bill_history.js

TODO:
  Wire up Refund and Show in Catalog menu options (though refunds should be working via the checkbox column).
  Provide an alternate bill history view which centers around payments received, rather than the billable transactions

WISHLIST:
  Library filtering for transactions.  The interface is currently using open-ils.actor.user.transaction.fleshed.retrieve for fleshing rows; if we
could get it to return a generalized location field regardless of the transaction type (circ, grocery, booking, etc.), then this'll be much easier to
do in the client.

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

14 years agoadd method to return a list of reservation ids by filter; make sure that there is...
miker [Mon, 7 Dec 2009 21:46:08 +0000 (21:46 +0000)]
add method to return a list of reservation ids by filter; make sure that there is a where clause in resource searches

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

14 years agorepaired 'view marc' link in record matches grid. the link was missing a formatter...
erickson [Mon, 7 Dec 2009 21:09:43 +0000 (21:09 +0000)]
repaired 'view marc' link in record matches grid.  the link was missing a formatter, required by newer versions of dojo to display HTML content in a cell grid

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

14 years agoadd method for retrieving lists of resources by type/attr/available/booked filters
miker [Mon, 7 Dec 2009 20:12:02 +0000 (20:12 +0000)]
add method for retrieving lists of resources by type/attr/available/booked filters

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

14 years agogive View X links consistent language. hide pay-fines link until that functionality...
erickson [Mon, 7 Dec 2009 18:18:22 +0000 (18:18 +0000)]
give View X links consistent language.  hide pay-fines link until that functionality is implemented

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

14 years agomissed with previous selfcheck commit. added view items out link and trimmed nav...
erickson [Mon, 7 Dec 2009 18:15:39 +0000 (18:15 +0000)]
missed with previous selfcheck commit.  added view items out link and trimmed nav links to essentials

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

14 years agoAdd Table of Contents capability to OpenLibrary added content plugin.
dbs [Mon, 7 Dec 2009 15:01:04 +0000 (15:01 +0000)]
Add Table of Contents capability to OpenLibrary added content plugin.

Hard code the URLs for OpenLibrary in the module, as requiring the URLs
to be set in opensrf.xml is an unnecessary configuration step.

Add a GPL header to the module, crediting David Christensen as the originator
and myself as the extender.

Some other miscellaneous code cleanup.

TODO: Enable toc_json() method; probably by refactoring toc_html().

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

14 years agoMiscellaneous fix-ups to IDL.
scottmk [Fri, 4 Dec 2009 20:24:47 +0000 (20:24 +0000)]
Miscellaneous fix-ups to IDL.

Classes "vqar" and "vqbr"
changed datatype to "link" for the matches and attributes fields,
because they are tied to "has_many" links

Class "vqara":
<link> to "vqar" was misspelled as "vaqr"

Class "aws" :
removed "has_many" link for circulation_checkins, which is not
defined as a field.

Class "au":
added label attributes for fields "wsid" and "ws_ou"

Class "aou" :
removed "has_many" links for distribution_formulas and
distribution_formula_entries, which are not defined as fields.

M    Open-ILS/examples/fm_IDL.xml

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

14 years agoadding install_all_locales target which interns the process of doing just that
sboyette [Fri, 4 Dec 2009 19:14:27 +0000 (19:14 +0000)]
adding install_all_locales target which interns the process of doing just that

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

14 years agoMake tests line up with current reality - lines after IDs
dbs [Fri, 4 Dec 2009 19:13:13 +0000 (19:13 +0000)]
Make tests line up with current reality - lines after IDs

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

14 years agopatch from Steve Callendar to protect against report output failure when trying to...
miker [Fri, 4 Dec 2009 18:45:48 +0000 (18:45 +0000)]
patch from Steve Callendar to protect against report output failure when trying to draw a line graph with no datasets

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

14 years agoUndo some ill-considered "corrections" to classes rud, rcirct,
scottmk [Fri, 4 Dec 2009 17:06:52 +0000 (17:06 +0000)]
Undo some ill-considered "corrections" to classes rud, rcirct,
rhrr, rxbt, rxpt, ergbhu, erfcc, rccc, and rccbs.

A primary key should not have a datatype of "link", even if
it is one.

M    Open-ILS/examples/fm_IDL.xml

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

14 years agoRemove an INSERT into config.upgrade_log, inadvertently
scottmk [Fri, 4 Dec 2009 16:44:14 +0000 (16:44 +0000)]
Remove an INSERT into config.upgrade_log, inadvertently
left in while building the file.

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

14 years agoUpdate test data to make tests pass again
dbs [Fri, 4 Dec 2009 16:30:22 +0000 (16:30 +0000)]
Update test data to make tests pass again

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

14 years agomissing $$;
phasefx [Fri, 4 Dec 2009 16:10:24 +0000 (16:10 +0000)]
missing $$;

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

14 years agoAdd a bunch of updatable view to the query schema, for
scottmk [Fri, 4 Dec 2009 16:02:03 +0000 (16:02 +0000)]
Add a bunch of updatable view to the query schema, for
representing various subsets of expressions.

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/0107.schema.query-updatable_views.sql
M    Open-ILS/examples/fm_IDL.xml

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

14 years agoPatch from Lebbeous Fogle-Weekley which implements the configuration interfaces required
miker [Fri, 4 Dec 2009 15:37:19 +0000 (15:37 +0000)]
Patch from Lebbeous Fogle-Weekley which implements the configuration interfaces required
to support bookable resources, including the addition of cataloged materials as bookable
items.  Thus spake Lebbeous:

Here it is at last.  The only entry point (for now) to these interfaces
besides the "admin" menu is in the holdings maintenance / copy browser
context menu.  There you can select items and create bookable resources
out of them (basically), and upon that creation you get a new tab open
in the staff client where you could further edit (in a basic, conify
way) that resource.

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

14 years agoadding new schemas to the database building script
miker [Fri, 4 Dec 2009 15:34:10 +0000 (15:34 +0000)]
adding new schemas to the database building script

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

14 years agoOne more fix for po2moz requiring the output type in the incoming PO file name
dbs [Fri, 4 Dec 2009 15:01:49 +0000 (15:01 +0000)]
One more fix for po2moz requiring the output type in the incoming PO file name

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

14 years agoHack: create symbolic links with names demanded by Translate Toolkit
dbs [Fri, 4 Dec 2009 03:09:24 +0000 (03:09 +0000)]
Hack: create symbolic links with names demanded by Translate Toolkit

GNU gettext recommended layout is foo.dtd/ll.po, where "ll" represents
the locale of the translated resource.

But Translate Toolkit doesn't offer any command line flags to tell it
what kind of file it's supposed to generate; it relies on the filename:

The file extension of the original Mozilla file is required to tell the
Toolkit how to do the conversion. Therefore, a file like foo.dtd must be
named foo.dtd.po in order to po2moz to recognise it as a DTD file.

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

14 years agoMerge build fix from launchpad translation branch - Geez. Sometimes the output direct...
dbs [Fri, 4 Dec 2009 01:46:41 +0000 (01:46 +0000)]
Merge build fix from launchpad translation branch - Geez. Sometimes the output directories don't exist! Let's make'em.

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

14 years agooverzealous replace spotted by Lebbeous
miker [Thu, 3 Dec 2009 21:51:59 +0000 (21:51 +0000)]
overzealous replace spotted by Lebbeous

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

14 years agointegrate the new booking.reservation billable transaction table with all the parts...
miker [Thu, 3 Dec 2009 21:29:05 +0000 (21:29 +0000)]
integrate the new booking.reservation billable transaction table with all the parts that use grocery transactions, including in the materialized summary view

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

14 years agoAdd updatable view query.expr_string.
scottmk [Thu, 3 Dec 2009 16:23:34 +0000 (16:23 +0000)]
Add updatable view query.expr_string.

Change a datatype in query.record_column.

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/0104.schema.query-expr-string.sql
M    Open-ILS/examples/fm_IDL.xml

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

14 years agoforgot to bump the upgrade log version for the baseline schema
miker [Thu, 3 Dec 2009 15:59:19 +0000 (15:59 +0000)]
forgot to bump the upgrade log version for the baseline schema

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

14 years agoadding max_fine to resource_type and reservation; moved au.reservation pointer from...
miker [Thu, 3 Dec 2009 15:58:34 +0000 (15:58 +0000)]
adding max_fine to resource_type and reservation; moved au.reservation pointer from capturing staff to requesting user

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

14 years agoadd some default event def granularities. when an override widget is defined, still...
erickson [Thu, 3 Dec 2009 15:40:16 +0000 (15:40 +0000)]
add some default event def granularities.  when an override widget is defined, still try to set the value of the widget based on the object being edited

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

14 years agouse cstore instead of storage in fetch_noncat, make sure closed date overlap call...
erickson [Thu, 3 Dec 2009 15:02:09 +0000 (15:02 +0000)]
use cstore instead of storage in fetch_noncat, make sure closed date overlap call goes to storage

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

14 years agoprotect against nonexistent staged user
erickson [Thu, 3 Dec 2009 14:52:22 +0000 (14:52 +0000)]
protect against nonexistent staged user

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

14 years agocalculate/flesh non-cat circ due date during circ creation
erickson [Thu, 3 Dec 2009 14:49:42 +0000 (14:49 +0000)]
calculate/flesh non-cat circ due date during circ creation

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

14 years agoUse the new .duedate field for non-cat circs, which avoids closed dates like due...
phasefx [Thu, 3 Dec 2009 14:48:54 +0000 (14:48 +0000)]
Use the new .duedate field for non-cat circs, which avoids closed dates like due dates for normal circs

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

14 years agoOnce again into the breach
dbs [Thu, 3 Dec 2009 02:54:50 +0000 (02:54 +0000)]
Once again into the breach

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

14 years agomerge from my offline repo. Toward a billing interface replacement. Other things...
phasefx [Wed, 2 Dec 2009 23:39:35 +0000 (23:39 +0000)]
merge from my offline repo.  Toward a billing interface replacement.  Other things including a hopeful fix for a dojo.require race condition in util/date.js

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

14 years agoimplemented items out page. made printing of top-level receipt optional. trimmed...
erickson [Wed, 2 Dec 2009 18:31:01 +0000 (18:31 +0000)]
implemented items out page.  made printing of top-level receipt optional.  trimmed nav links to only include links that are not already available elsewhere.

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

14 years agoAdd three more tables to the query schema: record_column, select_item,
scottmk [Wed, 2 Dec 2009 16:55:53 +0000 (16:55 +0000)]
Add three more tables to the query schema: record_column, select_item,
and order_by_item.

M    Open-ILS/src/sql/Pg/002.schema.config.sql
A    Open-ILS/src/sql/Pg/upgrade/0102.schema.query-col-sel-order.sql
M    Open-ILS/examples/fm_IDL.xml

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

14 years agoApply patch from Dan Wells to correct nonumRegex
dbs [Wed, 2 Dec 2009 16:22:34 +0000 (16:22 +0000)]
Apply patch from Dan Wells to correct nonumRegex

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

14 years agoRenaming the "sql" schema to "query"
scottmk [Wed, 2 Dec 2009 15:30:30 +0000 (15:30 +0000)]
Renaming the "sql" schema to "query"

M    Open-ILS/examples/fm_IDL.xml

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

14 years agoclean up open-ils.circ.actor.user.checked_out some. no longer using open_circulation...
erickson [Wed, 2 Dec 2009 15:07:22 +0000 (15:07 +0000)]
clean up open-ils.circ.actor.user.checked_out some. no longer using open_circulation view

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

14 years agoadded stored proc to take a circ and determine the full chain of associated circs...
erickson [Wed, 2 Dec 2009 14:35:05 +0000 (14:35 +0000)]
added stored proc to take a circ and determine the full chain of associated circs and companion proc to summarize the chain.  added fm class accs for action::circ_chain_summary.  add ML method to turn the stored proc output into FM objects.  added unrecoverd field to action.circulation since it was missing

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

14 years agoAdd two new tables to the query schema: case_branch and from_relation.
scottmk [Wed, 2 Dec 2009 04:37:32 +0000 (04:37 +0000)]
Add two new tables to the query schema: case_branch and from_relation.

Also: create a foreign key in stored_query pointing to
from_relation.

M    Open-ILS/src/sql/Pg/002.schema.config.sql
A    Open-ILS/src/sql/Pg/upgrade/0100.schema.query-case-from.sql
M    Open-ILS/examples/fm_IDL.xml

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

14 years agoAdd test to confirm that holdings fields are defined for each
djfiander [Wed, 2 Dec 2009 01:23:16 +0000 (01:23 +0000)]
Add test to confirm that holdings fields are defined for each
caption in each test stanza.

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

14 years agowrap idle delay in try/catch to prevent cryptic popup error with invalid org setting...
erickson [Tue, 1 Dec 2009 18:27:46 +0000 (18:27 +0000)]
wrap idle delay in try/catch to prevent cryptic popup error with invalid org setting values

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

14 years agoAdd table query.expression, and add a couple of foreign keys
scottmk [Mon, 30 Nov 2009 21:52:46 +0000 (21:52 +0000)]
Add table query.expression, and add a couple of foreign keys
that point to it.

M    Open-ILS/src/sql/Pg/002.schema.config.sql
A    Open-ILS/src/sql/Pg/upgrade/0099.schema.expression.sql
M    Open-ILS/examples/fm_IDL.xml

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

14 years agoplugged in checkout/renewal receipt printing and patron logout
erickson [Mon, 30 Nov 2009 20:36:13 +0000 (20:36 +0000)]
plugged in checkout/renewal receipt printing and patron logout

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

14 years agoCreate a schema named "query" instead of "sql" (which is a
scottmk [Mon, 30 Nov 2009 20:35:11 +0000 (20:35 +0000)]
Create a schema named "query" instead of "sql" (which is a
reserved word).

Note that two previous upgrade scripts are being changed.  If you have
already run them, you can run them again after manually deleting two
entries from config.upgrade.log:

DELETE FROM config.upgrade.log
WHERE version in ( '0097', '0098' );

The 0097.schema.sql-datatype.sql will drop the misbegotten sql
schema if it exists.

A    Pg/008.schema.query.sql
M    Pg/upgrade/0098.schema.sql-stored-query.sql
M    Pg/upgrade/0097.schema.sql-datatype.sql
D    Pg/008.schema.sql.sql

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

14 years agodebugging
phasefx [Mon, 30 Nov 2009 20:32:51 +0000 (20:32 +0000)]
debugging

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

14 years agoAdd two tables to the sql schema: stored_query and query_sequence.
scottmk [Mon, 30 Nov 2009 19:58:13 +0000 (19:58 +0000)]
Add two tables to the sql schema: stored_query and query_sequence.

M    Open-ILS/src/sql/Pg/002.schema.config.sql
A    Open-ILS/src/sql/Pg/upgrade/0098.schema.sql-stored-query.sql
M    Open-ILS/examples/fm_IDL.xml

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

14 years agoCreate a new schema "sql" to represent stored queries.
scottmk [Mon, 30 Nov 2009 17:51:05 +0000 (17:51 +0000)]
Create a new schema "sql" to represent stored queries.

Note: the 008.schema.sql.sql file defines the entire schema,
except for updatable views (which will be defined later).

However the upgrade file 0097.schema.sql-datatype.sql
only adds four tables; likewise for the update to fm_IDL.xml.
The other tables will be added in due course, but in the
meanwhile there will be some tables defined in the schema
file that haven't been added yet by the upgrades.

M    Open-ILS/src/sql/Pg/002.schema.config.sql
A    Open-ILS/src/sql/Pg/upgrade/0097.schema.sql-datatype.sql
A    Open-ILS/src/sql/Pg/008.schema.sql.sql
M    Open-ILS/examples/fm_IDL.xml

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

14 years ago"Floating" field for copies in copy editor and lists
phasefx [Mon, 30 Nov 2009 16:31:21 +0000 (16:31 +0000)]
"Floating" field for copies in copy editor and lists

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

14 years agoencode email text as utf8 to prevent 'wide character in syswrite' errors in email...
erickson [Mon, 30 Nov 2009 15:31:43 +0000 (15:31 +0000)]
encode email text as utf8 to prevent 'wide character in syswrite' errors in email::send

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

14 years agoaccess the user_data hash directly from the env variable and don't clobber said varia...
erickson [Mon, 30 Nov 2009 14:14:23 +0000 (14:14 +0000)]
access the user_data hash directly from the env variable and don't clobber said variable in the process

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

14 years agoin insertOrderedFields(), append if no tags are greater than the tag of the field...
miker [Sat, 28 Nov 2009 23:43:37 +0000 (23:43 +0000)]
in insertOrderedFields(), append if no tags are greater than the tag of the field being inserted

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

14 years agouse the correct name for marcbreaker format; add support for sf delimiter to batches
miker [Sat, 28 Nov 2009 23:32:32 +0000 (23:32 +0000)]
use the correct name for marcbreaker format; add support for sf delimiter to batches

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

14 years agodefer turning chunks of xml or marc-breaker into actual records until next() is called
miker [Sat, 28 Nov 2009 23:15:21 +0000 (23:15 +0000)]
defer turning chunks of xml or marc-breaker into actual records until next() is called

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

14 years agoDB and middle layer implementation of floating items -- no UI yet.
miker [Thu, 26 Nov 2009 02:09:09 +0000 (02:09 +0000)]
DB and middle layer implementation of floating items -- no UI yet.

asset.copy gets a new BOOL column, floating, that when set to true causes
the circ_lib for that copy to be set to the check-in location if it would
otherwise be transited elsewhere simply to be reshelved.

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

14 years agoAdd some simple error checking to deal with common types of bad
djfiander [Thu, 26 Nov 2009 01:35:03 +0000 (01:35 +0000)]
Add some simple error checking to deal with common types of bad
data that I'm seeing in MFHD dumps from real ILSs.

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

14 years agoCHANGES
djfiander [Wed, 25 Nov 2009 22:44:34 +0000 (22:44 +0000)]
CHANGES
. Added more comments
. Removed OpenSRF dependency entirely
. Added compressed_to_last() method
. Added setter functionality to is_compressed() method (needed for compressed_to_last())
. Replaced hardcoded 'Note:' with double-dash (should we consider some basic template support?)
. Fixed a few small bugs and typos

================================================
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: Dan Wells <dbw2@calvin.edu>
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15033 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoAdded sample self-checkout checkout receipt
erickson [Wed, 25 Nov 2009 21:38:37 +0000 (21:38 +0000)]
Added sample self-checkout checkout receipt
added generic (public/perm-checkin) circ event runner
Added 'g' qualifier to event path-fleshing method name munging
Added explicit exception when environment path is not valid
Added virtual hours_of_operation field for org units

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

14 years agoadd object collection for create/update/delete to the last object in the list .....
miker [Wed, 25 Nov 2009 20:45:18 +0000 (20:45 +0000)]
add object collection for create/update/delete to the last object in the list ... thinko

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

14 years agoteach open-ils.PermaCrud to return objects created by .create, updated by .update...
miker [Wed, 25 Nov 2009 20:19:29 +0000 (20:19 +0000)]
teach open-ils.PermaCrud to return objects created by .create, updated by .update, and the list of ids deleted by .delete/.eliminate

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

14 years agoadd is_json() in the 0092 upgrade script, to avoid warnings ... and add it again...
miker [Wed, 25 Nov 2009 18:49:34 +0000 (18:49 +0000)]
add is_json() in the 0092 upgrade script, to avoid warnings ... and add it again in 0093 to fix things for folks that already updated with 0092

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

14 years agoAdding support for an opaque user_data field on Action/Trigger events:
miker [Wed, 25 Nov 2009 18:07:13 +0000 (18:07 +0000)]
Adding support for an opaque user_data field on Action/Trigger events:

* New column on action_trigger.event and fieldmapper field (user_data) to hold json-encoded data blob
* New optional param to event creation calls to pass said data blob
   (related, added a granularity param to targeted event creator -- pass undef in that position to ignore def granularity, as before)
* New grouped event environment array, called user_data, carrying the peer user_data fields to target and event
* New grouped event method, environment.EventProcessor.findEvent(), for grabbing a specific Event instance (fully fleshed)

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

14 years agoReplace all calls to the old JSON parser with calls
scottmk [Wed, 25 Nov 2009 16:49:13 +0000 (16:49 +0000)]
Replace all calls to the old JSON parser with calls
to the new one.

M    Open-ILS/src/c-apps/oils_cstore.c
M    Open-ILS/src/c-apps/oils_dataloader.c
M    Open-ILS/src/c-apps/oils_utils.c
M    Open-ILS/src/c-apps/oils_auth.c
M    Open-ILS/src/extras/oils_requestor.c

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

14 years agodon't forget to fetch the org setting at load time
erickson [Wed, 25 Nov 2009 14:32:24 +0000 (14:32 +0000)]
don't forget to fetch the org setting at load time

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

14 years agopatch from Joe Atzberger to silence some JS console warnings
erickson [Wed, 25 Nov 2009 13:41:18 +0000 (13:41 +0000)]
patch from Joe Atzberger to silence some JS console warnings

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

14 years agoadded org setting to enable selfcheck audio. alter popup alert to match setting...
erickson [Wed, 25 Nov 2009 03:21:54 +0000 (03:21 +0000)]
added org setting to enable selfcheck audio.  alter popup alert to match setting name layout

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

14 years agoplugged in audio alerts for selfcheck. local config is managed by TT path overriding...
erickson [Tue, 24 Nov 2009 22:45:22 +0000 (22:45 +0000)]
plugged in audio alerts for selfcheck.  local config is managed by TT path overriding.  at least until there's a need to make it fancier.  TODO: add the org setting that turns on audio alerts for selfcheck

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

14 years agofixed bug in load() arguments in IDL class auto-vivicate process
erickson [Tue, 24 Nov 2009 17:50:27 +0000 (17:50 +0000)]
fixed bug in load() arguments in IDL class auto-vivicate process

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