Commit Graph

17066 Commits

Author SHA1 Message Date
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
Lars Wirzenius 6241d54c52 merged from upstream master 2010-05-26 16:14:04 +12:00
Galen Charlton ede20857ea bug 4816: require authentication for placerequest.pl
Otherwise, it was possible to construct a URL to place
hold requests without authorization.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-05-25 23:30:51 -04:00
Galen Charlton 71a215f4bf bug 4386: fix email hold filled notifications
Call to GetMembers() was using the old parameter style.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-05-25 23:30:50 -04:00
Galen Charlton ef58c445d3 removed needless imports of the YAML module
Removed instances of 'use YAML' that were either completely
unnecessary or which were used only in debug code.  Also
removed a needless import of Data::Dumper.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-05-25 23:30:48 -04:00
Garry Collum c45ddf7ff7 Bug 4199: Adds ability to print routing slip. Patch 2.
Previous patch added an invalid XHTML element.  This patch fixes it.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-05-25 15:52:59 -04:00
Garry Collum e6a416a847 Bug 4199: Adds ability to print routing slip from serials-collection.
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-05-25 15:52:58 -04:00
Garry Collum 59622c22da Bug 4805: Fixes multiple subscriptionid's being passed to serials-collection.
This is a replacement patch for my previous patch.

This patch insures that only unique subscriptionids are defined in the serials-edit form.  Multiple ids are passed to serials-collection, but not multiple copies of the same id.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-05-25 15:46:14 -04:00
Galen Charlton cfadc92c90 fix another link to koha-community.org
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-05-25 15:23:49 -04:00
Galen Charlton 64daee5495 fix a common "developement" typo
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-05-25 14:38:38 -04:00
Galen Charlton 411bfaabb8 bug 4377: ensure HOLD_PRINT letter added during installation and upgrade (DBrev 135)
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-05-25 12:54:45 -04:00
Galen Charlton b1ed3af633 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-25 11:22:47 -04:00
Galen Charlton f243b83ec0 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-25 09:29:31 -04:00
Lars Wirzenius a9f918a8ae Install the admin scripts.
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-05-25 08:04:32 -04:00
Lars Wirzenius 50503da119 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-25 08:04:32 -04:00
Lars Wirzenius df6767467b Add support for a remote mysql server.
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-05-25 08:04:32 -04:00
Lars Wirzenius 2ae1e3c21d 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-25 08:04:32 -04:00
Lars Wirzenius cfd5fae5a3 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-25 07:59:45 -04:00
Lars Wirzenius b25fa64cd6 Centralize creation of Koha instance dirs.
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-05-25 07:59:42 -04:00
Lars Wirzenius 2e626be90c Add scripts to start, stop, restart Zebra, and rebuild its indexes.
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-05-25 07:59:39 -04:00
Lars Wirzenius 439989924d Add koha-upgrade-schema, a script to upgrade the database schema.
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-05-25 07:59:35 -04:00
Lars Wirzenius b69b670d63 Add koha-dump-defaults, a script to dump a defaults file.
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-05-25 07:59:34 -04:00
Lars Wirzenius 5789aea5bb Add koha-reset-passwd, a script for resetting a user's password.
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-05-25 07:59:32 -04:00
Lars Wirzenius 321300b4f7 Add koha-enable, a script to re-enable a Koha instance.
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-05-25 07:59:31 -04:00
Lars Wirzenius 71e585df2f Add koha-disable, a script to disable a Koha instance.
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-05-25 07:59:29 -04:00
Lars Wirzenius 01bd539cab Add koha-restore, a script to restore a Koha instance from a dump.
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-05-25 07:59:27 -04:00
Lars Wirzenius 83f0c9681b Add koha-list, a script to list all Koha instances.
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-05-25 07:59:25 -04:00
Lars Wirzenius 41b1bfcab7 Add koha-dump, a script to dump a Koha site.
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-05-25 07:59:24 -04:00
Lars Wirzenius 561bc593a8 Add koha-remove, a script to remove a Koha instance.
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-05-25 07:59:22 -04:00
Lars Wirzenius 1285d5a133 Add koha-create, a script to create a new Koha instance.
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-05-25 07:59:20 -04:00
Lars Wirzenius 483ef82cd3 Add koha-post-install-setup, a script to be run by sysadmin post-install.
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-05-25 07:59:19 -04:00
Lars Wirzenius 6340d22468 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-25 07:59:12 -04:00