Commit graph

5302 commits

Author SHA1 Message Date
Thomas Dukleth
a72ffac009 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>
2007-08-21 01:52:10 -05:00
7161f9bf18 Correcting <!-- TMPL_IF -->'s nested inside HTML (breaks translator)
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-08-20 15:16:48 -05:00
Henri-Damien LAURENT
fe67eac197 Modifying AddAuthorities in order to fix encoding bugs.
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-08-20 15:16:43 -05:00
Henri-Damien LAURENT
56e38fa2f9 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>
2007-08-20 15:16:40 -05:00
Henri-Damien LAURENT
ed5c712765 removing call to Date::Manip
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-08-20 15:16:28 -05:00
Henri-Damien LAURENT
5c7b0e2889 removing Date::Manip usage
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-08-20 15:16:26 -05:00
Henri-Damien LAURENT
054d2b0d19 Deleting Date::Manip
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-08-20 15:16:22 -05:00
Joshua Ferraro
7988048ca9 moving sql data to installer directory
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-08-18 22:15:30 -05:00
Joshua Ferraro
e92f1d752c adding label manager sql
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-08-18 17:39:41 -05:00
Ryan Higgins
6e2564450e Adding labels generator.
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-08-18 17:39:38 -05:00
Ryan Higgins
05b0bad473 adding labels_templates table
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-08-18 17:39:34 -05:00
Ryan Higgins
6a6b8960d5 updating labels_conf table with extra koha columns
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-08-18 17:39:22 -05:00
Joshua Ferraro
d60d540d6d 1. remove quotes around integer values
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-08-18 17:39:07 -05:00
Paul POULAIN
2716acbb11 loading template 1st to have userenv set + fixing javasccript bug + reindenting
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-08-18 17:38:28 -05:00
Paul POULAIN
20f2e15e24 ordering supplier list & reindenting a little
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-08-18 17:37:56 -05:00
7e7a070ee3 Adding missing barcode.pl
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-08-16 13:42:39 -05:00
Paul POULAIN
284beffc62 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>
2007-08-16 06:59:17 -05:00
Paul POULAIN
2f3c909089 removing useless script
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-08-16 06:58:48 -05:00
Paul POULAIN
f620a771cb Adding KOHAVERSION management.
(adding forgotten kohaversion.pl)

Signed-off-by: Chris Cormack <crc@liblime.com>
2007-08-16 06:58:38 -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
39cb2ee520 some minor changes in template
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-08-16 06:56:31 -05:00
Paul POULAIN
1e6c13df39 show callnumber in result list and update SQL by using LEFT JOIN
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-08-16 06:56:17 -05:00
Paul POULAIN
720bc7b37a adding supplier deletion feature.
A supplier can be deleted ONLY if it has NO basket

Signed-off-by: Chris Cormack <crc@liblime.com>
2007-08-16 06:56:00 -05:00
Joshua Ferraro
836b9857ed content-type was incorrectly set in InstallAuth.pm
Adding 'wizard' and 'login' detection

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-08-15 21:22:21 -05:00
Paul POULAIN
92f2909d57 reintroducing an important line in TransformeMarcToKoha
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-08-14 21:32:52 -05:00
Paul POULAIN
55ac115e61 fixes to fine management
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-08-14 21:32:45 -05:00
Paul POULAIN
e49fc799f5 spelling error
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-08-14 21:32:34 -05:00
Paul POULAIN
497bbd84b0 show the departure date if close or past
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-08-14 21:32:22 -05:00
Paul POULAIN
67416b736d some template cleaning, using right action tool bar for buttons
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-08-14 21:32:10 -05:00
Paul POULAIN
7f30f3b20a fixing cleanborrowers
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-08-14 21:32:04 -05:00
Paul POULAIN
7612dacc6f 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.
2007-08-14 21:30:38 -05:00
Paul POULAIN
78a65edccc don't show the issuer on OPAC
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-08-14 21:29:08 -05:00
Paul POULAIN
e55803e8d6 fix bug in calendar handling
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-08-14 21:28:53 -05:00
Paul POULAIN
9a32fe85c2 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>
2007-08-14 21:28:28 -05:00
Joshua Ferraro
fc41d057f1 removing some unused directories
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-08-13 12:29:01 -05:00
Joshua Ferraro
cefeb583ad fixing permissions on scripts
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-08-13 12:22:30 -05:00
Chris Cormack
f14a897b90 Fixing a bug that was causing the installer to not check the password
correctly

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-08-10 15:43:56 -05:00
Chris Cormack
aafcb600c1 Merge branch 'master' of /home/jmf/repos/koha-rm-root.git/ 2007-08-10 12:15:13 -05:00
Joshua Ferraro
2b2f7a1794 revisions to login page to make it pretty
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-08-10 12:15:05 -05:00
Chris Cormack
24d5e31dae Changing InstallAuth to use CGI::Session and fixing install.pl which broke
with the kohastruture.sql clean up

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-08-10 10:55:53 -05:00
Chris Cormack
8494eff8bc Removing warn in Auth.pm
Changing InstallAuth.pm to use CGI::Session

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-08-10 10:51:59 -05:00
Paul POULAIN
3d72e5fcca don't check cardnumber on member modify
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-08-10 06:22:10 -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
663f3bb7d8 Revert "set the branch at login"
This reverts commit bf1fd83d08.

Conflicts:

	koha-tmpl/intranet-tmpl/prog/en/auth.tmpl

Signed-off-by: Chris Cormack <crc@liblime.com>
2007-08-09 10:46:47 -05:00
Joshua Ferraro
b2420d8aa3 working on adding library logi
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-08-09 10:46:38 -05:00
Chris Cormack
a85f100494 Merge branch 'mymerges' 2007-08-09 10:12:00 -05:00
Joshua Ferraro
2e7a14fe4d patch to fix marc21 leader
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-08-09 10:11:33 -05:00
Chris Cormack
9908688379 Merge branch 'master' of /home/jmf/repos/koha-rm-root.git/ 2007-08-09 09:53:13 -05:00
Paul POULAIN
3f9017b349 adding a ExpandField feature to MARC editor : all subfields that are empty and not mandatory are hidden by default. a click on the tag title expand all of them. This is better imho than the previous minimizer, because :
Note that the minimize/expand by default behaviour could be changed to use the hidden property. Il let LibLime guys say what they think of this proposal, and discuss another behaviour.
Anyway, it proves that the new editor is better than the previous one as it can evolve easily ;-)

Signed-off-by: Chris Cormack <crc@liblime.com>
2007-08-09 09:51:57 -05:00
Paul POULAIN
e1f5681bbf pagination did not work anymore : we stepped only 1 record by 1 record. fixes the problem
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-08-09 09:51:45 -05:00