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
Jason Etheridge [Thu, 15 Sep 2011 16:05:14 +0000 (12:05 -0400)]
add in the org setting history triggers
Signed-off-by: Jason Etheridge <jason@esilibrary.com>
Thomas Berezansky [Thu, 8 Sep 2011 18:27:48 +0000 (14:27 -0400)]
CLEANUP ALL THE COUST and fix history view
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>
Mike Rylander [Thu, 15 Sep 2011 13:11:47 +0000 (09:11 -0400)]
Set ind2 to the value of indicicator 2 supplied by the user, not ind1
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Mike Rylander [Wed, 14 Sep 2011 19:43:55 +0000 (15:43 -0400)]
Make sure we only render the most recent request to the canvas, so a laggy network does not cause double rendering or stale display
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Galen Charlton [Wed, 14 Sep 2011 16:27:45 +0000 (12:27 -0400)]
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.
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Mike Rylander [Tue, 13 Sep 2011 19:37:06 +0000 (15:37 -0400)]
Provide a default value for, and explicitly change, the record type so the type dropdown works as intended
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Bill Erickson [Tue, 13 Sep 2011 19:10:27 +0000 (15:10 -0400)]
Update find view link in fund list UI to reflect relocated template
Signed-off-by: Bill Erickson <berick@esilibrary.com>
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 17:32:22 +0000 (13:32 -0400)]
Further updates to eg_vhost for tpac
* Comment out locale handlers that do not have translations by default.
Otherwise, Apache will log the error in the error log.
* Added some additional configuration comments
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Tue, 13 Sep 2011 17:00:53 +0000 (13:00 -0400)]
Stamped upgrade for opac_payment_history_age_limit
...which is a new org setting defining how far back to reach for
payments to display in the payments history page in tpac.
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).
Merge remote branch 'working/collab/berick/template-toolkit-opac-master-merge'
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Tue, 13 Sep 2011 16:45:39 +0000 (12:45 -0400)]
Merge branch 'master' of git.evergreen-ils.org:Evergreen into template-toolkit-opac-master-merge
Bill Erickson [Tue, 13 Sep 2011 13:57:54 +0000 (09:57 -0400)]
Merge remote branch 'working/user/dbs/tpac-css-buttons' into template-toolkit-opac-master-merge
Dan Scott [Tue, 13 Sep 2011 03:42:56 +0000 (23:42 -0400)]
Delete a set of images that are no longer used
Given the switch to CSS-styling instead of images, many of the images in
the repository are no longer used and can be deleted.
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Dan Scott [Tue, 13 Sep 2011 03:03:33 +0000 (23:03 -0400)]
CSS-ize account preference sub-tabs
Same old, same old.
Signed-off-by: Dan Scott <dscott@laurentian.ca>
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.
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Dan Scott [Tue, 13 Sep 2011 02:47:29 +0000 (22:47 -0400)]
CSS-ize holds and holds history tabs
From images to CSS-styled links.
Signed-off-by: Dan Scott <dscott@laurentian.ca>
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.
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Dan Scott [Mon, 12 Sep 2011 20:41:27 +0000 (16:41 -0400)]
CSS-ize current circ and circulation history tabs
More accessible. More win.
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Dan Scott [Mon, 12 Sep 2011 20:02:45 +0000 (16:02 -0400)]
CSSize fine/payment tabs on My Account page
More consolidation of CSS is a win for making changes in one place.
More accessibility as well.
Signed-off-by: Dan Scott <dscott@laurentian.ca>
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).
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Dan Scott [Mon, 12 Sep 2011 19:17:33 +0000 (15:17 -0400)]
CSSize the My OPAC login / logout buttons
Use the same relative positioning as the surrounding blocks and things
look relatively (hah) clean.
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Dan Scott [Mon, 12 Sep 2011 19:16:50 +0000 (15:16 -0400)]
5% radius for subtly rounded corners
15% was too much, especially on long thin blocks; it looked like
space-time was being warped.
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Dan Scott [Mon, 12 Sep 2011 19:03:18 +0000 (15:03 -0400)]
Add some Web 1.5-ishness with rounder corners for tabs
5% radius is a lot more subtle.
Signed-off-by: Dan Scott <dscott@laurentian.ca>
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.
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Dan Scott [Mon, 12 Sep 2011 18:46:13 +0000 (14:46 -0400)]
Turn the login button into a CSS "button"
It's just a fancy link; treat it as such with some fancy CSS.
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Bill Erickson [Mon, 12 Sep 2011 18:13:42 +0000 (14:13 -0400)]
TPac: Default to en_us if no locales are configured
Code will create an en_us handler that falls through to the strings in
the templates.
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Dan Scott [Mon, 12 Sep 2011 18:06:47 +0000 (14:06 -0400)]
opac-button is more general than submit-button
Didn't make sense to use a class of submit-button for reset buttons.
So...
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Bill Erickson [Mon, 12 Sep 2011 17:55:59 +0000 (13:55 -0400)]
Added TPac perl dependencies for deb distros
Template::Plugin::POSIX
Locale::Maketext::Lexicon (via liblocale-maketext-lexicon-perl)
Signed-off-by: Bill Erickson <berick@esilibrary.com>
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.
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Bill Erickson [Mon, 12 Sep 2011 17:23:17 +0000 (13:23 -0400)]
TPac: repaired hold status display bug
Pipe dynamic text through |html inside the hold_status block instead of
piping the output, since the block returns HTML.
Repaired faulty </div>
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Mon, 12 Sep 2011 16:17:52 +0000 (12:17 -0400)]
TPac: Do not URI-escape index class/names in search dropdown
id|bibcn, for example, through the |uri filter turns into "id%7Cbibcn"
in the option value. Pipe through |html instead, just to be safe.
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Mon, 12 Sep 2011 16:15:34 +0000 (12:15 -0400)]
Merge remote branch 'working/collab/berick/tpac-misc-cleanup' into template-toolkit-opac-master-merge
Bill Erickson [Mon, 12 Sep 2011 16:07:43 +0000 (12:07 -0400)]
TPac: repaired undefiend 'loc' var in author 'extras' link
Ported the bare href to mkurl() while I was in there
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Mon, 12 Sep 2011 15:23:04 +0000 (11:23 -0400)]
Merge remote branch 'working/user/dbs/lp801624_blow_away_postgresql'
Dan Scott [Mon, 12 Sep 2011 15:10:50 +0000 (11:10 -0400)]
Can't install oils_web.xml.example if it does not exist
Just remove the entry from Makefile.am and we're happy.
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Bill Erickson [Mon, 12 Sep 2011 14:26:40 +0000 (10:26 -0400)]
Removed sample oils_web.xml; removed from README
Thanks for the suggestion, Dan.
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Mon, 12 Sep 2011 13:10:23 +0000 (09:10 -0400)]
Remove no-longer-necessary DTD override in vandelay
Also, since vandelay was the only code using this hacked-in override
option, remove the option from the base template.
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Mon, 12 Sep 2011 12:43:32 +0000 (08:43 -0400)]
Vandelay: import strings from DTD
Using the new template-style embedded string localizer: [% l('...') %]
Removed vandelay.dtd.
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Mon, 12 Sep 2011 12:43:25 +0000 (08:43 -0400)]
Vandelay: repaired URL path to embedded match set editor
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Mon, 12 Sep 2011 00:07:57 +0000 (20:07 -0400)]
TPac: template path cleanup
Rearrange the few templates that relied on the now-defunct oils_web.xml
handler path/template mapping.
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Sun, 11 Sep 2011 23:49:37 +0000 (19:49 -0400)]
TPac: deprecate oils_web.xml
Configuration values are now loaded from Apache configuration.
Signed-off-by: Bill Erickson <berick@esilibrary.com>
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>
Bill Erickson [Fri, 9 Sep 2011 20:41:45 +0000 (16:41 -0400)]
TPac: Review & More content cafe option on results page
Links to a new top-level page. Also cleaned up some bare &'s in the
content cafe url. added a ctx->proto = http / https var.
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Fri, 9 Sep 2011 20:00:51 +0000 (16:00 -0400)]
TPac: move hold status chunk to separate template
...for easier local overrideing of text that dislays for hold status
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Fri, 9 Sep 2011 19:13:48 +0000 (15:13 -0400)]
TPac: Push subject extras tab to top of extras
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Fri, 9 Sep 2011 19:13:05 +0000 (15:13 -0400)]
TPac: toggle expandy arrow image to down-arrow on expanded record extras tabs
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Fri, 9 Sep 2011 18:08:31 +0000 (14:08 -0400)]
TPac: on-fly-list management improvements
* implemented remove-from-list function
* After add or remove from list on results page, direct user back to the
context record via page anchor
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Fri, 9 Sep 2011 15:50:55 +0000 (11:50 -0400)]
TPac: avoid 1995-esque "Submit Query" for form submission
On the update username, email, and password pages, use "Submit" instead
of relying on the browser "Submit Query" label
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Sun, 11 Sep 2011 22:15:28 +0000 (18:15 -0400)]
Merge branch 'master' of git.evergreen-ils.org:Evergreen into template-toolkit-opac-master-merge
Thomas Berezansky [Fri, 9 Sep 2011 14:25:10 +0000 (10:25 -0400)]
When checking postgresql version use postgres db
Otherwise we may get an error instead of a version number.
Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Thomas Berezansky [Thu, 8 Sep 2011 22:09:49 +0000 (18:09 -0400)]
Take a stab at 9.1 support
Second create database SQL to deal with
CREATE EXTENSION
instead of contrib files.
Check create DB steps for errors. If any found, die.
This should cover "could not load file" from pre-9.1 as well.
Also copied the 9.0 fts-config as 9.1 to avoid that warning during
database load.
Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Dan Scott [Sat, 10 Sep 2011 16:36:14 +0000 (12:36 -0400)]
Remove references to Fedora 13 and 14
Fedora 13 has not been supported for months, Fedora 14 is about to lose
support. Simplifies README and prereq installer a bit.
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Dan Scott [Sat, 10 Sep 2011 16:28:32 +0000 (12:28 -0400)]
Refresh dynamic link cache after libjs install
The build of SpiderMonkey can fail if it can't find the freshly
installed libjs library, so run ldconfig after building libjs to avoid
that bit o' fun.
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Dan Scott [Sat, 10 Sep 2011 16:27:41 +0000 (12:27 -0400)]
Fix prerequisite install on Fedora 15
The postgresql package shipped in Fedora proper is just called
'postgresql-devel', so get that right.
Also, try to put 64-bit libraries in the right directory.
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Mike Rylander [Fri, 9 Sep 2011 19:41:00 +0000 (15:41 -0400)]
Stamping upgrade for penalty visiblity issue
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Thomas Berezansky [Fri, 9 Sep 2011 18:31:27 +0000 (14:31 -0400)]
Fix some standing penalty issues
Circulations were using the circ matchpoint org unit for blocking.
That could, depending on the matchpoint that matched, result in staff
not being able to see the penalty that is being blocked for.
In addition, blocking is done based on the full path, not ancestors.
But, backend functions only used ancestors. Changed them to use the
full_path variant instead.
Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Thomas Berezansky [Fri, 9 Sep 2011 19:23:09 +0000 (15:23 -0400)]
Fix dos_print when NSPrint interface is used
By adding params.dos_print = true where needed.
Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Signed-off-by: Jason Etheridge <jason@esilibrary.com>
Bill Erickson [Thu, 8 Sep 2011 22:51:06 +0000 (18:51 -0400)]
TPac: minor i18n string repairs
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Thu, 8 Sep 2011 22:32:49 +0000 (18:32 -0400)]
Repair makefile.am: install template dirs that were previously under /default/
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Thu, 8 Sep 2011 21:52:01 +0000 (17:52 -0400)]
Merge branch 'master' of git.evergreen-ils.org:Evergreen into template-toolkit-opac-master-merge
Jason Etheridge [Thu, 8 Sep 2011 20:08:30 +0000 (16:08 -0400)]
Calculate penalties when marking items lost
For example, if you a max fines threshold of $10, and a lost processing fee of
$50, currently if you mark an item lost (or an item ages to lost) and a patron
gets billed that $50, they won't automatically have the max fines penalty. This
change calculates such penalties at the time a copy is marked and lost and money
is juggled, within the same transaction.
Signed-off-by: Jason Etheridge <jason@esilibrary.com>
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Thu, 8 Sep 2011 19:54:47 +0000 (15:54 -0400)]
Make bookbag title/author links
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Thomas Berezansky [Thu, 8 Sep 2011 19:55:42 +0000 (15:55 -0400)]
Stamping for LP821404 au last_update_time
Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Bill Erickson [Thu, 8 Sep 2011 19:55:36 +0000 (15:55 -0400)]
Merge branch 'master' of git.evergreen-ils.org:Evergreen into template-toolkit-opac-master-merge
Michael Peters [Fri, 5 Aug 2011 14:30:39 +0000 (10:30 -0400)]
Also add "Last Update" to the patron summary
Signed-off-by: Michael Peters <mrpeters@library.in.gov>
Typo in row id value
Signed-off-by: Michael Peters <mrpeters@library.in.gov>
Need to use obj.patron.last_update_date not obj.patron.update_date
Signed-off-by: Michael Peters <mrpeters@library.in.gov>
Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Jason Etheridge [Thu, 8 Sep 2011 05:56:49 +0000 (01:56 -0400)]
fire last_update_time trigger on user insert in addition to update
Signed-off-by: Jason Etheridge <jason@esilibrary.com>
Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Jason Etheridge [Thu, 8 Sep 2011 05:54:11 +0000 (01:54 -0400)]
change column name from last_update_date to last_update_time
Signed-off-by: Jason Etheridge <jason@esilibrary.com>
Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Jason Etheridge [Fri, 5 Aug 2011 10:58:07 +0000 (06:58 -0400)]
upgrade script for actor.usr.last_update_date
Signed-off-by: Jason Etheridge <jason@esilibrary.com>
Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Jason Etheridge [Fri, 5 Aug 2011 10:56:36 +0000 (06:56 -0400)]
Add an actor.usr.last_update_date column
Though should we call it edit_date, like on asset.copy? :) Also added trigger,
and some display definitions in the staff client.
Signed-off-by: Jason Etheridge <jason@esilibrary.com>
Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Jason Etheridge [Thu, 8 Sep 2011 07:19:11 +0000 (03:19 -0400)]
a CSS hook in case folks want to hide this
If you'd like to hide usr_summary stat cats in the patron
info pane, add this to server/skin/patron_summary_custom.css:
.stat_cat_summary_row { display: none; }
Signed-off-by: Jason Etheridge <jason@esilibrary.com>
Thomas Berezansky [Fri, 12 Aug 2011 15:47:43 +0000 (11:47 -0400)]
Stat Cat Summary Display Fixes
1 - Suppress sip field and format in horizontal interface
2 - Make "show in summary" work for vertical interface
Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Signed-off-by: Jason Etheridge <jason@esilibrary.com>
Thomas Berezansky [Thu, 25 Aug 2011 11:44:03 +0000 (07:44 -0400)]
Support server/id for server name
Strip off the /id part to get the real server name.
Each /id gets a different workstation registration.
Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Signed-off-by: Jason Etheridge <jason@esilibrary.com>
Jason Etheridge [Thu, 8 Sep 2011 05:44:38 +0000 (01:44 -0400)]
tweak description for "Patron: password from phone #" setting
Signed-off-by: Jason Etheridge <jason@esilibrary.com>
Jason Etheridge [Thu, 8 Sep 2011 05:26:34 +0000 (01:26 -0400)]
lp#794153 stamping upgrade script for phone pw
Signed-off-by: Jason Etheridge <jason@esilibrary.com>
Thomas Berezansky [Tue, 2 Aug 2011 18:15:44 +0000 (14:15 -0400)]
Unwrapped upgrade script for descripition changes
Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Signed-off-by: Jason Etheridge <jason@esilibrary.com>
Thomas Berezansky [Tue, 2 Aug 2011 18:15:06 +0000 (14:15 -0400)]
Seed data update for regex descriptions
Mention capture group stuff in day_phone
Add note about day_phone to generic phone
Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Signed-off-by: Jason Etheridge <jason@esilibrary.com>
Thomas Berezansky [Mon, 13 Jun 2011 05:01:52 +0000 (01:01 -0400)]
Regex check for "last 4 digits of phone number"
If the day_phone regex (direct or from generic phone) has a capture group use it as the "last 4 digits".
For example, you might configure this for day_phone regex:
[2-9]\d{2}-\d{3}-(\d{4})( x\d+)?
With this patch the extension will be ignored for the last 4 digits.
Note: Does not require that the "last 4 digits" capture group actually contain 4 digits.
Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Signed-off-by: Jason Etheridge <jason@esilibrary.com>