Commit graph

128 commits

Author SHA1 Message Date
Joe Atzberger
4e6e770780 about.pl -- get apacheVersion for etch-like setups
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-27 17:20:52 -06:00
Paul POULAIN
b6421adda7 Adding Text::CSV_XS dependancy
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-14 09:09:16 -06:00
Paul POULAIN
5a8f61848b Adding Compress::Zlib dependancy
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-06 11:32:11 -06:00
a3dfecf37a Removing parameters permission requirement on about.pl, minor markup change to member-flags.tmpl.
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-04 17:56:21 -06:00
Paul POULAIN
36d4b404f1 Adding Biblio::EndNote dep
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-11-25 17:03:21 -06:00
Paul POULAIN
1bc2813531 adding 2 deps to export biblios in dc format
note that the result is really silly in unimarc

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-11-20 16:24:14 -06:00
Paul POULAIN
a51e2c1934 updating about.pl
- adding all dependencies
- adding yui tabs for a better look
- adding BibLibre in credits for frenchies main contributors
- removing translators for other languages than french, as only french is available now

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-11-12 17:13:01 -06:00
Henri-Damien LAURENT
cf2a9ff8db removing Date::Manip
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-09-12 20:54:28 -05:00
Paul POULAIN
61c72f8f3e 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>
2007-08-16 06:58:32 -05:00
Paul POULAIN
7c7b136a75 dunno why a char has been added before #!/usr/bin/perl
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-08-10 06:22:04 -05:00
Joshua Ferraro
e9ae8c0686 patches from paul 2007-08-08 07:41:19 -05:00
Paul POULAIN
98c3478fda adding path for apache
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-08-08 07:19:49 -05:00
kados
40af15d8e6 changing permissions on templates and scripts 2007-08-07 13:20:51 -05:00
Chris Cormack
1524c550b3 Fixing bad character 2007-08-04 22:45:15 -05:00
Chris Cormack
ff16357698 Perltidy and conflict resolve 2007-08-03 17:23:05 -05:00
Chris Cormack
34d82eda22 Fixing conflict 2007-08-03 17:14:36 -05:00
Chris Cormack
4ce43414f8 Trying to fix 2007-08-03 17:05:53 -05:00
Chris Cormack
00005d08c8 We shouldnt need to have Smart::Comments installed in a production envrionment
Signed-off-by: Chris Cormack <crc@arwen.metavore.com>
2007-08-03 12:57:03 -05:00
hdl
100e6a9808 functions that were in C4::Interface::CGI::Output are now in C4::Output.
So this implies quite a change for files.
Sorry about conflicts which will be caused.
directory Interface::CGI should now be dropped.
I noticed that many scripts (reports ones, but also some circ/stats.pl or opac-topissues) still use Date::Manip.
2007-04-24 13:54:28 +00:00
tipaul
49c66d7d4e rel_3_0 moved to HEAD 2007-03-09 15:26:29 +00:00
plg
06b2edfa32 bug 659 fixed: borrower category age limitations are now taken into account
during member registration.

Warning: new external module required, Date::Calc
2006-04-21 14:32:09 +00:00
plg
3fb80a6343 improvement: on the About page, a caption was added to the table of Perl
modules and modules are now listed in alphabetic order.
2006-03-16 11:33:28 +00:00
plg
493d07e1c7 new: required Perl modules listed with their version in about page. 2006-03-16 11:17:28 +00:00
tipaul
93ff09d081 merging 2.2 branch with head. Sorry for not making it before, many many commits done here 2005-03-01 13:40:35 +00:00
tipaul
173e385e8f adding credits & using $] instead of perl -v to get perl version 2003-11-28 13:59:30 +00:00
tipaul
d40bdb949e fixes + improvment. shows now apache and mysql versions 2003-04-10 14:14:00 +00:00
tipaul
201640ba70 missing - and template name fixing 2003-04-10 14:04:03 +00:00
pate
fa0d959c2a first cut at perl script to create the about page. 2003-04-10 10:56:42 +00:00