Bill Erickson [Tue, 5 Nov 2013 22:02:34 +0000 (17:02 -0500)]
ff ui / list columns in template
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Tue, 5 Nov 2013 16:08:19 +0000 (11:08 -0500)]
ff ui : move to all flattener; needs more testing
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Tue, 5 Nov 2013 16:08:03 +0000 (11:08 -0500)]
staff web : net log errors
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Mon, 4 Nov 2013 21:37:57 +0000 (16:37 -0500)]
ff ui : only show no-items message after initial query
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Mon, 4 Nov 2013 21:32:30 +0000 (16:32 -0500)]
ff ui : fetch pending holds via flattener
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Mon, 4 Nov 2013 21:32:11 +0000 (16:32 -0500)]
ff ui : IDL rhrr pcrud controller
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Mon, 4 Nov 2013 19:34:55 +0000 (14:34 -0500)]
ff ui / more list repairs
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Mon, 4 Nov 2013 19:12:24 +0000 (14:12 -0500)]
port list code to egList
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Mon, 4 Nov 2013 19:12:10 +0000 (14:12 -0500)]
web staff : list api cleanup
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Mon, 4 Nov 2013 18:49:49 +0000 (13:49 -0500)]
ff web / cleanup
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Mon, 4 Nov 2013 18:28:46 +0000 (13:28 -0500)]
web staff : support minify for net.js
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Mon, 4 Nov 2013 17:20:42 +0000 (12:20 -0500)]
ff ui / link to tpac; remove eg navbar
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Mon, 4 Nov 2013 16:08:17 +0000 (11:08 -0500)]
ff ui / css compensate for slightly wider banner image
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Mon, 4 Nov 2013 15:53:20 +0000 (10:53 -0500)]
ff ui / display more patron info
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Mon, 4 Nov 2013 15:44:49 +0000 (10:44 -0500)]
ff ui / style borrower/lender pills
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Mon, 4 Nov 2013 15:27:04 +0000 (10:27 -0500)]
ff ui / wording improvements and i18n; show circ patron info
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Mon, 4 Nov 2013 15:02:20 +0000 (10:02 -0500)]
ff ui : updating to latest template layout; extracting css
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Mon, 4 Nov 2013 14:41:12 +0000 (09:41 -0500)]
side-porting web staff base template
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Mon, 4 Nov 2013 14:36:32 +0000 (09:36 -0500)]
side-porting web staff template/sidebar improvements
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Mon, 4 Nov 2013 14:28:50 +0000 (09:28 -0500)]
side-porting latest UI services code from web staff project
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Tue, 29 Oct 2013 13:33:15 +0000 (09:33 -0400)]
ff ui : misc repairs
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Mon, 28 Oct 2013 21:26:03 +0000 (17:26 -0400)]
ff ui : on-shelf tab; push status tab right
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Mon, 28 Oct 2013 20:59:02 +0000 (16:59 -0400)]
ff ui : template i18n; cleanup
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Mon, 28 Oct 2013 20:33:10 +0000 (16:33 -0400)]
ff ui : code formatting improvements
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Mon, 28 Oct 2013 19:57:52 +0000 (15:57 -0400)]
ff and ui : fulfillment_admin perm; paging improvements
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Mon, 28 Oct 2013 18:11:39 +0000 (14:11 -0400)]
ff ui : orientation as url component
maintain our lender vs borrower filter orientation within the url so
that browser-back returns the user to the correct list of items. it
also helps simplify the code.
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Mon, 28 Oct 2013 17:40:22 +0000 (13:40 -0400)]
ff ui : repair some action click handlers
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Mon, 28 Oct 2013 17:15:57 +0000 (13:15 -0400)]
ff : better default sip name extraction (confirmed w/ koha)
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Mon, 28 Oct 2013 16:06:44 +0000 (12:06 -0400)]
ff : TPAC FF login
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Mon, 28 Oct 2013 14:13:08 +0000 (10:13 -0400)]
ff : tpac auth porting, part 1
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Mon, 28 Oct 2013 13:11:40 +0000 (09:11 -0400)]
ff staff web : generate org selector by perms
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Mon, 28 Oct 2013 13:10:32 +0000 (09:10 -0400)]
web staff : env supports ad-hoc loaders; more todo
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Sun, 27 Oct 2013 14:04:09 +0000 (10:04 -0400)]
web staff : added egUser.hasPermAt()
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Sat, 26 Oct 2013 22:26:50 +0000 (18:26 -0400)]
ff : ui log repair for circulating items
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Sat, 26 Oct 2013 22:22:52 +0000 (18:22 -0400)]
ff : staff UI record upload result msg
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Sat, 26 Oct 2013 22:22:34 +0000 (18:22 -0400)]
ff : copy-level remote_id field not currently present
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Fri, 25 Oct 2013 21:49:39 +0000 (17:49 -0400)]
ff : initial bib upload form
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Fri, 25 Oct 2013 20:23:03 +0000 (16:23 -0400)]
ff : staff web UI repairs
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Fri, 25 Oct 2013 20:22:46 +0000 (16:22 -0400)]
web staff : load egOrg service; we need that
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Fri, 25 Oct 2013 20:22:15 +0000 (16:22 -0400)]
ff : connector sanity check org id
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Fri, 25 Oct 2013 19:31:37 +0000 (15:31 -0400)]
ff : banner images
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Fri, 25 Oct 2013 14:23:16 +0000 (10:23 -0400)]
ff/angular UI initial import
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Fri, 25 Oct 2013 19:25:55 +0000 (15:25 -0400)]
Merge branch 'web-staff-client' into ff-as-eg-branch-ui
Bill Erickson [Fri, 25 Oct 2013 18:53:33 +0000 (14:53 -0400)]
ff : pulling connector mods from ff master
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Fri, 25 Oct 2013 18:51:01 +0000 (14:51 -0400)]
ff : default hold boundary
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Fri, 25 Oct 2013 18:24:49 +0000 (14:24 -0400)]
ff : initial EG perl diffs import
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Fri, 25 Oct 2013 17:29:14 +0000 (13:29 -0400)]
ff : IDL changes
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Fri, 25 Oct 2013 16:18:35 +0000 (12:18 -0400)]
ff : sql mods file repairs
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Fri, 25 Oct 2013 15:47:25 +0000 (11:47 -0400)]
FF : initial SQL mods file; needs testing
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Fri, 30 Aug 2013 20:21:05 +0000 (16:21 -0400)]
Make FF a child of Evergreen; experiment
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Fri, 25 Oct 2013 15:00:15 +0000 (11:00 -0400)]
web staff : remove debug log
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Fri, 25 Oct 2013 14:59:18 +0000 (10:59 -0400)]
web staff : add charset meta
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Fri, 25 Oct 2013 03:26:27 +0000 (23:26 -0400)]
web sfaff : improved apache rewrite handler
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Thu, 24 Oct 2013 20:39:04 +0000 (16:39 -0400)]
staff web : navbar docs repair
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Thu, 24 Oct 2013 19:04:38 +0000 (15:04 -0400)]
web staff : combine required services into a single egCoreMod module
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Thu, 24 Oct 2013 18:39:33 +0000 (14:39 -0400)]
Angular web staff - initial import
* TT-ifying the HTML files
* Initial Apache rewrite configuration to support routes
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Dan Scott [Thu, 24 Oct 2013 13:54:49 +0000 (09:54 -0400)]
RDA / TPAC: Add 264 for pubinfo graphic 880 lookups
Per https://bugs.launchpad.net/evergreen/+bug/
1243746 the publication
info in search results was coming up empty for RDA records because they
use 264 for publication info instead of 260.
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Signed-off-by: Ben Shum <bshum@biblio.org>
Remington Steed [Thu, 24 Oct 2013 12:40:05 +0000 (08:40 -0400)]
Docs 2.5: Fix floating groups heading level (2nd try)
The first attempt successfully pushed the Floating Groups chapter to
its proper place in the table of contents, but it also mistakenly pushed
many following chapters down one heading level. This commit follows the
approach already common in the root.txt file, and also undoes the
previous approach of shifting the heading level within the chapter file
itself. I suspect the previous approach only failed because it lacked a
blank line before the final 'leveloffset' command, but this new
approach is better because it is already in common use.
Signed-off-by: Remington Steed <rjs7@calvin.edu>
Remington Steed [Thu, 17 Oct 2013 16:07:03 +0000 (12:07 -0400)]
Serials Docs: Update for new features in 2.5
This commit adds a "Notes" section to the chapter on Receiving, including
a subsection on using the new "alerts" feature in the receiving interface.
It also adds a new screenshot for the "Notes" section and updates two
screenshots that have changed in 2.5. Finally, this commit updates the
Serials Copy Template doc to reflect the new 2.5 Floating Groups feature.
Signed-off-by: Remington Steed <rjs7@calvin.edu>
Remington Steed [Wed, 16 Oct 2013 20:13:50 +0000 (16:13 -0400)]
Serials Docs: Improve format, fix typos, and update
This commit makes several minor changes to the Serials doc files, mostly
changes in formatting or corrections of bugs/typos. This list covers
most of the changes:
- Add row on 'receiving' to Serials interfaces comparison table
- Improve formatting of actionable items (using bold and arrows),
e.g. Click on *First Menu* -> *Next Menu* -> *Last Menu*
- Standardize formatting of form field names (using italics)
- Improve unclear wording
- Correct an outdated description of copy template 'status' field
(changed before 2.3)
- Change heading level for a subsection
Signed-off-by: Remington Steed <rjs7@calvin.edu>
Remington Steed [Wed, 23 Oct 2013 13:54:00 +0000 (09:54 -0400)]
Docs 2.5: Fix floating groups heading level
The new Floating Groups docs are acting like a Docs Section rather than
a Docs Chapter. This commit should bump all the headings down one level
so they will take their appropriate place in the TOC.
Signed-off-by: Remington Steed <rjs7@calvin.edu>
Ben Ostrowsky [Tue, 15 Oct 2013 20:52:27 +0000 (16:52 -0400)]
LP#
1240207: Spellchecked the docs
Signed-off-by: Ben Ostrowsky <sylvar@gmail.com>
Signed-off-by: Remington Steed <rjs7@calvin.edu>
Dan Scott [Mon, 21 Oct 2013 15:12:06 +0000 (11:12 -0400)]
Fix "elfield" typo noted by Ben Ostrowsky
Per sylvar in IRC and in
https://bugs.launchpad.net/evergreen/+bug/
1240636, "elfield" should be
"selfield" (even though the code in question is currently inside an "#if
0" block and will never execute).
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Remington Steed [Wed, 16 Oct 2013 17:52:43 +0000 (13:52 -0400)]
Fixing little problems in Serials docs
A few title capitalization fixes. Also fix an AsciiDoc title underlining
bug (since the underline must be the same length as the title).
Signed-off-by: Remington Steed <rjs7@calvin.edu>
Kathy Lussier [Wed, 16 Oct 2013 21:04:11 +0000 (17:04 -0400)]
Release notes cleanup
General release notes clean-up including the following:
* Fixing typos and grammatical errors. Thank you to paxed and remingtron
for alerting me to some typos.
* Fixing up the section headers so that they don't go beyond 5 levels
deep. In some cases, this invovled reorganizing content. I didn't trim
content as suggested by dbwells, but there may be room for some more
trimming.
* Renaming some things to reflect the name that is used in the staff
client to make the release notes more accessible to the average user.
* Reorganizing some content in a logical order.
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Dan Wells [Tue, 15 Oct 2013 21:27:57 +0000 (17:27 -0400)]
Initial compilation of release notes for 2.5
This is a first real attempt at compiled release notes for 2.5.
A few things to note:
1) While content was moved around a little (New Features vs Upgrade
Notes), nothing was outright removed.
2) Some of the sections are indented using ':leveloffset:'. As a
result, some section headers end up being more than 5 levels deep, and
therefore do not display when generating (for example) HTML. I think
(in most cases) we want to trim these parts out of this 'release notes'
file and put the offending sections in the actual documentation for
the feature, so I am leaving it as-is for now.
To easily see these too-deep sections, you can run:
asciidoc -a toc -a numbered RELEASE_NOTES_2_5.txt
and look at the warnings.
I have also not yet cleared out the RELEASE_NOTES_NEXT folder, as I
want to ask some of the docs folks first before I do so.
Signed-off-by: Dan Wells <dbw2@calvin.edu>
Galen Charlton [Mon, 14 Oct 2013 16:21:58 +0000 (09:21 -0700)]
LP#
1086458: remove unecessary anonymous hashes when calling xulG.set_tab()
This follows up on observations made by Steven Chan that
suggests that even the act of creating an anonymous hash and
passing it to a global function can cause (I assume) JavaScript
execution contexts to be leaked.
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
Galen Charlton [Mon, 14 Oct 2013 15:47:49 +0000 (08:47 -0700)]
LP#
1086458: invoke new 'refresh_checkout' event
This implements using the new custom event rather than
xulG.set_tab() to refresh a refresh of the checkout tab. It
also removes use of a callback function to request the tab
refresh in favor of a simple setTimeout().
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
Galen Charlton [Thu, 26 Sep 2013 20:05:26 +0000 (13:05 -0700)]
LP#
1086458: define custom event for refreshing the checkout page
Using a custom event handled by a chrome event handler rather
than calling xulG.set_tab() directly avoids any possibility of
leaking objects and executation contexts from the code that's
requesting refresh of the checkout page.
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
Galen Charlton [Mon, 14 Oct 2013 15:23:23 +0000 (08:23 -0700)]
LP#
1086458: convert last-print information hash to JSON string before caching
By serializing the printing message and context information to a
JSON string before caching it, we avoid inadvertantly dragging in
things like Javascript execution contexts and possibly references
to objects created by the checkout interface. This was contributing
to the staff client memory leaks observed during receipt printing.
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
Dan Wells [Mon, 14 Oct 2013 20:07:17 +0000 (16:07 -0400)]
Fix typo in acq code to allow quick PO creation
When using 'Actions for this Record'->'View/Place Orders', the
'Create Purchase Order' button dies due to an undefined variable,
'filter'.
Looking at the commit which caused the problem, it seems like this
variable should have been 'state'. Simple testing bears this out.
Original change was part of:
LP1193095 lineitem batch actions sanity filters
Signed-off-by: Dan Wells <dbw2@calvin.edu>
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Dan Wells [Tue, 15 Oct 2013 13:33:46 +0000 (09:33 -0400)]
Serial alert notes missing commit
These changes were somehow lost during the hacking on this feature
at the Hack-a-Way. The translation string is nice, but the changes
to notes.xul are necessary for being able to create notes.
Signed-off-by: Dan Wells <dbw2@calvin.edu>
Signed-off-by: Remington Steed <rjs7@calvin.edu>
Dan Scott [Tue, 15 Oct 2013 03:09:54 +0000 (23:09 -0400)]
Fix TPAC account preferences
Clean up a few problems in the TPAC "My Account" preferences area:
1. Add a missing </form> closing element, which was preventing any
submitted changes from actually being posted to the correct URL
(thus preventing most account preference changes such as
notifications).
2. Remove trailing semicolon from several generated <option> elements
for cleaner HTML.
3. Make the aria-label for the element translatable.
As we're touching a majority of the lines in the section and the lines
do not follow normal whitespace standards (mixed tabs, inconsistent
indentation, etc), clean up the whitespace.
Also turn one HTML comment into a Template::Toolkit comment.
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
Chris Sharp [Tue, 15 Oct 2013 13:01:57 +0000 (09:01 -0400)]
Fixing typo in the crontab.example file
I'm assuming here that the intention was to set the purge_pending_users.srfsh
job to run at 2:30 a.m., but it was set to run at 30:02 - obviously an invalid
time.
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Dan Wells [Mon, 14 Oct 2013 23:28:11 +0000 (19:28 -0400)]
Translation updates - newpot
Signed-off-by: Dan Wells <dbw2@calvin.edu>
Dan Wells [Mon, 14 Oct 2013 23:19:31 +0000 (19:19 -0400)]
Translation updates - po files
Signed-off-by: Dan Wells <dbw2@calvin.edu>
Pasi Kallinen [Tue, 1 Oct 2013 17:24:25 +0000 (20:24 +0300)]
Finnish translation update.
Add the Finnish translation files for FlattenerGrid and PCrudFilterPane.
Signed-off-by: Pasi Kallinen <pasi.kallinen@pttk.fi>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
Dan Wells [Mon, 14 Oct 2013 19:24:39 +0000 (15:24 -0400)]
Fix integrated subscription editor record field
When trying to edit a subscription using the new 'integrated' editor,
it foolishly tries to populate an unfiltered bre dropdown selector.
This works OK in test environments, but (as expected) fails miserably
with production-size data sets.
The end result is that the dropdown either never populates, or takes
a really long time. If the user saves before the dropdown loads, the
associated record ID is lost, and the subscription is no longer
properly associated with the record.
To fix this, simply turn the dropdown into a disabled text input
instead, as the ability to edit this field would generally be more
harmful than it is necessary.
Signed-off-by: Dan Wells <dbw2@calvin.edu>
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Dan Wells [Fri, 4 Oct 2013 15:34:04 +0000 (11:34 -0400)]
TPAC: Remove needless divs from results header bar
In the current state of the TPAC, these "div"ider elements were
completely invisible, yet nobody seemed to miss them. It wasn't
altogether clear what the divisions meant anyway, so rather than fix
them, let's just trim them out for now.
Also, get rid of a useless clearing div while we are at it. I could
not detect a valuable display difference in current Chrome, Firefox,
or IE9.
Signed-off-by: Dan Wells <dbw2@calvin.edu>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
Dan Wells [Fri, 4 Oct 2013 15:23:13 +0000 (11:23 -0400)]
TPAC: Redo some margins/padding for better collapse behavior
In the "results header", we have both buttons and form elements. In
order to have these elements collapse in an orderly fashion, they need
to be exactly the same size. To accomplish this, let's simplify and
redo a few of the element margins and padding.
At the very least, this will make the elements line up better
vertically when viewed at the normal screen width.
Signed-off-by: Dan Wells <dbw2@calvin.edu>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
Ben Shum [Wed, 9 Oct 2013 18:54:28 +0000 (14:54 -0400)]
Use libnet-z3950-simpleserver-perl package
Instead of building from source, there is a package available now for
Debian Wheezy and Ubuntu Precise. Let's use that instead!
Signed-off-by: Ben Shum <bshum@biblio.org>
Signed-off-by: Jason Etheridge <jason@esilibrary.com>
Bill Erickson [Wed, 4 Sep 2013 18:55:57 +0000 (14:55 -0400)]
Vandelay copy overlay call number merge
When overlaying a copy, if the copy brings with it a new call number
which collides with an existing call number AND said copy is the only
copy linked to its (old) call number, merge the copy's (old) call
number into the (new) existing call number, i.e. the one we collided
with.
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
Bill Erickson [Wed, 18 Sep 2013 19:38:08 +0000 (15:38 -0400)]
ACQ general search sort funds; display year
* Display fiscal year next to fund code in the search fund selector.
* Sort by newest fiscal year first, followed by code
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
Dan Wells [Thu, 10 Oct 2013 21:15:12 +0000 (17:15 -0400)]
Stamping 0844: better MODS for browse, etc.
Signed-off-by: Dan Wells <dbw2@calvin.edu>
Dan Wells [Wed, 9 Oct 2013 17:53:35 +0000 (13:53 -0400)]
Add new functions and optional reingest to upgrade
Add improved functions and optional browse only reingest to the
upgrade script.
Signed-off-by: Dan Wells <dbw2@calvin.edu>
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Dan Wells [Wed, 9 Oct 2013 17:46:55 +0000 (13:46 -0400)]
Don't index browse extracts as search terms unless needed
In previous releases, we didn't have any major config.metabib_field
rows which had 'browse_field = true' but 'search_field = false'. Now
that we have one (for title browse), make sure we honor the
'search_field = false' by not creating rows in the
metabib.xxxxxx_field_entry tables.
This gets us back to where we started as far as what gets into the
search index tables, but we should consider going a step further and
*not* adding the glommed row to the search tables if we are already
adding separate rows for search+browse.
Signed-off-by: Dan Wells <dbw2@calvin.edu>
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Dan Wells [Mon, 7 Oct 2013 21:55:58 +0000 (17:55 -0400)]
Upgrade script for better MODS browse and Name Subject facets
This upgrade covers the three previous commits:
* Add new MODS <titleBrowse> to the default config
* Tweak MODS32 stylesheet for titles
* Fix LP1118245: Name Subject facet ordering change
Since these all deal with the in-db MODS xsl, it made sense to lump
the upgrades together.
NOTE: We are purposely ignoring similar changes to MODS33, pending
a discussion of how best to handle EG specific MODS changes overall.
Signed-off-by: Dan Wells <dbw2@calvin.edu>
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Dan Wells [Mon, 7 Oct 2013 21:47:25 +0000 (17:47 -0400)]
Add new MODS <titleBrowse> to the default config
Now that we have a field which will both display and sort how we
want it, use it.
Also, remove the browse info from the 'Title Proper' row (id = 6).
Signed-off-by: Dan Wells <dbw2@calvin.edu>
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Dan Wells [Mon, 7 Oct 2013 21:22:42 +0000 (17:22 -0400)]
Tweak MODS32 stylesheet for titles
<titleNonfiling> was added to help certain search cases, but trailing
punctuation makes it unsuitable for display. <titleInfo>, on the other
hand, chops all trailing punctuation out, which helps the trailing case
but actually makes display of subtitle information worse. Let's split
the difference and simplify at the same time by building the whole
title, then trimming extra punctuation.
While the above was done to help in browse display, it turns out that
<titleNonfiling> is not able to generate correct browse data. We want
the display as corrected above, but we also need to preserve the
<nonSort> tag for proper browse sorting.
Rather than complicate the metabib logic, we'll add another special-
purpose field to the MODS called <titleBrowse>. This field is a hybrid
of <titleInfo> and <titleNonfiling>, which will give us a preformatted
string (for preserving needed punctuation) but also keep the <nonSort>
stuff in a separate field (for sorting).
NOTE: We are purposely ignoring similar changes to MODS33, pending
a discussion of how best to handle EG specific MODS changes overall.
Signed-off-by: Dan Wells <dbw2@calvin.edu>
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Pasi Kallinen [Mon, 24 Jun 2013 16:59:58 +0000 (19:59 +0300)]
Fix LP1118245: Name Subject facet ordering change
Where Name Subject facet shows subfields in order "cad" and Personal
Author shows subfields in order "acd". This change makes the Name
Subject show the subfields in the same order as in record view and the
Personal Author facet.
Signed-off-by: Pasi Kallinen <pasi.kallinen@pttk.fi>
NOTE: We are purposely ignoring similar changes to MODS33, pending
a discussion of how best to handle EG specific MODS changes overall.
Signed-off-by: Dan Wells <dbw2@calvin.edu>
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Dan Wells [Thu, 10 Oct 2013 19:54:40 +0000 (15:54 -0400)]
Adding 0842, 0843 to help with 0841 deficiencies
A clean backport of 0841 was not possible due to partial schema
differences in the upgrade. While we may have planned ahead better,
add 0842 just for 2_3 upgraders which ends up being a no-op for
2_4, and adds ON UPDATE CASCADE for 2_5.
Also, for similar but additional reasons, add 0843, which serves two
purposes:
1) add ON UPDATE CASCADE to the rest for those upgrading 2_5/master
2) alter config.z3950_index_field_map for those upgrading from 2_4
and previous (other lines are no-ops in this case)
Signed-off-by: Dan Wells <dbw2@calvin.edu>
Signed-off-by: Remington Steed <rjs7@calvin.edu>
Jason Etheridge [Thu, 22 Aug 2013 16:48:53 +0000 (12:48 -0400)]
Add a TestUtils library for live tests
Package commonly used live test calls in a new Perl module to they can
be shared by different test scripts.
Based it off of Cronscript. Added a cache method to Cronscript for getting at
memcached. TestUtils currently has methods for checkin, checkout, and
workstation registration.
Ported existing live tests to use TestUtils.
Signed-off-by: Jason Etheridge <jason@esilibrary.com>
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Jason Etheridge [Fri, 2 Aug 2013 19:25:58 +0000 (15:25 -0400)]
test bill payment
./05-pay_bills.t ..................
1..10
# Test bill payment against the admin user.
ok 1 - open-ils.storage.direct.actor.user.retrieve returned aou object
ok 2 - User with id = 1 is admin user
# authtime is 7200, authtoken is
b039320a72bbd06c30f0918d1aeeb07a
ok 3 - Have an authtoken
ok 4 - Registered a new workstation
# authtime is 7200, authtoken is
b039320a72bbd06c30f0918d1aeeb07a
ok 5 - Have an authtoken associated with the workstation
ok 6 - Two billable xacts for admin user from previous tests
ok 7 - Both transactions combined have a balance owed of 1.25
ok 8 - Payment attempt returned HASH
ok 9 - Payment response included two payment ids
ok 10 - Zero billable xacts for admin user after payment
ok
Signed-off-by: Jason Etheridge <jason@esilibrary.com>
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Jason Etheridge [Wed, 17 Jul 2013 21:55:07 +0000 (17:55 -0400)]
tests against stock test data and live Evergreen
I'm running these on a machine where Evergreen has been installed with the stock
test data. Repeat invocations of the tests will cause test failures, as they
don't completely cleanup after themselves (the goal long-term is to rely on
complete database wipes between invocations).
Manual cleanup right now could include doing the following in psql:
DELETE FROM actor.workstation WHERE name ~ '.t$';
and paying the bills on the admin user (otherwise, once a Max Fines penalty is
generated, checkout tests will fail).
opensrf@dev141:~/git/Evergreen/Open-ILS/src/perlmods (livetests)$ make livecheck 2> /dev/null
perl Build.PL --destdir || make -s build-perl-fail
Creating new 'MYMETA.yml' with configuration results
Creating new 'Build' script for 'OpenILS' version '2.4'
./Build test --test_files live_t || make -s build-perl-fail
live_t/00-simple.t ..................... ok
live_t/01-auth.t ....................... ok
live_t/02-simple_circ.t ................ ok
live_t/03-overdue_circ.t ............... ok
live_t/04-overdue_with_closed_dates.t .. ok
All tests successful.
Files=5, Tests=62, 11 wallclock secs ( 0.25 usr 0.16 sys + 3.52 cusr 0.63 csys = 4.56 CPU)
Result: PASS
and
opensrf@dev141:~/git/Evergreen/Open-ILS/src/perlmods (livetests)$ prove -v live_t/
live_t/00-simple.t .....................
1..2
# Simple tests against the open-ils.storage service and the stock test data.
ok 1 - open-ils.storage.direct.actor.user.retrieve returned aou object
ok 2 - User with id = 1 is admin user
ok
live_t/01-auth.t .......................
1..4
# Simple tests against the open-ils.auth service, memcached, and the stock test data.
# authtime is 7200, authtoken is
a3f2d06775fb670284450ad1f1d6ea00
ok 1 - Have an authtoken
ok 2 - Default authtime for staff login is 7200 seconds
ok 3 - Can retrieve authtoken from memcached
ok 4 - Authtoken is removed from memcached after logout
ok
live_t/02-simple_circ.t ................
1..14
# Test circulation of item CONC70000345 against the admin user.
ok 1 - open-ils.storage.direct.actor.user.retrieve returned aou object
ok 2 - User with id = 1 is admin user
ok 3 - open-ils.storage.direct.asset.copy.retrieve returned acp object
ok 4 - Item with id = 310 has barcode CONC70000345
ok 5 - Item with id = 310 has status of Reshelving or Available
# authtime is 7200, authtoken is
f7c9ae35165ec74ab5e8ce5b84673da8
ok 6 - Have an authtoken
ok 7 - Registered a new workstation
# authtime is 7200, authtoken is
f7c9ae35165ec74ab5e8ce5b84673da8
ok 8 - Have an authtoken associated with the workstation
ok 9 - Checkout request returned a HASH
ok 10 - Checkout returned a SUCCESS event
ok 11 - Item with id = 310 has status of Checked Out after fresh Storage request
ok 12 - Checkin request returned a HASH
ok 13 - Checkin returned a SUCCESS event
ok 14 - Item with id = 310 has status of Reshelving or Available after fresh Storage request
ok
live_t/03-overdue_circ.t ...............
1..20
# Test fine generation on checkin against the admin user.
ok 1 - open-ils.storage.direct.actor.user.retrieve returned aou object
ok 2 - User with id = 1 is admin user
ok 3 - open-ils.storage.direct.asset.copy.retrieve returned acp object
ok 4 - Item with id = 810 has barcode CONC71000345
ok 5 - Item with id = 810 has status of Reshelving or Available
# authtime is 7200, authtoken is
5ab4ae5b9a09c7fd04b4eb0dabf19da5
ok 6 - Have an authtoken
ok 7 - Registered a new workstation
# authtime is 7200, authtoken is
5ab4ae5b9a09c7fd04b4eb0dabf19da5
ok 8 - Have an authtoken associated with the workstation
ok 9 - Checkout request returned a HASH
ok 10 - Checkout returned a SUCCESS event
ok 11 - Checkout response object has payload object
ok 12 - Payload object has circ object
ok 13 - Circ objection has loan duration of "7 days"
ok 14 - Item with id = 810 has status of Checked Out after fresh Storage request
ok 15 - Zero bills associated with circulation
ok 16 - rewrote circ to have happened 20 days ago
ok 17 - Checkin request returned a HASH
ok 18 - Checkin returned a SUCCESS event
ok 19 - Item with id = 810 has status of Reshelving or Available after fresh Storage request
ok 20 - Thirteen bills associated with circulation
ok
live_t/04-overdue_with_closed_dates.t ..
1..22
# Test fine generation with closed date on checkin against the admin user.
ok 1 - open-ils.storage.direct.actor.user.retrieve returned aou object
ok 2 - User with id = 1 is admin user
ok 3 - open-ils.storage.direct.asset.copy.retrieve returned acp object
ok 4 - Item with id = 1310 has barcode CONC72000345
ok 5 - Item with id = 1310 has status of Reshelving or Available
# authtime is 7200, authtoken is
dd4b533f677dd5ec6d177312eca2e86b
ok 6 - Have an authtoken
ok 7 - Registered a new workstation
# authtime is 7200, authtoken is
dd4b533f677dd5ec6d177312eca2e86b
ok 8 - Have an authtoken associated with the workstation
ok 9 - Created a closed date for 10 days ago
ok 10 - Checkout request returned a HASH
ok 11 - Checkout returned a SUCCESS event
ok 12 - Checkout response object has payload object
ok 13 - Payload object has circ object
ok 14 - Circ objection has loan duration of "7 days"
ok 15 - Item with id = 1310 has status of Checked Out after fresh Storage request
ok 16 - Zero bills associated with circulation
ok 17 - rewrote circ to have happened 20 days ago
ok 18 - Checkin request returned a HASH
ok 19 - Checkin returned a SUCCESS event
ok 20 - Item with id = 1310 has status of Reshelving or Available after fresh Storage request
ok 21 - Twelve bills associated with circulation (instead of 13, thanks to closed date)
ok 22 - Removed closed date
ok
All tests successful.
Files=5, Tests=62, 10 wallclock secs ( 0.06 usr 0.04 sys + 3.29 cusr 0.50 csys = 3.89 CPU)
Result: PASS
Signed-off-by: Jason Etheridge <jason@esilibrary.com>
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Dan Wells [Thu, 10 Oct 2013 17:32:41 +0000 (13:32 -0400)]
Stamping 0841: make space in config.metabib_field sequence
Signed-off-by: Dan Wells <dbw2@calvin.edu>
Dan Wells [Wed, 9 Oct 2013 13:38:21 +0000 (09:38 -0400)]
Upgrade script for config.metabib_field sequence redo
[LFW: s/DROP FUNCTION/DROP FUNCTION IF EXISTS/]
Signed-off-by: Dan Wells <dbw2@calvin.edu>
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Dan Wells [Wed, 9 Oct 2013 13:29:01 +0000 (09:29 -0400)]
Make some FK constraints on config.metabib_field.id deferrable
Signed-off-by: Dan Wells <dbw2@calvin.edu>
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Robert Soulliere [Thu, 10 Oct 2013 14:44:47 +0000 (10:44 -0400)]
Documentation: Update EG upgrade instructions to 2.5 beta1
Also added Debian Wheezy references and updated links.
Signed-off-by: Robert Soulliere <robert.soulliere@mohawkcollege.ca>
Elliot V [Thu, 10 Oct 2013 14:03:13 +0000 (10:03 -0400)]
Documentation: Update links in installation instructions.
Addresses these bugs reported in launchpad:
https://bugs.launchpad.net/evergreen/+bug/
1237781
https://bugs.launchpad.net/evergreen/+bug/
1237785
Signed-off-by: Robert Soulliere <robert.soulliere@mohawkcollege.ca>
Jason Stephenson [Thu, 9 May 2013 19:33:04 +0000 (15:33 -0400)]
Set config.metabib_field_id_seq to 1000 in 950.data.seed-values.sql.
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
Boosted to 1000 as suggested by Dan Scott and seconded by Bill
Erickson.
Signed-off-by: Dan Wells <dbw2@calvin.edu>