chore: use https links (#2075)
This commit is contained in:
parent
85f7c6d89b
commit
c28c048bf4
|
@ -15,7 +15,7 @@ class Application_Common_FileIO
|
|||
* @param int $size - the file size, in bytes
|
||||
*
|
||||
* @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)
|
||||
{
|
||||
|
@ -69,7 +69,7 @@ class Application_Common_FileIO
|
|||
|
||||
// We can have multiple levels of output buffering. Need to
|
||||
// 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) {
|
||||
ob_end_flush();
|
||||
}
|
||||
|
|
|
@ -12,12 +12,12 @@ class Application_Common_LocaleHelper
|
|||
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
|
||||
* References :
|
||||
* 1. http://en.wikipedia.org/wiki/List_of_ISO_639-1_codes
|
||||
* 2. http://blog.xoundboy.com/?p=235
|
||||
* 1. https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes
|
||||
* 2. https://blog.xoundboy.com/?p=235
|
||||
*/
|
||||
return [
|
||||
'en' => _('English'),
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
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)
|
||||
{
|
||||
if (empty($path)) {
|
||||
|
@ -52,7 +52,7 @@ class Application_Common_OsPath
|
|||
}
|
||||
|
||||
/* Similar to the os.path.join python method
|
||||
* http://stackoverflow.com/a/1782990/276949 */
|
||||
* https://stackoverflow.com/a/1782990/276949 */
|
||||
public static function join()
|
||||
{
|
||||
$args = func_get_args();
|
||||
|
|
|
@ -65,7 +65,7 @@ $result = $r1 && $r2;
|
|||
still experiencing issues, read the
|
||||
<a href="https://github.com/libretime/libretime/releases">release notes</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>
|
||||
<?php
|
||||
} else {
|
||||
|
|
|
@ -25,23 +25,23 @@ define('LIBRETIME_CONFIG_FILEPATH', getenv('LIBRETIME_CONFIG_FILEPATH') ?: LIBRE
|
|||
|
||||
// Legacy constants
|
||||
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_LOGIN_REFERRER', 'http://libretime.org');
|
||||
define('SAAS_LOGIN_REFERRER', 'https://libretime.org');
|
||||
|
||||
define('COMPANY_NAME', 'LibreTime Community');
|
||||
define('COMPANY_SUFFIX', '');
|
||||
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('HELP_URL', 'https://discourse.libretime.org/');
|
||||
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('PRIVACY_POLICY_URL', 'https://github.com/libretime/organization/blob/main/CODE_OF_CONDUCT.md');
|
||||
define('USER_MANUAL_URL', 'http://libretime.org/docs');
|
||||
define('ABOUT_AIRTIME_URL', 'http://libretime.org');
|
||||
define('USER_MANUAL_URL', 'https://libretime.org/docs');
|
||||
define('ABOUT_AIRTIME_URL', 'https://libretime.org');
|
||||
define('LIBRETIME_CONTRIBUTE_URL', 'https://libretime.org/contribute');
|
||||
define('LIBRETIME_DISCOURSE_URL', 'https://discourse.libretime.org');
|
||||
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('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_REST_VERSION', '1.1');
|
||||
|
@ -127,7 +127,7 @@ define('UI_PLAYLISTCONTROLLER_OBJ_SESSNAME', 'PLAYLISTCONTROLLER_OBJ');
|
|||
define('UI_BLOCK_SESSNAME', 'BLOCK');*/
|
||||
|
||||
// TuneIn integration
|
||||
define('TUNEIN_API_URL', 'http://air.radiotime.com/Playing.ashx');
|
||||
define('TUNEIN_API_URL', 'https://air.radiotime.com/Playing.ashx');
|
||||
|
||||
// Celery
|
||||
define('CELERY_PENDING_STATUS', 'PENDING');
|
||||
|
|
|
@ -459,7 +459,7 @@ final class LocaleController extends Zend_Controller_Action
|
|||
'Disabled' => _('Disabled'),
|
||||
'Cancel upload' => _('Cancel upload'),
|
||||
'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'),
|
||||
'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!"),
|
||||
|
|
|
@ -263,7 +263,7 @@ class Zend_Controller_Plugin_Acl extends Zend_Controller_Plugin_Abstract
|
|||
private function verifyAPIKey()
|
||||
{
|
||||
// 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();
|
||||
|
||||
// Decode the API key that was passed to us in the HTTP request.
|
||||
|
|
|
@ -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.
|
||||
*
|
||||
* @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 string $errstr
|
||||
|
@ -66,7 +66,7 @@ class Airtime_Zend_Log extends Zend_Log
|
|||
* E_DEPRECATED, E_STRICT, E_USER_DEPRECATED => DEBUG
|
||||
* (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
|
||||
*/
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
/**
|
||||
* @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
|
||||
{
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
/**
|
||||
* @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
|
||||
{
|
||||
|
|
|
@ -117,7 +117,7 @@ class Application_Model_Preference
|
|||
* Given a PDO connection, lock the cc_pref table for the current transaction.
|
||||
*
|
||||
* 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
|
||||
*/
|
||||
|
|
|
@ -29,7 +29,7 @@ class Application_Model_ServiceRegister
|
|||
// Need to convert ipv6 to ipv4 since Monit server does not appear
|
||||
// to allow access via an ipv6 address.
|
||||
// http://[::1]:2812 does not respond.
|
||||
// Bug: http://savannah.nongnu.org/bugs/?27608
|
||||
// Bug: https://savannah.nongnu.org/bugs/?27608
|
||||
if ($p_ipAddress == '::1') {
|
||||
$p_ipAddress = '127.0.0.1';
|
||||
}
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
* Application_Model_StoredFile class.
|
||||
*
|
||||
* @copyright 2010 Sourcefabric O.P.S.
|
||||
* @license http://www.gnu.org/licenses/gpl.txt
|
||||
* @license https://www.gnu.org/licenses/gpl.txt
|
||||
*
|
||||
* @see MetaData
|
||||
*/
|
||||
|
@ -521,7 +521,7 @@ SQL;
|
|||
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
* (allow adding users to groups or groups to groups)
|
||||
*
|
||||
* @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
|
||||
{
|
||||
|
|
|
@ -344,7 +344,7 @@ class Application_Model_Webstream implements Application_Model_LibraryEditable
|
|||
* 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)",
|
||||
* 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",
|
||||
* 5 => "Content-Language: en-US",
|
||||
* 6 => "Content-Length: 202",
|
||||
|
|
|
@ -289,7 +289,7 @@ class Rest_ShowImageController extends Zend_Rest_Controller
|
|||
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)
|
||||
{
|
||||
$files = array_diff(scandir($dir), ['.', '..']);
|
||||
|
|
|
@ -53,7 +53,7 @@ class RestAuth
|
|||
private static function verifyAPIKey($action)
|
||||
{
|
||||
// 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();
|
||||
|
||||
// Decode the API key that was passed to us in the HTTP request.
|
||||
|
|
|
@ -496,7 +496,7 @@ class Application_Service_PodcastService
|
|||
$enclosure->addAttribute('type', $publishedFile->getDbMime());
|
||||
|
||||
// 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.'
|
||||
// self::addEscapedChild($item, "xmlns:itunes:subtitle", $publishedFile->getDbTrackTitle());
|
||||
self::addEscapedChild($item, 'xmlns:itunes:subtitle', $publishedFile->getDbDescription());
|
||||
|
|
|
@ -4,7 +4,7 @@ setup(
|
|||
name="libretime-shared",
|
||||
version="1.0.0",
|
||||
description="LibreTime Shared",
|
||||
url="http://github.com/libretime/libretime",
|
||||
url="https://github.com/libretime/libretime",
|
||||
author="LibreTime Contributors",
|
||||
license="AGPLv3",
|
||||
packages=find_packages(exclude=["*tests*", "*fixtures*"]),
|
||||
|
|
Loading…
Reference in New Issue