[koha-commits] main Koha release repository branch 16.11.x updated. v16.11.07-64-g3922dc3

Git repo owner gitmaster at git.koha-community.org
Sun May 14 14:52:42 CEST 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, 16.11.x has been updated
       via  3922dc3a341358aed1dd05f178850c12e7ab280d (commit)
       via  55340a633594d6c722ee2dd3be3a1851c1e8444c (commit)
       via  63d1e10aa02652b0097a3dced076f8e3ff5c9fb5 (commit)
       via  f59dbc1cf568ae6f1a18d9fcf7f0eaee708f1d31 (commit)
       via  089b07c053e0cd4fe6f63a0690a1bf35f64c933e (commit)
       via  1199c147e3ed3c5097a0068d86702522f95d1beb (commit)
       via  8ad4dad58ec15a62061fe78d31b5b407cdd30378 (commit)
       via  a83349f35a382e7f2b8d6901e198901eac5f02d8 (commit)
       via  d5df355e854c3caab1d646d3acd10aeaaf32b470 (commit)
       via  adb97a1da01b814a40d48abefb3892c8f11b26bc (commit)
       via  369879b756fd3375536e1950d3e66b1cfdb03154 (commit)
       via  f6290fc2026331a9200b8b8aa8e376d1a4d3de56 (commit)
       via  e762ef9425175d27895ceeb8c7658c18731b4a3d (commit)
       via  d5e4d2742b73b461373dd5ee35decaca2aebb195 (commit)
       via  509999ec150435bd7e31cbdb85bc10c005aef9d4 (commit)
      from  7b9bda5881e1a48fab029c0c0d78f4b0848ae545 (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 3922dc3a341358aed1dd05f178850c12e7ab280d
Author: Katrin Fischer <katrin.fischer.83 at web.de>
Date:   Sun May 14 12:35:48 2017 +0000

    SCHEMA UPDATE for Bug 17260 - updatedatabase.pl fails on invalid entries in ENUM and BOOLEAN columns

commit 55340a633594d6c722ee2dd3be3a1851c1e8444c
Author: Katrin Fischer <katrin.fischer.83 at web.de>
Date:   Sun May 14 14:32:50 2017 +0200

    DBREV for Bug 18066 - Hea - Version 2

commit 63d1e10aa02652b0097a3dced076f8e3ff5c9fb5
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date:   Mon Apr 24 16:26:31 2017 -0300

    Bug 18066: Remove warnings from translate script
    
    This patch removes the following warnings:
    Use of uninitialized value $pref_name in concatenation (.) or string at
    LangInstaller.pm
    
    (cherry picked from commit bcc04652762ff097623630432946ca9203f7519f)
    Signed-off-by: Katrin Fischer <katrin.fischer.83 at web.de>

commit f59dbc1cf568ae6f1a18d9fcf7f0eaee708f1d31
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date:   Thu Mar 23 13:31:24 2017 -0300

    Bug 18066: Add the new geolocation column to kohastructure.sql
    
    (cherry picked from commit 64812347c9536340484f17758c6881ca882987d6)
    Signed-off-by: Katrin Fischer <katrin.fischer.83 at web.de>

commit 089b07c053e0cd4fe6f63a0690a1bf35f64c933e
Author: Julian Maurice <julian.maurice at biblibre.com>
Date:   Tue Mar 21 12:01:45 2017 +0100

    Bug 18066: Fix map positioning in admin/usage_statistics.pl
    
    Signed-off-by: Julian Maurice <julian.maurice at biblibre.com>
    
    Signed-off-by: Brendan A Gallagher <brendan at bywatersolutions.com>
    (cherry picked from commit c3db243ad459782362c7051a648730bc51fda83d)
    Signed-off-by: Katrin Fischer <katrin.fischer.83 at web.de>

commit 1199c147e3ed3c5097a0068d86702522f95d1beb
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date:   Tue Mar 21 07:21:38 2017 -0300

    Bug 18066: Fix tests
    
    Signed-off-by: Julian Maurice <julian.maurice at biblibre.com>
    
    Signed-off-by: Brendan A Gallagher <brendan at bywatersolutions.com>
    (cherry picked from commit 7aff8696614604960b7244fac798a28c4438fc36)
    Signed-off-by: Katrin Fischer <katrin.fischer.83 at web.de>

commit 8ad4dad58ec15a62061fe78d31b5b407cdd30378
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date:   Tue Feb 28 17:13:07 2017 +0000

    Bug 18066: Use https for ws
    
    Signed-off-by: Chris Cormack <chrisc at catalyst.net.nz>
    Signed-off-by: Julian Maurice <julian.maurice at biblibre.com>
    
    Signed-off-by: Brendan A Gallagher <brendan at bywatersolutions.com>
    (cherry picked from commit c302fd2bea710c960db7bc14aeac762c865f677a)
    Signed-off-by: Katrin Fischer <katrin.fischer.83 at web.de>

commit a83349f35a382e7f2b8d6901e198901eac5f02d8
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date:   Tue Feb 28 11:16:56 2017 +0000

    Bug 18066: Do not use token for OSM tiles
    
    Signed-off-by: Chris Cormack <chrisc at catalyst.net.nz>
    Signed-off-by: Julian Maurice <julian.maurice at biblibre.com>
    
    Signed-off-by: Brendan A Gallagher <brendan at bywatersolutions.com>
    (cherry picked from commit 0d479976af81df3a66024e4ffc18ecc2038c0103)
    Signed-off-by: Katrin Fischer <katrin.fischer.83 at web.de>

commit d5df355e854c3caab1d646d3acd10aeaaf32b470
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date:   Tue Feb 7 09:31:28 2017 +0100

    Bug 18066: Add the leaflet library
    
    Signed-off-by: Chris Cormack <chrisc at catalyst.net.nz>
    Signed-off-by: Julian Maurice <julian.maurice at biblibre.com>
    
    Signed-off-by: Brendan A Gallagher <brendan at bywatersolutions.com>
    (cherry picked from commit f3c4c7016128e6550230cd44f8efedf0374db25e)
    Signed-off-by: Katrin Fischer <katrin.fischer.83 at web.de>

commit adb97a1da01b814a40d48abefb3892c8f11b26bc
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date:   Thu Feb 2 16:53:58 2017 +0100

    Bug 18066: Hea V2
    
    This patch is the Koha part of the Hea v2 project.
    You can find the (testing) code for the server at
      hea-ws  - https://github.com/joubu/hea-ws/commits/v2
      hea-app - https://github.com/joubu/hea-app/commits/v2
    They contain the different pull requests made over the last 6 months.
    
    More information on Hea at https://wiki.koha-community.org/wiki/KohaUsageStat_RFC
    The goal of this commit message is to provide an overview of what could
    be a new version of Hea.
    
    Prior to these changes, the Hea database was filled with 1 line per Koha
    installation. System preferences were filled by the libraries and a
    cronjob (share_usage_with_koha_community.pl) collected these values to send
    them to a webservice (hea-ws/upload.pl).
    
    With the need to collect more data we would want to collect data at the library
    level (branch) and not at the installation level.
    For instance the geolocation, the url or the country can be different from one
    library to another, even if managed from the same Koha installation.
    The Hea DB has been upgraded to reflect that change (see hea-app/sql/schema.sql).
    
    The hidden goal of this patch is to make Hea sexier and explain
    better to libraries how it can be useful to share their information
    with the Koha community. I guess the main problem is the lack of
    communication and explanations about what we are doing we these data.
    To fill this gap I'd like to (TODO)
      1. Communicate on the ML about this new version of Hea (once it got
    pushed and backported)
      2. Link the Privacy_Policy.md from the Hea interface
      3. Get help from a native English speaker to add
    popup/help/info/whatever on "Home › Administration › Usage statistics",
    to clearly explain what happens (and what will not happen!) when an option or
    another is set.
    
    You can find screenshot of this whole enhancement on bug 18066, comment 2.
    
    What this patch does:
    - Create a new branches.geolocation DB field
    - Add 3 new sysprefs:
      * UsageStatsGeolocation
      * UsageStatsLibrariesInfo
      * UsageStatsPublicID
    - Integrate the Leaflet JS library to get a fancy map to pick
    geolocations
    
    How does it works:
    On the new administration page where statistics to share are configured,
    there are several new things. It is now possible to share information either
    per Koha installation or libraries. If UsageStatsLibrariesInfo is set,
    the info at library level (url, name, country, geolocation) will be
    sent to the Hea webservice. If it is not set, you can decide to fill
    UsageStatsLibraryUrl, UsageStatsLibraryName, UsageStatsCountry,
    UsageStatsGeolocation to share these information. Note that even if the
    data are retrieved at installation level, it's better to fill the prefs
    as well: On the Hea website the different libraries defined for a given
    Koha installation could be displayed on the same page.
    This page is a public page which will be attributed to every
    installation (with the pref UsageStatsPublicID). On this page all the
    info available publicly will be displayed.
    
    TODO later:
    - Add a button on the administration page to delete the info shared
    publicly. It will be easy to show that the info are no longer displayed
    on the public page.
    - Add an icon per Koha installation to get a better "public page"
    - Any suggestions?
    
    Test plan:
    We will need to test hea-ws, hea-app and the Koha-side code to test the
    whole enhancement.
    1/ To start, clone the hea-ws and hea-app project and checkout the
    'master' branch (*not* 'v2')
    2/ Create the hea database and user
      CREATE DATABASE hea
      CREATE USER 'hea'@'localhost' IDENTIFIED BY 'hea';
      GRANT ALL PRIVILEGES ON hea.* TO 'hea'@'localhost';
      FLUSH PRIVILEGES;
    3/ Fill the DB with some data
      mysql hea < hea-app/sql/schema.sql
      mysql hea < hea-app/sql/sql/mock-data.sql
    4/ Checkout the 'v2' branch for both hea-ws and hea-app
    5/ Execute the upgrade DB script
      % cd hea-app
      % perl -p -i -e 's/REPLACE_ME/hea/' sql/upgrade.pl # Fill the DB info
      % perl sql/upgrade.pl
    Now the DB is using the v2 structure. That means we have 1 installation
    row per library previously defined. 1 library row has also been created.
    5/ Configure hea-ws
    % echo '192.168.50.1 hea.koha-community.org' >> /etc/hosts
    <VirtualHost *:80>
      DocumentRoot "/path/to/hea-ws"
      ServerName "hea.koha-community.org"
      <Directory "/">
        Options +ExecCGI
        Require all granted
        AddHandler cgi-script .pl
      </Directory>
    </VirtualHost>
    
    And enable it with a2ensite, then restart apache.
    The copy the database.yml.sample to database.yml and edit it to fill the
    DB info.
    
    6/ Launch the hea-app
      % cd hea-app
      % edit README.md # to install the missing modules
      % cp environments/config.yml environments/development.yml
      % edit environments/development.yml # to fill the DB info
      % perl bin/app.pl
    Then hit localhost:3000
    You should see a local version of Hea with sample data
    
    7/ Back to Koha side
    A. We will test that the webservice still works with previous version of Koha (without v2)
    a. Do not configure Hea
      % perl misc/cronjobs/share_usage_with_koha_community.pl -f -v
    Then hit localhost:3000
    => Nothing added
    b. Configure Hea on admin/usage_statistics.pl
    perl misc/cronjobs/share_usage_with_koha_community.pl -f -v
    => New library added
    c. Modify the Hea configuration
    perl misc/cronjobs/share_usage_with_koha_community.pl -f -v
    => Info are modified
    
    B. Not we will test that it works with the new version (much more fun ;))
    % git checkout hea-v2 # koha
    a. Configure Hea using /admin/usage_statistics.pl
    perl misc/cronjobs/share_usage_with_koha_community.pl -f -v
    => Check the result on localhost:3000
    b. Share libraries's info
    perl misc/cronjobs/share_usage_with_koha_community.pl -f -v
    c. Continue to play a bit and share the info.
    
    Signed-off-by: Chris Cormack <chrisc at catalyst.net.nz>
    Signed-off-by: Julian Maurice <julian.maurice at biblibre.com>
    
    Signed-off-by: Brendan A Gallagher <brendan at bywatersolutions.com>
    (cherry picked from commit 63a1adff9097493be0329aebab5fb3bf8a627b80)
    Signed-off-by: Katrin Fischer <katrin.fischer.83 at web.de>

commit 369879b756fd3375536e1950d3e66b1cfdb03154
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date:   Sun Mar 12 19:54:58 2017 -0300

    Bug 14608: Move country list to an include file
    
    Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
    
    Signed-off-by: Brendan A Gallagher <brendan at bywatersolutions.com>
    (cherry picked from commit 6b626b64944dff0ba0adff99da26e3bbe8eb7544)
    Signed-off-by: Katrin Fischer <katrin.fischer.83 at web.de>

commit f6290fc2026331a9200b8b8aa8e376d1a4d3de56
Author: Mark Tompsett <mtompset at hotmail.com>
Date:   Fri Jan 13 13:33:05 2017 -0500

    Bug 14608: Follow up on labels and search box
    
    This addresses concerns raised in comment #26 and comment #27.
    
    Signed-off-by: Chris Cormack <chrisc at catalyst.net.nz>
    
    Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
    
    Signed-off-by: Brendan A Gallagher <brendan at bywatersolutions.com>
    (cherry picked from commit ffbeae312bb472a58adf33e13b8c3d5f9124f0af)
    Signed-off-by: Katrin Fischer <katrin.fischer.83 at web.de>

commit e762ef9425175d27895ceeb8c7658c18731b4a3d
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date:   Tue Dec 20 22:31:41 2016 +0000

    Bug 14608: Add a reference to Hea at the end of the installer process
    
    Signed-off-by: Mark Tompsett <mtompset at hotmail.com>
    Signed-off-by: Chris Cormack <chrisc at catalyst.net.nz>
    
    Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
    
    Signed-off-by: Brendan A Gallagher <brendan at bywatersolutions.com>
    (cherry picked from commit 384b69462e6005e316680b88de304095a39a318b)
    Signed-off-by: Katrin Fischer <katrin.fischer.83 at web.de>

commit d5e4d2742b73b461373dd5ee35decaca2aebb195
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date:   Tue Dec 20 22:31:25 2016 +0000

    Bug 14608: Add a link from the admin home page
    
    Signed-off-by: Mark Tompsett <mtompset at hotmail.com>
    Signed-off-by: Chris Cormack <chrisc at catalyst.net.nz>
    
    Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
    
    Signed-off-by: Brendan A Gallagher <brendan at bywatersolutions.com>
    (cherry picked from commit 601312c6c80e82837869b4eb2c91686c6a1361b3)
    Signed-off-by: Katrin Fischer <katrin.fischer.83 at web.de>

commit 509999ec150435bd7e31cbdb85bc10c005aef9d4
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date:   Tue Dec 20 22:29:53 2016 +0000

    Bug 14608: Add a page to configure shared statistics
    
    This patch set adds:
    - a reference to Hea at the end of the installation process
    - a link to the new page from the admin home page
    - a new page to easily configure shared statistics
    
    Signed-off-by: Mark Tompsett <mtompset at hotmail.com>
    Signed-off-by: Chris Cormack <chrisc at catalyst.net.nz>
    
    Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
    
    Signed-off-by: Brendan A Gallagher <brendan at bywatersolutions.com>
    (cherry picked from commit 3d46c0c7bb8ce487f85cd0d0233cb7ceffcbbde3)
    Signed-off-by: Katrin Fischer <katrin.fischer.83 at web.de>

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

Summary of changes:
 C4/UsageStats.pm                                   |   28 +-
 Koha.pm                                            |    2 +-
 Koha/Schema/Result/Branch.pm                       |   12 +-
 Koha/Schema/Result/SearchField.pm                  |    8 +-
 admin/usage_statistics.pl                          |   73 +
 installer/data/mysql/kohastructure.sql             |    1 +
 installer/data/mysql/sysprefs.sql                  |    3 +
 installer/data/mysql/updatedatabase.pl             |   22 +
 .../intranet-tmpl/lib/leaflet/images/layers-2x.png |  Bin 0 -> 1259 bytes
 .../intranet-tmpl/lib/leaflet/images/layers.png    |  Bin 0 -> 696 bytes
 .../lib/leaflet/images/marker-icon-2x.png          |  Bin 0 -> 2586 bytes
 .../lib/leaflet/images/marker-icon.png             |  Bin 0 -> 1466 bytes
 .../lib/leaflet/images/marker-shadow.png           |  Bin 0 -> 618 bytes
 koha-tmpl/intranet-tmpl/lib/leaflet/leaflet-src.js |13251 ++++++++++++++++++++
 .../intranet-tmpl/lib/leaflet/leaflet-src.map      |    1 +
 koha-tmpl/intranet-tmpl/lib/leaflet/leaflet.css    |  624 +
 koha-tmpl/intranet-tmpl/lib/leaflet/leaflet.js     |    9 +
 .../prog/en/includes/country-list.inc              |  196 +
 koha-tmpl/intranet-tmpl/prog/en/modules/about.tt   |    3 +
 .../prog/en/modules/admin/admin-home.tt            |    2 +
 .../prog/en/modules/admin/preferences/admin.pref   |   11 +
 .../prog/en/modules/admin/usage_statistics.tt      |  339 +
 .../prog/en/modules/installer/step3.tt             |    4 +
 misc/cronjobs/share_usage_with_koha_community.pl   |    2 +-
 t/db_dependent/UsageStats.t                        |   43 +-
 25 files changed, 14603 insertions(+), 31 deletions(-)
 create mode 100755 admin/usage_statistics.pl
 create mode 100644 koha-tmpl/intranet-tmpl/lib/leaflet/images/layers-2x.png
 create mode 100644 koha-tmpl/intranet-tmpl/lib/leaflet/images/layers.png
 create mode 100644 koha-tmpl/intranet-tmpl/lib/leaflet/images/marker-icon-2x.png
 create mode 100644 koha-tmpl/intranet-tmpl/lib/leaflet/images/marker-icon.png
 create mode 100644 koha-tmpl/intranet-tmpl/lib/leaflet/images/marker-shadow.png
 create mode 100644 koha-tmpl/intranet-tmpl/lib/leaflet/leaflet-src.js
 create mode 100644 koha-tmpl/intranet-tmpl/lib/leaflet/leaflet-src.map
 create mode 100644 koha-tmpl/intranet-tmpl/lib/leaflet/leaflet.css
 create mode 100644 koha-tmpl/intranet-tmpl/lib/leaflet/leaflet.js
 create mode 100644 koha-tmpl/intranet-tmpl/prog/en/includes/country-list.inc
 create mode 100644 koha-tmpl/intranet-tmpl/prog/en/modules/admin/usage_statistics.tt


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list