evergreen/bjwebb.git
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

14 years agoadd explicit link from resource_type to biblio.record_entry
miker [Tue, 24 Nov 2009 15:28:34 +0000 (15:28 +0000)]
add explicit link from resource_type to biblio.record_entry

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

14 years agoadded support for requiring workstation and patron password via org unit setting
erickson [Mon, 23 Nov 2009 22:39:07 +0000 (22:39 +0000)]
added support for requiring workstation and patron password via org unit setting

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

14 years agoadded self-check org settings seed data for workstation/password required
erickson [Mon, 23 Nov 2009 22:10:47 +0000 (22:10 +0000)]
added self-check org settings seed data for workstation/password required

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

14 years agoDB update patch/script from Joe Atzberger.
erickson [Mon, 23 Nov 2009 20:50:40 +0000 (20:50 +0000)]
DB update patch/script from Joe Atzberger.

===
Attachment one is a database update script based on work Bill sent to the list.  The previous mechanism was to call psql -f once per file, but that also required the psql password to be entered once per file and didn't check to see if the call failed to try again or at least bail out on subsequent files (that might require the earlier ones to succeed.  Given that typing (or even pasting) 20+ consecutive blind password entires is error-prone, I replaced that with a pipe to single psql call.

Pending acceptance, the foreseeable goal will be to integrate this script with the update.sh script and have a single call to apply both code and data changes from an updated repo.
===

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

14 years agoUpdate script patch from Joe Atzberger.
erickson [Mon, 23 Nov 2009 20:38:40 +0000 (20:38 +0000)]
Update script patch from Joe Atzberger.

===

The purpose of this script is to consolidate a lot of the annoying and error-prone tasks associated with an upgrade for a developer, including make, make install, the xulrunner client built and autogen.

Considerations:
* Run as user "opensrf"
* opensrf needs sudo (again, targeting developers, not production) for apache stop/start, chown and make install
* Assumes opensrf has two SVN (or git-svn) repos: OpenILS and OpenSRF
* Both repos should be already configured (as in ./configure)

Detailed usage notes available via -h option.  Both repo directories and the install directory can be specified on the command line.  Try it with -t (test mode) to see feedback without making any changes.

===

TODO.  Add option to use brick_ctl.sh instead of osrf_ctl.sh for service start/stop

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

14 years agoChanging some datatypes to link, to reflect the presence
scottmk [Mon, 23 Nov 2009 20:37:08 +0000 (20:37 +0000)]
Changing some datatypes to link, to reflect the presence
of corresponding linkages in the <links> aggregate, for
classes "rud", "rcirct", "rhrr", "rxbt", "rxpt", and "ergbhu".

M    Open-ILS/examples/fm_IDL.xml

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

14 years agoCorrections to IDL entries in classes "erfcc", "rccc", "rccbs",
scottmk [Mon, 23 Nov 2009 20:18:09 +0000 (20:18 +0000)]
Corrections to IDL entries in classes "erfcc", "rccc", "rccbs",
"iatc", and "rodcirc":

1. Changed several datatypes to "link" to reflect linkages in the
<links> aggregate.

2. In "iatc": added a <link> element for field "prev_hop".

M    Open-ILS/examples/fm_IDL.xml

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

14 years agopatch from Ben Ostrowsky to flesh patron profile info in overdue notice script
erickson [Mon, 23 Nov 2009 20:17:28 +0000 (20:17 +0000)]
patch from Ben Ostrowsky to flesh patron profile info in overdue notice script

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

14 years ago1. Eliminated a duplication of field labels in class "ateo"
scottmk [Mon, 23 Nov 2009 19:31:34 +0000 (19:31 +0000)]
1. Eliminated a duplication of field labels in class "ateo"

2. Eliminated some ectopic label attributes from the
<links> aggregate of class "au"

M    Open-ILS/examples/fm_IDL.xml

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

14 years agoAdd reporter:label attributes to various fields
scottmk [Mon, 23 Nov 2009 19:07:03 +0000 (19:07 +0000)]
Add reporter:label attributes to various fields

M    Open-ILS/examples/fm_IDL.xml

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

14 years agonow updating circ and hold summary numbers. during checkout, update the total and...
erickson [Mon, 23 Nov 2009 17:13:14 +0000 (17:13 +0000)]
now updating circ and hold summary numbers.  during checkout, update the total and session checkout number.  if a hold is captured during checkout, update the hold numbers to reflect the change

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

14 years agoplugged in support for auto-renew-age checking. more event handling. self-check...
erickson [Mon, 23 Nov 2009 16:41:27 +0000 (16:41 +0000)]
plugged in support for auto-renew-age checking.  more event handling.  self-check should now be functionally equivalent to the old self-check as far as checkout/renewal goes.  still needs receipts, etc.

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

14 years agoplugged in autorenewal, more event handling
erickson [Mon, 23 Nov 2009 15:45:34 +0000 (15:45 +0000)]
plugged in autorenewal, more event handling

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

14 years agopull dojo into selfcheck since it relies on opac_utils.js. treat inactive patrons...
erickson [Mon, 23 Nov 2009 14:10:21 +0000 (14:10 +0000)]
pull dojo into selfcheck since it relies on opac_utils.js.  treat inactive patrons as not-found

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

14 years agopatch for Joe A. and Lebbeous FW. to specify function args in drop function statement
erickson [Mon, 23 Nov 2009 13:58:53 +0000 (13:58 +0000)]
patch for Joe A. and Lebbeous FW. to specify function args in drop function statement

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

14 years agofleshed out some circ/login error/event handling
erickson [Mon, 23 Nov 2009 00:12:56 +0000 (00:12 +0000)]
fleshed out some circ/login error/event handling

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

14 years agoadded a util function to play an audio file via url using the HTML5 <audio> element...
erickson [Sun, 22 Nov 2009 19:49:18 +0000 (19:49 +0000)]
added a util function to play an audio file via url using the HTML5 <audio> element.  no attempt was made to support browsers that don't yet support <audio>

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

14 years agoCHANGES
djfiander [Sun, 22 Nov 2009 00:37:42 +0000 (00:37 +0000)]
CHANGES
. Added support for compressed 863 holdings, including both structure and function
. Added function to turn 863 chronologies into ISO datestrings (YYYY-MM-DD)
. Employed the existing prediction logic to generate full prediction lists by way of an 863 increment method
. Added necessary accessor and setter methods to reduce direct object attribute access
. Renamed a few methods to better fit the expanded object interfaces
. Cleaned up a few commented-out print-type debug statements
. Other minor changes

TODO
. Switch to full POD-style inline documentation
. Address various XXX and TODO comments here and there as needed
. Further flesh out object interfaces as needed

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@14997 dcc99617-32d9-48b4-a31d-7c20da2025e4

15 years agoAdd a safer version of the reporter.disable_materialized_simple_record_trigger (...
dbs [Fri, 20 Nov 2009 21:56:20 +0000 (21:56 +0000)]
Add a safer version of the reporter.disable_materialized_simple_record_trigger () function for PostgreSQL 8.2 and up

Also, remove that vestigial 1.2.3-1.4 upgrade script. DIE ALREADY.

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

15 years agoPatch from Joe Atzberger to break up the auditor table creation function into multipl...
miker [Fri, 20 Nov 2009 19:15:10 +0000 (19:15 +0000)]
Patch from Joe Atzberger to break up the auditor table creation function into multiple bits.

This is the start of a process that will make the auditor functionality more stable and predictable across upgrades, where columns are dropped and created on audited tables.

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

15 years agotake advantage of new virtual duedate field on noncat circs in opac display
erickson [Fri, 20 Nov 2009 17:48:19 +0000 (17:48 +0000)]
take advantage of new virtual duedate field on noncat circs in opac display

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

15 years agoSupplying a missing label for a field in class "acqfap"
scottmk [Fri, 20 Nov 2009 17:12:11 +0000 (17:12 +0000)]
Supplying a missing label for a field in class "acqfap"

M    Open-ILS/examples/fm_IDL.xml

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

15 years agotesting some bzr workflows
phasefx [Fri, 20 Nov 2009 08:47:25 +0000 (08:47 +0000)]
testing some bzr workflows

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

15 years agosyntax errors
phasefx [Fri, 20 Nov 2009 07:19:19 +0000 (07:19 +0000)]
syntax errors

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

15 years agopatch from Lebbeous Fogle-Weekley to finalize the show-item-details-opens-new-copy...
erickson [Thu, 19 Nov 2009 22:04:20 +0000 (22:04 +0000)]
patch from Lebbeous Fogle-Weekley to finalize the show-item-details-opens-new-copy-details-tab work.  in this edition, it's the holds maintenance ui

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

15 years agofixed mis-matched variable name. removed unnecessary dojo.connect() call
erickson [Thu, 19 Nov 2009 21:57:14 +0000 (21:57 +0000)]
fixed mis-matched variable name.  removed unnecessary dojo.connect() call

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

15 years agocut/paste-o, the param name had changed
phasefx [Thu, 19 Nov 2009 19:02:30 +0000 (19:02 +0000)]
cut/paste-o, the param name had changed

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

15 years agoThis gives the offline interfaces the ability to use font_helper (which honors the...
phasefx [Thu, 19 Nov 2009 18:44:14 +0000 (18:44 +0000)]
This gives the offline interfaces the ability to use font_helper (which honors the global font settings), but it also pulls in a lot of functions that won't work in offline mode is called, which why it wasn't there originally.  Font helper had slipped into the offline interfaces causing non-fatal errors

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

15 years agoFix util.date regression in offline mode. We don't have dojo in that environment...
phasefx [Thu, 19 Nov 2009 18:33:40 +0000 (18:33 +0000)]
Fix util.date regression in offline mode.  We don't have dojo in that environment, and likely won't bundle it.  So back to original parsing for db_date2Date if no dojo, and don't offer the %{localized} and %{iso8601} format options if no dojo.  At least for now.

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

15 years agocreated general purpose 'a copy for a theoretical hold is available at shelving locat...
erickson [Thu, 19 Nov 2009 16:25:20 +0000 (16:25 +0000)]
created general purpose 'a copy for a theoretical hold is available at shelving location X for org Y'.  can be used by the OPAC to nudge (or force) users toward just grabbing the copy instead of placing a hold

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

15 years agoApply patch from Galen Charlton to escape email addresses in overdue notices:
dbs [Thu, 19 Nov 2009 16:14:42 +0000 (16:14 +0000)]
Apply patch from Galen Charlton to escape email addresses in overdue notices:

"Trivial patch to turn on XML-escaping of e-mail addresses.  '&' is a
rarely used but valid character in email addresses, and failing to
escape makes the overdue notice data file non-well-formed."

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

15 years agoclear holds shelf processor. see sig for description of process
erickson [Thu, 19 Nov 2009 15:12:58 +0000 (15:12 +0000)]
clear holds shelf processor.  see sig for description of process

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

15 years agolocalize dates in various list columns using dojo (hey, no more .substring(0,10)...
phasefx [Thu, 19 Nov 2009 07:14:01 +0000 (07:14 +0000)]
localize dates in various list columns using dojo (hey, no more .substring(0,10)!) and remove newly redundant columns (so for example, instead of having both a
'Checkout Date' and a 'Checkout Timestamp', we just have 'Checkout Date', using a dojo localized time).  list.fm_columns does this automatically, but we're not
ready to replace all lists with that yet.  Also tweaked some ambiguous labels.

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

15 years agooption for no time, just date
phasefx [Thu, 19 Nov 2009 07:08:08 +0000 (07:08 +0000)]
option for no time, just date

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

15 years agoWork around this dojo.date.stamp bug where time zone offsets must have a colon:
phasefx [Thu, 19 Nov 2009 06:32:09 +0000 (06:32 +0000)]
Work around this dojo.date.stamp bug where time zone offsets must have a colon:
http://bugs.dojotoolkit.org/ticket/9028

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

15 years agoUse Dojo for parsing date strings from the database into javascript date objects...
phasefx [Thu, 19 Nov 2009 05:43:47 +0000 (05:43 +0000)]
Use Dojo for parsing date strings from the database into javascript date objects, and for turning dates into ISO8601 date strings.  Stop using DP_DateExtensions.js.  Add a {localized} format for util.date.formatted_date, using Dojo.

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

15 years agoinitial inline status text, some cleanup
erickson [Thu, 19 Nov 2009 03:34:32 +0000 (03:34 +0000)]
initial inline status text, some cleanup

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

15 years agoAdd the upgrade script from the 1.6.0.0 package, plus the fix from https://bugs.launc...
dbs [Thu, 19 Nov 2009 02:16:32 +0000 (02:16 +0000)]
Add the upgrade script from the 1.6.0.0 package, plus the fix from https://bugs.launchpad.net/evergreen/+bug/485143

Thanks to Brandon Uhlmann for reporting the problem in the 1.6.0.0 package.

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

15 years agoPatch from Lebbeous Fogle-Weekley to remove some duplicate network calls in the copy...
erickson [Wed, 18 Nov 2009 21:58:35 +0000 (21:58 +0000)]
Patch from Lebbeous Fogle-Weekley to remove some duplicate network calls in the copy status and details UI

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

15 years agoimplemented holds list and navigation links
erickson [Wed, 18 Nov 2009 21:03:57 +0000 (21:03 +0000)]
implemented holds list and navigation links

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

15 years agoadded a batch/streaming version of the uber-hold retrieval call
erickson [Wed, 18 Nov 2009 21:02:42 +0000 (21:02 +0000)]
added a batch/streaming version of the uber-hold retrieval call

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

15 years agoatev_event_def gets this behavior by default now, so removing it
phasefx [Wed, 18 Nov 2009 16:36:57 +0000 (16:36 +0000)]
atev_event_def gets this behavior by default now, so removing it

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

15 years agoWith fm_columns, hide by default any virtual field and any field with a datatype...
phasefx [Wed, 18 Nov 2009 16:35:49 +0000 (16:35 +0000)]
With fm_columns, hide by default any virtual field and any field with a datatype of link.  For rendering values for link fields, if the data encountered is an object, flatten it by using the field's .key value as a method against the object.

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

15 years agoRid ourselves of the vestigial po/en-US directory
dbs [Wed, 18 Nov 2009 15:46:06 +0000 (15:46 +0000)]
Rid ourselves of the vestigial po/en-US directory

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

15 years agoput the comma after the city instead of the state in the address format
erickson [Wed, 18 Nov 2009 13:52:21 +0000 (13:52 +0000)]
put the comma after the city instead of the state in the address format

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

15 years agoPatch from Lebbeous Fogle-Weekley to add a config interface for the new config.usr_se...
erickson [Wed, 18 Nov 2009 13:42:19 +0000 (13:42 +0000)]
Patch from Lebbeous Fogle-Weekley to add a config interface for the new config.usr_setting_type table

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

15 years agoPatch from Lebbeous Fogle-Weekley to change the behavior of the "Show Item Details...
erickson [Wed, 18 Nov 2009 13:33:31 +0000 (13:33 +0000)]
Patch from Lebbeous Fogle-Weekley to change the behavior of the "Show Item Details" context
menu entry for patron items out, checkin, transit list, copy status, renewal, hold shelf.

Action now opens a new Item Status tab with the alternate (details) view focused by default.
Works with single or multiple copies.

TODO: no need to fetch copy details twice for the same copy

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

15 years agoChange labels such that they refer to Pending patrons instead of Staged patrons,...
phasefx [Wed, 18 Nov 2009 07:25:39 +0000 (07:25 +0000)]
Change labels such that they refer to Pending patrons instead of Staged patrons, and change Cancel to Delete.
Wire up the Delete action.
Add a sticky number box for how many patrons to retrieve in lieu of paged navigation, and a Refresh button.
Pig-trickery to make the Home Library selector sticky.
Deleting or loading a patron removes the patron from the list.

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

15 years agoBring en-CA, fr-CA, and hy-AM up to speed with opac.js
dbs [Wed, 18 Nov 2009 05:54:00 +0000 (05:54 +0000)]
Bring en-CA, fr-CA, and hy-AM up to speed with opac.js

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

15 years agoReorganize i18n files under the template1/template1.pot, template1/lang.po style
dbs [Wed, 18 Nov 2009 05:52:24 +0000 (05:52 +0000)]
Reorganize i18n files under the template1/template1.pot, template1/lang.po style

According to https://help.launchpad.net/Translations/ImportPolicy, this matches
the standard GNU gettext layout and will enable Launchpad to import our files
from the repository to enable translations via Launchpad.

Which means, of course, that we will once again have to add the en-US POT
files to the repository. Fun fun.

Also note that the Makefile has been simplified somewhat; unused targets
have been removed, and the simplified directory structure enabled me to
reduce some variables.

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

15 years agomake circ info fetching synchronous to prevent race condition with scanning, added...
erickson [Wed, 18 Nov 2009 04:44:48 +0000 (04:44 +0000)]
make circ info fetching synchronous to prevent race condition with scanning, added dummy data for testing, plugged in more stub functions, some css and layout fixes

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

15 years agoWhen I renamed the 'status' column from circ.util.columns to 'acp_status' it broke...
phasefx [Wed, 18 Nov 2009 01:39:16 +0000 (01:39 +0000)]
When I renamed the 'status' column from circ.util.columns to 'acp_status' it broke Holdings Maintenance.  This fixes that and also adds the mint condition column to that interface.

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

15 years agoTypo spotted by Joe Atzberger
miker [Tue, 17 Nov 2009 21:01:35 +0000 (21:01 +0000)]
Typo spotted by Joe Atzberger

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

15 years agohide the new version of the overlap method until it is stablized
miker [Tue, 17 Nov 2009 19:54:04 +0000 (19:54 +0000)]
hide the new version of the overlap method until it is stablized

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

15 years agoremoved useless perl module "use" line
miker [Tue, 17 Nov 2009 17:35:57 +0000 (17:35 +0000)]
removed useless perl module "use" line

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

15 years agoTypo spotted by Steve Callendar
miker [Tue, 17 Nov 2009 17:34:08 +0000 (17:34 +0000)]
Typo spotted by Steve Callendar

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

15 years agoadded user hold summary method that breaks down a users holds by status. stub of...
erickson [Tue, 17 Nov 2009 17:07:59 +0000 (17:07 +0000)]
added user hold summary method that breaks down a users holds by status.  stub of clear-shelf processor

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

15 years agoPlugged in the summary data in the sidebar. Kicked off the nls file
erickson [Tue, 17 Nov 2009 15:45:13 +0000 (15:45 +0000)]
Plugged in the summary data in the sidebar.  Kicked off the nls file

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

15 years agopromote the #Evergreen channel over #OpenILS-Evergreen. Does this show up anywhere...
phasefx [Tue, 17 Nov 2009 12:51:57 +0000 (12:51 +0000)]
promote the #Evergreen channel over #OpenILS-Evergreen.  Does this show up anywhere else?

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

15 years agofix some entity names. With just two actions, use buttons instead of menus. Avoid...
phasefx [Tue, 17 Nov 2009 07:33:37 +0000 (07:33 +0000)]
fix some entity names.  With just two actions, use buttons instead of menus.  Avoid accesskey conflict with List Actions, and remove access key from Cancel

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

15 years agolibrary selector for staged patron list
phasefx [Tue, 17 Nov 2009 07:10:49 +0000 (07:10 +0000)]
library selector for staged patron list

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

15 years agowired up patron editor for staged patron list; some refactoring
phasefx [Tue, 17 Nov 2009 04:52:34 +0000 (04:52 +0000)]
wired up patron editor for staged patron list; some refactoring

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

15 years agomove session from url param to xulG param for better caching
phasefx [Tue, 17 Nov 2009 04:17:15 +0000 (04:17 +0000)]
move session from url param to xulG param for better caching

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

15 years agoallow xulG alternative to ?stage= URL param for better caching
phasefx [Tue, 17 Nov 2009 03:52:04 +0000 (03:52 +0000)]
allow xulG alternative to ?stage= URL param for better caching

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

15 years agocleanup, fixes. very basic checkout works
erickson [Tue, 17 Nov 2009 03:44:49 +0000 (03:44 +0000)]
cleanup, fixes.  very basic checkout works

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

15 years agorecurrance [sic] recurs. repaired
erickson [Tue, 17 Nov 2009 03:40:28 +0000 (03:40 +0000)]
recurrance [sic] recurs.  repaired

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

15 years agoStarted porting the self-check web interface over to the new hotness that is dojo...
erickson [Mon, 16 Nov 2009 23:09:12 +0000 (23:09 +0000)]
Started porting the self-check web interface over to the new hotness that is dojo/template-toolkit.
New features on the horizon (circ/fine/holds summary data, holds list, credit card payments, etc.).
About half of the old functionality has been ported.  Many TODO items in the code.
stay tuned

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

15 years agoFirst cut at an interface to list "staged" users by org unit.
phasefx [Mon, 16 Nov 2009 22:41:54 +0000 (22:41 +0000)]
First cut at an interface to list "staged" users by org unit.

APROPOS:
"Ability to have online card applications entered directly into system, with approval and checking done by staff before account is activated"

TODO:
* Wire up Load patron to spawn the existing patron editor interface
* See if there is a Cancel staged patron method we want to call from here
* Add an org unit selector instead of using the workstation ou
* Support paging or a Fetch More button or something similar (the list retrieval method has offset/limit parameters)

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

15 years agocirc object is under construction, use the context circ-lib (which will be the same...
erickson [Mon, 16 Nov 2009 22:37:55 +0000 (22:37 +0000)]
circ object is under construction, use the context circ-lib (which will be the same) instead

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

15 years agowhitespace
phasefx [Mon, 16 Nov 2009 22:23:16 +0000 (22:23 +0000)]
whitespace

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

15 years agoforgot to commit this wrapper for the closure compiler, the sole purpose of which...
phasefx [Mon, 16 Nov 2009 21:33:59 +0000 (21:33 +0000)]
forgot to commit this wrapper for the closure compiler, the sole purpose of which is to return an error code 0 so that make doesn't abort.  I don't mean to pull in a whole new dependency (like java), I'm just playing around.  Will be happy to look at dojo squeeze, etc.

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

15 years agoAdded a GPL notice and a DROP SCHEMA statement.
scottmk [Mon, 16 Nov 2009 20:08:49 +0000 (20:08 +0000)]
Added a GPL notice and a DROP SCHEMA statement.

M    Open-ILS/src/sql/Pg/095.schema.booking.sql

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

15 years agoremoved errant curly
erickson [Mon, 16 Nov 2009 18:44:08 +0000 (18:44 +0000)]
removed errant curly

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

15 years agofix to prevent auto-bill-display from triggering auto-hide-summary
phasefx [Mon, 16 Nov 2009 18:39:36 +0000 (18:39 +0000)]
fix to prevent auto-bill-display from triggering auto-hide-summary

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

15 years agoloop-ending comparison thinko in recent SpanSet changes
miker [Mon, 16 Nov 2009 18:27:51 +0000 (18:27 +0000)]
loop-ending comparison thinko in recent SpanSet changes

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

15 years agoCreate booking schema and the tables therein.
scottmk [Mon, 16 Nov 2009 17:59:10 +0000 (17:59 +0000)]
Create booking schema and the tables therein.

A    Open-ILS/src/sql/Pg/095.schema.booking.sql
M    Open-ILS/src/sql/Pg/002.schema.config.sql
A    Open-ILS/src/sql/Pg/upgrade/0086.schema.booking-tables.sql
M    Open-ILS/examples/fm_IDL.xml

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

15 years agoCorrect long-standing, wide-spread "recurance" and "recuring" typos.
dbs [Mon, 16 Nov 2009 14:46:19 +0000 (14:46 +0000)]
Correct long-standing, wide-spread "recurance" and "recuring" typos.

We'll miss you - *sniff*

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

15 years agoPatch from Lebbeous Fogle-Weekley to add a sample long wait notice for holds
erickson [Mon, 16 Nov 2009 13:40:23 +0000 (13:40 +0000)]
Patch from Lebbeous Fogle-Weekley to add a sample long wait notice for holds

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

15 years agogoogle closure compiler: experiment with compressing staff client javascript
phasefx [Mon, 16 Nov 2009 08:19:44 +0000 (08:19 +0000)]
google closure compiler: experiment with compressing staff client javascript

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

15 years agoWhitespace patch to bring MFHD code into line with new perltidy standard
djfiander [Sat, 14 Nov 2009 19:59:50 +0000 (19:59 +0000)]
Whitespace patch to bring MFHD code into line with new perltidy standard

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

15 years agoHave List Actions -> Print List CSV & Print List Expanded Format use the displayed...
phasefx [Sat, 14 Nov 2009 09:11:53 +0000 (09:11 +0000)]
Have List Actions -> Print List CSV & Print List Expanded Format use the displayed column order instead of the original column order, for better WYSIWYP(rint) :)

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

15 years agoList Actions -> Print List Expanded Format
phasefx [Sat, 14 Nov 2009 08:36:57 +0000 (08:36 +0000)]
List Actions -> Print List Expanded Format

Similar to Print List CSV in that in prints visible columns without using a template, but it pivots the data vertically, similar to the \x option in psql.

So instead of getting something like:

"Alert Message"\t"Barcode"\r\n
"3 dvd's"\t"b1"\r\n
"2 cassettes"\t"b2"\r\n

You'll instead get:

=-=-=
Alert Message: 3 dvd's
Barcode: b1

=-=-=
Alert Message: 2 cassettes
Barcode: b2

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

15 years agoadd standard List Actions to Triggered Events UI
phasefx [Sat, 14 Nov 2009 08:08:37 +0000 (08:08 +0000)]
add standard List Actions to Triggered Events UI

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

15 years agostring-ify lib var so we get the ID instead of the ref value
erickson [Fri, 13 Nov 2009 20:38:13 +0000 (20:38 +0000)]
string-ify lib var so we get the ID instead of the ref value

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