pageflow 15.0.0.rc2 → 15.0.0

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: f05fa676c8be9632e20359a7285033181a6735ca53aa89f93fdbe233fbc0ede2
4
- data.tar.gz: b3ebfdd01b595a904f5b0e53ac211d69d4fa5d81ea34f518bd12e11f6076b3df
3
+ metadata.gz: 6454ae1aadba5b85056494269fd413556388ad88df24da2b25e715bc6fa4ec59
4
+ data.tar.gz: 60ba991dfef235b247573e854f17d73e09bf2502ff1ec2c18bcdb0a3b145b929
5
5
  SHA512:
6
- metadata.gz: 013af6a873ca83977d0e6a4a1be59467d213ba15b747b77e0a74cfc4bed8195a920bde202bf3175f1d51f3a617f01f857fe4b8eef11ef62c8b4a99ddfb9a60db
7
- data.tar.gz: 2a86d385c5edf76330454590ee701fa9027525b69930e4dea16d8d97f0485c75b68d0ef8417813245b5e63c5589894311fd68f9d488f229af6edd204675409d5
6
+ metadata.gz: c1ca9dd8e9213b50bedaa9e35b6fb2cd51853f4b81808cb24873d9f9a71bc698276b9aca72b2edf230a334108e1dec80d8f6d776df9a3a7abbab9b86e09fb00f
7
+ data.tar.gz: acc99b36465fbc0a012ecf8b453af352230908db127d437ad4d9e50fdb4d6dc37dfff10698b95ed8305c5f84d5bb148a1394bbf58515836f26d0f4ce9de45798
data/CHANGELOG.md CHANGED
@@ -1,100 +1,69 @@
1
1
  # CHANGELOG
2
2
 
3
- ### Version 15.0.0.rc2
3
+ ### Version 15.0.0
4
4
 
5
- 2019-10-31
5
+ 2019-11-04
6
6
 
7
- [Compare changes](https://github.com/codevise/pageflow/compare/v15.0.0.rc1...v15.0.0.rc2)
7
+ [Compare changes](https://github.com/codevise/pageflow/compare/14-x-stable...v15.0.0)
8
8
 
9
- - Tweak import/export zip options
10
- ([#1234](https://github.com/codevise/pageflow/pull/1234))
11
- - Prevent further cases of perma id clashes
12
- ([#1233](https://github.com/codevise/pageflow/pull/1233))
13
- - Add active class color styling for mobile share panel
14
- ([#1232](https://github.com/codevise/pageflow/pull/1232))
15
-
16
- ### Version 15.0.0.rc1
17
-
18
- 2019-10-28
9
+ See
10
+ [changes grouped by pre releases](https://github.com/codevise/pageflow/blob/v15.0.0.rc2/CHANGELOG.md).
19
11
 
20
- [Compare changes](https://github.com/codevise/pageflow/compare/14-x-stable...v15.0.0.rc1)
12
+ #### Breaking Changes
21
13
 
22
- - Prevent perma_id clashes for concurrently created revision components
23
- ([#1225](https://github.com/codevise/pageflow/pull/1225))
24
- - Ensure caching of generated stylesheet is invaliated when files are
25
- added.
26
- ([#1224](https://github.com/codevise/pageflow/pull/1224))
14
+ - Refactor file modules
15
+ ([#1180](https://github.com/codevise/pageflow/pull/1180))
27
16
 
28
- ### Version 15.0.0.beta4
17
+ This version includes various refactorings and class renamings.
18
+ If you include any of the files or modules below, you need to update your code accordingly.
29
19
 
30
- 2019-10-24
20
+ ##### File modules:
21
+ HostedFile => UploadableFile (concerning uploading of files)\
22
+ UploadedFile => ReusableFile (concerning usage of files)
31
23
 
32
- [Compare changes](https://github.com/codevise/pageflow/compare/14-x-stable...v15.0.0.beta4)
24
+ ##### StateMachines:
25
+ ProcessedFileStateMachine => ImageAndTextTrackProcessingStateMachine\
26
+ EncodedFileStateMachine => MediaEncodingStateMachine
33
27
 
34
- - Add sassc-rails as development dependency
35
- ([#1222](https://github.com/codevise/pageflow/pull/1222))
36
- - Allow specifying prerequisites in file type lint specs
37
- ([#1221](https://github.com/codevise/pageflow/pull/1221))
38
- - Restrict sprockets as runtime depenency
39
- ([#1220](https://github.com/codevise/pageflow/pull/1220))
28
+ ##### StateMachineJobs:
29
+ ProcessFileJob => ProcessImageOrTextTrackJob
40
30
 
41
- ### Version 15.0.0.beta3
31
+ - Introduce PermaId on FileUsage, change file lookup to PermaId throughout Pageflow codebase.
32
+ ([#1179](https://github.com/codevise/pageflow/pull/1179),
33
+ [#1194](https://github.com/codevise/pageflow/pull/1194))
42
34
 
43
- 2019-10-24
35
+ File lookup is now done via the `perma_id` of the files usage within the revisions scope.
36
+ Therefore it is strongly advised to change file lookup to the new RevisionFileHelper:
44
37
 
45
- [Compare changes](https://github.com/codevise/pageflow/compare/14-x-stable...v15.0.0.beta3)
38
+ I.e.
39
+ ```
40
+ Pageflow::Imagefile.find(some_id)
41
+ ```
42
+ has to become
43
+ ```
44
+ include RevisionFileHelper
45
+ [...]
46
+ find_file_in_entry(Pageflow::Imagefile, image_file_usage_perma_id)
47
+ ```
46
48
 
47
- #### Breaking Changes
49
+ Also see migration inside the PR.
48
50
 
49
51
  - Entry export/import
50
- ([#1219](https://github.com/codevise/pageflow/pull/1219))
52
+ ([#1219](https://github.com/codevise/pageflow/pull/1219),
53
+ [#1234](https://github.com/codevise/pageflow/pull/1234))
51
54
 
52
55
  File types need to be updated to integrate correctly with the new
53
56
  entry export/import feature. Check the updated
54
57
  ["Creating File Types" guide](https://github.com/codevise/pageflow/blob/master/doc/creating_file_types.md)
55
58
  for details.
56
59
 
57
- #### Published Entries
58
-
59
- - Info box pointer-events enabled for anchor tag
60
- ([#1214](https://github.com/codevise/pageflow/pull/1214))
61
- - More options for title loading spinner
62
- ([#1215](https://github.com/codevise/pageflow/pull/1215))
63
- - Theme options for logo and loading spinner
64
- ([#1216](https://github.com/codevise/pageflow/pull/1216))
65
-
66
- #### Editor
67
-
68
- - Make tabs in mobile editor touchable
69
- ([#1212](https://github.com/codevise/pageflow/pull/1212))
70
-
71
- #### Rails Engine
72
-
73
- - Require Sprockets < 4
74
- ([#1217](https://github.com/codevise/pageflow/pull/1217))
75
- - Drop pageflow_accounts_themes table
76
- ([#1205](https://github.com/codevise/pageflow/pull/1205))
77
- - Bug fix: fix entry membership create error
78
- ([#1196](https://github.com/codevise/pageflow/pull/1196))
79
- - Bug fix: fix missing analytics interpolator variables
80
- ([#1192](https://github.com/codevise/pageflow/pull/1192))
81
-
82
- ### Version 15.0.0.beta2
83
-
84
- 2019-08-01
85
-
86
- [Compare changes](https://github.com/codevise/pageflow/compare/v15.0.0.beta1...v15.0.0.beta2)
87
-
88
- - Move UsedFileTestHelper to support directory
89
- in order to make it available in Plugins.
90
- Require it in spec_helper to keep it available in Pageflow itself.
91
- ([#1194](https://github.com/codevise/pageflow/pull/1194))
60
+ #### Manual Update Step
92
61
 
93
62
  - Remove default charset utf8mb3. This is motivated by the popularity
94
63
  of emoji, which utf8mb3 doesn't support. Note that from Rails 6
95
64
  onwards, for MySQL utf8mb4 is also the default [1]. For existing
96
65
  Pageflow instances, especially when using MySQL 5.5 or 5.6, a switch
97
- to utf8mb4 might work better after setting INNODB_LARGE_PREFIX and
66
+ to utf8mb4 might work better after setting `INNODB_LARGE_PREFIX` and
98
67
  making related changes towards allowing a longer index key prefix
99
68
  [2], which in those versions isn't yet the default. For new
100
69
  installations, MySQL 5.7 is preferable to older versions, because,
@@ -109,49 +78,48 @@
109
78
 
110
79
  [3] https://dev.mysql.com/doc/refman/5.5/en/charset-unicode-conversion.html
111
80
 
112
- ### Version 15.0.0.beta1
113
-
114
- 2019-07-31
115
-
116
- [Compare changes](https://github.com/codevise/pageflow/compare/14-x-stable...v15.0.0.beta1)
117
-
118
- #### Breaking Changes
119
-
120
- - Refactor file modules
121
- ([#1180](https://github.com/codevise/pageflow/pull/1180))
122
-
123
- This version includes various refactorings and class renamings.
124
- If you include any of the files or modules below, you need to update your code accordingly.
81
+ #### Published Entries
125
82
 
126
- ##### File modules:
127
- HostedFile => UploadableFile (concerning uploading of files)\
128
- UploadedFile => ReusableFile (concerning usage of files)
83
+ - Update Twitter share URL
84
+ ([#1202](https://github.com/codevise/pageflow/pull/1202))
85
+ - Info box pointer-events enabled for anchor tag
86
+ ([#1214](https://github.com/codevise/pageflow/pull/1214))
87
+ - More options for title loading spinner
88
+ ([#1215](https://github.com/codevise/pageflow/pull/1215))
89
+ - Theme options for logo and loading spinner
90
+ ([#1216](https://github.com/codevise/pageflow/pull/1216))
91
+ - Add active class color styling for mobile share panel
92
+ ([#1232](https://github.com/codevise/pageflow/pull/1232))
129
93
 
130
- ##### StateMachines:
131
- ProcessedFileStateMachine => ImageAndTextTrackProcessingStateMachine\
132
- EncodedFileStateMachine => MediaEncodingStateMachine
94
+ #### Editor
133
95
 
134
- ##### StateMachineJobs:
135
- ProcessFileJob => ProcessImageOrTextTrackJob
96
+ - Make tabs in mobile editor touchable
97
+ ([#1212](https://github.com/codevise/pageflow/pull/1212))
98
+ - Prevent perma_id clashes for concurrently created revision components
99
+ ([#1225](https://github.com/codevise/pageflow/pull/1225),
100
+ [#1233](https://github.com/codevise/pageflow/pull/1233))
101
+ - Ensure caching of generated stylesheet is invaliated when files are
102
+ added.
103
+ ([#1224](https://github.com/codevise/pageflow/pull/1224))
136
104
 
137
- - Introduce PermaId on FileUsage, change file lookup to PermaId throughout Pageflow codebase.
138
- ([#1179](https://github.com/codevise/pageflow/pull/1179))
105
+ #### Rails Engine
139
106
 
140
- File lookup is now done via the `perma_id` of the files usage within the revisions scope.
141
- Therefore it is strongly advised to change file lookup to the new RevisionFileHelper:
107
+ - Require Sprockets < 4
108
+ ([#1217](https://github.com/codevise/pageflow/pull/1217),
109
+ [#1220](https://github.com/codevise/pageflow/pull/1220))
110
+ - Drop `pageflow_accounts_themes` table
111
+ ([#1205](https://github.com/codevise/pageflow/pull/1205))
112
+ - Allow specifying prerequisites in file type lint specs
113
+ ([#1221](https://github.com/codevise/pageflow/pull/1221))
114
+ - Bug fix: fix entry membership create error
115
+ ([#1196](https://github.com/codevise/pageflow/pull/1196))
116
+ - Bug fix: fix missing analytics interpolator variables
117
+ ([#1192](https://github.com/codevise/pageflow/pull/1192))
142
118
 
143
- I.e.
144
- ```
145
- Pageflow::Imagefile.find(some_id)
146
- ```
147
- has to become
148
- ```
149
- include RevisionFileHelper
150
- [...]
151
- find_file_in_entry(Pageflow::Imagefile, image_file_usage_perma_id)
152
- ```
119
+ #### Internal
153
120
 
154
- Also see migration inside the PR.
121
+ - Add sassc-rails as development dependency
122
+ ([#1222](https://github.com/codevise/pageflow/pull/1222))
155
123
 
156
124
  See
157
125
  [14-x-stable branch](https://github.com/codevise/pageflow/blob/14-x-stable/CHANGELOG.md)
@@ -24287,7 +24287,7 @@ pageflow = typeof pageflow === "object" ? pageflow : {}; pageflow["react"] =
24287
24287
  function autoTextTrackFile(textTrackFiles, defaultTextTrackFileId, locale, volume) {
24288
24288
  if (defaultTextTrackFileId) {
24289
24289
  var defaultTextTrackFile = textTrackFiles.find(function (textTrackFile) {
24290
- return textTrackFile.permaId == defaultTextTrackFileId;
24290
+ return textTrackFile.id == defaultTextTrackFileId;
24291
24291
  });
24292
24292
 
24293
24293
  if (defaultTextTrackFile) {
@@ -29932,8 +29932,7 @@ pageflow = typeof pageflow === "object" ? pageflow : {}; pageflow["react"] =
29932
29932
  collectionName: (0, _utils.camelize)(collectionName),
29933
29933
  dispatch: dispatch,
29934
29934
 
29935
- idAttribute: 'perma_id',
29936
- attributes: ['id', 'perma_id', 'basename', 'variants', 'is_ready', 'parent_file_id', 'parent_file_model_type', 'width', 'height', 'duration_in_ms', 'rights', 'created_at'],
29935
+ attributes: ['id', 'basename', 'variants', 'is_ready', 'parent_file_id', 'parent_file_model_type', 'width', 'height', 'duration_in_ms', 'rights', 'created_at'],
29937
29936
  includeConfiguration: true
29938
29937
  });
29939
29938
  });
@@ -29951,9 +29950,7 @@ pageflow = typeof pageflow === "object" ? pageflow : {}; pageflow["react"] =
29951
29950
  return {
29952
29951
  files: (0, _redux.combineReducers)(Object.keys(files).reduce(function (result, collectionName) {
29953
29952
  collectionName = (0, _utils.camelize)(collectionName);
29954
- result[collectionName] = (0, _collections.createReducer)(collectionName, {
29955
- idAttribute: 'permaId'
29956
- });
29953
+ result[collectionName] = (0, _collections.createReducer)(collectionName);
29957
29954
  return result;
29958
29955
  }, {})),
29959
29956
 
@@ -24281,7 +24281,7 @@ pageflow = typeof pageflow === "object" ? pageflow : {}; pageflow["react"] =
24281
24281
  function autoTextTrackFile(textTrackFiles, defaultTextTrackFileId, locale, volume) {
24282
24282
  if (defaultTextTrackFileId) {
24283
24283
  var defaultTextTrackFile = textTrackFiles.find(function (textTrackFile) {
24284
- return textTrackFile.permaId == defaultTextTrackFileId;
24284
+ return textTrackFile.id == defaultTextTrackFileId;
24285
24285
  });
24286
24286
 
24287
24287
  if (defaultTextTrackFile) {
@@ -29910,8 +29910,7 @@ pageflow = typeof pageflow === "object" ? pageflow : {}; pageflow["react"] =
29910
29910
  collectionName: (0, _utils.camelize)(collectionName),
29911
29911
  dispatch: dispatch,
29912
29912
 
29913
- idAttribute: 'perma_id',
29914
- attributes: ['id', 'perma_id', 'basename', 'variants', 'is_ready', 'parent_file_id', 'parent_file_model_type', 'width', 'height', 'duration_in_ms', 'rights', 'created_at'],
29913
+ attributes: ['id', 'basename', 'variants', 'is_ready', 'parent_file_id', 'parent_file_model_type', 'width', 'height', 'duration_in_ms', 'rights', 'created_at'],
29915
29914
  includeConfiguration: true
29916
29915
  });
29917
29916
  });
@@ -29929,9 +29928,7 @@ pageflow = typeof pageflow === "object" ? pageflow : {}; pageflow["react"] =
29929
29928
  return {
29930
29929
  files: (0, _redux.combineReducers)(Object.keys(files).reduce(function (result, collectionName) {
29931
29930
  collectionName = (0, _utils.camelize)(collectionName);
29932
- result[collectionName] = (0, _collections.createReducer)(collectionName, {
29933
- idAttribute: 'permaId'
29934
- });
29931
+ result[collectionName] = (0, _collections.createReducer)(collectionName);
29935
29932
  return result;
29936
29933
  }, {})),
29937
29934
 
@@ -1,3 +1,3 @@
1
1
  module Pageflow
2
- VERSION = '15.0.0.rc2'.freeze
2
+ VERSION = '15.0.0'.freeze
3
3
  end
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.0.0.rc2
4
+ version: 15.0.0
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: 2019-10-31 00:00:00.000000000 Z
11
+ date: 2019-11-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -2148,9 +2148,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
2148
2148
  version: '0'
2149
2149
  required_rubygems_version: !ruby/object:Gem::Requirement
2150
2150
  requirements:
2151
- - - ">"
2151
+ - - ">="
2152
2152
  - !ruby/object:Gem::Version
2153
- version: 1.3.1
2153
+ version: '0'
2154
2154
  requirements: []
2155
2155
  rubyforge_project:
2156
2156
  rubygems_version: 2.7.5