koha.git
14 years agoAdding link to the committed budget breakdown
Chris Cormack [Sat, 8 Sep 2007 03:05:04 +0000 (22:05 -0500)]
Adding link to the committed budget breakdown

Signed-off-by: Chris Cormack <crc@liblime.com>
14 years agoRe-adding the link to the spent budget breakdown
Chris Cormack [Sat, 8 Sep 2007 02:58:58 +0000 (21:58 -0500)]
Re-adding the link to the spent budget breakdown

Signed-off-by: Chris Cormack <crc@liblime.com>
14 years agoNew basic page structure implemented for circ pages: global main menu in the header...
Owen Leonard [Fri, 7 Sep 2007 19:04:28 +0000 (14:04 -0500)]
New basic page structure implemented for circ pages: global main menu in the header, resident search box and logo, followed by breadcrumb navigation. Added circ-menu.inc for left-hand sidebar menu (needs revision), circ-search.inc which defines the resident search box for circ pages, additions to staff-global.js to handle tab-switching in search box.

Signed-off-by: Chris Cormack <crc@liblime.com>
14 years agoSnapshot of CSS which includes global search box with two-tabbed bordered box
Owen Leonard [Fri, 7 Sep 2007 19:04:08 +0000 (14:04 -0500)]
Snapshot of CSS which includes global search box with two-tabbed bordered box

Signed-off-by: Chris Cormack <crc@liblime.com>
14 years agoBUGFIX: need to create authors/id if CPAN is unused
MJ Ray [Fri, 7 Sep 2007 10:20:23 +0000 (11:20 +0100)]
BUGFIX: need to create authors/id if CPAN is unused

Signed-off-by: Chris Cormack <crc@liblime.com>
14 years agoMove many files to more FHS-like paths
MJ Ray [Fri, 7 Sep 2007 09:43:40 +0000 (10:43 +0100)]
Move many files to more FHS-like paths

Signed-off-by: Chris Cormack <crc@liblime.com>
14 years agoMajor change switching Koha record ID from field 090 to 999. 090 is now for
thd [Fri, 24 Aug 2007 04:04:28 +0000 (00:04 -0400)]
Major change switching Koha record ID from field 090 to 999. 090 is now for

local LC call number as used at many North American academic libraries.
Correcting authoritytypecode values where my typo used the number '0' as
part of the value in one table and the letter 'O' in another table.
Improved seealso column indexing values.

Signed-off-by: Chris Cormack <crc@liblime.com>
14 years agoCorrecting installation instructions.
thd [Fri, 24 Aug 2007 10:11:42 +0000 (06:11 -0400)]
Correcting installation instructions.

Signed-off-by: Chris Cormack <crc@liblime.com>
14 years agoAdding custom authority frameworks.
thd [Fri, 24 Aug 2007 09:29:02 +0000 (05:29 -0400)]
Adding custom authority frameworks.

Signed-off-by: Chris Cormack <crc@liblime.com>
14 years agoCorrected field and subfield values in frameworks.
thd [Fri, 24 Aug 2007 08:33:27 +0000 (04:33 -0400)]
Corrected field and subfield values in frameworks.

Signed-off-by: Chris Cormack <crc@liblime.com>
14 years agoCorrecting authoritytypecode values where my typo used the number '0' as
thd [Fri, 24 Aug 2007 04:21:44 +0000 (00:21 -0400)]
Correcting authoritytypecode values where my typo used the number '0' as

part of the value in one table and the letter 'O' in another table.
Improved seealso column indexing values.

Signed-off-by: Chris Cormack <crc@liblime.com>
14 years agoFix to get selectbranchandprinter working fine with the Session
Chris Cormack [Fri, 7 Sep 2007 01:47:30 +0000 (20:47 -0500)]
Fix to get selectbranchandprinter working fine with the Session

Signed-off-by: Chris Cormack <crc@liblime.com>
14 years agoBUGFIX: another truncated part of README. Editor accident?
MJ Ray [Thu, 6 Sep 2007 15:12:36 +0000 (16:12 +0100)]
BUGFIX: another truncated part of README. Editor accident?

Signed-off-by: Chris Cormack <crc@liblime.com>
14 years agoBUGFIX: accidental deletion from start of README
MJ Ray [Thu, 6 Sep 2007 15:05:51 +0000 (16:05 +0100)]
BUGFIX: accidental deletion from start of README

Signed-off-by: Chris Cormack <crc@liblime.com>
14 years agoBUGFIX: set all configuration keys - die terminated the hash
MJ Ray [Thu, 6 Sep 2007 15:00:45 +0000 (16:00 +0100)]
BUGFIX: set all configuration keys - die terminated the hash

Signed-off-by: Chris Cormack <crc@liblime.com>
14 years agoNew installation instructions and release notes.
MJ Ray [Thu, 6 Sep 2007 14:46:56 +0000 (15:46 +0100)]
New installation instructions and release notes.

Signed-off-by: Chris Cormack <crc@liblime.com>
14 years agoAdd missing auto_install features to new installer
MJ Ray [Thu, 6 Sep 2007 14:46:55 +0000 (15:46 +0100)]
Add missing auto_install features to new installer

Signed-off-by: Chris Cormack <crc@liblime.com>
14 years agoAdd configuration file helper to the installer
MJ Ray [Thu, 6 Sep 2007 13:56:03 +0000 (14:56 +0100)]
Add configuration file helper to the installer

Signed-off-by: Chris Cormack <crc@liblime.com>
14 years agoDo not pack the git repository
MJ Ray [Thu, 6 Sep 2007 13:56:02 +0000 (14:56 +0100)]
Do not pack the git repository

Signed-off-by: Chris Cormack <crc@liblime.com>
14 years agoAdding jquery as default js library and staff-global.js for global js functions....
Owen Leonard [Tue, 4 Sep 2007 20:07:00 +0000 (15:07 -0500)]
Adding jquery as default js library and staff-global.js for global js functions. Converting form field focus scripts to jquery syntax (use class="focus" for auto-focusing form fields)

Signed-off-by: Chris Cormack <crc@liblime.com>
14 years agoMoving inline script blocks to <head> where possible
Owen Leonard [Tue, 4 Sep 2007 19:24:15 +0000 (14:24 -0500)]
Moving inline script blocks to <head> where possible

Signed-off-by: Chris Cormack <crc@liblime.com>
14 years agoCleanup of catalogue files, previously excluded from layout fixes. Some bugs may...
Owen Leonard [Tue, 4 Sep 2007 16:38:31 +0000 (11:38 -0500)]
Cleanup of catalogue files, previously excluded from layout fixes. Some bugs may still remain due to script errors in my installation (results.tmpl, MARCdetail.tmpl, ISBDdetail.tmpl)

Signed-off-by: Chris Cormack <crc@liblime.com>
14 years agoCleanup on Serials. Markup corrections and cleanup, moving script blocks into header...
Owen Leonard [Tue, 4 Sep 2007 15:23:07 +0000 (10:23 -0500)]
Cleanup on Serials. Markup corrections and cleanup, moving script blocks into header, correcting previous incorrect changes to embedded scripts (translator-related stuff)

Signed-off-by: Chris Cormack <crc@liblime.com>
14 years agoBUGFIX (major) : when editing an existing biblio, biblionumber was lost
Paul POULAIN [Tue, 4 Sep 2007 13:56:12 +0000 (15:56 +0200)]
BUGFIX (major) : when editing an existing biblio, biblionumber was lost

In Koha 2.2 the biblionumber was an hidden field in the form,
exactly as any other subfield.
As we also stored biblionumber as specific field, it was useless to have it
twice.

with this commit, we restore the biblionumber in the MARC:Record in TransformHtml2Marc

Signed-off-by: Chris Cormack <crc@liblime.com>
14 years agoBUGFIX : due to the new template structure, the up.png button has moved
Paul POULAIN [Tue, 4 Sep 2007 09:33:02 +0000 (11:33 +0200)]
BUGFIX : due to the new template structure, the up.png button has moved

Signed-off-by: Chris Cormack <crc@liblime.com>
14 years agoBUGFIX : missing <!-- /TMPL_IF -->
Paul POULAIN [Tue, 4 Sep 2007 09:33:01 +0000 (11:33 +0200)]
BUGFIX : missing <!-- /TMPL_IF -->

Signed-off-by: Chris Cormack <crc@liblime.com>
14 years agodetermining language for OPAC correctly, until new template structure has been ported...
Paul POULAIN [Tue, 4 Sep 2007 09:33:00 +0000 (11:33 +0200)]
determining language for OPAC correctly, until new template structure has been ported to OPAC

Signed-off-by: Chris Cormack <crc@liblime.com>
14 years agoBUGFIX : deal with repeatable values when retrieving a z3950 biblio
Paul POULAIN [Tue, 4 Sep 2007 09:32:59 +0000 (11:32 +0200)]
BUGFIX : deal with repeatable values when retrieving a z3950 biblio

Signed-off-by: Chris Cormack <crc@liblime.com>
14 years agoTest for C4::Branch
Chris Cormack [Tue, 4 Sep 2007 08:13:50 +0000 (03:13 -0500)]
Test for C4::Branch

Just skeletal at this stage, actual tests need to be added

Signed-off-by: Chris Cormack <crc@liblime.com>
14 years agodetermining theme/language path
Paul POULAIN [Mon, 3 Sep 2007 12:48:48 +0000 (14:48 +0200)]
determining theme/language path

until the modules/structure has been ported to OPAC, this quick hack make the theme/language determination work for both OPAC & intranet

Signed-off-by: Chris Cormack <crc@liblime.com>
14 years agofrench translation updated
Paul POULAIN [Mon, 3 Sep 2007 08:12:24 +0000 (10:12 +0200)]
french translation updated

Signed-off-by: Chris Cormack <crc@liblime.com>
14 years agoupdating french translation
Paul POULAIN [Mon, 3 Sep 2007 08:10:22 +0000 (10:10 +0200)]
updating french translation

Signed-off-by: Chris Cormack <crc@liblime.com>
14 years agoremoving a lot of useless files in misc
Paul POULAIN [Tue, 14 Aug 2007 15:43:24 +0000 (17:43 +0200)]
removing a lot of useless files in misc

Signed-off-by: Chris Cormack <crc@liblime.com>
14 years agoadding Algorithm::CheckDigits dependancy, for barcode printing
Paul POULAIN [Mon, 3 Sep 2007 08:20:35 +0000 (10:20 +0200)]
adding Algorithm::CheckDigits dependancy, for barcode printing

Signed-off-by: Chris Cormack <crc@liblime.com>
14 years agocommenting Smart::Comments
Paul POULAIN [Mon, 3 Sep 2007 08:20:41 +0000 (10:20 +0200)]
commenting Smart::Comments

Signed-off-by: Chris Cormack <crc@liblime.com>
14 years agosome spelling fixes
Paul POULAIN [Mon, 3 Sep 2007 08:20:40 +0000 (10:20 +0200)]
some spelling fixes

in 2 english templates and a french plugin

Signed-off-by: Chris Cormack <crc@liblime.com>
14 years agoBUGFIX : get available language and theme
Paul POULAIN [Mon, 3 Sep 2007 08:20:39 +0000 (10:20 +0200)]
BUGFIX : get available language and theme

Signed-off-by: Chris Cormack <crc@liblime.com>
14 years agofixing help feature with new template structure
Joshua Ferraro [Thu, 30 Aug 2007 19:59:06 +0000 (14:59 -0500)]
fixing help feature with new template structure

Signed-off-by: Chris Cormack <crc@liblime.com>
14 years agoperltidy help.pl
Joshua Ferraro [Thu, 30 Aug 2007 19:59:05 +0000 (14:59 -0500)]
perltidy help.pl

Signed-off-by: Chris Cormack <crc@liblime.com>
14 years agoMoving top-level navigation links, login information into header section of pages
Owen Leonard [Thu, 30 Aug 2007 19:44:03 +0000 (14:44 -0500)]
Moving top-level navigation links, login information into header section of pages

Signed-off-by: Chris Cormack <crc@liblime.com>
14 years agofixing inproper CGI header, again
Joshua Ferraro [Thu, 30 Aug 2007 19:11:31 +0000 (14:11 -0500)]
fixing inproper CGI header, again

Signed-off-by: Chris Cormack <crc@liblime.com>
14 years agoMoving </head><body> into body of templates so that js and css can be embedded per...
Owen Leonard [Thu, 30 Aug 2007 14:09:02 +0000 (09:09 -0500)]
Moving </head><body> into body of templates so that js and css can be embedded per-page.

Signed-off-by: Chris Cormack <crc@liblime.com>
14 years agoTesting new changes to Auth.pm to allow passing of page-specific js and css to templates
Owen Leonard [Thu, 30 Aug 2007 14:08:43 +0000 (09:08 -0500)]
Testing new changes to Auth.pm to allow passing of page-specific js and css to templates

Signed-off-by: Chris Cormack <crc@liblime.com>
14 years agoadding support for js includes
Joshua Ferraro [Wed, 29 Aug 2007 17:21:28 +0000 (12:21 -0500)]
adding support for js includes

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
14 years agofinishing up changes to cascades
Joshua Ferraro [Wed, 29 Aug 2007 16:24:52 +0000 (11:24 -0500)]
finishing up changes to cascades

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
14 years agoadding levels for library, module, page and widgets per page
Joshua Ferraro [Wed, 29 Aug 2007 16:12:36 +0000 (11:12 -0500)]
adding levels for library, module, page and widgets per page

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
14 years agoreset-fonts-grids.css is the YUI-Grids stylesheet
Owen Leonard [Tue, 28 Aug 2007 20:09:46 +0000 (15:09 -0500)]
reset-fonts-grids.css is the YUI-Grids stylesheet

Signed-off-by: Chris Cormack <crc@liblime.com>
14 years agoMore changes to enable YUI-Grids CSS layout
Owen Leonard [Tue, 28 Aug 2007 20:09:15 +0000 (15:09 -0500)]
More changes to enable YUI-Grids CSS layout

Signed-off-by: Chris Cormack <crc@liblime.com>
14 years agoModifications to enable YUI-Grids layout structure. Unfinished.
Owen Leonard [Tue, 28 Aug 2007 20:08:47 +0000 (15:08 -0500)]
Modifications to enable YUI-Grids layout structure. Unfinished.

Signed-off-by: Chris Cormack <crc@liblime.com>
14 years agoDisable tests
MJ Ray [Tue, 28 Aug 2007 00:50:55 +0000 (01:50 +0100)]
Disable tests

Signed-off-by: Chris Cormack <crc@liblime.com>
14 years agoInstall koha through the CPAN module
MJ Ray [Tue, 28 Aug 2007 00:50:23 +0000 (01:50 +0100)]
Install koha through the CPAN module

Signed-off-by: Chris Cormack <crc@liblime.com>
14 years agoBUG FIX
Henri-Damien LAURENT [Mon, 27 Aug 2007 16:18:55 +0000 (18:18 +0200)]
BUG FIX

Signed-off-by: Chris Cormack <crc@liblime.com>
14 years agoCorrections for XHTML compliance, again.
Owen Leonard [Mon, 27 Aug 2007 15:45:51 +0000 (10:45 -0500)]
Corrections for XHTML compliance, again.

Signed-off-by: Chris Cormack <crc@liblime.com>
14 years agoRemoving windows linefeeds to get a patch to apply
Chris Cormack [Tue, 28 Aug 2007 21:50:04 +0000 (16:50 -0500)]
Removing windows linefeeds to get a patch to apply

14 years agoRemoving \r characters
Chris Cormack [Fri, 24 Aug 2007 02:35:21 +0000 (21:35 -0500)]
Removing \r characters

14 years agoremoving unused countryCodes dir
Joshua Ferraro [Fri, 24 Aug 2007 01:53:16 +0000 (20:53 -0500)]
removing unused countryCodes dir

Signed-off-by: Chris Cormack <crc@liblime.com>
14 years agomoving calendar to lib
Joshua Ferraro [Fri, 24 Aug 2007 00:05:39 +0000 (19:05 -0500)]
moving calendar to lib

Output.pm: sanatizing variable names
ran  perl -pi~ -e 's/\/includes\/calendar\//\/lib\/calendar\//' * in every staff template dir

Signed-off-by: Chris Cormack <crc@liblime.com>
14 years agomove all css in includes to css dir
Joshua Ferraro [Fri, 24 Aug 2007 02:02:22 +0000 (21:02 -0500)]
move all css in includes to css dir

Signed-off-by: Chris Cormack <crc@liblime.com>
14 years agomove hierarchy.css to css dir
Joshua Ferraro [Fri, 24 Aug 2007 02:02:21 +0000 (21:02 -0500)]
move hierarchy.css to css dir

Signed-off-by: Chris Cormack <crc@liblime.com>
14 years agomoved images to img fixed installer path for templates
Joshua Ferraro [Fri, 24 Aug 2007 02:02:20 +0000 (21:02 -0500)]
moved images to img fixed installer path for templates

perl -pi~ -e 's/\/prog\/images\//\/prog\/img\//' *
perl -pi~ -e 's/\/prog\/en\/images\//\/prog\/img\//' *

Signed-off-by: Chris Cormack <crc@liblime.com>
14 years agoremoving old barcodes, itemsLabelConfig, and printerConfig
Joshua Ferraro [Fri, 24 Aug 2007 02:02:19 +0000 (21:02 -0500)]
removing old barcodes, itemsLabelConfig, and printerConfig

Signed-off-by: Chris Cormack <crc@liblime.com>
14 years agofirst go at moving templates to a modules/ dir
Joshua Ferraro [Fri, 24 Aug 2007 02:02:17 +0000 (21:02 -0500)]
first go at moving templates to a modules/ dir

Signed-off-by: Chris Cormack <crc@liblime.com>
14 years agoFixing a bug that occured if Koha wasnt installed, but a cookie was set in the browser
Chris Cormack [Fri, 24 Aug 2007 01:51:50 +0000 (20:51 -0500)]
Fixing a bug that occured if Koha wasnt installed, but a cookie was set in the browser

Signed-off-by: Chris Cormack <crc@liblime.com>
14 years agoRemoving old PO files, removing clutter
Joshua Ferraro [Thu, 23 Aug 2007 19:08:54 +0000 (14:08 -0500)]
Removing old PO files, removing clutter

Signed-off-by: Chris Cormack <crc@liblime.com>
14 years agoRemoving unused export files, better tools exist
Joshua Ferraro [Thu, 23 Aug 2007 19:05:03 +0000 (14:05 -0500)]
Removing unused export files, better tools exist

Signed-off-by: Chris Cormack <crc@liblime.com>
14 years agoAdding new feature : creating authorities on-the-fly.
Henri-Damien LAURENT [Thu, 23 Aug 2007 15:53:05 +0000 (17:53 +0200)]
Adding new feature : creating authorities on-the-fly.

Signed-off-by: Chris Cormack <crc@liblime.com>
14 years agoAdding Koha MARC 21 standard authorities frameworks post-installation script.
Thomas Dukleth [Tue, 21 Aug 2007 03:29:02 +0000 (03:29 +0000)]
Adding Koha MARC 21 standard authorities frameworks post-installation script.

A new file apparently missed in the transition to git.

Signed-off-by: Chris Cormack <crc@liblime.com>
14 years agoCorrecting <!-- TMPL_IF -->'s nested inside HTML (breaks translator)
Owen Leonard [Mon, 20 Aug 2007 14:41:58 +0000 (09:41 -0500)]
Correcting <!-- TMPL_IF -->'s nested inside HTML (breaks translator)

Signed-off-by: Chris Cormack <crc@liblime.com>
14 years agoModifying AddAuthorities in order to fix encoding bugs.
Henri-Damien LAURENT [Mon, 20 Aug 2007 13:45:59 +0000 (15:45 +0200)]
Modifying AddAuthorities in order to fix encoding bugs.

Signed-off-by: Chris Cormack <crc@liblime.com>
14 years agoModifying AddBiblio in order to fix some encoding bugs we had when modifying or addin...
Henri-Damien LAURENT [Mon, 20 Aug 2007 13:45:58 +0000 (15:45 +0200)]
Modifying AddBiblio in order to fix some encoding bugs we had when modifying or adding a biblio.

Signed-off-by: Chris Cormack <crc@liblime.com>
14 years agoremoving call to Date::Manip
Henri-Damien LAURENT [Mon, 20 Aug 2007 13:45:10 +0000 (15:45 +0200)]
removing call to Date::Manip

Signed-off-by: Chris Cormack <crc@liblime.com>
14 years agoremoving Date::Manip usage
Henri-Damien LAURENT [Mon, 20 Aug 2007 13:45:09 +0000 (15:45 +0200)]
removing Date::Manip usage

Signed-off-by: Chris Cormack <crc@liblime.com>
14 years agoDeleting Date::Manip
Henri-Damien LAURENT [Mon, 20 Aug 2007 13:45:08 +0000 (15:45 +0200)]
Deleting Date::Manip

Signed-off-by: Chris Cormack <crc@liblime.com>
14 years agomoving sql data to installer directory
Joshua Ferraro [Sun, 19 Aug 2007 02:33:39 +0000 (21:33 -0500)]
moving sql data to installer directory

Signed-off-by: Chris Cormack <crc@liblime.com>
14 years agoadding label manager sql
Joshua Ferraro [Fri, 17 Aug 2007 23:47:27 +0000 (18:47 -0500)]
adding label manager sql

Signed-off-by: Chris Cormack <crc@liblime.com>
14 years agoAdding labels generator.
Ryan Higgins [Fri, 17 Aug 2007 23:47:26 +0000 (18:47 -0500)]
Adding labels generator.

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
Signed-off-by: Chris Cormack <crc@liblime.com>
14 years agoadding labels_templates table
Ryan Higgins [Fri, 17 Aug 2007 23:47:25 +0000 (18:47 -0500)]
adding labels_templates table

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
Signed-off-by: Chris Cormack <crc@liblime.com>
14 years agoupdating labels_conf table with extra koha columns
Ryan Higgins [Fri, 17 Aug 2007 23:47:24 +0000 (18:47 -0500)]
updating labels_conf table with extra koha columns

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
Signed-off-by: Chris Cormack <crc@liblime.com>
14 years ago1. remove quotes around integer values
Joshua Ferraro [Fri, 17 Aug 2007 19:03:05 +0000 (14:03 -0500)]
1. remove quotes around integer values

Signed-off-by: Chris Cormack <crc@liblime.com>
14 years agoloading template 1st to have userenv set + fixing javasccript bug + reindenting
Paul POULAIN [Fri, 17 Aug 2007 16:07:21 +0000 (18:07 +0200)]
loading template 1st to have userenv set + fixing javasccript bug + reindenting

Signed-off-by: Chris Cormack <crc@liblime.com>
14 years agoordering supplier list & reindenting a little
Paul POULAIN [Fri, 17 Aug 2007 16:07:20 +0000 (18:07 +0200)]
ordering supplier list & reindenting a little

Signed-off-by: Chris Cormack <crc@liblime.com>
15 years agoAdding missing barcode.pl
Owen Leonard [Thu, 16 Aug 2007 16:34:21 +0000 (11:34 -0500)]
Adding missing barcode.pl

Signed-off-by: Chris Cormack <crc@liblime.com>
15 years agochanging Session table structure (due to CGI::Sessions)
Paul POULAIN [Thu, 16 Aug 2007 10:46:13 +0000 (12:46 +0200)]
changing Session table structure (due to CGI::Sessions)

I switch to 3.00.00.002, that's another test to check that everything is fine with the new kohaversion management.
Work like a charm...

Signed-off-by: Chris Cormack <crc@liblime.com>
15 years agoremoving useless script
Paul POULAIN [Thu, 16 Aug 2007 10:46:12 +0000 (12:46 +0200)]
removing useless script

Signed-off-by: Chris Cormack <crc@liblime.com>
15 years agoAdding KOHAVERSION management.
Paul POULAIN [Thu, 16 Aug 2007 10:28:49 +0000 (12:28 +0200)]
Adding KOHAVERSION management.

(adding forgotten kohaversion.pl)

Signed-off-by: Chris Cormack <crc@liblime.com>
15 years agoAdding KOHAVERSION management.
Paul POULAIN [Thu, 16 Aug 2007 10:28:48 +0000 (12:28 +0200)]
Adding KOHAVERSION management.

The kohaversion is in the code directory (in /kohaversion.pl)
C4::Context now has a new method C4::Context->KOHAVERSION
that returns the koha code version.
The systempreference Version contains the database version.

If the 2 are differents, when the user log in, he is redirected to web installer (new behaviour : before this commit, the check was done on everypage, it's too CPU costly I think)

In the web installer, we check now if we do a new setup or an upgrade and show only the appropriate link.

The updatedatabase contains a lot of new things :
* SetVersion($kohaversion), that set the kohaversion after each update
* TransformToNum($kohaversion) that returns a number (3.0000001 from 3.00.00.001 for example) for a given koha version
* DropAllForeignKeys($table) that does what is written : drop all foreign keys. A shame it's not possible directly in mySQL...
* for each database update, just :
add the following lines :
=item
    Describe what it does for other developpers
=cut

$DBversion = "your.koha.version.dbnumber";
if (C4::Context->preference("Version") < TransformToNum($DBversion)) {
#
# DO YOUR UPDATE STUFF
#
        print "Upgrade to $DBversion done (specify what it does if you want)\n";
        SetVersion ($DBversion);
}

IMPORTANT NOTES :
in koha 2.2, a new install was done through installing a 2.2.0 database, then updating it to the installed version.
in Koha 3.0, /installer/kohaversion.sql MUST contain an uptodate version, as the installer set the DB version to kohaversion after uploading kohaversion.sql. It does NOT run updatedatabase.

The update from Koha 2.2 to Koha 3.0 must NOT be done through the webinstaller : updatedatabase is very very long to run and you'll reach Apache timeout for sure. See http://wiki.koha.org/doku.php?id=22_to_30 that contains my notes for upgrading (with some/few UNIMARC specific stuff)

Note For RM, please eyeball this change

Signed-off-by: Chris Cormack <crc@liblime.com>
15 years agosome minor changes in template
Paul POULAIN [Thu, 16 Aug 2007 10:28:47 +0000 (12:28 +0200)]
some minor changes in template

Signed-off-by: Chris Cormack <crc@liblime.com>
15 years agoshow callnumber in result list and update SQL by using LEFT JOIN
Paul POULAIN [Thu, 16 Aug 2007 10:28:46 +0000 (12:28 +0200)]
show callnumber in result list and update SQL by using LEFT JOIN

Signed-off-by: Chris Cormack <crc@liblime.com>
15 years agoadding supplier deletion feature.
Paul POULAIN [Thu, 16 Aug 2007 10:28:45 +0000 (12:28 +0200)]
adding supplier deletion feature.

A supplier can be deleted ONLY if it has NO basket

Signed-off-by: Chris Cormack <crc@liblime.com>
15 years agocontent-type was incorrectly set in InstallAuth.pm
Joshua Ferraro [Thu, 16 Aug 2007 02:20:17 +0000 (21:20 -0500)]
content-type was incorrectly set in InstallAuth.pm

Adding 'wizard' and 'login' detection

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
15 years agoreintroducing an important line in TransformeMarcToKoha
Paul POULAIN [Tue, 14 Aug 2007 17:06:50 +0000 (19:06 +0200)]
reintroducing an important line in TransformeMarcToKoha

Signed-off-by: Chris Cormack <crc@liblime.com>
15 years agofixes to fine management
Paul POULAIN [Tue, 14 Aug 2007 17:06:49 +0000 (19:06 +0200)]
fixes to fine management

Signed-off-by: Chris Cormack <crc@liblime.com>
15 years agospelling error
Paul POULAIN [Tue, 14 Aug 2007 17:06:48 +0000 (19:06 +0200)]
spelling error

Signed-off-by: Chris Cormack <crc@liblime.com>
15 years agoshow the departure date if close or past
Paul POULAIN [Tue, 14 Aug 2007 17:06:47 +0000 (19:06 +0200)]
show the departure date if close or past

Signed-off-by: Chris Cormack <crc@liblime.com>
15 years agosome template cleaning, using right action tool bar for buttons
Paul POULAIN [Tue, 14 Aug 2007 17:06:46 +0000 (19:06 +0200)]
some template cleaning, using right action tool bar for buttons

Signed-off-by: Chris Cormack <crc@liblime.com>
15 years agofixing cleanborrowers
Paul POULAIN [Tue, 14 Aug 2007 17:06:45 +0000 (19:06 +0200)]
fixing cleanborrowers

Signed-off-by: Chris Cormack <crc@liblime.com>
15 years agoshow username instead of cardnumber
Paul POULAIN [Tue, 14 Aug 2007 17:03:00 +0000 (19:03 +0200)]
show username instead of cardnumber

Signed-off-by: Chris Cormack <crc@liblime.com>
Note from Chris, this should probably be a system preference, some libraries want the cardnumber there.

15 years agodon't show the issuer on OPAC
Paul POULAIN [Tue, 14 Aug 2007 17:02:59 +0000 (19:02 +0200)]
don't show the issuer on OPAC

Signed-off-by: Chris Cormack <crc@liblime.com>
15 years agofix bug in calendar handling
Paul POULAIN [Tue, 14 Aug 2007 17:02:58 +0000 (19:02 +0200)]
fix bug in calendar handling

Signed-off-by: Chris Cormack <crc@liblime.com>
15 years agoThis commit fixes a bug in biblio encoding. things were mixed up when reporting item...
Paul POULAIN [Tue, 14 Aug 2007 17:02:57 +0000 (19:02 +0200)]
This commit fixes a bug in biblio encoding. things were mixed up when reporting item(s) into the biblio, to UPDATE biblioitems.marcxml, after a biblio modif (in MARC editor).

So, deal carefully with this commit pls, and check it for your setups, because the patch works for me, but I'm not sure to understand well why :\

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