Commit Graph

8914 Commits

Author SHA1 Message Date
Galen Charlton 2ef43f56f0 bug 2509: fix file permissions
Following suggestion by Vincent Danjean for Debian
packaging, 0755 -> 0644 for non-executable
files.

Also removed shebang from a few modules in C4.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
2008-10-28 22:09:24 +01:00
Galen Charlton 0e92cff8ab bug 2540: allow download of report
$error return C4::Reports::execute_query is
always defined.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
2008-10-28 22:09:24 +01:00
Jesse Weaver 18ba0fb44d fix for bug 1101: Renew All for the OPAC
This adds a Renew All form to the OPAC, and updates opac-renew.pl to take multiple item= parameters.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
2008-10-28 22:09:24 +01:00
Jesse Weaver 102792a89f fix for bug 1771: Template errors with remote itemtype image
This adds a new function, getitemtypeimagelocation, that returns the image
unmodified for absolute urls and returns the proper intranet or opac path
otherwise. It also updates all of the relevant files to use that function.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
2008-10-28 22:09:24 +01:00
Jesse Weaver 27398a9b53 fix for bug 2488: OPACItemsResultsDisplay/singlebranchmode
This patch changes the template slighly so that these two system preferences do not conflict.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
2008-10-28 22:09:24 +01:00
Jesse Weaver 0b0ae9b0dd Fix for minor error in shelfbrowser queries
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
2008-10-28 22:09:24 +01:00
Jesse Weaver 042884e199 fix for bug 2477: Improve Speed of the Shelf Browser
This patch updates the queries for the shelf browser in opac-detail.pl for a
slight performance gain. It also adds a param for dateformat to C4::Auth to
fix a warning.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
2008-10-28 22:09:24 +01:00
Vincent Danjean 26acd6de8c Still fixing permission and first line of scripts
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
2008-10-28 22:09:24 +01:00
Vincent Danjean 22039ced35 No 'BOM' marker for a script file
'#!' must be the first characters

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
2008-10-28 22:09:23 +01:00
Vincent Danjean d7d4e64e5b Shebang line must be the first of the file
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
2008-10-28 22:09:23 +01:00
Vincent Danjean 4c9b1e4ada Add support for DESTDIR
Distributions (such as Debian) needs a staging area when building the package

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
2008-10-28 22:09:23 +01:00
Andrew Moore 6e51b017af bug 2503: documentation improvements in C4::Circulation
These are some documentation changes that I made to C4::Circulation as
I was writing tests for it.

moved around the docs for CanBookBeIssued. It was in the wrong spot in the file.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
2008-10-28 22:09:23 +01:00
Jesse Weaver 20989bd85e fix for bug 2528: installation fails with confusing error message
This makes the dns check happen earlier, and fail humanely if there is a problem.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
2008-10-28 22:09:23 +01:00
Joe Atzberger 6f5232924b Bug #2429, bad HTML from unclosed <head>.
Also some cleanup of opac-showmarc script including removing bogus
dependencies (DBI, CGI methods).  Should consider using C4::XSLT if
applicable.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
2008-10-28 22:09:23 +01:00
Owen Leonard 94f5507b6a Fixing a couple of minor markup issues.
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
2008-10-28 22:09:23 +01:00
Andrew Moore a1a25cafab Bug 2524: improving the submitted test reports
switching from 'prove' to 'perl' to run the test scripts when we're preparing
them to be submitted to smolder. Prove adds an additional summary at the end
of the test run which confuses the TAP parser in smolder. It thinks that an
additional test has been run, and it fails it.

Then, I added a '-' before the command in the Makefile. THat's so that even
if 'perl' returns a failing code (because some tess failed), the rest of the
rules are run and a report gets submitted. Othewise, only passing reports
get sent.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
2008-10-28 22:09:23 +01:00
Andrew Moore 4dd6378b1b bug 2525: fixing tests for misc/cronjobs/longoverdue.pl
This patch fixes the tests so that they include the new required parameters for longoverdues.pl.

This patch also doesn't include a test script that accidently got in the last one.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
2008-10-28 22:09:23 +01:00
Andrew Moore a6758584ad Bug 2524: Adding script to submit test reports to smolder server
This patch adds a target in the t/Makefile and a script in t/smolder_smoke_signal
to submit the results of test runs to a smolder server. It will allow users to submit
their own test results to a central location by running "make submit" from the t/
directory.

Smolder is a web-based application that aggregates and presents the output of
tests. We have an instance running at:
http://arwen.metavore.com:8000/app/public_projects/smoke_reports/1

More information about using smolder for Koha is available at:
http://wiki.koha.org/doku.php?id=en:development:smoke_reports

I intend to have the test suite run each night automatically and the results
sent to the smolder server. This will help us keep track of the current state
of the the code and possibly catch bugs introduced by changes. I encourge others
to submit their own test results if they want, especially if they are on an unusual
platform or are with a non-standard configuration.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
2008-10-28 22:09:23 +01:00
Jesse Weaver dd2d09f8cc Fix for bug 2155: duplicate checkin box on returns screen
This changes some css and markup to make the return box at the top not show when one is on the checkin screen. It also moves the markup for the autocompleting search box to its own file.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
2008-10-28 22:09:23 +01:00
Joe Atzberger abcb59b1c9 Prevent compilation errors from complex C4 import/export.
SIP code uses UNIVERSAL modules that do not tolerate the circular deps in
C4, specifically, in Auth.pm.  Changing the order so that UNIVERSAL follows
the other imports is important to avoiding failures like:
  perl -w -e 'use UNIVERSAL qw(can); use C4::Auth;'
    "MarkIssueReturned" is not exported by the C4::Circulation module

This patch should resolve the problem earlier seen with Shelves too.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
2008-10-28 22:09:23 +01:00
Galen Charlton 28b73a293e bug 2502: correctly check patron account expiration
When placing a hold request from the staff interface,
now correctly indicate if the patron account has expired.
Prior to this patch, would warn that the account
had expired even when the expiry date is in the future,
and vice versa.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
2008-10-28 22:09:22 +01:00
Michael Hafen af87122b1e Have zebrasrv log less
Better to fill the hard drive with biblio than with zebra logs ;)

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
2008-10-28 22:09:22 +01:00
Chris Nighswonger 757ae795d0 kohabug 2507 Fixing labels search to indicate keyword rather than title search
Documentation may require an updated screen shot

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
2008-10-28 22:09:22 +01:00
Joe Atzberger e97e71f1f5 masthead - realign terminology for Tag Cloud
Tag Cloud should link to user-generated tags, in a cloud display.
What used to be called "Tag Cloud" (ISBD subject links for UNIMARC libraries)
should be called a "Subject ...".  AFAICT it doesn't currently use a "cloudy"
display, so some other term might be more appropriate.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
2008-10-28 22:09:22 +01:00
Chris Cormack 6bdbd5a4b6 Working on preconfiguring for the package
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
2008-10-28 22:09:22 +01:00
Chris Cormack cd0a2e01d4 Bumping patch number, new package release
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
2008-10-28 22:09:22 +01:00
Chris Cormack b8754b2d08 Starting work on the postinst file
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
2008-10-28 22:09:22 +01:00
Chris Cormack 4c4501058f More work on packaging
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
2008-10-28 22:09:22 +01:00
Chris Cormack 909184f723 Fixing some bugs in the package, updating dependencies
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
2008-10-28 22:09:22 +01:00
Chris Cormack b43b8fd383 Bumping patch number
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
2008-10-28 22:09:22 +01:00
Chris Cormack a13a432942 Still working
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
2008-10-28 22:09:22 +01:00
Chris Cormack 6eeb2e439f Keeping on working on the packaging
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
2008-10-28 22:09:22 +01:00
Chris Cormack 196a4a6ccf More packaging work
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
2008-10-28 22:09:21 +01:00
Chris Cormack 3ab34e5ce1 Files needed for packaging
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
2008-10-28 22:09:21 +01:00
Andrew Moore 9adb3aa044 Bug 2400 [18/18]: fixing pod syntax in C4/SIP/Sip/MsgType.pm
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
2008-10-28 22:09:21 +01:00
Andrew Moore 15f74c64fa Bug 2400 [17/18]: fixing pod syntax in C4/SIP/ILS/Item.pm
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
2008-10-28 22:09:21 +01:00
Andrew Moore 1f06fcef95 Bug 2400 [16/18]: fixing pod syntax in C4/SIP/ILS/Patron.pm
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
2008-10-28 22:09:21 +01:00
Andrew Moore c0b617124f Bug 2400 [15/18]: fixing pod syntax in C4/External/BakerTaylor.pm
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
2008-10-28 22:09:21 +01:00
Andrew Moore 156a2a1ca0 Bug 2400 [14/18]: fixing pod syntax in C4/Barcodes/incremental.pm
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
2008-10-28 22:09:21 +01:00
Andrew Moore 8182b8ac80 Bug 2400 [13/18]: fixing pod syntax in C4/Barcodes/hbyymincr.pm
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
2008-10-28 22:09:21 +01:00
Andrew Moore d16051f533 Bug 2400 [12/18]: fixing pod syntax in C4/NewsChannels.pm
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
2008-10-28 22:09:21 +01:00
Andrew Moore 09051dd88f Bug 2400 [11/18]: fixing pod syntax in C4/Labels.pm
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
2008-10-28 22:09:21 +01:00
Andrew Moore e0e153441d Bug 2400 [10/18]: fixing pod syntax in C4/ImportBatch.pm
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
2008-10-28 22:09:21 +01:00
Andrew Moore ba25e5c48a Bug 2400 [9/18]: fixing pod syntax in C4/Overdues.pm
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
2008-10-28 22:09:21 +01:00
Andrew Moore e2c25322ac Bug 2400 [8/18]: fixing pod syntax in C4/Koha.pm
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
2008-10-28 22:09:20 +01:00
Andrew Moore a67c249883 Bug 2400 [7/18]: fixing pod syntax in C4/Barcodes.pm
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
2008-10-28 22:09:20 +01:00
Andrew Moore 62f605c508 Bug 2400 [6/18]: fixing pod syntax in C4/Serials.pm
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
2008-10-28 22:09:20 +01:00
Andrew Moore 6ea37d9700 Bug 2400 [5/18]: fixing pod syntax in C4/SMS.pm
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
2008-10-28 22:09:20 +01:00
Andrew Moore 83ec0e6c84 Bug 2400 [4/18]: fixing pod syntax in C4/Reports.pm
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
2008-10-28 22:09:20 +01:00
Andrew Moore c1b7042e6b Bug 2400 [3/18]: fixing pod syntax in C4/Log.pm
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
2008-10-28 22:09:20 +01:00