Commit graph

781 commits

Author SHA1 Message Date
tipaul
791e786944 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.
2005-08-05 14:47:23 +00:00
tipaul
2605a20610 adding emailaddress to user context.
Now, we can use userenv->{emailaddress} to get the librarian email address everywhere.
2005-08-05 14:43:44 +00:00
tipaul
e218294c2c fixing a bug in synch 2005-08-04 14:35:54 +00:00
tipaul
2cd0bc1da8 synch'ing 2.2 and head 2005-08-04 13:27:37 +00:00
tipaul
df6c6bcada Letters / alert system, continuing...
* adding a package Letters.pm, that manages Letters & alerts.
* adding feature : it's now possible to define a "letter" for any subscription created. If a letter is defined, users in OPAC can put an alert on the subscription. When an issue is marked "arrived", all users in the alert will recieve a mail (as defined in the "letter"). This last part (= send the mail) is not yet developped. (Should be done this week)
* adding feature : it's now possible to "put to an alert" in OPAC, for any serial subscription. The alert is stored in a new table, called alert. An alert can be put only if the librarian has activated them in subscription (and they activate it just by choosing a "letter" to sent to borrowers on new issues)
* adding feature : librarian can see in borrower detail which alerts they have put, and a user can see in opac-detail which alert they have put too.
Note that the system should be generic enough to manage any type of alert.
I plan to extend it soon to virtual shelves : a borrower will be able to put an alert on a virtual shelf, to be warned when something is changed in the virtual shelf (mail being sent once a day by cron, or manually by the shelf owner. Anyway, a mail won't be sent on every change, users would be spammed by Koha ;-) )
2005-08-04 08:54:54 +00:00
hdl
0960f3245c Removing some unuseful warns.
Adding an error management for memberentry : Branch.
2005-07-29 16:14:37 +00:00
hdl
1b11e86c9e Some Bug Fixes 2005-07-28 15:40:52 +00:00
tipaul
3df7bdc5d3 For instance, the return date does not rely on the borrower expiration date. A systempref will be added in Koha, to modify return date calculation schema :
* ReturnBeforeExpiry = yes => return date can't be after expiry date
* ReturnBeforeExpiry = no  => return date can be after expiry date
2005-07-28 08:38:15 +00:00
hdl
5d22c28ea2 Implementing Independancy Branches management :
- Trying to get a basket not owned by so of his own branch leads to mainpage.
- Lists onlys ths baskets owned by someon of user's brach.

Auth.pm now sends a cookie with userenv informations.
2005-07-28 07:52:02 +00:00
hdl
7bd7c514e4 Adding branch Independancy support for searchsugestion. 2005-07-26 17:01:11 +00:00
hdl
31fca3dfd2 Bug Fixing for independantBranches support.
Addign a Cookie containing user specific vars such as :
branch,
firstname,
surname,
cardnumber...
may be criticized from a lawyer point of view, since name and surname are given.
But the real need is for userid and branch.
And it is achieved.
Auth passes now TWO cookies :
a session cookie
And an environment cookie.
2005-07-26 15:58:47 +00:00
tipaul
b8e4963f90 some bugfixes, but still don't work correctly 2005-07-26 10:12:48 +00:00
hdl
5fa6925444 Adding Branch Independancy.
Still under development.
2005-07-26 07:50:27 +00:00
hdl
552d398bf7 Adding page to display log views.
can be called by admin/viewlog.pl
Works with C4/Log.pm
uses action_logs table
2005-07-20 16:09:03 +00:00
hdl
e4a19baab6 Adding an object field to action_logs.
+ Minor Correction to updatedatabase
Changing Activate_Log from choice to YesNo Variable.
2005-07-19 16:48:15 +00:00
slef
f0fefb2ec0 Add start of 2.3 installer. Remove obsolete? files conflicting with 2.3 installer 2005-07-18 16:38:57 +00:00
hdl
bec1be7090 Adding Log Facility.
Needs Two Update in database...
On more table (action_logs)
And One more syspref Activate_Log, with On|Off values.
Maintainance has been sweeped of previous Log functions
addbiblio.pl contains a sample of code using Log.pm
To be generalized to Authorities, acquisitions, members soon.
2005-07-15 16:10:31 +00:00
hdl
ec94689218 Adding a log facility for actions watching.
Code to be widely used in order to report data modifications.
2005-07-14 09:53:10 +00:00
hdl
2950574dd6 Adding branch specific display to budgets and selection.
Be warned that to be able to select a budget which is not from patron's Branch, you should have a '' Branch information.
2005-07-14 09:13:24 +00:00
hdl
979940ecba Modifying branch Selection : Now Superlibrarians are always able to see ALL branches budget, not simple librarians. 2005-07-12 13:59:38 +00:00
genjimoto
91fe8eb8e0 New code making a search not needing to use tables not already used in searching.. doesn't take longer than normal. Achieved via new parameter in Catalogsearch called $extratables. 2005-06-25 05:35:29 +00:00
hdl
02c6eacdb7 Adding scrolling list for sort1 and sort2 2005-06-22 09:36:24 +00:00
tipaul
6b0ee5525b synch'ing 2.2 and head 2005-06-20 14:10:00 +00:00
hdl
27ce1d1c23 Detailing the three latest issues on OPAC for serials 2005-06-17 13:44:25 +00:00
hdl
b7946b72e2 Adding 2 status to serial issues :
- delete : to delete the current issue
	- not issued : to distinguish missing from not issued serial number.
2005-06-16 19:10:09 +00:00
hdl
7fd0a58305 Displaying dashed isbn. 2005-06-15 16:09:42 +00:00
hdl
1d4d3bdaef Deleting joined tables without condition.
Issues, reserves, items.
Major Bug fixed : Catalogsearch would work no more.
2005-06-15 13:21:22 +00:00
tipaul
33112dda50 adding $b to mainentry (in UNIMARC, for personal names, $a is the surname, $b is the firstname) 2005-06-07 10:00:47 +00:00
rangi
0c376c1c03 Fix for a bug in full acquisitions basket.pl
Ordernumber not showing
2005-06-06 23:29:36 +00:00
gmccullagh
dfb739be5a two new files
SearchBiblio.pm forked from SearchMarc.pm
  opac-search-biblio.pl forked from opac-search.pl (just change module)
an attempt at a new search using FULLTEXT indexes.
NB: Boolean won't work without MySQL >v4.0
NNB: Will be slow without indexes added on Biblio table as follows:
  ALTER TABLE biblio ADD FULLTEXT (author,title,unititle,seriestitle);
Only searching on "Any word" field just now.
more to come.
2005-06-03 17:01:53 +00:00
genjimoto
09aec48554 Added necessary tables for search for availablity feature into Catalogsearch. Someone needs to speed it up somehow. 2005-06-03 03:58:26 +00:00
genjimoto
8e62940ba0 New Feature: catalogsearch() has a new parameter, $sqlstring. A developer puts into it whatever they want to tack onto the end of the where statement. See usage in opac-search.pl 2005-06-01 21:18:39 +00:00
genjimoto
a54fa6ac52 patch from Genji (Waylon R.) to update subjects in MARC tables when systempref has MARC=OFF 2005-06-01 20:43:58 +00:00
tipaul
e2d56f0f49 some fixes & improvements for dictionnary search in librarian interface 2005-06-01 12:51:02 +00:00
tipaul
41c209a4bd proof of concept for inverted index tables for search
how it works :
* create the table marc_Tword with the following structure :
CREATE TABLE `marc_Tword` (
  `word` varchar(80) NOT NULL default '',
  `usedin` text NOT NULL,
  `tagsubfield` varchar(4) NOT NULL default '',
  PRIMARY KEY  (`word`,`tagsubfield`)
) TYPE=MyISAM;
* open a console & type export PERL5LIB & export KOHA_CONF as usual.
* fill this table with misc/build_marc_Tword.pl. Warning, this script uses a very very consumming but very fast method to fill the table : it does everything in memory, then write everything. Another method is provided (& commented), but it's 100x times slower (really !)
* open opac-search.pl and replace use C4::SearchMarc; by use C4::SearchMarcTest; as the API hasn't changed, it will work immediatly.
* go to opac-search (advanced search) & search whatever you want. Should work fine.

LIMITS :
* build_marc_Tword has problem with extended chars (accented ones mainly). So don't be afraid if you get sql errors. They are not a problem for a POC
* search works always order by title, whatever you choose.
* search works only search WORDA and WOARDB, not yet WORDA or WORDB or WORDA except WORDB.
2005-05-27 09:30:23 +00:00
rangi
18b2cfe08a Removing old print statement 2005-05-15 04:35:36 +00:00
rangi
0edd65bfc8 More little changes to remove warns 2005-05-15 04:34:09 +00:00
rangi
abf3b05898 Another little error that was throwing annoying warns 2005-05-14 22:26:07 +00:00
rangi
1e1929be43 Fixing a line that was throwing up warnings when running the script with -w 2005-05-14 22:20:17 +00:00
rangi
7aa3844555 Commenting out warn call
Im working on a curses circulation module, and this warn was smearing output
to the screen.
2005-05-14 22:05:44 +00:00
tipaul
369527637b synch'ing 2.2 and head 2005-05-04 15:39:07 +00:00
hdl
a65bbe2598 adding Marc Record to authoritysearch report 2005-05-04 14:18:39 +00:00
joshferraro
47e3d8667b Fixes bug 970: renewing book from issues screen. 2005-05-03 19:39:20 +00:00
doxulting
61b81d56bf The search query was returning all records when was empty 2005-04-15 14:31:51 +00:00
hdl
14a0c6c133 Scanning every the Subfields of auth_tag_to_report for FindDuplicate 2005-04-05 17:07:46 +00:00
hdl
b605f4d26a Searching for double entries when adding a new authority. 2005-04-05 15:23:40 +00:00
hdl
4ff9cae64b Adding double authority search before creating a new authority 2005-04-05 09:58:47 +00:00
doxulting
b9a8342843 New param for the template in order to show only allowed links to user (In parameters screen only right now) 2005-03-23 09:25:20 +00:00
tipaul
4a8159b457 oups, sorry, synch'ing badly (dropping a doXulting improvement : selecting either desc or asc order) 2005-03-07 09:09:03 +00:00
tipaul
1923629300 synch'ing with 2.2 2005-03-07 08:55:29 +00:00
doxulting
ec62b5e32a Added a param to catalogsearch to allow selection of order (ASC or DESC) 2005-03-03 09:32:04 +00:00
tipaul
93ff09d081 merging 2.2 branch with head. Sorry for not making it before, many many commits done here 2005-03-01 13:40:35 +00:00
slef
9324f8683a Small quoting fix to let fine calculation work. 2005-03-01 03:08:00 +00:00
joshferraro
34a1079256 fix for bug 937 2005-02-22 22:40:15 +00:00
joshferraro
86197b08b8 Fix for bug 920. The problem was that getMARCnotes had the variable set to be the same as the
loop name.
2005-02-22 22:38:21 +00:00
joshferraro
c24f2bdb6b Added some minimal docs to Amazon.pm 2005-01-25 17:23:33 +00:00
joshferraro
18140e04dc The Amazon module allows libraries to deliver amazon content to the opac 2005-01-25 16:53:28 +00:00
tipaul
5edf04fd6b improvement of speed for bulkmarcimport.
A sub had been forgotten to use the C4::Context->marcfromkohafield array, that caches DB datas.
this is only a little improvement for normal DB modif, but almost x2 the speed of bulkmarcimport... from 6records/seconds to more than 10.
2005-01-06 14:32:17 +00:00
tipaul
cb32ef4fc1 adding "opacstylesheet" systempreference.
if this parameter is defined, the url is used instead of the default one.
So, you can have your own stylesheet somewhere, and use it instead of the official Koha one.
2005-01-03 10:58:46 +00:00
tipaul
5aa60ee667 * bugfix for the search on a MARC detail, when you clic on the magnifying glass (caused an internal server error)
* partial support of the "linkage" MARC feature : if you enter a "link" on a MARC subfield, the magnifying glass won't search on the field, but on the linked field. I agree it's a partial support. Will be improved, but I need to investigate MARC21 & UNIMARC diffs on this topic.
2005-01-03 10:48:33 +00:00
tipaul
4510951cfc Minor changes in summary "exploding" (the 3 digits AFTER the subfield were not on the right place). 2004-12-23 09:48:11 +00:00
tipaul
f72a2ceb5f adding bookshelf features :
* create bookshelf on the fly
* modify a bookshelf name & status
2004-12-16 11:30:57 +00:00
tipaul
0d8e203523 adding bookshelf features :
* create bookshelf on the fly
* modify a bookshelf (this being not finished, will commit the rest soon)
2004-12-15 17:28:22 +00:00
tipaul
52a123a1a4 fix for :
http://bugs.koha.org/cgi-bin/bugzilla/show_bug.cgi?id=858

* added a button to cancel issue
* adding checkbox to cancel reserve on the book (checked by default)
* the cancelation reserve is done on reserves done for a given item or for any item

Nelsonville, pls test & confirm it's OK
2004-12-15 10:47:09 +00:00
rangi
9cd423cbb4 Making the version number reflect the cvs version, to allow for easier
debugging.
If we can ask people what version of a module they are running it makes
error checking easier
2004-12-15 06:08:06 +00:00
tipaul
e54459b763 an improvement has been done in DB calls that needs a new index. It's automatically added in fresh installs, but for updates, run the following SQL command :
ALTER TABLE `marc_subfield_structure` ADD INDEX ( `kohafield` )
2004-12-14 15:48:34 +00:00
tipaul
7de6ee8e75 limiting the number of search term to 8. There was no limit before, but 8 words seems to be the upper limit mySQL can deal with (in less than a second. tested on a DB with 13 000 items)
In 2.4, a new DB structure will highly speed things and this limit will be removed.
FindDuplicate is activated again, the perf problems were due to this problem.
2004-12-10 16:27:53 +00:00
tipaul
013ae858cd * fixing "start by" operator
* in biblio search, - and other signs where not properly managed. Leroy-Beaulieu could not be found
2004-12-08 10:21:46 +00:00
tipaul
b49f397528 * desactivate FindDuplicate
* fix from Genji
2004-12-08 10:14:42 +00:00
tipaul
93e3f0411f fix for "marc upload fail silently" (from MJRay) 2004-12-08 10:11:51 +00:00
tipaul
e89e322f6b removing useless comment 2004-12-08 10:08:41 +00:00
tipaul
56ab39361e fixes from A. Tarallo, for mod_perl compliance 2004-12-03 16:50:39 +00:00
tipaul
2db99e1dd5 adding "show me late issues" screen 2004-12-03 14:34:54 +00:00
oleonard
98357d148a Fix to get returns to update "datelastseen" value with today's date 2004-11-29 17:29:37 +00:00
rangi
1ce34b32b3 Fix for bug 865
Allows a librarian to tell Koha you want to start issuing to a new borrower
by entering no data. Essentiall by just hitting the enter  key
2004-11-28 08:32:36 +00:00
tipaul
629a207dcb removing useless &branches in package declaration 2004-11-25 17:39:44 +00:00
tipaul
962584cbaa removing sub branches (commited by chris for MARC=OFF bugfix, but sub branches is already in Acquisition.pm) 2004-11-24 16:00:01 +00:00
tipaul
23881a317e * critical fix for acquisition (see RC3 release notes) 2004-11-24 15:59:15 +00:00
tipaul
caf9b3c04b * critical fix for acquisition (see RC3 release notes)
* critical fix for duplicate finder
2004-11-24 15:58:31 +00:00
tipaul
1c16a1ee91 commiting modif already in RC2 (bug in breeding import) 2004-11-24 15:55:31 +00:00
rangi
7e1f5ce84b Shifting branches() from deprecated C4::Catalogue to C4::Biblio
Allowing the non marc interface acquisitions to work.
2004-11-19 19:41:22 +00:00
tipaul
661080d2fd fixing but to remove "request" link on "notforloan" materials 2004-11-18 10:34:24 +00:00
tipaul
1424addcc2 fix for bug 858 (no warning when issuing a reserved book) 2004-11-18 10:32:39 +00:00
tipaul
a47bdb1f57 suggestion from owen to add classification to isbn query 2004-11-12 17:26:24 +00:00
tipaul
8986960a12 removing useless warn & renaming a sub that can probably be removed 2004-11-08 19:49:45 +00:00
tipaul
d1c7377cf1 Improving FindDuplicate to find duplicate records on adding biblio 2004-11-05 10:15:27 +00:00
tipaul
2a1ae77f5e Auth.pm with LDAP
perldoc Auth_with_ldap.pm to see how to set it
2004-11-05 10:13:31 +00:00
tipaul
5a612e176c remove LDAP dependancy, replaced by auth_with_ldap.pm 2004-11-05 10:12:27 +00:00
tipaul
0b4c153905 export auth_count_usage (bugfix) 2004-11-05 10:11:39 +00:00
tipaul
8f0ca2ceb7 Limit search to 30 days when the order is by acquisition date desc (ie when the user want to see new books) 2004-11-05 10:10:48 +00:00
rangi
998cc6bc2b Fixing bug that was stopping subject maintenance working 2004-11-05 00:08:22 +00:00
tipaul
5663435076 new feature : checking for duplicate biblio.
For instance, it's only done on ISBN only. Will be improved soon.

When a duplicate is detected, the biblio is not saved, but the user is asked for a confirmations.
2004-11-02 16:44:45 +00:00
tipaul
2b27da1e06 bugfix : using concat instead of + to merge field & subfield. Otherwise, when the subfield is a number, it's a numeric addition that is done !!! 2004-10-27 08:11:44 +00:00
tipaul
4eb5fd5a4c rewritting item status checking : now, each item is shown with it's callnumber and status (available, on loan,...) 2004-10-25 09:38:00 +00:00
tipaul
2eda32b247 adding search orders history feature 2004-10-19 12:24:56 +00:00
tipaul
89dea6f3ec Adding possibility to order the basket by :
* publishercode
OR
* budget then publishercode
2004-10-05 09:22:16 +00:00
tipaul
2cc3037397 adding getmember sub to the package (the Search.pm/borrdata should be removed, it has nothing to do here) 2004-10-04 20:19:08 +00:00
tipaul
b9a7f33601 * removing the hard coded $
* adding bookfund to the order list
2004-10-04 20:03:23 +00:00
tipaul
e49f99e9db POD documenting 2004-09-23 16:16:24 +00:00
tipaul
df00471f94 indenting diff 2004-09-23 16:15:37 +00:00