dbs [Thu, 26 Aug 2010 03:49:20 +0000 (03:49 +0000)]
Provide a visual delimiter for the spine/pocket label groupbox
This just wraps a black border around the area where users edit
the spine/pocket label, to give an idea of the area that can
be edited according to the line width / length settings.
dbs [Thu, 26 Aug 2010 03:07:39 +0000 (03:07 +0000)]
Add explicit identification of the master authority record when merging
We now generate a table with the first cell containing either "Master"
(indicating the record into which the other records will be merged) and
or "Target" (indicating that the record will be merged into the master.
This also adds a horizontal rule to delineate between the form buttons
at the top, and adds borders to provide more clarity between the mergebox
contents.
dbs [Thu, 26 Aug 2010 01:38:54 +0000 (01:38 +0000)]
Add font-weight to label settings to support boldness
* font-weight gets its own user-editable setting on the label generator UI,
along with a library setting, so now you too can have bold spine labels applied
uniformly at your library (but overridden for individual labels)
* Convert a few hardcoded labels to entities in passing
dbs [Thu, 26 Aug 2010 00:16:11 +0000 (00:16 +0000)]
Make spine label settings configurable as org unit settings
Note that due to the persist attribute on these XUL elements, a user
who has manually changed their spine label settings may not see the
org unit setting defaults for those particular settings if those
org unit settings are created or changed.
Now that the infrastructure is in place, We could make the org unit
settings take precedence over the persisted attributes if we think
that's the right way to go.
phasefx [Tue, 24 Aug 2010 19:04:25 +0000 (19:04 +0000)]
change Evergreen Staff Client folder and link names to Evergreen Staff Client Trunk for now, to sidestep an issue with installing over old-style installations
phasefx [Tue, 24 Aug 2010 19:04:20 +0000 (19:04 +0000)]
Staff Client Build/Update Enhancements patch from Thomas Berezansky
Among other things, allows cross-compilation of Windows installers from Unix environments via NSIS, and enables Mozilla's upgrade mechanism for performing upgrades without needing to download and execute external files.
See https://bugs.launchpad.net/evergreen/+bug/616452/ for more details.
scottmk [Tue, 24 Aug 2010 13:29:02 +0000 (13:29 +0000)]
Correcting some miscellaneous anomalies in the org unit setting types.
M Open-ILS/src/sql/Pg/002.schema.config.sql
A Open-ILS/src/sql/Pg/upgrade/0378.data.fix_org_unit_setting_types.sql
M Open-ILS/src/sql/Pg/950.data.seed-values.sql
senator [Fri, 20 Aug 2010 21:51:03 +0000 (21:51 +0000)]
Booking: finish the forward-port from rel_1_6
This /should/ complete the forward port of booking from the rel_1_6 branch,
which means that booking in trunk should work just how it does in the latest
1.6.1.* releases.
Most of the changes in this commit were to Circ/Circulate.pm, and cursory
tests don't indicate any problems in the circulation logic overall, but the
lay of the land there is quite different now in trunk than it was when Booking
was initially developed, so I'd be somewhat wary for a little while.
Going forward, trunk can accept improvements/bug fixes/etc for booking, and
those changes can be *back*ported to branches in the usual way. Yay!
atz [Fri, 20 Aug 2010 20:13:36 +0000 (20:13 +0000)]
Allow STAFF_CLIENT_BUILD_ID to be passed in or set in ENV
Deconflict actions for STAFF_CLIENT_BUILD_ID='current'. Build will
always end up in datestamped directory, but a symlink will be added
to it w/ the build ID string. That should keep everybody happy.
erickson [Fri, 20 Aug 2010 18:33:25 +0000 (18:33 +0000)]
added support for a SIP config option that forces the server to return the no_i18n version of the patron profile group name from the 'ptype' sub (aka PC field in patron-info requests); added config options getter sub; cleaned up some string concats to prevent warnings
erickson [Fri, 20 Aug 2010 14:11:27 +0000 (14:11 +0000)]
propagate estimated price to created copy as copy price (aka list price or replacement price); propagate invoiced amount to created copy as copy cost (aka library cost); caveats and consderations noted in the code.
dbs [Fri, 20 Aug 2010 14:01:26 +0000 (14:01 +0000)]
Hook up the authority management interface to the middle layer
For now, uses the first record in the list as the master; we either
need to give users the ability to select the master record at merge
time, or to select it prior to clicking "Merge"
dbs [Fri, 20 Aug 2010 03:27:04 +0000 (03:27 +0000)]
Give the Authority List interface the ability to merge records... almost
Separate the interface into separate JavaScript vs markup files
To-do:
* Provide a middle layer method that accepts the array of records to merge and merges them
* Teach the mergeRecords() to call that method when it exists
* Provide a way of reordering the records or otherwise flagging which record should be the lead
* Prevent the same record from being added to the merge slushbox twice
erickson [Thu, 19 Aug 2010 21:00:30 +0000 (21:00 +0000)]
circ_modifier codes could be defined, but non-true (i.e. '0'). test for defined instead of truthiness when analyzing LID circ modifiers. repaired (invisible) bug that unnecessarily lead to using circ mod objects instead of codes, depending on context
senator [Thu, 19 Aug 2010 18:18:21 +0000 (18:18 +0000)]
Serials: an alternative batch receiving interface, to support certain
heavy-barcoding workflows.
Still needs some things hooked up in the middle layer to create serial.units.
Still needs some configurability. Access from "Actions for this Record" in
the staff-client-wrapped OPAC for a record with subscriptions and items
attached.
dbs [Thu, 19 Aug 2010 16:51:00 +0000 (16:51 +0000)]
Further enhancements to the authority list interface
* Offer Next / Previous buttons instead of forcing the number spinner
* Submit searches onBlur of the search box instead of having to click Submit
* Accept CGI params so we can kick off a search from other interfaces
* Factor out the displayRecords() code so we can attach other events to it
miker [Thu, 19 Aug 2010 15:51:06 +0000 (15:51 +0000)]
Add support to BibTemplate for arbitrary XML chunks (DOM node) via the "xml" constructure param, which disables automatic format-specific fetching.
Add a new module, openils.FeedTemplate which, given:
* an xml feed (URI or pre-collected DOM node)
* a dojo.query to pull out items from the feed
* the DOM node of a template to clone for each item
* the target DOM node into which it should shove the item-filled template instances
erickson [Thu, 19 Aug 2010 14:22:28 +0000 (14:22 +0000)]
automatically create lineitem assets (i.e. load bibs and items) during po activation when necessary since activation requires it; only do this during non-dry-run calls
dbs [Thu, 19 Aug 2010 13:57:07 +0000 (13:57 +0000)]
Give the authority list interface a place on the staff client Cataloging menu
The interface itself still needs usability love, but exposing basic edit/delete
functionality for authority records should give authoritarians some level of
happiness.
dbs [Thu, 19 Aug 2010 04:47:53 +0000 (04:47 +0000)]
Fix some defects in the first iteration of the authority edit/delete interface
* Ensure that the correct ID is assigned to the edit/delete request
* Prevent caching of results so that when a record is deleted, we don't continue to see it
dbs [Thu, 19 Aug 2010 01:24:03 +0000 (01:24 +0000)]
Add basic authority browse/edit/delete interface
http://localhost/eg/cat/authority/list should get you where you need to be
The paging is comical, the JS should probably be split out from the
declarative markup, the interface needs i18n, the UI needs to become
usable - but at least we have exposed some functionality for working
with authority records now.
Ideally this becomes a widget that we can just embed into other
interfaces to maintain context (which suggests using openils.cgi
to seed the initial values of the widget).
Note that the delete function works - it sets the deleted flag for
an are to "true" - but the underlying authorities browse interface
currently doesn't care about such niceties and always returns deleted
records along with undeleted records. So that might be the next stop.
dbs [Wed, 18 Aug 2010 16:00:41 +0000 (16:00 +0000)]
Give authority records an XML-valid XML formats list
Still need to trim the actual list of formats for authority records,
as marcxml-full and marcxml-uris get listed, and those do not work
or make sense for authority records.
dbs [Tue, 17 Aug 2010 22:06:12 +0000 (22:06 +0000)]
Move to CSS-based styling of validated vs. unvalidated fields
This sets the stage for differentiating between validated fields that
match authority records, and validated fields with a controlling $0
subfield that match an authority record. This also gives sites a bit
of an easier entry point to customize their MARC editor - say, for example,
to support accessibility requirements if red vs. black doesn't satisfy
the needs of those who are colour-blind.
erickson [Tue, 17 Aug 2010 16:28:54 +0000 (16:28 +0000)]
libbusiness-creditcard-perl is installed with DEBS. removing from squeeze-specific debs. make sure we install the EXTRA_DEBS_SQUEEZE as part of install_extra_debs_squeeze
phasefx [Mon, 16 Aug 2010 18:44:08 +0000 (18:44 +0000)]
ui.circ.suppress_checkin_popups disables dialog prompts during check-in, but in the case print slip dialogs, it should still print the slips if the Auto-Print Hold and Transit Slips checkbox is toggled on (the action is still occuring). However, only the dedicated Check-In interface had such a checkbox, and if you were to check-in from Item Status or Items Out with that org unit setting active, you'd have no option to print any slips associated with the check-in. This fixes all that
phasefx [Mon, 16 Aug 2010 13:53:09 +0000 (13:53 +0000)]
redundant refresh() can cause duplicate rows in list. Also, perm failure is an "expected" error here, so we can skip the skull and crossbones if folks without the permission cancel the Void All Billings action
phasefx [Mon, 16 Aug 2010 13:14:41 +0000 (13:14 +0000)]
Disable Replace Barcode button for new patrons, and disable the barcode field for existing patrons. If Replace Barcode is activated, then enable the barcode field, give it focus, and disable the Replace Barcode button.
scottmk [Sun, 15 Aug 2010 02:27:01 +0000 (02:27 +0000)]
Pedantic changes for const-correctness:
1. Add the const qualifier to most of the parameters of SELECT().
2. In almost all cases: replace calls to jsonObjectGetKey() with
calls to jsonObjectGetKeyConst(). A couple of calls remain that
would be more trouble to replace than they're likely to be worth.