evergreen/bjwebb.git
15 years agoOrg unit setting (not wired into Settings Editor), circ.staff_client.do_not_auto_atte...
phasefx [Tue, 22 Sep 2009 03:11:24 +0000 (03:11 +0000)]
Org unit setting (not wired into Settings Editor), circ.staff_client.do_not_auto_attempt_print:

  Disable automatic print attempts from staff client interfaces for the receipt types in this list.  Possible values: "Checkout", "Bill Pay", "Hold Slip", "Transit Slip", and/or "Hold/Transit Slip".  This is different from the
Auto-Print checkbox in the pertinent interfaces in that it disables automatic print attempts altogether, rather than encouraging silent printing by suppressing the print dialog.  The Auto-Print checkbox in these interfaces have no
effect on the behavior for this setting.  In the case of the Hold, Transit, and Hold/Transit slips, this also suppresses the alert dialogs that precede the print dialog (the ones that offer Print and Do Not Print as options).

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

15 years agoSplits the hard-coded hold/transit slip logic into 3 types of slips (hold_slip, trans...
phasefx [Mon, 21 Sep 2009 20:06:41 +0000 (20:06 +0000)]
Splits the hard-coded hold/transit slip logic into 3 types of slips (hold_slip, transit_slip, and hold_transit_slip), and ties them into the receipt template system.  The ui.circ.old_harcoded_slip_template (not yet wired in) org
unit setting will revert to the hard-coded logic.  The new templates are not 100% identical to the hard-coded slips, mainly because they're brain-dead simple and don't lend themselves to conditional display logic without delving
into inline javascript.  Testing welcome.

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

15 years agoadded various hold cancelation hooks for (eventually) notifying patrons when a hold...
erickson [Mon, 21 Sep 2009 16:37:19 +0000 (16:37 +0000)]
added various hold cancelation hooks for (eventually) notifying patrons when a hold was cancelled for a given reason

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

15 years agoaccidentally duplicated a seed value, removing
erickson [Mon, 21 Sep 2009 16:13:51 +0000 (16:13 +0000)]
accidentally duplicated a seed value, removing

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

15 years agoproperly populate %services hash of configured Z servers
miker [Mon, 21 Sep 2009 15:10:55 +0000 (15:10 +0000)]
properly populate %services hash of configured Z servers

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

15 years agoNew org setting to turn on behind-the-desk hold pickup option for patrons
erickson [Mon, 21 Sep 2009 14:57:17 +0000 (14:57 +0000)]
New org setting to turn on behind-the-desk hold pickup option for patrons

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

15 years agomust remember to add seed data to the global seed data file in addition to the upgrad...
erickson [Mon, 21 Sep 2009 14:54:19 +0000 (14:54 +0000)]
must remember to add seed data to the global seed data file in addition to the upgrade files

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

15 years agoif an open circ exists for the same user, go ahead and return the circ, regardless...
erickson [Mon, 21 Sep 2009 13:59:02 +0000 (13:59 +0000)]
if an open circ exists for the same user, go ahead and return the circ, regardless of auto-renew

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

15 years agoAdded support for auto-renewal ages. If a checkout occurs and the item is already...
erickson [Mon, 21 Sep 2009 13:53:52 +0000 (13:53 +0000)]
Added support for auto-renewal ages.  If a checkout occurs and the item is already checked out to the same patron and they have had the item for more than a configred amount of time, tell the caller and let the caller decide if it should force a renewal

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

15 years agosetting checkin_scan_time on circs at checkin time. This captures the true scan...
erickson [Sun, 20 Sep 2009 14:16:51 +0000 (14:16 +0000)]
setting checkin_scan_time on circs at checkin time.  This captures the true scan time regardless of the backdate, er, date.

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

15 years agoreworked error handling for setting claimed returned. added PATRON_EXCEEDS_CLAIMS_RET...
phasefx [Fri, 18 Sep 2009 22:58:20 +0000 (22:58 +0000)]
reworked error handling for setting claimed returned. added PATRON_EXCEEDS_CLAIMS_RETURN_COUNT as an overridable event

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

15 years agobetter support for ils events where .ils_event == null. Can now include the textcode...
phasefx [Fri, 18 Sep 2009 22:57:49 +0000 (22:57 +0000)]
better support for ils events where .ils_event == null.  Can now include the textcode string in the list of overridable events one feeds the network.request methods.

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

15 years agoseed new databases with the circ.max_patron_claim_return_count org unit setting type
phasefx [Fri, 18 Sep 2009 22:29:48 +0000 (22:29 +0000)]
seed new databases with the circ.max_patron_claim_return_count org unit setting type

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

15 years agoif no legacy map for in-db checkout/renew is defined, default to the fail message...
erickson [Fri, 18 Sep 2009 21:34:00 +0000 (21:34 +0000)]
if no legacy map for in-db checkout/renew is defined, default to the fail message from the in-db process

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

15 years agoreceipt template for Item Renew interface
phasefx [Fri, 18 Sep 2009 20:33:05 +0000 (20:33 +0000)]
receipt template for Item Renew interface

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

15 years agoRenew Item interface, where you can scan in the item barcodes and a renewal attempt...
phasefx [Fri, 18 Sep 2009 20:29:15 +0000 (20:29 +0000)]
Renew Item interface, where you can scan in the item barcodes and a renewal attempt is made automatically.

Not as clean as it could be if implemented from scratch; it's a paired down derivative of the checkin interface.

Possible TODO: Provide an Override checkbox so that all subsequent renewal attempts are made with .override

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

15 years agojust in case code ever tries to get the OPAC to show the magic PreCat record, don...
phasefx [Fri, 18 Sep 2009 20:26:54 +0000 (20:26 +0000)]
just in case code ever tries to get the OPAC to show the magic PreCat record, don't let it

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

15 years agonew feature: Added max-claims-returned-count setting. if a patron hits this amount...
erickson [Fri, 18 Sep 2009 19:37:33 +0000 (19:37 +0000)]
new feature:  Added max-claims-returned-count setting.  if a patron hits this amount, it requires staff override to mark an additional item as claims returned.

new perm SET_CIRC_CLAIMS_RETURNED.override

new api call open-ils.circ.circulation.set_claims_returned.override

updated some inline docs

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

15 years agoAdd new column checkin_scan_time to action.circulation,
scottmk [Fri, 18 Sep 2009 18:49:25 +0000 (18:49 +0000)]
Add new column checkin_scan_time to action.circulation,
and change IDL accordingly.

For changing an existing table:

ALTER TABLE action.circulation
ADD COLUMN checkin_scan_time TIMESTAMPTZ;

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

15 years agomarc record in Alternate Item Detail -> Cataloging Info tab
phasefx [Fri, 18 Sep 2009 18:40:08 +0000 (18:40 +0000)]
marc record in Alternate Item Detail -> Cataloging Info tab

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

15 years agoin case marc_view.xul gets sent a pre-cat
phasefx [Fri, 18 Sep 2009 18:39:32 +0000 (18:39 +0000)]
in case marc_view.xul gets sent a pre-cat

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

15 years agomake sure previous display fields are cleared between items
phasefx [Fri, 18 Sep 2009 18:16:50 +0000 (18:16 +0000)]
make sure previous display fields are cleared between items

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

15 years agochanging the value of a datepicker within a change event handler can fire another...
phasefx [Fri, 18 Sep 2009 18:10:57 +0000 (18:10 +0000)]
changing the value of a datepicker within a change event handler can fire another event.. alert boxes also seem to make it act funny.  Replacing with a sound effect for now

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

15 years agoreplace Checkin Effective Date textbox with datepicker for popup-calendar
phasefx [Fri, 18 Sep 2009 17:30:03 +0000 (17:30 +0000)]
replace Checkin Effective Date textbox with datepicker for popup-calendar

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

15 years agoBug reported by Wiktor Rzeczkowski from McMaster University: [parallel_]pg_loader...
miker [Fri, 18 Sep 2009 17:23:00 +0000 (17:23 +0000)]
Bug reported by Wiktor Rzeczkowski from McMaster University: [parallel_]pg_loader.pl was not taught about the changes to the materialized_simple_record trigger

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

15 years agorepaired perl syntax on map call
erickson [Fri, 18 Sep 2009 15:28:17 +0000 (15:28 +0000)]
repaired perl syntax on map call

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

15 years agocache the target weight for the entire hold targetting run, not just for this hold
miker [Fri, 18 Sep 2009 13:45:13 +0000 (13:45 +0000)]
cache the target weight for the entire hold targetting run, not just for this hold

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

15 years agoloop-based targeting (does not need the views defined the other day ... may remove...
miker [Thu, 17 Sep 2009 20:19:28 +0000 (20:19 +0000)]
loop-based targeting (does not need the views defined the other day ... may remove those at some point), cut the first; org unit weighting for hold targeting

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

15 years agoAdded org setting for overriding the circ lib when creating a new pre-cat copy. ...
erickson [Thu, 17 Sep 2009 20:03:30 +0000 (20:03 +0000)]
Added org setting for overriding the circ lib when creating a new pre-cat copy.  This allows the lib to automatically
route all pre-cat copies to a different branch at post-circ checkin time.

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

15 years agoAvoid skewed display of record summary when bibtemplate displays extra fields.
dbs [Thu, 17 Sep 2009 16:40:18 +0000 (16:40 +0000)]
Avoid skewed display of record summary when bibtemplate displays extra fields.

Having a massive rowspan doesn't seem to negatively effect the display, so
better safe than sorry.

This should probably be backported all the way to rel_1_6_0.

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

15 years agoquick links for copying address info to the clipboard in tab-delimited format
phasefx [Thu, 17 Sep 2009 16:37:41 +0000 (16:37 +0000)]
quick links for copying address info to the clipboard in tab-delimited format

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

15 years agodisplay dummy fields for pre-cats if no mvr. fix checkin_workstation field if no...
phasefx [Thu, 17 Sep 2009 16:13:46 +0000 (16:13 +0000)]
display dummy fields for pre-cats if no mvr.  fix checkin_workstation field if no checkin_workstation

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

15 years agouse try/catch instead of eval/$@
miker [Thu, 17 Sep 2009 16:02:04 +0000 (16:02 +0000)]
use try/catch instead of eval/$@

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

15 years agocheckin_workstation is now fleshed
phasefx [Thu, 17 Sep 2009 15:50:50 +0000 (15:50 +0000)]
checkin_workstation is now fleshed

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

15 years agoflesh checkin_workstation on copy detail retrieve. changed reltyp for workstation...
erickson [Thu, 17 Sep 2009 15:34:59 +0000 (15:34 +0000)]
flesh checkin_workstation on copy detail retrieve.  changed reltyp for workstation and checkin_worksation to has_a

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

15 years agodummy isbn support for isbn column in lists
phasefx [Thu, 17 Sep 2009 15:31:14 +0000 (15:31 +0000)]
dummy isbn support for isbn column in lists

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

15 years agoDisplay Checkin Workstation in alternate item detail view. Right now it's displaying...
phasefx [Thu, 17 Sep 2009 15:21:26 +0000 (15:21 +0000)]
Display Checkin Workstation in alternate item detail view.  Right now it's displaying the workstation id.

Could we get open-ils.circ.copy_details.retrieve.barcode to flesh .checkin_workstation?

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

15 years agocapture pre-cat circ modifier in pre-cat copy creation
erickson [Thu, 17 Sep 2009 15:20:07 +0000 (15:20 +0000)]
capture pre-cat circ modifier in pre-cat copy creation

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

15 years agoAdd ISBN and Circ Modifier options to Pre-Cat dialog. Circ Modifier value gets remem...
phasefx [Thu, 17 Sep 2009 15:06:19 +0000 (15:06 +0000)]
Add ISBN and Circ Modifier options to Pre-Cat dialog.  Circ Modifier value gets remembered between pre-cat invocations for a given staff client session.  General reworking of the dialog to better handle closure of the window on
non-submits.

TODO: Test against middle layer .checkout.full once it supports circ_modifier argument.  We're broken until then.

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

15 years agofix Unset for circ modifier in Item Attribute Editor
phasefx [Thu, 17 Sep 2009 14:29:45 +0000 (14:29 +0000)]
fix Unset for circ modifier in Item Attribute Editor

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

15 years agouse Safe to protect against EVIL evals coming in from the outside world -- we share...
miker [Thu, 17 Sep 2009 01:54:21 +0000 (01:54 +0000)]
use Safe to protect against EVIL evals coming in from the outside world -- we share the environment into the Safe compartment using the name $current_environment

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

15 years agoFollowing r14030, add the Makefile.am that is required for the Web portions.
dbs [Wed, 16 Sep 2009 03:38:25 +0000 (03:38 +0000)]
Following r14030, add the Makefile.am that is required for the Web portions.
(Oh, the perils of grepping for "^M" in 'svn stat' output...)

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

15 years agoMake building & installing the core components of Evergreen optional.
dbs [Wed, 16 Sep 2009 03:34:38 +0000 (03:34 +0000)]
Make building & installing the core components of Evergreen optional.

For now, this will be of most interest to those interested in building only
the staff client, say, on platforms where many of the dependencies of the
other components of Evergreen are not readily available. If you disable the
core components using configure, then dependency checking for those core
components is skipped and the staff client will be build and installed to
the desired location.

For example:

./autogen.sh
./configure --prefix=/openils --disable-core --disable-apache-modules
sudo make install

... will result in the Evergreen Web files, reporter, and staff client
being built and their respective server components installed in
/openils/var/web/...

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

15 years agocompleting previous commit (hold loop calcuation upgrade scripts)
miker [Tue, 15 Sep 2009 20:24:27 +0000 (20:24 +0000)]
completing previous commit (hold loop calcuation upgrade scripts)

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

15 years agomoving the the upgrade SQL scripts to an unversioned "upgrade" directory instead...
miker [Tue, 15 Sep 2009 20:23:42 +0000 (20:23 +0000)]
moving the the upgrade SQL scripts to an unversioned "upgrade" directory instead of one labeled for 1.6; adding the min-version insert for config.upgrade_log; adding views and an index for hold loop calculation

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

15 years agocapturing ISBN value for pre-cat copies. setting checkin_workstation value at circ...
erickson [Tue, 15 Sep 2009 17:32:10 +0000 (17:32 +0000)]
capturing ISBN value for pre-cat copies.  setting checkin_workstation value at circ checkin time

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

15 years agospawn the right (horizontal versus vertical) patron display
phasefx [Tue, 15 Sep 2009 17:22:12 +0000 (17:22 +0000)]
spawn the right (horizontal versus vertical) patron display

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

15 years agoInitial stab at modeling database changes as atomic mini-scripts for ease of developm...
erickson [Tue, 15 Sep 2009 16:53:44 +0000 (16:53 +0000)]
Initial stab at modeling database changes as atomic mini-scripts for ease of development and eventual automatic upgrades
Created new upgrade directory for the 1.6 to trunk upgrade path.

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

15 years agoduring inspect, return policy data even if the patron is not allowed to checkout...
erickson [Tue, 15 Sep 2009 16:25:41 +0000 (16:25 +0000)]
during inspect, return policy data even if the patron is not allowed to checkout without override

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

15 years agofor now, don't allow inspect calls on copies that have not been created in the db...
erickson [Tue, 15 Sep 2009 16:12:42 +0000 (16:12 +0000)]
for now, don't allow inspect calls on copies that have not been created in the db, IOW pre-cat copies that have never circulated

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

15 years agoAdd checkin_workstation column to action.circulation.
scottmk [Tue, 15 Sep 2009 15:22:40 +0000 (15:22 +0000)]
Add checkin_workstation column to action.circulation.

For changing an existing table:

ALTER TABLE action.circulation
ADD COLUMN checkin_workstation INT
REFERENCES actor.workstation(id)
ON DELETE SET NULL
DEFERRABLE INITIALLY DEFERRED;

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

15 years agoAdd dummy_isbn column to asset.copy.
scottmk [Tue, 15 Sep 2009 14:41:28 +0000 (14:41 +0000)]
Add dummy_isbn column to asset.copy.

For changing an existing table:

ALTER TABLE asset.copy
ADD COLUMN dummy_isbn TEXT;

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

15 years agosimple auth was buggy; due to chrome/remote restrictions in xulrunner 1.9? made separ...
phasefx [Tue, 15 Sep 2009 02:48:41 +0000 (02:48 +0000)]
simple auth was buggy; due to chrome/remote restrictions in xulrunner 1.9? made separate chrome and remote versions, which is.. simpler :)

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

15 years agofire a command event on checkboxes if persist_helper makes them checked. This handle...
phasefx [Mon, 14 Sep 2009 03:18:12 +0000 (03:18 +0000)]
fire a command event on checkboxes if persist_helper makes them checked.  This handles checkboxes like Stack Subfields and Fast Item Add in the marc editor

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

15 years agoPatch from Warren Layton for asciibetical ordering of services in z39.50 client....
phasefx [Sun, 13 Sep 2009 15:08:19 +0000 (15:08 +0000)]
Patch from Warren Layton for asciibetical ordering of services in z39.50 client.  Native Catalog always goes to the top.  Thanks!

---

The attached patch presents the Z39.50 targets in the Staff Client in
alphabetical order - a problem for us because we're starting to have
quite a few configured.

I'm not sure if this is the most elegant solution so feedback is
definitely welcome.

Cheers,
 Warren

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

15 years agoAdded the const qualifier to several variables.
scottmk [Sun, 13 Sep 2009 02:26:10 +0000 (02:26 +0000)]
Added the const qualifier to several variables.

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

15 years agoIn main: add the const qualifier to the classname variable.
scottmk [Sun, 13 Sep 2009 02:12:02 +0000 (02:12 +0000)]
In main: add the const qualifier to the classname variable.

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

15 years agoPatch from Ben Ostrowsky to add some comments to the z39 config table
erickson [Fri, 11 Sep 2009 13:27:20 +0000 (13:27 +0000)]
Patch from Ben Ostrowsky to add some comments to the z39 config table

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

15 years agoCatch a few more common problems in settings-tester.pl:
dbs [Fri, 11 Sep 2009 03:55:49 +0000 (03:55 +0000)]
Catch a few more common problems in settings-tester.pl:
  * Check for <database> elements to ensure that Evergreen version of opensrf.xml is in place
  * Check for oils_web.xml (required as of Evergreen 1.6)

Also, a bit of clean-up:
  * Ensure all output is available to be gathered
  * Short-circuit pointless database tests if the database connection fails

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

15 years agoPatch from Joe Atzberger to repair fund delete param description
erickson [Thu, 10 Sep 2009 18:21:04 +0000 (18:21 +0000)]
Patch from Joe Atzberger to repair fund delete param description

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

15 years agoreverse-choro-date1 tiebreaker on search sorts
miker [Thu, 10 Sep 2009 16:21:33 +0000 (16:21 +0000)]
reverse-choro-date1 tiebreaker on search sorts

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

15 years agogit-svn-id: svn://svn.open-ils.org/ILS/trunk@14004 dcc99617-32d9-48b4-a31d-7c20da2025e4
kgs [Wed, 9 Sep 2009 21:15:08 +0000 (21:15 +0000)]
git-svn-id: svn://svn.open-ils.org/ILS/trunk@14004 dcc99617-32d9-48b4-a31d-7c20da2025e4

15 years agogit-svn-id: svn://svn.open-ils.org/ILS/trunk@14003 dcc99617-32d9-48b4-a31d-7c20da2025e4
kgs [Wed, 9 Sep 2009 20:54:15 +0000 (20:54 +0000)]
git-svn-id: svn://svn.open-ils.org/ILS/trunk@14003 dcc99617-32d9-48b4-a31d-7c20da2025e4

15 years agoMoving styleguide files to the styleguide directory
kgs [Wed, 9 Sep 2009 20:53:54 +0000 (20:53 +0000)]
Moving styleguide files to the styleguide directory

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

15 years agoAdding first of a series of files to the styleguide section.
kgs [Wed, 9 Sep 2009 20:34:34 +0000 (20:34 +0000)]
Adding first of a series of files to the styleguide section.

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

15 years agoMoving styleguide folder into 1.6 docs repository.
kgs [Wed, 9 Sep 2009 20:31:19 +0000 (20:31 +0000)]
Moving styleguide folder into 1.6 docs repository.

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

15 years agogit-svn-id: svn://svn.open-ils.org/ILS/trunk@13999 dcc99617-32d9-48b4-a31d-7c20da2025e4
kgs [Wed, 9 Sep 2009 20:29:35 +0000 (20:29 +0000)]
git-svn-id: svn://svn.open-ils.org/ILS/trunk@13999 dcc99617-32d9-48b4-a31d-7c20da2025e4

15 years agogit-svn-id: svn://svn.open-ils.org/ILS/trunk@13998 dcc99617-32d9-48b4-a31d-7c20da2025e4
kgs [Wed, 9 Sep 2009 20:29:22 +0000 (20:29 +0000)]
git-svn-id: svn://svn.open-ils.org/ILS/trunk@13998 dcc99617-32d9-48b4-a31d-7c20da2025e4

15 years agogit-svn-id: svn://svn.open-ils.org/ILS/trunk@13997 dcc99617-32d9-48b4-a31d-7c20da2025e4
kgs [Wed, 9 Sep 2009 20:29:07 +0000 (20:29 +0000)]
git-svn-id: svn://svn.open-ils.org/ILS/trunk@13997 dcc99617-32d9-48b4-a31d-7c20da2025e4

15 years agogit-svn-id: svn://svn.open-ils.org/ILS/trunk@13996 dcc99617-32d9-48b4-a31d-7c20da2025e4
kgs [Wed, 9 Sep 2009 20:28:55 +0000 (20:28 +0000)]
git-svn-id: svn://svn.open-ils.org/ILS/trunk@13996 dcc99617-32d9-48b4-a31d-7c20da2025e4

15 years agogit-svn-id: svn://svn.open-ils.org/ILS/trunk@13995 dcc99617-32d9-48b4-a31d-7c20da2025e4
kgs [Wed, 9 Sep 2009 20:27:56 +0000 (20:27 +0000)]
git-svn-id: svn://svn.open-ils.org/ILS/trunk@13995 dcc99617-32d9-48b4-a31d-7c20da2025e4

15 years agogit-svn-id: svn://svn.open-ils.org/ILS/trunk@13994 dcc99617-32d9-48b4-a31d-7c20da2025e4
kgs [Wed, 9 Sep 2009 20:27:44 +0000 (20:27 +0000)]
git-svn-id: svn://svn.open-ils.org/ILS/trunk@13994 dcc99617-32d9-48b4-a31d-7c20da2025e4

15 years agogit-svn-id: svn://svn.open-ils.org/ILS/trunk@13993 dcc99617-32d9-48b4-a31d-7c20da2025e4
kgs [Wed, 9 Sep 2009 20:27:35 +0000 (20:27 +0000)]
git-svn-id: svn://svn.open-ils.org/ILS/trunk@13993 dcc99617-32d9-48b4-a31d-7c20da2025e4

15 years agoCreating parallel structure to website for Evergreen documentation. The next sets...
kgs [Wed, 9 Sep 2009 20:27:21 +0000 (20:27 +0000)]
Creating parallel structure to website for Evergreen documentation. The next sets of files will reflect this.

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

15 years agoDeleting unneeded files.
kgs [Wed, 9 Sep 2009 19:48:18 +0000 (19:48 +0000)]
Deleting unneeded files.

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

15 years agoDeleting unneeded folder.
kgs [Wed, 9 Sep 2009 19:47:50 +0000 (19:47 +0000)]
Deleting unneeded folder.

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

15 years agoDeleting unneeded folder.
kgs [Wed, 9 Sep 2009 19:47:37 +0000 (19:47 +0000)]
Deleting unneeded folder.

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

15 years agoRemoving folders so that trunk and the web have parallel structures.
kgs [Wed, 9 Sep 2009 19:47:22 +0000 (19:47 +0000)]
Removing folders so that trunk and the web have parallel structures.

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

15 years agoreorganizing the hierarchy according to newfound wisdom
kgs [Wed, 9 Sep 2009 17:58:19 +0000 (17:58 +0000)]
reorganizing the hierarchy according to newfound wisdom

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

15 years agoprevent negative paging display offset. added paginator to event def grids
erickson [Wed, 9 Sep 2009 13:16:52 +0000 (13:16 +0000)]
prevent negative paging display offset.  added paginator to event def grids

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

15 years agoturn off array expansion in DBD::Pg (new feature)
miker [Tue, 8 Sep 2009 15:14:45 +0000 (15:14 +0000)]
turn off array expansion in DBD::Pg (new feature)

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

15 years agothe Perl UUID module is not easily installed nor does it appear to be maintained...
erickson [Fri, 4 Sep 2009 21:21:40 +0000 (21:21 +0000)]
the Perl UUID module is not easily installed nor does it appear to be maintained.  use UUID::Tiny instead

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

15 years agothere's no valid reason to call ingest from within the bib create/overlay code before...
erickson [Fri, 4 Sep 2009 20:50:14 +0000 (20:50 +0000)]
there's no valid reason to call ingest from within the bib create/overlay code before the changes have been committed.  removed embedded ingest logic and the no-ingest flags passed by everyone that uses them

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

15 years agocapture override as a var because using =~ in an arg list is non-good
erickson [Fri, 4 Sep 2009 20:42:18 +0000 (20:42 +0000)]
capture override as a var because using =~ in an arg list is non-good

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

15 years agoon marc record import, call ingest after the create xact has been committed
erickson [Fri, 4 Sep 2009 20:17:14 +0000 (20:17 +0000)]
on marc record import, call ingest after the create xact has been committed

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

15 years agoplug baseWidgetValue setting for readOnly widgets back in with try/catch and comment...
erickson [Fri, 4 Sep 2009 19:58:21 +0000 (19:58 +0000)]
plug baseWidgetValue setting for readOnly widgets back in with try/catch and comment.  typo: state -> state()

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

15 years agotighter control over displaying mark-recived and update-barcodes links in lineitem...
erickson [Fri, 4 Sep 2009 19:26:08 +0000 (19:26 +0000)]
tighter control over displaying mark-recived and update-barcodes links in lineitem table.  showing lineitem and PO state in the UI.  Added PO activate routine which effectively marks a PO as 'ready to send to vendor'

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

15 years agoLoosened constraint on group penalty thresholds. You can now define threholds for...
erickson [Fri, 4 Sep 2009 17:25:10 +0000 (17:25 +0000)]
Loosened constraint on group penalty thresholds.  You can now define threholds for the same group as long as they have a different context org unit

To Update:

ALTER TABLE permission.grp_penalty_threshold DROP CONSTRAINT penalty_grp_once;
ALTER TABLE permission.grp_penalty_threshold ADD CONSTRAINT penalty_grp_once UNIQUE (grp,penalty,org_unit);

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

15 years agoexpose PO ID and PO name. plugged in option to change the PO name
erickson [Fri, 4 Sep 2009 15:23:54 +0000 (15:23 +0000)]
expose PO ID and PO name.  plugged in option to change the PO name

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

15 years agoassume 'yes' to fetching dependencies; reduce the verbosity of package downloads
erickson [Fri, 4 Sep 2009 13:22:42 +0000 (13:22 +0000)]
assume 'yes' to fetching dependencies; reduce the verbosity of package downloads

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

15 years agodon't allow cut from or paste into readonly textboxes
phasefx [Thu, 3 Sep 2009 08:50:22 +0000 (08:50 +0000)]
don't allow cut from or paste into readonly textboxes

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

15 years agoremote xul textboxes need context="clipboard" for proper cut/paste context menus
phasefx [Thu, 3 Sep 2009 08:39:45 +0000 (08:39 +0000)]
remote xul textboxes need context="clipboard" for proper cut/paste context menus

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

15 years agoallow us to switch to the alt item status view even with no items selected or scanned...
phasefx [Thu, 3 Sep 2009 08:31:47 +0000 (08:31 +0000)]
allow us to switch to the alt item status view even with no items selected or scanned.  Put focus in scanbox after toggle.

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

15 years agoAlternate Item Status View
phasefx [Thu, 3 Sep 2009 08:24:36 +0000 (08:24 +0000)]
Alternate Item Status View

This is a work in process and I expect a lot of churn; I promise to I18N-ize it before it leaves trunk.  Some stuff like Rolling Counter is more mock-up than anything; I have no idea what a Rolling Counter is.  :D

The main notion here is that we want a quick toggle in Item Status for a denser view of information for a single item.  Something less like the current Actions -> Show Item Details and more like the MARC View button in the Z39.50
interface.  Note, you can scan in new barcodes while remaining in this view.   In general, I want to move away from pop-up dialogs and interfaces in any case, and this sort of deck swapping is probably the future.

Feedback welcome.

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

15 years agoReplacing persist mechanism with oils_persist.
phasefx [Thu, 3 Sep 2009 04:14:48 +0000 (04:14 +0000)]
Replacing persist mechanism with oils_persist.

This changeset isn't as scary as it looks, I promise. :-)

In XUL you can say,   <element attribute1="foo" attribute2="bar" persist="attribute1 attribute2" />
and whenever those specified attributes change, the new values will be remembered the next time that element is loaded.

Problems with persist:
  * No longer works with remote XUL in Xulrunner 1.9 series, only chrome.  Mozilla did this for security reasons.
  * Persist was tied to the window.location of each interface, so:
    1) Settings would be lost on any "upgrade" that effectively changed the URL.  For example, /xul/rel_1_2/server/ versus /xul/rel_1_4/server/
    2) Some interfaces still make use of URL params, which effectively breaks persistance (because the URL changes constantly), and allows localstore.rdf to grow without limit (thanks to Jeff for noticing that last bit)

The solution:
  * We renamed all occurances of @persist to @oils_persist, in case Mozilla changes the behavior again.
  * We created a persist_helper() function and call it alongside font_helper() in the @onload for most windows (all that currently have elements using @oils_persist, at least)

persist_helper grabs all elements that have an @oils_persist, and constructs look-up keys based on the location.hostname, location.path, and element.id, and uses the Mozilla preference system to look for preferences with those
keys.  These keys don't include URL parameters.  For <checkbox> elements, an event listener is added that will set the preference whenever the element fires a command event (is checked or unchecked).

TODO:
  * Tweak the keys further so that they're BUILD_ID (version) agnostic
  * Add more event listeners to accomodate @oils_persist on other elements like window, splitter, and grippy.
  * Possibly remove persist_helper (and font_helper) from the inline @onload, and load it through a window.addEventListener('load',function(){ persist_helper(); },false); in the global util overlay instead.

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

15 years agojust another test.. want to see if multiple commits with git-svn come across as multi...
phasefx [Thu, 3 Sep 2009 03:00:39 +0000 (03:00 +0000)]
just another test.. want to see if multiple commits with git-svn come across as multiple changesets when going back to svn later

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

15 years agojust a test
phasefx [Thu, 3 Sep 2009 03:00:37 +0000 (03:00 +0000)]
just a test

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

15 years agoleave the accesskey blank for this. R gets grabbed by the top-level search menu...
phasefx [Wed, 2 Sep 2009 14:08:03 +0000 (14:08 +0000)]
leave the accesskey blank for this.  R gets grabbed by the top-level search menu, so no need to advertise an accesskey that doesn't work

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

15 years agoSimple in-client "activity log" interface (Admin -> Local Administration -> Work...
phasefx [Wed, 2 Sep 2009 13:39:27 +0000 (13:39 +0000)]
Simple in-client "activity log" interface (Admin -> Local Administration -> Work Log), and an example of such logging in the Checkout interface.

The log function itself is part of util/error.js.  Example:

JSAN.use('util.error'); var logger = new util.error();

logger.work_log(

"Staff member Foo circulated item Bar to patron Baz",  // The log message

// Additional Row data to pass to a util.list construct in the work log interface, which can be used in rendering columns, and accessed by actions acting on the list
{
au_id : 1,  // Id for patron Baz; needed if you want the Retrieve Patron action to work with this log entry
acp_barcode : 'Bar', // Barcode of the item; needed if you want the Retrieve Item action to work with this log entry
}
);

TODO:

  * Add logging statements to the Check In interface (complication there is that we don't have patron data, which would be useful) and Patron Registration
  * Possibly add explicit columns for the type of action, the item involved, the patron involved, and the staff involved (to compliment Operator Change), rather than just Message and When.
  * Add filtering support for action types

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

15 years agobypass hold fulfillment attempt when checking out pre/non cat items
erickson [Wed, 2 Sep 2009 12:53:56 +0000 (12:53 +0000)]
bypass hold fulfillment attempt when checking out pre/non cat items

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