Commit graph

2417 commits

Author SHA1 Message Date
acli
1c3cb74b82 Display something useful if the user doesn't specify -f 2004-02-13 01:20:03 +00:00
acli
1f128d7381 Don't issue warnings for unquoted attributes containing [^-\.a-zA-Z0-9]
unless --pedantic-warnings is given. These don't seem to cause any trouble,
even in Mozilla's standards compliant mode.
2004-02-13 01:14:18 +00:00
acli
1addd34bb1 Paul's problem #1 is now fixed: Bug in regular expression $re_directive.
Put my "grander plan" :-) in the comments
2004-02-13 01:03:18 +00:00
acli
250d1fcefc Don't extract purely-numeric strings like "1" either 2004-02-13 00:48:52 +00:00
acli
a49634cb34 Seems like I wasn't careful enough recognizing unknown tokens. Incomplete
tags like "<b foo" at the end of the file seems to be discarded silently by
Mozilla, even in quirks mode. We now display a warning for these (in case
these ever come up by accident).
2004-02-13 00:42:52 +00:00
acli
bed495ed3e Minor wording rewrite in warning 2004-02-12 18:25:43 +00:00
acli
906bfbc3d6 Warn about unquoted attribute values containing [^-\.a-zA-Z0-9] 2004-02-12 18:19:17 +00:00
acli
21403fd5cc extract_attributes now knows what XML-style self-closing tags are 2004-02-12 17:58:24 +00:00
acli
0a9cd4aba1 Warn about <<Prev 2004-02-12 17:44:59 +00:00
acli
33a4d5705a It now knows what << Prev is, but it may still be confused by other kinds
of tag lookalikes
2004-02-12 17:38:42 +00:00
acli
5affdbf4e7 Handle attributes which are TMPL_VAR's better. It was choking on
systempreferences.tmpl.
2004-02-12 09:38:20 +00:00
acli
2f928c4e75 Don't extract strings in hidden values 2004-02-12 09:26:54 +00:00
tipaul
58951e551f new feature : stocktaking/inventory.
Look in reports menu
(no DB changes)
2004-02-12 09:16:18 +00:00
tipaul
f247a6c8db ignoring .tmpl that are hidden files (.somthing.tmpl). hidden files are generated by tools like emacs 2004-02-12 09:13:40 +00:00
acli
0be46ba475 This should be good enough to replace text-extract.pl, but some real
testing is needed.
2004-02-12 09:02:39 +00:00
acli
7d244a0b70 This is an experimental filter, based on simple scanning, that *should*
(ultimately) work better than the standard filter based on real parsing
of the .tmpl files.
2004-02-12 08:55:14 +00:00
tipaul
af08d677c5 synch'ing 2.0.0 branch (RC4 tag) and head 2004-02-11 08:42:01 +00:00
acli
6f472dbf7b exit(-1) after usage() is not needed 2004-02-10 09:42:18 +00:00
acli
c8a9c26150 Minor correction in help text
This handling for --help works too, and is less wordy
2004-02-10 09:40:21 +00:00
acli
c195908744 Arrays are always defined. We should check its length instead. 2004-02-10 09:36:44 +00:00
acli
c1b5d94e20 Minor spelling correction.
Don't proceed if the user specified an unknown option.
2004-02-09 23:34:08 +00:00
acli
057ba36767 Fix of bug 711, "No message named WhereisMySQL in Install.pm".
Added defined() check for
"Use of uninitialized value in -e at Install.pm line 2085, <STDIN> line 32."
2004-02-09 22:36:32 +00:00
tipaul
f8bde9b034 sync'ing with rel_2_0 (mostly prepare/execute pb, bug #662) 2003-12-22 19:16:58 +00:00
tipaul
0396f7c920 fixing bug in extended char import 2003-12-12 10:48:20 +00:00
tipaul
1b3657c9a6 typo fix 2003-12-11 12:39:05 +00:00
tipaul
1e93add16b templates modified : ALL <TMPL_* XX> have been replaced by <!-- TMPL_* XX -->, because it's strict html compliant, and HTML::TreeBuilder deals better with this form. 2003-12-09 10:26:51 +00:00
tipaul
bc9f67122d some new trips : non translated strings are marked with "*****" to be easy to see.
french opac updated. works fine :-)
2003-12-08 16:26:06 +00:00
tipaul
8d695ff6d0 removing : & * at end of strings 2003-12-08 13:36:56 +00:00
tipaul
bf161df7e5 strings for opac in french 2003-12-08 13:03:49 +00:00
tipaul
2d5668bab5 improving what's discarded : script & stylesheet 2003-12-08 13:03:28 +00:00
tipaul
d74459f35a translator tool. see translator_doc.txt 2003-12-05 16:53:46 +00:00
tipaul
8e1d61da86 empty english stopwords file 2003-12-04 12:29:58 +00:00
tipaul
c1df780112 asking again for MARC structure & language definition :
* the test was wrong (installer didn't ask if you do a fresh install),
* the user can answer N if he don't want to import marc definition
2003-12-04 12:08:36 +00:00
tipaul
c620bd91f5 fixing index definition 2003-12-04 12:07:08 +00:00
slef
571d609ccd fix for bug 600 2003-12-02 22:13:25 +00:00
tipaul
43d4de6679 - using -P to remove empty dirs
- minor code cleaning (removing commented code)
2003-11-28 09:40:18 +00:00
tipaul
5175c45aaf fix for #634 2003-11-24 17:15:55 +00:00
tipaul
e46bf8e102 fix for #380 2003-11-24 13:16:36 +00:00
slef
84b5174eba update cardnumber to 16 digits 2003-11-12 16:07:13 +00:00
slef
a291cb08d7 Updated text after user testing 2003-11-10 17:02:00 +00:00
slef
b902f17fa5 z3950 fixes and version display fixes 2003-11-05 23:31:10 +00:00
slef
1fba97b398 Merged $database and $dbname. That could have been nasty in a release 2003-10-31 17:58:16 +00:00
slef
a1a1bfc8fa Fixing database upgrade failure from koha.upgrade and setting language 2003-10-31 17:40:51 +00:00
slef
4d5274c4d9 Basic fixes to make the installer and upgrader run 2003-10-31 17:34:25 +00:00
slef
054f769d2c Timed backups in installfiles 2003-10-27 17:39:41 +00:00
slef
fb0a6e739d Added getmysqldir function 2003-10-27 17:36:17 +00:00
slef
78b00f1709 Old files warning and MARC upgrade fix 2003-10-27 17:13:06 +00:00
slef
9a40e42524 first part of upgrade merge: some FIXMEs and testing to do 2003-10-26 13:21:19 +00:00
slef
2a83b02991 Initial changes so that I can test. /etc still hardcoded. z3950 installation buggy. Really needs merge with Install.pm, which I will nw start on. 2003-10-26 12:21:14 +00:00
tipaul
9027aa7532 etcdir not harcoded 2003-10-25 09:53:54 +00:00
slef
417692a5b5 A lot of wording rewritten 2003-10-22 14:48:08 +00:00
slef
dc21db2954 Work on install bugs (see bug 632) 2003-10-20 19:16:50 +00:00
tipaul
b8fca2a019 Upgrade script :
the koha2marc.pl copies the old DB into the new MARC one. This script must be executed when migrating from 1.2.x to 2.0.x.
2003-10-20 15:42:43 +00:00
tipaul
539d1fa7ca koha.upgrade bugfixes. Should work... 2003-10-20 14:25:36 +00:00
tipaul
2758cd2a75 script to clean MARC DB when a subfield is removed from the MARC editor : the subfield is NOT removed from DB (to avoid stupid loss of data). This script forever removes unused subfields from the DB. Quite fast script. 2003-10-14 12:36:36 +00:00
tipaul
0d96be2e29 adding rebuildnonmarc.pl script : run this script when you change a link between marc and non MARC DB. It rebuilds the non-MARC DB (long operation) 2003-10-14 09:45:29 +00:00
slef
f31b394a03 Removing config info from z3950*sh and using C4::Context in processz3950queue (Fixed bug 39) 2003-10-06 09:10:38 +00:00
slef
9df450b936 add locale test (Closes: 576) and remove crap underlining 2003-10-05 21:27:06 +00:00
rangi
2bf9de3d80 Committed on behalf of Stephen Hedges
This is a script for the use of printing, and emailing overdue notices.
The script must be run from the command line

Documentation is contained in the script
2003-09-11 22:37:07 +00:00
tipaul
e44a0bf8f5 adding some <CR> 2003-09-08 13:36:00 +00:00
tipaul
0bf69c0939 some perf improvment tries 2003-09-08 08:41:18 +00:00
slef
4c1fb55c4c my.cnf and grep bugsquashes from mailing list 2003-09-07 22:51:46 +00:00
tipaul
6240ea9520 moving a z3950 script 2003-09-05 11:29:07 +00:00
tipaul
45ae9b219e repeating 2x how to login with mySQL user/password 2003-09-05 08:40:28 +00:00
tipaul
9413ee2f7d modifying MARC21 default setup : using Nelsonville setup, that is working. User just need to define itemtypes. 2003-09-03 15:14:18 +00:00
slef
e28f2b38de ugly fix, deleting a prototype 2003-07-14 23:36:03 +00:00
slef
f2450dc621 making sure we have enough newlines on quit 2003-07-14 23:30:58 +00:00
slef
adad6f530b Adding test for Event module 2003-07-14 23:15:55 +00:00
slef
bc6e1a06c4 fixing bug 98 by quoting field and table names 2003-07-09 16:19:19 +00:00
slef
8f91b84fe0 making sure that scripts are covered by 490 fix 2003-07-09 01:21:23 +00:00
slef
28ca6bcc8e first part of bug 490 fix 2003-07-09 00:16:22 +00:00
slef
b72c761a02 odd dir for apache logs 2003-07-07 20:58:48 +00:00
tipaul
08e551f194 minor changes 2003-07-07 14:49:41 +00:00
wolfpac444
1a1c3332af Fixed #513 2003-07-02 19:13:26 +00:00
slef
d1a3bdbd33 File copying repair. Fixes #489 2003-06-30 11:23:06 +00:00
slef
305185d9ea Preserving old template/script dirs if they exist, ready for upgrade to use Install.pm 2003-06-30 10:06:18 +00:00
tipaul
6adc093874 fix for #431 2003-06-24 08:27:04 +00:00
slef
41659e0fc2 Really closes 488 after partial commit 2003-06-18 23:03:44 +00:00
slef
e6a41e7e3f Closes bug 488 re Webserver config. Also improves display a little and removes some code bloopers. 2003-06-18 23:03:00 +00:00
slef
5ceb2a9905 Fixing httpd.conf to be koha-httpd.conf where necessary 2003-05-21 21:47:05 +00:00
tipaul
bb435c687d NEW BULKMARCIMPORT script everybody was waiting for :-)
It loads an iso2709 file into the ACTIVE Database. My 1st tests on sample files shows it works quite fine.
Feel free to try it.
How it works ? enter ./bulkmarcimport in a console, and look.
Note : i'm proud, because it's less than 100 lines long => 99 lines !!!
2003-05-21 14:27:02 +00:00
tipaul
942bbc733a some improvment.
enter ./dumpmarc.pl without parameters to get help
2003-05-21 14:19:32 +00:00
slef
77cc50b1ac Explain new httpd.conf situation 2003-05-20 20:11:44 +00:00
slef
84361de6e2 Initial fix to bug 417: non-root installer 2003-05-20 19:50:17 +00:00
tipaul
327025a79b a little sample script that dump a iso2709 file. call it with :
dumpmarc.pl -file /path/to/your/iso2709.file
2003-05-20 15:48:23 +00:00
tipaul
3f59b811c2 workaround for 412 until sample data works 2003-05-14 13:33:42 +00:00
tipaul
57af925a06 fix for 430 2003-05-14 13:24:52 +00:00
tipaul
3ba617d346 fix for #422 2003-05-05 13:36:21 +00:00
tipaul
90a979f356 fix for #360 2003-04-23 20:55:04 +00:00
tipaul
0b0f59713e fix for #260 2003-04-09 16:39:26 +00:00
tipaul
5518139a72 adding "how to connect to koha" after install 2003-04-07 08:12:32 +00:00
tipaul
f7cdfab2d8 small fix to copy index.html for opac & intranet to the right place 2003-04-04 11:44:57 +00:00
wolfpac444
a09fc08c37 Added the stuff for the text messaging field -- Fixed bug #219 2003-03-25 05:13:26 +00:00
tipaul
6dd49e6a65 english MARC21 update. checking MARC parameter tables now reports a success :-) 2003-03-20 11:44:25 +00:00
tipaul
5fd15869df /koha-tmpl/ is now the documentroot for opac and intranet pages (remember koha-html is deprecated and should be removed very soon)
the index.html shows just 2 links : 1 to intranet.html, the other to opac.html.
during buildrelease, intranet.html is moved to intranet document root and renamed to index.html, same thing for opac.html with opac documentroot.
with this trick, you can have a "cvs" install, and a clean "official" install
2003-03-18 14:17:56 +00:00
tipaul
91a8537f28 fix bug #205 2003-03-18 11:34:38 +00:00
tipaul
7911035348 * bugfix 161
* removing koha-html cvs module : it's now unneeded. Should be removable from cvs when confirmed nothing has been forgotten
2003-03-18 08:54:55 +00:00
wolfpac444
698653dcc1 Fixed bug #176. 2003-03-16 22:30:08 +00:00
wolfpac444
0194e69c5f Fixed bug #178 2003-03-16 22:18:03 +00:00
wolfpac444
9b85fd2b09 Fixed bug #175. 2003-03-16 22:06:54 +00:00
tipaul
808015b56c improving UNIMARC default structure.
fixing a little bug ("homebranch" not mapped, now mapped to 995c)
2003-02-13 15:05:58 +00:00
tonnesen
3b9defca87 Use chdir instead of absolute path 2003-02-04 18:19:38 +00:00
tonnesen
a88b8beaf3 Removed dependence on the koha-tmpl cvs module which is just a link to
koha-tmpl directory in the koha module.
buildrelease also now uses an absolute path to find the buildrelease script for
guessing the current version number.
2003-02-04 18:17:43 +00:00
tipaul
ff2458f885 *** empty log message *** 2003-02-04 16:43:07 +00:00
tipaul
6c06ead0b2 including zh_TW as languages during install. 2003-02-04 15:12:12 +00:00
acli
d11fb5906b Check for Mail::Sendmail, for opac/opac-userupdate.pl (Bug 105) 2003-02-04 06:22:19 +00:00
tipaul
702fef90dc bugfix #186 2003-01-28 15:34:52 +00:00
tipaul
d211774437 removing MARC::Charset test 2003-01-28 15:31:22 +00:00
tipaul
5fdedad728 userflag table now created in upgrade script (bugfix #171) 2003-01-28 15:13:30 +00:00
acli
5c018a19c3 Added check for MARC::Charset, used in acqui.simple/marcimport.pl
(see bug 179)
2003-01-26 23:34:48 +00:00
acli
51a0d6e4d8 Bump minimum perl version to 5.6.1 (Bug 179) 2003-01-26 16:18:34 +00:00
acli
02c4373017 Removed the reference to INSTALL since the file does not exist any more
Changed "do not install MARC tables" option from 3 to N, to prepare for
adding more MARC flavours later

Minor prompt message modifs

Minor POD updates
2003-01-25 19:00:05 +00:00
acli
650b266e74 Since "koha-tmpl" is now just a subdirectory in the "koha" CVS module, we
can guess it like so

Noted GNUism in script
2003-01-25 18:30:21 +00:00
acli
f09ea6d099 Added POD to all functions
POD updates
Changed the kohaadmin password prompt to make it clearer
2003-01-25 18:09:51 +00:00
acli
ea46a546c1 Minor quoting bug 2003-01-25 18:04:45 +00:00
arensb
251d8b2450 Emacs's colorization was being confused by single quotes in strings.
Added comments to fix this.
2003-01-25 17:50:48 +00:00
acli
ccdd7db26b If $noclear in showmessage is undef, default it to zero to avoid Perl
warnings.

Removed a few FIXME notes after moving them to bugs.koha.org
2003-01-25 17:39:10 +00:00
acli
39a34ab2f8 The SWTICH: label is unused; converted it into an if-elsif-else structure 2003-01-25 17:20:50 +00:00
acli
e5e992f52e Moved knowledge of "koha.conf.tmp" to the Install.pm
POD updates
2003-01-25 17:10:46 +00:00
acli
5bddd2240b Moved getmessage and showmessage closer to the front, so that the generated
POD makes more sense

Updated some POD
2003-01-25 16:33:51 +00:00
acli
62dc7d29d2 Removed the $:: notation from a lot of global variables; this is needed to
get "use strict" to do something useful regarding these global variables.
Because of this change, a number of accessor functions have been created to
let installer.pl get/set some of these global variables. (We should not use
the $Install:: notation for the global variables either, as that will also
make "use strict" do nothing about these variables.)

POD updates
2003-01-25 09:35:08 +00:00
acli
9e50a11c7e A bit of POD (content) corrections 2003-01-25 08:40:22 +00:00
acli
e9a9878966 Some POD (content) corrections 2003-01-25 08:26:32 +00:00
acli
613002cce8 Added more POD 2003-01-25 08:07:52 +00:00
acli
bd3f4ab65c Added POD to a few more functions 2003-01-25 07:50:30 +00:00
acli
69c9e569da Corrected POD syntax errors.
Creating a function "heading" to avoid syntax errors due to our use of
boxes consisting of equal signs to create headings.
2003-01-25 07:25:31 +00:00
acli
d275e12524 Factored all the "mkdir -p"-like code in getinstalldirectories into a
function (actually a dirname-like function and a "mkdir -p"-like function).

Note: This introduces a POSIX.pm dependence.
2003-01-25 06:38:08 +00:00
acli
3c1d446b9c The templates were installed in the wrong directories [Bug 174] 2003-01-25 06:32:34 +00:00
arensb
22487a7c52 (portability): use 'hostname' instead of 'hostname -f' (FreeBSD and
MacOS only support 'hostname [-s]').
2003-01-22 13:43:06 +00:00
arensb
d94a992aea Removed two "my" declarations that were masking previous variable
declarations, to make 'perl -w' happy.
2003-01-22 03:45:27 +00:00
tipaul
67b22efe87 *** empty log message *** 2003-01-20 13:25:29 +00:00
tipaul
6b58475018 fix for #167 2003-01-20 13:23:20 +00:00
acli
252e86a362 Replaced the reference to INSTALL with a reference to installer.pl 2003-01-20 03:40:03 +00:00
acli
d4496757a9 Updated intrahtdocs and opachtdocs in /etc/koha.conf creation, to reflect
the new actual locations
2003-01-19 02:31:52 +00:00
tonnesen
fa300fb4c2 Trunk 'buildrelease' script now gets the template files out of the koha-tmpl repository. 2003-01-16 20:57:29 +00:00
tipaul
d44c135f24 ambrose li patch + bugfix for #158 2003-01-15 13:05:21 +00:00
tipaul
94d998dbc6 bugfix for #158 2003-01-15 13:04:20 +00:00
tipaul
91e962aac7 bugfix for bug #157 2003-01-15 13:01:38 +00:00
tipaul
be7ab4cfec last commit before 1.3.3 ?
small bugfix and polish opac language selection
2003-01-06 11:11:56 +00:00
tipaul
af4c06b3ac road to 1.3.3 releasing... 2003-01-03 16:17:34 +00:00
tipaul
77e100f9a4 update of unimarc french default structure, to reflect plugin and new tab usage (from dombes installation) 2003-01-03 16:10:35 +00:00
tipaul
9684ad629a bugfixes for 1.3.3 release 2002-12-30 09:26:33 +00:00
tipaul
4844b4c717 small bugfixes 2002-12-20 13:58:34 +00:00
tipaul
88034fbccb bugfixes + language selection during install
road to 1.3.3
2002-12-20 10:30:15 +00:00
tonnesen
92821ae783 Moving install and upgrade scripts from rel-1-2 branch. This needs testing! 2002-12-12 21:40:39 +00:00
tipaul
0af7ebbdc8 bugzilla bug n129 fixed 2002-11-27 17:49:40 +00:00
tipaul
3c6b602065 last modif for 1.3.2 release 2002-11-27 10:51:25 +00:00
tipaul
120c3e6a31 road to 1.3.2 : installer.pl improvements (including marc parameter selection at installation) 2002-11-26 14:58:08 +00:00
tipaul
075c1259a1 changes to use new dir structure (many scripts moved to misc/)
installer now ask for marc parameters : either MARC21 in english or UNIMARC in french
2002-11-25 18:33:17 +00:00
tipaul
2e27ddc725 rebirthing safe-installer.
Note that buildrelease is broken for instance, so don't expect any installer to work well.
buildrelease will be corrected asap.
2002-11-25 16:37:09 +00:00
tipaul
d74f58f47f moving non koha-running files to misc dir 2002-11-22 10:40:12 +00:00
tipaul
8b8031b39a moving non koha-running files to misc dir 2002-11-22 10:20:40 +00:00
tipaul
b037fc2ce0 stopwords list (in french) 2002-11-22 10:10:15 +00:00
tipaul
5184a7497f moving non koha-running files to misc dir 2002-11-22 09:05:18 +00:00
tipaul
448ffb8109 deleting unused scripts 2002-11-21 09:22:06 +00:00
arensb
5e93dbd9ce Removed trailing whitespace. 2002-10-13 11:38:37 +00:00
arensb
5aa0fca7fa Removed trailing whitespace. 2002-10-13 10:43:54 +00:00
arensb
5e454c418b Added magic RCS comment.
Added a FIXME comment.
2002-10-13 06:32:17 +00:00
arensb
dbca39823f Merged with arensb-context branch: use C4::Context->dbh instead of
&C4Connect, and generally prefer C4::Context over C4::Database.
2002-10-05 09:44:27 +00:00
tonnesen
1e67687742 Added copyright statement to all .pl and .pm files 2002-08-14 18:12:50 +00:00
rangi
8e6b93acd7 The script mike uses to run backups on the koha database 2002-06-11 22:03:44 +00:00
pate
7d57ee8839 whacked a couple of bits that Chris marked as okay to delete. 2002-04-10 00:02:59 +00:00
rangi
dc447b69c3 Just added some comments for Pat
(Is this a good way of doing it? if not let me know)
2002-04-09 23:30:48 +00:00
pate
8982a436c2 refactoring, marking spots for further refactoring 2002-04-09 22:08:15 +00:00
rangi
0ad8becf32 tidied up, less hlt specific now 2002-03-17 02:31:02 +00:00
rangi
caa03b5380 Script to generate overdue fines.
Ideally run as a cronjob each night
2001-01-26 00:39:19 +00:00
rangi
d0374d0037 Initial revision 2000-12-19 23:45:51 +00:00