Commit Graph

427 Commits

Author SHA1 Message Date
Henri-Damien LAURENT 758bfba1ee Adding XSLTreultsFilename and XSLTDetailFilename
Thos two system preferences enables the librarian to choose an xslt different from the one provided in Koha
2010-05-15 01:31:54 +02:00
Nahuel ANGELINETTI 3f9cc7af58 Fix kohastructure for deletedborrowers
This patch add a forgotten column in deletedborrowers, that make koha doesn't save deletedborrowers in fresh installs.
2010-05-14 09:27:45 +02:00
Nahuel ANGELINETTI 9e8af9ca3b [followup](bug #4334) fix duplicate entries in sql 2010-05-14 09:27:44 +02:00
Nahuel ANGELINETTI a1eea8846b (bug #4334) create needed sample datas
This add samplenotices.sql that disappear, and add in fr-FR:
* sample_notices_message_attributes.sql
* sample_notices_message_transports.sql
2010-05-14 09:27:44 +02:00
Henri-Damien LAURENT 71d92ee72c Reintroducing finedays in updatedatabase
Bumping dbrev 3.06.009
2010-03-18 04:49:58 +01:00
Nahuel ANGELINETTI b22c1a1e10 (bug #4287) add enrolment period update in 22 to 30 script
this fix the upgrade script, to upgrade the enrolment period, that is no more in years, but in month unity.

Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
2010-03-08 23:07:28 +01:00
Chris Cormack fda88bdd30 Italian SQL updates
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
2010-03-04 14:29:08 +13:00
Henri-Damien LAURENT 4b04de209a updatedatabase : fixing XSLT syspref type
XSLT* is now of type free and not Boolean
letter added for staff hold spelling problem fixed
2010-02-16 11:47:38 +01:00
Henri-Damien LAURENT d1af689a3b Updatedatabase : Updating edititems permissions
edit_items permissions were not set for an existing system
This would have propted user to loose some edit rights.
This patch enables the edit_items provided that they had editcatalogue permissions
2010-02-15 18:15:07 +01:00
Matthias Meusburger aab4cf45cc MT2938 : Adds a permission for editing items 2010-02-15 17:43:12 +01:00
Henri-Damien LAURENT 60e033dc91 fixing updatedatabase 2010-02-10 16:51:56 +01:00
Matthias Meusburger 899156b3ec MT2636 : Send a different notification whether an hold has been made from OPAC or from the Intranet 2010-02-10 14:01:30 +01:00
Paul Poulain 7b27b9ecb2 MT2116, Follow-up: CSV Export, fix backporting bugs 2010-02-10 14:01:30 +01:00
Matthias Meusburger 523735ef6b MT2116 : Addons to the CSV Export
Add encoding selection
Add authorised values handling
2010-02-10 14:01:29 +01:00
Matthias Meusburger 0865bd7727 MT2116: Addons to the CSV export
Add user-defined headers
Add CSV, field and subfield separator selection
2010-02-10 14:01:29 +01:00
Matthias Meusburger 75f310b238 MT 1587 (Follow-up) : CSV export for cart and shelves (export_format table creation)
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
2010-02-10 14:01:28 +01:00
Henri-Damien LAURENT e431b4b077 MT 1587 : CSV export for cart and shelves, with the ability to define different export profiles
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
2010-02-10 14:01:28 +01:00
Henri-Damien LAURENT 4993967afa Followup : (bug #3042) XSLT changes
types for system preference needed to be updated
2010-01-19 22:08:18 +01:00
Matthias Meusburger 7ffec5b437 MT2631 : adds sysprefs for MARC or ISBD display in OPAC 2010-01-19 22:08:17 +01:00
Paul Poulain 8758e8d0e8 bug fixing : Patron Search : IndependentBranches
When Independant Branches is set, some library expect not to see the patrons of other library
Adding a new systempreference : IndependentBranchPatron in order to be able to restrict Patron search to the library of the current user and not change the current behaviour of IndependantBranches patron search
2010-01-11 13:33:13 +01:00
Henri-Damien LAURENT 3057a7afb9 (bug #3042) Changing XSLT sysprefs to take filename
This change system preferences for XSLT management
bumps kohaversion to 3.0.6.03
If you are using Koha in a non devel mode AND use XSLT, then you HAVE TO adapt the system preference to point to your htdocs

WARNINGS :
    - tested with UNIMARC XSL
    - donot test the presence of the file, if file absent, then BOOM
    - XSL CANNOT be different for intranet and OPAC for result lists.
2010-01-11 13:33:13 +01:00
Nahuel ANGELINETTI aec072fc14 (bug #4002) fix database for single itemnumber and foreign key
this fix serialitems to have a foreign key to items(if an item is deleted, serialitem must be deleted)
and it fixes issues to have only one issue by itemnumber(strange to have more than one).
2010-01-11 13:33:12 +01:00
Nahuel ANGELINETTI 23dc1bda51 (bug 3536) fix homeorholdingbranch on return
this patch create a new systempreference "homeorholdingbranch"-like used only for returns.
2009-12-24 16:52:20 +01:00
Henri-Damien LAURENT 9fa4e61d4c Bug 3730 - Wrong ISO 639-2 Language Code for Portuguese in database
http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=3730

For 3.0.x head of the Git branch, the ISO 639-2 Language Code for
Portuguese in Koha database is wrong.

Specifically, in the table "language_rfc4646_to_iso639", when the
field "rfc4646_subtag" has the value "pt", the field "iso639_2_code"
should have the value of "por" and NOT the current one of "pol"
("pol" refers to "Polish" as correctly also appears for the code "pl",
in the row above the "pt" one).

In my test setups, this showed some serious sequences for people
that choose the Portuguese language in the Web Installer, namely:
- very weird look of Staff client with missing Header and Footer,
that renders the Staff client unusable
- Portuguese translation apparently not getting updated for the OPAC
(for people that do an Upgrade from a previous version)

This patch is for the 3.0.x branch (I tested it with that branch).

For the master branch, I don't have a database setup to create and
test a similar patch but Chris Cormack nicely volunteered to do that.
Thanks Chris!
Credits : Ricardo Dias Marques
2009-12-17 09:29:20 +01:00
Nahuel ANGELINETTI 6d2739f16b [replaceprevious](bug #3924) fix useDaysMode use
This fix system preference choices, and delete some useless code.
2009-12-17 09:14:56 +01:00
Henri-Damien LAURENT 82a99f189d (bug #3898) Followup : fixing Hold Policies implementation
An error slipped in kohastructure.sql
65abb5124e
2009-12-08 15:15:52 +01:00
Nahuel ANGELINETTI 65abb5124e (bug #3819) hold policies implementation
This still backports updatedatabase from head, update kohastructure, and fix smart-rules.tmpl/.pl.
2009-12-01 10:09:00 +01:00
Nahuel ANGELINETTI 82a0053f5e (bug #3819) hold policies doesn't work
This patch backport code from 3.2, create the database, and update kohastructure.sql
2009-12-01 10:08:46 +01:00
Nahuel ANGELINETTI cae838c097 (bug #3734) another isbd view for opac
This patch add a new preference system for ISBD OPAC view.  It permits to have different ISBD views between opac and intranet and resolve the url problems.
2009-11-04 15:03:31 +01:00
Henri-Damien LAURENT d3795b1d15 followup bug fix 3712
thanks Zeno Tajoli
2009-10-20 11:31:52 +02:00
Henri-Damien LAURENT 46a76d401e bug Fix 3712
Adding the needed system preferences
2009-10-20 11:31:51 +02:00
Henri-Damien LAURENT 78d586e4fc Removing duplicate syspref 2009-10-14 18:34:46 +02:00
Henri-Damien LAURENT f40b5c96f5 Removing unconditionnal warning 2009-10-14 18:34:46 +02:00
Chris Cormack 4fdbc3a89c Ukranian and Russian sql updates courtesy of Сергій Дубик 2009-10-08 19:45:11 +13:00
Henri-Damien LAURENT 89e06fd381 Adding labeled view support 2009-10-07 16:13:53 +02:00
Matthias Meusburger f33e65499b MT 1816: Granular permissions for the serials module
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
2009-10-06 17:53:16 +02:00
Nahuel ANGELINETTI b21a5bdadc (bug #3370) add keyword to MARC field mapping
This add the support of keyword => MARC field mapping, ton abstract the relation between human readable fields like subtitle, title, authors, location, ... and MARC fields in each framework.
This will allow to koha developper to be more flexible with each framework and don't care about the MARC flavour, just require some "keywords" to the user.

Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
2009-09-19 22:31:34 +02:00
Henri-Damien LAURENT 5e93138d8f Bug Fixing updatedatabase 2009-09-17 09:16:51 +02:00
Henri-Damien LAURENT caf5d2e2ee bug 3204: add AWSPrivateKey syspref (DBrev 04.15)
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>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
2009-09-16 23:19:46 +02:00
Henri-Damien LAURENT 719280216f bug 3204: implement request signing for Amazon Web Services
After 2009-08-15, Amazon Web Services will expect that
all requests to the Product Advertising API, which is what
Koha uses for retrieving reviews and other enhanced content
from Amazon, include signatures.  This patch and
subsequenct patches implement this functionality.

What this means in practice (assuming the user has elected
to use any enhanced content from Amazon) is that

[1] The user must get a Amazon Secret Access Key.  This can
    be done by logging in to the user's AWS account
    at (e.g.) http://aws.amazon.com/, going to the 'Access Identifiers'
    page, and from there retrieving and/or creating a new Secret
    Access Key.

[2] The contents of the Secret Access Key should then be
    entered into the new AWSPrivateKey system preference.

Once that is done, grabbing reviews and table of contents from Amazon
should work as normal.  If the user doesn't do this before 2009-08-15,
reviews and TOCs will no longer be supplied from Amazon, although there
should be no crashes - the content will simply not show up.

Note that the requirement to sign requests does *NOT* appear to apply
to simply displaying book covers from Amazon.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
2009-09-16 23:19:46 +02:00
Nahuel Angelinetti ed0101f8a5 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-09-16 23:19:43 +02:00
Nahuel ANGELINETTI d298b87548 [3.0.x](bug #3242) send email when hold is placed
This add a new letter in database, and each time a new hold is placed, a new mail is enqueued.

Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
2009-09-16 23:19:31 +02:00
Nicole Engard 28757ccd5f BUG #3533: Fix documentation link in news for new installs
This patch only fixes the link for new installs, not for
updates.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
2009-09-16 23:19:28 +02:00
Henri-Damien LAURENT 816f0dee1d Fixing kohastructure.sql : some fields were duplicated
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
2009-09-16 23:19:25 +02:00
Ryan Higgins e903f64ef2 Add MARC21 Fast-add Framework.
Development is in progress for brief records
in Koha; until that's done, this framework can
be used to add a minimal record.
Created by debra.denault@liblime.com

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
2009-09-16 23:19:12 +02:00
John Beppu 37783c65ab [Checkout Slips Part 3 14/16] SQL
- fixed syntax errors (thanks Dan)
- made sample_notices.sql mandatory

Signed-off-by: Daniel Sweeney <daniel.sweeney@liblime.com>
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
2009-09-16 23:19:03 +02:00
Galen Charlton f7b82dd5f1 bug 1933: started work fixing IntranetBiblioDefaultView syspref
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
2009-09-16 23:18:59 +02:00
Galen Charlton 2a15f051e9 bug 2897: fix English sample notices
Same as Joe's prior 2897 patch, but applied to the English
sample_notices.sql - due to a Git merge and rename detection
oddity, his original submitted patch was applied to the French
sample_notices.sql.  Since the two files are
currently identical, no problem in the end.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
2009-09-16 23:18:57 +02:00
Galen Charlton 710045365b more permissions fixes on uk-UA installer SQL files
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
2009-09-16 23:18:52 +02:00
Galen Charlton c8274468d0 fixed permissions on ru-RU and uk-UA installer SQL files
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
2009-09-16 23:18:52 +02:00