Commit graph

12218 commits

Author SHA1 Message Date
540d8307bf fix another link to koha-community.org
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-05-26 16:30:26 +12:00
29eadaa1f7 fix a common "developement" typo
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-05-26 16:30:25 +12:00
2abb0821ae bug 4377: ensure HOLD_PRINT letter added during installation and upgrade (DBrev 135)
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-05-26 16:30:25 +12:00
a4c06ad0f0 bug 4311: respect OPACXSLTResultsDisplay
Check OPACXSLTResultsDisplay instead of XSLTResultsDisplay when
determining whether to use the XSLT bib results stylesheet for
OPAC search results.

In the process, added a new $search_context parameter to
C4::Search::searchResults() to specify whether results
are to be served up for the staff interface or for the
OPAC.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-05-26 16:30:25 +12:00
3c4b709fff bug 4018: remove duplicate unAPI link when XSLT bib details display on
The unAPI link is now added only in opac-detail.tmpl.  More than
one unAPI link in the same page was causing a bit of indigestion
for Zotero, which interprets multiple unAPI links as specifying
more than one resource on a given page.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-05-26 16:30:25 +12:00
Lars Wirzenius
ef6854cb65 Install the admin scripts.
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-05-26 16:30:25 +12:00
Lars Wirzenius
31179704b2 Make koha-create be able to handle manual database creation.
This is necessary if we do not have access to DB server with sufficient
permissions. The DB server is used for other things, that may well be
the case.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-05-26 16:30:25 +12:00
Lars Wirzenius
f12ff9e0c6 Add support for a remote mysql server.
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-05-26 16:30:25 +12:00
Lars Wirzenius
d2985c6c92 Use /etc/mysql/koha-common.cnf instead of the Debian one.
koha-common.postinst now creates a symlink to the Debian one.
The sysadmin may replace that manually with something that allows
Koha to access a remote mysql server.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-05-26 16:30:24 +12:00
Lars Wirzenius
434b7dcfe4 Add koha-foreach, a script to run a command for each Koha instance.
Use script to enable the build_Holds_queue.pl cron job.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-05-26 16:30:24 +12:00
Lars Wirzenius
93e5975c15 Centralize creation of Koha instance dirs.
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-05-26 16:30:24 +12:00
Lars Wirzenius
b8312cab08 Add scripts to start, stop, restart Zebra, and rebuild its indexes.
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-05-26 16:30:24 +12:00
Lars Wirzenius
7c1dd79cb0 Add koha-upgrade-schema, a script to upgrade the database schema.
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-05-26 16:30:24 +12:00
Lars Wirzenius
896048dd59 Add koha-dump-defaults, a script to dump a defaults file.
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-05-26 16:30:23 +12:00
Lars Wirzenius
ff92354a60 Add koha-reset-passwd, a script for resetting a user's password.
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-05-26 16:30:23 +12:00
Lars Wirzenius
c63946dd34 Add koha-enable, a script to re-enable a Koha instance.
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-05-26 16:30:23 +12:00
Lars Wirzenius
0a3b9856da Add koha-disable, a script to disable a Koha instance.
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-05-26 16:30:23 +12:00
Lars Wirzenius
ebd3231d1b Add koha-restore, a script to restore a Koha instance from a dump.
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-05-26 16:30:22 +12:00
Lars Wirzenius
3302f949af Add koha-list, a script to list all Koha instances.
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-05-26 16:30:22 +12:00
Lars Wirzenius
d9654972ac Add koha-dump, a script to dump a Koha site.
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-05-26 16:30:22 +12:00
Lars Wirzenius
14c5540ab8 Add koha-remove, a script to remove a Koha instance.
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-05-26 16:30:22 +12:00
Lars Wirzenius
42b948485a Add koha-create, a script to create a new Koha instance.
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-05-26 16:30:22 +12:00
Lars Wirzenius
626c1dcb3a Add koha-post-install-setup, a script to be run by sysadmin post-install.
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-05-26 16:30:22 +12:00
Lars Wirzenius
8c7ce82ad6 Replace dependencies on koha-dev-env with list of packages.
The dependencies are needed both at build time and at run time. Build
time needs them for running tests. To avoid duplicating the (long!)
list of dependencies, we do a little bit of trickery, and generate
a koha:Depends substvar, from all build dependencies (except debhelper),
and use ${koha:Depends} in the koha-common (not koha) Depends header.
A little bit tricky, but works.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-05-26 16:30:21 +12:00
Lars Wirzenius
2f4d57168d Split off koha-common.
koha-common will be suitable for hosts with multiple Koha instances,
or those that otherwise need to do thing differently from the main
koha package.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-05-26 16:30:21 +12:00
Lars Wirzenius
5d6857b8a6 Set version number in debian/changelog to indicate upcoming 3.2.
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-05-26 16:30:21 +12:00
Lars Wirzenius
17a508e053 Convert debian/copyright file to the DEP5 format.
The DEP5 format is machine-parseable, which will help keep track of
things in the future.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-05-26 16:30:21 +12:00
Lars Wirzenius
eba54ae943 Switch to native source format.
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-05-26 16:30:21 +12:00
Lars Wirzenius
7676570adc Bugfix: Install old yui stylesheets, since Koha needs them.
Also fix paths, since we can't install them where Koha expects them,
since that location is used by the Debian packaged yui.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-05-26 16:30:21 +12:00
Lars Wirzenius
9c019e607a Bugfix: Create the jquery.js symlink for opac to the right target.
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-05-26 16:30:20 +12:00
Lars Wirzenius
95ead17bd9 Bugfix: Remove Debian packaging files remaining from old packaging effort.
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-05-26 16:30:20 +12:00
Lars Wirzenius
fccc1eb75a Bugfix: Remove pointless executable bits from sql files.
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-05-26 16:30:20 +12:00
c74710b007 removed unconditional warn introduced in previous patch
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-05-25 06:55:44 +12:00
Nahuel ANGELINETTI
e3387b9c4f (bug #4487) permit - and . in callnumber plugin
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-05-25 06:55:44 +12:00
52b00b7589 Correct position of non-sorted table column
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-05-25 06:55:44 +12:00
4a628c4265 Revert "(bug #3798) fix changing request branch"
This reverts commit ad01b57bcc.

This commit had introduced bug 4526.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-05-25 06:55:44 +12:00
ef97c46604 Corrected: Fix for Bug 4529, columns on circ history all screwy
- fix formatting of last renew date
- Add table zebra striping
- Other markup structure changes
- Revised template assumes that issues.branchcode == checkout library and displays
  that value instead of issues.issuingbranch (which is always empty, see Bug 2806)
  issues.branchcode seems to reflect the item's holding branch *after* having
  been updated as part of the checkout transaction.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-05-25 06:55:44 +12:00
Alex Arnaud
c317cb5d4a (BUG #4521) aqbudgets.pl - Transform undefined budget spent value to 0.00 value
This patch tranform the undefined value of budget spent to a money value which equals 0.00.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-05-25 06:55:44 +12:00
Colin Campbell
04a832c81c Remove obsolete variables from basket.pl
basket.pl calculates variables i, odd and count which are
no longer used in the template
removing them allows some simplification of the main loop
and cuts out on an extra db call
Loop through basketgroups also made more readable
Try to dimish the number of undef warnings filling the logs

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-05-25 06:55:44 +12:00
Colin Campbell
8a8358b179 Remove generation of an unnecessary warning
We've checked the return for definedness and
assigned an empty string to it ao we don't want
to make it undef again

This is a good argument that cascading if-elses expecially with
long unstructured elses are a bad idea

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-05-25 06:55:43 +12:00
Colin Campbell
7cd47b0e84 Bug 4510 Script processes single supplier not an array
Script was written as though it had an array rather than
a single supplier. Replaced the excess punctuation with a single
supplier variable

replaced the C-style currency loop with a simpler perl-style one
we only need 1 loop not multiples
Changed variable name $GST to $tax_rate it's not magical and not a constant
and we all know what tax is
Fetch Contract data once rather than twice from two different modules
Correct size of discount data on display

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-05-25 06:55:43 +12:00
Nahuel ANGELINETTI
2b86da48a4 (bug #4522) fix plugin unimarc 210$c
This patch change the way to retrieve the value to insert in the record.
The way it was done, was verry ugly.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-05-25 06:55:43 +12:00
Colin Campbell
88d0847523 Bug 4517 - add authentication to reorder_members.pl
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-05-25 06:55:43 +12:00
Nicole Engard
0dc69703bb update sample news on new install with koha-community.org urls
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-05-25 06:55:43 +12:00
40818ef9d8 Fix for Bug 4534, Box for SQL not visible in "Create Report from SQL"
Changed style of SQL box and altered markup for a somewhat
cleaner layout

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-05-25 06:55:42 +12:00
01c783e3f1 moved INSTALL.debian-lenny to INSTALL.debian
The old INSTALL.debian was specific to Etch, which is
no longer supported by the Debian project.  Lenny
is the current Debian stable.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-05-25 06:55:42 +12:00
77dba26da8 updated links to Git usage wiki page
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-05-25 06:55:42 +12:00
c201c7b3ed corrected links to mailing lists
They use http, not https.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-05-25 06:55:42 +12:00
Chris Nighswonger
705664c799 Updating INSTALL documents to Reflect lists and bugs URL Changes
wiki links will be changed as the content is moved over

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-05-25 06:55:41 +12:00
6a141bbedf updated links in README
Following patch made by Chris Cormack.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-05-25 06:55:41 +12:00