Changeset 2548212
- Timestamp:
- 06/15/2021 01:27:14 PM (4 years ago)
- Location:
- revenue-generator
- Files:
-
- 649 added
- 17 edited
Legend:
- Unmodified
- Added
- Removed
-
revenue-generator/trunk/languages/revenue-generator.po
r2537988 r2548212 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: Revenue Generator 2.3. 0\n"5 "Project-Id-Version: Revenue Generator 2.3.1\n" 6 6 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/revenue-generator\n" 7 7 "Last-Translator: Kimberly Moore <[email protected]>\n" … … 10 10 "Content-Type: text/plain; charset=UTF-8\n" 11 11 "Content-Transfer-Encoding: 8bit\n" 12 "POT-Creation-Date: 2021-0 5-26T09:12:27+00:00\n"12 "POT-Creation-Date: 2021-06-15T13:14:01+00:00\n" 13 13 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 14 14 "X-Generator: WP-CLI 2.4.0\n" -
revenue-generator/trunk/readme.txt
r2537988 r2548212 3 3 Contributors: laterpay 4 4 Donate link: https://laterpay.net 5 Tags: Laterpay5 Tags: contribution, micropayment, conversion, monetization 6 6 Requires at least: 5.3 7 7 Tested up to: 5.7 8 8 Requires PHP: 5.6 9 Stable tag: 2.3. 09 Stable tag: 2.3.1 10 10 Author URI: https://laterpay.net 11 11 Plugin URI: https://github.com/laterpay/revenue-generator/ … … 58 58 59 59 == Changelog == 60 61 = 2.3.1 ( 15 Jun 2021 ) = 62 * Fixed issue causing a contribution to be unresponsive after coming back from SSO auth. 60 63 61 64 = 2.3.0 ( 26 May 2021 ) = … … 135 138 == Upgrade notice == 136 139 140 = 2.3.1 = 141 Fixed issue causing a contribution to be unresponsive after coming back from SSO auth. 142 137 143 = 2.3.0 = 138 144 Refactored welcome screens to React, fixed styling issue in admin. -
revenue-generator/trunk/revenue-generator.php
r2537988 r2548212 4 4 * Description: Monetize your blog and content with the Revenue Generator. 5 5 * Plugin URI: https://github.com/laterpay/revenue-generator 6 * Version: 2.3. 06 * Version: 2.3.1 7 7 * Author: Laterpay 8 8 * Text Domain: revenue-generator … … 15 15 defined( 'ABSPATH' ) || exit; 16 16 17 define( 'REVENUE_GENERATOR_VERSION', '2.3. 0' );17 define( 'REVENUE_GENERATOR_VERSION', '2.3.1' ); 18 18 19 19 if ( ! defined( 'REVENUE_GENERATOR_PLUGIN_FILE' ) ) { -
revenue-generator/trunk/v2/inc/classes/class-api.php
r2532857 r2548212 85 85 public static function get_default_headers() { 86 86 return [ 87 'User-Agent' => sprintf(87 'User-Agent' => sprintf( 88 88 '\[Revenue Generator: v%s] \[Client ID: %s]', 89 89 REVENUE_GENERATOR_VERSION, 90 90 self::$auth->get_client_id() 91 91 ), 92 'Content-Type' => 'application/json', 92 93 ]; 93 94 } -
revenue-generator/trunk/vendor/autoload.php
r2537988 r2548212 5 5 require_once __DIR__ . '/composer/autoload_real.php'; 6 6 7 return ComposerAutoloaderInit f65b3f465a0dadc6693df8329fb374fc::getLoader();7 return ComposerAutoloaderIniteaebdac319e540fdeca6da27f11c475b::getLoader(); -
revenue-generator/trunk/vendor/composer/InstalledVersions.php
r2537988 r2548212 28 28 'root' => 29 29 array ( 30 'pretty_version' => '2.3. 0',31 'version' => '2.3. 0.0',30 'pretty_version' => '2.3.1', 31 'version' => '2.3.1.0', 32 32 'aliases' => 33 33 array ( … … 58 58 'firebase/php-jwt' => 59 59 array ( 60 'pretty_version' => 'v5. 2.1',61 'version' => '5. 2.1.0',62 'aliases' => 63 array ( 64 ), 65 'reference' => ' f42c9110abe98dd6cfe9053c49bc86acc70b2d23',60 'pretty_version' => 'v5.3.0', 61 'version' => '5.3.0.0', 62 'aliases' => 63 array ( 64 ), 65 'reference' => '3c2d70f2e64e2922345e89f2ceae47d2463faae1', 66 66 ), 67 67 'guzzlehttp/guzzle' => … … 94 94 'laterpay/revenue-generator' => 95 95 array ( 96 'pretty_version' => '2.3. 0',97 'version' => '2.3. 0.0',96 'pretty_version' => '2.3.1', 97 'version' => '2.3.1.0', 98 98 'aliases' => 99 99 array ( -
revenue-generator/trunk/vendor/composer/autoload_real.php
r2537988 r2548212 3 3 // autoload_real.php @generated by Composer 4 4 5 class ComposerAutoloaderInit f65b3f465a0dadc6693df8329fb374fc5 class ComposerAutoloaderIniteaebdac319e540fdeca6da27f11c475b 6 6 { 7 7 private static $loader; … … 25 25 require __DIR__ . '/platform_check.php'; 26 26 27 spl_autoload_register(array('ComposerAutoloaderInit f65b3f465a0dadc6693df8329fb374fc', 'loadClassLoader'), true, true);27 spl_autoload_register(array('ComposerAutoloaderIniteaebdac319e540fdeca6da27f11c475b', 'loadClassLoader'), true, true); 28 28 self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__))); 29 spl_autoload_unregister(array('ComposerAutoloaderInit f65b3f465a0dadc6693df8329fb374fc', 'loadClassLoader'));29 spl_autoload_unregister(array('ComposerAutoloaderIniteaebdac319e540fdeca6da27f11c475b', 'loadClassLoader')); 30 30 31 31 $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded()); … … 33 33 require __DIR__ . '/autoload_static.php'; 34 34 35 call_user_func(\Composer\Autoload\ComposerStaticInit f65b3f465a0dadc6693df8329fb374fc::getInitializer($loader));35 call_user_func(\Composer\Autoload\ComposerStaticIniteaebdac319e540fdeca6da27f11c475b::getInitializer($loader)); 36 36 } else { 37 37 $map = require __DIR__ . '/autoload_namespaces.php'; … … 54 54 55 55 if ($useStaticLoader) { 56 $includeFiles = Composer\Autoload\ComposerStaticInit f65b3f465a0dadc6693df8329fb374fc::$files;56 $includeFiles = Composer\Autoload\ComposerStaticIniteaebdac319e540fdeca6da27f11c475b::$files; 57 57 } else { 58 58 $includeFiles = require __DIR__ . '/autoload_files.php'; 59 59 } 60 60 foreach ($includeFiles as $fileIdentifier => $file) { 61 composerRequire f65b3f465a0dadc6693df8329fb374fc($fileIdentifier, $file);61 composerRequireeaebdac319e540fdeca6da27f11c475b($fileIdentifier, $file); 62 62 } 63 63 … … 66 66 } 67 67 68 function composerRequire f65b3f465a0dadc6693df8329fb374fc($fileIdentifier, $file)68 function composerRequireeaebdac319e540fdeca6da27f11c475b($fileIdentifier, $file) 69 69 { 70 70 if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) { -
revenue-generator/trunk/vendor/composer/autoload_static.php
r2537988 r2548212 5 5 namespace Composer\Autoload; 6 6 7 class ComposerStaticInit f65b3f465a0dadc6693df8329fb374fc7 class ComposerStaticIniteaebdac319e540fdeca6da27f11c475b 8 8 { 9 9 public static $files = array ( … … 222 222 { 223 223 return \Closure::bind(function () use ($loader) { 224 $loader->prefixLengthsPsr4 = ComposerStaticInit f65b3f465a0dadc6693df8329fb374fc::$prefixLengthsPsr4;225 $loader->prefixDirsPsr4 = ComposerStaticInit f65b3f465a0dadc6693df8329fb374fc::$prefixDirsPsr4;226 $loader->classMap = ComposerStaticInit f65b3f465a0dadc6693df8329fb374fc::$classMap;224 $loader->prefixLengthsPsr4 = ComposerStaticIniteaebdac319e540fdeca6da27f11c475b::$prefixLengthsPsr4; 225 $loader->prefixDirsPsr4 = ComposerStaticIniteaebdac319e540fdeca6da27f11c475b::$prefixDirsPsr4; 226 $loader->classMap = ComposerStaticIniteaebdac319e540fdeca6da27f11c475b::$classMap; 227 227 228 228 }, null, ClassLoader::class); -
revenue-generator/trunk/vendor/composer/installed.json
r2532857 r2548212 131 131 { 132 132 "name": "firebase/php-jwt", 133 "version": "v5. 2.1",134 "version_normalized": "5. 2.1.0",133 "version": "v5.3.0", 134 "version_normalized": "5.3.0.0", 135 135 "source": { 136 136 "type": "git", 137 137 "url": "https://github.com/firebase/php-jwt.git", 138 "reference": " f42c9110abe98dd6cfe9053c49bc86acc70b2d23"139 }, 140 "dist": { 141 "type": "zip", 142 "url": "https://api.github.com/repos/firebase/php-jwt/zipball/ f42c9110abe98dd6cfe9053c49bc86acc70b2d23",143 "reference": " f42c9110abe98dd6cfe9053c49bc86acc70b2d23",138 "reference": "3c2d70f2e64e2922345e89f2ceae47d2463faae1" 139 }, 140 "dist": { 141 "type": "zip", 142 "url": "https://api.github.com/repos/firebase/php-jwt/zipball/3c2d70f2e64e2922345e89f2ceae47d2463faae1", 143 "reference": "3c2d70f2e64e2922345e89f2ceae47d2463faae1", 144 144 "shasum": "" 145 145 }, … … 150 150 "phpunit/phpunit": ">=4.8 <=9" 151 151 }, 152 "time": "2021-0 2-12T00:02:00+00:00",152 "time": "2021-05-20T17:37:02+00:00", 153 153 "type": "library", 154 154 "installation-source": "dist", … … 182 182 "support": { 183 183 "issues": "https://github.com/firebase/php-jwt/issues", 184 "source": "https://github.com/firebase/php-jwt/tree/v5. 2.1"184 "source": "https://github.com/firebase/php-jwt/tree/v5.3.0" 185 185 }, 186 186 "install-path": "../firebase/php-jwt" -
revenue-generator/trunk/vendor/composer/installed.php
r2537988 r2548212 2 2 'root' => 3 3 array ( 4 'pretty_version' => '2.3. 0',5 'version' => '2.3. 0.0',4 'pretty_version' => '2.3.1', 5 'version' => '2.3.1.0', 6 6 'aliases' => 7 7 array ( … … 32 32 'firebase/php-jwt' => 33 33 array ( 34 'pretty_version' => 'v5. 2.1',35 'version' => '5. 2.1.0',34 'pretty_version' => 'v5.3.0', 35 'version' => '5.3.0.0', 36 36 'aliases' => 37 37 array ( 38 38 ), 39 'reference' => ' f42c9110abe98dd6cfe9053c49bc86acc70b2d23',39 'reference' => '3c2d70f2e64e2922345e89f2ceae47d2463faae1', 40 40 ), 41 41 'guzzlehttp/guzzle' => … … 68 68 'laterpay/revenue-generator' => 69 69 array ( 70 'pretty_version' => '2.3. 0',71 'version' => '2.3. 0.0',70 'pretty_version' => '2.3.1', 71 'version' => '2.3.1.0', 72 72 'aliases' => 73 73 array ( -
revenue-generator/trunk/vendor/firebase/php-jwt/LICENSE
r2532857 r2548212 14 14 with the distribution. 15 15 16 * Neither the name of Neuman Vongnor the names of other16 * Neither the name of the copyright holder nor the names of other 17 17 contributors may be used to endorse or promote products derived 18 18 from this software without specific prior written permission. -
revenue-generator/trunk/vendor/firebase/php-jwt/README.md
r2532857 r2548212 20 20 ------- 21 21 ```php 22 <?php 23 use \Firebase\JWT\JWT; 22 use Firebase\JWT\JWT; 24 23 25 24 $key = "example_key"; … … 58 57 JWT::$leeway = 60; // $leeway in seconds 59 58 $decoded = JWT::decode($jwt, $key, array('HS256')); 60 61 ?>62 59 ``` 63 60 Example with RS256 (openssl) 64 61 ---------------------------- 65 62 ```php 66 <?php 67 use \Firebase\JWT\JWT; 63 use Firebase\JWT\JWT; 68 64 69 65 $privateKey = <<<EOD … … 113 109 $decoded_array = (array) $decoded; 114 110 echo "Decode:\n" . print_r($decoded_array, true) . "\n"; 115 ?> 111 ``` 112 113 Example with a passphrase 114 ------------------------- 115 116 ```php 117 // Your passphrase 118 $passphrase = '[YOUR_PASSPHRASE]'; 119 120 // Your private key file with passphrase 121 // Can be generated with "ssh-keygen -t rsa -m pem" 122 $privateKeyFile = '/path/to/key-with-passphrase.pem'; 123 124 // Create a private key of type "resource" 125 $privateKey = openssl_pkey_get_private( 126 file_get_contents($privateKeyFile), 127 $passphrase 128 ); 129 130 $payload = array( 131 "iss" => "example.org", 132 "aud" => "example.com", 133 "iat" => 1356999524, 134 "nbf" => 1357000000 135 ); 136 137 $jwt = JWT::encode($payload, $privateKey, 'RS256'); 138 echo "Encode:\n" . print_r($jwt, true) . "\n"; 139 140 // Get public key from the private key, or pull from from a file. 141 $publicKey = openssl_pkey_get_details($privateKey)['key']; 142 143 $decoded = JWT::decode($jwt, $publicKey, array('RS256')); 144 echo "Decode:\n" . print_r((array) $decoded, true) . "\n"; 116 145 ``` 117 146 … … 120 149 121 150 ```php 151 use Firebase\JWT\JWK; 152 use Firebase\JWT\JWT; 153 122 154 // Set of keys. The "keys" key is required. For example, the JSON response to 123 155 // this endpoint: https://www.gstatic.com/iap/verify/public_key-jwk -
revenue-generator/trunk/vendor/firebase/php-jwt/src/BeforeValidException.php
r2532857 r2548212 1 1 <?php 2 2 3 namespace Firebase\JWT; 3 4 -
revenue-generator/trunk/vendor/firebase/php-jwt/src/ExpiredException.php
r2532857 r2548212 1 1 <?php 2 2 3 namespace Firebase\JWT; 3 4 -
revenue-generator/trunk/vendor/firebase/php-jwt/src/JWK.php
r2532857 r2548212 83 83 switch ($jwk['kty']) { 84 84 case 'RSA': 85 if ( \array_key_exists('d', $jwk)) {85 if (!empty($jwk['d'])) { 86 86 throw new UnexpectedValueException('RSA private keys are not supported'); 87 87 } -
revenue-generator/trunk/vendor/firebase/php-jwt/src/JWT.php
r2532857 r2548212 3 3 namespace Firebase\JWT; 4 4 5 use \DomainException;6 use \InvalidArgumentException;7 use \UnexpectedValueException;8 use \DateTime;5 use DomainException; 6 use InvalidArgumentException; 7 use UnexpectedValueException; 8 use DateTime; 9 9 10 10 /** … … 43 43 44 44 public static $supported_algs = array( 45 'ES384' => array('openssl', 'SHA384'), 45 46 'ES256' => array('openssl', 'SHA256'), 46 47 'HS256' => array('hash_hmac', 'SHA256'), … … 59 60 * If the algorithm used is asymmetric, this is the public key 60 61 * @param array $allowed_algs List of supported verification algorithms 61 * Supported algorithms are 'ES256', 'HS256', 'HS384', 'HS512', 'RS256', 'RS384', and 'RS512' 62 * Supported algorithms are 'ES384','ES256', 'HS256', 'HS384', 63 * 'HS512', 'RS256', 'RS384', and 'RS512' 62 64 * 63 65 * @return object The JWT's payload as a PHP object 64 66 * 67 * @throws InvalidArgumentException Provided JWT was empty 65 68 * @throws UnexpectedValueException Provided JWT was invalid 66 69 * @throws SignatureInvalidException Provided JWT was invalid because the signature verification failed … … 102 105 throw new UnexpectedValueException('Algorithm not allowed'); 103 106 } 104 if ($header->alg === 'ES256' ) {105 // OpenSSL expects an ASN.1 DER sequence for ES256 signatures107 if ($header->alg === 'ES256' || $header->alg === 'ES384') { 108 // OpenSSL expects an ASN.1 DER sequence for ES256/ES384 signatures 106 109 $sig = self::signatureToDER($sig); 107 110 } … … 151 154 * Converts and signs a PHP object or array into a JWT string. 152 155 * 153 * @param object|array $payload PHP object or array 154 * @param string $key The secret key. 155 * If the algorithm used is asymmetric, this is the private key 156 * @param string $alg The signing algorithm. 157 * Supported algorithms are 'ES256', 'HS256', 'HS384', 'HS512', 'RS256', 'RS384', and 'RS512' 158 * @param mixed $keyId 159 * @param array $head An array with header elements to attach 156 * @param object|array $payload PHP object or array 157 * @param string|resource $key The secret key. 158 * If the algorithm used is asymmetric, this is the private key 159 * @param string $alg The signing algorithm. 160 * Supported algorithms are 'ES384','ES256', 'HS256', 'HS384', 161 * 'HS512', 'RS256', 'RS384', and 'RS512' 162 * @param mixed $keyId 163 * @param array $head An array with header elements to attach 160 164 * 161 165 * @return string A signed JWT … … 190 194 * @param string|resource $key The secret key 191 195 * @param string $alg The signing algorithm. 192 * Supported algorithms are 'ES256', 'HS256', 'HS384', 'HS512', 'RS256', 'RS384', and 'RS512' 196 * Supported algorithms are 'ES384','ES256', 'HS256', 'HS384', 197 * 'HS512', 'RS256', 'RS384', and 'RS512' 193 198 * 194 199 * @return string An encrypted message … … 213 218 if ($alg === 'ES256') { 214 219 $signature = self::signatureFromDER($signature, 256); 220 } 221 if ($alg === 'ES384') { 222 $signature = self::signatureFromDER($signature, 384); 215 223 } 216 224 return $signature; -
revenue-generator/trunk/vendor/firebase/php-jwt/src/SignatureInvalidException.php
r2532857 r2548212 1 1 <?php 2 2 3 namespace Firebase\JWT; 3 4
Note: See TracChangeset
for help on using the changeset viewer.