shopify_app 13.3.0 → 14.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (34) hide show
  1. checksums.yaml +4 -4
  2. data/.github/PULL_REQUEST_TEMPLATE.md +6 -0
  3. data/.travis.yml +0 -1
  4. data/CHANGELOG.md +22 -0
  5. data/README.md +12 -3
  6. data/app/assets/javascripts/shopify_app/app_bridge_redirect.js +18 -0
  7. data/app/assets/javascripts/shopify_app/redirect.js +4 -9
  8. data/app/assets/javascripts/shopify_app/storage_access.js +3 -11
  9. data/app/controllers/concerns/shopify_app/authenticated.rb +1 -0
  10. data/app/controllers/shopify_app/callback_controller.rb +2 -2
  11. data/app/views/shopify_app/sessions/enable_cookies.html.erb +6 -6
  12. data/app/views/shopify_app/sessions/request_storage_access.html.erb +5 -0
  13. data/app/views/shopify_app/shared/redirect.html.erb +6 -1
  14. data/docs/Quickstart.md +2 -3
  15. data/docs/Releasing.md +12 -12
  16. data/lib/generators/shopify_app/authenticated_controller/authenticated_controller_generator.rb +1 -1
  17. data/lib/generators/shopify_app/home_controller/home_controller_generator.rb +20 -2
  18. data/lib/generators/shopify_app/home_controller/templates/index.html.erb +67 -17
  19. data/lib/generators/shopify_app/home_controller/templates/unauthenticated_home_controller.rb +10 -0
  20. data/lib/generators/shopify_app/install/templates/embedded_app.html.erb +1 -1
  21. data/lib/generators/shopify_app/install/templates/flash_messages.js +0 -2
  22. data/lib/generators/shopify_app/install/templates/shopify_app.rb.tt +1 -0
  23. data/lib/generators/shopify_app/products_controller/products_controller_generator.rb +19 -0
  24. data/lib/generators/shopify_app/products_controller/templates/products_controller.rb +8 -0
  25. data/lib/generators/shopify_app/shopify_app_generator.rb +1 -1
  26. data/lib/shopify_app.rb +1 -0
  27. data/lib/shopify_app/controller_concerns/csrf_protection.rb +15 -0
  28. data/lib/shopify_app/controller_concerns/login_protection.rb +8 -0
  29. data/lib/shopify_app/version.rb +1 -1
  30. data/package-lock.json +7 -75
  31. data/package.json +2 -2
  32. data/shopify_app.gemspec +2 -2
  33. data/yarn.lock +248 -178
  34. metadata +11 -5
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shopify_app
3
3
  version: !ruby/object:Gem::Version
4
- version: 13.3.0
4
+ version: 14.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shopify
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-06-01 00:00:00.000000000 Z
11
+ date: 2020-08-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: browser_sniffer
@@ -44,14 +44,14 @@ dependencies:
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: 9.1.0
47
+ version: '9.1'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: 9.1.0
54
+ version: '9.1'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: omniauth-shopify-oauth2
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -243,6 +243,7 @@ files:
243
243
  - ".babelrc"
244
244
  - ".github/CODEOWNERS"
245
245
  - ".github/ISSUE_TEMPLATE.md"
246
+ - ".github/PULL_REQUEST_TEMPLATE.md"
246
247
  - ".github/probots.yml"
247
248
  - ".github/workflows/rubocop.yml"
248
249
  - ".gitignore"
@@ -257,6 +258,7 @@ files:
257
258
  - Rakefile
258
259
  - SECURITY.md
259
260
  - app/assets/images/storage_access.svg
261
+ - app/assets/javascripts/shopify_app/app_bridge_redirect.js
260
262
  - app/assets/javascripts/shopify_app/enable_cookies.js
261
263
  - app/assets/javascripts/shopify_app/itp_helper.js
262
264
  - app/assets/javascripts/shopify_app/partition_cookies.js
@@ -329,6 +331,7 @@ files:
329
331
  - lib/generators/shopify_app/home_controller/home_controller_generator.rb
330
332
  - lib/generators/shopify_app/home_controller/templates/home_controller.rb
331
333
  - lib/generators/shopify_app/home_controller/templates/index.html.erb
334
+ - lib/generators/shopify_app/home_controller/templates/unauthenticated_home_controller.rb
332
335
  - lib/generators/shopify_app/install/install_generator.rb
333
336
  - lib/generators/shopify_app/install/templates/_flash_messages.html.erb
334
337
  - lib/generators/shopify_app/install/templates/embedded_app.html.erb
@@ -340,6 +343,8 @@ files:
340
343
  - lib/generators/shopify_app/install/templates/shopify_app_index.js
341
344
  - lib/generators/shopify_app/install/templates/shopify_provider.rb
342
345
  - lib/generators/shopify_app/install/templates/user_agent.rb
346
+ - lib/generators/shopify_app/products_controller/products_controller_generator.rb
347
+ - lib/generators/shopify_app/products_controller/templates/products_controller.rb
343
348
  - lib/generators/shopify_app/rotate_shopify_token_job/rotate_shopify_token_job_generator.rb
344
349
  - lib/generators/shopify_app/rotate_shopify_token_job/templates/rotate_shopify_token.rake
345
350
  - lib/generators/shopify_app/rotate_shopify_token_job/templates/rotate_shopify_token_job.rb
@@ -358,6 +363,7 @@ files:
358
363
  - lib/shopify_app.rb
359
364
  - lib/shopify_app/configuration.rb
360
365
  - lib/shopify_app/controller_concerns/app_proxy_verification.rb
366
+ - lib/shopify_app/controller_concerns/csrf_protection.rb
361
367
  - lib/shopify_app/controller_concerns/embedded_app.rb
362
368
  - lib/shopify_app/controller_concerns/itp.rb
363
369
  - lib/shopify_app/controller_concerns/localization.rb
@@ -404,7 +410,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
404
410
  requirements:
405
411
  - - ">="
406
412
  - !ruby/object:Gem::Version
407
- version: '2.4'
413
+ version: '2.5'
408
414
  required_rubygems_version: !ruby/object:Gem::Requirement
409
415
  requirements:
410
416
  - - ">="