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>
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>
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.
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>
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>
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>
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>
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>
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.
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>
Move all COUST seed values to the same insert statement in 950.data.seed-values.sql
Make data upgrade file do *all* the changes that happen in the seed values
Add groups to some of the new settings since Joseph looked at the list
Make history view escape &, <, and > before showing values to prevent HTML from being parsed
Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Jason Etheridge <jason@esilibrary.com>
Mike Rylander [Wed, 7 Sep 2011 18:27:05 +0000 (14:27 -0400)]
Cleanup, yay! Give YAOUS logging table a surrogate pkey and upgrade script; clean up some typos; position the existing upgrade script correctly
Signed-off-by: Mike Rylander <mrylander@gmail.com> Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Jason Etheridge <jason@esilibrary.com>
Joseph Lewis [Thu, 7 Jul 2011 19:21:53 +0000 (13:21 -0600)]
Added the following features/imporovements suggested by the community:
* Sort history by date descending.
* Add revert button to history.
* Search after pause.
* Dynamically adjust amount of time message is shown by its length.
* Fix a bug about things not being shown in history after delete.
* Fix a problem with user not being shown change if they make a change in a
context that isn't currently shown.
* Do i18n on everything.
Signed-off-by: Joseph Lewis <joehms22@gmail.com> Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Jason Etheridge <jason@esilibrary.com>
Joseph Lewis [Mon, 20 Jun 2011 19:36:25 +0000 (13:36 -0600)]
Fixed my database errors (although some still exist, I can't tell if they
are mine or not, I'm going to test the master and see if they exist there...)
Signed-off-by: Joseph Lewis <joehms22@gmail.com> Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Jason Etheridge <jason@esilibrary.com>
Joseph Lewis [Fri, 17 Jun 2011 21:05:51 +0000 (15:05 -0600)]
Cleaned up so it shouldn't ruin the database creation (hopefully).
Signed-off-by: Joseph Lewis <joehms22@gmail.com> Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Jason Etheridge <jason@esilibrary.com>
Joseph Lewis [Wed, 15 Jun 2011 19:28:26 +0000 (13:28 -0600)]
Fixed the non i18n settings for oust.
Signed-off-by: Joseph Lewis <joehms22@gmail.com> Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Jason Etheridge <jason@esilibrary.com>
Joseph Lewis [Wed, 15 Jun 2011 17:46:33 +0000 (11:46 -0600)]
Got rid of old bug (pre me) that existed when an autowidget was used then
canceled and the next setting wasn't an autowidget. The autowidget would
continue to appear because it was never destroyed.
Signed-off-by: Joseph Lewis <joehms22@gmail.com> Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Jason Etheridge <jason@esilibrary.com>
Joseph Lewis [Wed, 15 Jun 2011 17:03:14 +0000 (11:03 -0600)]
Changed text in seed values to reflect addition of groups, added an update
script for groups, fixed org_unit_settings.js so the dojo grid would correctly
alphabetize with the additon of groups and the removal of groups from the
labels themselves.
Signed-off-by: Joseph Lewis <joehms22@gmail.com> Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Jason Etheridge <jason@esilibrary.com>
Joseph Lewis [Wed, 15 Jun 2011 14:35:45 +0000 (08:35 -0600)]
Remove duplicates due to groups in seed-values.sql, and include groups in
seed-values; delete seed values upgrade patch.
Signed-off-by: Joseph Lewis <joehms22@gmail.com> Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Jason Etheridge <jason@esilibrary.com>
Joseph Lewis [Tue, 14 Jun 2011 21:46:59 +0000 (15:46 -0600)]
Updated so that the history shows the org-unit shortname rather than the id.
Signed-off-by: Joseph Lewis <joehms22@gmail.com> Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Jason Etheridge <jason@esilibrary.com>
Joseph Lewis [Tue, 14 Jun 2011 19:35:33 +0000 (13:35 -0600)]
Convert buttons to toobar cleaning up page a lot. Added new notification
system.
Signed-off-by: Joseph Lewis <joehms22@gmail.com> Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Jason Etheridge <jason@esilibrary.com>
Joseph Lewis [Mon, 13 Jun 2011 22:54:06 +0000 (16:54 -0600)]
Added revision logging to oust, updated fm_IDL.xml to reflect that
and changed org_unit_settings.js and org_unit_settings.xhtml to add some
functionality of revisions.
Signed-off-by: Joseph Lewis <joehms22@gmail.com> Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Jason Etheridge <jason@esilibrary.com>
Joseph Lewis [Thu, 9 Jun 2011 21:14:22 +0000 (15:14 -0600)]
Updated the staff_client code to be much better at searching, renamed the sql upgrade script b/c 0549 was just snatched up!
Signed-off-by: Joseph Lewis <joehms22@gmail.com> Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Jason Etheridge <jason@esilibrary.com>
Joseph Lewis [Thu, 9 Jun 2011 19:17:16 +0000 (13:17 -0600)]
Finished import/export of settings.
Signed-off-by: Joseph Lewis <joehms22@gmail.com> Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Jason Etheridge <jason@esilibrary.com>
Joseph Lewis [Wed, 8 Jun 2011 20:07:27 +0000 (14:07 -0600)]
Updated to include search.
Signed-off-by: Joseph Lewis <joehms22@gmail.com> Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Jason Etheridge <jason@esilibrary.com>
Joseph Lewis [Tue, 7 Jun 2011 17:34:20 +0000 (11:34 -0600)]
Added Tags support in the org_unit_settings display page.
Signed-off-by: Joseph Lewis <joehms22@gmail.com> Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Jason Etheridge <jason@esilibrary.com>
Joseph Lewis [Mon, 6 Jun 2011 22:06:25 +0000 (16:06 -0600)]
Whoops, typed in the wrong number.
Signed-off-by: Joseph Lewis <joehms22@gmail.com> Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Jason Etheridge <jason@esilibrary.com>
Joseph Lewis [Mon, 6 Jun 2011 21:59:37 +0000 (15:59 -0600)]
Forgot to put in the logging information :)
Signed-off-by: Joseph Lewis <joehms22@gmail.com> Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Jason Etheridge <jason@esilibrary.com>
Joseph Lewis [Mon, 6 Jun 2011 21:03:27 +0000 (15:03 -0600)]
Added seed values for the "tags" of the settings in org unit settings.
Signed-off-by: Joseph Lewis <joehms22@gmail.com> Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Jason Etheridge <jason@esilibrary.com>
lp834961: fix authoritative versions of callnumber retrieval calls
Makes open-ils.search.callnumber[.fleshed].retrieve.authoritative
actually be authoritative. Fixes bug where adding a volume
could result in a false ASSET_CALL_NUMBER_NOT_FOUND error if using
database replication and Slony-II.
Bill Erickson [Tue, 13 Sep 2011 17:42:01 +0000 (13:42 -0400)]
Remove unused reference to oils_web.xml in startup.pl
TODO: give EGCatLoader child_init-like functionality to connect to
opensrf to address the (unlikely) case that EGWeb/EGCatLoader are
the first/only mod_perl handlers loaded on an Evergreen Apache server.
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Tue, 13 Sep 2011 16:49:17 +0000 (12:49 -0400)]
Template Toolkit OPAC
See Template Toolkit OPAC release notes at
http://evergreen-ils.org/dokuwiki/doku.php?id=dev:opac:template-toolkit:release_notes
Additional non-tpac-specific changes include moving web templates
from the web dir into Open-ILS/src/templates/, removing /default/
from the template paths, and porting vandelay strings from the DTD
into the template (for better/consistent translation support).
Dan Scott [Tue, 13 Sep 2011 02:51:23 +0000 (22:51 -0400)]
Fix mislabelling of Cancel button as Submit
As funny as it was to give people two options: Submit, or Submit, one
could imagine that it would be confusing. Also, remove the alt / title
attributes now that we're using meaningful markup that stands on its
own.
Dan Scott [Tue, 13 Sep 2011 02:17:39 +0000 (22:17 -0400)]
CSS-ize the search results control bar
Along with the standard "swap images with fancy CSS links", we also
bring some style to the rather drab "Detailed View" link in the search
results control bar.
Dan Scott [Mon, 12 Sep 2011 19:35:17 +0000 (15:35 -0400)]
CSS versions of the main MyOPAC tabs
We can reuse much of the advanced search tab CSS (imagine that!), so not
only are we getting accessibility and HTTP request wins, we're cutting
down on the size of the CSS to deal with to skin this cat(alogue).
Dan Scott [Mon, 12 Sep 2011 18:47:04 +0000 (14:47 -0400)]
Style the advanced search tabs with CSS
We could go further and disable the link on the active advanced search
tab, but for now we're just replacing what was there with a reasonable
visual approximation.
Dan Scott [Mon, 12 Sep 2011 17:40:19 +0000 (13:40 -0400)]
Use SUBMIT buttons instead of IMAGE buttons
With a bit of CSS, we can replace <input type="image"> buttons with
<input type="submit"> buttons. The payoff is directly translatable
values and better semantics for screen readers, etc, rather than having
to set up a process of generating buttons in your colour & languages of
choice - as well as fewer HTTP requests for images over the network.
Note that we also replace some of the JavaScript-dependent reset /
cancel links with <input type="reset"> buttons.
Bill Erickson [Sun, 11 Sep 2011 15:20:39 +0000 (11:20 -0400)]
TPac: locale handling improvements
Allow Locale::Maketext to fall through to parent locales
(superordinate) when the a translation for a string in the given locale
is not present. Locale::Maketext suppports arbitrary-length locale
tags, so it's possible to create locale hierarchies.
For example, you could create branch-specific translations that fall
through to system, then full locale, then base locale, then the default
template strings.
en_us_systemA_branchX => en_us_systemA => en_us => en => <template strings>
Each template string that needs translating will be tried against each
locale in order until it finds a translation.
Signed-off-by: Bill Erickson <berick@esilibrary.com>