Commit graph

6936 commits

Author SHA1 Message Date
Joe Atzberger
35fa8f148b Delete extraneous empty file.
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-17 19:20:58 -06:00
Galen Charlton
61e69bc368 fixed unmatched TMPL_UNLESS
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-17 12:58:41 -06:00
Galen Charlton
80942a3031 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>
2007-12-17 12:58:39 -06:00
Mason James
f8f8a3c7bf added 'update child to adult' dropbox option
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-17 12:58:37 -06:00
Joshua Ferraro
e39a090d5c 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>
2007-12-17 12:52:48 -06:00
Joshua Ferraro
c9dabd5d22 improvements to query_desc and limit_desc
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-17 12:52:42 -06:00
Joshua Ferraro
4075926730 adding query_desc and limit_desc to staff catalog search
when no hits found

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-17 12:52:31 -06:00
Joshua Ferraro
fcc3986cfd 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>
2007-12-17 12:00:30 -06:00
Joshua Ferraro
bbe759bde6 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>
2007-12-17 12:00:18 -06:00
Galen Charlton
ce25501ed0 installer: fixed default location of koha-conf.xml in README 2007-12-17 09:13:54 -06:00
Galen Charlton
395f4d49ec installer: fixed typo in version number 2007-12-17 09:13:54 -06:00
Galen Charlton
17e4626dff 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)
2007-12-17 09:13:54 -06:00
Galen Charlton
3f5c71daa5 installer: always accept default value as valid 2007-12-17 09:13:54 -06:00
Galen Charlton
b8a58c4934 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.
2007-12-17 09:13:54 -06:00
Galen Charlton
c1004a7b48 installer: fix MARC::Crosswalk::DublinCore version 2007-12-17 09:13:54 -06:00
Galen Charlton
d6eba77869 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
2007-12-17 09:13:54 -06:00
Galen Charlton
dd7b1da0cf 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.
2007-12-17 09:13:53 -06:00
Galen Charlton
f5903fbbb5 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
2007-12-17 09:13:53 -06:00
Galen Charlton
1df0f05ac7 installer: make rewrite-config.PL change only defined parameters
Previously, it tried to slurp up all text between two
occurences of '__'
2007-12-17 09:13:53 -06:00
Galen Charlton
8b75eae887 installer: fixed problem in MARC21 biblio record.abs
uri is defined in bib1.att, but url is not
2007-12-17 09:13:53 -06:00
Galen Charlton
b3b36095a4 installer: fixed *_WWW_DIR for 'dev' install mode 2007-12-17 09:13:53 -06:00
Galen Charlton
223f9493df installer: reverted to VERSION_FROM => 'C4/Context.pm' 2007-12-17 09:13:53 -06:00
Galen Charlton
5ccd6098ab 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.
2007-12-17 09:13:53 -06:00
Galen Charlton
69340bf188 installer: updated required MySQL user grants 2007-12-17 09:13:53 -06:00
Galen Charlton
c590a782ab corrected zebrasrv command in README.txt 2007-12-17 09:13:53 -06:00
Galen Charlton
54e17e1141 installer: starting some changes to README.txt 2007-12-17 09:13:53 -06:00
Galen Charlton
1b71360c5c 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
2007-12-17 09:13:53 -06:00
Galen Charlton
ca8f75ee8b installer: KOHA_LOG_DIR => LOG_DIR 2007-12-17 09:13:53 -06:00
Galen Charlton
5044c06592 installer: fixed chown invocation; added skel for KOHA_LOG_DIR 2007-12-17 09:13:53 -06:00
Galen Charlton
be79314aea 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.
2007-12-17 09:13:53 -06:00
Galen Charlton
d7a09ca020 installer: modified wording of some questions 2007-12-17 09:13:53 -06:00
Galen Charlton
3b58e09b3c installer: now respects INSTALL_ZEBRA = no 2007-12-17 09:13:53 -06:00
Galen Charlton
ce3605da2a installer: more moving of Zebra config files
* must use record.abs
* sort-string.cfg => sort-string-utf.chr
2007-12-17 09:13:53 -06:00
Galen Charlton
0f5fa1bf2d 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.
2007-12-17 09:13:52 -06:00
Galen Charlton
190a7f404a 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.
2007-12-17 09:13:52 -06:00
Galen Charlton
f3a868fbae installer: started on Zebra paths 2007-12-17 09:13:52 -06:00
Galen Charlton
bd0877f77c installer: prompt for more configuration parameters
Also now allows individual target directories to be
overridden from the command line.
2007-12-17 09:13:52 -06:00
Galen Charlton
56622d5428 added trailing / to cgi-bin directory 2007-12-17 09:13:52 -06:00
Galen Charlton
c31b5c2481 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.
2007-12-17 09:13:52 -06:00
Galen Charlton
61ca8a3e2d installer: use htdocs instead of www; handle .htaccess 2007-12-17 09:13:52 -06:00
Galen Charlton
742ff2f477 installer: removed disused unhashdir sub 2007-12-17 09:13:52 -06:00
Galen Charlton
eebd56b07f 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.
2007-12-17 09:13:52 -06:00
Galen Charlton
7f01995446 installer (part 3): enabled 'make test' 2007-12-17 09:13:52 -06:00
Galen Charlton
5befdd2cd3 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
2007-12-17 09:13:52 -06:00
Galen Charlton
44efd0fd78 installer (part 1): started major changes
* Started defining more destination directory
  targets.
* Added configuration options prompted for the user
  during perl Makefile.PL
2007-12-17 09:13:52 -06:00
Chris Nighswonger
faaf13a6b3 Cleaned up recursion routine a bit
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
2007-12-17 09:13:52 -06:00
Chris Cormack
5baba50aed 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>
2007-12-17 09:13:52 -06:00
Galen Charlton
c938a23bb9 completed (possibly temporary) rollback of Chris Nighswonger's Perl lib change 2007-12-17 09:13:52 -06:00
Galen Charlton
f23c9f3af5 removed line as a partial revert of the change of prefix from /usr to /usr/local 2007-12-17 09:13:52 -06:00
Chris Cormack
dd4b8ce400 Continuing work on the installer
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
2007-12-17 09:13:52 -06:00