[koha-commits] main Koha release repository branch master updated. v3.22.00-212-g5fc9a42

Git repo owner gitmaster at git.koha-community.org
Thu Dec 31 19:54:54 CET 2015


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "main Koha release repository".

The branch, master has been updated
       via  5fc9a42c7c7a89a7ddd91b73639654e16da29980 (commit)
       via  895c60b8d309e4afdd71a7a3eb75ccd69a3577bf (commit)
       via  03c89fa02ed80987a02dd12e33aeb2487a2e5370 (commit)
      from  9cf06c7eb506096f52705bc8aff26146c95930e2 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 5fc9a42c7c7a89a7ddd91b73639654e16da29980
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date:   Tue Dec 15 11:41:51 2015 +0000

    Bug 15380: Use Koha::Authority::Type[s] in admin script
    
    This path rewrites the admin/authtypes.pl script to use the new modules
    instead of executing the SQL queries from the script.
    
    Test plan:
    1/ Create 1+ authority types
    2/ Update one
    3/ Delete it
    4/ Create an authority record using this authority type.
    5/ Try to delete the authority type
    Here there is a change in the behavior.
    Prior to this patch, the user was able to delete the authority type, now
    it's not.
    I think it was a bug, feel free to give your opinion if you disagree on
    this change.
    
    Signed-off-by: Marc Véron <veron at veron.ch>
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
    
    Signed-off-by: Brendan Gallagher brendan at bywatersolutions.com

commit 895c60b8d309e4afdd71a7a3eb75ccd69a3577bf
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date:   Tue Dec 15 11:41:24 2015 +0000

    Bug 15380: Introduce Koha::Authorit[y|ies] and Koha::Authority::Type[s]
    
    Based on Koha::Objects.
    
    Signed-off-by: Marc Véron <veron at veron.ch>
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
    
    Signed-off-by: Brendan Gallagher brendan at bywatersolutions.com

commit 03c89fa02ed80987a02dd12e33aeb2487a2e5370
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date:   Tue Dec 15 10:21:02 2015 +0000

    Bug 15380: Move Koha::Authority to Koha::MetadataRecord::Authority
    
    The existing Koha::Authority does not use Koha::Objects and does not
    exclusively deal with DB objects.
    It makes much sense to move it to let the space free for a
    Koha::Authority and Koha::Authorities modules based on Koha::Object.
    
    Signed-off-by: Marc Véron <veron at veron.ch>
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
    
    Signed-off-by: Brendan Gallagher brendan at bywatersolutions.com

-----------------------------------------------------------------------

Summary of changes:
 C4/AuthoritiesMarc.pm                              |    4 +-
 Koha/{Items.pm => Authorities.pm}                  |   18 +-
 Koha/Authority.pm                                  |  135 ++----------
 Koha/{Subscription.pm => Authority/Type.pm}        |   19 +-
 Koha/{Biblioitems.pm => Authority/Types.pm}        |   10 +-
 Koha/Exporter/Record.pm                            |    2 +-
 Koha/Filter/MARC/EmbedSeeFromHeadings.pm           |    4 +-
 Koha/{ => MetadataRecord}/Authority.pm             |   20 +-
 admin/authtypes.pl                                 |  166 ++++++++-------
 authorities/merge.pl                               |    8 +-
 .../prog/en/modules/admin/authtypes.tt             |  221 +++++++++++---------
 misc/export_records.pl                             |    2 +-
 svc/records/preview                                |    4 +-
 t/db_dependent/Koha/Authorities.t                  |   55 +++++
 t/db_dependent/Koha_Authority.t                    |   18 +-
 .../RecordProcessor_EmbedSeeFromHeadings.t         |    4 +-
 tools/batch_record_modification.pl                 |    6 +-
 tools/export.pl                                    |    2 +-
 18 files changed, 336 insertions(+), 362 deletions(-)
 copy Koha/{Items.pm => Authorities.pm} (80%)
 copy Koha/{Subscription.pm => Authority/Type.pm} (80%)
 copy Koha/{Biblioitems.pm => Authority/Types.pm} (83%)
 copy Koha/{ => MetadataRecord}/Authority.pm (84%)
 create mode 100644 t/db_dependent/Koha/Authorities.t


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list