Commit graph

179 commits

Author SHA1 Message Date
rangi
d27c5bb427 Fix for bug 1296, making surnames uppercase a systems preference 2007-07-02 02:30:15 +00:00
tipaul
ce94bf33e0 removing some useless tables from updatedatabase 2007-06-26 13:25:37 +00:00
tipaul
5de780ff27 improving OpacBrowser systempref explanation 2007-06-26 09:23:26 +00:00
tipaul
e585fb5dab missing field declaration 2007-06-25 15:02:31 +00:00
toins
29cd577524 bugfix : bibliotitems.dewey & deletedbiblioitems.dewey mustn't be double(8,6). 2007-06-15 13:09:08 +00:00
toins
ad43aa9135 bug fix : items.homebranch must be VARCHAR(10) 2007-06-08 09:40:12 +00:00
tipaul
e4b1cc5f42 skip move to innoDB for the 4 22 tables, that are used to store MARC records, are useless in Koha 3.0 The process is very very long, so the updatedatabase should speed up a lot (by long I mean 1 hour on my Dual core with SCSI disk, for a 50 000 biblios long table 2007-05-23 16:33:10 +00:00
tipaul
e1d907c688 various bugfixes on parameters modules + adding default NoZebraIndexes systempreference if it's empty 2007-05-04 16:24:08 +00:00
tipaul
3e85c9e97f NoZebra SQL index management :
* adding 3 subs in Biblio.pm
- GetNoZebraIndexes, that get the index structure in a new systempreference (added with this commit)
- _DelBiblioNoZebra, that retrieve all index entries for a biblio and remove in a variable the biblio reference
- _AddBiblioNoZebra, that add index entries for a biblio.
Note that the 2 _Add and _Del subs work only in a hash variable, to speed up things in case of a modif (ie : delete+add). The effective SQL update is done in the ModZebra sub (that existed before, and dealed with zebra index).
I think the code has to be more deeply tested, but it works at least partially.
2007-05-02 16:44:31 +00:00
tipaul
a0b19e3e94 bugfix for updatedatabase : when there is no default value (NULL fields) + removing bibliothesaurus table+adding NoZebra systempref (False by default) 2007-04-30 16:16:50 +00:00
hdl
c6951debf0 Adding Version variable to systempreferences. 2007-04-13 16:27:55 +00:00
toins
3e764c663f - adding default value in marc_subfield_structure.
- now marc_subfields_structure displays subfields in tab view.
2007-03-19 18:35:12 +00:00
kados
56244e6efd Using my precrash CVS copy I did the following:
cvs -z3 -d:ext:kados@cvs.savannah.nongnu.org:/sources/koha co -P koha
find koha.precrash -type d -name "CVS" -exec rm -v {} \;
cp -r koha.precrash/* koha/
cd koha/
cvs commit

This should in theory put us right back where we were before the crash
2007-03-16 01:25:08 +00:00
tipaul
fc1342f73d rel_3_0 moved to HEAD 2007-03-09 15:12:54 +00:00
tipaul
967ec60b62 the new "includes" features, for personalized templates. Look at koha-devel, i'll write a mail here (& something on the wiki) 2006-08-11 10:03:13 +00:00
bob_lyon
d1cd796e6d Merging back in some katipo changes to serials 2006-07-20 04:36:01 +00:00
toins
9c8439c38a auto_increment id in aqbooksellers 2006-07-17 12:51:48 +00:00
toins
d6c6ec3435 sync with rel_2_2 2006-07-17 12:28:45 +00:00
toins
cc9524a875 Head & rel_2_2 merged 2006-07-04 14:36:51 +00:00
btoumi
477e8db3dc modify (initials,phone ) fields property in borrowers and deletedborrowers table 2006-06-27 09:26:37 +00:00
btoumi
5692934fa4 sorry i forget deletedborrowers table
modify firstname field from deletedborrowers table
2006-06-22 10:33:14 +00:00
btoumi
a0e06bc047 modify firstname field caracteristic from borrowers table 2006-06-22 10:30:57 +00:00
rangi
f30b030af8 Code to allow the associated borrowers to work 2006-06-20 22:35:47 +00:00
rangi
c59b34d069 Adding id field to reviews table 2006-06-17 22:12:01 +00:00
rangi
90f46afd60 Table definition for the reviews table 2006-06-17 03:36:41 +00:00
rangi
862d718568 Variable to allow librarians to switch reviews on or off 2006-06-17 03:29:41 +00:00
btoumi
72363f4a1e updatedatabase.pl: add change of borrowers table to deletedborrowers table
deletemem.pl: delete use of warn function
2006-06-16 09:45:02 +00:00
alaurin
193e22714f Add a new system preference 'AutomaticItemReturn' :
if this prefence is switched on: the document returned in another library than homebranch, the system automaticly transfer the document to his homebranch (with notification for librarian in returns.tmpl) .

switch off : the document stay in the holdingbranch ...

correcting bugs :
- comment C4::acquisition (not using in request.pl).
- correcting date in request.pl
-add the new call of function getbranches in request.pl
2006-06-08 15:36:31 +00:00
bob_lyon
404da07848 merging katipo changes...
adding new preference IssuingInProcess
2006-06-07 02:02:47 +00:00
bob_lyon
c7623fc55c Merging Katipo changes...
Adding new system pref where one can still retrieve a correct reading
record history if one has moved older data from issues to oldissues table
to speed up issues speed
2006-06-06 23:42:46 +00:00
rangi
b9ce47b194 Adding a new column to the statistics table 2006-06-01 03:18:11 +00:00
rangi
1cb0577c28 Adding new systempreference allowing for the library to add borrowers to institutions (rest homes, parishes, schools, classes etc). 2006-05-22 22:40:45 +00:00
tgarip1957
e6c8e77bf8 Added new fields to auth_header and auth_subfield_table to allow ZEBRA use of authorities and new MARC framework like structure.
Authority tables are modified to be compatible with new MARC frameworks. This change is part of Authority Linking & Zebra authorities. Requires change in Mysql database. It will break head unless all changes regarding this is implemented. This warning will take place on all commits regarding this
2006-05-19 19:31:29 +00:00
alaurin
ca7dc72536 update database for :
- new feature ip and printer management
adding two fields in branches table (branchip,branchprinter)

- waiting date : adding one field in reserves table(waiting date) to calculate the Maximum delay to pick up a reserved document when it's available

new system preference :
- ReservesMaxPickUpDelay : Maximum delay to pick up a reserved document
TransfersMaxDaysWarning : Max delay before considering the transfer as potentialy a problem
2006-05-19 16:51:44 +00:00
plg
47549951fa bug fixed: typo fixed in labels and labels_conf tables creation query. 2006-04-18 09:36:36 +00:00
sushi
7f7d59fc30 Added 'labels' and 'labels_conf' tables, for spine lable tool. 2006-04-17 21:55:33 +00:00
tgarip1957
d63c509765 Marc record should be set to UTF-8 in leader.Force it.
XML should be with<record> wrappers
2006-04-15 02:37:03 +00:00
tipaul
97182dceb2 improvements from SAN Ouest Provence :
* introducing a category_type into categories. It can be A (adult), C (children), P (Professionnal), I (institution/organisation).
* each category_type has it's own forms to create members.
* the borrowers table has been heavily modified (many fields changed), to get something more logic & readable
* reintroducing guarantor/guanrantee system that is now independant from hardcoded C/A for categories
* updating templates to fit template rules

(see mail feb, 17 on koha-devel "new features for borrowers" for more details)
2006-04-14 09:31:24 +00:00
plg
3bec20f948 new: function C4::Date::get_date_format_string_for_DHTMLcalendar based on
the system preference prefered date format.

improvement: book fund list and budget list screen redesigned. Filters on
each field. Columns are not sortable yet. Using DHTML Calendar to fill date
fields instead of manual filling. Pagination system. From the book fund
list, you can reach the budget list, filtered on a book fund, or not. A
budget can be added only from book fund list screen.

bug fixed: branchcode was missing in table aqbudget.

bug fixed: when setting a branchcode to a book fund, all associated budgets
move to this branchcode.

modification: when adding/modifying budget/fund, MySQL specific "REPLACE..."
statements replaced by standard SQL compliant statement.

bug fixed: when adding/modifying a budget, if the book fund is associated to
a branch, the branch selection is disabled and set to the book fund branch.
2006-04-13 08:36:42 +00:00
hdl
682cf34ecb Bugfixing : aqbookfund needed a field. 2006-04-06 12:37:05 +00:00
tipaul
3389e743a1 commit for holidays and news management.
(some forgotten files)
2006-03-03 17:02:22 +00:00
tipaul
2373f47a76 commit for holidays and news management.
Contrib from Tümer Garip (from Turkey) :
* holiday :
in /tools/ the holiday.pl script let you define holidays (days where the library is closed), branch by branch. You can define 3 types of holidays :
- single day : only this day is closed
- repet weekly (like "sunday") : the day is holiday every week
- repet yearly (like "July, 4") : this day is closed every year.

You can also put exception :
- sunday is holiday, but "2006 March, 5th" the library will be open

The holidays are used for return date calculation : the return date is set to the next date where the library is open. A systempreference (useDaysMode) set ON (Calendar) or OFF (Normal) the calendar calculation.
2006-03-03 16:35:21 +00:00
hdl
4f565a9b78 New table used in overduerules.pl tools page. 2006-02-27 18:19:33 +00:00
tipaul
8513397f42 updating DB :
* removing useless tables
* adding useful indexes
* altering some columns definitions
* The goal being to have updater working fine for foreign keys.

For me it's done, let me know if it works for you. You can see an updated schema of the DB (with constraints) on the wiki
2006-01-25 15:16:06 +00:00
tipaul
4ae498ae24 DB improvements : adding foreign keys on some tables. partial stuff done. 2006-01-24 17:57:17 +00:00
tipaul
d5938493d7 synch'ing head and rel_2_2 (from 2.2.5, including npl templates)
Seems not to break too many things, but i'm probably wrong here.
at least, new features/bugfixes from 2.2.5 are here (tested on some features on my head local copy)

- removing useless directories (koha-html and koha-plucene)
2006-01-06 16:39:37 +00:00
tipaul
c40f8c923f utf8 is a : go for beta test in HEAD.
some explanations :
- updater/updatedatabase => will transform all tables in innoDB (not related to utf8, just to warn you) AND collate them in utf8 / utf8_general_ci. The SQL command is : ALTER TABLE tablename DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci.
- *-top.inc will show the pages in utf8
- THE HARD THING : for me, mysql-client and mysql-server were set up to communicate in iso8859-1, whatever the mysql collation ! Thus, pages were improperly shown, as datas were transmitted in iso8859-1 format ! After a full day of investigation, someone on usenet pointed "set NAMES 'utf8'" to explain that I wanted utf8. I could put this in my.cnf, but if I do that, ALL databases will "speak" in utf8, that's not what we want. Thus, I added a line in Context.pm : everytime a DB handle is opened, the communication is set to utf8.
- using marcxml field and no more the iso2709 raw marc biblioitems.marc field.
2006-01-04 15:54:55 +00:00
tipaul
d9be1036aa new features for serial module :
- the last 5 issues are now shown, and their status can be changed (but not reverted to "waited", as there can be only one "waited")
- the library can create a "distribution list". this paper contains a list of borrowers (selected from the borrower list, or manually entered), and print it for a given issue. once printed, the sheet can be put on the issue and distributed to every reader on the list (one by one).
2005-10-27 12:08:44 +00:00
tipaul
b38997925f big commit, still breaking things...
* synch with rel_2_2. Probably the last non manual synch, as rel_2_2 should not be modified deeply.
* code cleaning (cleaning warnings from perl -w) continued
2005-10-26 09:11:02 +00:00
tipaul
cf94bf34fb new feature : image for itemtypes.
* run updater/updatedatabase to create imageurl field in itemtypes.
* go to Koha >> parameters >> itemtypes >> modify (or add) an itemtype. You will see around 20 nice images to choose between (thanks to owen). If you prefer your own image, you also can type a complete url (http://www.myserver.lib/path/to/my/image.gif)
* go to OPAC, and search something. In the result list, you now have the picture instead of the text itemtype.
2005-09-02 14:18:38 +00:00