Plugin Directory

Changeset 2474432


Ignore:
Timestamp:
02/14/2021 11:14:06 AM (5 years ago)
Author:
andrei.igna
Message:

v1.4.5 - removed logos, updated deps

Location:
quick-login
Files:
5 added
10 deleted
15 edited

Legend:

Unmodified
Added
Removed
  • quick-login/trunk/composer.json

    r2364279 r2474432  
    4343    "config": {
    4444        "platform": {
    45             "php": "5.6"
     45            "php": "7.0"
    4646        }
    4747    }
  • quick-login/trunk/composer.lock

    r2458198 r2474432  
    55        "This file is @generated automatically"
    66    ],
    7     "content-hash": "c87557ab1f1f7bf3ca2b1f72efd60f7d",
     7    "content-hash": "5676bd0b974afc76d9ab69415c332275",
    88    "packages": [
    99        {
     
    520520        {
    521521            "name": "league/oauth2-facebook",
    522             "version": "2.0.3",
     522            "version": "2.0.5",
    523523            "source": {
    524524                "type": "git",
    525525                "url": "https://github.com/thephpleague/oauth2-facebook.git",
    526                 "reference": "093cf588b9d508ee426c71d6bc68f138fe914ddc"
    527             },
    528             "dist": {
    529                 "type": "zip",
    530                 "url": "https://api.github.com/repos/thephpleague/oauth2-facebook/zipball/093cf588b9d508ee426c71d6bc68f138fe914ddc",
    531                 "reference": "093cf588b9d508ee426c71d6bc68f138fe914ddc",
     526                "reference": "14cead7580cab8caace67f5a61ea5d2a8ff213eb"
     527            },
     528            "dist": {
     529                "type": "zip",
     530                "url": "https://api.github.com/repos/thephpleague/oauth2-facebook/zipball/14cead7580cab8caace67f5a61ea5d2a8ff213eb",
     531                "reference": "14cead7580cab8caace67f5a61ea5d2a8ff213eb",
    532532                "shasum": ""
    533533            },
    534534            "require": {
    535535                "league/oauth2-client": "^2.0",
    536                 "php": "^5.6 || ^7.0"
     536                "php": "^5.6 || ^7.0 || ^8.0"
    537537            },
    538538            "require-dev": {
    539539                "ext-json": "*",
    540540                "mockery/mockery": "~1.3.0",
    541                 "phpunit/phpunit": "^5.7|^6.0",
     541                "phpunit/phpunit": "^9.4",
    542542                "squizlabs/php_codesniffer": "~3.0"
    543543            },
     
    568568                "oauth2"
    569569            ],
    570             "time": "2020-10-01T15:22:47+00:00"
     570            "time": "2021-02-01T15:33:45+00:00"
    571571        },
    572572        {
     
    679679        {
    680680            "name": "paragonie/random_compat",
    681             "version": "v2.0.19",
     681            "version": "v9.99.100",
    682682            "source": {
    683683                "type": "git",
    684684                "url": "https://github.com/paragonie/random_compat.git",
    685                 "reference": "446fc9faa5c2a9ddf65eb7121c0af7e857295241"
    686             },
    687             "dist": {
    688                 "type": "zip",
    689                 "url": "https://api.github.com/repos/paragonie/random_compat/zipball/446fc9faa5c2a9ddf65eb7121c0af7e857295241",
    690                 "reference": "446fc9faa5c2a9ddf65eb7121c0af7e857295241",
    691                 "shasum": ""
    692             },
    693             "require": {
    694                 "php": ">=5.2.0"
     685                "reference": "996434e5492cb4c3edcb9168db6fbb1359ef965a"
     686            },
     687            "dist": {
     688                "type": "zip",
     689                "url": "https://api.github.com/repos/paragonie/random_compat/zipball/996434e5492cb4c3edcb9168db6fbb1359ef965a",
     690                "reference": "996434e5492cb4c3edcb9168db6fbb1359ef965a",
     691                "shasum": ""
     692            },
     693            "require": {
     694                "php": ">= 7"
    695695            },
    696696            "require-dev": {
    697                 "phpunit/phpunit": "4.*|5.*"
     697                "phpunit/phpunit": "4.*|5.*",
     698                "vimeo/psalm": "^1"
    698699            },
    699700            "suggest": {
     
    701702            },
    702703            "type": "library",
    703             "autoload": {
    704                 "files": [
    705                     "lib/random.php"
    706                 ]
    707             },
    708704            "notification-url": "https://packagist.org/downloads/",
    709705            "license": [
     
    724720                "random"
    725721            ],
    726             "time": "2020-10-15T10:06:57+00:00"
     722            "time": "2020-10-15T08:29:30+00:00"
    727723        },
    728724        {
     
    11441140    "platform-dev": [],
    11451141    "platform-overrides": {
    1146         "php": "5.6"
     1142        "php": "7.0"
    11471143    },
    11481144    "plugin-api-version": "1.1.0"
  • quick-login/trunk/quick-login.php

    r2364279 r2474432  
    44Plugin URI: https://layered.market/plugins/quick-login
    55Description: Enable secure login & registration with social accounts! Supports Twitter, Facebook, Google, WordPress.com, LinkedIn and Slack.
    6 Version: 1.4.3
     6Version: 1.4.5
    77Text Domain: quick-login
    88Author: Layered
  • quick-login/trunk/readme.txt

    r2458211 r2474432  
    22Contributors: andreiigna
    33Tags: login, social login, twitter, google, facebook, linkedin, slack, oauth, register
    4 Requires at least: 4
     4Requires at least: 5
    55Tested up to: 5.6
    6 Requires PHP: 5.6
     6Requires PHP: 7.0
    77Stable tag: trunk
    88License: GPL-3.0-or-later
     
    5050Newly created accounts are assigned the default User Role defined in WordPress Settings, usually the role being `Subscriber`.
    5151
    52 > Be aware that Quick Social Login requires the PHP version to be at least 5.6
     52> Be aware that Quick Social Login requires the PHP version to be at least 7.0
    5353
    5454== Frequently Asked Questions ==
     
    9090
    9191== Changelog ==
     92
     93= 1.4.5 - 14 February 2020 =
     94* Updated - Dependencies for OAuth code libraries and requirement for min PHP v7
     95* Removed - Logos from plugin icon
    9296
    9397= 1.4.4 - 18 January 2020 =
  • quick-login/trunk/vendor/composer/autoload_files.php

    r2364279 r2474432  
    77
    88return array(
    9     '5255c38a0faeba867671b61dfda6d864' => $vendorDir . '/paragonie/random_compat/lib/random.php',
    109    '7b11c4dc42b3b3023073cb14e519683c' => $vendorDir . '/ralouphie/getallheaders/src/getallheaders.php',
     10    'e69f7f6ee287b969198c3c9d6777bd38' => $vendorDir . '/symfony/polyfill-intl-normalizer/bootstrap.php',
     11    '023d27dca8066ef29e6739335ea73bad' => $vendorDir . '/symfony/polyfill-php70/bootstrap.php',
    1112    '25072dd6e2470089de65ae7bf11d3109' => $vendorDir . '/symfony/polyfill-php72/bootstrap.php',
    12     '023d27dca8066ef29e6739335ea73bad' => $vendorDir . '/symfony/polyfill-php70/bootstrap.php',
    13     'e69f7f6ee287b969198c3c9d6777bd38' => $vendorDir . '/symfony/polyfill-intl-normalizer/bootstrap.php',
    1413    'c964ee0ededf28c96ebd9db5099ef910' => $vendorDir . '/guzzlehttp/promises/src/functions_include.php',
    1514    'a0edc8309cc5e1d60e3047b5df6b7052' => $vendorDir . '/guzzlehttp/psr7/src/functions_include.php',
  • quick-login/trunk/vendor/composer/autoload_psr4.php

    r2458198 r2474432  
    1212    'Symfony\\Polyfill\\Intl\\Idn\\' => array($vendorDir . '/symfony/polyfill-intl-idn'),
    1313    'Psr\\Http\\Message\\' => array($vendorDir . '/psr/http-message/src'),
    14     'League\\OAuth2\\Client\\' => array($vendorDir . '/league/oauth2-google/src', $vendorDir . '/league/oauth2-linkedin/src', $vendorDir . '/league/oauth2-client/src', $vendorDir . '/league/oauth2-facebook/src'),
     14    'League\\OAuth2\\Client\\' => array($vendorDir . '/league/oauth2-client/src', $vendorDir . '/league/oauth2-google/src', $vendorDir . '/league/oauth2-linkedin/src', $vendorDir . '/league/oauth2-facebook/src'),
    1515    'League\\OAuth1\\' => array($vendorDir . '/league/oauth1-client/src'),
    1616    'Layered\\QuickLogin\\' => array($baseDir . '/src'),
  • quick-login/trunk/vendor/composer/autoload_static.php

    r2458198 r2474432  
    88{
    99    public static $files = array (
    10         '5255c38a0faeba867671b61dfda6d864' => __DIR__ . '/..' . '/paragonie/random_compat/lib/random.php',
    1110        '7b11c4dc42b3b3023073cb14e519683c' => __DIR__ . '/..' . '/ralouphie/getallheaders/src/getallheaders.php',
     11        'e69f7f6ee287b969198c3c9d6777bd38' => __DIR__ . '/..' . '/symfony/polyfill-intl-normalizer/bootstrap.php',
     12        '023d27dca8066ef29e6739335ea73bad' => __DIR__ . '/..' . '/symfony/polyfill-php70/bootstrap.php',
    1213        '25072dd6e2470089de65ae7bf11d3109' => __DIR__ . '/..' . '/symfony/polyfill-php72/bootstrap.php',
    13         '023d27dca8066ef29e6739335ea73bad' => __DIR__ . '/..' . '/symfony/polyfill-php70/bootstrap.php',
    14         'e69f7f6ee287b969198c3c9d6777bd38' => __DIR__ . '/..' . '/symfony/polyfill-intl-normalizer/bootstrap.php',
    1514        'c964ee0ededf28c96ebd9db5099ef910' => __DIR__ . '/..' . '/guzzlehttp/promises/src/functions_include.php',
    1615        'a0edc8309cc5e1d60e3047b5df6b7052' => __DIR__ . '/..' . '/guzzlehttp/psr7/src/functions_include.php',
     
    7372        'League\\OAuth2\\Client\\' =>
    7473        array (
    75             0 => __DIR__ . '/..' . '/league/oauth2-google/src',
    76             1 => __DIR__ . '/..' . '/league/oauth2-linkedin/src',
    77             2 => __DIR__ . '/..' . '/league/oauth2-client/src',
     74            0 => __DIR__ . '/..' . '/league/oauth2-client/src',
     75            1 => __DIR__ . '/..' . '/league/oauth2-google/src',
     76            2 => __DIR__ . '/..' . '/league/oauth2-linkedin/src',
    7877            3 => __DIR__ . '/..' . '/league/oauth2-facebook/src',
    7978        ),
  • quick-login/trunk/vendor/composer/installed.json

    r2458198 r2474432  
    527527    {
    528528        "name": "league/oauth2-facebook",
    529         "version": "2.0.3",
    530         "version_normalized": "2.0.3.0",
     529        "version": "2.0.5",
     530        "version_normalized": "2.0.5.0",
    531531        "source": {
    532532            "type": "git",
    533533            "url": "https://github.com/thephpleague/oauth2-facebook.git",
    534             "reference": "093cf588b9d508ee426c71d6bc68f138fe914ddc"
    535         },
    536         "dist": {
    537             "type": "zip",
    538             "url": "https://api.github.com/repos/thephpleague/oauth2-facebook/zipball/093cf588b9d508ee426c71d6bc68f138fe914ddc",
    539             "reference": "093cf588b9d508ee426c71d6bc68f138fe914ddc",
     534            "reference": "14cead7580cab8caace67f5a61ea5d2a8ff213eb"
     535        },
     536        "dist": {
     537            "type": "zip",
     538            "url": "https://api.github.com/repos/thephpleague/oauth2-facebook/zipball/14cead7580cab8caace67f5a61ea5d2a8ff213eb",
     539            "reference": "14cead7580cab8caace67f5a61ea5d2a8ff213eb",
    540540            "shasum": ""
    541541        },
    542542        "require": {
    543543            "league/oauth2-client": "^2.0",
    544             "php": "^5.6 || ^7.0"
     544            "php": "^5.6 || ^7.0 || ^8.0"
    545545        },
    546546        "require-dev": {
    547547            "ext-json": "*",
    548548            "mockery/mockery": "~1.3.0",
    549             "phpunit/phpunit": "^5.7|^6.0",
     549            "phpunit/phpunit": "^9.4",
    550550            "squizlabs/php_codesniffer": "~3.0"
    551551        },
    552         "time": "2020-10-01T15:22:47+00:00",
     552        "time": "2021-02-01T15:33:45+00:00",
    553553        "type": "library",
    554554        "installation-source": "dist",
     
    692692    {
    693693        "name": "paragonie/random_compat",
    694         "version": "v2.0.19",
    695         "version_normalized": "2.0.19.0",
     694        "version": "v9.99.100",
     695        "version_normalized": "9.99.100.0",
    696696        "source": {
    697697            "type": "git",
    698698            "url": "https://github.com/paragonie/random_compat.git",
    699             "reference": "446fc9faa5c2a9ddf65eb7121c0af7e857295241"
    700         },
    701         "dist": {
    702             "type": "zip",
    703             "url": "https://api.github.com/repos/paragonie/random_compat/zipball/446fc9faa5c2a9ddf65eb7121c0af7e857295241",
    704             "reference": "446fc9faa5c2a9ddf65eb7121c0af7e857295241",
    705             "shasum": ""
    706         },
    707         "require": {
    708             "php": ">=5.2.0"
     699            "reference": "996434e5492cb4c3edcb9168db6fbb1359ef965a"
     700        },
     701        "dist": {
     702            "type": "zip",
     703            "url": "https://api.github.com/repos/paragonie/random_compat/zipball/996434e5492cb4c3edcb9168db6fbb1359ef965a",
     704            "reference": "996434e5492cb4c3edcb9168db6fbb1359ef965a",
     705            "shasum": ""
     706        },
     707        "require": {
     708            "php": ">= 7"
    709709        },
    710710        "require-dev": {
    711             "phpunit/phpunit": "4.*|5.*"
     711            "phpunit/phpunit": "4.*|5.*",
     712            "vimeo/psalm": "^1"
    712713        },
    713714        "suggest": {
    714715            "ext-libsodium": "Provides a modern crypto API that can be used to generate random bytes."
    715716        },
    716         "time": "2020-10-15T10:06:57+00:00",
    717         "type": "library",
    718         "installation-source": "dist",
    719         "autoload": {
    720             "files": [
    721                 "lib/random.php"
    722             ]
    723         },
     717        "time": "2020-10-15T08:29:30+00:00",
     718        "type": "library",
     719        "installation-source": "dist",
    724720        "notification-url": "https://packagist.org/downloads/",
    725721        "license": [
  • quick-login/trunk/vendor/league/oauth2-facebook/composer.json

    r2364279 r2474432  
    1919    ],
    2020    "require": {
    21         "php": "^5.6 || ^7.0",
     21        "php": "^5.6 || ^7.0 || ^8.0",
    2222        "league/oauth2-client": "^2.0"
    2323    },
    2424    "require-dev": {
    2525        "ext-json": "*",
    26         "phpunit/phpunit": "^5.7|^6.0",
     26        "phpunit/phpunit": "^9.4",
    2727        "mockery/mockery": "~1.3.0",
    2828        "squizlabs/php_codesniffer": "~3.0"
  • quick-login/trunk/vendor/paragonie/random_compat/composer.json

    r2364279 r2474432  
    2323  },
    2424  "require": {
    25     "php": ">=5.2.0"
     25    "php": ">= 7"
    2626  },
    2727  "require-dev": {
     28    "vimeo/psalm": "^1",
    2829    "phpunit/phpunit": "4.*|5.*"
    2930  },
    3031  "suggest": {
    3132    "ext-libsodium": "Provides a modern crypto API that can be used to generate random bytes."
    32   },
    33   "autoload": {
    34     "files": [
    35       "lib/random.php"
    36     ]
    3733  }
    3834}
  • quick-login/trunk/vendor/paragonie/random_compat/lib/random.php

    r2364279 r2474432  
    44 * for using the new PHP 7 random_* API in PHP 5 projects
    55 *
    6  * @version 2.0.17
    7  * @released 2018-07-04
     6 * @version 2.99.99
     7 * @released 2018-06-06
    88 *
    99 * The MIT License (MIT)
     
    3030 */
    3131
    32 if (!defined('PHP_VERSION_ID')) {
    33     // This constant was introduced in PHP 5.2.7
    34     $RandomCompatversion = array_map('intval', explode('.', PHP_VERSION));
    35     define(
    36         'PHP_VERSION_ID',
    37         $RandomCompatversion[0] * 10000
    38         + $RandomCompatversion[1] * 100
    39         + $RandomCompatversion[2]
    40     );
    41     $RandomCompatversion = null;
    42 }
    43 
    44 /**
    45  * PHP 7.0.0 and newer have these functions natively.
    46  */
    47 if (PHP_VERSION_ID >= 70000) {
    48     return;
    49 }
    50 
    51 if (!defined('RANDOM_COMPAT_READ_BUFFER')) {
    52     define('RANDOM_COMPAT_READ_BUFFER', 8);
    53 }
    54 
    55 $RandomCompatDIR = dirname(__FILE__);
    56 
    57 require_once $RandomCompatDIR . DIRECTORY_SEPARATOR . 'byte_safe_strings.php';
    58 require_once $RandomCompatDIR . DIRECTORY_SEPARATOR . 'cast_to_int.php';
    59 require_once $RandomCompatDIR . DIRECTORY_SEPARATOR . 'error_polyfill.php';
    60 
    61 if (!is_callable('random_bytes')) {
    62     /**
    63      * PHP 5.2.0 - 5.6.x way to implement random_bytes()
    64      *
    65      * We use conditional statements here to define the function in accordance
    66      * to the operating environment. It's a micro-optimization.
    67      *
    68      * In order of preference:
    69      *   1. Use libsodium if available.
    70      *   2. fread() /dev/urandom if available (never on Windows)
    71      *   3. mcrypt_create_iv($bytes, MCRYPT_DEV_URANDOM)
    72      *   4. COM('CAPICOM.Utilities.1')->GetRandom()
    73      *
    74      * See RATIONALE.md for our reasoning behind this particular order
    75      */
    76     if (extension_loaded('libsodium')) {
    77         // See random_bytes_libsodium.php
    78         if (PHP_VERSION_ID >= 50300 && is_callable('\\Sodium\\randombytes_buf')) {
    79             require_once $RandomCompatDIR . DIRECTORY_SEPARATOR . 'random_bytes_libsodium.php';
    80         } elseif (method_exists('Sodium', 'randombytes_buf')) {
    81             require_once $RandomCompatDIR . DIRECTORY_SEPARATOR . 'random_bytes_libsodium_legacy.php';
    82         }
    83     }
    84 
    85     /**
    86      * Reading directly from /dev/urandom:
    87      */
    88     if (DIRECTORY_SEPARATOR === '/') {
    89         // DIRECTORY_SEPARATOR === '/' on Unix-like OSes -- this is a fast
    90         // way to exclude Windows.
    91         $RandomCompatUrandom = true;
    92         $RandomCompat_basedir = ini_get('open_basedir');
    93 
    94         if (!empty($RandomCompat_basedir)) {
    95             $RandomCompat_open_basedir = explode(
    96                 PATH_SEPARATOR,
    97                 strtolower($RandomCompat_basedir)
    98             );
    99             $RandomCompatUrandom = (array() !== array_intersect(
    100                 array('/dev', '/dev/', '/dev/urandom'),
    101                 $RandomCompat_open_basedir
    102             ));
    103             $RandomCompat_open_basedir = null;
    104         }
    105 
    106         if (
    107             !is_callable('random_bytes')
    108             &&
    109             $RandomCompatUrandom
    110             &&
    111             @is_readable('/dev/urandom')
    112         ) {
    113             // Error suppression on is_readable() in case of an open_basedir
    114             // or safe_mode failure. All we care about is whether or not we
    115             // can read it at this point. If the PHP environment is going to
    116             // panic over trying to see if the file can be read in the first
    117             // place, that is not helpful to us here.
    118 
    119             // See random_bytes_dev_urandom.php
    120             require_once $RandomCompatDIR . DIRECTORY_SEPARATOR . 'random_bytes_dev_urandom.php';
    121         }
    122         // Unset variables after use
    123         $RandomCompat_basedir = null;
    124     } else {
    125         $RandomCompatUrandom = false;
    126     }
    127 
    128     /**
    129      * mcrypt_create_iv()
    130      *
    131      * We only want to use mcypt_create_iv() if:
    132      *
    133      * - random_bytes() hasn't already been defined
    134      * - the mcrypt extensions is loaded
    135      * - One of these two conditions is true:
    136      *   - We're on Windows (DIRECTORY_SEPARATOR !== '/')
    137      *   - We're not on Windows and /dev/urandom is readabale
    138      *     (i.e. we're not in a chroot jail)
    139      * - Special case:
    140      *   - If we're not on Windows, but the PHP version is between
    141      *     5.6.10 and 5.6.12, we don't want to use mcrypt. It will
    142      *     hang indefinitely. This is bad.
    143      *   - If we're on Windows, we want to use PHP >= 5.3.7 or else
    144      *     we get insufficient entropy errors.
    145      */
    146     if (
    147         !is_callable('random_bytes')
    148         &&
    149         // Windows on PHP < 5.3.7 is broken, but non-Windows is not known to be.
    150         (DIRECTORY_SEPARATOR === '/' || PHP_VERSION_ID >= 50307)
    151         &&
    152         // Prevent this code from hanging indefinitely on non-Windows;
    153         // see https://bugs.php.net/bug.php?id=69833
    154         (
    155             DIRECTORY_SEPARATOR !== '/' ||
    156             (PHP_VERSION_ID <= 50609 || PHP_VERSION_ID >= 50613)
    157         )
    158         &&
    159         extension_loaded('mcrypt')
    160     ) {
    161         // See random_bytes_mcrypt.php
    162         require_once $RandomCompatDIR . DIRECTORY_SEPARATOR . 'random_bytes_mcrypt.php';
    163     }
    164     $RandomCompatUrandom = null;
    165 
    166     /**
    167      * This is a Windows-specific fallback, for when the mcrypt extension
    168      * isn't loaded.
    169      */
    170     if (
    171         !is_callable('random_bytes')
    172         &&
    173         extension_loaded('com_dotnet')
    174         &&
    175         class_exists('COM')
    176     ) {
    177         $RandomCompat_disabled_classes = preg_split(
    178             '#\s*,\s*#',
    179             strtolower(ini_get('disable_classes'))
    180         );
    181 
    182         if (!in_array('com', $RandomCompat_disabled_classes)) {
    183             try {
    184                 $RandomCompatCOMtest = new COM('CAPICOM.Utilities.1');
    185                 if (method_exists($RandomCompatCOMtest, 'GetRandom')) {
    186                     // See random_bytes_com_dotnet.php
    187                     require_once $RandomCompatDIR . DIRECTORY_SEPARATOR . 'random_bytes_com_dotnet.php';
    188                 }
    189             } catch (com_exception $e) {
    190                 // Don't try to use it.
    191             }
    192         }
    193         $RandomCompat_disabled_classes = null;
    194         $RandomCompatCOMtest = null;
    195     }
    196 
    197     /**
    198      * throw new Exception
    199      */
    200     if (!is_callable('random_bytes')) {
    201         /**
    202          * We don't have any more options, so let's throw an exception right now
    203          * and hope the developer won't let it fail silently.
    204          *
    205          * @param mixed $length
    206          * @psalm-suppress InvalidReturnType
    207          * @throws Exception
    208          * @return string
    209          */
    210         function random_bytes($length)
    211         {
    212             unset($length); // Suppress "variable not used" warnings.
    213             throw new Exception(
    214                 'There is no suitable CSPRNG installed on your system'
    215             );
    216             return '';
    217         }
    218     }
    219 }
    220 
    221 if (!is_callable('random_int')) {
    222     require_once $RandomCompatDIR . DIRECTORY_SEPARATOR . 'random_int.php';
    223 }
    224 
    225 $RandomCompatDIR = null;
     32// NOP
Note: See TracChangeset for help on using the changeset viewer.