pageflow 12.0.0.rc7 → 12.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
  SHA1:
3
- metadata.gz: fdb14fefea123973e2255e3bdcba28ca7d912421
4
- data.tar.gz: 788b30d2916fad0484892015ade69f99fa44ee6b
3
+ metadata.gz: 5743e9c16455ddedda06ac7f2f335a5a6361b320
4
+ data.tar.gz: c8ba3dc3473a937a1a18fa8d95abd5dc36baec99
5
5
  SHA512:
6
- metadata.gz: f7bc56358dbd138e1f4873efcb2da41f37dd6b4eb31aaf10e7edb8cc71227c4a040a9a907a4ec3865ebc7d2faa163de9c0cc4e84c18487e5e2478f41c10beebf
7
- data.tar.gz: f996fef7f304b22a0c3632d4b09309cef2ebac66df1a6f1aecd8451bd4e99e82ea7e095eb7c2e13524ac3ce16055534261ec7f7a8af82dbe01e372cca305191d
6
+ metadata.gz: 55da5bc6a8c3305171d819d154a62eefcdd8341dbc0fe753fde956ece59f5f19709619796d3d1ba4ce2d3e61165260273a11d84a61f1c0f93877307af21c5da0
7
+ data.tar.gz: b9e360e1243a39c35299c12e152dadcd2eba5c03704823e445eb0ad666bdb5e528852901edfc37697450e00031451e9c435b134e8d09c6783a9300313bcf3003
data/CHANGELOG.md CHANGED
@@ -1,54 +1,54 @@
1
1
  # CHANGELOG
2
2
 
3
- ### Version 12.0.0.rc7
3
+ ### Version 12.0.0
4
4
 
5
- 2017-08-09
5
+ 2017-08-10
6
6
 
7
- [Compare changes](https://github.com/codevise/pageflow/compare/v12.0.0.rc6...v12.0.0.rc7)
7
+ [Compare changes](https://github.com/codevise/pageflow/compare/0-11-stable...v12.0.0)
8
8
 
9
- #### Breaking Changes
10
-
11
- - If the application uses the `nginx-upload-module`, its configuration
12
- needs to be adjusted.
13
- ([#814](https://github.com/codevise/pageflow/pull/814))
14
-
15
- Update the location matcher, to prevent routes of the form
16
- `../files/image_files/retry` from being matched:
9
+ See
10
+ [changes grouped by release candidates](https://github.com/codevise/pageflow/blob/v12.0.0.rc7/CHANGELOG.md).
17
11
 
18
- location ~ ^/editor/entries/[0-9]+/files/[^/]+/?$ {
12
+ #### Breaking Changes
19
13
 
20
- (The change is not specific to this release candidate. It just was
21
- missing from the changelog so far.)
14
+ - The `pageflow-react` gem has been merged into the core `pageflow`
15
+ gem. Remove the `pageflow-react` entry from your `Gemfile` if one
16
+ exists and make sure you update all gems that depend on
17
+ `pageflow-react` to versions that only depend on `pageflow` instead.
18
+ ([#721](https://github.com/codevise/pageflow/pull/721),
19
+ [#744](https://github.com/codevise/pageflow/pull/744))
22
20
 
23
- ### Minor Changes
21
+ In the Pageflow initializer, delete all lines that register page
22
+ types from `Pageflow::BuiltInPageType`, i.e. lines of the form:
24
23
 
25
- - Improve text tracks and info box display logic
26
- ([#827](https://github.com/codevise/pageflow/pull/827))
27
- - Preload page background images
28
- ([#825](https://github.com/codevise/pageflow/pull/825))
24
+ config.page_types.register(Pageflow::BuiltInPageType.background_image)
29
25
 
30
- ### Version 12.0.0.rc6
26
+ Insert the following single line instead:
31
27
 
32
- 2017-08-09
28
+ config.plugin(Pageflow.built_in_page_types_plugin)
33
29
 
34
- [Compare changes](https://github.com/codevise/pageflow/compare/v12.0.0.rc5...v12.0.0.rc6)
30
+ Finally, in `app/assets/javascript/components.js` replace
35
31
 
36
- - Export `measure` from `react-measure`
37
- ([#823](https://github.com/codevise/pageflow/pull/823))
38
- - Allow using `state_machine_job` gem 1.x
39
- ([#819](https://github.com/codevise/pageflow/pull/819))
40
- - Improve `pageflow-support` gem
41
- ([#818](https://github.com/codevise/pageflow/pull/818))
42
- - Update semmy
43
- ([#820](https://github.com/codevise/pageflow/pull/820))
32
+ //= require pageflow/react/components
44
33
 
45
- ### Version 12.0.0.rc5
34
+ with
46
35
 
47
- 2017-05-31
36
+ //= require pageflow/components
48
37
 
49
- [Compare changes](https://github.com/codevise/pageflow/compare/v12.0.0.rc4...v12.0.0.rc5)
38
+ - The background audio page type has been replaced by the atmo
39
+ feature. There is a migration turning all background audio pages
40
+ into background image pages with a atmo audio. The atmo settings are
41
+ no longer guarded by a feature flag. If you used
42
+ `Pageflow::Features#enabled_by_default` to enable the feature for
43
+ all accounts, you need to remove that call from your
44
+ initializer.
45
+ ([#748](https://github.com/codevise/pageflow/pull/748))
50
46
 
51
- #### Breaking Changes
47
+ - All page types that used to support only background images can now
48
+ display a background video as well. The background video page type
49
+ accordingly has been removed. There is a migration to turn
50
+ background video pages into pages with video background type.
51
+ ([#748](https://github.com/codevise/pageflow/pull/748))
52
52
 
53
53
  - The built-in widget types must now be registered in the host
54
54
  application.
@@ -60,39 +60,15 @@
60
60
 
61
61
  config.plugin(Pageflow.built_in_widget_types_plugin)
62
62
 
63
- ##### Bug Fixes
64
-
65
- - Upgrade to Sinon 2
66
- ([#777](https://github.com/codevise/pageflow/pull/777))
67
- - Bug fix: Mark %pageflow_widget_margin_right optional
68
- ([#773](https://github.com/codevise/pageflow/pull/773))
69
-
70
- ### Version 12.0.0.rc4
71
-
72
- 2017-05-23
73
-
74
- [Compare changes](https://github.com/codevise/pageflow/compare/v12.0.0.rc3...v12.0.0.rc4)
75
-
76
- ##### Breaking Changes
77
-
78
63
  - Remove legacy theme files. All themes have to be based on the
79
64
  default theme.
80
65
  ([#768](https://github.com/codevise/pageflow/pull/768))
81
66
 
82
- ##### Bug Fixes
83
-
84
- - Bug fix: Fix exception when sorting user accounts table by role
85
- ([#769](https://github.com/codevise/pageflow/pull/769))
86
- - Bug fix: Change roles.high to not expect account membership
87
- ([#766](https://github.com/codevise/pageflow/pull/766))
88
-
89
- ### Version 12.0.0.rc3
90
-
91
- 2017-05-12
92
-
93
- [Compare changes](https://github.com/codevise/pageflow/compare/v12.0.0.rc2...v12.0.0.rc3)
94
-
95
- ##### Manual Update Step
67
+ - Playing DASH videos requires certain CORS headers in the CDN/Amazon
68
+ S3 responses. See the
69
+ [bucket configuration section](./doc/setting_up_external_services.md#bucket-configuration)
70
+ in the "Setting up External Services" guide for details.
71
+ ([#829](https://github.com/codevise/pageflow/pull/829))
96
72
 
97
73
  - Switch from `Expires` to `Cache-Control` header for media uploads.
98
74
  ([#753](https://github.com/codevise/pageflow/pull/753))
@@ -109,78 +85,14 @@
109
85
  the AWS Management Console, you might want to grant public read
110
86
  access on the entire bucket again to be safe.
111
87
 
112
- ##### Minor Changes
113
-
114
- - Ensure public translations fall back to default locale
115
- ([#757](https://github.com/codevise/pageflow/pull/757))
116
- - Depend on pageflow-public-i18n 1.9
117
- ([#752](https://github.com/codevise/pageflow/pull/752))
118
- - Remove jQuery widgets formerly used by player controls
119
- ([#756](https://github.com/codevise/pageflow/pull/756))
120
- - Bug fix: Use entry locale in CloseButton translations
121
- ([#760](https://github.com/codevise/pageflow/pull/760))
122
- - Bug fix: Fix ensureValueDefined option of SelectInputView
123
- ([#755](https://github.com/codevise/pageflow/pull/755))
124
-
125
- ### Version 12.0.0.rc2
126
-
127
- 2017-05-10
128
-
129
- [Compare changes](https://github.com/codevise/pageflow/compare/v12.0.0.rc1...v12.0.0.rc2)
130
-
131
- - Improve text track positioning for slim player controls
132
- ([#749](https://github.com/codevise/pageflow/pull/749))
133
- - Bug fix: Fix HTML descriptions in infobox component
134
- ([#751](https://github.com/codevise/pageflow/pull/751))
135
- - Use correct matcher to expect destroyed record
136
- ([#750](https://github.com/codevise/pageflow/pull/750))
137
-
138
- ### Version 12.0.0.rc1
139
-
140
- 2017-04-25
141
-
142
- [Compare changes](https://github.com/codevise/pageflow/compare/0-11-stable...v12.0.0.rc1)
143
-
144
- ##### Breaking Changes
145
-
146
- - The `pageflow-react` gem has been merged into the core `pageflow`
147
- gem. Remove the `pageflow-react` entry from your `Gemfile` if one
148
- exists and make sure you update all gems that depend on
149
- `pageflow-react` to versions that only depend on `pageflow` instead.
150
- ([#721](https://github.com/codevise/pageflow/pull/721),
151
- [#744](https://github.com/codevise/pageflow/pull/744))
152
-
153
- In the Pageflow initializer, delete all lines that register page
154
- types from `Pageflow::BuiltInPageType`, i.e. lines of the form:
155
-
156
- config.page_types.register(Pageflow::BuiltInPageType.background_image)
157
-
158
- Insert the following single line instead:
159
-
160
- config.plugin(Pageflow.built_in_page_types_plugin)
161
-
162
- Finally, in `app/assets/javascript/components.js` replace
163
-
164
- //= require pageflow/react/components
165
-
166
- with
167
-
168
- //= require pageflow/components
88
+ - If the application uses the `nginx-upload-module`, its configuration
89
+ needs to be adjusted.
90
+ ([#814](https://github.com/codevise/pageflow/pull/814))
169
91
 
170
- - The background audio page type has been replaced by the atmo
171
- feature. There is a migration turning all background audio pages
172
- into background image pages with a atmo audio. The atmo settings are
173
- no longer guarded by a feature flag. If you used
174
- `Pageflow::Features#enabled_by_default` to enable the feature for
175
- all accounts, you need to remove that call from your
176
- initializer.
177
- ([#748](https://github.com/codevise/pageflow/pull/748))
92
+ Update the location matcher, to prevent routes of the form
93
+ `../files/image_files/retry` from being matched:
178
94
 
179
- - All page types that used to support only background images can now
180
- display a background video as well. The background video page type
181
- accordingly has been removed. There is a migration to turn
182
- background video pages into pages with video background type.
183
- ([#748](https://github.com/codevise/pageflow/pull/748))
95
+ location ~ ^/editor/entries/[0-9]+/files/[^/]+/?$ {
184
96
 
185
97
  ##### Public Site
186
98
 
@@ -188,12 +100,17 @@
188
100
  ([#665](https://github.com/codevise/pageflow/pull/665))
189
101
  - Use slim controls as android phone player
190
102
  ([#745](https://github.com/codevise/pageflow/pull/745))
103
+ - Ensure public translations fall back to default locale
104
+ ([#757](https://github.com/codevise/pageflow/pull/757))
105
+ - Buf fix: Preload page background images
106
+ ([#825](https://github.com/codevise/pageflow/pull/825))
191
107
 
192
108
  Media stack:
193
109
 
194
110
  - FullHD/4k video variants
195
111
  ([#653](https://github.com/codevise/pageflow/pull/653),
196
- [#741](https://github.com/codevise/pageflow/pull/741))
112
+ [#741](https://github.com/codevise/pageflow/pull/741),
113
+ [#752](https://github.com/codevise/pageflow/pull/752))
197
114
  - Update Video.js and add Dash support
198
115
  ([#678](https://github.com/codevise/pageflow/pull/678),
199
116
  [#677](https://github.com/codevise/pageflow/pull/677),
@@ -201,7 +118,9 @@ Media stack:
201
118
  - Allow displaying text tracks on videos and audio pages
202
119
  ([#721](https://github.com/codevise/pageflow/pull/721),
203
120
  [#747](https://github.com/codevise/pageflow/pull/747),
204
- [#743](https://github.com/codevise/pageflow/pull/743))
121
+ [#743](https://github.com/codevise/pageflow/pull/743),
122
+ [#827](https://github.com/codevise/pageflow/pull/827),
123
+ [#749](https://github.com/codevise/pageflow/pull/749))
205
124
  - Add feature detection for mobile video features
206
125
  ([#742](https://github.com/codevise/pageflow/pull/742))
207
126
  - Add ultra variant to image file and video file posters
@@ -243,6 +162,8 @@ Theme:
243
162
  ([#667](https://github.com/codevise/pageflow/pull/667))
244
163
  - Bug fix: Allow overriding widget theme options
245
164
  ([#723](https://github.com/codevise/pageflow/pull/723))
165
+ - Bug fix: Mark %pageflow_widget_margin_right optional
166
+ ([#773](https://github.com/codevise/pageflow/pull/773))
246
167
 
247
168
  JavaScript API:
248
169
 
@@ -279,9 +200,12 @@ Widgets:
279
200
  - Player controls improvements
280
201
  ([#699](https://github.com/codevise/pageflow/pull/699),
281
202
  [#720](https://github.com/codevise/pageflow/pull/720),
282
- [#739](https://github.com/codevise/pageflow/pull/739))
203
+ [#739](https://github.com/codevise/pageflow/pull/739),
204
+ [#751](https://github.com/codevise/pageflow/pull/751))
283
205
  - Prevent videojs controls from being displayed
284
206
  ([#697](https://github.com/codevise/pageflow/pull/697))
207
+ - Remove jQuery widgets formerly used by player controls
208
+ ([#756](https://github.com/codevise/pageflow/pull/756))
285
209
  - Bug fix: Prevent line wrap in scroll indicator
286
210
  ([#729](https://github.com/codevise/pageflow/pull/729))
287
211
  - Bug fix: Fix sharing menu in mobile navigation
@@ -290,13 +214,17 @@ Widgets:
290
214
  ([#652](https://github.com/codevise/pageflow/pull/652))
291
215
  - Bug fix: Extend Facebook in-app browser fix to iOS platform
292
216
  ([#637](https://github.com/codevise/pageflow/pull/637))
217
+ - Bug fix: Use entry locale in CloseButton translations
218
+ ([#760](https://github.com/codevise/pageflow/pull/760))
293
219
 
294
220
  ##### Admin
295
221
 
296
222
  - Role based account memberships
297
223
  ([#634](https://github.com/codevise/pageflow/pull/634),
298
224
  [#641](https://github.com/codevise/pageflow/pull/641),
299
- [#640](https://github.com/codevise/pageflow/pull/640))
225
+ [#640](https://github.com/codevise/pageflow/pull/640),
226
+ [#769](https://github.com/codevise/pageflow/pull/769),
227
+ [#766](https://github.com/codevise/pageflow/pull/766))
300
228
 
301
229
  ##### Editor
302
230
 
@@ -342,6 +270,8 @@ Backbone Views:
342
270
  ([#725](https://github.com/codevise/pageflow/pull/725))
343
271
  - Add disabled option to referenceinputview
344
272
  ([#734](https://github.com/codevise/pageflow/pull/734))
273
+ - Bug fix: Fix ensureValueDefined option of SelectInputView
274
+ ([#755](https://github.com/codevise/pageflow/pull/755))
345
275
 
346
276
  Help:
347
277
 
@@ -362,8 +292,14 @@ Help:
362
292
  ([#645](https://github.com/codevise/pageflow/pull/645))
363
293
  - Improve hls options fallback
364
294
  ([#708](https://github.com/codevise/pageflow/pull/708))
295
+ - Export `measure` from `react-measure`
296
+ ([#823](https://github.com/codevise/pageflow/pull/823))
365
297
  - Link to plugins wiki page from readme
366
298
  ([#674](https://github.com/codevise/pageflow/pull/674))
299
+ - Allow using `state_machine_job` gem 1.x
300
+ ([#819](https://github.com/codevise/pageflow/pull/819))
301
+ - Improve `pageflow-support` gem
302
+ ([#818](https://github.com/codevise/pageflow/pull/818))
367
303
 
368
304
  ##### Internals
369
305
 
@@ -383,6 +319,12 @@ Help:
383
319
  ([#578](https://github.com/codevise/pageflow/pull/578))
384
320
  - Use create instead of build_stubbed in EditLock tests
385
321
  ([#689](https://github.com/codevise/pageflow/pull/689))
322
+ - Update semmy
323
+ ([#820](https://github.com/codevise/pageflow/pull/820))
324
+ - Upgrade to Sinon 2
325
+ ([#777](https://github.com/codevise/pageflow/pull/777))
326
+ - Use correct matcher to expect destroyed record
327
+ ([#750](https://github.com/codevise/pageflow/pull/750))
386
328
  - Bug fix: Handle symbolized keys in mailer options
387
329
  ([#693](https://github.com/codevise/pageflow/pull/693))
388
330
 
data/README.md CHANGED
@@ -124,8 +124,8 @@ things do not look too blank in development mode.
124
124
  ## Configuration
125
125
 
126
126
  Pageflow stores files in S3 buckets also in development
127
- mode. Otherwise there's no way to have Zencoder encode them. See the
128
- wiki page [Setting up external services](https://github.com/codevise/pageflow/wiki/Setting-up-External-Services).
127
+ mode. Otherwise there's no way to have Zencoder encode them. See
128
+ [setting up external services](./doc/setting_up_external_services.md).
129
129
 
130
130
  The host application can utilize environment variables to configure the API keys for S3 and Zencoder. The variables can be found in the generated Pageflow initializer.
131
131
 
data/Rakefile CHANGED
@@ -17,6 +17,7 @@ end
17
17
  require 'semmy'
18
18
  Semmy::Tasks.install do |config|
19
19
  config.github_repository = 'codevise/pageflow'
20
+ config.source_files_with_docs_tags = '{app,lib,node_package/src}/**/*.{js,jsx,rb,scss}'
20
21
  end
21
22
 
22
23
  require File.expand_path('spec/support/pageflow/rails_version', File.dirname(__FILE__))
@@ -16212,7 +16212,7 @@ pageflow = typeof pageflow === "object" ? pageflow : {}; pageflow["react"] =
16212
16212
  * build the default page structure.
16213
16213
  *
16214
16214
  * @alias pageflow.react.components.PageScroller
16215
- * @since edge
16215
+ * @since 12.0
16216
16216
  */
16217
16217
  var PageScroller = function (_React$Component) {
16218
16218
  _inherits(PageScroller, _React$Component);
@@ -17258,7 +17258,7 @@ pageflow = typeof pageflow === "object" ? pageflow : {}; pageflow["react"] =
17258
17258
  *
17259
17259
  * @alias pageflow.react.components.Icon
17260
17260
  * @class
17261
- * @since edge
17261
+ * @since 12.0
17262
17262
  *
17263
17263
  * @prop name
17264
17264
  * Required. The key to look up in the mapping.
@@ -25675,7 +25675,7 @@ pageflow = typeof pageflow === "object" ? pageflow : {}; pageflow["react"] =
25675
25675
  *
25676
25676
  * @alias pageflow.react.components.PageWithInteractiveBackground
25677
25677
  * @class
25678
- * @since edge
25678
+ * @since 12.0
25679
25679
  */
25680
25680
  var PageWithInteractiveBackground = function (_React$Component) {
25681
25681
  _inherits(PageWithInteractiveBackground, _React$Component);
@@ -1,3 +1,3 @@
1
1
  module Pageflow
2
- VERSION = '12.0.0.rc7'.freeze
2
+ VERSION = '12.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: 12.0.0.rc7
4
+ version: 12.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: 2017-08-09 00:00:00.000000000 Z
11
+ date: 2017-08-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -1997,9 +1997,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
1997
1997
  version: '0'
1998
1998
  required_rubygems_version: !ruby/object:Gem::Requirement
1999
1999
  requirements:
2000
- - - ">"
2000
+ - - ">="
2001
2001
  - !ruby/object:Gem::Version
2002
- version: 1.3.1
2002
+ version: '0'
2003
2003
  requirements: []
2004
2004
  rubyforge_project:
2005
2005
  rubygems_version: 2.6.8