Astra Starter Sites - Version 2.6.6

Version Description

Download this release

Release Info

Developer vrundakansara
Plugin Icon Astra Starter Sites
Version 2.6.6
Comparing to
See all releases

Code changes from version 2.6.5 to 2.6.6

astra-sites.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Starter Templates
4
  * Plugin URI: https://wpastra.com/
5
  * Description: Starter Templates is all in one solution for complete starter sites, single page templates, blocks & images. This plugin offers the premium library of ready templates & provides quick access to beautiful Pixabay images that can be imported in your website easily.
6
- * Version: 2.6.5
7
  * Author: Brainstorm Force
8
  * Author URI: https://www.brainstormforce.com
9
  * Text Domain: astra-sites
@@ -19,7 +19,7 @@ if ( ! defined( 'ASTRA_SITES_NAME' ) ) {
19
  }
20
 
21
  if ( ! defined( 'ASTRA_SITES_VER' ) ) {
22
- define( 'ASTRA_SITES_VER', '2.6.5' );
23
  }
24
 
25
  if ( ! defined( 'ASTRA_SITES_FILE' ) ) {
3
  * Plugin Name: Starter Templates
4
  * Plugin URI: https://wpastra.com/
5
  * Description: Starter Templates is all in one solution for complete starter sites, single page templates, blocks & images. This plugin offers the premium library of ready templates & provides quick access to beautiful Pixabay images that can be imported in your website easily.
6
+ * Version: 2.6.6
7
  * Author: Brainstorm Force
8
  * Author URI: https://www.brainstormforce.com
9
  * Text Domain: astra-sites
19
  }
20
 
21
  if ( ! defined( 'ASTRA_SITES_VER' ) ) {
22
+ define( 'ASTRA_SITES_VER', '2.6.6' );
23
  }
24
 
25
  if ( ! defined( 'ASTRA_SITES_FILE' ) ) {
inc/assets/js/src/content.js DELETED
@@ -1,22 +0,0 @@
1
- wp.media.view.AstraSearch = require( './search.js' );
2
-
3
- var AstraContent = wp.media.View.extend({
4
-
5
- tagName: 'div',
6
- className: 'ast-attachments-search-wrap',
7
- initialize: function() {
8
- this.value = this.options.value;
9
- },
10
-
11
- render: function() {
12
-
13
- var search = new wp.media.view.AstraSearch({
14
- controller: this.controller,
15
- model: this.model,
16
- });
17
- this.views.add( search );
18
- return this;
19
- }
20
- });
21
-
22
- module.exports = AstraContent;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
inc/assets/js/src/frame.js DELETED
@@ -1,49 +0,0 @@
1
- var Frame = wp.media.view.Frame,
2
- AstraAttachmentsBrowser;
3
-
4
- wp.media.view.AstraContent = require( './content.js' );
5
-
6
- AstraAttachmentsBrowser = Frame.extend({
7
- tagName: 'div',
8
- className: 'attachments-browser ast-attachments-browser',
9
- images : [],
10
- object: [],
11
- initialize: function() {
12
- _.defaults( this.options, {
13
- filters: false,
14
- search: true,
15
- date: true,
16
- display: false,
17
- sidebar: true,
18
- AttachmentView: wp.media.view.Attachment.Library
19
- });
20
-
21
- // Add a heading before the attachments list.
22
- this.createContent();
23
- },
24
-
25
- createContent: function() {
26
-
27
- this.attachmentsHeading = new wp.media.view.Heading( {
28
- text: astraImages.title,
29
- level: 'h3',
30
- className: 'ast-media-views-heading'
31
- } );
32
- // this.views.add( this.attachmentsHeading );
33
- this.views.add( new wp.media.view.AstraContent );
34
- this.$el.find( '.ast-image__search' ).wrapAll( '<div class="ast-image__search-wrap">' ).parent().html();
35
- this.$el.find( '.ast-image__search-wrap' ).append( '<span class="ast-icon-search search-icon"></span>' );
36
- },
37
-
38
- photoUploadComplete: function( savedImage ) {
39
- if ( savedImage && savedImage.attachmentData) {
40
- this.model.frame.content.mode("browse")
41
- this.model.get("selection").add( savedImage.attachmentData )
42
- this.model.frame.trigger("library:selection:add")
43
- this.model.get("selection")
44
- jQuery(".media-frame .media-button-select").click()
45
- }
46
- }
47
- });
48
-
49
- module.exports = AstraAttachmentsBrowser;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
inc/assets/js/src/index.js DELETED
@@ -1,80 +0,0 @@
1
- (function($){
2
-
3
- var AstraImages = {
4
-
5
- init: function() {
6
-
7
- if ( undefined != wp && wp.media ) {
8
-
9
- var $ = jQuery,
10
- oldMediaFrameSelect = wp.media.view.MediaFrame.Select;
11
-
12
- wp.media.view.AstraAttachmentsBrowser = require( './frame.js' );
13
-
14
- wp.media.view.MediaFrame.Select = oldMediaFrameSelect.extend( {
15
-
16
- // Tab / Router
17
- browseRouter( routerView ) {
18
- oldMediaFrameSelect.prototype.browseRouter.apply( this, arguments );
19
- routerView.set( {
20
- astraimages: {
21
- text: astraImages.title,
22
- priority: 70,
23
- },
24
- } );
25
- },
26
-
27
- // Handlers
28
- bindHandlers() {
29
- oldMediaFrameSelect.prototype.bindHandlers.apply( this, arguments );
30
- this.on( 'content:create:astraimages', this.astraimages, this );
31
- },
32
-
33
- /**
34
- * Render callback for the content region in the `browse` mode.
35
- *
36
- * @param {wp.media.controller.Region} contentRegion
37
- */
38
- astraimages( contentRegion ) {
39
- const state = this.state();
40
- // Browse our library of attachments.
41
- let thisView = new wp.media.view.AstraAttachmentsBrowser({
42
- controller: this,
43
- model: state,
44
- AttachmentView: state.get( 'AttachmentView' )
45
- });
46
- contentRegion.view = thisView
47
- wp.media.view.AstraAttachmentsBrowser.object = thisView
48
- setTimeout( function() {
49
- $( document ).trigger( 'ast-image__set-scope' );
50
- }, 100 );
51
- }
52
-
53
- });
54
- }
55
- },
56
-
57
- };
58
-
59
-
60
- /**
61
- * Initialize AstraImages
62
- */
63
- $( function(){
64
-
65
- AstraImages.init();
66
-
67
- if ( astraImages.is_bb_active && astraImages.is_bb_editor ) {
68
- if ( undefined !== FLBuilder ) {
69
- if ( null !== FLBuilder._singlePhotoSelector ) {
70
- FLBuilder._singlePhotoSelector.on( 'open', function( event ) {
71
- AstraImages.init();
72
- } );
73
- }
74
- }
75
- }
76
-
77
- });
78
-
79
- })(jQuery);
80
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
inc/assets/js/src/search.js DELETED
@@ -1,85 +0,0 @@
1
- $ = jQuery
2
- // Search input view controller.
3
- var AstraSearch = wp.Backbone.View.extend({
4
-
5
- tagName: 'input',
6
- className: 'ast-image__search',
7
- id: 'ast-image-search-input',
8
- searching: false,
9
- images: [],
10
- attributes: {
11
- placeholder: astraImages.search_placeholder,
12
- type: 'search',
13
- 'aria-describedby': 'live-search-desc'
14
- },
15
-
16
- events: {
17
- 'search' : 'search',
18
- 'keyup': 'search',
19
- 'blur': 'pushState',
20
- 'infinite': 'infinite',
21
- },
22
-
23
- initialize: function( options ) {
24
-
25
- this.parent = options.parent;
26
- },
27
-
28
- infinite: function( event ) {
29
-
30
- // Since doSearch is debounced, it will only run when user input comes to a rest.
31
- this.doSearch( event );
32
- },
33
-
34
- search: function( event ) {
35
-
36
- // Clear on escape.
37
- if ( event.type === 'keyup' && event.which === 27 ) {
38
- event.target.value = '';
39
- }
40
- if( '' == event.target.value ) {
41
- this.$el.removeClass('has-input');
42
- } else {
43
- this.$el.addClass('has-input');
44
- }
45
-
46
- $scope.find( '.ast-image__skeleton' ).animate({ scrollTop: 0 }, 0 );
47
- $( 'body' ).data( 'page', 1 );
48
- AstraImageCommon.infiniteLoad = false;
49
-
50
- let thisObject = this;
51
- setTimeout( function(){
52
- thisObject.doSearch( event );
53
- }, 1000 );
54
- },
55
-
56
- // Runs a search on the theme collection.
57
- doSearch: function( event ) {
58
-
59
- if ( this.searching ) {
60
- return;
61
- }
62
-
63
- let thisObject = this;
64
- thisObject.searching = true;
65
- AstraImageCommon.config.q = event.target.value;
66
- var url = astraImages.pixabay_url + '?' + $.param( AstraImageCommon.config );
67
-
68
- if ( url ) {
69
- fetch( url ).then(function (response) {
70
- return response.json();
71
- }).then(function (result) {
72
- thisObject.searching = false;
73
- this.images = result.hits;
74
- wp.media.view.AstraAttachmentsBrowser.images = this.images;
75
- $( document ).trigger( 'ast-image__refresh' );
76
- });
77
- }
78
- },
79
-
80
- pushState: function( event ) {
81
- $( document ).trigger( 'ast-image__refresh' );
82
- }
83
- });
84
-
85
- module.exports = AstraSearch;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
inc/classes/class-astra-sites.php CHANGED
@@ -426,7 +426,7 @@ if ( ! class_exists( 'Astra_Sites' ) ) :
426
  if ( 200 !== $code && false !== strpos( $message, 'Cloudflare' ) ) {
427
  $ip = Astra_Sites_Helper::get_client_ip();
428
  /* translators: %s IP address. */
429
- $message = sprintf( __( 'The IP %1$s is blocked with the error code: %2$s', 'astra-sites' ), $ip, $code );
430
  $code = 'Cloudflare';
431
  }
432
 
@@ -1352,7 +1352,7 @@ if ( ! class_exists( 'Astra_Sites' ) ) :
1352
  'first_import_complete' => get_option( 'astra_sites_import_complete' ),
1353
  'server_import_primary_error' => __( 'Looks like the template you are importing is temporarily not available.', 'astra-sites' ),
1354
  'client_import_primary_error' => __( 'We could not start the import process and this is the message from WordPress:', 'astra-sites' ),
1355
- 'cloudflare_import_primary_error' => __( 'We could not start the import process.', 'astra-sites' ),
1356
  )
1357
  );
1358
 
426
  if ( 200 !== $code && false !== strpos( $message, 'Cloudflare' ) ) {
427
  $ip = Astra_Sites_Helper::get_client_ip();
428
  /* translators: %s IP address. */
429
+ $message = sprintf( __( 'Client IP: %1$s </br> Error code: %2$s', 'astra-sites' ), $ip, $code );
430
  $code = 'Cloudflare';
431
  }
432
 
1352
  'first_import_complete' => get_option( 'astra_sites_import_complete' ),
1353
  'server_import_primary_error' => __( 'Looks like the template you are importing is temporarily not available.', 'astra-sites' ),
1354
  'client_import_primary_error' => __( 'We could not start the import process and this is the message from WordPress:', 'astra-sites' ),
1355
+ 'cloudflare_import_primary_error' => __( 'There was an error connecting to the Starter Templates API from Cloudflare.', 'astra-sites' ),
1356
  )
1357
  );
1358
 
inc/includes/admin-page.php CHANGED
@@ -649,19 +649,23 @@ $site_import_options = apply_filters(
649
  ?>
650
  <script type="text/template" id="tmpl-astra-sites-request-failed-user">
651
  <p>{{{ data.primary }}}</p>
652
- <div class="current-importing-status">{{{ data.error.code }}} - {{{ data.error.message }}}</div>
 
 
 
 
653
  <# if ( 'WP_Error' === data.error.code ) { #>
654
  <p>
655
  <?php
656
  /* translators: %s doc link. */
657
- printf( esc_html__( 'We have listed the <a href="%s" target="_blank">possible solutions here</a> to help you resolve this.', 'astra-sites' ), 'https://wpastra.com/docs/fix-starter-template-importing-issues/' );
658
  ?>
659
  </p>
660
  <# } else if ( 'Cloudflare' === data.error.code ) { #>
661
  <p>
662
  <?php
663
  /* translators: %s doc link. */
664
- printf( esc_html__( 'Please report this error <a href="%s" target="_blank">here</a> so we can fix it.', 'astra-sites' ), 'https://wpastra.com/support/open-a-ticket/' );
665
  ?>
666
  </p>
667
  <# } else { #>
@@ -672,7 +676,7 @@ $site_import_options = apply_filters(
672
  $url = 'https://wpastra.com/starter-templates-support/?ip=' . $ip;
673
  ?>
674
  <#
675
- var url = '<?php echo esc_url( $url ); ?>';
676
  url += '&template-id=' + data.id;
677
  url += '&subject=' + data.error.code + ' - ' + data.error.message;
678
 
649
  ?>
650
  <script type="text/template" id="tmpl-astra-sites-request-failed-user">
651
  <p>{{{ data.primary }}}</p>
652
+ <# if ( 'Cloudflare' === data.error.code ) { #>
653
+ <div class="current-importing-status">{{{ data.error.message }}}</div>
654
+ <# } else { #>
655
+ <div class="current-importing-status">{{{ data.error.code }}} - {{{ data.error.message }}}</div>
656
+ <# } #>
657
  <# if ( 'WP_Error' === data.error.code ) { #>
658
  <p>
659
  <?php
660
  /* translators: %s doc link. */
661
+ printf( __( 'We have listed the <a href="%s" target="_blank">possible solutions here</a> to help you resolve this.', 'astra-sites' ), 'https://wpastra.com/docs/fix-starter-template-importing-issues/' ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
662
  ?>
663
  </p>
664
  <# } else if ( 'Cloudflare' === data.error.code ) { #>
665
  <p>
666
  <?php
667
  /* translators: %s doc link. */
668
+ printf( __( 'Please report this error <a href="%s" target="_blank">here</a> so we can fix it.', 'astra-sites' ), 'https://wpastra.com/support/open-a-ticket/' ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
669
  ?>
670
  </p>
671
  <# } else { #>
676
  $url = 'https://wpastra.com/starter-templates-support/?ip=' . $ip;
677
  ?>
678
  <#
679
+ var url = '<?php echo $url; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>';
680
  url += '&template-id=' + data.id;
681
  url += '&subject=' + data.error.code + ' - ' + data.error.message;
682
 
inc/lib/ast-block-templates/dist/json/ast-block-templates-block-requests.json CHANGED
File without changes
inc/lib/ast-block-templates/dist/json/ast-block-templates-blocks-1.json CHANGED
File without changes
inc/lib/ast-block-templates/dist/json/ast-block-templates-site-requests.json CHANGED
File without changes
inc/lib/ast-block-templates/dist/json/ast-block-templates-sites-1.json CHANGED
File without changes
inc/lib/ast-block-templates/package.json DELETED
@@ -1,81 +0,0 @@
1
- {
2
- "name": "ast-block-templates",
3
- "version": "1.0.0",
4
- "description": "",
5
- "main": "index.js",
6
- "scripts": {
7
- "dev": "webpack --watch --mode development",
8
- "start": "webpack-dev-server --mode development --open",
9
- "build": "webpack --mode production",
10
- "test": "jest --config ./jest.config.json",
11
- "test:watch": "npm run test -- --watch",
12
- "package": "bin\\build.sh",
13
- "release": "npm run build && npm run package"
14
- },
15
- "keywords": [],
16
- "author": "",
17
- "license": "ISC",
18
- "devDependencies": {
19
- "@babel/cli": "^7.12.10",
20
- "@babel/core": "^7.12.10",
21
- "@babel/plugin-proposal-class-properties": "^7.12.1",
22
- "@babel/preset-env": "^7.12.11",
23
- "@babel/preset-react": "^7.12.10",
24
- "@testing-library/react": "^11.2.2",
25
- "babel-loader": "^8.2.2",
26
- "babel-plugin-lodash": "^3.3.4",
27
- "css-loader": "^4.3.0",
28
- "eslint": "^7.16.0",
29
- "eslint-config-airbnb-base": "^14.2.1",
30
- "eslint-plugin-import": "^2.22.1",
31
- "html-webpack-plugin": "^4.5.0",
32
- "prettier": "2.1.2",
33
- "sass": "^1.32.0",
34
- "sass-loader": "^10.1.0",
35
- "style-loader": "^1.3.0",
36
- "webpack": "^4.44.2",
37
- "webpack-cli": "^3.3.12",
38
- "webpack-dev-server": "^3.11.1"
39
- },
40
- "dependencies": {
41
- "@wordpress/data": "^4.26.0",
42
- "@wordpress/i18n": "^3.17.0",
43
- "babel-core": "^6.26.3",
44
- "babel-eslint": "^10.1.0",
45
- "babel-plugin-istanbul": "^6.0.0",
46
- "babel-plugin-syntax-dynamic-import": "^6.18.0",
47
- "babel-plugin-transform-decorators-legacy": "^1.3.5",
48
- "babel-plugin-transform-object-rest-spread": "^6.26.0",
49
- "babel-polyfill": "^6.26.0",
50
- "babel-preset-es2015": "^6.24.1",
51
- "babel-preset-react": "^6.24.1",
52
- "babel-preset-stage-2": "^6.24.1",
53
- "browser-sync": "^2.26.13",
54
- "browser-sync-webpack-plugin": "^2.3.0",
55
- "eslint-config-airbnb": "^18.2.1",
56
- "eslint-loader": "^4.0.2",
57
- "eslint-plugin-flowtype": "^5.2.0",
58
- "eslint-plugin-jsx-a11y": "^6.4.1",
59
- "eslint-plugin-react": "^7.22.0",
60
- "exports-loader": "^1.1.1",
61
- "expose-loader": "^1.0.3",
62
- "extract-text-webpack-plugin": "^3.0.2",
63
- "fuse.js": "^6.4.4",
64
- "gulp": "^4.0.2",
65
- "gulp-autoprefixer": "^7.0.1",
66
- "gulp-concat": "^2.6.1",
67
- "gulp-minify-css": "^1.2.4",
68
- "gulp-sass": "^4.1.0",
69
- "imports-loader": "^1.2.0",
70
- "jest": "^26.6.3",
71
- "jquery": "^3.5.1",
72
- "lodash": "^4.17.20",
73
- "node-sass": "^4.14.1",
74
- "path": "^0.12.7",
75
- "react": "^16.14.0",
76
- "react-dom": "^16.14.0",
77
- "redux-logger": "^3.0.6",
78
- "redux-multi": "^0.1.12",
79
- "refx": "^3.1.1"
80
- }
81
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
inc/lib/bsf-quick-links/readme.md DELETED
@@ -1,49 +0,0 @@
1
- # BSF Quick Links
2
-
3
- BSF Quick Links allows you to show a list of your most commonly used links and access them from our plugins settings page
4
- > Example
5
- > - Upgrade to Pro.
6
- > - Documentation
7
- > - Join our community and access them from our plugins settings page.
8
-
9
-
10
- ### How to use? ###
11
- @see https://github.com/brainstormforce/astra-sites/blob/3c42ceeeb466a2f4e7656ba0d5b43a8a9909e6fd/inc/classes/class-astra-sites.php#L143
12
-
13
- - Add below action into respective plugins settings page.
14
- ```sh
15
- add_action( 'admin_footer', array( $this, 'add_quick_links' ) );
16
- ```
17
-
18
- - Callback function
19
- ```sh
20
- public function add_quick_links() {
21
- $current_screen = get_current_screen();
22
-
23
- if ( 'plugin_settings_screen_name' !== $current_screen->id ) {
24
- return;
25
- }
26
-
27
- if ( Astra_Sites_White_Label::get_instance()->is_white_labeled() ) {
28
- return;
29
- }
30
-
31
- $data = array(
32
- 'default_logo' => array(
33
- 'title' => '', //title on logo hover.
34
- 'url' => '',
35
- ),
36
- 'links' => array(
37
- array('label' => '','icon' => '','url' => ''),
38
- array('label' => '','icon' => '','url' => ''),
39
- array('label' => '','icon' => '','url' => ''),
40
- ...
41
- )
42
- );
43
- if ( defined( 'ASTRA_PRO_SITES_VER' ) ) {
44
- array_shift( $data['links'] ); //Exclude upgrade to pro link.
45
- }
46
-
47
- bsf_quick_links( $data );
48
- }
49
- ```
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
languages/astra-sites.pot CHANGED
@@ -2,9 +2,9 @@
2
  # This file is distributed under the same license as the Starter Templates package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Starter Templates 2.6.5\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/astra-sites\n"
7
- "POT-Creation-Date: 2021-05-18 06:00:32+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
@@ -645,7 +645,7 @@ msgstr ""
645
 
646
  #: inc/classes/class-astra-sites.php:429
647
  #. translators: %s IP address.
648
- msgid "The IP %1$s is blocked with the error code: %2$s"
649
  msgstr ""
650
 
651
  #: inc/classes/class-astra-sites.php:936
@@ -900,7 +900,7 @@ msgid ""
900
  msgstr ""
901
 
902
  #: inc/classes/class-astra-sites.php:1355
903
- msgid "We could not start the import process."
904
  msgstr ""
905
 
906
  #: inc/classes/class-astra-sites.php:1404
2
  # This file is distributed under the same license as the Starter Templates package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Starter Templates 2.6.6\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/astra-sites\n"
7
+ "POT-Creation-Date: 2021-05-18 13:07:40+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
645
 
646
  #: inc/classes/class-astra-sites.php:429
647
  #. translators: %s IP address.
648
+ msgid "Client IP: %1$s </br> Error code: %2$s"
649
  msgstr ""
650
 
651
  #: inc/classes/class-astra-sites.php:936
900
  msgstr ""
901
 
902
  #: inc/classes/class-astra-sites.php:1355
903
+ msgid "There was an error connecting to the Starter Templates API from Cloudflare."
904
  msgstr ""
905
 
906
  #: inc/classes/class-astra-sites.php:1404
package.json DELETED
@@ -1,125 +0,0 @@
1
- {
2
- "name": "astra-sites",
3
- "version": "2.6.1",
4
- "main": "Gruntfile.js",
5
- "author": "Brainstorm Force",
6
- "scripts": {
7
- "test": "echo \"Error: no test specified\" && exit 1",
8
- "start": "node inc/scripts/start.js",
9
- "build": "node inc/scripts/build.js"
10
- },
11
- "dependencies": {
12
- "@dr-kobros/react-webfont-loader": "^8.0.0",
13
- "@fonticonpicker/react-fonticonpicker": "^1.2.0",
14
- "@wordpress/api-fetch": "^2.2.8",
15
- "@wordpress/scripts": "^5.0.0",
16
- "autoprefixer": "^7.2.4",
17
- "babel-core": "^6.26.3",
18
- "babel-loader": "^7.1.5",
19
- "babel-plugin-transform-class-properties": "6.24.1",
20
- "babel-plugin-transform-object-rest-spread": "^6.26.0",
21
- "babel-plugin-transform-react-jsx": "^6.24.1",
22
- "babel-plugin-transform-runtime": "^6.23.0",
23
- "babel-preset-env": "^1.6.0",
24
- "chalk": "^2.4.2",
25
- "classnames": "^2.2.6",
26
- "concurrently": "^4.1.2",
27
- "extract-text-webpack-plugin": "^3.0.2",
28
- "filesize": "^3.5.11",
29
- "grunt-bumpup": "^0.6.3",
30
- "grunt-contrib-clean": "^1.1.0",
31
- "grunt-contrib-compress": "^1.4.3",
32
- "grunt-contrib-copy": "^1.0.0",
33
- "grunt-rtlcss": "^2.0.2",
34
- "grunt-text-replace": "^0.4.0",
35
- "grunt-wp-i18n": "^1.0.3",
36
- "gzip-size": "^4.1.0",
37
- "jquery": "^3.4.0",
38
- "node-sass": "^4.11.0",
39
- "ora": "^1.3.0",
40
- "postcss-loader": "^2.1.6",
41
- "prop-types": "^15.7.2",
42
- "querystringify": "^2.1.1",
43
- "raw-loader": "^0.5.1",
44
- "react": "^16.8.6",
45
- "react-dom": "^16.8.6",
46
- "react-select": "^2.4.3",
47
- "react-slick": "^0.23.2",
48
- "react-transition-group": "^2.9.0",
49
- "rtlcss": "^2.4.0",
50
- "sass-loader": "^6.0.6",
51
- "slick-carousel": "^1.8.1",
52
- "update-notifier": "^2.3.0",
53
- "webpack": "^3.1.0"
54
- },
55
- "babel": {
56
- "presets": [
57
- [
58
- "env",
59
- {
60
- "modules": false,
61
- "targets": {
62
- "browsers": [
63
- "last 2 Chrome versions",
64
- "last 2 Firefox versions",
65
- "last 2 Safari versions",
66
- "last 2 iOS versions",
67
- "last 1 Android version",
68
- "last 1 ChromeAndroid version",
69
- "ie 11"
70
- ]
71
- }
72
- }
73
- ]
74
- ],
75
- "plugins": [
76
- [
77
- "transform-object-rest-spread"
78
- ],
79
- [
80
- "transform-object-rest-spread",
81
- {
82
- "useBuiltIns": true
83
- }
84
- ],
85
- [
86
- "transform-react-jsx",
87
- {
88
- "pragma": "wp.element.createElement"
89
- }
90
- ],
91
- [
92
- "transform-runtime",
93
- {
94
- "helpers": false,
95
- "polyfill": false,
96
- "regenerator": true
97
- }
98
- ]
99
- ]
100
- },
101
- "devDependencies": {
102
- "babel-eslint": "^10.0.1",
103
- "eslint": "^5.16.0",
104
- "eslint-config-wordpress": "^2.0.0",
105
- "eslint-plugin-jest": "^21.27.2",
106
- "eslint-plugin-jsx-a11y": "^6.2.1",
107
- "eslint-plugin-react": "^7.12.4",
108
- "eslint-plugin-wordpress": "^0.1.0",
109
- "grunt": "^1.2.1",
110
- "grunt-bumpup": "^0.6.3",
111
- "grunt-contrib-clean": "^1.1.0",
112
- "grunt-contrib-compress": "^1.5.0",
113
- "grunt-contrib-copy": "^1.0.0",
114
- "grunt-text-replace": "^0.4.0",
115
- "grunt-wp-i18n": "^1.0.3",
116
- "grunt-wp-readme-to-markdown": "^2.0.1",
117
- "load-grunt-tasks": "^4.0.0",
118
- "memize": "^1.0.5",
119
- "react-masonry-component": "^6.2.1",
120
- "react-masonry-css": "^1.0.12",
121
- "react-memoize": "^1.0.1",
122
- "webfontloader": "^1.6.28",
123
- "webpack-config": "^7.5.0"
124
- }
125
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
readme.txt CHANGED
@@ -5,7 +5,7 @@ Tags: Elementor,Beaver Builder,Templates,Gutenberg,Astra Starter Sites
5
  Requires at least: 4.4
6
  Requires PHP: 5.3
7
  Tested up to: 5.7
8
- Stable tag: 2.6.5
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -149,16 +149,20 @@ We are open to suggestions and would love to work on topics that our users are l
149
 
150
  == Changelog ==
151
 
 
 
 
 
152
  v2.6.5 - 18-May-2021
153
- Improvement: Added better error messages to the failed import process.
154
 
155
  v2.6.4 - 11-May-2021
156
- Improvement: Added Quick links for a few important documents.
157
- Improvement: Added dynamic category support for the Gutenberg templates.
158
- Improvement: Removed color filter from Elementor block.
159
- Improvement: Change the Block Editor name with Gutenberg.
160
- Fix: Sync complete notice not closing on click.
161
- Fix: Elementor demo does not import if we try to import multiple times.
162
 
163
  v2.6.3 - 4-May-2021
164
  - Improvement: Advanced Options UI improvement.
5
  Requires at least: 4.4
6
  Requires PHP: 5.3
7
  Tested up to: 5.7
8
+ Stable tag: 2.6.6
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
149
 
150
  == Changelog ==
151
 
152
+ v2.6.6 - 18-May-2021
153
+ - Fix: Avoided the HTML being printed in one of the error message screens.
154
+ - Improvement: Improved error message when the requests fail to reach Starter Templates' servers.
155
+
156
  v2.6.5 - 18-May-2021
157
+ - Improvement: Added better error messages to the failed import process.
158
 
159
  v2.6.4 - 11-May-2021
160
+ - Improvement: Added Quick links for a few important documents.
161
+ - Improvement: Added dynamic category support for the Gutenberg templates.
162
+ - Improvement: Removed color filter from Elementor block.
163
+ - Improvement: Change the Block Editor name with Gutenberg.
164
+ - Fix: Sync complete notice not closing on click.
165
+ - Fix: Elementor demo does not import if we try to import multiple times.
166
 
167
  v2.6.3 - 4-May-2021
168
  - Improvement: Advanced Options UI improvement.