Bugzilla – Attachment 183329 Details for
Bug 40160
Use HTTPS for links to community websites
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 40160: Use HTTPS for links to community websites
Bug-40160-Use-HTTPS-for-links-to-community-website.patch (text/plain), 18.49 KB, created by
Owen Leonard
on 2025-06-18 12:45:42 UTC
(
hide
)
Description:
Bug 40160: Use HTTPS for links to community websites
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2025-06-18 12:45:42 UTC
Size:
18.49 KB
patch
obsolete
>From c49d2f8a2562585ee4c57b52219b145dd364eb4b Mon Sep 17 00:00:00 2001 >From: Fridolin Somers <fridolin.somers@biblibre.com> >Date: Wed, 18 Jun 2025 10:50:43 +0200 >Subject: [PATCH] Bug 40160: Use HTTPS for links to community websites > >Some web-browsers now only allow HTTPS, we should change links in >templates with SSL : >https://schema.koha-community.org, https://wiki.koha-community.org ... > >Test plan : >Just look patch to check http > https > >Signed-off-by: Owen Leonard <oleonard@myacpl.org> >--- > installer/data/mysql/en/optional/sample_news.yml | 12 ++++++------ > installer/data/mysql/mandatory/sysprefs.sql | 2 +- > .../prog/en/includes/guided-reports-view.inc | 6 +++--- > .../en/modules/admin/preferences/acquisitions.pref | 2 +- > .../prog/en/modules/admin/preferences/opac.pref | 10 +++++----- > .../prog/en/modules/admin/preferences/patrons.pref | 10 +++++----- > koha-tmpl/intranet-tmpl/prog/en/modules/auth.tt | 2 +- > .../prog/en/modules/reports/reports-home.tt | 6 +++--- > .../opac-tmpl/bootstrap/en/includes/opac-bottom.inc | 2 +- > .../opac-tmpl/bootstrap/en/modules/opac-browser.tt | 2 +- > 10 files changed, 27 insertions(+), 27 deletions(-) > >diff --git a/installer/data/mysql/en/optional/sample_news.yml b/installer/data/mysql/en/optional/sample_news.yml >index 988d927005d..39432d9d7db 100644 >--- a/installer/data/mysql/en/optional/sample_news.yml >+++ b/installer/data/mysql/en/optional/sample_news.yml >@@ -80,12 +80,12 @@ tables: > content: > - "Now that you've installed Koha, what's next? Here are some suggestions:" > - "<ul>" >- - "<li><a href=\"http://koha-community.org/documentation/\">Read Koha Documentation</a></li>" >- - "<li><a href=\"http://wiki.koha-community.org\">Read/Write to the Koha Wiki</a></li>" >- - "<li><a href=\"http://koha-community.org/support/\">Read and Contribute to Discussions</a></li>" >- - "<li><a href=\"http://bugs.koha-community.org\">Report Koha Bugs</a></li>" >- - "<li><a href=\"http://wiki.koha-community.org/wiki/Version_Control_Using_Git\">Submit Patches to Koha using Git (Version Control System)</a></li>" >- - "<li><a href=\"http://koha-community.org/support/\">Chat with Koha users and developers</a></li>" >+ - "<li><a href=\"https://koha-community.org/documentation/\">Read Koha Documentation</a></li>" >+ - "<li><a href=\"https://wiki.koha-community.org\">Read/Write to the Koha Wiki</a></li>" >+ - "<li><a href=\"https://koha-community.org/support/\">Read and Contribute to Discussions</a></li>" >+ - "<li><a href=\"https://bugs.koha-community.org\">Report Koha Bugs</a></li>" >+ - "<li><a href=\"https://wiki.koha-community.org/wiki/Version_Control_Using_Git\">Submit Patches to Koha using Git (Version Control System)</a></li>" >+ - "<li><a href=\"https://koha-community.org/support/\">Chat with Koha users and developers</a></li>" > - "</ul>" > - "" > lang: "default" >diff --git a/installer/data/mysql/mandatory/sysprefs.sql b/installer/data/mysql/mandatory/sysprefs.sql >index 09b8afd6fd8..53d9095bf4a 100644 >--- a/installer/data/mysql/mandatory/sysprefs.sql >+++ b/installer/data/mysql/mandatory/sysprefs.sql >@@ -507,7 +507,7 @@ INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` > ('OPACFineNoRenewalsIncludeCredits','1',NULL,'If enabled the value specified in OPACFineNoRenewals should include any unapplied account credits in the calculation','YesNo'), > ('OPACFinesTab','1','','If OFF the patron fines tab in the OPAC is disabled.','YesNo'), > ('OPACFRBRizeEditions','0','','If ON, the OPAC will query one or more ISBN web services for associated ISBNs and display an Editions tab on the details pages','YesNo'), >-('OpacHiddenItems','','','This syspref allows to define custom rules for hiding specific items at the OPAC. See http://wiki.koha-community.org/wiki/OpacHiddenItems for more information.','Textarea'), >+('OpacHiddenItems','','','This syspref allows to define custom rules for hiding specific items at the OPAC. See https://wiki.koha-community.org/wiki/OpacHiddenItems for more information.','Textarea'), > ('OpacHiddenItemsExceptions','',NULL,'List of borrower categories, separated by comma, that can see items otherwise hidden by OpacHiddenItems','Textarea'), > ('OpacHiddenItemsHidesRecord','1','','Hide biblio record when all its items are hidden because of OpacHiddenItems','YesNo'), > ('OpacHighlightedWords','1','','If Set, then queried words are higlighted in OPAC','YesNo'), >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/guided-reports-view.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/guided-reports-view.inc >index 4461581ba12..59e416f7b86 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/guided-reports-view.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/guided-reports-view.inc >@@ -10,12 +10,12 @@ > </ul> > <h5>Useful resources</h5> > <ul> >- <li><a href="http://wiki.koha-community.org/wiki/SQL_Reports_Library" target="blank">Koha report library</a></li> >+ <li><a href="https://wiki.koha-community.org/wiki/SQL_Reports_Library" target="blank">Koha report library</a></li> > [% SET koha_version = Koha.Version %] > [% IF koha_version.development %] >- <li><a href="http://schema.koha-community.org/main" target="blank">Koha database schema</a></li> >+ <li><a href="https://schema.koha-community.org/main" target="blank">Koha database schema</a></li> > [% ELSE %] >- <li><a href="http://schema.koha-community.org/[% koha_version.major | uri %]_[% koha_version.minor | uri %]" target="blank">Koha database schema</a></li> >+ <li><a href="https://schema.koha-community.org/[% koha_version.major | uri %]_[% koha_version.minor | uri %]" target="blank">Koha database schema</a></li> > [% END %] > </ul> > </div> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/acquisitions.pref b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/acquisitions.pref >index 523c30b896b..7f1a8860956 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/acquisitions.pref >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/acquisitions.pref >@@ -9,7 +9,7 @@ Acquisitions: > cataloguing: cataloging the record. > - This is only the default behavior, and can be changed per-basket. > - >- - "The following <a href='http://schema.koha-community.org/__VERSION__/tables/items.html' target='blank'>database columns</a> should be unique in an item:" >+ - "The following <a href='https://schema.koha-community.org/__VERSION__/tables/items.html' target='blank'>database columns</a> should be unique in an item:" > - pref: UniqueItemFields > type: modalselect > source: items >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref >index 5441fd7e118..f15aad0b931 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref >@@ -668,7 +668,7 @@ OPAC: > type: textarea > syntax: text/x-yaml > class: code >- - Define custom rules to hide specific items from search and view on the OPAC. How to write these rules is documented on the <a href="http://wiki.koha-community.org/wiki/OpacHiddenItems" target="_blank">Koha wiki</a>. >+ - Define custom rules to hide specific items from search and view on the OPAC. How to write these rules is documented on the <a href="https://wiki.koha-community.org/wiki/OpacHiddenItems" target="_blank">Koha wiki</a>. > - > - 'List of patron categories, that can see items otherwise hidden by <a href="/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=OpacHiddenItems">OpacHiddenItems</a>:' > - pref: OpacHiddenItemsExceptions >@@ -851,19 +851,19 @@ OPAC: > - "days after account creation." > - "<br><strong>NOTE:</strong> This system preference requires the <code>misc/cronjobs/cleanup_database.pl</code> cronjob. Ask your system administrator to schedule it.<br>No patrons will be deleted if you set the pref to zero or make it empty." > - >- - "The following <a href='http://schema.koha-community.org/__VERSION__/tables/borrowers.html' target='blank'>database columns</a> must be filled in on the patron modification screen:" >+ - "The following <a href='https://schema.koha-community.org/__VERSION__/tables/borrowers.html' target='blank'>database columns</a> must be filled in on the patron modification screen:" > - pref: PatronSelfModificationMandatoryField > type: modalselect > source: borrowers > exclusions: password|cardnumber|dateexpiry|categorycode|sort1|sort2|opacnote|borrowernotes|gonenoaddress|lost|flags > - >- - "The following <a href='http://schema.koha-community.org/__VERSION__/tables/borrowers.html' target='blank'>database columns</a> must be filled in on the patron entry screen:" >+ - "The following <a href='https://schema.koha-community.org/__VERSION__/tables/borrowers.html' target='blank'>database columns</a> must be filled in on the patron entry screen:" > - pref: PatronSelfRegistrationBorrowerMandatoryField > type: modalselect > source: borrowers > exclusions: sort1|sort2|opacnote|borrowernotes|gonenoaddress|lost|flags > - >- - "The following <a href='http://schema.koha-community.org/__VERSION__/tables/borrowers.html' target='blank'>database columns</a> will not appear on the patron self-registration screen:" >+ - "The following <a href='https://schema.koha-community.org/__VERSION__/tables/borrowers.html' target='blank'>database columns</a> will not appear on the patron self-registration screen:" > - pref: PatronSelfRegistrationBorrowerUnwantedField > type: modalselect > source: borrowers >@@ -871,7 +871,7 @@ OPAC: > inclusions: categorycode|dateexpiry > - '<br /> NOTE: preferred_name will be set to firstname if not included in the form.' > - >- - "The following <a href='http://schema.koha-community.org/__VERSION__/tables/borrowers.html' target='blank'>database columns</a> will not appear on the patron self-modification screen:" >+ - "The following <a href='https://schema.koha-community.org/__VERSION__/tables/borrowers.html' target='blank'>database columns</a> will not appear on the patron self-modification screen:" > - pref: PatronSelfModificationBorrowerUnwantedField > type: modalselect > source: borrowers >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/patrons.pref b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/patrons.pref >index 90e041b2184..11c16a29402 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/patrons.pref >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/patrons.pref >@@ -211,7 +211,7 @@ Patrons: > - pref: EmailFieldPrecedence > class: multi > - '<br><strong>NOTE:</strong> All patron fields can be used, but to work correctly they must contain a valid email address or an empty string.' >- - "Valid options are the <a href='http://schema.koha-community.org/__VERSION__/tables/borrowers.html' target='blank'>database columns</a> of the borrowers table, separated by | (pipe)." >+ - "Valid options are the <a href='https://schema.koha-community.org/__VERSION__/tables/borrowers.html' target='blank'>database columns</a> of the borrowers table, separated by | (pipe)." > - "Example: email|emailpro|B_email" > - > - "When <a href='/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=EmailFieldPrimary'>EmailFieldPrimary</a> is set to '<strong>selected addresses</strong>', send email to all valid email addresses in the selected fields:" >@@ -274,14 +274,14 @@ Patrons: > cron: (Deprecated) according to --send-notices cron switch > Patron forms: > - >- - "The following <a href='http://schema.koha-community.org/__VERSION__/tables/borrowers.html' target='blank'>database columns</a> must be filled in on the patron entry screen:" >+ - "The following <a href='https://schema.koha-community.org/__VERSION__/tables/borrowers.html' target='blank'>database columns</a> must be filled in on the patron entry screen:" > - pref: BorrowerMandatoryField > type: modalselect > source: borrowers > exclusions: flags > - '<strong>NOTE:</strong> If <a href="/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=autoMemberNum">autoMemberNum</a> is enabled, the system preference <a href="/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=BorrowerMandatoryField">BorrowerMandatoryField</a> must not contain the field <code>cardnumber</code>.' > - >- - "The following <a href='http://schema.koha-community.org/__VERSION__/tables/borrowers.html' target='blank'>database columns</a> will not appear on the patron entry screen:" >+ - "The following <a href='https://schema.koha-community.org/__VERSION__/tables/borrowers.html' target='blank'>database columns</a> will not appear on the patron entry screen:" > - pref: BorrowerUnwantedField > type: modalselect > source: borrowers >@@ -311,7 +311,7 @@ Patrons: > 0: "Don't" > - store and display surnames in upper case. > - >- - "The following <a href='http://schema.koha-community.org/__VERSION__/tables/borrowers.html' target='blank'>database columns</a>:" >+ - "The following <a href='https://schema.koha-community.org/__VERSION__/tables/borrowers.html' target='blank'>database columns</a>:" > - pref: PatronQuickAddFields > type: modalselect > source: borrowers >@@ -337,7 +337,7 @@ Patrons: > messaging: "Patron messaging preferences" > - . > - >- - "The following <a href='http://schema.koha-community.org/__VERSION__/tables/borrowers.html' target='blank'>database columns</a>:" >+ - "The following <a href='https://schema.koha-community.org/__VERSION__/tables/borrowers.html' target='blank'>database columns</a>:" > - pref: PatronDuplicateMatchingAddFields > type: modalselect > source: borrowers >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/auth.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/auth.tt >index e46d7ad41a4..4a0a2109049 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/auth.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/auth.tt >@@ -59,7 +59,7 @@ > [% INCLUDE 'messages.inc' %] > > <div id="login"> >- <h1><a href="http://koha-community.org">Koha</a></h1> >+ <h1><a href="https://koha-community.org">Koha</a></h1> > > [% SET StaffLoginInstructions = AdditionalContents.get( location => "StaffLoginInstructions", lang => lang ) %] > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/reports-home.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/reports-home.tt >index 2d8517da1c0..b3430ea810b 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/reports-home.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/reports-home.tt >@@ -109,12 +109,12 @@ > <li><a href="/cgi-bin/koha/reports/issues_avg_stats.pl">Average loan time</a></li> > [% SET koha_version = Koha.Version %] > [% IF koha_version.development %] >- <li><a href="http://schema.koha-community.org/main" target="blank">Koha database schema</a></li> >+ <li><a href="https://schema.koha-community.org/main" target="blank">Koha database schema</a></li> > [% ELSE %] >- <li><a href="http://schema.koha-community.org/[% koha_version.major | uri %]_[% koha_version.minor | uri %]" target="blank">Koha database schema</a></li> >+ <li><a href="https://schema.koha-community.org/[% koha_version.major | uri %]_[% koha_version.minor | uri %]" target="blank">Koha database schema</a></li> > [% END %] > >- <li><a href="http://wiki.koha-community.org/wiki/SQL_Reports_Library" target="blank">Koha reports library</a></li> >+ <li><a href="https://wiki.koha-community.org/wiki/SQL_Reports_Library" target="blank">Koha reports library</a></li> > </ul> > </div> > [% IF ( Koha.Preference('Mana') == 2 ) %] >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-bottom.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-bottom.inc >index 065c89c4710..a7ba62716c3 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-bottom.inc >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-bottom.inc >@@ -49,7 +49,7 @@ > </div> > [% IF OpacKohaUrl %] > <div class="navbar-nav"> >- <a id="koha_url" class="nav-link koha_url" href="http://koha-community.org"> >+ <a id="koha_url" class="nav-link koha_url" href="https://koha-community.org"> > <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"> > <path > fill="currentColor" >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-browser.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-browser.tt >index f6e6e546ac3..a7ecba7be21 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-browser.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-browser.tt >@@ -85,7 +85,7 @@ > <!-- prettier-ignore-end --> > [% ELSE %] > <div class="warning" >- >The browser table is empty. this feature is not fully set-up. See the <a href="http://wiki.koha-community.org/wiki/Opac_browse_feature">Koha Wiki</a> for more information on what it does and how to configure >+ >The browser table is empty. this feature is not fully set-up. See the <a href="https://wiki.koha-community.org/wiki/Opac_browse_feature">Koha Wiki</a> for more information on what it does and how to configure > it.</div > > > [% END # / IF have_hierarchy %] >-- >2.39.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 40160
:
183326
| 183329