[koha-commits] main Koha release repository annotated tag start created. start
Git repo owner
gitmaster at git.koha-community.org
Thu Jan 23 19:50:31 CET 2014
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "main Koha release repository".
The annotated tag, start has been created
at 9d1e7f55cd44e65759ac0774cbd94859537a0936 (tag)
tagging 15f625ecf560eeb7a2b933b403893f5e19f849dd (commit)
replaces R_1-2-2RC4
tagged by dnmeid
on
- Log -----------------------------------------------------------------
amillar (12):
Removing Catalogue.pm because it doesn't compile cleanly yet
Some cleanup, reformatting, fix some undeclared variables
Some code cleanup. Created subroutines for ISBN checksum, z3950 queue insert, and table-based form option selects for item type and branch code (branch code select no longer hard-coded).
Add comments, make branchrelations consistent with other table additions
Modularize table creation, driven by hash instead of redundant code.
Fix warning about use of undefined variable, found when endmenu called from marcimport.pl
Add item using newitem() from C4::Acquisitions.pm
Fix typo in booksellerid field name
Add biblio using C4::Acquisitions newbiblio
Moved addition of Biblioitem to separate subroutine
Added "lccn" and "marc" fields to newbiblioitem
add websites table
dnmeid (2):
Initial revision
Imported template-files
dragon28 (3):
fixed typo
fixed a typo
fixed a typo
finlayt (80):
Added a heading to be consistent with rest of Koha
Changed heading to look like the rest of Koha
added database patchs to the updater/updatedatabase script
fixed typo
Fixed typo
Changes to circulations: added returns.pl -> deals with the returns only moved old circulation.pl to circulationold.pl which still deals with issues. fixed up branchtransfers.pl moved circulation2.pl to circulation.pl
moredetail.pl presents circulation information taken from the branchtransfers table
added branchrelations table and changed branchcategories table to allow admin/branches.pl to work properly.
Changed the word: Fines to: Charges
Changed the error message from: There is no book with barcode: XXXXXX to: No item with barcode: XXXXXXX
Removed the "Item has been transfered" message from the returnbook2 subroutine.
changed the destination branch dropdown to only show branches that have categorycode == CU, ie can be current branch.
script for changing the branch and printer settings, taken from circulation.pl
fixed the branch and printer setting mechanism changed layout slightly
Completely new. This file handles the issues, and sets branch and printer cookie.
improoved layout and branch and printer settings are displayed
fixed a little bug with cookies and setting the branch and printer settings.
Changed the wording of error message from: "Cannot transfer item to branch it is already at" to: "Item already at destination branch"
Added the reserves functionality. Now calls a bunch of routines from Reserves2.pm
Added some subroutines. All reserve activity should go through these. CheckReserves (search on itemnumber), CancelReserve (manages priorities correctly) ReserveWaiting (sets a reserve record to waiting and sorts other priorities)
Some small changes in transferbook: uses the new Reserves2.pm methods.
Fixed up the reserves code to use the new Reserves2.pm methods.
Changed the returnbook method to use CheckReserves instead of FindReserves.
Most everything is fixed now in returns, including the way it displays (a little).
improved all the code so that priorities are reset properly.
Changed the issuebook routine to use the new methods from C4::Reserves2.pm
fixed minor bugs
fixed bug http://bugzilla.katipo.co.nz/show_bug.cgi?id=1284 If an item doesnt have a holdingbranch it just shows blank instead of not appearing at all.
rewrite, so that it correctly displays branches and waiting reserves.
Checked diff in branchtransfers. datesent and datearrived are given datetime, not just date
changed the wording of two messages. see http://bugzilla.katipo.co.nz/show_bug.cgi?id=1390
these files were old versions that are not currently used.
fixed up some little bugs around the big buttons that change between issues, returns and transfers
changed the behaviour when a reserved book is returned according to the wishes of HLT.
reactivated the printreserve method that is used to print a slip when a reserved book is returned. this is used in /circ/returns.pl
fixed bug that kept asigning reserved books to the same person!
fixed up the reserves. Can view the printed slip before it is printed!
Fixed up the Print module. Added a function printslip that takes a string as an argument. It is easier to prepare the slip and then call the print function. in circulation.pl I have moved some javascript out to the circulation-top.inc
commented out a warn or two...
removed warn statement
Changed FindReserves so that it gets biblioitem data if the reserve has a reserve constraint.
taking out some warn statements....
removed some warn statments.
Fixxing bugs
added the book title and author to the reserve messages.
added the itemtype code to the printed slip that goes in a reserved book.
Changed the ItemInfo method. if an items "itemlost" field is 2, the 'duedate' is set to "Very Overdue". If itemlost = 1, duedate is set to "Lost".
added "notforloan" field to the itemtypes table.
added the ordernumber information to make the Aquisitions link work.
added a if the volumendesc field is null.
fixed up the todays issues and previous issues tables so that they are both listed in reverse order by issue date.
changed the previous issues to be listed in order of due date
I have changed the branch options to only include the Issueing branches. Also if no branch is set it Defaults to Levin.
all items are listed in the returned items list, regardless of whether they were issued or not. Changed some messageing stuff as well, but will be back to fix that up some more.
added a check in the returnbook subroutine that checks to see if a book has been cancelled: i.e. that the wthdrawn field has been set to 1.
changed the color to red and size to +2 for the Issuing Question....
Added some red color here into the message that appears when a waiting book is attempted to be issued.
Fixed a really terrible bug! Took out the fixpriorities call in FillReserve. This is not necesary because the priorities are fixed up when the item is set to waiting in ReserveWaiting.
Changed the wording of the reserves print slip slightly.
added a Boolean: $norequests whhich is set on the template detail.tmpl so that the "requests" button only apears if it is actually possible to make a request. This is set by checking against the "notforloan" field on the itemtypes table.
fixed up the CheckReserves.pm routine so that it does not put Referece items into "waiting" status if there is a reserve. Also fixed a bug in detail.pl.
removed the printreserve routine. It has been replaced by printslip.
Fixed a bug in the reordering priorities in FillReserve and andother different bug in CheckReserves.
Fixed a little bug so that flags get recalculated after an item is issued.
A little script for performing changes to the branch fields on items. This script runs over the database.
minor changes to comments etc....
Fixed up some of the messaging stuff.
turned of the branchtransfer when an item is set to "waiting".
Changed the display of lost, long overdue, reference, and cancelled items.
fixed bug caused by last commit
Fixed up the display of bibitems, implemented some restrictions on which items can be reserved.
Fixed bug by cleaning out crud.
added another link on the "Reserve Found" flag.
another little tinker. long overdues are now requestable.
rewrote CheckReserves so that it can be called with a barcode as well as on itemnumber.
Fixed bug in flags display
Bug fix in ReserveWaiting to make sure only the record found is marked waiting.
Little bug fixes.
Changed so that when a Waiting item is returned the holding branch is updated.
changed the way Waiting items are transfered from returns.pl to Circ2.pm
pate (10):
refactored slashifyDate function out of inline code, created C4/Koha.pm to hold it and wrote tests for it, started marking other places for potential refactoring.
refactoring, marking spots for further refactoring
whacked a couple of bits that Chris marked as okay to delete.
moved ethnicity fixing out of moremember.pl into a function, eventually to replace with a more configurable version (non-NZ specific)
moved ethnicity fixups into C4::Koha, eventually to be replaced with a better (non-NZ specific) solution.
starting to move ethnicity stuff out of programs and into modules
initial version of the Changelog -- used cvs2cl to generate it.
general cleanups
updated testing
quick updates/corrections
rangi (55):
tidied up, less hlt specific now
Deals with lost book charges now
Doesnt write to an include anymore
Shifting writeoff code back into pay.pl (redirecting to writeoff.pl was breaking when the borrower owes a lot of fines)
Draws list of branches from the branches table now, when adding an item
Fixing branches
Fixed the holding branch insertion code. It was inserting the correct homebranch but was still inserting the wrong home branch
More work on the addbooks scripts, committing on behalf of Roger
Actually lives in telnet/
Fixing up the query to pickup budget
Have realised misc/fines2.pl is the real fines script, this one can be removed so as to remove one more source of confusion
Script wasnt setting street address correctly
Just a quick little fix the sql to update a borrower was setting the postal address twice, instead of the postal, then the physical address. My little fix got overwrote by pat's fix so im updating now before i forget :)
Little typo, missing t in systemprefs Apart from that, all the patch files seem to be running happily on hlt.katipo.co.nz
Just added some comments for Pat (Is this a good way of doing it? if not let me know)
Working on a fix to speed up title and author searches
Fixing the subject search i broke ;)
Submitting on behalf of Nicholas First cut (not functional yet) of an installer script
Fixing bug reported by Steve, Couldnt remove an additional Author when modifying a biblio
Cleaning out all unused cruft. C4Connect is the only function that was actually being used in this module
No harm in adding these to the main branch either
Fixing a typo
Removing keywordsearch2 (no longer used) Fixing glitches in counting lost items. In items itemlost=1 item marked lost by a librarian itemlost=2 item marked lost by kohas automatic this item is over 4 weeks overdue routine.
Making the CatSearch and KeywordSearch return more sane returns Returns an array of hashrefs now, rather than the array of tab separated strings it was returning before.
Now use the new hash based results returned from Search.pm
Just adding some spaces to test the new cvs-koha list
Starting Makefile.PL and starting work on pod inside Search.pm
Committing Paul's changes into the main branch, and salvaging the changes made in version 1.4 that got clobberd by 1.5
Will work now with the existing C4/Search.pm at least the one in the main branch. Will still break with the version in rel-1.2
Now works with all searches, this plus the templates should now be close to a drop in replacement for the existing search.pl
Made a wrapper function catalogsearch This then chooses whether to call KeywordSearch, or CatSearch, or any other searches.
Shifted picktemplate out into C4::Output.pm
Html::Templated version of detail.pl, this combined with the template in koha-html should be a drop in replacement for the intranet detail.pl script
Reverting back to old search.pl (for now) The html::template version is in html-template
First cut of moredetail.pl using html::template
Now uses KeywordSearch from C4::Search rather than keywordsearch from C4::Acquisitions .. which can now be deprecated? At least unless gynn tells me ive done something bad :)
Just a little fix to make it display an add variable button instead of add new member. add variable button is in koha-html
Adding in publisher and abstract as search fields
Fixing ItemInfo2 to ItemInfo
Some minor changes to get detail.pl and moredetail.pl working nicely with html::template
Fixing syntax error
Committed on behalf of Mike
The script mike uses to run backups on the koha database
Fix to get list of overdue items showing correctly
Fix to get sticky due date working
issues printing issue slips again
Fixing issues which i broke just before ... perhaps one more commit today. Issues used to pop up a payment window when a borrower had finished issuing and had money to pay. We seem to have lost that, ill try and get it back
pop up pay window is working again
Regex to change the javascript to make cursor start in barcode box
Fixed so datelastseen is updated on the item record for every issue or return
Making sure fix makes it into the main branch as well Fix for bug 69
fix to pass the catalog maintenance flag along
Fix for last borrower for the moredetail.pl page sCVS:
fixes for the ordering of the issues table in issues, and also on the printed slip
calc_charges expects to be passed a database handler, this wasnt happening, which was breaking this page
saas (1):
Correct spelling - aquisitions to acquisitions
tipaul (51):
Sample database only for parameters tables
Script to apply to sample DB only. It makes a few modifications in the DB (indexes creation, some data deletion, and unused tables drop) Creates a thesaurus table from the bilbiosubject one
updated database.mysql : dropped unused tables, created indexes : old database.mysql updated by updatedatabase2.pl script
Bugfixes : removes some hard coded trailing dates in select...
oops, removing 3 test lines... (ending by a die !)
* getallorders now returns only not fully recieved orders
DB query optimisation
First, run updater/thesaurus_create.pl. It creates a thesaurus table and fills it with data in bibliosubject. Thesaurus contains 2 columns : freelib and stdlib. This permits connecting differents forms for a word/sentence (HUGO may be mapped to V. Hugo, Victor Hugo...) In modbib.pl, you will see "..." near subject. If you click on this ..., a popup appear. It has 4 parts : the Subject field, a search field with Search button. If you enter a value here and click Search, a list of thesaurus entries starting by what you enter appear. If you select a value and click "OK", the value is added to the subject list. When you've finished, click END. the window is closed, and the value copied to main subject window.
bugfix : link corrected to acquisition
newsubtitle called only if title exist
small bugfix : adding bibdata only if exist
Update of systempreferences table structure and admin script. Contains now a "help" fields that shows what param is supposed to do what. The params will be in the sample-DB. I've dumped the 3 I know. If there are others, let me know :
smalll bugfixes and code cleaning. See mail in koha-devel for remaining questions
Beginning of marc stuff : * in marc directory, the marcschema.sql contains now the new marc structure. The old one is in marcschema.old.sql. * in marc directory, the fill_usmarc.pl script fills the structure tables with USMARC format in english. Thanks to steve for the BIG work getting them from LOC... It's still to do for UNIMARC in english, and of course in french for me ;-) * in admin directory, the marctagstructure.pl script helps playing with the structure and modifying it... It's not ended (tomorrow, i hope it will be)
some more cleaning : removed duplicated row, added indexes
* modification of tables/row names : *_tag_* replaced by *_subfield_* where needed * modification of word table
New and hopefully last version of the MARC-DB. Is the fastest in benchmark, everybody agree ;-) (Sergey, Steve and me, Paul)
ouuppsss... forget the 1.13 version, i made a mistake. This version works and should be the last
test.pl, contains a script to test the Catalogue.pm stuff. Catalogue.pm : marc stuff : * the 3 xxxSubfield functions works * the addMarcBiblio function has been added : if you pass it a perlmarcstructure (sample in test.pl and explanation in marc/perlmarcstructure file), it adds a biblio to the marc_schema. The newbiblioitem (old koha-DB) still has to be updated to build the perlmarcstructure internally and call addMarcBiblio function.
Proposing simplified perlmarcstructure. Interesting mainly for Steve
today stuff around marc. Will change soon as we will use MARC::record (see marcpm.sourceforge.net)
MARC stuff : beginning to use MARC::Record package.
Going to MARC 1.4...
trying to merge rel-1-2 into main branch... test with this script, choosen randomly ;-)
* Acquisition synchronised with rel-1-2 * Update of biblio.pm and catalogue.pm that continuates MARC stuff. Lot of explanations at the beginning of Biblio.pm
MERGE 1.2 and main branches Still a few diffs i don't understand :
merging branches 1.2 and main
merging of rel-1-2 and main branch
merging rel-1-2 and main
merging 1-2 and main.
merging 1.2 and main. Diffs are due to new features.
merging 1.2 and main branches
merging 1.2 and main branches
Merge from 1.2 and main branches
merging 1.2 and main branches. Only 1 line merged, as all diffs are due to finlay's rewritting of this script.
merging 1.2 and main branches
merging 1.2 and main branches
bugfix from merging
only 1 change : buttun-add-new instead of button-add-variable. Other diffs are due to "explanation" row adding, only in main branch
merging 1.2 and main branches
merging 1.2 and main branches. main branch now uses ethnicity SQL table
Long is the road to MARC..
*** empty log message ***
1st scripts for MARC-DB.
Now, the API... Database.pm and Output.pm are almost not modified (var test...)
Now, the acqui.simple system... marcimport.pl has been almost completly rewritten, so LOT OF BUGS TO COME !!! You've been warned. It seems to work, but...
small script that show in HTML a MARC biblio stored in koha. Very useful for test, and could be a start for MARC management in koha.
pod documenting the API.
adding mysql path for linux mandrake (which is /usr/bin/mysql)
MARC API continued... * some bugfixes * multiple item management : MARCadditem and MARCmoditem have been added. They suppose that ALL the MARC field linked to koha-item are in the same MARC tag (on the same line of MARC file)
* fill_usmarc.pl => fills db with MARC21/english data structure. The modifs now maps koha item fields to 995 MARC tag. * updatedb2marc.pl => builds MARC data from old-DB. WARNING : this script translate around 30rows/seconds, which is neither good nor bad (if you consider that 1 biblio+1 item = more than 50 record in the MARC-DB). But if you plan to migrate a 30 000 books db, launch script and go for lunch ;-)
tonnesen (91):
This is my bulk MARC record importing tool. Feel free to test it out, but DO NOT use it on a production system yet! It needs to be more adaptable to different MARC implementations.
Fixed typo
Added some comments detailing how MARC fields are mapped to Koha data
Starting to play with HTML::Template I'm going to work on the search interface instead of the circulation interface as the search interface is where my librarians want the most changes at the moment.
Put Dewey back in template file
Now using real data. Returns first 20 records where author starts with 's'
Added ability to switch between two templates. One template shows biblionumber, the other template shows notes, in the third column.
Still playing. Added a "next record" link
Fixed startfrom in template links in header
Modified to use Search.pm and KeywordSearch(). Note that I had to modify Search.pm as well to get it to return something other than that bizarre @stuff array. :)
Modified Search.pm to work with HTML::Template search.pl file. WARNING!! This Search.pm will break the existing search!!!!
Cleaned up formatting of dewey number before returning result from Search.pm
Small cleanups. We really need to hash out some standard hierarchy for storing these templates. I'm thinking they are going to get a little overwhelming...
Changes: - templates are expected to be found in INCLUDESDIR/templates/catalogue/searchresults/default.tmpl - Works with default Search.pm from cvs
Calculate itemcount in Search.pm if using new template based search interface
Fixed some problems in default.tmpl Note, I have the includes dir hard-coded in default.tmpl. Needs fixing. Also, you can pick another template by setting a systempreferences variable 'template' to some other value. If the given template can't be found, default.tmpl will be loaded instead.
Fixed reference to newsearch.pl instead of search.pl
Added cell padding back in to table for default.tmpl
Modifications to use new template directory structure. Removed hard coded includes directory in templates. Note that TMPL_INCLUDE tags in a template will now use the koha.conf includes variable as a search path, so only the filename needs to be used.
Fixed some breakage...
Bug that prevented picking alternate themes from default
Fixed search.pl so that next and previous buttons work... had to pass form parameters in to the templates
Darn. Committed over old search.pl... really going to have to learn how to roll back files. ;)
Starting rewrite of Catalogue.pm using Paul's new marc schema, and Alan's koha-wide ban on $dbh->quote. :)
Added marc_NXX_subfield_table tables
Used subfieldcode where I should have used subfieldid (in primary key) Note that I changed bibcode and tagcode to bibid and tagid as well to avoid confusion with subfieldcode (which is the one letter subfield code)
Few more changes... not much to look at yet, still wrapping my head around the new schema
Benchmarking files for comparing performance of two different proposed database schemas for MARC storage. See IRC log at
First attempt at a perl data structure for marc records
Script for printing barcode labels. Running this script sends raw postscript to stdout, so redirect to a file for viewing with ghostview, or to a postscript capable printer for printing. There are some variables which can be edited at the top of the script.
Further simplifications to the marc schema specification
Changed subfieldmark back to subfieldcode
Started modifications to match new marc schema
New benchmark run to test Sergey's schema
Benchmark script for sergey's schema
Splitting into separate tag and subfield tables
removed fieldid in favour of tagid, removed _sergey from table names, added tagorder field to tag table, renamed marc_field_table to marc_tag_table.
removed another _sergey
Skeleton test file for Catalogue.pm. Fails miserably so far. :)
Added checking for option to run unsafe database tests. The idea is that tests that attempt to modify the library database will _not_ be run unless the environment variable DoUnsafeDBTests is set to 1. This allows people on production systems to run the tests without any fear of data corruption, while developers can run the full suite of tests on a standard sample database.
I couldn't get testKoha to run until I modified the runtests line. Am I using a different version of Test::Harness?
Merging rel-1-2 changes into main
More merges in from rel-1-2 All of the changes so far have been minor. I did uncomment delbiblio($biblio) in delbiblio.pl in the main branch to match delbiblio.pl in rel-1-2
Third in the series of branch merges. Starting to run out of easy stuff. :)
merges from rel-1-2. Starting to get a little longer now. Being very careful.
Are we getting sick of merging yet? Not me!
47 files to go, 47 files to go, take one down, pass it around... 46 files to go.
Most of these merges are just removing unused parts of the perl modules.
Merged changes from rel-1-2 branch version 1.21.2.1, all fixes to warnings
Merged with rel-1-2 copy
Merged changes from rel-1-2
Cosmetic change. Merged with rel-1-2
Perl 5.005 doesn't like the -I after the script name. (This doesn't look very functional yet in any case, but thought I'd put it in as a fix) :)
Switched button-add-member to button-add-new in /admin/ scripts.
removed "use warnings"
Fixed bug. $sth->execute after $sti->prepare.
Merged in optional ethnicity fix from rel-1-2
Merged in updates from rel-1-2
Merged SimpleMarc.pm over from rel-1-2
module added from rel-1-2 branch
Copying missing files from rel-1-2 to trunk
Removed use warnings; which breaks perl 5.005
Merged over from rel-1-2
Added from rel-1-2 branch
Merging bug fix from rel-1-2
merging changes from rel-1-2
Fixed bug in checkvalidisbn()
Merged changes from rel-1-2. Abstracted table structure changes by alan.
bug fix
Beginning of authentication api. Applied to shelves.pl for now as a test case.
Minor changes
Additions to authentication scheme. Logs to /tmp/sessionlog. Will move this to a db table.
Checks for a basic authentication userid. If found, it skips the cookie stuff. Also now supports scripts that do not _require_ authentication, but might display differently if they get an authenticated userid (might be useful for opac pages, where pages could be tailored to meet a patron's preferences).
Minor changes to authentication routines.
Auth.pm now checks the password againts a new field in the borrowers table (password). There is also a new "userid" field in the borrowers table. When a user logs in, the userid will be checked against the userid first and the cardnumber second, so either method will work.
Cookie bug.
Added sessionqueries table and password/userid fields to borrowers table
use warnings breaks perl 5.005
too many arguments to mklink
Bug fixes from rel-1-2
Bug fix from rel-1-2
Auth.pm now caches form submissions and resubmits them if a user logs back in after being logged out for inactivity. Also switched from crypt passwords to md5 passwords stored in borrowers table. Used Digest::MD5 module. I ain't gonna reinvent _that_ wheel. :)
Updates to authentications cripts. userpage.pl is the page for authenticated users in the OPAC to set preferences, get personal information, etc.
Cleaned up contents of location information
Send cookie in header
Missing bracket
Changes from rel-1-2 branch
Fix permissions on /etc/koha.conf on initial install.
Added copyright statement to all .pl and .pm files
Removed '_' between issues, returns, and transfers graphics
Added bibliothesaurus table
truth_nz (16):
Updates to use changed newbiblio sub in C4/Acquisitions.pm
Altered newbiblio to be more generic - so can use with new acui.simple scripts (which are not finished yet).
Acquisitions::newbiblioitem updated to be usable for new acqui.simple addorder.pl and updatebibitem.pl modified to use new newbiblioitem
Modifications for new acqui.simple Database includes new biblio abstract field and biblioitem url field acqui/finishreceive.pl modified to use changed C4/Acquisitions.pm
scripts for new acqui.simple system
Bug fixes to get the new acqui.simple system working.
Fixed bug due to way hashes take values. Was stopping items being saved to database. Added code to pick up branch list from database.
Update to catalogue to allow change of biblio abstracts. Related modifications to acqui system to match changes in Acquisition.pm detail.pm changed to show abstract - still working on how to show url's
Update to catalogue to allow change of biblio abstracts. Related modifications to acqui system to match changes in Acquisition.pm detail.pm changed to show abstract - still working on how to show url's
New files, and changes to add associated webstes to a biblio. Adds a new table to database - so installer needs updating again.
Changes to allow modifications to the website biblioitems Changes to way that website biblioitems are shown on the details page
bug fix to actually save the changes made to an website biblioitem.
Added code to allow deleting of biblioitems
Patch to acqui system to use new newbiblioitem() parameters
Fixed a few warnings.
Update to acqui.simple system. Hopefully this is a lot more user friendly. Probably a few bug fixes to come still.
-----------------------------------------------------------------------
hooks/post-receive
--
main Koha release repository
More information about the koha-commits
mailing list