Commit graph

12210 commits

Author SHA1 Message Date
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
Chris Nighswonger
7289c2ead3 Updating INSTALL documents
This provides the following updates to the INSTALL documents:

- Links updated to reflect currently available community resources at their new locations
- Removes depreciated zebraqueue instructions
- Adds notes regarding the proper usage of rebuild_zebra.pl

NOTE: Remaining links will be updated as these resources are moved over and available

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-05-25 06:55:41 +12:00
cc424b4f65 bug 4464: properly check if a subfield is populated if it is in a textarea
Subfields whose contents are longer than 100 characters are represented on the
bib form using a <textarea> instead of a text <input>.  The check on whether
at least one subfield for a mandatory field is populated wasn't not
checking for <textarea> subfields.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-05-25 06:55:41 +12:00
Garry Collum
f8e27dea95 Bug 2889: Adds highlighting to serials-collection.tmpl
Also fixes inconsistencies in the capitalization in the headings.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-05-25 06:55:41 +12:00
Garry Collum
c51fb551e8 Bug 3910: Removes an erroneous heading from the serials search results.
Removes the 'Search for Serial Routing' heading from the serials search result screen.

There is no code in the template that performs a routing search, and links to the routing tables are provided in the serials search results.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-05-25 06:55:41 +12:00
5cbdfcadc2 bug 4505: updated release notes
Minimum version of Perl required to run Koha is
now 5.8.8.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-05-25 06:55:40 +12:00
Chris Cormack
64c6ffe610 Bug 4505 - Bumping the perl version to 5.8.8 or greater
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-05-25 06:55:40 +12:00
Nicole Engard
0006c325be bug 4802 - fix swapped files in acq help
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-05-25 06:55:40 +12:00
Nicole Engard
309a9305e2 bug 4802 add missing order search help file
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-05-25 06:55:40 +12:00