oleonard [Sat, 3 Sep 2005 18:33:15 +0000 (18:33 +0000)]
Moving HTML out of the script, passing variables instead to the template. Adding toggle variable for alternating row colors
oleonard [Sat, 3 Sep 2005 18:31:03 +0000 (18:31 +0000)]
reservereport.tmpl has been moved to /reports
oleonard [Sat, 3 Sep 2005 18:30:20 +0000 (18:30 +0000)]
Putting this template in with reserves where it belongs. Also making a few changes: bringing it more in line with other CSS templates, adding alternating row colors, formatting links properly to go with updates to the script.
rangi [Sat, 3 Sep 2005 00:54:23 +0000 (00:54 +0000)]
Modified module to no longer use Date::Manip, not as powerful, but a lot faster.
rangi [Sat, 3 Sep 2005 00:35:47 +0000 (00:35 +0000)]
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
rangi [Sat, 3 Sep 2005 00:28:01 +0000 (00:28 +0000)]
Link to reviews displaying if there are any available
rangi [Sat, 3 Sep 2005 00:25:08 +0000 (00:25 +0000)]
More ugly html, this template is to display reviews, once a user has click on the display review link on the opac-detail.pl page
rangi [Sat, 3 Sep 2005 00:22:17 +0000 (00:22 +0000)]
Template for editing/adding a review.
This is ugly chris html .. im hoping Owen or someone can fix it up
rangi [Sat, 3 Sep 2005 00:18:29 +0000 (00:18 +0000)]
Change to the template to display a link to add a review
rangi [Sat, 3 Sep 2005 00:10:36 +0000 (00:10 +0000)]
Now fetches the number of reviews, and passes it through to the template to be displayed
rangi [Sat, 3 Sep 2005 00:09:34 +0000 (00:09 +0000)]
Script to display reviews, given a biblionumber
rangi [Sat, 3 Sep 2005 00:07:55 +0000 (00:07 +0000)]
Script to add or edit a review
rangi [Sat, 3 Sep 2005 00:05:40 +0000 (00:05 +0000)]
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.
tipaul [Fri, 2 Sep 2005 14:46:40 +0000 (14:46 +0000)]
* road to zebra for MARC=OFF
* removing Acquisitions/branches.pm call, as it's now in Koha.pm
tipaul [Fri, 2 Sep 2005 14:45:29 +0000 (14:45 +0000)]
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.
tipaul [Fri, 2 Sep 2005 14:34:14 +0000 (14:34 +0000)]
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 ;-) )
tipaul [Fri, 2 Sep 2005 14:30:28 +0000 (14:30 +0000)]
removing branches sub, that should be in Koha.pm package (generic sub)
tipaul [Fri, 2 Sep 2005 14:28:38 +0000 (14:28 +0000)]
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.
tipaul [Fri, 2 Sep 2005 14:18:38 +0000 (14:18 +0000)]
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.
rangi [Wed, 31 Aug 2005 23:11:19 +0000 (23:11 +0000)]
Fix for loanlength to make the default length work properly
oleonard [Wed, 31 Aug 2005 15:53:53 +0000 (15:53 +0000)]
Fix for bug 585 (Using 'document.forms[0]' notation prevents use of other forms on page) Changing the reference from [0] to ['f'], with 'f' being the form name, seems to work fine. Also quoting some unquoted attributes and fixing some HTML typos
oleonard [Wed, 31 Aug 2005 15:53:03 +0000 (15:53 +0000)]
Fixing broken link back to moremember.pl
rangi [Tue, 30 Aug 2005 02:05:55 +0000 (02:05 +0000)]
Fix for the counts being inaccruate
szrj1m [Mon, 29 Aug 2005 01:41:12 +0000 (01:41 +0000)]
Added link to 'reservereport.pl'.
szrj1m [Sat, 27 Aug 2005 05:59:00 +0000 (05:59 +0000)]
Removed Data:Dumper line, and general tidy-up.
szrj1m [Sat, 27 Aug 2005 04:04:40 +0000 (04:04 +0000)]
Set 'authnotrequired' to 0
szrj1m [Fri, 26 Aug 2005 23:55:25 +0000 (23:55 +0000)]
Added status field, and patron asnd title links.
szrj1m [Fri, 26 Aug 2005 23:53:59 +0000 (23:53 +0000)]
Added status field, and patron and title links.
doxulting [Fri, 26 Aug 2005 12:26:26 +0000 (12:26 +0000)]
Removed useless line
doxulting [Fri, 26 Aug 2005 12:18:59 +0000 (12:18 +0000)]
Correct a bug that prevents selectionning an entry with a quote
szrj1m [Fri, 26 Aug 2005 04:43:18 +0000 (04:43 +0000)]
Syncing rangik enhancements to main.
rangi [Thu, 25 Aug 2005 23:17:26 +0000 (23:17 +0000)]
Fixed reserve report script
rangi [Thu, 25 Aug 2005 23:15:34 +0000 (23:15 +0000)]
fixing unfilledreserves
rangi [Thu, 25 Aug 2005 22:29:30 +0000 (22:29 +0000)]
Shifting in here from the base directory
rangi [Thu, 25 Aug 2005 22:28:21 +0000 (22:28 +0000)]
Moving to reports/
oleonard [Wed, 24 Aug 2005 17:54:51 +0000 (17:54 +0000)]
Fixes for Bug 926 (forms lack method and/or action attributes). Also hiding 'delete' functionality from opac-shelves.tmpl when user cannot manage shelf, other HTML cleanup
hdl [Wed, 24 Aug 2005 08:49:03 +0000 (08:49 +0000)]
Adding a note field in serial table.
This will allow librarian to mention a note on a peculiar waiting serial number.
szrj1m [Tue, 23 Aug 2005 23:56:08 +0000 (23:56 +0000)]
Fixed non us date, and ?time=19/08/2005 now works.
szrj1m [Tue, 23 Aug 2005 22:03:09 +0000 (22:03 +0000)]
Tidy up.
oleonard [Mon, 22 Aug 2005 19:09:49 +0000 (19:09 +0000)]
This shelves template doesn't appear to be in use by any scripts. All intranet virtual shelves templates are under \koha-tmpl\intranet-tmpl\default\en\bookshelves
oleonard [Mon, 22 Aug 2005 19:02:21 +0000 (19:02 +0000)]
Several new item type images, corresponding to item types used by requesting library.
genjimoto [Mon, 22 Aug 2005 12:54:25 +0000 (12:54 +0000)]
modified template to enable circulation system to show picture of borrower for verification purposes.
genjimoto [Mon, 22 Aug 2005 12:53:48 +0000 (12:53 +0000)]
modified script to enable circulation system to show picture of borrower for verification purposes.
szrj1m [Mon, 22 Aug 2005 05:56:34 +0000 (05:56 +0000)]
Tidy up.
genjimoto [Mon, 22 Aug 2005 04:25:11 +0000 (04:25 +0000)]
Script to either 1) display upload template or 2) upload file if param 'photo' was used.
genjimoto [Mon, 22 Aug 2005 04:23:44 +0000 (04:23 +0000)]
Template for photo upload, see member-picupload.pl and moremember.pl and moremember.tmpl
genjimoto [Mon, 22 Aug 2005 04:21:38 +0000 (04:21 +0000)]
Added picture display. if this borrower picture exists, it displays. Either way, it has a "Upload Picture" label that calls member-picupload.pl
genjimoto [Mon, 22 Aug 2005 04:18:31 +0000 (04:18 +0000)]
Added picture displaying code. If member picture exists in intranet-tmpl/borrowerimages/ (ie if bornum is 1, then its picture will be 1.jpg) then display.
szrj1m [Mon, 22 Aug 2005 02:26:36 +0000 (02:26 +0000)]
Oops, adding CSV_XS module back.
szrj1m [Mon, 22 Aug 2005 01:05:49 +0000 (01:05 +0000)]
&getcredits now returning 'BAY' and 'WORK' type credits too.
szrj1m [Mon, 22 Aug 2005 00:52:35 +0000 (00:52 +0000)]
HTL mod for till reconciliation.
szrj1m [Mon, 22 Aug 2005 00:37:11 +0000 (00:37 +0000)]
Removed unneeded modules.
szrj1m [Mon, 22 Aug 2005 00:33:45 +0000 (00:33 +0000)]
Removed unused modules.
szrj1m [Mon, 22 Aug 2005 00:24:07 +0000 (00:24 +0000)]
HTL mod for till reconciliation.
szrj1m [Mon, 22 Aug 2005 00:21:41 +0000 (00:21 +0000)]
HLT mod for till reconciliation, opens to csv'ed excel.
szrj1m [Mon, 22 Aug 2005 00:19:43 +0000 (00:19 +0000)]
HLT mod for till reconciliation.
szrj1m [Fri, 19 Aug 2005 00:38:33 +0000 (00:38 +0000)]
Added &getcredits routine.
szrj1m [Thu, 18 Aug 2005 21:15:20 +0000 (21:15 +0000)]
UpdateStats is now being passed $accountno.
tipaul [Fri, 12 Aug 2005 14:05:34 +0000 (14:05 +0000)]
using C4::Koha getitemtypes sub & not search.pm one (quest for normalization)
tipaul [Fri, 12 Aug 2005 14:03:00 +0000 (14:03 +0000)]
normalizing API, using biblionumber everywhere
tipaul [Fri, 12 Aug 2005 13:58:08 +0000 (13:58 +0000)]
minor change in UNIMARC zebra.cfg
tipaul [Fri, 12 Aug 2005 13:57:03 +0000 (13:57 +0000)]
*** empty log message ***
tipaul [Fri, 12 Aug 2005 13:53:35 +0000 (13:53 +0000)]
minor change in css (margin between buttons)
tipaul [Fri, 12 Aug 2005 13:53:09 +0000 (13:53 +0000)]
normalizing API, using biblionumber everywhere
tipaul [Fri, 12 Aug 2005 13:52:28 +0000 (13:52 +0000)]
removing itemcount sub, that is already in Biblio.pm
tipaul [Fri, 12 Aug 2005 13:51:48 +0000 (13:51 +0000)]
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
tipaul [Fri, 12 Aug 2005 13:50:31 +0000 (13:50 +0000)]
removing useless sub declarations
tipaul [Fri, 12 Aug 2005 13:39:51 +0000 (13:39 +0000)]
was a test for inverted indexes. Useless we have choosen zebra
tipaul [Fri, 12 Aug 2005 13:39:04 +0000 (13:39 +0000)]
removing useless package
tipaul [Thu, 11 Aug 2005 16:35:54 +0000 (16:35 +0000)]
This script can be use to rebuild the zebra DB. It stores all koha MARC records in iso2709, in the bilbios directory. After that, you just have to "zebraidx update biblios"
I tried on a 9900 DB, here are the results :
[paul@bureau migration_tools]$ ./rebuild_zebra.pl -c
9900
9903 MARC record done in 37.
9104120731354 seconds
[paul@bureau zebra]$ zebraidx update biblios
<snip>
18:31:24-11/08 zebraidx(20348) [log] Iterations . . . 144575
18:31:24-11/08 zebraidx(20348) [log] Distinct words . 39891
18:31:24-11/08 zebraidx(20348) [log] Updates. . . . . 46
18:31:24-11/08 zebraidx(20348) [log] Deletions. . . . 2
18:31:24-11/08 zebraidx(20348) [log] Insertions . . . 39843
18:31:24-11/08 zebraidx(20348) [log] zebra_register_close p=0x8104cf8
18:31:25-11/08 zebraidx(20348) [log] Records: 9887 i/u/d 9881/6/0
18:31:25-11/08 zebraidx(20348) [log] user/system: 531/145
18:31:25-11/08 zebraidx(20348) [log] zebra_stop
18:31:25-11/08 zebraidx(20348) [log] zebraidx times: 11.33 5.31 1.45
tipaul [Thu, 11 Aug 2005 16:12:47 +0000 (16:12 +0000)]
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)
tipaul [Thu, 11 Aug 2005 14:37:32 +0000 (14:37 +0000)]
* 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)
tipaul [Thu, 11 Aug 2005 09:13:28 +0000 (09:13 +0000)]
just removing useless subs (a lot !!!) for code cleaning
tipaul [Thu, 11 Aug 2005 09:00:46 +0000 (09:00 +0000)]
some changes in link (using biblionumber standard name)
tipaul [Thu, 11 Aug 2005 09:00:07 +0000 (09:00 +0000)]
Ok guys, this time, it seems that item add and modif begin working as expected...
Still a lot of bugs to fix, of course
hdl [Wed, 10 Aug 2005 14:22:48 +0000 (14:22 +0000)]
Minor display changes.
Now displaying publicationyear.
And biblio information in One cell.
hdl [Wed, 10 Aug 2005 10:22:57 +0000 (10:22 +0000)]
Bug fixing on query getlateorders.
Adding subtotal.
Changing information display orders.
next work is pretty printing.
tipaul [Wed, 10 Aug 2005 10:21:14 +0000 (10:21 +0000)]
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)
hdl [Tue, 9 Aug 2005 14:13:27 +0000 (14:13 +0000)]
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
tipaul [Tue, 9 Aug 2005 14:10:27 +0000 (14:10 +0000)]
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.
hdl [Tue, 9 Aug 2005 12:06:46 +0000 (12:06 +0000)]
Bug Fixing : taking alphanumeric itemcallnumber into accounts.
oleonard [Mon, 8 Aug 2005 16:58:21 +0000 (16:58 +0000)]
Minor display changes
oleonard [Mon, 8 Aug 2005 15:52:57 +0000 (15:52 +0000)]
Programmer template
hdl [Mon, 8 Aug 2005 13:58:07 +0000 (13:58 +0000)]
BUG Fixing a user with acquisition rights and no superlibrarian rights couldn't create a new basket with IndependantBranches management on.
hdl [Mon, 8 Aug 2005 13:55:52 +0000 (13:55 +0000)]
Managing branch independancy when creating a new biblio.
A librarian of one branch cannot create a biblio on a branch different form his own, unless superlibrarian.
tipaul [Mon, 8 Aug 2005 09:11:54 +0000 (09:11 +0000)]
minor (graphic) changes in log viewer
hdl [Mon, 8 Aug 2005 08:42:32 +0000 (08:42 +0000)]
Code necessary for IndependantBranches parameter to work. Should have been committed sooner...
Modify Histsearch and getorders to respect branches of librarian.
rangi [Mon, 8 Aug 2005 02:15:54 +0000 (02:15 +0000)]
Just a litle comment at the bottom that contains the koha version number
rangi [Mon, 8 Aug 2005 02:09:39 +0000 (02:09 +0000)]
Passing through kohaversion to the template
oleonard [Sat, 6 Aug 2005 20:19:56 +0000 (20:19 +0000)]
New programmer templates
tipaul [Fri, 5 Aug 2005 15:50:46 +0000 (15:50 +0000)]
adding some fields available for Letters
tipaul [Fri, 5 Aug 2005 15:39:13 +0000 (15:39 +0000)]
removing NEW text, it was for testing purposes.
tipaul [Fri, 5 Aug 2005 14:48:52 +0000 (14:48 +0000)]
removing my own adress as "From" ;-)
tipaul [Fri, 5 Aug 2005 14:47:23 +0000 (14:47 +0000)]
2 new features :
- a mail is sent everytime an issue if recieved in serial module. The mail is sent to all borrowers that have put an alert on the subscription (remember that you can put an alert only if the librarian have defined a "letter" as mail to send)
- the librarian can see, for a given subscription, who has put an alert.
tipaul [Fri, 5 Aug 2005 14:43:44 +0000 (14:43 +0000)]
adding emailaddress to user context.
Now, we can use userenv->{emailaddress} to get the librarian email address everywhere.
oleonard [Thu, 4 Aug 2005 21:17:04 +0000 (21:17 +0000)]
Added styles for "sticky due date" form in circ
oleonard [Thu, 4 Aug 2005 20:52:22 +0000 (20:52 +0000)]
Synching with rel_2_2.
oleonard [Thu, 4 Aug 2005 19:43:45 +0000 (19:43 +0000)]
More programmer's templates
tipaul [Thu, 4 Aug 2005 16:07:58 +0000 (16:07 +0000)]
Synch really broke this script...
tipaul [Thu, 4 Aug 2005 16:02:55 +0000 (16:02 +0000)]
oops... error in synch between 2.2 and head