Commit graph

251 commits

Author SHA1 Message Date
Paul POULAIN
a477061dc9 BUGFIX #670
Ported code from librarian interface, as it works here

Signed-off-by: Chris Cormack <crc@liblime.com>
2007-09-24 15:31:45 -05:00
Paul POULAIN
91b01d3862 BUGFIX for 1309 (displayXXX in Koha.pm)
Those subs were no more useful, the template didn't use them.
No hardcoding strings in .pl & .pm pls, we can't translate them.

Signed-off-by: Chris Cormack <crc@liblime.com>
2007-09-24 15:29:16 -05:00
Joshua Ferraro
6cdf0832e2 new virtual shelves changes, keyed by biblionumber
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-08-09 09:17:49 -05:00
Joshua Ferraro
d5acfe9d73 update to virtual shelves -- approved 2007-08-08 13:12:47 -05:00
Joshua Ferraro
812ba6cd9c working on virtual shelves cleanup, partially finished
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-08-08 11:39:24 -05:00
Joshua Ferraro
e9ae8c0686 patches from paul 2007-08-08 07:41:19 -05:00
Chris Cormack
2e4a11773c Merge branch 'master' of /home/jmf/repos/koha-rm-root.git/ 2007-08-08 07:36:43 -05:00
Joshua Ferraro
8ee881174f Merge branch 'master' of /usr/local/git/koha_base.git/ 2007-08-08 07:27:26 -05:00
Paul POULAIN
af1d4d541e removing 2 useless files
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-08-08 07:25:09 -05:00
Paul POULAIN
f8fcab514b fixing buggy reserve script
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-08-08 07:25:09 -05:00
Paul POULAIN
f60f27dea7 removed useless systempref
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-08-08 07:25:09 -05:00
Chris Cormack
d40e78cf04 Script to allow patrons to download the due dates for the books in ICalendar format
Signed-off-by: kados <jmf@liblime.com>
2007-08-07 13:22:05 -05:00
kados
758851a922 perltidy opac-rss.pl 2007-08-03 18:42:47 -05:00
Chris Cormack
61804c6815 Perltidy opac-logout.pl 2007-08-03 17:36:43 -05:00
Chris Cormack
b97261cb76 Perltidy opac-main.pl 2007-08-03 17:31:16 -05:00
tipaul
49e5c36e10 adding file just for creating the rss directory 2007-08-02 08:50:43 +00:00
toins
ae706f0d7a fix indentation. 2007-07-31 16:14:15 +00:00
hdl
8c10d9dd91 Bug Fixing Norequests was not right. 2007-07-20 15:37:16 +00:00
hdl
57cdaee5de Putting order list into Template rather than setting this in a script. For translations. 2007-07-20 07:49:06 +00:00
hdl
be803a70f4 Bug Fixing :
- GetReservesFromBiblionumber returns an array !!
2007-07-12 12:54:17 +00:00
hdl
4abd89f94f Bug Fixing :
Call to Members::GetMemberDetail.pl useless. + no use C4::Members.

Dropping it.
2007-07-11 12:37:45 +00:00
hdl
830dfcf69a adding maintenance script to warn users when maintenance is on. 2007-07-11 10:28:18 +00:00
kados
4af7e13c70 Cleaning up perldocs for make utility that MJ wrote. I was getting a bunch
of warnings:

Manifying blib/man3/reports::cat_issues_top.3pm
reports/cat_issues_top.pl:40: Unknown command paragraph "=over2"
Manifying blib/man3/reports::acquisitions_stats.3pm
reports/acquisitions_stats.pl:40: Unknown command paragraph "=over2"
Manifying blib/man3/C4::Koha.3pm
C4/Koha.pm:1227: Unmatched =back
Manifying blib/man3/reports::catalogue_stats.3pm
reports/catalogue_stats.pl:38: Unknown command paragraph "=over2"
Manifying blib/man3/opac::opac-topissues.3pm
opac/opac-topissues.pl:39: Unknown command paragraph "=over2"
Manifying blib/man3/reports::issues_avg_stats.3pm
reports/issues_avg_stats.pl:39: Unknown command paragraph "=over2"
Manifying blib/man3/reports::borrowers_stats.3pm
reports/borrowers_stats.pl:40: Unknown command paragraph "=over2"
Manifying blib/man3/reports::bor_issues_top.3pm
reports/bor_issues_top.pl:40: Unknown command paragraph "=over2"
Manifying blib/man3/reports::catalogue_out.3pm
reports/catalogue_out.pl:39: Unknown command paragraph "=over2"
Manifying blib/man3/reports::borrowers_out.3pm
reports/borrowers_out.pl:39: Unknown command paragraph "=over2"
Manifying blib/man3/C4::Languages.3pm
C4/Languages.pm:445: Unmatched =back
Manifying blib/man3/reports::issues_stats.3pm
reports/issues_stats.pl:39: Unknown command paragraph "=over2"
Manifying blib/man3/C4::Acquisition.3pm
C4/Acquisition.pm:772: Unmatched =back
2007-07-08 15:36:59 +00:00
hdl
109644cdb4 Bug Fixing:
Authority display hierarchy had a problem.

Feature porting :
Adding SearchMyLibraryFirst feature to OPAC
It select the user's library for research by default
2007-07-06 15:16:40 +00:00
tipaul
08daf60a70 improving opac default CSS to have a npl/ccfls like theme (look at http://o15.bureau.paulpoulain.com to see the result) 2007-06-06 13:07:15 +00:00
tipaul
c8c6012195 merging opac details only for items with the same branch+location+itemcallnumber && putting publisher before publicationyear && lowering item column size in result page && fixing a missing branch reference in ccl.properties 2007-05-28 16:28:43 +00:00
tipaul
67d1dcf1f7 various bugfixes (minor) and french translation updated 2007-05-23 16:19:40 +00:00
tipaul
5ff7fcffa4 Bugfixes & improvements (various and minor) :
- updating templates to have tmpl_process3.pl running without any errors
- adding a drupal-like css for prog templates (with 3 small images)
- fixing some bugs in circulation & other scripts
- updating french translation
- fixing some typos in templates
2007-05-22 09:13:54 +00:00
hdl
286930bdc7 Changing GetMarcStructure signature.
Deleting first parameter $dbh
2007-05-22 08:50:47 +00:00
alaurin
700fcf77a6 minor bugfixing for reservations 2007-05-11 16:22:03 +00:00
tipaul
ca201e36af Koha NoZebra :
- support for authorities
- some bugfixes in ordering and "CCL" parsing
- support for authorities <=> biblios walking

Seems I can do what I want now, so I consider its done, except for bugfixes that will be needed i m sure !
2007-05-10 14:45:15 +00:00
tipaul
63e9b146e7 copyright & licence added 2007-05-09 10:18:11 +00:00
tipaul
847b82ff23 NEW feature : RSS feeds. See POD & koha-devel for details 2007-05-09 10:09:40 +00:00
hdl
097fef712a Removing $dbh from GetMarcFromKohaField (dbh is not used in this function.) 2007-04-27 14:00:48 +00:00
hdl
a171035f1d GetBorrowerIssues is deleted from C4::Circulation
Use GetPendingIssues from C4::Members instead.
2007-04-25 14:07:34 +00:00
tipaul
fb143b71ba BIG COMMIT : cleaning of Reserves.pm. See detail on koha-devel 2007-04-24 16:10:36 +00:00
hdl
b642e687d2 Still Code Cleaning.
Abiding by Name Convention.
Using Members wherever it should be used.
Borrower is only used for borrower Categories.
+ GetBorrowersWhoHaveNeverBorrowed
and lists like that.
2007-04-24 15:41:27 +00:00
hdl
100e6a9808 functions that were in C4::Interface::CGI::Output are now in C4::Output.
So this implies quite a change for files.
Sorry about conflicts which will be caused.
directory Interface::CGI should now be dropped.
I noticed that many scripts (reports ones, but also some circ/stats.pl or opac-topissues) still use Date::Manip.
2007-04-24 13:54:28 +00:00
tipaul
3ddec89262 moving Reserves2.pm to Reserves.pm 2007-04-23 14:08:47 +00:00
hdl
0b66bd800d Code Cleaning Members.
- checkaccount and getborraccountno => GetBorrowerAcctRecord

Many changes in names,
some changes in function signature.
Will be detailed in a mail to kohadevel.
2007-04-23 13:10:07 +00:00
tipaul
7bd99ef365 removing all useless %env / $env 2007-04-18 17:00:14 +00:00
tipaul
b71839d85c circulation cleaning continued: bufixing 2007-04-17 08:44:49 +00:00
hdl
b767f50c8f Code Cleaning : AuthoritiesMARC. 2007-04-06 14:48:45 +00:00
tipaul
c596d55374 HUGE COMMIT : code cleaning circulation.
some stuff to do, i'll write a mail on koha-devel NOW !
2007-04-04 16:46:22 +00:00
tipaul
eba2552086 Code cleaning of Biblio.pm (continued)
All subs have be cleaned :
- removed useless
- merged some
- reordering Biblio.pm completly
- using only naming conventions

Seems to have broken nothing, but it still has to be heavily tested.
Note that Biblio.pm is now much more efficient than previously & probably more reliable as well.
2007-03-29 16:45:53 +00:00
tipaul
a481fad4b7 Code cleaning :
== Biblio.pm cleaning (useless) ==
* some sub declaration dropped
* removed modbiblio sub
* removed moditem sub
* removed newitems. It was used only in finishrecieve. Replaced by a Koha2Marc+AddItem, that is better.
* removed MARCkoha2marcItem
* removed MARCdelsubfield declaration
* removed MARCkoha2marcBiblio

== Biblio.pm cleaning (naming conventions) ==
* MARCgettagslib renamed to GetMarcStructure
* MARCgetitems renamed to GetMarcItem
* MARCfind_frameworkcode renamed to GetFrameworkCode
* MARCmarc2koha renamed to TransformMarcToKoha
* MARChtml2marc renamed to TransformHtmlToMarc
* MARChtml2xml renamed to TranformeHtmlToXml
* zebraop renamed to ModZebra

== MARC=OFF ==
* removing MARC=OFF related scripts (in cataloguing directory)
* removed checkitems (function related to MARC=off feature, that is completly broken in head. If someone want to reintroduce it, hard work coming...)
* removed getitemsbybiblioitem (used only by MARC=OFF scripts, that is removed as well)
2007-03-29 13:30:31 +00:00
hdl
1ab5cdfd44 removing $dbh as a parameter in AuthoritiesMarc functions
And reporting all differences into the scripts taht relies on those functions.
2007-03-28 10:39:16 +00:00
hdl
2fadb98a16 Bug Fixing :
- new authoritiessearch API (without $dbh)
- new search API (using ccl)
2007-03-27 14:48:39 +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
f8e9fb6445 rel_3_0 moved to HEAD (introducing new files) 2007-03-09 15:34:17 +00:00
tipaul
86e9db4e67 rel_3_0 moved to HEAD (removing useless file) 2007-03-09 15:22:00 +00:00
tipaul
fc1342f73d rel_3_0 moved to HEAD 2007-03-09 15:12:54 +00:00
toins
f9c678aaaa use C4::Search; replace use C4::SearchMarc; 2006-08-11 16:08:28 +00:00
toins
a367ee8bdd Add a call to C4::Members & GPL added. 2006-08-11 15:59:14 +00:00
toins
1bc7d0b313 allow to search with zoom on opac. (sync with dev_week) 2006-08-11 15:55:45 +00:00
toins
28e96084be Some usefuls functions were commented. 2006-08-11 15:45:37 +00:00
toins
a0b6741c93 Add a call to C4::Members & GPL added. 2006-08-11 09:14:01 +00:00
toins
c08ab01523 Add a call to GetOrderNumber. 2006-08-01 08:50:11 +00:00
toins
cb19c9a7d3 modify input parameter for GetOrder function. 2006-07-28 13:19:27 +00:00
toins
feaf055c28 subs renamed & fix broken link 2006-07-21 09:52:34 +00:00
toins
fc8cdb1808 subs renamed according to coding guidelines. 2006-07-21 09:51:42 +00:00
toins
9565922f3e GetFullSubscriptionList... renamed to GetFullSubscriptions... 2006-07-12 17:20:36 +00:00
toins
77dc2a7f79 GetSubscription... renamed to CountSubscription... 2006-07-12 17:18:10 +00:00
toins
1696f62652 Sub renamed & GPL Licence added. 2006-07-07 09:00:12 +00:00
toins
cc9524a875 Head & rel_2_2 merged 2006-07-04 14:36:51 +00:00
rangi
c9d0afceac Fixing, working now 2006-06-17 03:50:50 +00:00
rangi
d1fb70c16b Tidying up formatting 2006-06-17 03:43:57 +00:00
rangi
001d396412 Passing through reviewson value, and fixing syntax error 2006-06-17 03:42:56 +00:00
rangi
d7e4407c00 Tidying up, and getting it working again 2006-06-17 03:18:32 +00:00
bob_lyon
0a7c849997 merging katipo changes...
Added the ability to display all branches opening/closing times on the opac
homepage
2006-06-07 04:56:55 +00:00
kados
e61173aa8e syncing dev-week and HEAD 2006-05-21 02:29:09 +00:00
kados
f358be8c66 merging dev-week and HEAD 2006-05-21 02:27:24 +00:00
kados
e02fd93801 syncing dev-week and head 2006-05-21 02:19:00 +00:00
kados
90a5a7dc68 syncing dev-week and HEAD 2006-05-21 02:17:02 +00:00
kados
aecb302298 syncing dev-week and HEAD 2006-05-21 02:10:32 +00:00
kados
ef8a07c21b merging dev-week and HEAD 2006-05-21 02:07:44 +00:00
kados
f9f4a63ea0 merging dev-week and HEAD 2006-05-21 01:54:13 +00:00
kados
b4a2505312 merging dev-week and head. NOTE:
<<<<<<< opac-readingrecord.pl
use C4::Date;
use C4::Members;
=======
use C4::Date;
use C4::Search;
>>>>>>> 1.6.2.6

C4::Search ... but it might be needed.
2006-05-21 01:50:51 +00:00
rangi
d7b8437e1b Using get_record() from Search.pm
Not ready for production, its just set to always use the default framework at the moment
2006-02-21 00:12:26 +00:00
rangi
f4ab73fff2 Using get_record() from C4::Search now (ie fetching the record from zebra) 2006-02-21 00:11:06 +00:00
rangi
08107e0d76 Fixing broken code to show list of branches 2006-02-09 03:12:23 +00:00
rangi
55028b3979 Commenting out a line that was preventing the script executing 2006-02-09 01:26:16 +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
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
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
joshferraro
e80361e2b4 make status contingent upon all status fields in Koha including itemtype 2005-09-06 12:28:08 +00:00
rangi
48f9afbc20 Now fetches the number of reviews, and passes it through to the template to be displayed 2005-09-03 00:10:36 +00:00
rangi
76e83aa5d0 Script to display reviews, given a biblionumber 2005-09-03 00:09:34 +00:00
rangi
d3d359f11b Script to add or edit a review 2005-09-03 00:07:55 +00:00
rangi
52401c4323 Passing through kohaversion to the template 2005-08-08 02:09:39 +00:00
tipaul
c52e5b61dd synch'ing 2.2 and head 2005-08-04 14:10:52 +00:00
tipaul
bee8cebb41 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:55:54 +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
slef
927991c0ef New installer helper script 2005-07-19 02:38:12 +00:00
joshferraro
3b5c9e953c synching with rel_2_2 2005-07-06 21:32:02 +00:00
rangi
0c68d59940 Fixing a bug caused by the syncing with the 2.2 branch 2005-06-29 02:01:03 +00:00
genjimoto
eaf19c281c Moved the title words splitting, changed the authorwords routine abit. added a check for author and additionalauthors. No use having checkboxes for non-existant data. 2005-06-27 22:26:16 +00:00
genjimoto
6aa41399c8 restored search for available books functionality while ensuring that a search not asking about the availablity doesn't take longer than normal. Achieved via new parameter in SearchMarc::Catalogsearch called $extratables. 2005-06-25 05:26:14 +00:00
genjimoto
475958381f Added code to support search options sidebar ref to http://katipo.co.nz/gallery/koha2-4/search_ideas_details_001 2005-06-25 05:22:00 +00:00