Commit Graph

10390 Commits

Author SHA1 Message Date
Chris Cormack fce9a80026 Hindi, Tetun, Thai, Tagalog, Turkish, Urdu and Ukranian opac updates 2009-09-16 23:19:51 +02:00
Chris Cormack 257ccef830 Spanish, Persian and Galician opac updates 2009-09-16 23:19:51 +02:00
Chris Cormack bf532bcb7a French (France), French (Canada) and Hebrew opac updates 2009-09-16 23:19:50 +02:00
Chris Cormack 1b20eac419 Amharic, German and English NZ opac updates 2009-09-16 23:19:50 +02:00
Chris Cormack fd127f82cb Danish and Bulgarian opac updates 2009-09-16 23:19:50 +02:00
Chris Cormack d6bd9f194e Bengali, Arabic and Azerbaijanian opac updates 2009-09-16 23:19:50 +02:00
Chris Cormack dc9dbc2f99 Indonesian opac updates 2009-09-16 23:19:50 +02:00
Chris Cormack 59ca3d5fed Greek Opac updates 2009-09-16 23:19:49 +02:00
Chris Cormack 03c8f13980 Czech and Catalan opac updates 2009-09-16 23:19:49 +02:00
Chris Cormack d43db2f006 Finnish and Chinese updates 2009-09-16 23:19:49 +02:00
Chris Cormack 843b186c6b Fixing some leftover conflict 2009-09-16 23:19:49 +02:00
Chris Cormack b63fff5ba4 Fixing mess leftover from conflict 2009-09-16 23:19:49 +02:00
Chris Cormack c63bec4855 Starting work updating translations 2009-09-16 23:19:49 +02:00
Chris Cormack 7232e97f67 Fixing record.abs for authorities and MARC21 2009-09-16 23:19:47 +02:00
Chris Cormack a223764636 More fixes to the shelves test 2009-09-16 23:19:47 +02:00
Chris Cormack a07092b8dc Fixing the tests for VirtualShelves, still a bit more to do 2009-09-16 23:19:47 +02:00
Sébastien Hinderer 8702212d16 Get rid of a few warnings in the bulkmarcimport script: C4/Biblio.pm, hunks #1, #2: a warning occurring in NoZebra configurations. C4/Biblio.pm hunk #3: warning occurring in Unimarc MARC flavour. misc/migration_tools/bulkmarcimport.pl hunk #1: warning occurring when no default format is specified on command-line with -m switch.
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
2009-09-16 23:19:47 +02:00
Galen Charlton 83090041e1 bug 2505: remove additional warning messages
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
2009-09-16 23:19:47 +02:00
Colin Campbell 5cba9339d1 enable warnings in overduerules.pl Call GetBranchesLoop instead of duplicating code make countletters a count as it says check for definedness before doing string comparisons do as not to generate warnings
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
2009-09-16 23:19:46 +02:00
Michael Hafen 9cd7de6f98 bugfix breeding results of cataloging search has wrong id
The breeding id, rather than coming from the database, was set by a counter.
Not so good links in the search results that way.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
2009-09-16 23:19:46 +02:00
Henri-Damien LAURENT 9210c7a608 Bug Fixing 3568 : Untranslated strings
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
2009-09-16 23:19:46 +02:00
Henri-Damien LAURENT 51adec717f Squashing Merge Fix and followup: renamed _GetCirculationBranch
Merge Fix Followup to 7e2bf9e
2009-09-16 23:19:46 +02:00
Galen Charlton 414f8f91b4 bug 3204: tweaks to AWS request signing
* Add AWSPrivateKey system preference to the
  Enhanced Content tab in the syspref editor
* Now warns to log if attempting to use
  the Amazon API without setting AWSPrivateKey

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2009-09-16 23:19:46 +02:00
Henri-Damien LAURENT caf5d2e2ee bug 3204: add AWSPrivateKey syspref (DBrev 04.15)
The AWSPrivateKey syspref is describe more fully
in a previous commit, but to summarize, it should
contain the Amazon Web Services Secret Access Key
required by Amazon to sign requests to their
Product Advertising API.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
2009-09-16 23:19:46 +02:00
Galen Charlton 1d6bc692a6 bug 3204: followup to fix AWS request signing
[1] There were some ersataz spaces in the string
    being signed.
[2] AWS expects a trailing '=' in the Base64 signature

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2009-09-16 23:19:46 +02:00
Henri-Damien LAURENT 719280216f bug 3204: implement request signing for Amazon Web Services
After 2009-08-15, Amazon Web Services will expect that
all requests to the Product Advertising API, which is what
Koha uses for retrieving reviews and other enhanced content
from Amazon, include signatures.  This patch and
subsequenct patches implement this functionality.

What this means in practice (assuming the user has elected
to use any enhanced content from Amazon) is that

[1] The user must get a Amazon Secret Access Key.  This can
    be done by logging in to the user's AWS account
    at (e.g.) http://aws.amazon.com/, going to the 'Access Identifiers'
    page, and from there retrieving and/or creating a new Secret
    Access Key.

[2] The contents of the Secret Access Key should then be
    entered into the new AWSPrivateKey system preference.

Once that is done, grabbing reviews and table of contents from Amazon
should work as normal.  If the user doesn't do this before 2009-08-15,
reviews and TOCs will no longer be supplied from Amazon, although there
should be no crashes - the content will simply not show up.

Note that the requirement to sign requests does *NOT* appear to apply
to simply displaying book covers from Amazon.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
2009-09-16 23:19:46 +02:00
Henri-Damien LAURENT b783631915 Correcting some selectors to conform with upgraded jQuery syntax (see Bug 3297).
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
2009-09-16 23:19:45 +02:00
Henri-Damien LAURENT f38ed0334e Bug 3532 show lost, damaged statuses on patron record
The patron record Details tab list of checkouts does not show lost, long overdue, claims returned, or damaged status, only that an item is overdue.  Added a check for lost and damaged statuses and a display of any matching statuses to the patron Details tab.

(revised version to drop unneeded lines from moremember.tmpl file)

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
2009-09-16 23:19:45 +02:00
Henri-Damien LAURENT ae24ed1109 [replaceprevious](bug #3562) fix returning document in another branch
there is no transfert alert if you make a return in another branch than the homebranch.
2009-09-16 23:19:45 +02:00
Henri-Damien LAURENT 0487bac274 Fixing merge on moremember.pl (Deletion when IndependantBranches) 2009-09-16 23:19:45 +02:00
Nahuel ANGELINETTI 6190a20d09 (bug #3459) fix opac-topissue to take care of ccode
This bugfix, add a conditionnal sql request, that get the "ccode" document type if AdvancedSearchTypes is positionned to ccode.

Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
2009-09-16 23:19:45 +02:00
Nahuel ANGELINETTI 32ff18380b (bug #2829) fix some mistakes extracting editor segment
This patch fix how to extract the editor segment, and improve ISBN10/13 support.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
2009-09-16 23:19:45 +02:00
Henri-Damien LAURENT c9a7291b0d Removing memberofinstitution management
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
2009-09-16 23:19:44 +02:00
Henri-Damien LAURENT 3e11b4a0b4 Bug Fixing 3542 : searching for authority in cataloguing
There was a problem in the query building
and PERL is quite picky with empty data in arrays so setting empty elements to undef

Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
2009-09-16 23:19:44 +02:00
Garry Collum f26bf903de Bug 2505: Enabled warnings in opac-topissues.pl
Fixed resulting warnings and fixed a small bug with the timeLimit drop-down box.  It would not retain its value on subsequent pages if 'no Limit' was selected as an option.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
2009-09-16 23:19:44 +02:00
Chris Cormack b747677d25 Cleanup after conflicted merge 2009-09-16 23:19:44 +02:00
Chris Cormack 7bbe9d0ae2 Fixing syntax error in C4/Circulation.pm 2009-09-16 23:19:44 +02:00
Owen Leonard cdd8a328ac Showing "more searches" menu options when JavaScript is disabled (Bug 3517)
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2009-09-16 23:19:44 +02:00
Joe Atzberger ea510b04bb Cleanup docs, typos, style etc.
Unused variable removed.  Weirdness with empty position in
assignment list also removed.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
2009-09-16 23:19:44 +02:00
Joe Atzberger 771f9a42a9 Fix Maintenance page.
Without this, the mainenance page would not display because of:
Cannot use undefined value as a HASH reference in C4/Auth.pm

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
2009-09-16 23:19:44 +02:00
Henri-Damien LAURENT 51051b8eb6 Correcting validation errors.
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
2009-09-16 23:19:43 +02:00
Galen Charlton 673f437bfb fixed table row highlighting CSS class
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
2009-09-16 23:19:43 +02:00
Nahuel Angelinetti ed0101f8a5 fix the previous patch to add a syspref that permit to choose the renewal period(day or date_due).
This patch just check the syspref and use it as base date of renew.

Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
2009-09-16 23:19:43 +02:00
Henri-Damien LAURENT e4db6d3e30 Bug 3173 Place Hold link visible in OPAC even if syspref turned off
If the syspref RequestOnOpac is turned off, the link to place a hold does not
show in the detail page.  However, the link is still present in the results
list as well as in the basket and in lists.  Modified templates to check
for the syspref and to obey it.

NOTE:  This does not turn off the display of the Holds tab in the OPAC
user account.  I think there are situations where library staff may be
allowed to place holds but users are not allowed to do so through the
OPAC.  Leaving the Holds tab visible shows users what they have on hold,
but does not allow them to place holds.  It does allow users to cancel
holds.  If there is a need to hide this tab, that would probably be
best accomplished by a separate syspref.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
2009-09-16 23:19:43 +02:00
Ryan Higgins aae56e21aa Bug 2770 follwup : force AddRenewal obey circControl system preference [revised]
Also prevents infinite-length renewals by returning undef
if passed an invalid date instead of renewing with no due date.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
2009-09-16 23:19:43 +02:00
Chris Cormack c008d73498 Fixing syntax error 2009-09-16 23:19:43 +02:00
Chris Cormack 9224973b0e Fixing circulation template 2009-09-16 23:19:43 +02:00
Chris Cormack f650563874 Fixing syntax error 2009-09-16 23:19:43 +02:00
Chris Cormack 78f813b11c Fixing merge error in opac-detail.pl 2009-09-16 23:19:43 +02:00
Chris Cormack 129c28d6d1 Fixing bug introduced by a cherry-pick conflict 2009-09-16 23:19:42 +02:00