Commit graph

781 commits

Author SHA1 Message Date
tipaul
ae485ffef0 removing useless package & script 2006-01-17 16:08:25 +00:00
tipaul
59c9e65720 removing useless package 2006-01-17 16:06:54 +00:00
tipaul
296d6e3c41 removing useless sub 2006-01-17 16:06:43 +00:00
tipaul
4d5b2a4ced adding a XMLgetbiblio in Biblio.pm (1st draft, to use with zebra) 2006-01-10 17:01:29 +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
thd
09d82dc0aa Reverse array filled with elements from repeated subfields
to avoid last to first concatenation of elements in Koha DB.-
2005-12-12 14:25:51 +00:00
tipaul
af8f19ca56 code cleaning : removing useless package (everything needed copied in Accounts2.pm) 2005-10-27 12:10:00 +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
73ef51958f road to normalization : changing API = removing getbranchname, replaced by getbranchdetail (should be getbranch, but this sub already exists and I don't understand what it does...) 2005-10-27 12:05:58 +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
61c133ca31 code cleaning : removing useless package (everything needed copied in Accounts2.pm) 2005-10-26 08:29:28 +00:00
joshferraro
aa14e3e2d1 Previously there was no check to make sure that an issn number
actually existed; so if there was no isbn, and the issn was blank,
the item would be assigned a random biblionumber and the breeding farm
would report that the item already exists in the catalog (even though
it didn't). This fix adds a check to determine whether the imported
record has an issn before assigning a matching biblionumber.
2005-09-30 18:58:25 +00:00
rangi
2dbb13abd4 Marks the item borrowed now on the items table 2005-09-22 23:30:37 +00:00
tipaul
3a3f9bbb47 see mail on koha-devel : code cleaning on Search.pm + normalizing API + use of biblionumber everywhere (instead of bn, biblio, ...) 2005-09-22 15:31:05 +00:00
tipaul
e82eca42c9 see mail on koha-devel : code cleaning on Search.pm + normalizing API + use of biblionumber everywhere (instead of bn, biblio, ...) 2005-09-22 10:01:45 +00:00
rangi
af49cab023 Fixing typo channing ' to " so the title is stored in accountlines not $title 2005-09-06 05:34:52 +00:00
tipaul
830ba65a20 moving NewBorrowerNumber sub to Members package 2005-09-05 19:27:21 +00:00
tipaul
b897d55f23 moving findguarantor sub to Members package 2005-09-05 19:26:08 +00:00
tipaul
af0ff4419f removing findguarantee, that is also in Members.pm 2005-09-05 19:24:38 +00:00
rangi
4148d0ace6 Modified module to no longer use Date::Manip, not as powerful, but a lot faster. 2005-09-03 00:54:23 +00:00
rangi
5d816bf4ba This is currently a copy of C4::Date
But C4::Date uses Date::Manip, which in the authors own words

"If you look in CPAN, you'll find that there are a number of Date and Time packages.  Is Date::Manip the one you should be using?  In my
opinion, the answer is no most of the time."

He goes on to say, that because Date::Manip is powerful and is written fully in perl its also slow.
Now Circulation needs to be as fast as possible. And C4::Date isnt actually doing anything particularly tricky,
So im working on C4::Circulation::Date to be a replacement, in an attempt to win some speed
2005-09-03 00:35:47 +00:00
rangi
9796fc3b87 A work in progress still.
This module is for dealing with user submitted reviews of items
Currently it allows (with some scripts) a user to review any item on their reading record.
The review is marked unvetted, and a librarian must vette and approve the review before it can show to the public

The scripts to add/edit a review, and to display them for the opac are done.
The script to display a list of reviews waiting vetting for the librarians has also been done.
2005-09-03 00:05:40 +00:00
tipaul
1e6398ed4e continuing the work to move to zebra. Begin of work for MARC=OFF support.
IMPORTANT NOTE : the MARCkoha2marc sub API has been modified. Instead of biblionumber & biblioitemnumber, it now gets a hash.
The sub is used only in Biblio.pm, so the API change should be harmless (except for me, but i'm aware ;-) )
2005-09-02 14:34:14 +00:00
tipaul
2ba136efd2 removing branches sub, that should be in Koha.pm package (generic sub) 2005-09-02 14:30:28 +00:00
tipaul
07ea313528 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:28:38 +00:00
rangi
d2b2eb603b Fix for loanlength to make the default length work properly 2005-08-31 23:11:19 +00:00
rangi
a39bfaf75d fixing unfilledreserves 2005-08-25 23:15:34 +00:00
hdl
2dbb086c46 Adding a note field in serial table.
This will allow librarian to mention a note on a peculiar waiting serial number.
2005-08-24 08:49:03 +00:00
szrj1m
a70de3cbde &getcredits now returning 'BAY' and 'WORK' type credits too. 2005-08-22 01:05:49 +00:00
szrj1m
621e60b86e Added &getcredits routine. 2005-08-19 00:38:33 +00:00
szrj1m
41d7e8a44c UpdateStats is now being passed $accountno. 2005-08-18 21:15:20 +00:00
tipaul
4fa499f055 removing itemcount sub, that is already in Biblio.pm 2005-08-12 13:52:28 +00:00
tipaul
ba3339c4e8 searching with the zebra.
replacing 2.2 marc search by a Net::z3950 search (waiting for Perl/Zoom)
works only for title/author/isbn search, any other search is considered as 'keywork search' (=anywhere
2005-08-12 13:51:48 +00:00
tipaul
56e5773f9d removing useless sub declarations 2005-08-12 13:50:31 +00:00
tipaul
35e4cf543c was a test for inverted indexes. Useless we have choosen zebra 2005-08-12 13:39:51 +00:00
tipaul
0275f18980 removing useless package 2005-08-12 13:39:04 +00:00
tipaul
9a508fe3df Playing with the zebra...
* go to koha cvs home directory
* in misc/zebra there is a unimarc directory. I suggest that marc21 libraries create a marc21 directory
* put your zebra.cfg files here & create your database.
* from koha cvs home directory, ln -s misc/zebra/marc21 zebra (I mean create a symbolic link to YOUR zebra directory)
* now, everytime you add/modify a biblio/item your zebra DB is updated correctly.

NOTE :
* this uses a system call in perl. CPU consumming, but we are waiting for indexdata Perl/zoom
* deletion still not work
* UNIMARC zebra config files are provided in misc/zebra/unimarc directory. The most important line being :
in zebra.cfg :
recordId: (bib1,Local-number)
storeKeys:1

in .abs file :
elm 090            Local-number            -
elm 090/?          Local-number            -
elm 090/?/9        Local-number            !:w

(090$9 being the field mapped to biblio.biblionumber in Koha)
2005-08-11 16:12:47 +00:00
tipaul
19e29e9245 * POD documenting
* removing useless subs
* removing some subs that are also elsewhere
* renaming all OLDxxx subs to REALxxx subs (should not change anything, as OLDxxx, as well as REAL, are supposed to be for Biblio.pm internal use only)
2005-08-11 14:37:32 +00:00
tipaul
07a3e4c8fb just removing useless subs (a lot !!!) for code cleaning 2005-08-11 09:13:28 +00:00
tipaul
6f16f25d3a Ok guys, this time, it seems that item add and modif begin working as expected...
Still a lot of bugs to fix, of course
2005-08-11 09:00:07 +00:00
hdl
18a6bad8ab Minor display changes.
Now displaying publicationyear.
And biblio information in One cell.
2005-08-10 14:22:48 +00:00
hdl
27c2d1a72e Bug fixing on query getlateorders.
Adding subtotal.
Changing information display orders.
next work is pretty printing.
2005-08-10 10:22:57 +00:00
tipaul
139d01cf13 continuing the road to zebra :
- the biblio add begins to work.
- the biblio modif begins to work.

(still without doing anything on zebra)
(no new change in updatedatabase)
2005-08-10 10:21:14 +00:00
hdl
3a48682514 Adding lateorders page.
It provides the user with the list of items that have been ordered for a delay and are NOT yet received.
The user may filter by supplier or branch or delay.
This page is still under developpement.
Goal is to make it ready to print to reorder the books.

2 new functions have been written in Acquisition module :
getsupplierlistwithlateorders
getlateorders

branches has been modified to manage branch independancy.
Request for comment.
STILL UNDER developpment
2005-08-09 14:13:27 +00:00
tipaul
4cf30123a4 1st commit to go to zebra.
don't update your cvs if you want to have a working head...

this commit contains :
* updater/updatedatabase : get rid with marc_* tables, but DON'T remove them. As a lot of things uses them, it would not be a good idea for instance to drop them. If you really want to play, you can rename them to test head without them but being still able to reintroduce them...
* Biblio.pm : modify MARCgetbiblio to find the raw marc record in biblioitems.marc field, not from marc_subfield_table, modify MARCfindframeworkcode to find frameworkcode in biblio.frameworkcode, modify some other subs to use biblio.biblionumber & get rid of bibid.
* other files : get rid of bibid and use biblionumber instead.

What is broken :
* does not do anything on zebra yet.
* if you rename marc_subfield_table, you can't search anymore.
* you can view a biblio & bibliodetails, go to MARC editor, but NOT save any modif.
* don't try to add a biblio, it would add data poorly... (don't try to delete either, it may work, but that would be a surprise ;-) )

IMPORTANT NOTE : you need MARC::XML package (http://search.cpan.org/~esummers/MARC-XML-0.7/lib/MARC/File/XML.pm), that requires a recent version of MARC::Record
Updatedatabase stores the iso2709 data in biblioitems.marc field & an xml version in biblioitems.marcxml Not sure we will keep it when releasing the stable version, but I think it's a good idea to have something readable in sql, at least for development stage.
2005-08-09 14:10:27 +00:00
tipaul
190d05b00e minor (graphic) changes in log viewer 2005-08-08 09:11:54 +00:00
hdl
787c184dc7 Code necessary for IndependantBranches parameter to work. Should have been committed sooner...
Modify Histsearch and getorders to respect branches of librarian.
2005-08-08 08:42:32 +00:00
tipaul
3897417124 adding some fields available for Letters 2005-08-05 15:50:46 +00:00
tipaul
735487d1e6 removing my own adress as "From" ;-) 2005-08-05 14:48:52 +00:00