[koha-commits] main Koha release repository branch master updated. v3.22.00-517-g326b4c0

Git repo owner gitmaster at git.koha-community.org
Tue Feb 16 16:26:10 CET 2016


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  326b4c046e361c79bc40ad29a3f8d0859e161001 (commit)
       via  974cb2b3863ebd96be44a409aa58832aaff2140e (commit)
       via  0acc01923b9dc88352f14637aae85895d7b54cd3 (commit)
       via  b7f6303e3ca147b257b9fff6f21ea73b52dae95c (commit)
       via  50c354e39c6851492637a148e58fda86ae62de5c (commit)
       via  cb143a9a6355bb7d1a636095411a3c2d92b58605 (commit)
       via  cd6e8db177d875cff09aaa173b76a451060bec63 (commit)
       via  4afc8550c6a612f64bb8c9c5781399d0db549fc1 (commit)
       via  7178c7c00931fcfc713f1affede1466f2633909c (commit)
       via  e6feb5b10c3b39111e7a89b8489c04d73be5eb7c (commit)
       via  5901fc5c1253d0fe5aea8011469b5f20cd8b2fb8 (commit)
       via  0f57ecbb37e12710479b50746d35a17635a2b64a (commit)
       via  f347754d522d1e2e7a23df248ff8674f64becd5d (commit)
       via  55445457c9096f47913f241c261d378226b2e072 (commit)
       via  00c89d915b7fd72d47831d69e076e1ace1a7e78f (commit)
      from  f3633586908db81bd5c6406bffaf0db03c1fbd21 (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 326b4c046e361c79bc40ad29a3f8d0859e161001
Author: Kyle M Hall <kyle at bywatersolutions.com>
Date:   Sun Feb 14 12:50:00 2016 +0000

    Bug 9021: DBrev 3.23.000.020
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>

commit 974cb2b3863ebd96be44a409aa58832aaff2140e
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date:   Mon Feb 15 16:26:53 2016 +0000

    Bug 9021: Save the provider even if the sms number is not modified
    
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>

commit 0acc01923b9dc88352f14637aae85895d7b54cd3
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date:   Mon Feb 15 16:26:18 2016 +0000

    Bug 9021: Fix conflict with bug 15446 (type vs _type)
    
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>

commit b7f6303e3ca147b257b9fff6f21ea73b52dae95c
Author: Kyle M Hall <kyle at bywatersolutions.com>
Date:   Thu Feb 11 10:43:40 2016 +0000

    Bug 9021 [QA Followup] - Add additional message to deletion warning if provider is in use.
    
    Signed-off-by: Mark Tompsett <mtompset at hotmail.com>
    
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>

commit 50c354e39c6851492637a148e58fda86ae62de5c
Author: Kyle M Hall <kyle at bywatersolutions.com>
Date:   Thu Feb 11 06:53:15 2016 +0000

    Bug 9021 [QA Followup] - Unit tests
    
    Signed-off-by: Mark Tompsett <mtompset at hotmail.com>
    
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>

commit cb143a9a6355bb7d1a636095411a3c2d92b58605
Author: Kyle M Hall <kyle at bywatersolutions.com>
Date:   Wed Feb 10 10:28:37 2016 +0000

    Bug 9021 [QA Followup] - Add column to deleted borrowers, set null on provider deletion
    
    Signed-off-by: Mark Tompsett <mtompset at hotmail.com>
    
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>

commit cd6e8db177d875cff09aaa173b76a451060bec63
Author: Kyle M Hall <kyle at bywatersolutions.com>
Date:   Wed Feb 10 10:19:00 2016 +0000

    Bug 9021 [QA Followup] - Add feedback to delete button if provider is being used
    
    * Change links to buttons
    * Add warning class to delete button if provider is being used
    
    Signed-off-by: Mark Tompsett <mtompset at hotmail.com>
    
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>

commit 4afc8550c6a612f64bb8c9c5781399d0db549fc1
Author: Kyle M Hall <kyle at bywatersolutions.com>
Date:   Tue Feb 9 15:45:55 2016 +0000

    Bug 9021 [QA Followup] - Switch to Koha::Object(s)
    
    Signed-off-by: Mark Tompsett <mtompset at hotmail.com>
    
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>

commit 7178c7c00931fcfc713f1affede1466f2633909c
Author: Kyle M Hall <kyle at bywatersolutions.com>
Date:   Tue Feb 9 15:23:36 2016 +0000

    Bug 9021 [QA Followup] - Use same color as circ rules editor for row highlighting
    
    Signed-off-by: Mark Tompsett <mtompset at hotmail.com>
    
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>

commit e6feb5b10c3b39111e7a89b8489c04d73be5eb7c
Author: Kyle M Hall <kyle at bywatersolutions.com>
Date:   Tue Feb 9 14:52:45 2016 +0000

    Bug 9021 [QA Followup] - Fix ENGINE, don't create index on FK
    
    Signed-off-by: Mark Tompsett <mtompset at hotmail.com>
    
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>

commit 5901fc5c1253d0fe5aea8011469b5f20cd8b2fb8
Author: Kyle M Hall <kyle at bywatersolutions.com>
Date:   Tue Feb 9 14:47:13 2016 +0000

    Bug 9021 [QA Followup] - Use Modern::Perl
    
    Signed-off-by: Mark Tompsett <mtompset at hotmail.com>
    
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>

commit 0f57ecbb37e12710479b50746d35a17635a2b64a
Author: Kyle M Hall <kyle at bywatersolutions.com>
Date:   Tue Feb 9 14:45:51 2016 +0000

    Bug 9021 [QA Followup] - Use TT plugin instead of passing syspref via script
    
    Signed-off-by: Mark Tompsett <mtompset at hotmail.com>
    
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>

commit f347754d522d1e2e7a23df248ff8674f64becd5d
Author: Mark Tompsett <mtompset at hotmail.com>
Date:   Fri Jan 1 00:30:40 2016 -0500

    Bug 9021: Flag issues
    
    Check in and check out were failing for me.
    Specificly, the $borrower->{flags}->{...} was not accessible as
    a hash, so I put a hash ref check around the code that would fail.
    
    TEST PLAN
    ---------
    1) Attempt a checkout
       -- blows up with "1" not being allowed as a hash ref.
    2) Apply patch
    3) Attempt same checkout again
       -- success
    4) prove -v t/db_dependent/Circulation_dateexpiry.t
       -- this triggers CanBookBeIssued
       -- this should succeed
    5) prove -v t/db_dependent/rollingloans.t
       -- mine skipped the tests, but if configured, it
          should also trigger and succeed.
    6) run koha qa test tools
    
    Signed-off-by: Mark Tompsett <mtompset at hotmail.com>
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
    
    Signed-off-by: Mark Tompsett <mtompset at hotmail.com>
    
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>

commit 55445457c9096f47913f241c261d378226b2e072
Author: Mark Tompsett <mtompset at hotmail.com>
Date:   Thu Dec 31 16:49:31 2015 -0500

    Bug 9021: Schema update
    
    This ensures that the DBIx structure matches the SQL structure changes.
    See comment #48 as to how this was generated.
    Also, I had to modify misc/devel/update_dbix_class_files.pl
    to have an "overwrite_modifications => 1" option to get it to generate.
    This should correct issues raised in comment #45.
    
    Signed-off-by: Mark Tompsett <mtompset at hotmail.com>
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
    
    Signed-off-by: Mark Tompsett <mtompset at hotmail.com>
    
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>

commit 00c89d915b7fd72d47831d69e076e1ace1a7e78f
Author: Kyle M Hall <kyle at bywatersolutions.com>
Date:   Tue Feb 26 09:12:03 2013 -0500

    Bug 9021 - Add SMS via email as an alternative to SMS services via SMS::Send drivers
    
    Nearly all cellular providers allow a person to send an text message to a cellular
    phone by sending an email to phonenumber at provider. We can leverage this capability
    to add the ability for Koha to send sms messages to patrons without the need to
    subscribe to an sms gateway server.
    
    Basic plan:
    1. Add a table sms_providers to the db to tell Koha what service providers are available, and what domain emails should be sent to.
    2. Add borrowers.sms_provider_id to tell Koha which mobile service the patron subscribes to for the number given in smsalertnumber
    3. Modify Koha to send an email rather than using SMS::Send if the driver is set to 'Email'
    
    Test plan:
    0) Get a mobile phone
    1) Apply the patch
    2) Run updatedatabase.pl
    3) Set the value of SMSSendDriver to 'Email'
    4) Go to the admin page, the "Additional parameters" area should now have the link "SMS cellular providers"
    5) On this page, add some providers. Make sure to add the provider for your own cellular phone service.
    
    Here are some examples:
    Sprint   phonenumber at messaging.sprintpcs.com
    Verizon  phonenumber at vtext.com
    T-Mobile phonenumber at tmomail.net
    AT&T     phonenumber at txt.att.net
    
    Only add the domain part in the 'domain' field. So for Verizon, that would be 'vtext.com'
    
    6) Create an account for yourself, add your SMS number, and select your provider from the dropdown box directly below it.
    
    7) Enable SMS messaging for Item check-in and Item checkout
    8) Check out an item to yourself
    9) Run process_message_queue.pl
    10) Wait! You should receive a text message shortly, when I tested it, I received my sms message within the minute.
    
    Signed-off-by: Mark Tompsett <mtompset at hotmail.com>
    
    Signed-off-by: Mark Tompsett <mtompset at hotmail.com>
    
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>

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

Summary of changes:
 C4/Circulation.pm                                  |   18 +--
 C4/Letters.pm                                      |   12 +-
 C4/Members.pm                                      |   13 +-
 Koha/{Borrower.pm => SMS/Provider.pm}              |   23 ++--
 Koha/{Biblios.pm => SMS/Providers.pm}              |   16 ++-
 Koha/Schema/Result/Borrower.pm                     |   32 ++++-
 Koha/Schema/Result/Deletedborrower.pm              |   11 +-
 .../Result/{AudioAlert.pm => SmsProvider.pm}       |   59 ++++++---
 admin/admin-home.pl                                |   20 +--
 admin/{audio_alerts.pl => sms_providers.pl}        |   55 ++++----
 installer/data/mysql/kohastructure.sql             |   22 +++-
 installer/data/mysql/updatedatabase.pl             |   30 +++++
 .../prog/en/modules/admin/admin-home.tt            |    5 +
 .../prog/en/modules/admin/sms_providers.tt         |  133 ++++++++++++++++++++
 .../prog/en/modules/members/memberentrygen.tt      |   13 ++
 .../bootstrap/en/modules/opac-messaging.tt         |   27 +++-
 members/memberentry.pl                             |    6 +
 opac/opac-messaging.pl                             |   17 ++-
 t/db_dependent/Koha/SMS_Providers.t                |   75 +++++++++++
 19 files changed, 489 insertions(+), 98 deletions(-)
 copy Koha/{Borrower.pm => SMS/Provider.pm} (68%)
 copy Koha/{Biblios.pm => SMS/Providers.pm} (81%)
 copy Koha/Schema/Result/{AudioAlert.pm => SmsProvider.pm} (52%)
 copy admin/{audio_alerts.pl => sms_providers.pl} (55%)
 create mode 100644 koha-tmpl/intranet-tmpl/prog/en/modules/admin/sms_providers.tt
 create mode 100644 t/db_dependent/Koha/SMS_Providers.t


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list