Brizy – Page Builder - Version 1.0.13

Version Description

  • 2018-06-13 = Fixed: Removed signature and token check
Download this release

Release Info

Developer themefusecom
Plugin Icon 128x128 Brizy – Page Builder
Version 1.0.13
Comparing to
See all releases

Code changes from version 1.0.12 to 1.0.13

README.md CHANGED
@@ -3,7 +3,7 @@ Contributors: themefuse<br>
3
  Requires at least: 4.5<br>
4
  Tested up to: 4.9<br>
5
  Requires PHP: 5.4<br>
6
- Stable tag: 1.0.12<br>
7
  License: GPLv3<br>
8
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
9
 
@@ -96,6 +96,9 @@ A good bug report includes full details to easily understand the issue you are h
96
 
97
  ## Changelog
98
 
 
 
 
99
  ### 1.0.12 - 2018-06-13 ###
100
  * New: Added WordPress form integration
101
  * New: Added FontWeight and LetterSpacing for RichText element on Mobile
3
  Requires at least: 4.5<br>
4
  Tested up to: 4.9<br>
5
  Requires PHP: 5.4<br>
6
+ Stable tag: 1.0.13<br>
7
  License: GPLv3<br>
8
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
9
 
96
 
97
  ## Changelog
98
 
99
+ ### 1.0.13 - 2018-06-13 ###
100
+ Fixed: Removed signature and token check
101
+
102
  ### 1.0.12 - 2018-06-13 ###
103
  * New: Added WordPress form integration
104
  * New: Added FontWeight and LetterSpacing for RichText element on Mobile
brizy.php CHANGED
@@ -5,7 +5,7 @@
5
  * Plugin URI: https://brizy.io/
6
  * Author: Brizy.io
7
  * Author URI: https://brizy.io/
8
- * Version: 1.0.12
9
  * Text Domain: brizy
10
  * License: GPLv3
11
  * Domain Path: /languages
@@ -13,7 +13,7 @@
13
 
14
  define( 'BRIZY_DEVELOPMENT', false );
15
  define( 'BRIZY_LOG', false );
16
- define( 'BRIZY_VERSION', '1.0.12' );
17
  define( 'BRIZY_EDITOR_VERSION', '1.0.36' );
18
  define( 'BRIZY_FILE', __FILE__ );
19
  define( 'BRIZY_PLUGIN_BASE', plugin_basename( BRIZY_FILE ) );
5
  * Plugin URI: https://brizy.io/
6
  * Author: Brizy.io
7
  * Author URI: https://brizy.io/
8
+ * Version: 1.0.13
9
  * Text Domain: brizy
10
  * License: GPLv3
11
  * Domain Path: /languages
13
 
14
  define( 'BRIZY_DEVELOPMENT', false );
15
  define( 'BRIZY_LOG', false );
16
+ define( 'BRIZY_VERSION', '1.0.13' );
17
  define( 'BRIZY_EDITOR_VERSION', '1.0.36' );
18
  define( 'BRIZY_FILE', __FILE__ );
19
  define( 'BRIZY_PLUGIN_BASE', plugin_basename( BRIZY_FILE ) );
editor/project.php CHANGED
@@ -50,27 +50,29 @@ class Brizy_Editor_Project extends Brizy_Admin_Serializable {
50
  if ( isset( self::$instance ) ) {
51
  return self::$instance;
52
  }
53
- $platform = new Brizy_Editor_API_Platform();
 
 
54
  try {
55
  $brizy_editor_storage_common = Brizy_Editor_Storage_Common::instance();
56
  self::$instance = $brizy_editor_storage_common->get( self::BRIZY_PROJECT );
57
  } catch ( Brizy_Editor_Exceptions_NotFound $e ) {
58
- self::$instance = self::create( $platform->isUserCreatedLocally() );
59
  } catch ( Exception $e ) {
60
  Brizy_Logger::instance()->exception( $e );
61
  }
62
 
63
- try {
64
- if ( ! $platform->isUserCreatedLocally() ) {
65
- self::$instance->checkSignature();
66
- }
67
- } catch ( Brizy_Editor_Exceptions_SignatureMismatch $e ) {
68
- Brizy_Logger::instance()->notice( "Project signature mismatch" );
69
- self::$instance = self::create( self::$instance->get_id(), false );
70
- } catch ( Exception $e ) {
71
- Brizy_Logger::instance()->exception( $e );
72
- throw new Exception( 'Unable to check the signature.' );
73
- }
74
 
75
  return self::$instance;
76
  }
50
  if ( isset( self::$instance ) ) {
51
  return self::$instance;
52
  }
53
+
54
+ // $platform = new Brizy_Editor_API_Platform();
55
+
56
  try {
57
  $brizy_editor_storage_common = Brizy_Editor_Storage_Common::instance();
58
  self::$instance = $brizy_editor_storage_common->get( self::BRIZY_PROJECT );
59
  } catch ( Brizy_Editor_Exceptions_NotFound $e ) {
60
+ self::$instance = self::create( );
61
  } catch ( Exception $e ) {
62
  Brizy_Logger::instance()->exception( $e );
63
  }
64
 
65
+ // try {
66
+ // if ( ! $platform->isUserCreatedLocally() ) {
67
+ // self::$instance->checkSignature();
68
+ // }
69
+ // } catch ( Brizy_Editor_Exceptions_SignatureMismatch $e ) {
70
+ // Brizy_Logger::instance()->notice( "Project signature mismatch" );
71
+ // self::$instance = self::create( self::$instance->get_id(), false );
72
+ // } catch ( Exception $e ) {
73
+ // Brizy_Logger::instance()->exception( $e );
74
+ // throw new Exception( 'Unable to check the signature.' );
75
+ // }
76
 
77
  return self::$instance;
78
  }
editor/user.php CHANGED
@@ -54,20 +54,20 @@ class Brizy_Editor_User extends Brizy_Admin_Serializable implements Brizy_Editor
54
 
55
  try {
56
  $user = new Brizy_Editor_User( Brizy_Editor_Storage_Common::instance() );
57
- if ( ! $platform->isUserCreatedLocally() ) {
58
- $user->checkSignature();
59
- }
60
  } catch ( Brizy_Editor_Exceptions_SignatureMismatch $e ) {
61
- $platform->createUser( $user->getPlatformUserId(), false );
62
- $user = new Brizy_Editor_User( Brizy_Editor_Storage_Common::instance() );
63
  } catch ( Brizy_Editor_Exceptions_NotFound $e ) {
64
  $platform->createUser( );
65
  $user = new Brizy_Editor_User( Brizy_Editor_Storage_Common::instance() );
66
  }
67
 
68
- if ( ! $platform->isUserCreatedLocally() && ( ! $user->token || $user->token->expired() ) ) {
69
- $user->auth();
70
- }
71
 
72
  return self::$instance = $user;
73
  }
54
 
55
  try {
56
  $user = new Brizy_Editor_User( Brizy_Editor_Storage_Common::instance() );
57
+ // if ( ! $platform->isUserCreatedLocally() ) {
58
+ // $user->checkSignature();
59
+ // }
60
  } catch ( Brizy_Editor_Exceptions_SignatureMismatch $e ) {
61
+ // $platform->createUser( $user->getPlatformUserId(), false );
62
+ // $user = new Brizy_Editor_User( Brizy_Editor_Storage_Common::instance() );
63
  } catch ( Brizy_Editor_Exceptions_NotFound $e ) {
64
  $platform->createUser( );
65
  $user = new Brizy_Editor_User( Brizy_Editor_Storage_Common::instance() );
66
  }
67
 
68
+ // if ( ! $platform->isUserCreatedLocally() && ( ! $user->token || $user->token->expired() ) ) {
69
+ // $user->auth();
70
+ // }
71
 
72
  return self::$instance = $user;
73
  }
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: brizy, page builder, editor, visual editor, wysiwyg, landing page, drag-an
4
  Requires at least: 4.5
5
  Tested up to: 4.9
6
  Requires PHP: 5.4
7
- Stable tag: 1.0.12
8
  License: GPLv3
9
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
10
 
@@ -129,6 +129,9 @@ The progress you're making while building your page is always backed up in the c
129
 
130
  == Changelog ==
131
 
 
 
 
132
  = 1.0.12 - 2018-06-13 =
133
  * New: Added WordPress form integration
134
  * New: Added FontWeight and LetterSpacing for RichText element on Mobile
4
  Requires at least: 4.5
5
  Tested up to: 4.9
6
  Requires PHP: 5.4
7
+ Stable tag: 1.0.13
8
  License: GPLv3
9
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
10
 
129
 
130
  == Changelog ==
131
 
132
+ = 1.0.13 - 2018-06-13 =
133
+ Fixed: Removed signature and token check
134
+
135
  = 1.0.12 - 2018-06-13 =
136
  * New: Added WordPress form integration
137
  * New: Added FontWeight and LetterSpacing for RichText element on Mobile
vendor/autoload.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
- return ComposerAutoloaderInit8f1793bb15909735df789a85d3039300::getLoader();
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
+ return ComposerAutoloaderInit57f5617a996d9af2cc94a96797722839::getLoader();
vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInit8f1793bb15909735df789a85d3039300
6
  {
7
  private static $loader;
8
 
@@ -19,15 +19,15 @@ class ComposerAutoloaderInit8f1793bb15909735df789a85d3039300
19
  return self::$loader;
20
  }
21
 
22
- spl_autoload_register(array('ComposerAutoloaderInit8f1793bb15909735df789a85d3039300', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
- spl_autoload_unregister(array('ComposerAutoloaderInit8f1793bb15909735df789a85d3039300', 'loadClassLoader'));
25
 
26
  $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
27
  if ($useStaticLoader) {
28
  require_once __DIR__ . '/autoload_static.php';
29
 
30
- call_user_func(\Composer\Autoload\ComposerStaticInit8f1793bb15909735df789a85d3039300::getInitializer($loader));
31
  } else {
32
  $map = require __DIR__ . '/autoload_namespaces.php';
33
  foreach ($map as $namespace => $path) {
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
+ class ComposerAutoloaderInit57f5617a996d9af2cc94a96797722839
6
  {
7
  private static $loader;
8
 
19
  return self::$loader;
20
  }
21
 
22
+ spl_autoload_register(array('ComposerAutoloaderInit57f5617a996d9af2cc94a96797722839', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
+ spl_autoload_unregister(array('ComposerAutoloaderInit57f5617a996d9af2cc94a96797722839', 'loadClassLoader'));
25
 
26
  $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
27
  if ($useStaticLoader) {
28
  require_once __DIR__ . '/autoload_static.php';
29
 
30
+ call_user_func(\Composer\Autoload\ComposerStaticInit57f5617a996d9af2cc94a96797722839::getInitializer($loader));
31
  } else {
32
  $map = require __DIR__ . '/autoload_namespaces.php';
33
  foreach ($map as $namespace => $path) {
vendor/composer/autoload_static.php CHANGED
@@ -4,7 +4,7 @@
4
 
5
  namespace Composer\Autoload;
6
 
7
- class ComposerStaticInit8f1793bb15909735df789a85d3039300
8
  {
9
  public static $prefixLengthsPsr4 = array (
10
  'T' =>
@@ -33,9 +33,9 @@ class ComposerStaticInit8f1793bb15909735df789a85d3039300
33
  public static function getInitializer(ClassLoader $loader)
34
  {
35
  return \Closure::bind(function () use ($loader) {
36
- $loader->prefixLengthsPsr4 = ComposerStaticInit8f1793bb15909735df789a85d3039300::$prefixLengthsPsr4;
37
- $loader->prefixDirsPsr4 = ComposerStaticInit8f1793bb15909735df789a85d3039300::$prefixDirsPsr4;
38
- $loader->prefixesPsr0 = ComposerStaticInit8f1793bb15909735df789a85d3039300::$prefixesPsr0;
39
 
40
  }, null, ClassLoader::class);
41
  }
4
 
5
  namespace Composer\Autoload;
6
 
7
+ class ComposerStaticInit57f5617a996d9af2cc94a96797722839
8
  {
9
  public static $prefixLengthsPsr4 = array (
10
  'T' =>
33
  public static function getInitializer(ClassLoader $loader)
34
  {
35
  return \Closure::bind(function () use ($loader) {
36
+ $loader->prefixLengthsPsr4 = ComposerStaticInit57f5617a996d9af2cc94a96797722839::$prefixLengthsPsr4;
37
+ $loader->prefixDirsPsr4 = ComposerStaticInit57f5617a996d9af2cc94a96797722839::$prefixDirsPsr4;
38
+ $loader->prefixesPsr0 = ComposerStaticInit57f5617a996d9af2cc94a96797722839::$prefixesPsr0;
39
 
40
  }, null, ClassLoader::class);
41
  }