Commit graph

6510 commits

Author SHA1 Message Date
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
Chris Cormack
b17840b95c Fix for if instead of while in the installer
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
2007-12-17 09:13:52 -06:00
Chris Cormack
4b1d1329f0 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>
2007-12-17 09:13:52 -06:00
Chris Cormack
d1f9665665 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>
2007-12-17 09:13:51 -06:00
Chris Cormack
677f10b597 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>
2007-12-17 09:13:51 -06:00
Galen Charlton
3f08fd0131 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.
2007-12-17 09:13:51 -06:00
Chris Cormack
ea7cbfff43 Fix for bug 1648, specifying a due date resulted in a blank due date
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-17 08:19:55 -06:00
Ryan Higgins
f768cd6108 revert to sql in updateitem.pl
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-17 08:19:23 -06:00
Mason James
a8d672c77a updated for update-child feature.
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-17 08:19:22 -06:00
Mason James
e5f2ae6ee4 template for changing child to adult member-type.
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-17 08:19:19 -06:00
Mason James
b9ef87d3d6 script to update child to other member-catergory.
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-17 08:19:15 -06:00
Ryan Higgins
f4811762d0 cleanup in memberentry,categories.
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-17 08:19:07 -06:00
root
543bea4d5e adding hotlink to author search on details.pl page.
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-14 23:06:40 -06:00
Mason James
cb1cc28612 adding collection-code description lookup.
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-14 23:06:31 -06:00
Mason James
e7c05a9c3c mod to GetAuthorisedValueDesc() to simply take $category and $value args, and get a desc. back.
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-14 23:06:17 -06:00
Mason James
0c254c1f1f quickfix for adv. searching in nozebra.
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-14 23:05:36 -06:00
Mason James
395d7aee99 952$y/itemtype was hidden by default, fixed
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-14 23:05:00 -06:00
mason.james@liblime.com
9ad27b2278 quickfix for displaying collection-code in opac
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-14 23:04:45 -06:00
Paul POULAIN
135ed94f40 make h1 larger than h2 larger than h3
easier to read when you have desc size for headers !

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-14 12:12:41 -06:00
Paul POULAIN
9a9bc82c84 UTF-8 and Nozebra fixes
- .txt files have to be in utf-8 (as Koha is utf-8 now), and opened as utf-8 files
otherwise, the diacritics are mixed up on web installer

- typo fix (NoZebra vs Nozebra) to set correctly Nozebra syspref

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-14 12:12:20 -06:00
Paul POULAIN
e6e3ea4c65 french unimarc filed updated + authorised values added
(+all files are now in utf-8)

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-14 12:02:13 -06:00
Joshua Ferraro
6f28205b09 adding setstatus.pl from dev_week
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-14 11:56:21 -06:00
Joe Atzberger
fa6fffeb6d memberentry.pl and calendar-setup.js - remove CVS '$Id$'
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-14 11:00:09 -06:00
86e458a3ce Standardizing format for error/message dialogs. <div class="dialog alert"> for high-priority warnings/confirmations. <div class="dialog message"> for lower priority/informational messages.
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-14 10:57:46 -06:00
100a51e6c2 Cleaning up and styling picture upload page. Second try for this patch.
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-14 10:57:36 -06:00
Henri-Damien LAURENT
111044b7a1 Bug Fixing : Authorised values could not be edited
If id provided and authorised value exists,
then change it and get back to authorised_value page.

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-14 10:51:16 -06:00
Henri-Damien LAURENT
f3b0f3816b Bug fixing : serial collection on OPAC were not correctly displayed.
Call to PrepareSerialsData on Serial information
Adding receivedlist and missing list to brief display
Modifying js to use display:block/display:none rather than visibility attribute.

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-14 10:51:14 -06:00