koha-ffzg.git
12 years agoMerge remote-tracking branch 'origin/cg55/ft/MT7842' into dev/cg55 cg55_prod_111122
Jonathan Druart [Mon, 21 Nov 2011 13:39:06 +0000 (14:39 +0100)]
Merge remote-tracking branch 'origin/cg55/ft/MT7842' into dev/cg55

12 years agoMT7842: CSV Export: export only borrowed items
Julian Maurice [Mon, 14 Nov 2011 15:04:51 +0000 (16:04 +0100)]
MT7842: CSV Export: export only borrowed items

12 years agoMT8296: Table moremember: Add entries in "Show XXX entries" select
Jonathan Druart [Thu, 10 Nov 2011 15:41:24 +0000 (16:41 +0100)]
MT8296: Table moremember: Add entries in "Show XXX entries" select

12 years agoMerge remote-tracking branch 'origin/cg55/ft/kss' into dev/cg55
Henri-Damien LAURENT [Thu, 3 Nov 2011 13:36:29 +0000 (14:36 +0100)]
Merge remote-tracking branch 'origin/cg55/ft/kss' into dev/cg55

12 years ago[KSS] MT8020: Bad information for availability in result lists
Henri-Damien LAURENT [Thu, 3 Nov 2011 13:06:36 +0000 (14:06 +0100)]
[KSS] MT8020: Bad information for availability in result lists

This patch removes nosanitize flag from all rebuildzebra command in kss
Using that flag would not update item information in zebra marc information stored.

12 years agoMerge remote branch 'origin/cg55/ft/MT8146' into dev/cg55 cg55_prod_111027
Jonathan Druart [Thu, 27 Oct 2011 08:07:13 +0000 (10:07 +0200)]
Merge remote branch 'origin/cg55/ft/MT8146' into dev/cg55

Conflicts solved:
koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tmpl

12 years agoMT8146 : QuickCheckout : Replace GetMemberDetails with GetMember
Jonathan Druart [Wed, 26 Oct 2011 15:04:37 +0000 (17:04 +0200)]
MT8146 : QuickCheckout : Replace GetMemberDetails with GetMember

Based on BZ5179

12 years agoMerge remote branch 'origin/cg55/ft/MT7661' into dev/cg55
Jonathan Druart [Tue, 25 Oct 2011 13:53:29 +0000 (15:53 +0200)]
Merge remote branch 'origin/cg55/ft/MT7661' into dev/cg55

Conflicts solved:
Koha_Synchronize_System/tools/kss.pm
installer/data/mysql/updatedatabase.pl
kohaversion.pl

12 years agoMT7516: FIX Date format for date_due
Jonathan Druart [Thu, 20 Oct 2011 14:06:21 +0000 (16:06 +0200)]
MT7516: FIX Date format for date_due

12 years agoMT7516: Add filter on callnumber
Jonathan Druart [Tue, 25 Oct 2011 13:49:45 +0000 (15:49 +0200)]
MT7516: Add filter on callnumber

Conflicts solved:

koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tmpl

12 years agoMT8146 : Quick Checkout
Jonathan Druart [Tue, 25 Oct 2011 13:35:22 +0000 (15:35 +0200)]
MT8146 : Quick Checkout

Adds new syspref QuickCheckout
if active, it's possible to switch between normal checkout and quick
checkout in circ/circulation.pl
Quick checkout only shows 10 last checkouts

12 years agoFix circulation.tmpl to use new dataTables api
Julian Maurice [Thu, 20 Oct 2011 08:04:57 +0000 (10:04 +0200)]
Fix circulation.tmpl to use new dataTables api

The new API is introduced by cg55/ft/MT7435 merge

12 years agoMT7435: Use DataTables+Ajax to make moremember page loading faster
Julian Maurice [Tue, 9 Aug 2011 12:53:12 +0000 (14:53 +0200)]
MT7435: Use DataTables+Ajax to make moremember page loading faster

Replace all tablesorter tables with datatables tables.
Use Ajax as data source for issues table.
Improve and clean moremember.pl to make the page loading faster.
Add filters on moremember.pl issues table

12 years agoAdd jQuery dataTables plugin
Julian Maurice [Fri, 8 Jul 2011 12:29:19 +0000 (14:29 +0200)]
Add jQuery dataTables plugin

This patch add the javascript library, a CSS (and image files from
datatables.net) and another javascript file which provides some extra
features.
It also add a Perl module C4::Utils::Datatables which provides helpful
functions for server-side processing

12 years ago[KSS] FIX Reindexation for items
Jonathan Druart [Wed, 5 Oct 2011 14:10:33 +0000 (16:10 +0200)]
[KSS] FIX Reindexation for items

12 years ago[KSS] FIX Reindexation for items
Jonathan Druart [Wed, 5 Oct 2011 14:10:33 +0000 (16:10 +0200)]
[KSS] FIX Reindexation for items

12 years agoRefactoring - check updatedatabase versions
Jonathan Druart [Wed, 5 Oct 2011 09:37:45 +0000 (11:37 +0200)]
Refactoring - check updatedatabase versions

12 years ago[optional] MT7516: BZ5579 MT7736 - remove items from xml
Matthias Meusburger [Tue, 6 Sep 2011 12:21:29 +0000 (14:21 +0200)]
[optional] MT7516: BZ5579 MT7736 - remove  items from xml

  This patch solves (silent) conflicts between MT7516 and MT3915
  It fixes GetMarcBiblio parameters. Both MT7516 and MT3915 added
  a second optional parameter to GetMarcBiblio, for different
  purposes, of course.
  This patch also fixes item table display in MARCdetail.pl
  This patch needs to be applied upstream (in DEV branch).
(cherry picked from commit 899670b19ee54587acfab1f4fd640034f1497f29)
(cherry picked from commit 8ca15d9d9f6131f30a1dd712ece4f980731d24fd)

12 years agoBZ5579 MT7736 - remove items from xml
Claire Hernandez [Thu, 15 Sep 2011 13:22:02 +0000 (15:22 +0200)]
BZ5579 MT7736 - remove  items from xml

MT6914 limoges bfm (base solr)
MT7516 cg55 (base zebra)

- lot of works done on it, squashing in a single patch, see the details below

bcf0a50  MT6914 Perf enhancement Removing items from index (2011-06-08 07:40:00 +0200) <Henri-Damien LAURENT>
MT6914 Perf enhancement Removing items from index

This patch changes the way items are indexed and updated.
It does the sync using sync_items_in_marc_bib.pl
This patch adds --items as a sync_items_in_marc_bib.pl in order to do SELECT on items table
This way, you can script the sync_items_in_marc_bib.pl
call :
sync_items_in_marc_bib.pl --items --run-update --where "items.timestamp >= DATE_SUB(NOW(), INTERVAL  5 MINUTE)"

Remind that you should always consider test that another sync_items is not running when you launch that.

This is only a quick attempt to solve a problem on indexing biblios which is called twice while circulating.
Two solutions were evoqued :
    - Index items as a different recordtype. This is a heavy work. But would be much valuable to all.
    - Reintroduce an indexing queue... That has been removed in order to remove the overhead of the rebuild_zebra.pl
Remove items in marc bib has already been completed in 3.4 and should be ported back into dev/solr soon

61dc961  MT6914 : selenium test for circulation (2011-06-08 07:40:00 +0200) <Henri-Damien LAURENT>
MT6914 : selenium test for circulation

This adds a selenium test
In order to launch it
Download the selenium server
wget http://selenium.googlecode.com/files/selenium-server-standalone-2.0b3.jar
launch the server
java -jar selenium-server-standalone-2.0b3.jar

Then run :
perl PERL/Circulation/circulation.pl dbname hostname port userfordb password

This will launch a series of circulation process
It may sometimes fail... Since it does no check whether it takes notforloan or damaged items.
But you may research for a user name in the opened ff window then it will go on processing
Problem is that it is still data dependent... For instance, the name is hardcoded. The librarian login too.

But you need a valid name to do it.

ecd12a5  Revert "MT6914 Perf enhancement Removing items from index" (2011-06-08 07:42:20 +0200) <Henri-Damien LAURENT>
Revert "MT6914 Perf enhancement Removing items from index"

This reverts commit bcf0a5049c30cbba15bb64818ba5a928d80ab1c3.

d294582  Bug 5579: remove items from MARC bib (2011-06-08 07:51:44 +0200) <Henri-Damien LAURENT>
Bug 5579: remove items from MARC bib

This is a squash of four patches by Henri-Damien Laurent
starting work on removing the copy of item record information
in the 9XX field of bibliographic records.  The reason
for doing this is primarily to improve performance, in particular,
the expense of having to add/modify the bib record whenever an
item changes.  Now, whenever an item changes, the bib record is
put in the queue to be reindexed; when the bib is indexed, the 9XX
fields are inserted into the version of the bib that Zebra indexes.
Since rebuild_zebra.pl runs in a separate process, the processing of the
bib record will not delay (e.g.) circulation.

As part of upgrading to 3.4, the following batch script should be run:

misc/maintenance/remove_items_from_biblioitems.pl --run

This should be followed by a complete reindexing of the bib records, e.g.,

misc/migration_tools/rebuild_zebra.pl -b -r

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
Signed-off-by: Claire Hernandez <claire.hernandez@biblibre.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
8817bdb  bug 5579: improvements to remove_items_from_biblioitems.pl (2011-06-08 07:53:19 +0200) <Galen Charlton>
bug 5579: improvements to remove_items_from_biblioitems.pl

* add copyright statement
* make --run switch work; this is now required to cause
  the update to run
* improve help text
* make remove_items_from_biblioitems.pl executable

Signed-off-by: Galen Charlton <gmcharlt@esilibrary.com>
Signed-off-by: Claire Hernandez <claire.hernandez@biblibre.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
0a8c729  bug 5579: fix moving items from bib to another (2011-06-08 07:56:00 +0200) <Henri-Damien LAURENT>
bug 5579: fix moving items from bib to another

* Must signal both bibs to be reindexed

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
Signed-off-by: Claire Hernandez <claire.hernandez@biblibre.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 095f86ee6e443b6912c441a32457d0b379f1dbaf)

Conflicts solved:

C4/Items.pm

6578f74  bug 5579: correctly signal when to reindex bibs (2011-06-08 07:56:59 +0200) <Galen Charlton>
bug 5579: correctly signal when to reindex bibs

* when item changes
* when new item is added

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
Signed-off-by: Claire Hernandez <claire.hernandez@biblibre.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 20c1ac5c8d75d3777bd145d99dda846b9602353a)

0938e8a  bug 5579: new routine to embed items in bib (2011-06-08 07:58:18 +0200) <Galen Charlton>
bug 5579: new routine to embed items in bib

Adds a new routine, C4::Biblio::EmbedItemsInMarcBiblio, to
embed the items in the bib record when necessary:

* cataloging/additem.pl
* rebuild_zebra.pl

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Claire Hernandez <claire.hernandez@biblibre.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
a21cd40  bug 5579: reduce processing to log item changes (2011-06-08 08:00:11 +0200) <Galen Charlton>
bug 5579: reduce processing to log item changes

* no need to record full bib MARC when logging
  change to an item record
* IDEA: set up a separate ItemLog syspref

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
Signed-off-by: Claire Hernandez <claire.hernandez@biblibre.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
7b4b4e5  bug 5579: remove unused routines (2011-06-08 08:01:59 +0200) <Henri-Damien LAURENT>
bug 5579: remove unused routines

Remove the following routines which used to
handle embedding item data in the bibliographic record:

C4::Items::_replace_item_field_in_biblio
C4::Items::_add_item_field_to_biblio

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
Signed-off-by: Claire Hernandez <claire.hernandez@biblibre.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit faf7d17211bcacc436f6fe60fef015b558801196)

Conflicts solved:

C4/Items.pm

fa048dc  bug 5579: teach MARC export to embed items when needed (2011-06-08 08:04:34 +0200) <Galen Charlton>
bug 5579: teach MARC export to embed items when needed

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
Signed-off-by: Claire Hernandez <claire.hernandez@biblibre.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
ab5a92d  bug 5579 : Fixes several exports to embed items (2011-06-08 08:10:53 +0200) <Matthias Meusburger>
bug 5579 : Fixes several exports to embed items

  - The following export pages used to embed items when exporting,
    this was no longer the case, so they were fixed :
      Intranet :
        - basket/downloadcart.pl,
        - virtualshelves/downloadshelf.pl
        - catalogue/export.pl
      Opac :
        - opac/opac-downloadcart.pl
        - opac/opac-downloadshelf.pl
        - opac/opac-export.pl

  - Notes :
     - GetMarcBiblio used to embed items data, this was no longer the case,
       so an optional parameter was added to choose if items should be embedded or not.
       This way, previous work on this bug is not broken, and this is a pretty usefull
       feature, imho.
     - An optional parameter has been added to SetUTF8Flag, to be able to use NFD during
       normalization. This was required to make Unicode/UTF-8 export work again.

Signed-off-by: Claire Hernandez <claire.hernandez@biblibre.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
952ffdb  bug 5579 : Fixes ISBD display (2011-06-08 08:11:31 +0200) <Matthias Meusburger>
bug 5579 : Fixes ISBD display

Signed-off-by: Claire Hernandez <claire.hernandez@biblibre.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 2650446d2681e92eea1f2e4369496298540fcc27)

acd9522  bug 5579: add line removed during patch review (2011-06-08 08:11:52 +0200) <Galen Charlton>
bug 5579: add line removed during patch review

Had effect of breaking item record changes when the
CatalogingLog system preference is on.

(Note to people reviewing patches - please do not modify the content
 of patches that you are signing off on unless you are *sure* you
 know *exactly* what you doing.  The process of patch review should
 not be introducing yet more bugs.)

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 7183f125839572350731f3adedef6af7f272e417)

186d528  bug 5579: remove a now-unecessary vestigal variable (2011-06-08 08:12:12 +0200) <Galen Charlton>
bug 5579: remove a now-unecessary vestigal variable

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 0a27e64a5b1b3f1bd4248c3d63a56952fcd92788)

d1a3447  bug 5579: tweaks to bulkmarcimport.pl (2011-06-08 08:16:23 +0200) <Galen Charlton>
bug 5579: tweaks to bulkmarcimport.pl

Fixes bug where a bib record imported by bulkmarcimport.pl
could become unindexable by ensuring that ModBiblioMarc()
is always called by bulkmarcimport.pl to finalize saving the
bib record (as it was initially created by AddBiblio with the
defer_marc_save option).

Also introduces a utility routine, C4::Biblio::_strip_item_fields.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
d06ed2f  Bug 5579: further fancifying remove_items_from_biblioitems.pl (2011-06-08 08:16:47 +0200) <ruth@bywatersolutions.com>
Bug 5579: further fancifying remove_items_from_biblioitems.pl

This patch adds a progress indicator to remove_items_from_biblioitems.pl, with
the user option of silencing it with --silent.

Signed-off-by: Liz Rea <lrea@nekls.org>
Signed-off-by: Ian Walls <ian.walls@bywatersolutions.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
77c504b  (HEAD, origin/wip/limoges_rel/MT6914, items_5579_6914) bug5579 : Change in C4::Biblio GetMarcBiblio API (2011-06-08 08:21:07 +0200) <Henri-Damien LAURENT>
bug5579 : Change in C4::Biblio GetMarcBiblio API

MT7736 - missing lines

- fix export items in pro and opac ui
(cherry picked from commit 4afe976577c7921b22b135a338e2e633d336a43a)

Conflicts solved:

tools/export.pl

12 years agoRevert "[optional] MT7516: BZ5579 MT7736 - remove items from xml"
Claire Hernandez [Thu, 15 Sep 2011 13:19:24 +0000 (15:19 +0200)]
Revert "[optional] MT7516: BZ5579 MT7736 - remove  items from xml"

This reverts commit b3bd06235757886315291bea806f806814880a2a.

12 years agoRevert "BZ5579 MT7736 - remove items from xml"
Claire Hernandez [Thu, 15 Sep 2011 13:19:11 +0000 (15:19 +0200)]
Revert "BZ5579 MT7736 - remove  items from xml"

This reverts commit d031a50474b773a02dbf275a271cdf14f2d4476a.

12 years agoMT7481: Adds tools/export_borrowers.pl
Matthias Meusburger [Tue, 23 Aug 2011 15:25:15 +0000 (17:25 +0200)]
MT7481: Adds tools/export_borrowers.pl

  - This script allows to export borrowers in a simple way (pipe-separated fields).
    Fields to export can be supplied in command-line parameters.

12 years agoMT7481: Allows to use tools/export.pl from commandline
Matthias Meusburger [Wed, 10 Aug 2011 09:50:11 +0000 (11:50 +0200)]
MT7481: Allows to use tools/export.pl from commandline

  - Adds the --deleted_barcodes option, which produces a text file with deleted items barcodes.
    Can be combined with the --date option.

  - Make sure timestamp is updated when a biblio is deleted

  - Build a specific query in tools/export.pl when --date is used to
check timestamp on biblioitems, items and deleteditems

12 years agoMT8146 : Quick Checkout
Jonathan Druart [Tue, 25 Oct 2011 13:35:22 +0000 (15:35 +0200)]
MT8146 : Quick Checkout

Adds new syspref QuickCheckout
if active, it's possible to switch between normal checkout and quick
checkout in circ/circulation.pl
Quick checkout only shows 10 last checkouts

12 years agoMT7661: Show all stats and logs for a given day in informations tab
Matthias Meusburger [Fri, 7 Oct 2011 12:35:15 +0000 (14:35 +0200)]
MT7661: Show all stats and logs for a given day in informations tab

This commit squashes:
MT7661: Show all stats and logs for a given day in informations tab
MT7661, Follow-up: Show all stats and logs for a given day in informations tab

 - Refactoring template (statistics part)
 - Removing unused functions

12 years agoFix circulation.tmpl to use new dataTables api
Julian Maurice [Thu, 20 Oct 2011 08:04:57 +0000 (10:04 +0200)]
Fix circulation.tmpl to use new dataTables api

The new API is introduced by cg55/ft/MT7435 merge

12 years agoMerge remote-tracking branch 'origin/cg55/ft/MT7435' into dev/cg55
Julian Maurice [Thu, 20 Oct 2011 08:00:42 +0000 (10:00 +0200)]
Merge remote-tracking branch 'origin/cg55/ft/MT7435' into dev/cg55

12 years agoMT7435: Use DataTables+Ajax to make moremember page loading faster
Julian Maurice [Tue, 9 Aug 2011 12:53:12 +0000 (14:53 +0200)]
MT7435: Use DataTables+Ajax to make moremember page loading faster

Replace all tablesorter tables with datatables tables.
Use Ajax as data source for issues table.
Improve and clean moremember.pl to make the page loading faster.
Add filters on moremember.pl issues table

12 years agoAdd jQuery dataTables plugin
Julian Maurice [Fri, 8 Jul 2011 12:29:19 +0000 (14:29 +0200)]
Add jQuery dataTables plugin

This patch add the javascript library, a CSS (and image files from
datatables.net) and another javascript file which provides some extra
features.
It also add a Perl module C4::Utils::Datatables which provides helpful
functions for server-side processing

12 years ago[KSS] FIX Reindexation for items
Jonathan Druart [Wed, 5 Oct 2011 14:10:33 +0000 (16:10 +0200)]
[KSS] FIX Reindexation for items

12 years agoMT7661, Follow-up: Show all stats and logs for a given day in informations tab
Matthias Meusburger [Mon, 10 Oct 2011 10:02:40 +0000 (12:02 +0200)]
MT7661, Follow-up: Show all stats and logs for a given day in informations tab

 - Refactoring template (statistics part)
 - Removing unused functions

12 years agoMT7661: Show all stats and logs for a given day in informations tab
Matthias Meusburger [Fri, 7 Oct 2011 12:35:15 +0000 (14:35 +0200)]
MT7661: Show all stats and logs for a given day in informations tab

12 years ago[KSS] FIX Reindexation for items
Jonathan Druart [Wed, 5 Oct 2011 14:10:33 +0000 (16:10 +0200)]
[KSS] FIX Reindexation for items

12 years agoRefactoring - check updatedatabase versions
Jonathan Druart [Wed, 5 Oct 2011 09:37:45 +0000 (11:37 +0200)]
Refactoring - check updatedatabase versions

12 years ago[optional] MT7516: BZ5579 MT7736 - remove items from xml cg55_prod_110915_2
Matthias Meusburger [Tue, 6 Sep 2011 12:21:29 +0000 (14:21 +0200)]
[optional] MT7516: BZ5579 MT7736 - remove  items from xml

  This patch solves (silent) conflicts between MT7516 and MT3915
  It fixes GetMarcBiblio parameters. Both MT7516 and MT3915 added
  a second optional parameter to GetMarcBiblio, for different
  purposes, of course.
  This patch also fixes item table display in MARCdetail.pl
  This patch needs to be applied upstream (in DEV branch).
(cherry picked from commit 899670b19ee54587acfab1f4fd640034f1497f29)
(cherry picked from commit 8ca15d9d9f6131f30a1dd712ece4f980731d24fd)

12 years agoBZ5579 MT7736 - remove items from xml
Claire Hernandez [Thu, 15 Sep 2011 13:22:02 +0000 (15:22 +0200)]
BZ5579 MT7736 - remove  items from xml

MT6914 limoges bfm (base solr)
MT7516 cg55 (base zebra)

- lot of works done on it, squashing in a single patch, see the details below

bcf0a50  MT6914 Perf enhancement Removing items from index (2011-06-08 07:40:00 +0200) <Henri-Damien LAURENT>
MT6914 Perf enhancement Removing items from index

This patch changes the way items are indexed and updated.
It does the sync using sync_items_in_marc_bib.pl
This patch adds --items as a sync_items_in_marc_bib.pl in order to do SELECT on items table
This way, you can script the sync_items_in_marc_bib.pl
call :
sync_items_in_marc_bib.pl --items --run-update --where "items.timestamp >= DATE_SUB(NOW(), INTERVAL  5 MINUTE)"

Remind that you should always consider test that another sync_items is not running when you launch that.

This is only a quick attempt to solve a problem on indexing biblios which is called twice while circulating.
Two solutions were evoqued :
    - Index items as a different recordtype. This is a heavy work. But would be much valuable to all.
    - Reintroduce an indexing queue... That has been removed in order to remove the overhead of the rebuild_zebra.pl
Remove items in marc bib has already been completed in 3.4 and should be ported back into dev/solr soon

61dc961  MT6914 : selenium test for circulation (2011-06-08 07:40:00 +0200) <Henri-Damien LAURENT>
MT6914 : selenium test for circulation

This adds a selenium test
In order to launch it
Download the selenium server
wget http://selenium.googlecode.com/files/selenium-server-standalone-2.0b3.jar
launch the server
java -jar selenium-server-standalone-2.0b3.jar

Then run :
perl PERL/Circulation/circulation.pl dbname hostname port userfordb password

This will launch a series of circulation process
It may sometimes fail... Since it does no check whether it takes notforloan or damaged items.
But you may research for a user name in the opened ff window then it will go on processing
Problem is that it is still data dependent... For instance, the name is hardcoded. The librarian login too.

But you need a valid name to do it.

ecd12a5  Revert "MT6914 Perf enhancement Removing items from index" (2011-06-08 07:42:20 +0200) <Henri-Damien LAURENT>
Revert "MT6914 Perf enhancement Removing items from index"

This reverts commit bcf0a5049c30cbba15bb64818ba5a928d80ab1c3.

d294582  Bug 5579: remove items from MARC bib (2011-06-08 07:51:44 +0200) <Henri-Damien LAURENT>
Bug 5579: remove items from MARC bib

This is a squash of four patches by Henri-Damien Laurent
starting work on removing the copy of item record information
in the 9XX field of bibliographic records.  The reason
for doing this is primarily to improve performance, in particular,
the expense of having to add/modify the bib record whenever an
item changes.  Now, whenever an item changes, the bib record is
put in the queue to be reindexed; when the bib is indexed, the 9XX
fields are inserted into the version of the bib that Zebra indexes.
Since rebuild_zebra.pl runs in a separate process, the processing of the
bib record will not delay (e.g.) circulation.

As part of upgrading to 3.4, the following batch script should be run:

misc/maintenance/remove_items_from_biblioitems.pl --run

This should be followed by a complete reindexing of the bib records, e.g.,

misc/migration_tools/rebuild_zebra.pl -b -r

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
Signed-off-by: Claire Hernandez <claire.hernandez@biblibre.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
8817bdb  bug 5579: improvements to remove_items_from_biblioitems.pl (2011-06-08 07:53:19 +0200) <Galen Charlton>
bug 5579: improvements to remove_items_from_biblioitems.pl

* add copyright statement
* make --run switch work; this is now required to cause
  the update to run
* improve help text
* make remove_items_from_biblioitems.pl executable

Signed-off-by: Galen Charlton <gmcharlt@esilibrary.com>
Signed-off-by: Claire Hernandez <claire.hernandez@biblibre.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
0a8c729  bug 5579: fix moving items from bib to another (2011-06-08 07:56:00 +0200) <Henri-Damien LAURENT>
bug 5579: fix moving items from bib to another

* Must signal both bibs to be reindexed

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
Signed-off-by: Claire Hernandez <claire.hernandez@biblibre.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 095f86ee6e443b6912c441a32457d0b379f1dbaf)

Conflicts solved:

C4/Items.pm

6578f74  bug 5579: correctly signal when to reindex bibs (2011-06-08 07:56:59 +0200) <Galen Charlton>
bug 5579: correctly signal when to reindex bibs

* when item changes
* when new item is added

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
Signed-off-by: Claire Hernandez <claire.hernandez@biblibre.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 20c1ac5c8d75d3777bd145d99dda846b9602353a)

0938e8a  bug 5579: new routine to embed items in bib (2011-06-08 07:58:18 +0200) <Galen Charlton>
bug 5579: new routine to embed items in bib

Adds a new routine, C4::Biblio::EmbedItemsInMarcBiblio, to
embed the items in the bib record when necessary:

* cataloging/additem.pl
* rebuild_zebra.pl

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Claire Hernandez <claire.hernandez@biblibre.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
a21cd40  bug 5579: reduce processing to log item changes (2011-06-08 08:00:11 +0200) <Galen Charlton>
bug 5579: reduce processing to log item changes

* no need to record full bib MARC when logging
  change to an item record
* IDEA: set up a separate ItemLog syspref

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
Signed-off-by: Claire Hernandez <claire.hernandez@biblibre.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
7b4b4e5  bug 5579: remove unused routines (2011-06-08 08:01:59 +0200) <Henri-Damien LAURENT>
bug 5579: remove unused routines

Remove the following routines which used to
handle embedding item data in the bibliographic record:

C4::Items::_replace_item_field_in_biblio
C4::Items::_add_item_field_to_biblio

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
Signed-off-by: Claire Hernandez <claire.hernandez@biblibre.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit faf7d17211bcacc436f6fe60fef015b558801196)

Conflicts solved:

C4/Items.pm

fa048dc  bug 5579: teach MARC export to embed items when needed (2011-06-08 08:04:34 +0200) <Galen Charlton>
bug 5579: teach MARC export to embed items when needed

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
Signed-off-by: Claire Hernandez <claire.hernandez@biblibre.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
ab5a92d  bug 5579 : Fixes several exports to embed items (2011-06-08 08:10:53 +0200) <Matthias Meusburger>
bug 5579 : Fixes several exports to embed items

  - The following export pages used to embed items when exporting,
    this was no longer the case, so they were fixed :
      Intranet :
        - basket/downloadcart.pl,
        - virtualshelves/downloadshelf.pl
        - catalogue/export.pl
      Opac :
        - opac/opac-downloadcart.pl
        - opac/opac-downloadshelf.pl
        - opac/opac-export.pl

  - Notes :
     - GetMarcBiblio used to embed items data, this was no longer the case,
       so an optional parameter was added to choose if items should be embedded or not.
       This way, previous work on this bug is not broken, and this is a pretty usefull
       feature, imho.
     - An optional parameter has been added to SetUTF8Flag, to be able to use NFD during
       normalization. This was required to make Unicode/UTF-8 export work again.

Signed-off-by: Claire Hernandez <claire.hernandez@biblibre.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
952ffdb  bug 5579 : Fixes ISBD display (2011-06-08 08:11:31 +0200) <Matthias Meusburger>
bug 5579 : Fixes ISBD display

Signed-off-by: Claire Hernandez <claire.hernandez@biblibre.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 2650446d2681e92eea1f2e4369496298540fcc27)

acd9522  bug 5579: add line removed during patch review (2011-06-08 08:11:52 +0200) <Galen Charlton>
bug 5579: add line removed during patch review

Had effect of breaking item record changes when the
CatalogingLog system preference is on.

(Note to people reviewing patches - please do not modify the content
 of patches that you are signing off on unless you are *sure* you
 know *exactly* what you doing.  The process of patch review should
 not be introducing yet more bugs.)

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 7183f125839572350731f3adedef6af7f272e417)

186d528  bug 5579: remove a now-unecessary vestigal variable (2011-06-08 08:12:12 +0200) <Galen Charlton>
bug 5579: remove a now-unecessary vestigal variable

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 0a27e64a5b1b3f1bd4248c3d63a56952fcd92788)

d1a3447  bug 5579: tweaks to bulkmarcimport.pl (2011-06-08 08:16:23 +0200) <Galen Charlton>
bug 5579: tweaks to bulkmarcimport.pl

Fixes bug where a bib record imported by bulkmarcimport.pl
could become unindexable by ensuring that ModBiblioMarc()
is always called by bulkmarcimport.pl to finalize saving the
bib record (as it was initially created by AddBiblio with the
defer_marc_save option).

Also introduces a utility routine, C4::Biblio::_strip_item_fields.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
d06ed2f  Bug 5579: further fancifying remove_items_from_biblioitems.pl (2011-06-08 08:16:47 +0200) <ruth@bywatersolutions.com>
Bug 5579: further fancifying remove_items_from_biblioitems.pl

This patch adds a progress indicator to remove_items_from_biblioitems.pl, with
the user option of silencing it with --silent.

Signed-off-by: Liz Rea <lrea@nekls.org>
Signed-off-by: Ian Walls <ian.walls@bywatersolutions.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
77c504b  (HEAD, origin/wip/limoges_rel/MT6914, items_5579_6914) bug5579 : Change in C4::Biblio GetMarcBiblio API (2011-06-08 08:21:07 +0200) <Henri-Damien LAURENT>
bug5579 : Change in C4::Biblio GetMarcBiblio API

MT7736 - missing lines

- fix export items in pro and opac ui
(cherry picked from commit 4afe976577c7921b22b135a338e2e633d336a43a)

Conflicts solved:

tools/export.pl

12 years agoRevert "[optional] MT7516: BZ5579 MT7736 - remove items from xml"
Claire Hernandez [Thu, 15 Sep 2011 13:19:24 +0000 (15:19 +0200)]
Revert "[optional] MT7516: BZ5579 MT7736 - remove  items from xml"

This reverts commit b3bd06235757886315291bea806f806814880a2a.

12 years agoRevert "BZ5579 MT7736 - remove items from xml"
Claire Hernandez [Thu, 15 Sep 2011 13:19:11 +0000 (15:19 +0200)]
Revert "BZ5579 MT7736 - remove  items from xml"

This reverts commit d031a50474b773a02dbf275a271cdf14f2d4476a.

12 years agoMerge remote-tracking branch 'origin/cg55/ft/MT7481' into dev/cg55 cg55_prod_110915
Julian Maurice [Thu, 15 Sep 2011 09:13:30 +0000 (11:13 +0200)]
Merge remote-tracking branch 'origin/cg55/ft/MT7481' into dev/cg55

Solved conflicts:
tools/export.pl

12 years agoFIX indexation on client with sudo
Jonathan Druart [Thu, 15 Sep 2011 08:32:15 +0000 (10:32 +0200)]
FIX indexation on client with sudo

You must add this line in your sudoers:

kss    ALL=(koha) NOPASSWD: /usr/bin/perl /home/koha/src/misc/migration_tools/*

12 years agoMT7481: Adds tools/export_borrowers.pl
Matthias Meusburger [Tue, 23 Aug 2011 15:25:15 +0000 (17:25 +0200)]
MT7481: Adds tools/export_borrowers.pl

  - This script allows to export borrowers in a simple way (pipe-separated fields).
    Fields to export can be supplied in command-line parameters.

12 years agoMT7481: Allows to use tools/export.pl from commandline
Matthias Meusburger [Wed, 10 Aug 2011 09:50:11 +0000 (11:50 +0200)]
MT7481: Allows to use tools/export.pl from commandline

  - Adds the --deleted_barcodes option, which produces a text file with deleted items barcodes.
    Can be combined with the --date option.

  - Make sure timestamp is updated when a biblio is deleted

  - Build a specific query in tools/export.pl when --date is used to
check timestamp on biblioitems, items and deleteditems

12 years agoBZ5579 MT7736 - remove items from xml cg55_prod_110914
Claire Hernandez [Wed, 14 Sep 2011 13:45:20 +0000 (15:45 +0200)]
BZ5579 MT7736 - remove  items from xml

MT6914 limoges bfm (base solr)
MT7516 cg55 (base zebra)

- lot of works done on it, squashing in a single patch, see the details below

bcf0a50  MT6914 Perf enhancement Removing items from index (2011-06-08 07:40:00 +0200) <Henri-Damien LAURENT>
MT6914 Perf enhancement Removing items from index

This patch changes the way items are indexed and updated.
It does the sync using sync_items_in_marc_bib.pl
This patch adds --items as a sync_items_in_marc_bib.pl in order to do SELECT on items table
This way, you can script the sync_items_in_marc_bib.pl
call :
sync_items_in_marc_bib.pl --items --run-update --where "items.timestamp >= DATE_SUB(NOW(), INTERVAL  5 MINUTE)"

Remind that you should always consider test that another sync_items is not running when you launch that.

This is only a quick attempt to solve a problem on indexing biblios which is called twice while circulating.
Two solutions were evoqued :
    - Index items as a different recordtype. This is a heavy work. But would be much valuable to all.
    - Reintroduce an indexing queue... That has been removed in order to remove the overhead of the rebuild_zebra.pl
Remove items in marc bib has already been completed in 3.4 and should be ported back into dev/solr soon

61dc961  MT6914 : selenium test for circulation (2011-06-08 07:40:00 +0200) <Henri-Damien LAURENT>
MT6914 : selenium test for circulation

This adds a selenium test
In order to launch it
Download the selenium server
wget http://selenium.googlecode.com/files/selenium-server-standalone-2.0b3.jar
launch the server
java -jar selenium-server-standalone-2.0b3.jar

Then run :
perl PERL/Circulation/circulation.pl dbname hostname port userfordb password

This will launch a series of circulation process
It may sometimes fail... Since it does no check whether it takes notforloan or damaged items.
But you may research for a user name in the opened ff window then it will go on processing
Problem is that it is still data dependent... For instance, the name is hardcoded. The librarian login too.

But you need a valid name to do it.

ecd12a5  Revert "MT6914 Perf enhancement Removing items from index" (2011-06-08 07:42:20 +0200) <Henri-Damien LAURENT>
Revert "MT6914 Perf enhancement Removing items from index"

This reverts commit bcf0a5049c30cbba15bb64818ba5a928d80ab1c3.

d294582  Bug 5579: remove items from MARC bib (2011-06-08 07:51:44 +0200) <Henri-Damien LAURENT>
Bug 5579: remove items from MARC bib

This is a squash of four patches by Henri-Damien Laurent
starting work on removing the copy of item record information
in the 9XX field of bibliographic records.  The reason
for doing this is primarily to improve performance, in particular,
the expense of having to add/modify the bib record whenever an
item changes.  Now, whenever an item changes, the bib record is
put in the queue to be reindexed; when the bib is indexed, the 9XX
fields are inserted into the version of the bib that Zebra indexes.
Since rebuild_zebra.pl runs in a separate process, the processing of the
bib record will not delay (e.g.) circulation.

As part of upgrading to 3.4, the following batch script should be run:

misc/maintenance/remove_items_from_biblioitems.pl --run

This should be followed by a complete reindexing of the bib records, e.g.,

misc/migration_tools/rebuild_zebra.pl -b -r

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
Signed-off-by: Claire Hernandez <claire.hernandez@biblibre.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
8817bdb  bug 5579: improvements to remove_items_from_biblioitems.pl (2011-06-08 07:53:19 +0200) <Galen Charlton>
bug 5579: improvements to remove_items_from_biblioitems.pl

* add copyright statement
* make --run switch work; this is now required to cause
  the update to run
* improve help text
* make remove_items_from_biblioitems.pl executable

Signed-off-by: Galen Charlton <gmcharlt@esilibrary.com>
Signed-off-by: Claire Hernandez <claire.hernandez@biblibre.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
0a8c729  bug 5579: fix moving items from bib to another (2011-06-08 07:56:00 +0200) <Henri-Damien LAURENT>
bug 5579: fix moving items from bib to another

* Must signal both bibs to be reindexed

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
Signed-off-by: Claire Hernandez <claire.hernandez@biblibre.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 095f86ee6e443b6912c441a32457d0b379f1dbaf)

Conflicts solved:

C4/Items.pm

6578f74  bug 5579: correctly signal when to reindex bibs (2011-06-08 07:56:59 +0200) <Galen Charlton>
bug 5579: correctly signal when to reindex bibs

* when item changes
* when new item is added

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
Signed-off-by: Claire Hernandez <claire.hernandez@biblibre.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 20c1ac5c8d75d3777bd145d99dda846b9602353a)

0938e8a  bug 5579: new routine to embed items in bib (2011-06-08 07:58:18 +0200) <Galen Charlton>
bug 5579: new routine to embed items in bib

Adds a new routine, C4::Biblio::EmbedItemsInMarcBiblio, to
embed the items in the bib record when necessary:

* cataloging/additem.pl
* rebuild_zebra.pl

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Claire Hernandez <claire.hernandez@biblibre.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
a21cd40  bug 5579: reduce processing to log item changes (2011-06-08 08:00:11 +0200) <Galen Charlton>
bug 5579: reduce processing to log item changes

* no need to record full bib MARC when logging
  change to an item record
* IDEA: set up a separate ItemLog syspref

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
Signed-off-by: Claire Hernandez <claire.hernandez@biblibre.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
7b4b4e5  bug 5579: remove unused routines (2011-06-08 08:01:59 +0200) <Henri-Damien LAURENT>
bug 5579: remove unused routines

Remove the following routines which used to
handle embedding item data in the bibliographic record:

C4::Items::_replace_item_field_in_biblio
C4::Items::_add_item_field_to_biblio

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
Signed-off-by: Claire Hernandez <claire.hernandez@biblibre.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit faf7d17211bcacc436f6fe60fef015b558801196)

Conflicts solved:

C4/Items.pm

fa048dc  bug 5579: teach MARC export to embed items when needed (2011-06-08 08:04:34 +0200) <Galen Charlton>
bug 5579: teach MARC export to embed items when needed

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
Signed-off-by: Claire Hernandez <claire.hernandez@biblibre.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
ab5a92d  bug 5579 : Fixes several exports to embed items (2011-06-08 08:10:53 +0200) <Matthias Meusburger>
bug 5579 : Fixes several exports to embed items

  - The following export pages used to embed items when exporting,
    this was no longer the case, so they were fixed :
      Intranet :
        - basket/downloadcart.pl,
        - virtualshelves/downloadshelf.pl
        - catalogue/export.pl
      Opac :
        - opac/opac-downloadcart.pl
        - opac/opac-downloadshelf.pl
        - opac/opac-export.pl

  - Notes :
     - GetMarcBiblio used to embed items data, this was no longer the case,
       so an optional parameter was added to choose if items should be embedded or not.
       This way, previous work on this bug is not broken, and this is a pretty usefull
       feature, imho.
     - An optional parameter has been added to SetUTF8Flag, to be able to use NFD during
       normalization. This was required to make Unicode/UTF-8 export work again.

Signed-off-by: Claire Hernandez <claire.hernandez@biblibre.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
952ffdb  bug 5579 : Fixes ISBD display (2011-06-08 08:11:31 +0200) <Matthias Meusburger>
bug 5579 : Fixes ISBD display

Signed-off-by: Claire Hernandez <claire.hernandez@biblibre.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 2650446d2681e92eea1f2e4369496298540fcc27)

acd9522  bug 5579: add line removed during patch review (2011-06-08 08:11:52 +0200) <Galen Charlton>
bug 5579: add line removed during patch review

Had effect of breaking item record changes when the
CatalogingLog system preference is on.

(Note to people reviewing patches - please do not modify the content
 of patches that you are signing off on unless you are *sure* you
 know *exactly* what you doing.  The process of patch review should
 not be introducing yet more bugs.)

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 7183f125839572350731f3adedef6af7f272e417)

186d528  bug 5579: remove a now-unecessary vestigal variable (2011-06-08 08:12:12 +0200) <Galen Charlton>
bug 5579: remove a now-unecessary vestigal variable

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 0a27e64a5b1b3f1bd4248c3d63a56952fcd92788)

d1a3447  bug 5579: tweaks to bulkmarcimport.pl (2011-06-08 08:16:23 +0200) <Galen Charlton>
bug 5579: tweaks to bulkmarcimport.pl

Fixes bug where a bib record imported by bulkmarcimport.pl
could become unindexable by ensuring that ModBiblioMarc()
is always called by bulkmarcimport.pl to finalize saving the
bib record (as it was initially created by AddBiblio with the
defer_marc_save option).

Also introduces a utility routine, C4::Biblio::_strip_item_fields.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
d06ed2f  Bug 5579: further fancifying remove_items_from_biblioitems.pl (2011-06-08 08:16:47 +0200) <ruth@bywatersolutions.com>
Bug 5579: further fancifying remove_items_from_biblioitems.pl

This patch adds a progress indicator to remove_items_from_biblioitems.pl, with
the user option of silencing it with --silent.

Signed-off-by: Liz Rea <lrea@nekls.org>
Signed-off-by: Ian Walls <ian.walls@bywatersolutions.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
77c504b  (HEAD, origin/wip/limoges_rel/MT6914, items_5579_6914) bug5579 : Change in C4::Biblio GetMarcBiblio API (2011-06-08 08:21:07 +0200) <Henri-Damien LAURENT>
bug5579 : Change in C4::Biblio GetMarcBiblio API

MT7736 - missing lines

- fix export items in pro and opac ui
(cherry picked from commit 4afe976577c7921b22b135a338e2e633d336a43a)

Conflicts solved:

C4/Biblio.pm
tools/export.pl

12 years ago[optional] MT7516: BZ5579 MT7736 - remove items from xml
Claire Hernandez [Wed, 14 Sep 2011 13:43:01 +0000 (15:43 +0200)]
[optional] MT7516: BZ5579 MT7736 - remove  items from xml

  This patch solves (silent) conflicts between MT7516 and MT3915
  It fixes GetMarcBiblio parameters. Both MT7516 and MT3915 added
  a second optional parameter to GetMarcBiblio, for different
  purposes, of course.
  This patch also fixes item table display in MARCdetail.pl
  This patch needs to be applied upstream (in DEV branch).
(cherry picked from commit 899670b19ee54587acfab1f4fd640034f1497f29)
(cherry picked from commit 8ca15d9d9f6131f30a1dd712ece4f980731d24fd)

Conflicts solved:

C4/Biblio.pm

12 years agoMerge remote branch 'origin/cg55/ft/MT7516' into dev/cg55
Jonathan Druart [Wed, 14 Sep 2011 12:01:40 +0000 (14:01 +0200)]
Merge remote branch 'origin/cg55/ft/MT7516' into dev/cg55

12 years agoMerge remote branch 'origin/cg55/ft/MT7581' into dev/cg55
Jonathan Druart [Wed, 14 Sep 2011 12:00:49 +0000 (14:00 +0200)]
Merge remote branch 'origin/cg55/ft/MT7581' into dev/cg55

12 years agoMerge remote branch 'origin/cg55/ft/MT7434' into dev/cg55
Jonathan Druart [Wed, 14 Sep 2011 11:59:51 +0000 (13:59 +0200)]
Merge remote branch 'origin/cg55/ft/MT7434' into dev/cg55

12 years agoMT7581: Export only items borrowed by the concerned borrower
Julian Maurice [Tue, 13 Sep 2011 15:48:37 +0000 (17:48 +0200)]
MT7581: Export only items borrowed by the concerned borrower

in circ/circulation.pl

12 years agoMT7516: Move 'location' test in HAVING clause
Julian Maurice [Tue, 13 Sep 2011 13:26:13 +0000 (15:26 +0200)]
MT7516: Move 'location' test in HAVING clause

instead of WHERE clause, where MySQL doesn't know location_description.
And do the test on authorised_value rather than lib.

12 years agoMT7516: Build itemtypes, locations and branches loops
Julian Maurice [Tue, 13 Sep 2011 12:47:50 +0000 (14:47 +0200)]
MT7516: Build itemtypes, locations and branches loops

12 years agoMT7516: Table circulation: Add entries in "Show XXX entries" select
Jonathan Druart [Fri, 2 Sep 2011 11:47:51 +0000 (13:47 +0200)]
MT7516: Table circulation: Add entries in "Show XXX entries" select

12 years agoDataTables: Add blacklist_keys on each filters
Jonathan Druart [Thu, 1 Sep 2011 09:01:02 +0000 (11:01 +0200)]
DataTables: Add blacklist_keys on each filters

12 years agoMT7581: Write 'export_only_borrowed' input directly in the form
Julian Maurice [Wed, 31 Aug 2011 13:14:20 +0000 (15:14 +0200)]
MT7581: Write 'export_only_borrowed' input directly in the form

instead of adding it with javascript

12 years agoMT7434: Adds sound when needs confirmation (in circulation)
Jonathan Druart [Mon, 29 Aug 2011 10:23:38 +0000 (12:23 +0200)]
MT7434: Adds sound when needs confirmation (in circulation)

12 years agoMT7581: Set 'export only borrowed items' feature to be optionnal
Julian Maurice [Thu, 25 Aug 2011 15:09:51 +0000 (17:09 +0200)]
MT7581: Set 'export only borrowed items' feature to be optionnal

12 years agoMT7516: Adds features Datatables on issuest
Jonathan Druart [Thu, 25 Aug 2011 08:03:52 +0000 (10:03 +0200)]
MT7516: Adds features Datatables on issuest

use range for dates
multifilters on title
select for itemtype, location and branch
delete filter on charge and material columns

12 years agoMerge remote branch 'origin/dev/cg55' into MT7516
Jonathan Druart [Wed, 24 Aug 2011 14:42:35 +0000 (16:42 +0200)]
Merge remote branch 'origin/dev/cg55' into MT7516

12 years agoDatatables: Factoring
Jonathan Druart [Wed, 24 Aug 2011 12:34:36 +0000 (14:34 +0200)]
Datatables: Factoring

Adds functions in C4::Utils::DataTables and js/datatables.js

12 years agoDataTable: Add utility functions for Ajax processing
Julian Maurice [Mon, 22 Aug 2011 14:55:05 +0000 (16:55 +0200)]
DataTable: Add utility functions for Ajax processing

12 years agoDataTables: add function fnSetFilteringDelay
Julian Maurice [Mon, 22 Aug 2011 13:24:14 +0000 (15:24 +0200)]
DataTables: add function fnSetFilteringDelay

12 years agoDataTables: CSS improvements
Julian Maurice [Tue, 9 Aug 2011 13:31:29 +0000 (15:31 +0200)]
DataTables: CSS improvements

12 years agoMT7581: Don't export not borrowed items
Julian Maurice [Tue, 23 Aug 2011 09:47:31 +0000 (11:47 +0200)]
MT7581: Don't export not borrowed items

12 years agoMT7434: Modification for sound played on error (in returns)
Jonathan Druart [Mon, 22 Aug 2011 09:28:14 +0000 (11:28 +0200)]
MT7434: Modification for sound played on error (in returns)

12 years agoMT7516: Sort on issuedate,desc by default
Julian Maurice [Mon, 22 Aug 2011 07:59:32 +0000 (09:59 +0200)]
MT7516: Sort on issuedate,desc by default

12 years agoMerge remote-tracking branch 'origin/cg55/ft/MT7517' into dev/cg55
Julian Maurice [Mon, 22 Aug 2011 06:47:42 +0000 (08:47 +0200)]
Merge remote-tracking branch 'origin/cg55/ft/MT7517' into dev/cg55

12 years agoMT7517: Replace NSB/NSE by their valid UTF-8 value
Julian Maurice [Wed, 10 Aug 2011 15:01:24 +0000 (17:01 +0200)]
MT7517: Replace NSB/NSE by their valid UTF-8 value

They causes an encoding on already encoded data

12 years agoMerge branch 'cg55/ft/kss' into dev/cg55
Henri-Damien LAURENT [Fri, 19 Aug 2011 16:28:38 +0000 (18:28 +0200)]
Merge branch 'cg55/ft/kss' into dev/cg55

12 years agoMT7639: Problem reindexing new biblios or edited biblios
BibLibre [Fri, 19 Aug 2011 15:31:11 +0000 (17:31 +0200)]
MT7639: Problem reindexing new biblios or edited biblios

This fix needs to be used with adding :
kss    ALL=(koha) NOPASSWD: /usr/bin/perl /home/koha/src/misc/migration_tools/*

to sudoer file.
It fixes the fact that when pulling out a new database, the new biblios were not indexed.

12 years agoMerge branch 'cg55/ft/MT7516' into dev/cg55 cg55_prod_110817
Julian Maurice [Wed, 17 Aug 2011 07:35:15 +0000 (09:35 +0200)]
Merge branch 'cg55/ft/MT7516' into dev/cg55

12 years agoMT7516: Remove Tablesorter global filter
Julian Maurice [Thu, 11 Aug 2011 12:38:10 +0000 (14:38 +0200)]
MT7516: Remove Tablesorter global filter

12 years agoMerge branch 'cg55/ft/MT7516' into dev/cg55
Julian Maurice [Thu, 4 Aug 2011 12:46:38 +0000 (14:46 +0200)]
Merge branch 'cg55/ft/MT7516' into dev/cg55

12 years agoMT7516: Avoid some warnings about uninitialized value
Julian Maurice [Thu, 4 Aug 2011 12:45:52 +0000 (14:45 +0200)]
MT7516: Avoid some warnings about uninitialized value

12 years agoMerge branch 'cg55/ft/MT7516' into dev/cg55
Julian Maurice [Thu, 4 Aug 2011 10:16:13 +0000 (12:16 +0200)]
Merge branch 'cg55/ft/MT7516' into dev/cg55

12 years agoMT7516: Fix the itemtype imageurl
Julian Maurice [Thu, 4 Aug 2011 10:07:21 +0000 (12:07 +0200)]
MT7516: Fix the itemtype imageurl

12 years agoMT7516: Remove tablesorter from circ/circulation.pl
Julian Maurice [Thu, 4 Aug 2011 09:46:41 +0000 (11:46 +0200)]
MT7516: Remove tablesorter from circ/circulation.pl

12 years agoMT7516: Move 'query builders' in C4::Utils::DataTables.pm
Julian Maurice [Tue, 2 Aug 2011 15:11:29 +0000 (17:11 +0200)]
MT7516: Move 'query builders' in C4::Utils::DataTables.pm

and use MySQL SQL_CALC_FOUND_ROWS to avoid executing the query twice.

12 years agoMT7516: First table with DataTables with server-side processing
Julian Maurice [Tue, 2 Aug 2011 12:16:28 +0000 (14:16 +0200)]
MT7516: First table with DataTables with server-side processing

The issues table in circ/circulation.pl is now managed by DataTables and
use Ajax as data source.
Called script circ/tables/issues.pl take a borrowernumber as parameter,
and datatables stuff.
It returns a JSON file, generated by HTML::Template (the template file
is in koha-tmpl/intranet-tmpl/prog/en/modules/circ/tables/)
Filters only works on sql data, not displayed data. For instance, to
filter on dates, you must enter an iso-formatted date. Another example,
filtering on title will filter on title, not on author (which is
displayed in the same cell).
It still in 'wip' state.

12 years ago[CG55] French Translation cg55_prod_110801
Claire Hernandez [Mon, 1 Aug 2011 11:23:34 +0000 (13:23 +0200)]
[CG55] French Translation

proposed by François Charbonnier.

12 years agoAdd jQuery dataTables plugin
Julian Maurice [Fri, 8 Jul 2011 12:29:19 +0000 (14:29 +0200)]
Add jQuery dataTables plugin

12 years ago[KSS] FIX Query never return results
Jonathan Druart [Thu, 28 Jul 2011 13:46:14 +0000 (15:46 +0200)]
[KSS] FIX Query never return results

SELECT MAX(X) FROM [...] LIMIT 1,1 is stupid

12 years agoMerge branch 'cg55/ft/MT5671' into dev/cg55
Julian Maurice [Thu, 28 Jul 2011 10:03:08 +0000 (12:03 +0200)]
Merge branch 'cg55/ft/MT5671' into dev/cg55

12 years agoMT5671: Move a 'form' closing tag at the right place
Julian Maurice [Wed, 27 Jul 2011 12:05:36 +0000 (14:05 +0200)]
MT5671: Move a 'form' closing tag at the right place

In circulation.tmpl, the form closing tag of the checkouts part was
placed into an TMPL_IF statement which was not always satisfied
(displayrelissues), causing the export button to not work anymore.

12 years agoMerge remote branch 'remotes/origin/cg55/ft/kss' into dev/cg55 cg55_prod_110721_2
Claire Hernandez [Thu, 21 Jul 2011 12:38:25 +0000 (14:38 +0200)]
Merge remote branch 'remotes/origin/cg55/ft/kss' into dev/cg55

12 years agoMerge remote branch 'remotes/origin/cg55/ft/MT5671' into dev/cg55 cg55_prod_110721
Claire Hernandez [Thu, 21 Jul 2011 09:48:51 +0000 (11:48 +0200)]
Merge remote branch 'remotes/origin/cg55/ft/MT5671' into dev/cg55

Conflicts solved:
installer/data/mysql/en/mandatory/sysprefs.sql
installer/data/mysql/updatedatabase.pl (complex versions order)
kohaversion.pl

12 years ago[KSS][MT7432] Adds missing timestamp parameter for rebuild_zebra command
Matthias Meusburger [Tue, 19 Jul 2011 09:11:48 +0000 (11:11 +0200)]
[KSS][MT7432] Adds missing timestamp parameter for rebuild_zebra command

12 years agoMerge remote branch 'origin/cg55/ft/MT5698' into dev/cg55 cg55_prod_110708
Jonathan Druart [Mon, 4 Jul 2011 13:40:16 +0000 (15:40 +0200)]
Merge remote branch 'origin/cg55/ft/MT5698' into dev/cg55

12 years agoMT5698: Change column name (sums to TOTAL)
Jonathan Druart [Thu, 30 Jun 2011 09:16:48 +0000 (11:16 +0200)]
MT5698: Change column name (sums to TOTAL)

12 years agoMerge remote branch 'origin/master' into dev/cg55 cg55_prod_110630
Claire Hernandez [Thu, 30 Jun 2011 09:06:20 +0000 (11:06 +0200)]
Merge remote branch 'origin/master' into dev/cg55

Conflicts solved:
installer/data/mysql/updatedatabase.pl
koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tmpl
kohaversion.pl
members/moremember.pl

12 years agoMerge remote-tracking branch 'origin/cg55/ft/MT5698' into dev/cg55
Matthias Meusburger [Mon, 27 Jun 2011 14:03:15 +0000 (16:03 +0200)]
Merge remote-tracking branch 'origin/cg55/ft/MT5698' into dev/cg55

12 years agoMT5698: Adds statistics' sums
Matthias Meusburger [Mon, 27 Jun 2011 14:00:32 +0000 (16:00 +0200)]
MT5698: Adds statistics' sums

12 years agoMise à jour VF master_11.07
Paul Poulain [Mon, 27 Jun 2011 08:55:11 +0000 (10:55 +0200)]
Mise à jour VF

Plein de changements :
* reprise de cohérence des termes
* quelques chaines non traduites
* corrections de plein d'erreurs

4H de travail en tout.

12 years agoMerge remote-tracking branch 'origin/cg55/ft/kss' into dev/cg55
Matthias Meusburger [Wed, 22 Jun 2011 13:19:51 +0000 (15:19 +0200)]
Merge remote-tracking branch 'origin/cg55/ft/kss' into dev/cg55

12 years agoMT7109: Adds kss log access from kss tools page
Matthias Meusburger [Wed, 22 Jun 2011 13:17:53 +0000 (15:17 +0200)]
MT7109: Adds kss log access from kss tools page

 - Limits the log display to 10000 lines from the bottom of the file

12 years agoMerge remote-tracking branch 'origin/cg55/ft/kss' into dev/cg55
Matthias Meusburger [Wed, 22 Jun 2011 12:22:25 +0000 (14:22 +0200)]
Merge remote-tracking branch 'origin/cg55/ft/kss' into dev/cg55

12 years ago[KSS] MT7106: Adds confirmation dialogs for save current status and manual execution
Matthias Meusburger [Wed, 22 Jun 2011 10:26:44 +0000 (12:26 +0200)]
[KSS] MT7106: Adds confirmation dialogs for save current status and manual execution

12 years ago[KSS] MT7107: Disable manual sync link once clicked
Matthias Meusburger [Wed, 22 Jun 2011 09:58:30 +0000 (11:58 +0200)]
[KSS] MT7107: Disable manual sync link once clicked

12 years ago(MT #7044) followup : add support of 4 new virtualhost variables for multiple opac
Stéphane Delaune [Wed, 22 Jun 2011 09:33:42 +0000 (11:33 +0200)]
(MT #7044) followup : add support of 4 new virtualhost variables for multiple opac

12 years agoMT7109: Adds kss log access from kss tools page
Matthias Meusburger [Tue, 21 Jun 2011 14:48:55 +0000 (16:48 +0200)]
MT7109: Adds kss log access from kss tools page

12 years ago(MT #7044) add support of 4 new virtualhost variables for multiple opac
Stéphane Delaune [Thu, 16 Jun 2011 14:47:50 +0000 (16:47 +0200)]
(MT #7044) add support of 4 new virtualhost variables for multiple opac

OPAC_CSS_ABSOLUTE_OVERRIDE to override opac's css file with another defined by an absolute url
OPAC_USER_CSS to use a specific css file defined with an absolute url who will be used at the same place than opacusercss's system preference
OPAC_LIBRARYNAME_OVERRIDE to override the libraryname's system preference
OPAC_LIMIT_NEWS_TO_SERVERNAME to force news to be displayed only with the same servername than the virtualhost

12 years agoMerge remote branch 'biblibre/bug/BLO/MT6614'
Henri-Damien LAURENT [Tue, 14 Jun 2011 08:59:05 +0000 (10:59 +0200)]
Merge remote branch 'biblibre/bug/BLO/MT6614'