Commit Graph

8905 Commits

Author SHA1 Message Date
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
Andrew Moore e8690d0942 Bug 2400 [2/18]: fixing pod syntax in C4/Scheduler.pm
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
2008-10-28 22:09:20 +01:00
Andrew Moore 3d19494d1c Bug 2400 [1/18]: fixing pod syntax in C4/Acquisitions.pm
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
2008-10-28 22:09:20 +01:00
Joshua Ferraro d95f1d6dc0 Nomenclature cleanup prior to release 2008-08-10 16:40:37 -05:00
Joshua Ferraro a2fdf794d3 Changing nomenclature prior to release, removing -stable 2008-08-10 16:39:53 -05:00
Ryan Higgins 988f66390b Update labels formatstring parse to pick the correct item tag from MARC data.
This patch allows use of "952a" e.g. in labels format string, getting the item-level
data from the correct MARC tag.  Previously it just grabbed the data from the first item tag.

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-08-10 16:18:10 -05:00
Ryan Higgins 49ffa55a2e Update longoverdue.pl cron job to manage setting lost values.
This patch deprecates the NoReturnSetLost system preference, which, as it
turns out, was not implemented anyway.  New longoverdue script allows one to
specify on the commandline system-wide delays for changing items to different
lost statuses, and optionally charge for the item.

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-08-10 15:54:29 -05:00
Joshua Ferraro cee096edba Adding some missing folks to the About page 2008-08-10 15:52:49 -05:00
Joshua Ferraro ef4f62e714 Adding three statistics files that NPL uses, they don't
work 100% with stock 3.0 yet but are good examples of
custom scripts that libraries might want to write and
schedule periodically
2008-08-10 15:38:42 -05:00
Joshua Ferraro def09f5a21 Updates to the example crontab 2008-08-10 15:18:48 -05:00