pageflow 15.1.0 → 15.1.1

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of pageflow might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 14b74c67c4c51cb8e8b753f5ba3b9a285fade60db4af15a81189a4986ab695cf
4
- data.tar.gz: ac8d1c183d0e9d0d13c621523f117a060e18cbad35feb47cf4796ff6e55d44eb
3
+ metadata.gz: 203c5cb423621d722ccfb9e7bf94eb027f9ba7778e60dbe4f18f9aa1a555eba7
4
+ data.tar.gz: 34d5c5dd0c5d08e2cec1286dd0e69f61c850318276e978400d1e5d2e1c16fa29
5
5
  SHA512:
6
- metadata.gz: b3f281f75b9c458be05082c8bdc5e23773e9662c23efddaa55e1c783dafde77484e94a67386e6e7743950cf3411ee0024f542077ebfafb8e64ef7154aaeb95a8
7
- data.tar.gz: bf6bae79a9eee4cecd0c9d69dce4fb67be8c7fcd0357f5f2a02cfae80e9238ff29c639e9ef25c5ec8f465e0c433b301932d76426b2c9e4a8d44230bb2bf438bf
6
+ metadata.gz: 8c57812411aac458a0b4fe439420d6a1787ba4d416dead1b908e1cffc198fcf07892d213283d66a56e1fa79c80762613039c200825ae1f38278db624cd8a17ea
7
+ data.tar.gz: 3183b00602894f3cf24066be949e5b9f7a23e4572bc1ade0761443008a1a3a4926716c5e9361971220c6cfe78cc4510125a088df8fc00e11ddd3ad864644380d
@@ -1,5 +1,14 @@
1
1
  # CHANGELOG
2
2
 
3
+ ### Version 15.1.1
4
+
5
+ 2020-02-12
6
+
7
+ [Compare changes](https://github.com/codevise/pageflow/compare/v15.1.0...v15.1.1)
8
+
9
+ - Re-add entry.configuration in editor for backwards compatibility
10
+ ([#1332](https://github.com/codevise/pageflow/pull/1332))
11
+
3
12
  ### Version 15.1.0
4
13
 
5
14
  2020-02-05
@@ -6077,7 +6077,16 @@ this.pageflow._editorGlobalInterop = (function (exports, Backbone, _$1, Marionet
6077
6077
  initialize: function initialize(attributes, options) {
6078
6078
  options = options || {};
6079
6079
  this.metadata = new EntryMetadata(this.get('metadata') || {});
6080
- this.metadata.parent = this;
6080
+ this.metadata.parent = this; // In 15.1 `entry.configuration` was turned into a new `Metadata`
6081
+ // model. Some of the entry type specific data (like
6082
+ // `home_button_enabled`) was extraced into
6083
+ // `entry.metadata.configuration`. Attributes like `title` or `locale`
6084
+ // which used to live in `entry.configuration` now live in
6085
+ // entry.metadata. Since some plugins (e.g. `pageflow-vr`) depend on
6086
+ // reading the locale from `entry.configuration`, this `configuration`
6087
+ // keeps backwards compatibility.
6088
+
6089
+ this.configuration = this.metadata;
6081
6090
  this.themes = options.themes || state.themes;
6082
6091
  this.files = options.files || state.files;
6083
6092
  this.fileTypes = options.fileTypes || editor$1.fileTypes;
@@ -6048,7 +6048,16 @@ var pageflow_paged = (function (exports, Backbone, _$1, Marionette, $, I18n$1, C
6048
6048
  initialize: function initialize(attributes, options) {
6049
6049
  options = options || {};
6050
6050
  this.metadata = new EntryMetadata(this.get('metadata') || {});
6051
- this.metadata.parent = this;
6051
+ this.metadata.parent = this; // In 15.1 `entry.configuration` was turned into a new `Metadata`
6052
+ // model. Some of the entry type specific data (like
6053
+ // `home_button_enabled`) was extraced into
6054
+ // `entry.metadata.configuration`. Attributes like `title` or `locale`
6055
+ // which used to live in `entry.configuration` now live in
6056
+ // entry.metadata. Since some plugins (e.g. `pageflow-vr`) depend on
6057
+ // reading the locale from `entry.configuration`, this `configuration`
6058
+ // keeps backwards compatibility.
6059
+
6060
+ this.configuration = this.metadata;
6052
6061
  this.themes = options.themes || state.themes;
6053
6062
  this.files = options.files || state.files;
6054
6063
  this.fileTypes = options.fileTypes || editor$1.fileTypes;
@@ -1,3 +1,3 @@
1
1
  module Pageflow
2
- VERSION = '15.1.0'.freeze
2
+ VERSION = '15.1.1'.freeze
3
3
  end
@@ -3294,7 +3294,16 @@ var Entry = Backbone.Model.extend({
3294
3294
  initialize: function initialize(attributes, options) {
3295
3295
  options = options || {};
3296
3296
  this.metadata = new EntryMetadata(this.get('metadata') || {});
3297
- this.metadata.parent = this;
3297
+ this.metadata.parent = this; // In 15.1 `entry.configuration` was turned into a new `Metadata`
3298
+ // model. Some of the entry type specific data (like
3299
+ // `home_button_enabled`) was extraced into
3300
+ // `entry.metadata.configuration`. Attributes like `title` or `locale`
3301
+ // which used to live in `entry.configuration` now live in
3302
+ // entry.metadata. Since some plugins (e.g. `pageflow-vr`) depend on
3303
+ // reading the locale from `entry.configuration`, this `configuration`
3304
+ // keeps backwards compatibility.
3305
+
3306
+ this.configuration = this.metadata;
3298
3307
  this.themes = options.themes || state.themes;
3299
3308
  this.files = options.files || state.files;
3300
3309
  this.fileTypes = options.fileTypes || editor$1.fileTypes;
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pageflow
3
3
  version: !ruby/object:Gem::Version
4
- version: 15.1.0
4
+ version: 15.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Codevise Solutions Ltd
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-02-05 00:00:00.000000000 Z
11
+ date: 2020-02-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -1059,7 +1059,6 @@ files:
1059
1059
  - app/assets/javascripts/pageflow/components.js
1060
1060
  - app/assets/javascripts/pageflow/dist/editor.js
1061
1061
  - app/assets/javascripts/pageflow/dist/frontend.js
1062
- - app/assets/javascripts/pageflow/dist/index.js
1063
1062
  - app/assets/javascripts/pageflow/dist/react-client.js
1064
1063
  - app/assets/javascripts/pageflow/dist/react-server.js
1065
1064
  - app/assets/javascripts/pageflow/dist/ui.js
@@ -1,3 +0,0 @@
1
- export function hello() {
2
- console.log('hello');
3
- }