koha.git
14 years agoMerge branch 'master' of http://manage-gmc.dev.kohalibrary.com/koha-installer
Joshua Ferraro [Wed, 19 Dec 2007 19:48:55 +0000 (13:48 -0600)]
Merge branch 'master' of manage-gmc.dev.kohalibrary.com/koha-installer

14 years agoFix for bug 1617, LabelMARCview not being used
Chris Cormack [Wed, 19 Dec 2007 01:25:30 +0000 (19:25 -0600)]
Fix for bug 1617, LabelMARCview not being used

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
14 years agoincorect syntax fix
Joshua Ferraro [Tue, 18 Dec 2007 22:50:39 +0000 (16:50 -0600)]
incorect syntax fix

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
14 years agonomenclature fix s/On issue/Checked out/
Joshua Ferraro [Tue, 18 Dec 2007 22:50:38 +0000 (16:50 -0600)]
nomenclature fix s/On issue/Checked out/

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
14 years agofixing additional authors links on detail pages in opac and staff catalogs
Joshua Ferraro [Tue, 18 Dec 2007 22:50:37 +0000 (16:50 -0600)]
fixing additional authors links on detail pages in opac and staff catalogs

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
14 years agoadd sort_by to availability limit
Joshua Ferraro [Tue, 18 Dec 2007 22:50:36 +0000 (16:50 -0600)]
add sort_by to availability limit

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
14 years agoMerge git://git.koha.org/pub/scm/koha
Galen Charlton [Tue, 18 Dec 2007 23:46:54 +0000 (17:46 -0600)]
Merge git://git.koha.org/pub/scm/koha

14 years agoApplying standard dialog styles to confirmation messages
Owen Leonard [Tue, 18 Dec 2007 22:16:07 +0000 (16:16 -0600)]
Applying standard dialog styles to confirmation messages

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
14 years agoSome changes to finish out Bug 1514.
Owen Leonard [Tue, 18 Dec 2007 22:16:06 +0000 (16:16 -0600)]
Some changes to finish out Bug 1514.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
14 years agoMarkup and style changes for new paged search results.
Owen Leonard [Tue, 18 Dec 2007 22:16:05 +0000 (16:16 -0600)]
Markup and style changes for new paged search results.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
14 years agoFixing some markup issues and alternating table row colors.
Owen Leonard [Tue, 18 Dec 2007 22:16:04 +0000 (16:16 -0600)]
Fixing some markup issues and alternating table row colors.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
14 years agoA couple of changes to address issues raised by Bug 1631: City, State label. Also...
Owen Leonard [Tue, 18 Dec 2007 22:16:03 +0000 (16:16 -0600)]
A couple of changes to address issues raised by Bug 1631: City, State label. Also streamlining changecity js (no need to have inline javascript generated by the Perl script).

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
14 years agoAuto-submit had not been removed from sort-by menu, it had been moved from inline...
Owen Leonard [Tue, 18 Dec 2007 22:16:02 +0000 (16:16 -0600)]
Auto-submit had not been removed from sort-by menu, it had been moved from inline HTML to a jquery function in <head>. If this is not working properly, please file a bug.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
14 years agoindex=kw searches now search all indexes for nozebra
Mason James [Tue, 18 Dec 2007 22:16:01 +0000 (16:16 -0600)]
index=kw searches now search all indexes for nozebra

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
14 years agoFix so item.renewals is updated by a renewal, and a zebraop is triggered
Chris Cormack [Tue, 18 Dec 2007 20:38:23 +0000 (14:38 -0600)]
Fix so item.renewals is updated by a renewal, and a zebraop is triggered

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
14 years agomembers.js - return false when validation fails.
Joe Atzberger [Tue, 18 Dec 2007 19:06:37 +0000 (13:06 -0600)]
members.js - return false when validation fails.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
14 years agomemberentry.pl - dates validation, error passing to template
Joe Atzberger [Tue, 18 Dec 2007 19:06:36 +0000 (13:06 -0600)]
memberentry.pl - dates validation, error passing to template

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
14 years agomemberentry.pl - $debug-ify warn messages
Joe Atzberger [Tue, 18 Dec 2007 19:06:35 +0000 (13:06 -0600)]
memberentry.pl - $debug-ify warn messages

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
14 years agoinstaller: deal with permissions in fix-perl-path.PL
Galen Charlton [Tue, 18 Dec 2007 21:11:28 +0000 (15:11 -0600)]
installer: deal with permissions in fix-perl-path.PL

Files in blib generally are a-w on Unix platforms.
Modified fix-perl-path.PL to temporarily set them
o+w while file is being checked.

14 years agoinstaller: made $DEBUG in fix-perl-path.pl contigent on DEBUG env var
Galen Charlton [Tue, 18 Dec 2007 20:54:51 +0000 (14:54 -0600)]
installer: made $DEBUG in fix-perl-path.pl contigent on DEBUG env var

14 years agoinstaller: adjusted conditional for setting exported variables
Galen Charlton [Tue, 18 Dec 2007 20:53:47 +0000 (14:53 -0600)]
installer: adjusted conditional for setting exported variables

Now checks for win32, and assumes (for now) a default
for all other platforms.

14 years agoWin32 support: Added differentiation between -w perl switch in shebang line.
Chris Nighswonger [Tue, 18 Dec 2007 19:41:29 +0000 (14:41 -0500)]
Win32 support: Added differentiation between -w perl switch in shebang line.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
14 years agoWin32 support: Switch DEBUG off and corrected warning bug.
Chris Nighswonger [Tue, 18 Dec 2007 19:16:27 +0000 (14:16 -0500)]
Win32 support: Switch DEBUG off and corrected warning bug.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
14 years agoWin32 support: Stripped ^M line endings and various other housekeeping.
Chris Nighswonger [Tue, 18 Dec 2007 18:59:10 +0000 (13:59 -0500)]
Win32 support: Stripped ^M line endings and various other housekeeping.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
14 years agoWin32 support: Adding a script to modify shebang lines per installation platfom.
Chris Nighswonger [Tue, 18 Dec 2007 18:59:09 +0000 (13:59 -0500)]
Win32 support: Adding a script to modify shebang lines per installation platfom.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
14 years agoWin32 support: Moved shebang sub to separate script to be called in pl_files
Chris Nighswonger [Tue, 18 Dec 2007 18:59:08 +0000 (13:59 -0500)]
Win32 support: Moved shebang sub to separate script to be called in pl_files

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
14 years agoInitial work on adding Win32 support to installer.
Chris Nighswonger [Mon, 17 Dec 2007 17:44:14 +0000 (12:44 -0500)]
Initial work on adding Win32 support to installer.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
14 years agoinstaller: bug 1640: deal with '$' in passwords
Galen Charlton [Tue, 18 Dec 2007 17:31:11 +0000 (11:31 -0600)]
installer: bug 1640: deal with '$' in passwords

14 years agoinstaller: added (in some cases back) module deps
Galen Charlton [Tue, 18 Dec 2007 17:11:36 +0000 (11:11 -0600)]
installer: added (in some cases back) module deps

14 years agocase-insensitive match on query highlighting
Joshua Ferraro [Tue, 18 Dec 2007 07:34:30 +0000 (01:34 -0600)]
case-insensitive match on query highlighting

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
14 years agofix for bug 1658: <span class="term"> in search terms
Joshua Ferraro [Tue, 18 Dec 2007 07:34:29 +0000 (01:34 -0600)]
fix for bug 1658: <span class="term"> in search terms

Also, adds google-style search query highlighting anywhere
in the record

Need to check if this fix is in the OPAC

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
14 years agosynch'ing librarian & opac hierarchy css
Paul POULAIN [Tue, 18 Dec 2007 07:34:28 +0000 (01:34 -0600)]
synch'ing librarian & opac hierarchy css

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
14 years agobugfix : the path to css has been modified
Paul POULAIN [Tue, 18 Dec 2007 07:34:27 +0000 (01:34 -0600)]
bugfix : the path to css has been modified

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
14 years agofix for bug 1604: when doing a 'scan', "count" isn't displayed
Joshua Ferraro [Tue, 18 Dec 2007 02:25:02 +0000 (20:25 -0600)]
fix for bug 1604: when doing a 'scan', "count" isn't displayed

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
14 years agoadding document.sortbyform.submit() for auto-submit of resort form
Joshua Ferraro [Tue, 18 Dec 2007 01:22:44 +0000 (19:22 -0600)]
adding document.sortbyform.submit() for auto-submit of resort form

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
14 years agoadding limit without availability
Joshua Ferraro [Tue, 18 Dec 2007 01:22:43 +0000 (19:22 -0600)]
adding limit without availability

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
14 years agoadding limit by availability to staff client
Joshua Ferraro [Tue, 18 Dec 2007 01:22:42 +0000 (19:22 -0600)]
adding limit by availability to staff client

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
14 years agofix limit-yr compatibility with sort_by option
Joshua Ferraro [Tue, 18 Dec 2007 01:22:41 +0000 (19:22 -0600)]
fix limit-yr compatibility with sort_by option

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
14 years ago- Changes to the way patron renewals are handled. Circulation page now offers 'renew...
Owen Leonard [Tue, 18 Dec 2007 01:22:40 +0000 (19:22 -0600)]
- Changes to the way patron renewals are handled. Circulation page now offers 'renew' link alongside warning about patron expiration (as in dev_week), using the new setstatus script.

- Member pages now use member toolbar include instead of circ one
- setstatus.pl now uses 3.0's patron renewal function
- Adding missing item-bullet.gif (Bug 1659)

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
14 years agoChanging input stype="button" to input type="submit" so that form can be submitted...
Owen Leonard [Tue, 18 Dec 2007 01:22:39 +0000 (19:22 -0600)]
Changing input stype="button" to input type="submit" so that form can be submitted even if javascript is disabled.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
14 years agoFix for bug 1655, fines not displaying on moremember.pl
Chris Cormack [Mon, 17 Dec 2007 23:50:00 +0000 (17:50 -0600)]
Fix for bug 1655, fines not displaying on moremember.pl

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
14 years agoAdding online help for Inventory/Stocktaking feature under Tools
Russel Garlick [Mon, 17 Dec 2007 23:25:11 +0000 (17:25 -0600)]
Adding online help for Inventory/Stocktaking feature under Tools

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
14 years agomoremember.tmpl - remove debugging line and move the leftmost "Edit" link inside...
Joe Atzberger [Mon, 17 Dec 2007 19:24:30 +0000 (13:24 -0600)]
moremember.tmpl - remove debugging line and move the leftmost "Edit" link inside div (like the others)

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
14 years agoDelete extraneous empty file.
Joe Atzberger [Mon, 17 Dec 2007 19:24:29 +0000 (13:24 -0600)]
Delete extraneous empty file.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
14 years agofixed unmatched TMPL_UNLESS
Galen Charlton [Mon, 17 Dec 2007 18:42:04 +0000 (12:42 -0600)]
fixed unmatched TMPL_UNLESS

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
14 years agofixed reference to branchrelations.categorycode
Galen Charlton [Mon, 17 Dec 2007 18:42:03 +0000 (12:42 -0600)]
fixed reference to branchrelations.categorycode

Previous patch had referred to column as category_id,
which is incorrect.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
14 years agoadded 'update child to adult' dropbox option
Mason James [Mon, 17 Dec 2007 18:42:02 +0000 (12:42 -0600)]
added 'update child to adult' dropbox option

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
14 years agoadding back result_number ... if you don't want it to show
Joshua Ferraro [Mon, 17 Dec 2007 18:37:05 +0000 (12:37 -0600)]
adding back result_number ... if you don't want it to show

up by default then we need a syspref for showing/hiding it,
rather than just removing it from the template ;-)

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
14 years agoimprovements to query_desc and limit_desc
Joshua Ferraro [Mon, 17 Dec 2007 18:32:26 +0000 (12:32 -0600)]
improvements to query_desc and limit_desc

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
14 years agoadding query_desc and limit_desc to staff catalog search
Joshua Ferraro [Mon, 17 Dec 2007 18:12:30 +0000 (12:12 -0600)]
adding query_desc and limit_desc to staff catalog search

when no hits found

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
14 years agoUpdates to date indexing and search processing
Joshua Ferraro [Mon, 17 Dec 2007 17:54:54 +0000 (11:54 -0600)]
Updates to date indexing and search processing

Summary of Koha 3.0 date indexing for MARC21:

Index                   Expected format         Notes
-----------------------------------------------------
date-entered-on-file    [yymmdd]                (008/0-5, indexed in word and sort indexes)
copydate                [yyyy]                  (260$c, indexed in word and sort indexes)
acqdate                 [yyyy-mm-dd]            (952$d, indexed in date,word,sort indexes)
pubdate                 [yyyy]                  (008/7-10, indexed in year,word,sort indexes)

Template Search Parameters Tested:
        limit-yr (either yyyy or yyyy-yyyy) (added processing for ge le, structure attribute st-numeric, etc.)
        yr pubdate (yyyy)
        acqdate,st-date-normalized (yyyy-mm-dd)

Template Sort Parameters Tested:
        pubdate_dsc
        pubdate_asc
        acqdate_dsc
        acqdate_asc

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
14 years agofix to add wordlist default when QueryStemming is off
Joshua Ferraro [Mon, 17 Dec 2007 15:28:13 +0000 (09:28 -0600)]
fix to add wordlist default when QueryStemming is off

also, a fix to default behavior when QueryWeighting is off

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
14 years agoinstaller: fixed default location of koha-conf.xml in README
Galen Charlton [Fri, 14 Dec 2007 22:51:30 +0000 (16:51 -0600)]
installer: fixed default location of koha-conf.xml in README

14 years agoinstaller: fixed typo in version number
Galen Charlton [Fri, 14 Dec 2007 22:44:13 +0000 (16:44 -0600)]
installer: fixed typo in version number

14 years agoweb installer: improve DB permissions check
Galen Charlton [Fri, 14 Dec 2007 22:32:43 +0000 (16:32 -0600)]
web installer: improve DB permissions check

MySQL-only: improve regex to make sure we are
checking permission on the correct database, not
on another database (when the DB name is a
subset of the DB user's name)

14 years agoinstaller: always accept default value as valid
Galen Charlton [Fri, 14 Dec 2007 21:45:41 +0000 (15:45 -0600)]
installer: always accept default value as valid

14 years agoinstaller: command-line scripts improve finding C4 modules
Galen Charlton [Fri, 14 Dec 2007 20:24:19 +0000 (14:24 -0600)]
installer: command-line scripts improve finding C4 modules

Command-line scripts now use a new SCRIPT_DIR/kohalib.pl
to put installed location of Koha's Perl modules
into @INC.

14 years agoinstaller: fix MARC::Crosswalk::DublinCore version
Galen Charlton [Fri, 14 Dec 2007 16:07:51 +0000 (10:07 -0600)]
installer: fix MARC::Crosswalk::DublinCore version

14 years agoinstaller: now can use env vars to set installation variables
Galen Charlton [Thu, 13 Dec 2007 23:37:22 +0000 (17:37 -0600)]
installer: now can use env vars to set installation variables

* Set default value for named parameters, e.g., DB_USER
* Override directory targets, e.g., KOHA_CONF_DIR

14 years agoinstaller: made kohaversion.pl source for package version number
Galen Charlton [Thu, 13 Dec 2007 22:46:33 +0000 (16:46 -0600)]
installer: made kohaversion.pl source for package version number

Version now taken from kohaversion.pl instead of
C4/Context.pm, aligning installer with the rest
of Koha's internal version checks.

14 years agoinstaller: location of koha-conf.xml
Galen Charlton [Thu, 13 Dec 2007 20:17:08 +0000 (14:17 -0600)]
installer: location of koha-conf.xml

* rewrite-config.PL now puts in installed location
  of koha-conf.xml in C4/Context.pm so that
  correct config can be found even when
  KOHA_CONF is not set.  Note that setting KOHA_CONF
  will still override path set by installer.
* changed references from koha.xml to koha-conf.xml

14 years agoinstaller: make rewrite-config.PL change only defined parameters
Galen Charlton [Thu, 13 Dec 2007 20:08:16 +0000 (14:08 -0600)]
installer: make rewrite-config.PL change only defined parameters

Previously, it tried to slurp up all text between two
occurences of '__'

14 years agoinstaller: fixed problem in MARC21 biblio record.abs
Galen Charlton [Thu, 13 Dec 2007 15:07:46 +0000 (09:07 -0600)]
installer: fixed problem in MARC21 biblio record.abs

uri is defined in bib1.att, but url is not

14 years agoinstaller: fixed *_WWW_DIR for 'dev' install mode
Galen Charlton [Wed, 12 Dec 2007 17:44:04 +0000 (11:44 -0600)]
installer: fixed *_WWW_DIR for 'dev' install mode

14 years agoinstaller: reverted to VERSION_FROM => 'C4/Context.pm'
Galen Charlton [Wed, 12 Dec 2007 17:23:21 +0000 (11:23 -0600)]
installer: reverted to VERSION_FROM => 'C4/Context.pm'

14 years agoinstaller: commented out line in MARC21 records.abs
Galen Charlton [Wed, 12 Dec 2007 17:18:05 +0000 (11:18 -0600)]
installer: commented out line in MARC21 records.abs

This was causing Zebra to fail to index bib records.
NOTE: this is not a permanent fix.

14 years agoinstaller: updated required MySQL user grants
Galen Charlton [Wed, 12 Dec 2007 17:10:59 +0000 (11:10 -0600)]
installer: updated required MySQL user grants

14 years agocorrected zebrasrv command in README.txt
Galen Charlton [Wed, 12 Dec 2007 17:05:51 +0000 (11:05 -0600)]
corrected zebrasrv command in README.txt

14 years agoinstaller: starting some changes to README.txt
Galen Charlton [Wed, 12 Dec 2007 16:45:36 +0000 (10:45 -0600)]
installer: starting some changes to README.txt

14 years agoinstaller: various changes
Galen Charlton [Wed, 12 Dec 2007 16:42:19 +0000 (10:42 -0600)]
installer: various changes

* renamed EXAMPLE_DIR to MISC_DIR
* assigned installation targets for a couple more files
* changed ZOOM module dependency back to Net::Z3950::ZOOM
  (installing that module from CPAN will also install ZOOM,
   and ZOOM.pm does not export $VERSION for the dependency
   check).
* more work to make 'single' and 'dev' install modes function
* set permissions of installed files -- all files now
  writeable by the Koha user

14 years agoinstaller: KOHA_LOG_DIR => LOG_DIR
Galen Charlton [Tue, 11 Dec 2007 23:07:46 +0000 (17:07 -0600)]
installer: KOHA_LOG_DIR => LOG_DIR

14 years agoinstaller: fixed chown invocation; added skel for KOHA_LOG_DIR
Galen Charlton [Tue, 11 Dec 2007 23:04:23 +0000 (17:04 -0600)]
installer: fixed chown invocation; added skel for KOHA_LOG_DIR

14 years agoinstaller: start support for non-root file owner
Galen Charlton [Tue, 11 Dec 2007 22:50:22 +0000 (16:50 -0600)]
installer: start support for non-root file owner

Option to specify a non-root user and group to own
Koha's files applies only to INSTALL_MODE=standard; the
other two installation modes are not meant to have
'make install' run as root.

14 years agoinstaller: modified wording of some questions
Galen Charlton [Tue, 11 Dec 2007 22:23:57 +0000 (16:23 -0600)]
installer: modified wording of some questions

14 years agoinstaller: now respects INSTALL_ZEBRA = no
Galen Charlton [Tue, 11 Dec 2007 21:29:01 +0000 (15:29 -0600)]
installer: now respects INSTALL_ZEBRA = no

14 years agoinstaller: more moving of Zebra config files
Galen Charlton [Tue, 11 Dec 2007 19:35:34 +0000 (13:35 -0600)]
installer: more moving of Zebra config files

* must use record.abs
* sort-string.cfg => sort-string-utf.chr

14 years agoinstaller: further moves of zebra configuration files
Galen Charlton [Tue, 11 Dec 2007 17:21:15 +0000 (11:21 -0600)]
installer: further moves of zebra configuration files

All Zebra config files are now installed by default.  The
ones specific to a MARC format or language are selected
by appropriate values in profilePath in zebra-biblios.cfg
and zebra-authorities.cfg.  Changing the MARC format
or indexing language can now be done by editing
profilePath.

14 years agoinstaller: created skel directory
Galen Charlton [Tue, 11 Dec 2007 17:02:48 +0000 (11:02 -0600)]
installer: created skel directory

skel directory is for the installer only; contains
a directory structure and dummy READMEs used for
setting up the Zebra runtime and data directories.

Moved non-config files from etc/zebradb/* to
appropriate places under skel.

14 years agoinstaller: started on Zebra paths
Galen Charlton [Mon, 10 Dec 2007 23:09:16 +0000 (17:09 -0600)]
installer: started on Zebra paths

14 years agoinstaller: prompt for more configuration parameters
Galen Charlton [Mon, 10 Dec 2007 22:53:41 +0000 (16:53 -0600)]
installer: prompt for more configuration parameters

Also now allows individual target directories to be
overridden from the command line.

14 years agoadded trailing / to cgi-bin directory
Galen Charlton [Mon, 10 Dec 2007 22:02:45 +0000 (16:02 -0600)]
added trailing / to cgi-bin directory

14 years agoinstaller: moved web template dirs; got rid of multi-targets
Galen Charlton [Mon, 10 Dec 2007 18:08:41 +0000 (12:08 -0600)]
installer: moved web template dirs; got rid of multi-targets

In target map, cannot specify that a file or directory
can be installed in more than one target directory,
as EU::MM does not support this.

14 years agoinstaller: use htdocs instead of www; handle .htaccess
Galen Charlton [Mon, 10 Dec 2007 17:03:58 +0000 (11:03 -0600)]
installer: use htdocs instead of www; handle .htaccess

14 years agoinstaller: removed disused unhashdir sub
Galen Charlton [Mon, 10 Dec 2007 16:43:11 +0000 (10:43 -0600)]
installer: removed disused unhashdir sub

14 years agoinstall: handle spaces in file names
Galen Charlton [Mon, 10 Dec 2007 16:39:38 +0000 (10:39 -0600)]
install: handle spaces in file names

As noted in the FIXME comment, it is probably better
all around to simply remove spaces from file names.

14 years agoinstaller (part 3): enabled 'make test'
Galen Charlton [Fri, 7 Dec 2007 23:15:22 +0000 (17:15 -0600)]
installer (part 3): enabled 'make test'

14 years agoinstaller (part 2): more work
Galen Charlton [Fri, 7 Dec 2007 22:34:40 +0000 (16:34 -0600)]
installer (part 2): more work

* plain 'make' now stages everything to blib, leaving
  actual installation to 'make install'
* adjusted rewrite-config.PL and config files
  for new subtitution variables
* added default SetEnv Perl5Lib to
  koha-httpd.conf

14 years agoinstaller (part 1): started major changes
Galen Charlton [Fri, 7 Dec 2007 00:09:15 +0000 (18:09 -0600)]
installer (part 1): started major changes

* Started defining more destination directory
  targets.
* Added configuration options prompted for the user
  during perl Makefile.PL

14 years agoCleaned up recursion routine a bit
Chris Nighswonger [Mon, 3 Dec 2007 21:11:35 +0000 (16:11 -0500)]
Cleaned up recursion routine a bit

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
14 years agoShifted the opac out of koha so its now /usr/lib/cgi-bin/opac and /usr/lib/cgi-bin...
Chris Cormack [Tue, 20 Nov 2007 18:44:37 +0000 (12:44 -0600)]
Shifted the opac out of koha so its now /usr/lib/cgi-bin/opac and /usr/lib/cgi-bin/koha by default, rewrite-config.PL and koha-httpd.conf updated

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
14 years agocompleted (possibly temporary) rollback of Chris Nighswonger's Perl lib change
Galen Charlton [Thu, 29 Nov 2007 22:35:46 +0000 (16:35 -0600)]
completed (possibly temporary) rollback of Chris Nighswonger's Perl lib change

14 years agoremoved line as a partial revert of the change of prefix from /usr to /usr/local
Galen Charlton [Thu, 29 Nov 2007 22:31:02 +0000 (16:31 -0600)]
removed line as a partial revert of the change of prefix from /usr to /usr/local

14 years agoContinuing work on the installer
Chris Cormack [Tue, 20 Nov 2007 18:44:36 +0000 (12:44 -0600)]
Continuing work on the installer

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
14 years agoFix for if instead of while in the installer
Chris Cormack [Tue, 20 Nov 2007 18:44:35 +0000 (12:44 -0600)]
Fix for if instead of while in the installer

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
14 years agoMore work on the installer, just have to fix make now
Chris Cormack [Tue, 20 Nov 2007 18:44:34 +0000 (12:44 -0600)]
More work on the installer, just have to fix make now

[Galen's note: adjusted prompting for MARC flavor and language]

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
14 years agoNow using install_base instead of prefix
Chris Cormack [Tue, 20 Nov 2007 18:44:33 +0000 (12:44 -0600)]
Now using install_base instead of prefix

[Galen's note: during patch merge, ended up setting default
 INSTALL_BASE back to /usr instead of /usr/local.  This
 needs to be examined again to see if C4 perl modules
 should go under /usr/local/lib instead of /usr/lib
 in Debian.]

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
14 years agoWorking on the installer setting up the right zebra config
Chris Cormack [Tue, 20 Nov 2007 18:44:32 +0000 (12:44 -0600)]
Working on the installer setting up the right zebra config

Revision of Chris Cormack's original patch to deal with
previous moves of config files.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
14 years agoinstaller: move base zebra config files
Galen Charlton [Thu, 29 Nov 2007 21:54:37 +0000 (15:54 -0600)]
installer: move base zebra config files

Inspired by work by Chris Cormack, move several base Zebra
configuration files to two new directories under etc/zebradb:

lang_defs - language-specific settings (e.g., French and English)
marc_defs - MARC format-specific settings (e.g., MARC21 & UNIMARC)

Installer will query user for language and MARC format and
copy the inital Zebra configs accordingly.

14 years agoFix for bug 1648, specifying a due date resulted in a blank due date
Chris Cormack [Mon, 17 Dec 2007 00:43:02 +0000 (18:43 -0600)]
Fix for bug 1648, specifying a due date resulted in a blank due date

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
14 years agorevert to sql in updateitem.pl
Ryan Higgins [Mon, 17 Dec 2007 00:43:01 +0000 (18:43 -0600)]
revert to sql in updateitem.pl

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>