Michael Peters [Mon, 3 Oct 2011 14:47:22 +0000 (10:47 -0400)]
Have TTPac utilize gradient friendly, transparent PNG files for the Evergreen logo
Signed-off-by: Michael Peters <mrpeters@library.in.gov>
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Dan Scott [Mon, 3 Oct 2011 02:59:28 +0000 (22:59 -0400)]
TPAC: Simple CSS gradients for the header/footer
Firefox, Safari, Chrome, Opera, and the Android browser support
gradients. Use them. iOS 5 will support gradients. IE does not,
naturally, but support is promised for IE 10.
Including better IE support.
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Dan Scott [Tue, 20 Sep 2011 13:20:06 +0000 (09:20 -0400)]
TPAC: Remove the printnav bar from all screens
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Dan Scott [Tue, 20 Sep 2011 13:19:41 +0000 (09:19 -0400)]
Revamp the search bar to a narrative, single-line style
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Dan Scott [Tue, 20 Sep 2011 03:09:51 +0000 (23:09 -0400)]
Add the remaining extras back to the record details
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Dan Scott [Tue, 20 Sep 2011 02:49:55 +0000 (22:49 -0400)]
TPAC: and then there were series
Also, tighten up spacing considerably.
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Dan Scott [Mon, 19 Sep 2011 23:55:08 +0000 (19:55 -0400)]
Move the copies up higher
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Dan Scott [Mon, 19 Sep 2011 23:43:28 +0000 (19:43 -0400)]
Remove "Expand all extras" as there are fewer extras to expand
Cleaner.
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Dan Scott [Mon, 19 Sep 2011 22:59:25 +0000 (18:59 -0400)]
Going for the Jungle skin feel (like Amazon)
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Bill Erickson [Fri, 30 Sep 2011 16:19:35 +0000 (12:19 -0400)]
TPac: propagate searches to advanced search page
The link that takes users to the advanced searc page now propagates
any existing (well, all) search URL params. The change required some
minor augmentation to the code that builds the advanced search form.
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Dan Scott [Fri, 30 Sep 2011 03:27:19 +0000 (23:27 -0400)]
LP740320: Make <enter> submit the new bookbag dialog
For the keyboard jockeys out there - if the enter key doesn't submit,
the UI reviewer will not commit.
Signed-off-by: Dan Scott <dscott@laurentian.ca>
James Fournie [Fri, 26 Aug 2011 16:23:53 +0000 (09:23 -0700)]
Initial dialog isn't quite wide enough, here's a hackish way to fix it
Signed-off-by: James Fournie <jfournie@sitka.bclibraries.ca>
Signed-off-by: Dan Scott <dscott@laurentian.ca>
James Fournie [Fri, 26 Aug 2011 16:19:14 +0000 (09:19 -0700)]
Should probably use a more common button rather than the one for the advanced search
Signed-off-by: James Fournie <jfournie@sitka.bclibraries.ca>
Signed-off-by: Dan Scott <dscott@laurentian.ca>
James Fournie [Fri, 26 Aug 2011 15:56:44 +0000 (08:56 -0700)]
This makes more sense as an alert; the Dojo dialog has no button which is not user-friendly.
Signed-off-by: James Fournie <jfournie@sitka.bclibraries.ca>
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Mike Rylander [Tue, 2 Aug 2011 16:42:53 +0000 (12:42 -0400)]
Markup-based dijit.Dialog implementation, inspired by and based on a patch from Joseph Lewis in https://bugs.launchpad.net/evergreen/+bug/787162
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Dan Scott [Fri, 30 Sep 2011 02:22:14 +0000 (22:22 -0400)]
i18n: Merge en-GB translation from Launchpad
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Dan Scott [Fri, 30 Sep 2011 02:14:50 +0000 (22:14 -0400)]
i18n: Merge en-CA translation from Launchpad
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Dan Scott [Fri, 30 Sep 2011 01:57:24 +0000 (21:57 -0400)]
i18n: Merge pt-BR translation from Launchpad
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Dan Scott [Fri, 30 Sep 2011 01:51:03 +0000 (21:51 -0400)]
i18n: Merge ru-RU translation from Launchpad
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Dan Scott [Thu, 29 Sep 2011 20:22:06 +0000 (16:22 -0400)]
i18n: Merge Armenian (hy-AM) translation from Launchpad
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Dan Scott [Thu, 29 Sep 2011 20:13:52 +0000 (16:13 -0400)]
i18n: Merge cs-CZ translation from Launchpad
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Dan Scott [Thu, 29 Sep 2011 19:51:22 +0000 (15:51 -0400)]
i18n: Merge es-ES translation from Launchpad
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Dan Scott [Thu, 29 Sep 2011 19:39:02 +0000 (15:39 -0400)]
i18n: Merge fr-CA translation from Launchpad
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Liam Whalen [Fri, 16 Sep 2011 12:52:08 +0000 (08:52 -0400)]
Modified spine_labels.js to retain UTF-8 encoding
Dan Wells posted a fix to the DEV list for receipt printing that allowed the
receipt printer to print UTF-8 characters. I used the ideas in that fix to
modify spine_labels.js. In spine_labels.js, the url passed to the preview in
preview_xul_192 was encoding the url with the javascript encode() function.
This function does not preserve UTF-8 encodings. I changed the function to
encodeURIComponent, and UTF-8 characters are now displayed properly by the
spine label printer code.
Signed-off-by: Liam Whalen <lwhalen@evergreen-dev.catalogue.nrcan.gc.ca>
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Bill Erickson [Thu, 29 Sep 2011 15:57:46 +0000 (11:57 -0400)]
Added missing Penalty module import for AssetCommon
The lack of import primarily affected the Action/Trigger MarkItemLost
reactor, which does not already import OpenILS::Utils::Penalty directly
or indirectly.
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Dan Scott [Thu, 29 Sep 2011 03:06:19 +0000 (23:06 -0400)]
Remove an installation step: Listen 443 uncommenting
Every distribution known to man ships Apache listening on port 443, so
installers always have to comment out the "Listen 443" directive - so
why not just comment it out ourselves and save a step in the
installation instructions?
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Bill Erickson [Wed, 28 Sep 2011 21:23:13 +0000 (17:23 -0400)]
TPac: move google analytics import to head
Google Analytics documention recommends loading the JS in the page
<head>.
http://www.google.com/support/googleanalytics/bin/answer.py?answer=174090
Use as directed by default.
Also, moved the JS loading chunk to its own template to ease override by
those who do not wish to use as directed.
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Michael Peters [Wed, 28 Sep 2011 13:09:33 +0000 (09:09 -0400)]
A slight modification to prevent clipping in the EDI Accounts interface
Just a few tweaks via CSS to make sure the footer notes don't clip off part of the main grid.
Signed-off-by: Michael Peters <mrpeters@library.in.gov>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Mike Rylander [Wed, 28 Sep 2011 19:45:36 +0000 (15:45 -0400)]
Provide proper hrefs for links back from report debugging pages
Reimplementation of a fix provided by Michael Peters. The originally submitted
patch included several fixes provided by an unrelated patch, and a regression
in build-time embedded tokens.
Original branch at: http://git.evergreen-ils.org/?p=working/Evergreen.git;a=shortlog;h=refs/heads/user/mrpeters-isl/clark_kent_back_links
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Dan Scott [Thu, 22 Sep 2011 16:51:22 +0000 (12:51 -0400)]
LP856567: Mark HTML report output as Unicode-encoded
Non-ASCII characters in report ouput that has been generated in HTML
format appears to be corrupted when viewed in a browser. This can be
manually corrected by switching the "Encoding" browser option, but it
would be better to include <meta charset='utf-8'> in the output HTML to
tell the browser directly.
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Dan Wells [Tue, 27 Sep 2011 16:22:38 +0000 (12:22 -0400)]
MFHD compression fails with pattern-less captions
The current code assumes that if you try to compress a range of
MFHD holdings, you actually have the necessary pattern information.
This commit introduces a very basic check to avoid the most common
failure case.
Signed-off-by: Dan Wells <dbw2@calvin.edu>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Mike Rylander [Tue, 27 Sep 2011 15:46:03 +0000 (11:46 -0400)]
Teach update_db.sh to find the currently installed version number via eg_config and supply that when applying updates
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Dan Scott [Fri, 23 Sep 2011 14:55:28 +0000 (10:55 -0400)]
LP857460: Get the generic class scheme when adding vols
In a default Evergreen instance, in the "Add Volumes" interface for a
bib record with both LC and Dewey call numbers, the list of call numbers
from which you can select appears to be limited to Dewey, even though
the "Bib Call #" field is populated with an LC call number.
The problem is that here we're grabbing the first entry from the
asset.call_number_classification table, and you might expect that to be
the "Generic" entry - however, it turns out to be the "Dewey" entry
because the entries are ordered alphabetically by .name(), not by
database ID. (You can test this be changing the name of "Dewey" to
"Vicious" and see that the "Generic" entry is chosen instead).
This commit changes the process to first search the acnc array for a
name() = "Generic"; and then if we don't find that, fall back to the
first entry in the classification scheme.
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
Bill Erickson [Mon, 26 Sep 2011 21:15:25 +0000 (17:15 -0400)]
Removed old vandelay config from sample apache config
Bye, bye xmlent
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Thomas Berezansky [Mon, 26 Sep 2011 14:04:35 +0000 (10:04 -0400)]
TPac: Respect OU opac_visible flags
Unless we appear to be in staff mode. Then continue to ignore them.
Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Thomas Berezansky [Sat, 24 Sep 2011 23:03:27 +0000 (19:03 -0400)]
TPac: Fix bolding of bad email/username
HTML filter the variable, not the entire language string.
Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Thomas Berezansky [Sat, 24 Sep 2011 18:55:18 +0000 (14:55 -0400)]
TPac: Hide CC Payment info when not enabled
Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Thomas Berezansky [Sat, 24 Sep 2011 18:23:00 +0000 (14:23 -0400)]
TPac Fixes - Missing Quotes
Start off real easy, add some missing quotes.
Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Dan Wells [Mon, 26 Sep 2011 18:29:30 +0000 (14:29 -0400)]
Merge branch 'master' of git.evergreen-ils.org:Evergreen
Dan Wells [Mon, 26 Sep 2011 18:23:31 +0000 (14:23 -0400)]
Stamping Upgrade Script for Suppress Transits
In addition to stamping, this commit also makes a few trivial
wording changes.
Signed-off-by: Dan Wells <dbw2@calvin.edu>
Jeff Godin [Wed, 14 Sep 2011 16:41:51 +0000 (12:41 -0400)]
Create git .mailmap file for Evergreen
This is an initial .mailmap file for Evergreen.
The .mailmap file is used by git-shortlog to "coalesce together
commits by the same person".
In the output of git-shortlog, this eliminates duplicate entries
such as the username@UUID entries from the svn to git migration.
Compare "git shortlog -nes" with and without this .mailmap
Signed-off-by: Jeff Godin <jgodin@tadl.org>
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Thomas Berezansky [Fri, 23 Sep 2011 23:30:20 +0000 (19:30 -0400)]
Unwrapped Suppress Transits upgrade script
Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
Thomas Berezansky [Wed, 14 Sep 2011 01:50:11 +0000 (21:50 -0400)]
Suppress Transits
Add two new OU settings:
circ.transit.suppress_hold
circ.transit.suppress_non_hold
If a transit would be generated between the current library and another and
the appropriate setting is set for both end with the same value the transit
will be suppressed. If either end is set to an empty string then transit
suppression will be disabled, even if both ends are set to an empty string.
In addition, transits from other locations will be received when their
destination shares suppression with the current library.
circ.transit.suppress_hold will cause holds to go to the hold shelf instead
of into transit when in effect. Non-hold transits should not check it. This
should be useful when multiple parts of a library share a hold shelf, but
are split on the org tree.
circ.transit.suppress_non_hold will cause items to reshelve instead of
going into transit. Hold transits should not check it. This should be
useful when multiple parts of a library are in the same building and have
no need to transit items before reshelving/cataloging.
In order to suppress *all* transits both settings need to be set.
Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
Dan Scott [Mon, 26 Sep 2011 17:34:00 +0000 (13:34 -0400)]
TPAC: Fix for staff UI with multiple MFHD records
XUL's JavaScript doesn't mind trailing commas on an array,
but really doesn't like an array in which the elements aren't separated
by commas :)
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Bill Erickson [Mon, 26 Sep 2011 16:56:17 +0000 (12:56 -0400)]
TPac: MFHD staff client actions integration
Populdate the necessary window.mfhdDetails data for the staff client and
fire the mfhdDrawn event
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Mike Rylander [Mon, 26 Sep 2011 16:18:03 +0000 (12:18 -0400)]
Stamping upgrade script for EDI cleanup
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Lebbeous Fogle-Weekley [Mon, 19 Sep 2011 17:19:22 +0000 (13:19 -0400)]
Some EDI translation fixes for troublesome input characters
This attempts to address enough of the issues in
https://bugs.launchpad.net/evergreen/+bug/812593 to move forward.
When the ? character appears in lineitem attributes for a PO that we
send off for EDI translation, the translator fails if that ? is the last
character of the string. This commit avoids that situation.
This commit also removes any Unicode characters from the JEDI (the input
to the translator process), as they're not going to make it to the
EDIFACT output anyhow, and will just confound the translator.
This commit also pre-escapes quotation marks in lineitem attributes so
that we don't produce invalid JSON for our JEDI.
This commit also destroys the death star.
Seriously, the right way to fix some of the issues people have had is
for somebody to learn Ruby and to address them either in edi_webrick.rb, in
edi4r, or in openils-mapper (wherever the issues may be). Working on
that.
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Bill Erickson [Wed, 14 Sep 2011 18:25:41 +0000 (14:25 -0400)]
TPac: Page through search results on details page
Consistent with jspac, when you land on a record details page and you
got there from doing a search, let the user page through the search
results directly on the record detail page.
This also includes the necessary JS callbacks to support paging in the
staff client.
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Jason Etheridge [Mon, 26 Sep 2011 15:04:12 +0000 (11:04 -0400)]
perl-parent prerequisite for RHEL. hope it's fine for centos :)
Signed-off-by: Jason Etheridge <jason@esilibrary.com>
Dan Scott [Mon, 19 Sep 2011 02:27:00 +0000 (22:27 -0400)]
TPAC: Add some style to MFHD holdings summaries
Simple grey background for the holdings summary header for each record;
add a TBODY element to the holdings table for validity; offset the MFHD
type by 1em to group entries under each holdings location.
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Dan Scott [Mon, 19 Sep 2011 01:12:23 +0000 (21:12 -0400)]
TPAC: Give MFHD summaries OU / depth awareness
Rather than returning all results and filtering on the client-side, as
we're currently doing in the JSPAC, teach the
open-ils.search.serial.record.bib.retrieve method to accept optional OU
& OU depth arguments and do the filtering in the query; cuts down on
network traffic and should be generally more efficient.
Note that in the absence of an explicit "depth" CGI param,
EGCatLoader/Record currently defaults to a depth of "0"; we could
teach it to look up & cache the depth of the "loc" param for the sake of
convenience & arguably more accuracy.
Also note that the sub/dist serial approach probably needs to be taught
similar method-side filtering, but I hope more knowledgeable brains will
work out what should happen with ssub.holding_lib / sdist.owning_lib.
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Dan Scott [Sun, 18 Sep 2011 05:37:37 +0000 (01:37 -0400)]
TPAC: tentative MFHD display steps
Retrieve and display MFHD records in the TPAC, piggybacking on the
"Issues" twisty section.
TODO: Take org_unit & depth into account when deciding which MFHD
records to display. Right now we're just showing all of them.
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Galen Charlton [Sun, 25 Sep 2011 20:55:38 +0000 (16:55 -0400)]
lp859190: make marc_stream_import always import non-matches
Fixes regression of (implicit, undocumented) functionality
introduced in commit
da3a45344205. Current use case for
the streaming MARC importer for OCLC Connexion exports assumes
that non-matching records should always be added.
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Jeff Godin [Wed, 21 Sep 2011 20:41:19 +0000 (16:41 -0400)]
Fix: Current Bills thinks it is Bill History
This fixes LP 855894: Bills interface calls itself Bill History,
uses bills_historical receipt template
https://bugs.launchpad.net/evergreen/+bug/855894
At some point in development, the Current Bills and the Bill History
interface were in a unified file, with an xul_param of "current" used
to switch between the two.
Nothing currently sets the xul_param "current", so the Current Bills
interface (bill2.xul and bill2.js) was improperly:
* not hiding the xact_finish column
* using a caption label of "Bill History"
* using the bills_historical receipt template
The Bill History interface was okay -- "not current" was the default.
This commit removes the tests for xul_param('current') and uses the
appropriate code for each interface.
// this code in both bill2.js and bill_history.js:
var template = 'bills_historical';
if (xul_param('current')) template = 'bills_current';
// becomes:
var template = 'bills_current'; // in bill2.js
var template = 'bills_historical'; // in bill_history.js
Also: added missing staff.patron.bill_interface.caption.label entity
Signed-off-by: Jeff Godin <jgodin@tadl.org>
Signed-off-by: Jason Etheridge <jason@esilibrary.com>
Jeff Godin [Tue, 20 Sep 2011 18:41:10 +0000 (14:41 -0400)]
Remove the old bills interface.
Remove the old bills interface and references to it.
see https://bugs.launchpad.net/evergreen/+bug/854951
Also remove the XUL_PATRON_BILL_ALTERNATE_VIEW constant and the
bills_main_view receipt template, as they were only referenced
in bills.js.
The bills_main_view template will still persist in existing
workstation configurations until such time as we have code to
remove unused templates.
I made no effort to remove strings which may have only been used
by the old bills interface.
Signed-off-by: Jeff Godin <jgodin@tadl.org>
Signed-off-by: Jason Etheridge <jason@esilibrary.com>
Bill Erickson [Thu, 22 Sep 2011 20:55:50 +0000 (16:55 -0400)]
TPac: repair IE check-all action on transaction list
IE does not respond to 'onchange' for checkboxes? Use onclick
instead...
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Thu, 22 Sep 2011 15:10:09 +0000 (11:10 -0400)]
Stamped upgrade script for ACQ fund view repairs
At the heart of this change is the need to force acq.fund_debit_total to
return exactly 1 row per fund, instead of 1 per fund + encumbrance
value. However, such a change required rearranging a number of
dependent views.
Also added acq.fund_spent_balance to the set of views that needs
dropping and re-building.
Minor SQL format change to match surrounding code in schema file
See also https://bugs.launchpad.net/evergreen/+bug/800477
Signed-off-by: Bill Erickson <berick@esilibrary.com>
James Fournie [Mon, 19 Sep 2011 23:01:01 +0000 (16:01 -0700)]
Addresses LP#800477 where some acq views calculate the totals incorrectly or in unexpected ways.
Signed-off-by: James Fournie <jfournie@sitka.bclibraries.ca>
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Jason Etheridge [Thu, 22 Sep 2011 14:57:47 +0000 (10:57 -0400)]
The tpac should be SSL inside the staff client
Signed-off-by: Jason Etheridge <jason@esilibrary.com>
Jason Etheridge [Thu, 22 Sep 2011 14:38:48 +0000 (10:38 -0400)]
Merge branch 'master' of git.evergreen-ils.org:Evergreen
Jason Etheridge [Thu, 22 Sep 2011 14:36:57 +0000 (10:36 -0400)]
Fix broken Work Log UI
Missed a map_row_to_columns when I was ripping those out in
c9c05ce8e179d7a9d4325ac1f429e91fcfe7c9a0
Signed-off-by: Jason Etheridge <jason@esilibrary.com>
Bill Erickson [Thu, 22 Sep 2011 14:27:11 +0000 (10:27 -0400)]
TPac: credit card payment bug fixes / cleanup
* Repaired bug with paying multiple transactions
* Replaced JS-based back/cancel navigation with a's
* Added some debug logging
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Thu, 22 Sep 2011 14:20:27 +0000 (10:20 -0400)]
Tpac: better param array detection in mkurl()
Avoid propagating empty arrays as "ARRAY(JUNK)"
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Dan Scott [Thu, 22 Sep 2011 05:11:06 +0000 (01:11 -0400)]
Password resets: avoid run-on subjects
The password reset template had a space on the first blank line after
the Subject: which lead to the first paragraph being tacked onto the
Subject line. Get rid of the space, and create an upgrade script ready
to roll.
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Bill Erickson [Tue, 20 Sep 2011 14:43:58 +0000 (10:43 -0400)]
TPac: password reset honors success/error style
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Bill Erickson [Mon, 19 Sep 2011 22:18:41 +0000 (18:18 -0400)]
TPac: integrated patron password reset
Port the existing password reset functionality into TPac. This allows
us to leverage the TPac innards for localization. It also means there's
one less moving part. (and, incidentally, no more dojo for the form).
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Bill Erickson [Fri, 16 Sep 2011 15:49:08 +0000 (11:49 -0400)]
Tpac: longer timeout for marc "expert" search
Since MARC searches can take a while, raise the default timeout from
1 minute to 2, with the option (at the API layer) of raising it to 5.
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Thomas Berezansky [Wed, 21 Sep 2011 17:25:38 +0000 (13:25 -0400)]
Add Toggle option to portal for TPac use
In testing I didn't have to restart the staff client, but as constants.js
is loaded pretty much everywhere I have no clue where the URL array may
be stale.
Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Thomas Berezansky [Wed, 21 Sep 2011 15:35:24 +0000 (11:35 -0400)]
Create preference for opac used in staff client
If enabled use the TPac. Otherwise JSPac.
Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Dan Scott [Thu, 22 Sep 2011 02:36:09 +0000 (22:36 -0400)]
TPAC: Make "Sort by" select box match style of search bar
The "Sort by" select box in search results had a native widget style,
compared to the search widget styles of the search bar. A simple CSS
tweak makes it consistent.
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Dan Scott [Thu, 22 Sep 2011 01:56:39 +0000 (21:56 -0400)]
Group "Sort by" and sort select box together
The sort select box was weirdly way over on the right. Fix that.
Also address slightly weird vertical alignment of some elements of the
results header bar.
Also use <label> to group the "sort by" with the select box; a bit
better for screen reasers.
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Jason Etheridge [Wed, 21 Sep 2011 15:47:36 +0000 (11:47 -0400)]
properties in chrome:// return XHR status 0
Signed-off-by: Jason Etheridge <jason@esilibrary.com>
Jason Etheridge [Wed, 21 Sep 2011 15:16:08 +0000 (11:16 -0400)]
bump xulrunner version
Signed-off-by: Jason Etheridge <jason@esilibrary.com>
Jason Etheridge [Tue, 20 Sep 2011 14:52:02 +0000 (10:52 -0400)]
LP#854760 messagecat fails with certain 404 pages
We were failing to check the HTTP status on the underlying XHR requests.
Signed-off-by: Jason Etheridge <jason@esilibrary.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Dan Scott [Sat, 17 Sep 2011 03:44:28 +0000 (23:44 -0400)]
Can't have two identical IDs on the same page
Nobody who cares about the pure Web experience ever noticed that this
page has two identical IDs. Chromium and other browsers complain,
though, so make them happy.
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Jason Etheridge [Tue, 30 Aug 2011 20:30:44 +0000 (16:30 -0400)]
fix Show in Catalog for part holds
Signed-off-by: Jason Etheridge <jason@esilibrary.com>
Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Jason Etheridge [Fri, 9 Sep 2011 20:09:33 +0000 (16:09 -0400)]
make it obvious that Request Type is required in Create Request dialog
Signed-off-by: Jason Etheridge <jason@esilibrary.com>
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Jason Etheridge [Thu, 28 Jul 2011 12:16:22 +0000 (08:16 -0400)]
acq user requests link from patron display
Signed-off-by: Jason Etheridge <jason@esilibrary.com>
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Jason Etheridge [Thu, 28 Jul 2011 11:53:56 +0000 (07:53 -0400)]
show acq user requests action from lineitems in lists
Signed-off-by: Jason Etheridge <jason@esilibrary.com>
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Jason Etheridge [Thu, 28 Jul 2011 11:27:45 +0000 (07:27 -0400)]
wire up Create Request action in acq user requests UI
Signed-off-by: Jason Etheridge <jason@esilibrary.com>
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Jason Etheridge [Tue, 26 Jul 2011 13:11:07 +0000 (09:11 -0400)]
context filters for acq user requests UI
Signed-off-by: Jason Etheridge <jason@esilibrary.com>
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Jason Etheridge [Tue, 26 Jul 2011 12:31:32 +0000 (08:31 -0400)]
copy/paste-o's, remove (near) duplicate code
Signed-off-by: Jason Etheridge <jason@esilibrary.com>
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Mike Rylander [Tue, 20 Sep 2011 14:55:55 +0000 (10:55 -0400)]
Do not overwrite controlmap entries, but extend them (Floating Subdivisions!)
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Bill Erickson [Thu, 25 Aug 2011 18:20:56 +0000 (14:20 -0400)]
Clear hold shelf [expire] time at checkout to alternate patron
When an item on the holds shelf is checked out to an alternate patron
(i.e. not the hold user), clear the shelf_time and shelf_expire_time
along with capture_time, current_copy, etc. on the hold.
tsbere++ for isolating the problem.
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Jason Etheridge <jason@esilibrary.com>
Lebbeous Fogle-Weekley [Mon, 19 Sep 2011 21:41:48 +0000 (17:41 -0400)]
Take care of some missed db upgrade script numbers
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Galen Charlton [Mon, 19 Sep 2011 18:07:22 +0000 (14:07 -0400)]
lp854084: fix catalog link in line item table when using TT-OPAC
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Dan Scott [Sat, 17 Sep 2011 03:45:53 +0000 (23:45 -0400)]
TPAC: Enable password resets - crude, for now
Use the existing crude password reset form to enable password resets.
Slightly longer term, we need to destroy the existing form and pull it
into TPAC proper (including such good stuff as real localization and
getting rid of Dojo / Dijit), but this works for now.
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Lebbeous Fogle-Weekley [Fri, 16 Sep 2011 23:13:12 +0000 (19:13 -0400)]
Staff saved searches when browsing catalog in staff client
By default, show a user's ten most recent searches to them on the left
side of the results and record details pages. Configurable by org unit
setting 'opac.staff_saved_searches.size'
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Lebbeous Fogle-Weekley [Wed, 3 Aug 2011 20:05:21 +0000 (16:05 -0400)]
It's a lineitem detail (copy) batch receiver
You can get to it via a button in the upper right-hand corner of
the view-invoice interface, assuming you're looking at an invoice that's
already been created/saved (and which has acqlid objects in a receivable
state), not one you're just now creating.
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Lebbeous Fogle-Weekley [Fri, 16 Sep 2011 22:31:56 +0000 (18:31 -0400)]
Bookbag enhancements in TTOPAC
Bookbags have descriptions now (and they're reflected in feeds).
Bookbag item notes are editable.
Bookbags can now be sorted by title or author using QP tricks.
You can export a bookbag as CSV.
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Dan Scott [Sat, 17 Sep 2011 02:16:19 +0000 (22:16 -0400)]
TPAC: PROCESS config.tt2 needed in results.tt2
If the values in config.tt2 are not available to the results page, then
all of them are false - so Google Analytics, Resolver, etc, won't work
in the results page.
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Bill Erickson [Wed, 6 Jul 2011 14:12:00 +0000 (10:12 -0400)]
Set refworks default org to match org tree root
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Bill Erickson [Fri, 16 Sep 2011 20:32:34 +0000 (16:32 -0400)]
TPac: clicking on open "extras" tab closes the tab
In record detail page, if a tab (e.g. Subjects) is open, clicking on the
tab header again will close the tab.
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Fri, 16 Sep 2011 18:00:32 +0000 (14:00 -0400)]
TPac: display table of contents on record details
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Mike Rylander [Fri, 16 Sep 2011 15:29:19 +0000 (11:29 -0400)]
Stamping db upgrade script for Fixed Field Cont/Conf typo/thinko
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Thomas Berezansky [Fri, 16 Sep 2011 14:45:38 +0000 (10:45 -0400)]
In-DB suffered from Cont/Conf issues as well
Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Thomas Berezansky [Fri, 16 Sep 2011 14:24:01 +0000 (10:24 -0400)]
Fix Fixed Fields Editor Conf and Cont
Conf was defined with Cont's fields
Cont was missing
Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Galen Charlton [Fri, 16 Sep 2011 14:23:32 +0000 (10:23 -0400)]
lp 851915: remove last references to /openils/lib/perl5
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Dan Scott [Fri, 16 Sep 2011 13:59:54 +0000 (09:59 -0400)]
LP 851915: Remove references to /openils/lib/perl5
To prevent old versions of the OpenSRF and Evergreen Perl modules from
conflicting with the new versions of these modules (which are now
located in the default system Perl package directories), remove
references to them.
Also, O:W:AddedContent contains an old reference to a distro-specific
Perl directory that we can clean up at the same time.
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Jason Etheridge [Thu, 15 Sep 2011 16:08:55 +0000 (12:08 -0400)]
pin down upgrade script version numbers