chore: use https links (#2075)

This commit is contained in:
Jonas L 2022-08-25 16:25:54 +02:00 committed by GitHub
parent 85f7c6d89b
commit c28c048bf4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
19 changed files with 31 additions and 31 deletions

View File

@ -15,7 +15,7 @@ class Application_Common_FileIO
* @param int $size - the file size, in bytes * @param int $size - the file size, in bytes
* *
* @see https://groups.google.com/d/msg/jplayer/nSM2UmnSKKA/Hu76jDZS4xcJ * @see https://groups.google.com/d/msg/jplayer/nSM2UmnSKKA/Hu76jDZS4xcJ
* @see http://php.net/manual/en/function.readfile.php#86244 * @see https://php.net/manual/en/function.readfile.php#86244
*/ */
public static function smartReadFile($filePath, $size, $mimeType) public static function smartReadFile($filePath, $size, $mimeType)
{ {
@ -69,7 +69,7 @@ class Application_Common_FileIO
// We can have multiple levels of output buffering. Need to // We can have multiple levels of output buffering. Need to
// keep looping until all have been disabled!!! // keep looping until all have been disabled!!!
// http://www.php.net/manual/en/function.ob-end-flush.php // https://www.php.net/manual/en/function.ob-end-flush.php
while (ob_get_level() > 0) { while (ob_get_level() > 0) {
ob_end_flush(); ob_end_flush();
} }

View File

@ -12,12 +12,12 @@ class Application_Common_LocaleHelper
public static function getISO6391LanguageCodes() public static function getISO6391LanguageCodes()
{ {
/* /*
* From: http://www.binarytides.com/php-array-of-iso-639-1-language-codes-and-names/ * From: https://www.binarytides.com/php-array-of-iso-639-1-language-codes-and-names/
* *
* ISO 639-1 Language Codes * ISO 639-1 Language Codes
* References : * References :
* 1. http://en.wikipedia.org/wiki/List_of_ISO_639-1_codes * 1. https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes
* 2. http://blog.xoundboy.com/?p=235 * 2. https://blog.xoundboy.com/?p=235
*/ */
return [ return [
'en' => _('English'), 'en' => _('English'),

View File

@ -2,7 +2,7 @@
class Application_Common_OsPath class Application_Common_OsPath
{ {
// this function is from http://stackoverflow.com/questions/2670299/is-there-a-php-equivalent-function-to-the-python-os-path-normpath // this function is from https://stackoverflow.com/questions/2670299/is-there-a-php-equivalent-function-to-the-python-os-path-normpath
public static function normpath($path) public static function normpath($path)
{ {
if (empty($path)) { if (empty($path)) {
@ -52,7 +52,7 @@ class Application_Common_OsPath
} }
/* Similar to the os.path.join python method /* Similar to the os.path.join python method
* http://stackoverflow.com/a/1782990/276949 */ * https://stackoverflow.com/a/1782990/276949 */
public static function join() public static function join()
{ {
$args = func_get_args(); $args = func_get_args();

View File

@ -65,7 +65,7 @@ $result = $r1 && $r2;
still experiencing issues, read the still experiencing issues, read the
<a href="https://github.com/libretime/libretime/releases">release notes</a>, <a href="https://github.com/libretime/libretime/releases">release notes</a>,
come <a href="https://discourse.libretime.org/">visit our discourse</a> come <a href="https://discourse.libretime.org/">visit our discourse</a>
or, check <a href="http://www.libretime.org/">the website and main docs</a>. or, check <a href="https://www.libretime.org/">the website and main docs</a>.
</p> </p>
<?php <?php
} else { } else {

View File

@ -25,23 +25,23 @@ define('LIBRETIME_CONFIG_FILEPATH', getenv('LIBRETIME_CONFIG_FILEPATH') ?: LIBRE
// Legacy constants // Legacy constants
define('PRODUCT_NAME', 'LibreTime'); define('PRODUCT_NAME', 'LibreTime');
define('PRODUCT_SITE_URL', 'http://libretime.org'); define('PRODUCT_SITE_URL', 'https://libretime.org');
define('SAAS_PRODUCT_BRANDING_NAME', 'LibreTime'); define('SAAS_PRODUCT_BRANDING_NAME', 'LibreTime');
define('SAAS_LOGIN_REFERRER', 'http://libretime.org'); define('SAAS_LOGIN_REFERRER', 'https://libretime.org');
define('COMPANY_NAME', 'LibreTime Community'); define('COMPANY_NAME', 'LibreTime Community');
define('COMPANY_SUFFIX', ''); define('COMPANY_SUFFIX', '');
define('COMPANY_SITE', 'libretime.org'); define('COMPANY_SITE', 'libretime.org');
define('COMPANY_SITE_URL', 'http://libretime.org'); define('COMPANY_SITE_URL', 'https://libretime.org');
define('SUPPORT_ADDRESS', 'https://discourse.libretime.org/'); define('SUPPORT_ADDRESS', 'https://discourse.libretime.org/');
define('HELP_URL', 'https://discourse.libretime.org/'); define('HELP_URL', 'https://discourse.libretime.org/');
define('WHOS_USING_URL', 'https://github.com/orgs/libretime/people'); define('WHOS_USING_URL', 'https://github.com/orgs/libretime/people');
define('TERMS_AND_CONDITIONS_URL', 'https://github.com/libretime/libretime/blob/main/README.md'); define('TERMS_AND_CONDITIONS_URL', 'https://github.com/libretime/libretime/blob/main/README.md');
define('PRIVACY_POLICY_URL', 'https://github.com/libretime/organization/blob/main/CODE_OF_CONDUCT.md'); define('PRIVACY_POLICY_URL', 'https://github.com/libretime/organization/blob/main/CODE_OF_CONDUCT.md');
define('USER_MANUAL_URL', 'http://libretime.org/docs'); define('USER_MANUAL_URL', 'https://libretime.org/docs');
define('ABOUT_AIRTIME_URL', 'http://libretime.org'); define('ABOUT_AIRTIME_URL', 'https://libretime.org');
define('LIBRETIME_CONTRIBUTE_URL', 'https://libretime.org/contribute'); define('LIBRETIME_CONTRIBUTE_URL', 'https://libretime.org/contribute');
define('LIBRETIME_DISCOURSE_URL', 'https://discourse.libretime.org'); define('LIBRETIME_DISCOURSE_URL', 'https://discourse.libretime.org');
define('UI_REVAMP_EMBED_URL', 'https://www.youtube.com/embed/nqpNnCKGluY'); define('UI_REVAMP_EMBED_URL', 'https://www.youtube.com/embed/nqpNnCKGluY');
@ -50,7 +50,7 @@ define('LIBRETIME_UPDATE_FEED', 'https://github.com/libretime/libretime/releases
define('LIBRETIME_EMAIL_FROM', 'noreply@libretime.org'); define('LIBRETIME_EMAIL_FROM', 'noreply@libretime.org');
define('LICENSE_VERSION', 'GNU AGPL v.3'); define('LICENSE_VERSION', 'GNU AGPL v.3');
define('LICENSE_URL', 'http://www.gnu.org/licenses/agpl-3.0-standalone.html'); define('LICENSE_URL', 'https://www.gnu.org/licenses/agpl-3.0-standalone.html');
define('AIRTIME_COPYRIGHT_DATE', '2010-2015'); define('AIRTIME_COPYRIGHT_DATE', '2010-2015');
define('AIRTIME_REST_VERSION', '1.1'); define('AIRTIME_REST_VERSION', '1.1');
@ -127,7 +127,7 @@ define('UI_PLAYLISTCONTROLLER_OBJ_SESSNAME', 'PLAYLISTCONTROLLER_OBJ');
define('UI_BLOCK_SESSNAME', 'BLOCK');*/ define('UI_BLOCK_SESSNAME', 'BLOCK');*/
// TuneIn integration // TuneIn integration
define('TUNEIN_API_URL', 'http://air.radiotime.com/Playing.ashx'); define('TUNEIN_API_URL', 'https://air.radiotime.com/Playing.ashx');
// Celery // Celery
define('CELERY_PENDING_STATUS', 'PENDING'); define('CELERY_PENDING_STATUS', 'PENDING');

View File

@ -459,7 +459,7 @@ final class LocaleController extends Zend_Controller_Action
'Disabled' => _('Disabled'), 'Disabled' => _('Disabled'),
'Cancel upload' => _('Cancel upload'), 'Cancel upload' => _('Cancel upload'),
'Type' => _('Type'), 'Type' => _('Type'),
"Autoloading playlists' contents are added to shows one hour before the show airs. <a target='_blank' href='http://libretime.org/docs/playlists'>More information</a>" => _("Autoloading playlists' contents are added to shows one hour before the show airs. <a target='_blank' href='http://libretime.org/docs/playlists'>More information</a>"), "Autoloading playlists' contents are added to shows one hour before the show airs. <a target='_blank' href='https://libretime.org/docs/playlists'>More information</a>" => _("Autoloading playlists' contents are added to shows one hour before the show airs. <a target='_blank' href='https://libretime.org/docs/playlists'>More information</a>"),
'Podcast settings saved' => _('Podcast settings saved'), 'Podcast settings saved' => _('Podcast settings saved'),
'Are you sure you want to delete this user?' => _('Are you sure you want to delete this user?'), 'Are you sure you want to delete this user?' => _('Are you sure you want to delete this user?'),
"Can't delete yourself!" => _("Can't delete yourself!"), "Can't delete yourself!" => _("Can't delete yourself!"),

View File

@ -263,7 +263,7 @@ class Zend_Controller_Plugin_Acl extends Zend_Controller_Plugin_Abstract
private function verifyAPIKey() private function verifyAPIKey()
{ {
// The API key is passed in via HTTP "basic authentication": // The API key is passed in via HTTP "basic authentication":
// http://en.wikipedia.org/wiki/Basic_access_authentication // https://en.wikipedia.org/wiki/Basic_access_authentication
$CC_CONFIG = Config::getConfig(); $CC_CONFIG = Config::getConfig();
// Decode the API key that was passed to us in the HTTP request. // Decode the API key that was passed to us in the HTTP request.

View File

@ -25,7 +25,7 @@ class Airtime_Zend_Log extends Zend_Log
/** /**
* Error Handler will convert error into log message, and then call the original error handler. * Error Handler will convert error into log message, and then call the original error handler.
* *
* @see http://www.php.net/manual/en/function.set-error-handler.php Custom error handler * @see https://www.php.net/manual/en/function.set-error-handler.php Custom error handler
* *
* @param int $errno * @param int $errno
* @param string $errstr * @param string $errstr
@ -66,7 +66,7 @@ class Airtime_Zend_Log extends Zend_Log
* E_DEPRECATED, E_STRICT, E_USER_DEPRECATED => DEBUG * E_DEPRECATED, E_STRICT, E_USER_DEPRECATED => DEBUG
* (unknown/other) => INFO * (unknown/other) => INFO
* *
* @see http://www.php.net/manual/en/function.set-error-handler.php Custom error handler * @see https://www.php.net/manual/en/function.set-error-handler.php Custom error handler
* *
* @return Zend_Log * @return Zend_Log
*/ */

View File

@ -2,7 +2,7 @@
/** /**
* @copyright 2010 Sourcefabric O.P.S. * @copyright 2010 Sourcefabric O.P.S.
* @license http://www.gnu.org/licenses/gpl.txt * @license https://www.gnu.org/licenses/gpl.txt
*/ */
class Application_Model_Block implements Application_Model_LibraryEditable class Application_Model_Block implements Application_Model_LibraryEditable
{ {

View File

@ -2,7 +2,7 @@
/** /**
* @copyright 2010 Sourcefabric O.P.S. * @copyright 2010 Sourcefabric O.P.S.
* @license http://www.gnu.org/licenses/gpl.txt * @license https://www.gnu.org/licenses/gpl.txt
*/ */
class Application_Model_Playlist implements Application_Model_LibraryEditable class Application_Model_Playlist implements Application_Model_LibraryEditable
{ {

View File

@ -117,7 +117,7 @@ class Application_Model_Preference
* Given a PDO connection, lock the cc_pref table for the current transaction. * Given a PDO connection, lock the cc_pref table for the current transaction.
* *
* Creates a table level lock, which defaults to ACCESS EXCLUSIVE mode; * Creates a table level lock, which defaults to ACCESS EXCLUSIVE mode;
* see http://www.postgresql.org/docs/9.1/static/explicit-locking.html * see https://www.postgresql.org/docs/9.1/static/explicit-locking.html
* *
* @param PDO $con * @param PDO $con
*/ */

View File

@ -29,7 +29,7 @@ class Application_Model_ServiceRegister
// Need to convert ipv6 to ipv4 since Monit server does not appear // Need to convert ipv6 to ipv4 since Monit server does not appear
// to allow access via an ipv6 address. // to allow access via an ipv6 address.
// http://[::1]:2812 does not respond. // http://[::1]:2812 does not respond.
// Bug: http://savannah.nongnu.org/bugs/?27608 // Bug: https://savannah.nongnu.org/bugs/?27608
if ($p_ipAddress == '::1') { if ($p_ipAddress == '::1') {
$p_ipAddress = '127.0.0.1'; $p_ipAddress = '127.0.0.1';
} }

View File

@ -4,7 +4,7 @@
* Application_Model_StoredFile class. * Application_Model_StoredFile class.
* *
* @copyright 2010 Sourcefabric O.P.S. * @copyright 2010 Sourcefabric O.P.S.
* @license http://www.gnu.org/licenses/gpl.txt * @license https://www.gnu.org/licenses/gpl.txt
* *
* @see MetaData * @see MetaData
*/ */
@ -521,7 +521,7 @@ SQL;
/** /**
* Sometimes we want a relative URL and not a full URL. See bug * Sometimes we want a relative URL and not a full URL. See bug
* http://dev.sourcefabric.org/browse/CC-2403. * https://dev.sourcefabric.org/browse/CC-2403.
* *
* @param mixed $baseUrl * @param mixed $baseUrl
*/ */

View File

@ -8,7 +8,7 @@
* (allow adding users to groups or groups to groups) * (allow adding users to groups or groups to groups)
* *
* @copyright 2010 Sourcefabric O.P.S. * @copyright 2010 Sourcefabric O.P.S.
* @license http://www.gnu.org/licenses/gpl.txt * @license https://www.gnu.org/licenses/gpl.txt
*/ */
class Application_Model_Subjects class Application_Model_Subjects
{ {

View File

@ -344,7 +344,7 @@ class Application_Model_Webstream implements Application_Model_LibraryEditable
* 0 => "HTTP/1.1 302 Moved Temporarily", * 0 => "HTTP/1.1 302 Moved Temporarily",
* 1 => "X-Powered-By: Servlet/3.0 JSP/2.2 (GlassFish Server Open Source Edition 3.1.1 Java/Sun Microsystems Inc./1.6)", * 1 => "X-Powered-By: Servlet/3.0 JSP/2.2 (GlassFish Server Open Source Edition 3.1.1 Java/Sun Microsystems Inc./1.6)",
* 2 => "Server: GlassFish Server Open Source Edition 3.1.1", * 2 => "Server: GlassFish Server Open Source Edition 3.1.1",
* 3 => "Location: http://3043.live.streamtheworld.com:80/SAM04AAC89_SC", * 3 => "Location: https://3043.live.streamtheworld.com:80/SAM04AAC89_SC",
* 4 => "Content-Type: text/html;charset=ISO-8859-1", * 4 => "Content-Type: text/html;charset=ISO-8859-1",
* 5 => "Content-Language: en-US", * 5 => "Content-Language: en-US",
* 6 => "Content-Length: 202", * 6 => "Content-Length: 202",

View File

@ -289,7 +289,7 @@ class Rest_ShowImageController extends Zend_Rest_Controller
return self::delTree($importedStorageDirectory); return self::delTree($importedStorageDirectory);
} }
// from a note @ http://php.net/manual/en/function.rmdir.php // from a note @ https://php.net/manual/en/function.rmdir.php
private static function delTree($dir) private static function delTree($dir)
{ {
$files = array_diff(scandir($dir), ['.', '..']); $files = array_diff(scandir($dir), ['.', '..']);

View File

@ -53,7 +53,7 @@ class RestAuth
private static function verifyAPIKey($action) private static function verifyAPIKey($action)
{ {
// The API key is passed in via HTTP "basic authentication": // The API key is passed in via HTTP "basic authentication":
// http://en.wikipedia.org/wiki/Basic_access_authentication // https://en.wikipedia.org/wiki/Basic_access_authentication
$CC_CONFIG = Config::getConfig(); $CC_CONFIG = Config::getConfig();
// Decode the API key that was passed to us in the HTTP request. // Decode the API key that was passed to us in the HTTP request.

View File

@ -496,7 +496,7 @@ class Application_Service_PodcastService
$enclosure->addAttribute('type', $publishedFile->getDbMime()); $enclosure->addAttribute('type', $publishedFile->getDbMime());
// itunes:subtitle // itunes:subtitle
// From http://www.apple.com/ca/itunes/podcasts/specs.html#subtitle : // From https://www.apple.com/ca/itunes/podcasts/specs.html#subtitle :
// 'The contents of the <itunes:subtitle> tag are displayed in the Description column in iTunes.' // 'The contents of the <itunes:subtitle> tag are displayed in the Description column in iTunes.'
// self::addEscapedChild($item, "xmlns:itunes:subtitle", $publishedFile->getDbTrackTitle()); // self::addEscapedChild($item, "xmlns:itunes:subtitle", $publishedFile->getDbTrackTitle());
self::addEscapedChild($item, 'xmlns:itunes:subtitle', $publishedFile->getDbDescription()); self::addEscapedChild($item, 'xmlns:itunes:subtitle', $publishedFile->getDbDescription());

View File

@ -4,7 +4,7 @@ setup(
name="libretime-shared", name="libretime-shared",
version="1.0.0", version="1.0.0",
description="LibreTime Shared", description="LibreTime Shared",
url="http://github.com/libretime/libretime", url="https://github.com/libretime/libretime",
author="LibreTime Contributors", author="LibreTime Contributors",
license="AGPLv3", license="AGPLv3",
packages=find_packages(exclude=["*tests*", "*fixtures*"]), packages=find_packages(exclude=["*tests*", "*fixtures*"]),