Commit graph

162 commits

Author SHA1 Message Date
58ee841a73 DB rev 061: added ShowPatronImageInWebBasedSelfCheck (bug 3436)
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2009-09-16 07:44:09 -04:00
beae9c35b7 DB rev 059->060
Bumped for new patron messaging feature.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2009-09-15 22:25:42 -04:00
3e248810b2 DB rev 058->059 - add DisplayOPACiconsXSLT syspref
Pushing new new system preference DisplayOPACiconsXSLT created per bug 3545
as DB rev 059

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2009-09-15 21:40:47 -04:00
cc12f07357 DB rev 054->058
055: changed OPACSearchForTitleIn per requests in bug 1934
056: Bug 1172 : Add OPACPatronDetails syspref
057: Bug 2576 : Add OPACFinesTab syspref
058: Added primary keys to language tables

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2009-09-06 14:04:38 -04:00
c2c4f3e737 DB rev 053->054: add altcontactcountry and B_address2 to borrowers and deletedborrowers
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2009-09-06 10:23:01 -04:00
Chris Nighswonger
ee37448387 [34/40] Work on syncing db schema on both new and upgrade installs
Labels creator data migration script
Updating updatedatabase.pl and bumping db version
2009-09-01 15:53:49 -04:00
e4d57d80a2 bug 3481: add deleditems.permanent_location (DB rev 052)
Whenever a column is added to items, it must also be added
to deleteditems - otherwise, whenever an item is deleted,
it will not be saved to deleteditems.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2009-08-23 20:53:20 -04:00
c46a43098f assigned typo fixes to DBrev 051
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2009-08-23 20:37:05 -04:00
c03a3a0d92 bug 2611, 1934 followup - DBrevs 049 and 050
Assigned DBrevs as follows:

049: additional correction per bug 2611
050: OPACSearchForTitleIn system preference

Also fixed syntax errors in code for 050.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2009-08-23 20:27:33 -04:00
84db6a18cc bug 2611, 2761 followup
* set DB changes as revs 047 and 048
* ensured that itemcallnumber was widened to 255 in items and
  tmp_holdsqueue
* adjusted DB update descriptions

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2009-08-23 19:08:25 -04:00
119a89719d bug 3464: set to DBrev 046 for new borrowers columns
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2009-08-23 18:38:56 -04:00
Chris Cormack
634df1c76c Bug 3539, Adding a systempreference to hide borrowers name on the catalogue detail page, and holds page
Squashed commit of the following:

commit e9dd6e1dee03fe3503f7995b57510f9edfe6b333
Author: Chris Cormack <chrisc@catalyst.net.nz>
Date:   Wed Aug 19 08:14:53 2009 +0000

    Version number

commit df3ee5473e79b760a91c62b96d7ce19229e0fd27
Author: Chris Cormack <chrisc@catalyst.net.nz>
Date:   Wed Aug 19 08:08:11 2009 +0000

    French systempref

commit c4b036e4e43947d7d1fb9f2e18e460788cb4e1ec
Author: Chris Cormack <chrisc@catalyst.net.nz>
Date:   Wed Aug 19 00:25:33 2009 +0000

    Code to update the database, and updating the sysprefs.sql

commit f74b942c24d5e9c33a4ec0e5ac706a0e347eb1a7
Author: Chris Cormack <chrisc@catalyst.net.nz>
Date:   Tue Aug 18 02:07:22 2009 +0000

    Now hides the name on the detail screen too

commit 53c80dbef88e360a4bbb78ecff3a6ca6ec401398
Author: Chris Cormack <chrisc@catalyst.net.nz>
Date:   Tue Aug 18 01:35:19 2009 +0000

    Allowing the librarians to choose to hide the borrowers name on holds

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2009-08-23 13:52:26 -04:00
7d2562a70a bug 3485: fixed updatedatbase (also DBRev 043->044)
* Fixed case of copy-and-pastitis in DBrev descrieption
* Inserted description for new syspref

NOTE: Please do not leave the system preference description blank
in the updatedatabase entry - even for non-English users, an English
description is more useful than a blank one.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2009-08-23 13:25:48 -04:00
Colin Campbell
e40e11ab0c bug 3481: Allow Item Temporary Locations for Processing and Shelving.
Allows temporary locations corresponding to 'in processing' and 'shelving'
so that newly-created items, and newly-returned items do not show
immediately as a available. Three new system preferences govern the usage
of these features.

NewItemsDefaultLocation. If system pref NewItemsDefaultLocation is set to a location code,
 all newly catalogued items will be set to the location set in this preference.
 Location code must be a valid LOC authorized value type.

InProcessingToShelvingCart. if the system pref InProcessingToShelvingCart is turned on,
any items run through returns.pl with a location code for 'PROC', will be modified to
have a new location code of 'CART'.

ReturnToShelvingCart.  If the syspref ReturnToShelvingCart is turned on,
all items returned other than confirmed holds will have a new location code of 'CART'.
Any item issued is automatically taken of the shelving cart.

Adds a cron script shelf_to_cart.pl which should be run hourly.
Updates all items with a location of CART to the item's permanent location.

The original location code is stored in the new items column 'permanent_location'.

Original Author: PTFS Contractor <dbavousett@ptfs.com>

This work co-sponsored by
  Middletown Township Public Library, Middletown, NJ USA  and
  East Brunswick Public Library, East Brunswick, NJ USA

Signed-off-by: Colin Campbell <colin.campbell@ptfs-europe.com>
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2009-08-23 11:54:46 -04:00
8e40c2d017 bug 3493: DBrev 041->042 (added OPACFineNoRenewals)
Also changed default value of OPACFineNoRenewals to 99999
when upgrading existing databases so that there's no (likely)
sudden change in OPAC behavior.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2009-08-23 11:35:26 -04:00
fcf2bfb638 bug 3204: add AWSPrivateKey syspref (DBrev 040->041)
The AWSPrivateKey syspref is describe more fully
in a previous commit, but to summarize, it should
contain the Amazon Web Services Secret Access Key
required by Amazon to sign requests to their
Product Advertising API.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2009-08-13 09:29:57 -04:00
Michael Hafen
0458639566 Allow the reserve date to be set on holds - sysprefs
This is the two system preferences controlling this feature, and the
updatedatabase addition using db verion 3.01.00.040

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2009-08-11 18:02:30 -04:00
dbd6128715 DB rev 038>039 (for real, this time)
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2009-08-02 11:08:16 -04:00
b35b727924 DB rev 038->039
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2009-08-01 09:59:35 -04:00
Galen Charlton
2f3714e2e6 bug 2866: add FilterBeforeOverdueReport syspref (DB rev 037)
Also added index on authorised_values.lib.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
2009-05-28 19:20:41 -05:00
Galen Charlton
822e0ffeae bug 2642, 3263: new MARC display system preferences (DB rev 036)
* Added definitions of the new display sysprefs:

  viewISBD - Allow display of ISBD view of bibiographic records
  viewLabeledMARC - Allow display of labeled MARC view of bibiographic records
  viewMARC - viewMARC  Allow display of MARC view of bibiographic records

* Adjusted IntranetBiblioDefaultView
  * made type choice (fixing bug 1933)
  * added better description for English
  * added labeled_marc option

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
2009-05-28 06:42:32 -05:00
Henri-Damien LAURENT
af32ae0962 Adding and managing location in subscription
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
2009-05-27 11:59:55 -05:00
Nahuel ANGELINETTI
3b1d91d04f (bug #3020) add a grace period to subscriptions
This patch modify the database to have a grace period which can be set. And is used to create automatically new waited issues with a
cronjob(which is in this patch), and set old issues to "late" status.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
2009-05-22 13:46:36 -05:00
Galen Charlton
329678f39b bug 3222: database changes for messaging preferences (DB rev 033)
This patch modifies the database for the messaging
preferences enhancement <http://wiki.koha.org/doku.php?id=en:development:rfcs3.2:rfc32_defaultmessagingsettings>
as follows:

* adds a categorycode column to borrower_message_preferences

This allows a set of messaging preferences to be linked
to a patron category

* allow the borrowernumber column to be null

This allows a messaging preference set to be linked
*only* to a patron category.  If MySQL had check
constraints, I would add one so that exactly
one of borrowernumber and categorycode in a row in
borrower_message_preferences could be NULL.

* add a FK constraint from borrower_message_preferences.categorycode
to categories; if you delete a patron category, any default preferences
associated with it will be automatically deleted.

The messaging preference enhancement was sponsored by the Northeast
Kansas Library System (NEKLS).

Signed-off-by: Daniel Sweeney <daniel.sweeney@liblime.com>
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
2009-05-22 13:20:45 -05:00
Nahuel Angelinetti
314e818294 fix the previous patch to add a syspref that permit to choose the renewal period(day or date_due).
This patch just check the syspref and use it as base date of renew.

Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
2009-05-11 15:20:09 -05:00
Galen Charlton
b79f8feed2 bug 2872: fix width of columns in branch_transfer_limits (DB rev 031)
change itemtype, tobranch, and frombranch from varchar(4)
to varchar(10)

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
2009-05-11 12:24:20 -05:00
Galen Charlton
46037ac61a bug 2893: tweaks to AllowNotForLoanOverride (DB rev 030)
* moved to DB rev 030
* assigned AllowNotForLoanOverride to circulation syspref category
* added a hint to the circulation operator: when the
  AllowNotForLoanOverride is ON, if the operator attempts
  to check out an item that is normally not for loan due to
  its item type or because the item is explicitly marked as
  not-for-loan, the operator is given the chance to check
  out the item anyway.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
2009-04-27 14:44:09 -05:00
Galen Charlton
073ebc0001 bug 2559: fix search limit on Spanish language (DB rev 029)
Fixes bug where searching with the language limit set
to Spanish would instead retrieve Russian records.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
2009-04-27 07:30:55 -05:00
ed1da7925d Bug 2920 DB Rev 028 AmazonReviews syspref
Add AmazonReviews syspref.

DOCUMENTATION:

  AmazonReviews is OPACAmazonReviews counterpart,
  except that in staff interface Editorial Review
  is displayed alone, without reader reviews.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
2009-04-27 06:54:28 -05:00
Ryan Higgins
a58eb67318 Bug 3148 : Database revision to make zebraqueue.biblio_auth_number as big as auth_header.authid.
If you've never truncated your zebraqueue table, you might want to
update your index and truncate it before applying this patch and running updatedatabase.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
2009-04-26 09:51:00 -05:00
Michael Hafen
d14153872b New feature - database update - Number of Returned Items to Show
This is the database update to add the system preference for
numReturnedItemsToShow

[RM note: DB rev 026]

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
2009-04-24 13:25:28 -05:00
Galen Charlton
9a36429d22 DB rev 025: ceilingDueDate syspref
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
2009-04-24 13:22:42 -05:00
Chris Nighswonger
cd16f12a47 kohabug 2934 - Wrong datatype causes artificial limit to label batch id's
labels.batch_id should be int as the value is always an integer. This corrects
the problem.

[RM note: ported patch to HEAD.  DB rev 024]

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
2009-04-24 10:39:13 -05:00
Galen Charlton
5c6d9633b7 bug 2765: updatedatabase to increase width of ISBN columns
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
2009-04-24 08:41:53 -05:00
Galen Charlton
ffe0642658 DB rev 022: set DBrev for bug 2945 fix
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
2009-04-24 08:18:34 -05:00
13c45c4f6d DB rev 020 -> 021: OPACAmazonReviews syspref
Add new OPACAmzonReviews syspref

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
2009-04-24 05:56:58 -05:00
Galen Charlton
c132cba2bc DB rev 019 -> 020: LTFL support
Extends Christopher Hyde's patches to add LTFL support
as follows:

* adds fr-FR system preferences
* adds updatedatabase.pl

The three new system preferences are:

LibraryThingForLibrariesEnabled - turn ON to enable LTFL support
LibraryThingForLibrariesID - client ID for LTFL service
LibraryThingForLibrariesTabbedView - put LTFL content in tabs on bib detalis page

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
2009-04-23 16:13:39 -05:00
Galen Charlton
bfec1aa5ae DBrev 018 -> 019
Also corrected message upon addition of new
OPACShowCheckoutName syspref.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
2009-04-23 14:55:08 -05:00
Galen Charlton
74cb2f666e bug 3099: fix copying patron info to deletedborrowers (DB rev 018)
Fixes the following problem:

When deleting a patron record via the intranet or the cleanborrowers tool,
patron records are deleted but are not copied to deletedborrowers.
C4::Members::MoveMemberToDeleted() fails with the following error:

deletemem.pl: DBD::mysql::st execute failed: Column count doesn't match value
count at row 1 at C4/Members.pm line 1672.,

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
2009-04-08 15:54:18 -05:00
Joshua Ferraro
65ddce02f2 Serials Display Enhancement
Allows specification of how many issues of a subscription to display
at a global and subscription-specific level. Also adds a link to the
detail page to a specific subscription.

Signed-off-by: Daniel Sweeney <daniel.sweeney@liblime.com>
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
2009-04-03 16:41:38 -05:00
6542fc4216 Add Babeltheque OPAC enhanced content
www.babeltheque.com is a LibraryThings for Libraries equivalent.
This patch enables this service on OPAC.

  * Replace previous patch in order to apply onto last master HEAD
    and solve conflicts induced by last pushed pateches:
    1bb9f76e66
  * Modify kohaversion.pl
  * It uses v3.01.00.016 slot.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
2009-04-01 10:49:42 -05:00
Galen Charlton
b465e24a6b DB rev 014 -> 015
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
2009-03-27 17:24:43 -05:00
Galen Charlton
6e4acb29f4 followup to library transfer limits: DB rev => 014
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
2009-03-06 11:27:38 -06:00
Galen Charlton
f3d0828c81 reconciled DB revs: now at 013 2009-02-04 14:19:51 -06:00
John Beppu
2302621702 Schema Changes for Email Checkout Slips
- new table, item_circulation_alert_preferences
- new data:
  - letter -- 2 new templates
  - message_transport_types -- feed
  - message_attributes -- Item Check-in and Item Checkout
  - message_transports -- for each attribute and for each transport_type...

Signed-off-by: Daniel Sweeney <daniel.sweeney@liblime.com>
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
2009-02-04 13:54:13 -06:00
Galen Charlton
ff9533369c bump DB rev 011 -> 012
Signed-off-by: Daniel Sweeney <daniel.sweeney@liblime.com>
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
2009-01-16 08:22:26 -06:00
Galen Charlton
f35a9d5a27 bump DB rev 010 -> 011 2009-01-12 15:16:58 -06:00
Danny Bouman
f198b3f5cf bug 2687: Increased length of borrower attribute fields
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
2009-01-12 15:02:12 -06:00
John Beppu
fe5cc9933f bug 2874 [1/3]: schema changes for overriding blocked renewals
Two new subpermissions of circulate were added:
- circulate_remaining_permissions
- override_renewals

Also, the following schema alterations were made
- permissions.code      : varchar(30) => varchar(64)
- user_permissions.code : varchar(30) => varchar(64)

  (The reason for this was because "circulate_remaining_permissions"
   was greater than 30 characters long and wouldn't fit.)

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
2008-12-23 17:01:58 -06:00
Galen Charlton
0339498196 bug 2799: DB rev 008 for library transfer limits
Also fix automatic merge that put the 008
update in the wrong place.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
2008-12-17 14:49:33 -06:00