[koha-commits] main Koha release repository branch master updated. v16.11.00-359-g6abf904

Git repo owner gitmaster at git.koha-community.org
Mon Feb 6 18:51:33 CET 2017


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  6abf904bffbf433b26a6da904fec2b1800274c20 (commit)
       via  2e9ae12aa4af4aed7725389ac2f54484838a1471 (commit)
       via  cbbe3619b90b747eb0fdb1eab7073eaf8a71a49a (commit)
       via  77c34a3d7790e67c61d70061ed139ec3c25f79b0 (commit)
       via  0031db5c172052296cb67dc50de59786ad1dc268 (commit)
       via  a233f06574f5ca6417245cba58162af1360bf327 (commit)
       via  a6b13fbcb315d3749da23d494c11e4b6f9e70165 (commit)
      from  af345984486a3e105c1e95111b885b7c907ca69a (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 6abf904bffbf433b26a6da904fec2b1800274c20
Author: Kyle M Hall <kyle at bywatersolutions.com>
Date:   Mon Feb 6 17:43:47 2017 +0000

    Bug 17960 - DBRev 16.12.00.007
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>

commit 2e9ae12aa4af4aed7725389ac2f54484838a1471
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date:   Thu Feb 2 09:22:09 2017 +0100

    Bug 17960: Replace missing occurrences
    
    Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
    
    Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>

commit cbbe3619b90b747eb0fdb1eab7073eaf8a71a49a
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date:   Tue Jan 24 09:14:26 2017 +0100

    Bug 17960: Add opac_news.content values in tests
    
    Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
    
    Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>

commit 77c34a3d7790e67c61d70061ed139ec3c25f79b0
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date:   Thu Jan 19 16:54:50 2017 +0100

    Bug 17960: DBIC Schema changes for opac_news.content
    
    Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
    
    Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>

commit 0031db5c172052296cb67dc50de59786ad1dc268
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date:   Fri Jan 20 02:31:41 2017 +0100

    Bug 17960: Update installed files
    
      git grep opac_news.new installer
    should not return any occurrences in sql files
    
    Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
    
    Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>

commit a233f06574f5ca6417245cba58162af1360bf327
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date:   Tue Jan 17 08:29:23 2017 +0100

    Bug 17960: Rename opac_news.new with opac_news.content
    
    The field opac_news.new is very confusing and should be renamed.
    If you want to access it via Koha::NewsItem you will have trouble:
    
      use Koha::News;
      my $news_item = Koha::News->next;
      say $news_item->new;
    
    => Attempt to bless into a reference at /home/vagrant/kohaclone/Koha/Object.pm line 78.
    
    This patchset is going to rename this DB field to opac_news_content instead.
    
    Since the opac_news.new can be used in notice templates, we need to warn the
    user during the update DB process that some templates must be updated.
    
    Test plan:
    0/ Apply the first patch "Add a test to highlight the issue" and confirm that
    the test fail
    1/ Apply this second patch
    2/ Execute the DB entry
    3/ Confirm that you get a warning if at least one of your notice templates is
    using opac_news.new
    4/ Confirm that the test new pass
    5/ Add/update and delete a news
    6/ Confirm that the RSS new feed still works as expected
    
    Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
    
    Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>

commit a6b13fbcb315d3749da23d494c11e4b6f9e70165
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date:   Sat Jan 21 10:49:40 2017 +0100

    Bug 17960: Add a test to highlight the issue
    
    With only this patch applied, proving t/db_dependent/Koha/News.t
    will return
      "Attempt to bless into a reference at /home/vagrant/kohaclone/Koha/Object.pm line 78."
    
    Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
    
    Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>

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

Summary of changes:
 Koha.pm                                             |    2 +-
 Koha/Schema/Result/OpacNews.pm                      |   11 +++++------
 .../data/mysql/de-DE/mandatory/sample_notices.sql   |    2 +-
 installer/data/mysql/de-DE/optional/sample_news.sql |    2 +-
 .../data/mysql/en/mandatory/sample_notices.sql      |    2 +-
 installer/data/mysql/en/optional/sample_news.sql    |    2 +-
 .../data/mysql/es-ES/mandatory/sample_notices.sql   |    2 +-
 installer/data/mysql/es-ES/optional/sample_news.sql |    2 +-
 .../data/mysql/fr-CA/facultatif/sample_news.sql     |    2 +-
 .../data/mysql/fr-CA/obligatoire/sample_notices.sql |    2 +-
 .../mysql/fr-FR/1-Obligatoire/sample_notices.sql    |    2 +-
 .../data/mysql/fr-FR/2-Optionel/sample_news.sql     |    2 +-
 installer/data/mysql/it-IT/necessari/notices.sql    |    2 +-
 .../data/mysql/it-IT/necessari/sample_news.sql      |    2 +-
 installer/data/mysql/kohastructure.sql              |    2 +-
 .../mysql/nb-NO/1-Obligatorisk/sample_notices.sql   |    2 +-
 .../data/mysql/nb-NO/2-Valgfritt/sample_news.sql    |    2 +-
 .../data/mysql/pl-PL/mandatory/sample_notices.sql   |    2 +-
 installer/data/mysql/pl-PL/optional/sample_news.sql |    2 +-
 .../data/mysql/ru-RU/mandatory/sample_notices.sql   |    2 +-
 installer/data/mysql/ru-RU/optional/sample_news.sql |   16 ++++++++--------
 .../data/mysql/uk-UA/mandatory/sample_notices.sql   |    5 ++---
 installer/data/mysql/uk-UA/optional/sample_news.sql |   16 ++++++++--------
 installer/data/mysql/updatedatabase.pl              |   19 +++++++++++++++++++
 .../intranet-tmpl/prog/en/modules/intranet-main.tt  |    2 +-
 .../prog/en/modules/members/moremember-receipt.tt   |    2 +-
 .../prog/en/modules/tools/koha-news.tt              |    6 +++---
 .../opac-tmpl/bootstrap/en/modules/opac-main.tt     |    2 +-
 .../opac-tmpl/bootstrap/en/modules/opac-news-rss.tt |    2 +-
 t/db_dependent/Koha/News.t                          |    5 ++++-
 t/db_dependent/NewsChannels.t                       |   12 ++++++------
 tools/koha-news.pl                                  |    6 +++---
 32 files changed, 81 insertions(+), 61 deletions(-)


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list