Mike Rylander [Tue, 13 Oct 2015 15:30:48 +0000 (11:30 -0400)]
webstaff: improve styling of aligned grid columns to avoid cell overlap
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Galen Charlton [Mon, 12 Oct 2015 21:12:08 +0000 (21:12 +0000)]
webstaff: highlight currently active position in phys char wizard
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Mike Rylander [Mon, 12 Oct 2015 20:10:04 +0000 (16:10 -0400)]
webstaff: allow batch copy attribute editing across bib records
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Galen Charlton [Mon, 12 Oct 2015 15:08:05 +0000 (15:08 +0000)]
webstaff: make webstaff grid menus scrollable
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Mike Rylander [Fri, 9 Oct 2015 19:51:11 +0000 (15:51 -0400)]
webstaff: Mark new copy notes as new, so they will save.
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Mike Rylander [Fri, 9 Oct 2015 17:33:09 +0000 (13:33 -0400)]
webstaff: Typo fix (Catagories)
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Mike Rylander [Fri, 9 Oct 2015 16:07:29 +0000 (12:07 -0400)]
webstaff: A little spacing tweak to avoid overlapping UI elements in modals
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Mike Rylander [Fri, 9 Oct 2015 15:47:52 +0000 (11:47 -0400)]
webstaff: Move the "Help" and "Stack Subfields" UI elements around a bit, to save space
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Galen Charlton [Fri, 9 Oct 2015 14:54:19 +0000 (14:54 +0000)]
webstaff: CSS tweak - add padding belong MARC editor help button
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Galen Charlton [Fri, 9 Oct 2015 14:50:17 +0000 (14:50 +0000)]
webstaff: disable non-OPAC-view tabs when doing catalog search
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Galen Charlton [Thu, 8 Oct 2015 21:28:53 +0000 (21:28 +0000)]
webstaff: improve MARC record deletion
The MARC editor now asks the user to confirm
whether to delete the record, and in the case of
deleting bibs, now uses open-ils.cat.biblio.record_entry.delete
so as to catch things like volumes still attached
to the bib and cancelling holds in the bib record.
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Galen Charlton [Thu, 8 Oct 2015 19:23:36 +0000 (19:23 +0000)]
webstaff: add keyboard shortcut legend to MARC editor
Note that once we upgrade to angularjs-ui >= 0.13.0, using
a popover rather than a collapse might be better.
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Galen Charlton [Thu, 8 Oct 2015 16:43:42 +0000 (16:43 +0000)]
webstaff: tweak layout of the merge interface
The lead record is now displayed using the same sort
of tabset as the subordinate records. While, of course,
there can be only one lead record at a time, doing it
this way gives us two things:
[1] Display of the lead bib's ID
[2] Better vertical alignment of the MARC records
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Galen Charlton [Thu, 8 Oct 2015 16:16:01 +0000 (16:16 +0000)]
webstaff: automatically advance focus in MARC editor
Upon completing a tag, indicator, or subfield code
input, focus will now automatically advance to the next
input, allowing users to enter records with less need
to use the tab button.
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Mike Rylander [Thu, 8 Oct 2015 15:14:10 +0000 (11:14 -0400)]
webstaff: Always accept double-dagger as a SF delimiter
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Galen Charlton [Thu, 8 Oct 2015 14:46:33 +0000 (14:46 +0000)]
webstaff: another fix to focus-on-new-MARC-field
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Galen Charlton [Thu, 8 Oct 2015 14:43:29 +0000 (14:43 +0000)]
webstaff: fix setting focus when inserting a new MARC field
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Galen Charlton [Thu, 8 Oct 2015 14:04:30 +0000 (14:04 +0000)]
webstaff: make context menus in MARC editor scrollable
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Galen Charlton [Thu, 8 Oct 2015 14:04:13 +0000 (14:04 +0000)]
webstaff: make egGrid actions menu scrollable
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Bill Erickson [Tue, 16 Jun 2015 02:29:25 +0000 (22:29 -0400)]
LP#
1464767 Browser client scrollable selectors
Adds a new scrollable-menu CSS class. It's (provisionally?) limited to
larger screens, w/ the assumption that smaller screens handle scrolling
for you.
New class is applied to org unit selects only so far.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Conflicts:
Open-ILS/src/templates/staff/css/style.css.tt2
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Galen Charlton [Thu, 8 Oct 2015 02:09:41 +0000 (02:09 +0000)]
webstaff: implement subfield stacking in MARC editor
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Galen Charlton [Thu, 8 Oct 2015 01:10:35 +0000 (01:10 +0000)]
webstaff: add session-stickiness for MARC template selector
The new bib function now remembers the last MARC template
that was used for the lifetime of the browser tab.
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Galen Charlton [Thu, 8 Oct 2015 01:05:48 +0000 (01:05 +0000)]
webstaff: start teaching egHatch about sessionStorage
This patch adds getSessionItem(), setSessionItem(), and
removeSessionItem(), which are all wrappers around
$window.sessionStorage. This is done to support settings
whose values are sticky for the duration of a session,
which at present is the lifetime of the browser tab.
An alternative would be using session cookies; some user
testing is needed to see which lifetime makes the most
sense.
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Galen Charlton [Wed, 7 Oct 2015 21:01:51 +0000 (21:01 +0000)]
webstaff: improve how egVolumeList opens the vol/copy editor
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Galen Charlton [Wed, 7 Oct 2015 20:38:24 +0000 (20:38 +0000)]
webstaff: teach volcopy editor how to set default item status
It now consults the cat.default_copy_status_fast and
cat.default_copy_status_normal library settings as appropriate.
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Galen Charlton [Wed, 7 Oct 2015 20:01:18 +0000 (20:01 +0000)]
webstaff: add ability to edit copies to the record merge interface
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Galen Charlton [Wed, 7 Oct 2015 20:00:08 +0000 (20:00 +0000)]
webstaff: teach egVolumeList more tricks
The directive now accepts two new attributes:
* editVolumes - controls display of the 'Edit volumes' button
* editCopies - if true, adds a 'Edit volumes and copies button'
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Galen Charlton [Wed, 7 Oct 2015 19:27:02 +0000 (19:27 +0000)]
webstaff: require SSL for /eg/staff/
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Mike Rylander [Wed, 7 Oct 2015 19:08:56 +0000 (15:08 -0400)]
webstaff: force deletion of copies on "delete copies and volumes"
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Mike Rylander [Wed, 7 Oct 2015 18:58:59 +0000 (14:58 -0400)]
webstaff: Protect against loops before cloning copy/volume data
Also, set proper defaults on newly added copies
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Galen Charlton [Wed, 7 Oct 2015 18:36:13 +0000 (18:36 +0000)]
webstaff: fetch both staff_client and vandelay_queue record buckets
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Galen Charlton [Wed, 7 Oct 2015 17:49:19 +0000 (17:49 +0000)]
LP#
1503782: fix horizontal scrollbar in MARC import queue inspector
In the XUL client (and webstaff), attempting to view the contents
of a MARC record import queue displays a table that, due to
its width, will almost always have a horizontal scrollbar. However,
attempting to actually use the scrollbar often causes the
focus to jump to the top of the table instead. This patch
fixes that.
To test:
[1] Create a bib queue that has at least a dozen records or so.
[2] Inspect the contents of the queue, scroll to the bottom of
the table, and interact with the horizontal scrollbar.
[3] Observe that doing so typically results in jumping up
to the top of the table.
[4] Apply the patch, clear cache and refresh, and try step #2
again.
[5] This time, the horizontal scrollbar should act normally.
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Galen Charlton [Wed, 7 Oct 2015 15:38:46 +0000 (15:38 +0000)]
webstaff: mark some egEmbedFrame bindings as optional
This gets rid of some noise in the browser console.
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Galen Charlton [Wed, 7 Oct 2015 15:22:34 +0000 (15:22 +0000)]
webstaff: fetch MVR to help build record summary
Although this adds another OpenSRF request, using the
MVR rather than fleshing simple_record() gives us
two benefits:
* getting access to the edition
* fields like title and author are now displayed in
their proper case, rather than the normalized lowercase
supplied by simple_record().
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Galen Charlton [Wed, 7 Oct 2015 14:59:09 +0000 (14:59 +0000)]
webstaff: teach record summary how to display the bib call number
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Galen Charlton [Tue, 6 Oct 2015 18:26:30 +0000 (18:26 +0000)]
webstaff: teach side-by-side editing to the record merge interface
It is now possible to edit the lead record in place (in
flat editor mode).
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Galen Charlton [Tue, 6 Oct 2015 18:24:16 +0000 (18:24 +0000)]
webstaff: teach MARC editor some more tricks
[1] Now accepts a flat-only attribute specifying that
the editor should be restricted to flat mode.
[2] Now accepts an embedded attribute specifying that
various stuff that isn't useful when the editor
is embedded in another control should be ignored.
[3] The width of the flat editor's textarea is now
bounded by its container.
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Galen Charlton [Tue, 6 Oct 2015 17:30:10 +0000 (17:30 +0000)]
webstaff: display MARC records in merge interface in breaker format
Doing this will ease copy-and-paste between records.
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Galen Charlton [Tue, 6 Oct 2015 17:28:58 +0000 (17:28 +0000)]
webstaff: add egRecordBreaker directive
This directive takes a blob of MARCXML or a bib
record ID and renders the record in "breaker"
format.
Example usage:
<eg-record-breaker record-id="1234"></eg-record-breaker>
<eg-record-breaker marc-xml="xml"></eg-record-breaker>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Mike Rylander [Tue, 6 Oct 2015 17:56:45 +0000 (13:56 -0400)]
webstaff: Allow editing of empty volumes
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Galen Charlton [Tue, 6 Oct 2015 16:24:00 +0000 (16:24 +0000)]
webstaff: fix saving copy price in vol/copy editor
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Galen Charlton [Tue, 6 Oct 2015 14:12:43 +0000 (14:12 +0000)]
webstaff: unbreak tabs in volume/copy editor
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Galen Charlton [Mon, 5 Oct 2015 22:02:44 +0000 (22:02 +0000)]
webstaff: teach the merge record dialog how to edit volumes
This adds an "edit volumes" button under each record in the
merge records interface that opens a modal embedding the
volume editor.
The embedding is done via an iframe in lieu of splitting the
relevant bits of the volume/copy editor into an independent
service.
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Galen Charlton [Mon, 5 Oct 2015 22:00:57 +0000 (22:00 +0000)]
webstaff: teach volcopy editor how to be embeddable
The route /eg/staff/cat/volcopy/$key/embedded will
load the volume/copy editor in an embedded mode; specifically,
[1] the navbar and record summary will not be displayed
[2] "Save & Exit" becomes "Save changes"
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Galen Charlton [Mon, 5 Oct 2015 20:25:06 +0000 (20:25 +0000)]
webstaff: make record merge interface display volumes for all OUs
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Galen Charlton [Mon, 5 Oct 2015 20:24:43 +0000 (20:24 +0000)]
webstaff: add unit test for egOrg.root()
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Galen Charlton [Mon, 5 Oct 2015 20:21:23 +0000 (20:21 +0000)]
webstaff: add egOrg.root() method
Also, start adding some documentation for egOrg.
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Galen Charlton [Mon, 5 Oct 2015 19:01:30 +0000 (19:01 +0000)]
webstaff: go to lead record after merge from bucket
After a successful record merge initiated from a record
bucket, go to the lead record rather than refreshing
the bucket display.
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Galen Charlton [Fri, 2 Oct 2015 20:53:29 +0000 (20:53 +0000)]
webstaff: teach the record merge modal how to display volumes
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Galen Charlton [Fri, 2 Oct 2015 20:50:03 +0000 (20:50 +0000)]
webstaff: more changes to holdingsSvc
- convert holdingsSvc from a singleton to a provider
of holdings service instance objects
- adjust the catalog app accordingly
- add a new egVolumeList directive that displays
a list of volumes attached to a bib record, including
owning library, call number, and copies
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Galen Charlton [Fri, 2 Oct 2015 19:09:50 +0000 (19:09 +0000)]
webstaff: break holdingsSvc out of catalog/app.js
This will allow using its logic for constructing
volume/copy lists in other places.
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Galen Charlton [Fri, 2 Oct 2015 14:19:52 +0000 (14:19 +0000)]
webstaff: make overlay record modal wider
This patch defines a CSS class, eg-wide-modal, that can be
set as the windowClass of 'lg' Boostrap modals and increase
their width from a fixed width to 95% of the window.
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Galen Charlton [Thu, 1 Oct 2015 21:56:12 +0000 (21:56 +0000)]
webstaff: use tabset rather than accordion for bucket record merge modal
This stylistic change will pave the way towards
better side-by-side record management and editing in this
interface.
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Galen Charlton [Thu, 1 Oct 2015 20:31:08 +0000 (20:31 +0000)]
webstaff: move some "mark for" buttons to record summary
This patch moves the "Mark for..." overlay, volume transfer,
and conjoined items buttons from the MARC editor to
the record summary (next to the "Add To Bucket" button).
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Galen Charlton [Thu, 1 Oct 2015 19:24:57 +0000 (19:24 +0000)]
webstaff: add drop-down for item type Z39.50 search field
It should be noted that this works *only* for OCLC, as
not all targets support use attribute 1001, and the list
of values for that use attribute are target-defined.
A more general solution might be creating a new
config.z3950_attr_value_list table.
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Mike Rylander [Wed, 30 Sep 2015 19:45:17 +0000 (15:45 -0400)]
webstaff: Use record, not owning_lib, for the part record field. Doh.
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Galen Charlton [Tue, 29 Sep 2015 21:47:24 +0000 (21:47 +0000)]
webstaff: tweak labels of remove from bucket actions
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Galen Charlton [Tue, 29 Sep 2015 21:45:51 +0000 (21:45 +0000)]
webstaff: record buckets: implement show selected in catalog action
This replaces the show all in catalog action.
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Mike Rylander [Tue, 29 Sep 2015 18:14:04 +0000 (14:14 -0400)]
webstaff: Add a few important fields for the holdings view grid
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Mike Rylander [Tue, 29 Sep 2015 18:01:42 +0000 (14:01 -0400)]
webstaff: Make the last applied template sticky
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Mike Rylander [Tue, 29 Sep 2015 17:45:02 +0000 (13:45 -0400)]
webstaff: Improve combo box functionality
Clicking on down arrow shows all options (possibly following
filtered options)
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Mike Rylander [Tue, 29 Sep 2015 16:28:16 +0000 (12:28 -0400)]
webstaff: Normalize the type of values going into in-memory objects
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Galen Charlton [Tue, 29 Sep 2015 13:48:26 +0000 (13:48 +0000)]
webstaff: replace acn prefix()/suffix() with IDs only when needed
Fixes an issue that could break saving volumes.
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Galen Charlton [Mon, 28 Sep 2015 21:36:58 +0000 (21:36 +0000)]
webstaff: adjust URL when navigating catalog search results
Navigating from record to record after performing a catalog
search now sets the URL in the browser to /eg/staff/cat/catalog/record/{record_id}.
Clicking on the "Back To Results" button will set the URL
back to /eg/staff/cat/catalog/index.
This allows staff to copy and paste record URIs more conveniently.
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Galen Charlton [Mon, 28 Sep 2015 21:20:46 +0000 (21:20 +0000)]
webstaff: add angular-location-update dependency
This module adds a $location.update_path() routine to
allow changing the URL without forcing a controller reload.
This module is copyright (c) 2015 anglibs and released under
the MIT license and is taken from
https://github.com/anglibs/angular-location-update.
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Mike Rylander [Mon, 28 Sep 2015 16:41:13 +0000 (12:41 -0400)]
webstaff: fix issue loading egGrid config
Grid saveConfig can generate bad data (not sure how)
but we will avoid duplicates in loadConfig
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Mike Rylander [Mon, 28 Sep 2015 15:33:31 +0000 (11:33 -0400)]
webstaff: Add a Save & Exit shortcut to the copy attribute editing pane
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Mike Rylander [Mon, 28 Sep 2015 15:03:17 +0000 (11:03 -0400)]
webstaff: Avoid blowing away the volume value when there is no merge target
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Mike Rylander [Mon, 28 Sep 2015 15:02:44 +0000 (11:02 -0400)]
webstaff: Pass IDs instead of objects for prefix and suffix
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Mike Rylander [Mon, 28 Sep 2015 14:41:29 +0000 (10:41 -0400)]
webstaff: Special case for egOrgSelector value reading/writing in copy templates
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Galen Charlton [Thu, 24 Sep 2015 21:08:35 +0000 (21:08 +0000)]
webstaff: stylistic fix for MARC editor
Prevent record type display from overlapping the
bibliographic source selector.
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Galen Charlton [Thu, 24 Sep 2015 20:57:55 +0000 (20:57 +0000)]
webstaff: tweak MARC editor in "edit overlay record"
The save button is now labeled "Modify"
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Galen Charlton [Thu, 24 Sep 2015 20:52:50 +0000 (20:52 +0000)]
webstaff: give more feedback for Z39.50 edit-then-import
The "edit then import" modal now varies the label of the
MARC editor's save button based on whether one has yet
to import the current record or if one is just making
changes to it after having imported it. The dialog now
also has a button for going to the newly-imported record
in catalog view.
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Galen Charlton [Thu, 24 Sep 2015 20:07:56 +0000 (20:07 +0000)]
webstaff: provide feedback after record imported via Z39.50
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Galen Charlton [Thu, 24 Sep 2015 18:33:58 +0000 (18:33 +0000)]
webstaff: teach egConfirmDialog how to set custom labels for buttons
egConfirmDialog() now accepts optional fourth and fifth
arguments to set custom labels for the "OK" and "cancel"
buttons.
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Galen Charlton [Thu, 24 Sep 2015 15:47:07 +0000 (15:47 +0000)]
webstaff: fix deleting fields in MARC editor
When editing a record that has not yet been saved
to Evergreen (either because it is new or because it
is a record coming from a Z39.50 target), ensure that
the context menu 'delete field' operation works.
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Galen Charlton [Thu, 17 Sep 2015 22:45:36 +0000 (22:45 +0000)]
webstaff: make some MARC editor strings translateable
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Mike Rylander [Thu, 17 Sep 2015 22:11:11 +0000 (18:11 -0400)]
webstaff: Select on focus for tag, indicators, and sf codes
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Mike Rylander [Thu, 17 Sep 2015 21:19:50 +0000 (17:19 -0400)]
webstaff: Provide context menu options for adding and removing fields; TODO: i18n on strings
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Remington Steed [Fri, 9 Oct 2015 18:58:01 +0000 (14:58 -0400)]
Docs: Rename bullet images to fix epub build error
Signed-off-by: Remington Steed <rjs7@calvin.edu>
Remington Steed [Thu, 24 Sep 2015 15:09:33 +0000 (11:09 -0400)]
Release Notes: Move/copy relevant sections to Upgrade Notes
This commit moves two sections from "New Features -> Administration ->
Upgrade Notes" to the main level "Upgrade Notes" section, which had been
accidentally left empty and was causing AsciiDoc-to-ePub conversion
errors. This commit also copies two other sections to the main "Upgrade
Notes" section, since they contain information relevant to the upgrade
process.
Signed-off-by: Remington Steed <rjs7@calvin.edu>
Jason Stephenson [Fri, 2 Oct 2015 14:17:09 +0000 (10:17 -0400)]
LP
1502156: Fix marc_export error when dumping authorities.
There is a chance that marc_export will attempt to call a nonexistent
field on MARC::Record if an error occurs while exporting authority
records. The bug could only be triggered if a conversion error
occurred while exporting the authority as either MARCXML or USMARC.
The fix is to rename a couple of variables in the Marque::Authority->next
method to be more like those used in Marque::Biblio->next. This will have
the side effect of making marc_export easier to maintain, since the
variables used in one method will now have the same meaning as those
in the other.
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Remington Steed [Fri, 2 Oct 2015 13:41:39 +0000 (09:41 -0400)]
Docs 2.9: Add summary of Web Client changes
This commit adds the Web Client release notes summary to the appropriate
docs section. It also updates the wording and links regarding the
completed UI Style Guide internship.
Next we need to copy the Cataloging content into the web client section
and provide web client screenshots.
Signed-off-by: Remington Steed <rjs7@calvin.edu>
Dan Scott [Thu, 1 Oct 2015 20:13:45 +0000 (16:13 -0400)]
Doc build: update the implicit ID for release notes
The implicit ID for a given heading changes each release as we update
the release notes, so bump 2.8 to 2.9 so that the reference to the ID
can be resolved.
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Remington Steed [Thu, 17 Sep 2015 15:10:51 +0000 (11:10 -0400)]
Docs: Update release notes reference to 2.9
Signed-off-by: Remington Steed <rjs7@calvin.edu>
Dan Scott [Thu, 1 Oct 2015 20:16:27 +0000 (16:16 -0400)]
Doc build: use the implicit ID for lib settings editor
We no longer have an explicitly set ID for the library settings editor
section, so update references to use the implicit ID instead.
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Dan Scott [Thu, 1 Oct 2015 20:15:12 +0000 (16:15 -0400)]
Doc build: link to the right media file
The screenshot for the list of call numbers is a PNG image, not a JPEG
image, so referring to it with the appropriate extension will make it
show up in the docs and enable the epub and PDF builds to successfully
complete.
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Dan Scott [Thu, 1 Oct 2015 20:11:57 +0000 (16:11 -0400)]
Doc build: use XML-compliant IDs
Doc builds that depend on an intermediate XML transform (epub, PDF) also
need to use IDs that comply to the XML standard. In this case, numbers
are not valid NameStartChars:
http://www.w3.org/TR/REC-xml/#NT-NameStartChar
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Dan Scott [Thu, 1 Oct 2015 20:10:41 +0000 (16:10 -0400)]
Avoid duplicate IDs in doc build
Defining the same ID twice in the same document results in broken builds
that depend on an intermediate XML transform (epub, PDF), so redefine
the second ID in this document.
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Mike Rylander [Thu, 1 Oct 2015 18:50:44 +0000 (14:50 -0400)]
Stamping upgrade script and test file
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Bill Erickson [Tue, 29 Sep 2015 16:10:53 +0000 (12:10 -0400)]
LP#838525 libdbi DATE types translated via gmtime
libdbi assumes a date (w/ no time or timezone) is GMT. Parse the date
via gmtime() instead of localtime() to ensure the date returned to the
caller matches the date in the DB.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Bill Erickson [Wed, 30 Sep 2015 16:13:21 +0000 (12:13 -0400)]
LP#838525 DoB as date PGTAP test
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Bill Erickson [Tue, 29 Sep 2015 16:10:31 +0000 (12:10 -0400)]
LP#838525 Store date of birth as SQL DATE type
Upgrade script translates DoB ahead 3 hours before translating to DATE
(from TIMESTAMPTZ) to ensure dates stored in alternate daylight savings
TZ (e.g. -05 vs. -04) are translated to the proper date.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Kathy Lussier [Thu, 10 Sep 2015 18:28:57 +0000 (14:28 -0400)]
Docs: Documentation for negative balance work
Documentation for negative balance settings in 2.9. The updates in this branch
include:
* Updates of the circulation, patron record, and library settings sections
to reflect the new features contained in the negative balance work.
* General updates, consolidation, and re-organization of some components
of the billing section.
A new understanding and confiuring billing section is still to come, but this
branch brings existing documentaiton up to date.
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Josh Stompro [Sun, 20 Sep 2015 15:43:10 +0000 (10:43 -0500)]
LP#
1497318 - Acknowledgments update Adding Northwest Regional Library System to 2.8 and 2.9
and Matthew Berowski for typo fixes to 2.8 Release Notes.
Signed-off-by: Josh Stompro <stomproj@larl.org>
Jason Stephenson [Fri, 18 Sep 2015 15:06:07 +0000 (11:06 -0400)]
LP
1497307: Fix 2.8.4 to 2.9.0 upgrade script.
Chris Sharp noticed another ERROR: cannot ALTER TABLE
"record_attr_definition" because it has pending trigger events
with the 2.8.4 to 2.9.0 upgrade script. I have rearranged the
transactions so that there are now 3.
1. One for the initial inserts and other changes up to 0937.
2. One for the two alter table statements in 0937.
3. One for 0938 to the end (0944).
This resolves the issue and works for me on an upgrade from a
clean 2.8.4 installation.
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Kathy Lussier [Fri, 18 Sep 2015 14:06:31 +0000 (10:06 -0400)]
Docs: Restoring the acknowledgements template
Restoring the acknowledgements template back to **TO DO** so that we don't
mistakenly do acknowledgements for 2.9 contributions in 2.next.
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Jason Stephenson [Thu, 17 Sep 2015 19:12:40 +0000 (15:12 -0400)]
LP
1496977: Duplicate Code in OpenILS::Application::Cat::AssetCommon
It looks like two lines of code got duplicated in commit
e2f6cca0 in
AssetCommon. This duplication can lead to data loss for the function
update_fleshed_copies. It also lead to the following warning when
you use OpenILS::Application::Cat::AssetCommon in a script:
"my" variable $sc_entries masks earlier declaration in same scope at
/usr/local/share/perl/5.18.2/OpenILS/Application/Cat/AssetCommon.pm
line 371.
After this patch, the warning disappears.
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
Signed-off-by: Ben Shum <bshum@biblio.org>
Remington Steed [Thu, 17 Sep 2015 13:35:19 +0000 (09:35 -0400)]
Docs: Apache config includes examples for "no image"
This commit adds a note about the new commented config blocks in the
example Apache vhost file for providing a custom image for items with no
image. This commit also moves a related section into the "External
Content" section, so all external content info is together.
Signed-off-by: Remington Steed <rjs7@calvin.edu>
Mike Rylander [Thu, 17 Sep 2015 12:24:56 +0000 (08:24 -0400)]
LP#
1496837: Postgres fixed a bug and broke our test
So, we will unbreak it here. The PG fix in question can be seen here:
http://git.postgresql.org/gitweb/?p=postgresql.git;a=commitdiff;h=
c975fa4713c2325623d7bbfd81806327234281ac
Signed-off-by: Mike Rylander <mrylander@gmail.com>