Amazon Web Services - Version 1.0.3

Version Description

  • 2017-06-19 =
  • Improvement: Compatibility with WP Offload S3 1.5
Download this release

Release Info

Developer deliciousbrains
Plugin Icon 128x128 Amazon Web Services
Version 1.0.3
Comparing to
See all releases

Code changes from version 1.0.2 to 1.0.3

README.md CHANGED
@@ -1,9 +1,9 @@
1
  # Amazon Web Services #
2
  **Contributors:** bradt, deliciousbrains
3
  **Tags:** amazon, amazon web services
4
- **Requires at least:** 4.4
5
- **Tested up to:** 4.7.3
6
- **Stable tag:** 1.0.2
7
  **License:** GPLv3
8
 
9
  Houses the Amazon Web Services (AWS) PHP libraries and manages access keys. Required by other AWS plugins.
@@ -13,7 +13,7 @@ Houses the Amazon Web Services (AWS) PHP libraries and manages access keys. Requ
13
  This plugin is required by other plugins, which use its libraries and its settings to connect to AWS services. Currently, there are only two plugins that require this plugin:
14
 
15
  * [WP Offload S3 Lite](http://wordpress.org/plugins/amazon-s3-and-cloudfront/)
16
- * [WP Offload S3](https://deliciousbrains.com/wp-offload-s3/)
17
 
18
  ### Requirements ###
19
 
@@ -35,6 +35,9 @@ This plugin is required by other plugins, which use its libraries and its settin
35
 
36
  ## Changelog ##
37
 
 
 
 
38
  ### 1.0.2 - 2017-03-13 ###
39
  * New: AWS SDK updated to 2.8.31
40
  * New: London and Montreal regions added
@@ -47,7 +50,7 @@ This plugin is required by other plugins, which use its libraries and its settin
47
  * Improvement: Compatibility with WP Offload S3 1.2
48
 
49
  ### 0.3.7 - 2016-09-01 ###
50
- * Improvement: No longer delete plugin data on uninstall. Manual removal possible, as per this [doc](https://deliciousbrains.com/wp-offload-s3/doc/uninstall/).
51
 
52
  ### 0.3.6 - 2016-05-30 ###
53
  * Improvement: Now checks that the `curl_multi_exec` function is available.
@@ -73,12 +76,12 @@ This plugin is required by other plugins, which use its libraries and its settin
73
  * Bug fix: Style inconsistencies on the _Addons_ screen
74
 
75
  ### 0.3 - 2015-07-08 ###
76
- * New: Support for [IAM Roles on Amazon EC2](https://deliciousbrains.com/wp-offload-s3/doc/iam-roles/) using the `AWS_USE_EC2_IAM_ROLE` constant
77
  * New: Redesigned _Access Keys_ and _Addons_ screens
78
  * Improvement: _Settings_ menu item renamed to _Access Keys_
79
  * Improvement: _Access Keys_ link added to plugin row on _Plugins_ screen
80
  * Improvement: Activate addons directly from within _Addons_ screen
81
- * Improvement: [Quick Start Guide](https://deliciousbrains.com/wp-offload-s3/doc/quick-start-guide/) documentation
82
 
83
  ### 0.2.2 - 2015-01-19 ###
84
  * Bug Fix: Reverting AWS client config of region and signature
1
  # Amazon Web Services #
2
  **Contributors:** bradt, deliciousbrains
3
  **Tags:** amazon, amazon web services
4
+ **Requires at least:** 4.6
5
+ **Tested up to:** 4.8
6
+ **Stable tag:** 1.0.3
7
  **License:** GPLv3
8
 
9
  Houses the Amazon Web Services (AWS) PHP libraries and manages access keys. Required by other AWS plugins.
13
  This plugin is required by other plugins, which use its libraries and its settings to connect to AWS services. Currently, there are only two plugins that require this plugin:
14
 
15
  * [WP Offload S3 Lite](http://wordpress.org/plugins/amazon-s3-and-cloudfront/)
16
+ * [WP Offload S3](https://deliciousbrains.com/wp-offload-s3/?utm_campaign=WP%2BOffload%2BS3&utm_source=wordpress.org&utm_medium=free%2Bplugin%2Blisting&utm_content=AWS)
17
 
18
  ### Requirements ###
19
 
35
 
36
  ## Changelog ##
37
 
38
+ ### 1.0.3 - 2017-06-19 ###
39
+ * Improvement: Compatibility with WP Offload S3 1.5
40
+
41
  ### 1.0.2 - 2017-03-13 ###
42
  * New: AWS SDK updated to 2.8.31
43
  * New: London and Montreal regions added
50
  * Improvement: Compatibility with WP Offload S3 1.2
51
 
52
  ### 0.3.7 - 2016-09-01 ###
53
+ * Improvement: No longer delete plugin data on uninstall. Manual removal possible, as per this [doc](https://deliciousbrains.com/wp-offload-s3/doc/uninstall/?utm_campaign=changelogs&utm_source=wordpress.org&utm_medium=free%2Bplugin%2Blisting&utm_content=AWS).
54
 
55
  ### 0.3.6 - 2016-05-30 ###
56
  * Improvement: Now checks that the `curl_multi_exec` function is available.
76
  * Bug fix: Style inconsistencies on the _Addons_ screen
77
 
78
  ### 0.3 - 2015-07-08 ###
79
+ * New: Support for [IAM Roles on Amazon EC2](https://deliciousbrains.com/wp-offload-s3/doc/iam-roles/?utm_campaign=changelogs&utm_source=wordpress.org&utm_medium=free%2Bplugin%2Blisting&utm_content=AWS) using the `AWS_USE_EC2_IAM_ROLE` constant
80
  * New: Redesigned _Access Keys_ and _Addons_ screens
81
  * Improvement: _Settings_ menu item renamed to _Access Keys_
82
  * Improvement: _Access Keys_ link added to plugin row on _Plugins_ screen
83
  * Improvement: Activate addons directly from within _Addons_ screen
84
+ * Improvement: [Quick Start Guide](https://deliciousbrains.com/wp-offload-s3/doc/quick-start-guide/?utm_campaign=changelogs&utm_source=wordpress.org&utm_medium=free%2Bplugin%2Blisting&utm_content=AWS) documentation
85
 
86
  ### 0.2.2 - 2015-01-19 ###
87
  * Bug Fix: Reverting AWS client config of region and signature
amazon-web-services.php CHANGED
@@ -4,8 +4,8 @@ Plugin Name: Amazon Web Services
4
  Plugin URI: http://wordpress.org/extend/plugins/amazon-web-services/
5
  Description: Includes the Amazon Web Services PHP libraries, stores access keys, and allows other plugins to hook into it.
6
  Author: Delicious Brains
7
- Version: 1.0.2
8
- Author URI: http://deliciousbrains.com/
9
  Network: True
10
  Text Domain: amazon-web-services
11
  Domain Path: /languages/
@@ -22,7 +22,7 @@ Domain Path: /languages/
22
  // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
23
  // **********************************************************************
24
 
25
- $GLOBALS['aws_meta']['amazon-web-services']['version'] = '1.0.2';
26
 
27
  $GLOBALS['aws_meta']['amazon-web-services']['supported_addon_versions'] = array(
28
  'amazon-s3-and-cloudfront' => '0.9',
4
  Plugin URI: http://wordpress.org/extend/plugins/amazon-web-services/
5
  Description: Includes the Amazon Web Services PHP libraries, stores access keys, and allows other plugins to hook into it.
6
  Author: Delicious Brains
7
+ Version: 1.0.3
8
+ Author URI: https://deliciousbrains.com/
9
  Network: True
10
  Text Domain: amazon-web-services
11
  Domain Path: /languages/
22
  // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
23
  // **********************************************************************
24
 
25
+ $GLOBALS['aws_meta']['amazon-web-services']['version'] = '1.0.3';
26
 
27
  $GLOBALS['aws_meta']['amazon-web-services']['supported_addon_versions'] = array(
28
  'amazon-s3-and-cloudfront' => '0.9',
assets/css/styles.css CHANGED
@@ -1 +1 @@
1
- .aws-content,.aws-updated,.aws-compatibility-notice{-webkit-box-sizing:border-box;box-sizing:border-box;max-width:650px}.toplevel_page_amazon-web-services .error,.toplevel_page_amazon-web-services .notice,.toplevel_page_amazon-web-services .updated{-webkit-box-sizing:border-box;box-sizing:border-box;max-width:650px}.aws-addons,.aws-main[data-view="addons"] .aws-compatibility-notice{max-width:772px}.aws-settings h3{font-size:20px}.aws-settings .need-help{background-color:#fff;padding:20px 20px 20px 50px;line-height:1;font-size:16px;font-weight:bold;position:relative}.aws-settings .need-help:before{font-family:"dashicons";content:"\f348";font-size:24px;line-height:1;width:24px;height:24px;position:absolute;top:16px;left:16px}.aws-settings .need-help a{text-decoration:none}.aws-settings p{font-size:14px}body.toplevel_page_amazon-web-services .wrap h1{color:#fff;font-weight:600;font-size:26px;line-height:1;margin:20px 0 15px 0;width:650px;padding:100px 0 0 25px;height:150px;background:#f7a80d url(../img/aws-logo.svg) right 40px center no-repeat;background-size:100px 79px;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box}.aws-addons .addons-list{margin:20px 0 200px;padding-top:5px;border-top:1px solid #ddd;font-size:14px}.aws-addons .addons-list li:last-child{margin-bottom:0}.aws-addons .addons-list article{margin-top:10px;width:100%;height:250px;position:relative;font-weight:300;line-height:1;overflow:hidden}.aws-addons .addons-list article .info{position:absolute;bottom:20px;left:20px}.aws-addons .addons-list article .info ul{margin:16px 0 0;color:rgba(255,255,255,0.7)}.aws-addons .addons-list article .info ul li{display:inline-block;margin:0 30px 0 0}.aws-addons .addons-list article .info ul li:last-child{margin-right:0}.aws-addons .addons-list article .info a{color:#fff;text-decoration:none}.aws-addons .addons-list article .info a:hover{text-decoration:underline}.aws-addons .addons-list article h1,.aws-addons .addons-list article h2{padding:0;color:#fff;line-height:1;font-weight:600}.aws-addons .addons-list article h1{margin:0;font-size:26px}.aws-addons .addons-list article h2{margin:4px 0 0;font-size:18px}.aws-addons .addons-list article .label{position:absolute;top:10px;right:10px;font-style:italic;color:#fff}.aws-addons .addons-list>li>ul{background-color:#fff;border-top:0;padding:10px;overflow:hidden}.aws-addons .addons-list>li>ul article{width:244px;float:left;margin-right:10px}.aws-addons .addons-list>li>ul article img{width:80px;height:80px}.aws-addons .addons-list>li>ul article h1{font-size:22px;line-height:1.2}.aws-addons .addons-list>li>ul article .info{left:0;right:0;margin:0 auto;width:210px;text-align:center}.aws-addons .addons-list>li>ul article .info ul li{margin-right:10px;font-size:13px;line-height:1.6}.aws-addons .addons-list>li>ul li{margin-bottom:0}.aws-addons .addons-list .amazon-s3-and-cloudfront>article{background-image:url(../img/as3cf-banner-bw.jpg);background-size:772px 150px;background-repeat:no-repeat;height:150px}@media (min--moz-device-pixel-ratio: 1.3), (-webkit-min-device-pixel-ratio: 1.3), (min-device-pixel-ratio: 1.3), (min-resolution: 1.3dppx){.aws-addons .addons-list .amazon-s3-and-cloudfront>article{background-image:url(../img/as3cf-banner-bw@2x.jpg)}}.aws-addons .addons-list .amazon-s3-and-cloudfront-pro>article{background-image:url(../img/as3cf-banner.jpg);background-size:772px 250px;background-repeat:no-repeat}@media (min--moz-device-pixel-ratio: 1.3), (-webkit-min-device-pixel-ratio: 1.3), (min-device-pixel-ratio: 1.3), (min-resolution: 1.3dppx){.aws-addons .addons-list .amazon-s3-and-cloudfront-pro>article{background-image:url(../img/as3cf-banner@2x.jpg)}}.aws-addons .addons-list .amazon-s3-and-cloudfront-woocommerce>article{background-color:#a46497;margin:0}.aws-addons .addons-list .amazon-s3-and-cloudfront-edd>article{background-color:#1d2428;background-position:center 50px}.aws-addons .addons-list .amazon-s3-and-cloudfront-assets>article{background-color:#0769ad;width:498px;margin-top:0}.aws-addons .addons-list .amazon-s3-and-cloudfront-assets>article img{width:100px;height:100px}.aws-addons .addons-list .amazon-s3-and-cloudfront-assets>article h1{font-size:30px}.aws-addons .addons-list .amazon-s3-and-cloudfront-wpml>article{background-color:#277f91}.aws-addons .addons-list .amazon-s3-and-cloudfront-meta-slider>article{background-color:#03b0d8;margin-right:0}.aws-addons .addons-list .amazon-s3-and-cloudfront-enable-media-replace>article{background-color:#33cc66}.aws-addons .addons-list .amazon-s3-and-cloudfront-enable-media-replace>article img{width:70px;height:70px;margin-bottom:10px}.aws-addons .addons-list .amazon-s3-and-cloudfront-acf-image-crop>article{background-color:#f55e4f}
1
+ .aws-content,.aws-updated,.aws-compatibility-notice{-webkit-box-sizing:border-box;box-sizing:border-box;max-width:650px}.toplevel_page_amazon-web-services .error,.toplevel_page_amazon-web-services .notice,.toplevel_page_amazon-web-services .updated{-webkit-box-sizing:border-box;box-sizing:border-box;max-width:650px}.aws-addons,.aws-main[data-view="addons"] .aws-compatibility-notice{max-width:772px}.aws-settings h3{font-size:20px}.aws-settings .need-help{background-color:#fff;padding:20px 20px 20px 50px;line-height:1;font-size:16px;font-weight:bold;position:relative}.aws-settings .need-help:before{font-family:"dashicons";content:"\f348";font-size:24px;line-height:1;width:24px;height:24px;position:absolute;top:16px;left:16px}.aws-settings .need-help a{text-decoration:none}.aws-settings p{font-size:14px}body.toplevel_page_amazon-web-services .wrap h1{color:#fff;font-weight:600;font-size:26px;line-height:1;margin:20px 0 15px 0;width:650px;padding:100px 0 0 25px;height:150px;background:#f7a80d url(../img/aws-logo.svg) right 40px center no-repeat;background-size:100px 79px;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box}.aws-addons .addons-list{margin:20px 0 200px;padding-top:5px;border-top:1px solid #ddd;font-size:14px}.aws-addons .addons-list li:last-child{margin-bottom:0}.aws-addons .addons-list article{margin-top:10px;width:100%;height:250px;position:relative;font-weight:300;line-height:1;overflow:hidden}.aws-addons .addons-list article .info{position:absolute;bottom:20px;left:20px}.aws-addons .addons-list article .info ul{margin:16px 0 0;color:rgba(255,255,255,0.7)}.aws-addons .addons-list article .info ul li{display:inline-block;margin:0 30px 0 0}.aws-addons .addons-list article .info ul li:last-child{margin-right:0}.aws-addons .addons-list article .info a{color:#fff;text-decoration:none}.aws-addons .addons-list article .info a:hover{text-decoration:underline}.aws-addons .addons-list article h1,.aws-addons .addons-list article h2{padding:0;color:#fff;line-height:1;font-weight:600}.aws-addons .addons-list article h1{margin:0;font-size:26px}.aws-addons .addons-list article h2{margin:4px 0 0;font-size:18px}.aws-addons .addons-list article .label{position:absolute;top:10px;right:10px;font-style:italic;color:#fff}.aws-addons .addons-list>li>ul{background-color:#fff;border-top:0;padding:10px;overflow:hidden}.aws-addons .addons-list>li>ul article{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center}.aws-addons .addons-list>li>ul article img{width:100px;height:100px}.aws-addons .addons-list>li>ul article h1{margin-top:8px;font-size:30px;line-height:1.2}.aws-addons .addons-list>li>ul article .info{display:block;left:auto;bottom:auto;margin:0 auto;text-align:center}.aws-addons .addons-list>li>ul article .info ul li{margin-right:10px;font-size:13px;line-height:1.6}.aws-addons .addons-list>li>ul li{margin-bottom:0}.aws-addons .addons-list .amazon-s3-and-cloudfront>article{background-image:url(../img/as3cf-banner-bw.jpg);background-size:772px 150px;background-repeat:no-repeat;height:150px}@media (min--moz-device-pixel-ratio: 1.3), (-webkit-min-device-pixel-ratio: 1.3), (min-device-pixel-ratio: 1.3), (min-resolution: 1.3dppx){.aws-addons .addons-list .amazon-s3-and-cloudfront>article{background-image:url(../img/as3cf-banner-bw@2x.jpg)}}.aws-addons .addons-list .amazon-s3-and-cloudfront-pro>article{background-image:url(../img/as3cf-banner.jpg);background-size:772px 250px;background-repeat:no-repeat}@media (min--moz-device-pixel-ratio: 1.3), (-webkit-min-device-pixel-ratio: 1.3), (min-device-pixel-ratio: 1.3), (min-resolution: 1.3dppx){.aws-addons .addons-list .amazon-s3-and-cloudfront-pro>article{background-image:url(../img/as3cf-banner@2x.jpg)}}.aws-addons .addons-list .amazon-s3-and-cloudfront-assets>article{background-color:#0769ad;margin-top:0}
assets/img/icon-acf-image-crop.svg DELETED
@@ -1,10 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
- <svg width="412px" height="412px" viewBox="0 0 412 412" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns">
3
- <!-- Generator: Sketch 3.4.2 (15855) - http://www.bohemiancoding.com/sketch -->
4
- <title>Untitled 5</title>
5
- <desc>Created with Sketch.</desc>
6
- <defs></defs>
7
- <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage">
8
- <path d="M412,309 L343.334,309 L343.334,68.667 L103,68.667 L103,0 L68.667,0 L68.667,68.667 L0,68.667 L0,103 L68.667,103 L68.667,343.334 L309,343.334 L309,412 L343.334,412 L343.334,343.334 L412,343.334 L412,309 L412,309 Z M103,309 L103,103 L309,103 L309,309 L103,309 L103,309 Z M137.333,163.083 C137.333,148.867 148.867,137.333 163.083,137.333 C177.3,137.333 188.833,148.867 188.833,163.083 C188.833,177.299 177.3,188.833 163.083,188.833 C148.867,188.833 137.333,177.299 137.333,163.083 L137.333,163.083 Z M228.18,171.667 L197.081,237.484 L171.667,215.624 L137.333,274.667 L279.68,274.667 L228.18,171.667 L228.18,171.667 Z" id="crop-6" fill="#FFFFFF" sketch:type="MSShapeGroup"></path>
9
- </g>
10
- </svg>
 
 
 
 
 
 
 
 
 
 
assets/img/icon-edd.svg DELETED
@@ -1,10 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
- <svg width="412px" height="330px" viewBox="0 0 412 330" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns">
3
- <!-- Generator: Sketch 3.2.2 (9983) - http://www.bohemiancoding.com/sketch -->
4
- <title>Untitled</title>
5
- <desc>Created with Sketch.</desc>
6
- <defs></defs>
7
- <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage">
8
- <path d="M170.542,253.382 C170.542,260.285 164.944,265.882 158.042,265.882 C151.138,265.882 145.542,260.285 145.542,253.382 L145.542,197.082 C145.542,190.179 151.138,184.582 158.042,184.582 C164.944,184.582 170.542,190.179 170.542,197.082 L170.542,253.382 L170.542,253.382 Z M219.542,253.382 C219.542,260.285 213.944,265.882 207.042,265.882 C200.138,265.882 194.542,260.285 194.542,253.382 L194.542,197.082 C194.542,190.179 200.138,184.582 207.042,184.582 C213.944,184.582 219.542,190.179 219.542,197.082 L219.542,253.382 L219.542,253.382 Z M268.458,253.382 C268.458,260.285 262.862,265.882 255.958,265.882 C249.056,265.882 243.458,260.285 243.458,253.382 L243.458,197.082 C243.458,190.179 249.056,184.582 255.958,184.582 C262.862,184.582 268.458,190.179 268.458,197.082 L268.458,253.382 L268.458,253.382 Z M76.752,98.145 L168.875,6.022 C175.709,-0.812 186.791,-0.812 193.625,6.022 C200.459,12.857 200.459,23.937 193.625,30.771 L126.25,98.145 L76.752,98.145 L76.752,98.145 Z M285.75,98.145 L335.248,98.145 L243.124,6.022 C236.29,-0.812 225.21,-0.812 218.376,6.022 C211.541,12.857 211.541,23.937 218.376,30.771 L285.75,98.145 L285.75,98.145 Z M341.489,162.812 L279.988,289.103 L132.301,289.103 L70.547,162.812 L341.489,162.812 L341.489,162.812 Z M412,122.812 L0,122.812 L0,162.812 L11.041,162.812 C20.207,162.812 28.574,168.034 32.602,176.269 L107.334,329.103 L305,329.103 L379.409,176.304 C383.429,168.05 391.805,162.812 400.986,162.812 L412,162.812 L412,122.812 L412,122.812 Z" id="basket-4-icon" fill="#FFFFFF" sketch:type="MSShapeGroup"></path>
9
- </g>
10
- </svg>
 
 
 
 
 
 
 
 
 
 
assets/img/icon-enable-media-replace.svg DELETED
@@ -1,10 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
- <svg width="412px" height="412px" viewBox="0 0 412 412" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns">
3
- <!-- Generator: Sketch 3.3.3 (12072) - http://www.bohemiancoding.com/sketch -->
4
- <title>Slice 1</title>
5
- <desc>Created with Sketch.</desc>
6
- <defs></defs>
7
- <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage">
8
- <path d="M42.556,309 C59.346,309 65.029,299.998 71.868,293.175 C85.833,279.159 103,285.128 103,307.71 L103,412 L207.29,412 C229.872,412 235.841,394.833 221.834,380.869 C215.002,374.029 206,368.346 206,351.548 C206,332.889 225.028,309 257.5,309 C289.972,309 309,332.889 309,351.548 C309,368.346 299.998,374.029 293.175,380.869 C279.159,394.833 285.128,412 307.71,412 L412,412 L412,307.71 C412,285.128 394.833,279.159 380.869,293.175 C374.029,299.998 368.346,309 351.548,309 C332.889,309 309,289.972 309,257.5 C309,225.028 332.889,206 351.548,206 C368.346,206 374.029,215.002 380.869,221.834 C394.833,235.841 412,229.872 412,207.29 L412,103 L307.71,103 C285.128,103 279.159,85.833 293.175,71.869 C299.998,65.029 309,59.346 309,42.557 C309,23.889 289.972,0 257.5,0 C225.028,0 206,23.889 206,42.556 C206,59.346 215.002,65.029 221.834,71.868 C235.841,85.833 229.872,103 207.29,103 L103,103 L103,207.29 C103,229.872 85.833,235.841 71.869,221.834 C65.029,215.002 59.346,206 42.556,206 C23.889,206 0,225.028 0,257.5 C0,289.972 23.889,309 42.556,309 L42.556,309 Z" id="puzzle-1" fill="#FFFFFF" sketch:type="MSShapeGroup"></path>
9
- </g>
10
- </svg>
 
 
 
 
 
 
 
 
 
 
assets/img/icon-meta-slider.svg DELETED
@@ -1,16 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
- <svg width="55px" height="30px" viewBox="0 0 55 30" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns">
3
- <!-- Generator: Sketch 3.3.3 (12072) - http://www.bohemiancoding.com/sketch -->
4
- <title>Untitled</title>
5
- <desc>Created with Sketch.</desc>
6
- <defs></defs>
7
- <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage">
8
- <g id="meta-slider-logo" sketch:type="MSLayerGroup" fill="#FFFFFF">
9
- <g id="Group" sketch:type="MSShapeGroup">
10
- <path d="M7.7,29.5 L26.5,5.1 L22.7,0.3 L0,29.5 L7.7,29.5 L7.7,29.5 Z" id="Shape"></path>
11
- <path d="M9.3,29.5 L17.2,29.5 L32,10.2 L47.1,29.5 L55,29.5 L32,0 L9.3,29.5 L9.3,29.5 Z" id="Shape"></path>
12
- <path d="M28.2,17.2 L37.5,29.5 L45.6,29.5 L32,12.1 L28.2,17.2 L28.2,17.2 Z" id="Shape"></path>
13
- </g>
14
- </g>
15
- </g>
16
- </svg>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
assets/img/icon-woocommerce.svg DELETED
@@ -1,10 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
- <svg width="412px" height="302px" viewBox="0 0 412 302" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns">
3
- <!-- Generator: Sketch 3.2.2 (9983) - http://www.bohemiancoding.com/sketch -->
4
- <title>Untitled</title>
5
- <desc>Created with Sketch.</desc>
6
- <defs></defs>
7
- <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage">
8
- <path d="M17.851,78.609 L0.169,38.609 L289.913,38.609 L277.337,78.609 L17.851,78.609 L17.851,78.609 Z M32.271,113.277 L49.732,152.775 L254.816,152.775 L267.236,113.277 L32.271,113.277 L32.271,113.277 Z M339.858,0.109 L280.678,188.275 L65.231,188.275 L82.858,228.275 L309.926,228.275 L369.104,40.109 L399.084,40.109 L411.83,0.109 L339.858,0.109 L339.858,0.109 Z M239.925,248.109 C225.073,248.109 213.034,260.148 213.034,275 C213.034,289.852 225.073,301.891 239.925,301.891 C254.777,301.891 266.816,289.852 266.816,275 C266.816,260.148 254.776,248.109 239.925,248.109 L239.925,248.109 Z M151.042,248.109 C136.19,248.109 124.151,260.148 124.151,275 C124.151,289.852 136.19,301.891 151.042,301.891 C165.894,301.891 177.933,289.852 177.933,275 C177.933,260.148 165.894,248.109 151.042,248.109 L151.042,248.109 Z" id="shopping-cart-5-icon" fill="#FFFFFF" sketch:type="MSShapeGroup"></path>
9
- </g>
10
- </svg>
 
 
 
 
 
 
 
 
 
 
assets/img/icon-wpml.svg DELETED
@@ -1,12 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
- <svg width="46px" height="53px" viewBox="0 0 46 53" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns">
3
- <!-- Generator: Sketch 3.3.3 (12072) - http://www.bohemiancoding.com/sketch -->
4
- <title>Slice 1</title>
5
- <desc>Created with Sketch.</desc>
6
- <defs></defs>
7
- <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage">
8
- <g id="wpml-logo" sketch:type="MSLayerGroup" transform="translate(0.000000, -1.000000)" fill="#FFFFFF">
9
- <path d="M21.1,1 C33.8,0.8 41.6,7.6 44.5,17.2 C46.7,24.4 45.1,34.3 40.2,37.3 C34.5,40.7 26.9,34.7 28.3,28.4 C29.6,22.5 38.6,19 37.3,12.2 C35.8,4.2 21.7,4 15.3,7.7 C11.5,9.9 8.3,13.4 6.6,17.7 C1.9,29.6 10.8,41.1 19.3,43.7 C21.9,44.5 26.4,44.5 29,43.7 C33,42.5 37.2,39.4 40.7,44 C43.4,47.7 41.6,53.1 37.5,53.9 C34.3,54.5 30.9,52.5 29.9,50.8 C29,49.1 29.7,46.5 31.2,46 L32.4,46 C34.6,47 34.3,50.8 35.5,52.7 C40.5,52.7 41.7,45.6 38.1,43.1 C35.6,41.4 30.5,44.2 27.6,44.8 C21.8,46 15.6,44.2 12,42.1 C2.6,36.5 -3.2,22.8 4.6,11.1 C7.2,7.2 11.2,3.9 15.9,2.1 C17.5,1.5 19.4,1.7 21.1,1 L21.1,1 Z" id="Shape" sketch:type="MSShapeGroup"></path>
10
- </g>
11
- </g>
12
- </svg>
 
 
 
 
 
 
 
 
 
 
 
 
assets/sass/styles.scss CHANGED
@@ -161,25 +161,26 @@ body.toplevel_page_amazon-web-services .wrap {
161
  overflow: hidden;
162
 
163
  article {
164
- width: 244px;
165
- float: left;
166
- margin-right: 10px;
167
-
168
  img {
169
- width: 80px;
170
- height: 80px;
171
  }
172
 
173
  h1 {
174
- font-size: 22px;
 
175
  line-height: 1.2;
176
  }
177
 
178
  .info {
179
- left: 0;
180
- right: 0;
 
181
  margin: 0 auto;
182
- width: 210px;
183
  text-align: center;
184
 
185
  ul {
@@ -226,52 +227,9 @@ body.toplevel_page_amazon-web-services .wrap {
226
  }
227
  }
228
 
229
- .amazon-s3-and-cloudfront-woocommerce > article {
230
- background-color: #a46497;
231
- margin: 0;
232
- }
233
-
234
- .amazon-s3-and-cloudfront-edd > article {
235
- background-color: #1d2428;
236
- background-position: center 50px;
237
- }
238
-
239
  .amazon-s3-and-cloudfront-assets > article {
240
  background-color: #0769ad;
241
- width: 498px;
242
  margin-top: 0;
243
-
244
- img {
245
- width: 100px;
246
- height: 100px;
247
- }
248
-
249
- h1 {
250
- font-size: 30px;
251
- }
252
- }
253
-
254
- .amazon-s3-and-cloudfront-wpml > article {
255
- background-color: #277f91;
256
- }
257
-
258
- .amazon-s3-and-cloudfront-meta-slider > article {
259
- background-color: #03b0d8;
260
- margin-right: 0;
261
- }
262
-
263
- .amazon-s3-and-cloudfront-enable-media-replace > article {
264
- background-color: #33cc66;
265
-
266
- img {
267
- width: 70px;
268
- height: 70px;
269
- margin-bottom: 10px;
270
- }
271
- }
272
-
273
- .amazon-s3-and-cloudfront-acf-image-crop > article {
274
- background-color: #f55e4f;
275
  }
276
  }
277
  }
161
  overflow: hidden;
162
 
163
  article {
164
+ display: flex;
165
+ align-items: center;
166
+ justify-content: center;
167
+
168
  img {
169
+ width: 100px;
170
+ height: 100px;
171
  }
172
 
173
  h1 {
174
+ margin-top: 8px;
175
+ font-size: 30px;
176
  line-height: 1.2;
177
  }
178
 
179
  .info {
180
+ display: block;
181
+ left: auto;
182
+ bottom: auto;
183
  margin: 0 auto;
 
184
  text-align: center;
185
 
186
  ul {
227
  }
228
  }
229
 
 
 
 
 
 
 
 
 
 
 
230
  .amazon-s3-and-cloudfront-assets > article {
231
  background-color: #0769ad;
 
232
  margin-top: 0;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
233
  }
234
  }
235
  }
classes/amazon-web-services.php CHANGED
@@ -112,25 +112,18 @@ class Amazon_Web_Services extends AWS_Plugin_Base {
112
  /**
113
  * Load styles for the AWS menu item
114
  */
115
- function enqueue_menu_styles() {
116
- $src = plugins_url( 'assets/css/global.css', $this->plugin_file_path );
117
- wp_enqueue_style( 'aws-global-styles', $src, array(), $this->get_asset_version() );
118
  }
119
 
120
  /**
121
  * Plugin loading enqueue scripts and styles
122
  */
123
- function plugin_load() {
124
- $version = $this->get_asset_version();
125
- $suffix = $this->get_asset_suffix();
126
 
127
- $src = plugins_url( 'assets/css/styles.css', $this->plugin_file_path );
128
- wp_enqueue_style( 'aws-styles', $src, array(), $version );
129
-
130
- $src = plugins_url( 'assets/js/script' . $suffix . '.js', $this->plugin_file_path );
131
- wp_enqueue_script( 'aws-script', $src, array( 'jquery' ), $version, true );
132
-
133
- if ( isset( $_GET['page'] ) && 'aws-addons' == sanitize_key( $_GET['page'] ) ) { // input var okay
134
  add_filter( 'admin_body_class', array( $this, 'admin_plugin_body_class' ) );
135
  wp_enqueue_script( 'plugin-install' );
136
  add_thickbox();
@@ -356,65 +349,27 @@ class Amazon_Web_Services extends AWS_Plugin_Base {
356
  *
357
  * @return array
358
  */
359
- function get_addons( $unfiltered = false ) {
360
  $addons = array(
361
- 'amazon-s3-and-cloudfront' => array(
362
  'title' => __( 'WP Offload S3 Lite', 'amazon-web-services' ),
363
  'url' => 'https://wordpress.org/plugins/amazon-s3-and-cloudfront/',
364
  'install' => true,
365
  ),
366
  'amazon-s3-and-cloudfront-pro' => array(
367
  'title' => __( 'WP Offload S3', 'amazon-web-services' ),
368
- 'url' => 'https://deliciousbrains.com/wp-offload-s3/',
 
 
369
  'addons' => array(
370
- 'amazon-s3-and-cloudfront-assets' => array(
371
  'title' => __( 'Assets', 'amazon-web-services' ),
372
- 'url' => 'https://deliciousbrains.com/wp-offload-s3/doc/assets-addon/',
 
 
373
  'label' => __( 'Feature', 'amazon-web-services' ),
374
  'icon' => true,
375
  ),
376
- 'amazon-s3-and-cloudfront-woocommerce' => array(
377
- 'title' => __( 'WooCommerce', 'amazon-web-services' ),
378
- 'url' => 'https://deliciousbrains.com/wp-offload-s3/doc/woocommerce-addon/',
379
- 'label' => __( 'Integration', 'amazon-web-services' ),
380
- 'parent_plugin_basename' => 'woocommerce/woocommerce.php',
381
- 'icon' => true,
382
- ),
383
- 'amazon-s3-and-cloudfront-edd' => array(
384
- 'title' => __( 'Easy Digital Downloads', 'amazon-web-services' ),
385
- 'url' => 'https://deliciousbrains.com/wp-offload-s3/doc/edd-addon/',
386
- 'label' => __( 'Integration', 'amazon-web-services' ),
387
- 'parent_plugin_basename' => 'easy-digital-downloads/easy-digital-downloads.php',
388
- 'icon' => true,
389
- ),
390
- 'amazon-s3-and-cloudfront-wpml' => array(
391
- 'title' => __( 'WPML', 'amazon-web-services' ),
392
- 'url' => 'https://deliciousbrains.com/wp-offload-s3/doc/wpml-addon/',
393
- 'label' => __( 'Integration', 'amazon-web-services' ),
394
- 'parent_plugin_basename' => 'wpml-media/plugin.php',
395
- 'icon' => true,
396
- ),
397
- 'amazon-s3-and-cloudfront-meta-slider' => array(
398
- 'title' => __( 'Meta Slider', 'amazon-web-services' ),
399
- 'url' => 'https://deliciousbrains.com/wp-offload-s3/doc/meta-slider-addon/',
400
- 'label' => __( 'Integration', 'amazon-web-services' ),
401
- 'parent_plugin_basename' => 'ml-slider/ml-slider.php',
402
- 'icon' => true,
403
- ),
404
- 'amazon-s3-and-cloudfront-enable-media-replace' => array(
405
- 'title' => __( 'Enable Media Replace', 'amazon-web-services' ),
406
- 'url' => 'https://deliciousbrains.com/wp-offload-s3/doc/enable-media-replace-addon/',
407
- 'label' => __( 'Integration', 'amazon-web-services' ),
408
- 'parent_plugin_basename' => 'enable-media-replace/enable-media-replace.php',
409
- 'icon' => true,
410
- ),
411
- 'amazon-s3-and-cloudfront-acf-image-crop' => array(
412
- 'title' => __( 'ACF Image Crop', 'amazon-web-services' ),
413
- 'url' => 'https://deliciousbrains.com/wp-offload-s3/doc/acf-image-crop-addon/',
414
- 'label' => __( 'Integration', 'amazon-web-services' ),
415
- 'parent_plugin_basename' => 'acf-image-crop-add-on/acf-image-crop.php',
416
- 'icon' => true,
417
- ),
418
  ),
419
  ),
420
  );
112
  /**
113
  * Load styles for the AWS menu item
114
  */
115
+ public function enqueue_menu_styles() {
116
+ $this->enqueue_style( 'aws-global-styles', 'assets/css/global' );
 
117
  }
118
 
119
  /**
120
  * Plugin loading enqueue scripts and styles
121
  */
122
+ public function plugin_load() {
123
+ $this->enqueue_style( 'aws-styles', 'assets/css/styles' );
124
+ $this->enqueue_script( 'aws-script', 'assets/js/script', array( 'jquery' ) );
125
 
126
+ if ( isset( $_GET['page'] ) && 'aws-addons' === sanitize_key( $_GET['page'] ) ) { // input var okay
 
 
 
 
 
 
127
  add_filter( 'admin_body_class', array( $this, 'admin_plugin_body_class' ) );
128
  wp_enqueue_script( 'plugin-install' );
129
  add_thickbox();
349
  *
350
  * @return array
351
  */
352
+ public function get_addons( $unfiltered = false ) {
353
  $addons = array(
354
+ 'amazon-s3-and-cloudfront' => array(
355
  'title' => __( 'WP Offload S3 Lite', 'amazon-web-services' ),
356
  'url' => 'https://wordpress.org/plugins/amazon-s3-and-cloudfront/',
357
  'install' => true,
358
  ),
359
  'amazon-s3-and-cloudfront-pro' => array(
360
  'title' => __( 'WP Offload S3', 'amazon-web-services' ),
361
+ 'url' => $this->dbrains_url( '/wp-offload-s3', array(
362
+ 'utm_campaign' => 'WP+Offload+S3',
363
+ ) ),
364
  'addons' => array(
365
+ 'amazon-s3-and-cloudfront-assets' => array(
366
  'title' => __( 'Assets', 'amazon-web-services' ),
367
+ 'url' => $this->dbrains_url( '/wp-offload-s3/doc/assets-addon/', array(
368
+ 'utm_campaign' => 'addons+install',
369
+ ) ),
370
  'label' => __( 'Feature', 'amazon-web-services' ),
371
  'icon' => true,
372
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
373
  ),
374
  ),
375
  );
classes/aws-plugin-base.php CHANGED
@@ -2,6 +2,8 @@
2
 
3
  class AWS_Plugin_Base {
4
 
 
 
5
  protected $plugin_file_path;
6
  protected $plugin_dir_path;
7
  protected $plugin_slug;
@@ -319,6 +321,36 @@ class AWS_Plugin_Base {
319
  return $links;
320
  }
321
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
322
  /**
323
  * Get the version used for script enqueuing
324
  *
@@ -361,4 +393,38 @@ class AWS_Plugin_Base {
361
 
362
  return apply_filters( 'aws_get_regions', $regions );
363
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
364
  }
2
 
3
  class AWS_Plugin_Base {
4
 
5
+ const DBRAINS_URL = 'https://deliciousbrains.com';
6
+
7
  protected $plugin_file_path;
8
  protected $plugin_dir_path;
9
  protected $plugin_slug;
321
  return $links;
322
  }
323
 
324
+ /**
325
+ * Enqueue script.
326
+ *
327
+ * @param string $handle
328
+ * @param string $path
329
+ * @param array $deps
330
+ * @param bool $footer
331
+ */
332
+ public function enqueue_script( $handle, $path, $deps = array(), $footer = true ) {
333
+ $version = $this->get_asset_version();
334
+ $suffix = $this->get_asset_suffix();
335
+
336
+ $src = plugins_url( $path . $suffix . '.js', $this->plugin_file_path );
337
+ wp_enqueue_script( $handle, $src, $deps, $version, $footer );
338
+ }
339
+
340
+ /**
341
+ * Enqueue style.
342
+ *
343
+ * @param string $handle
344
+ * @param string $path
345
+ * @param array $deps
346
+ */
347
+ public function enqueue_style( $handle, $path, $deps = array() ) {
348
+ $version = $this->get_asset_version();
349
+
350
+ $src = plugins_url( $path . '.css', $this->plugin_file_path );
351
+ wp_enqueue_style( $handle, $src, $deps, $version );
352
+ }
353
+
354
  /**
355
  * Get the version used for script enqueuing
356
  *
393
 
394
  return apply_filters( 'aws_get_regions', $regions );
395
  }
396
+
397
+ /**
398
+ * Generate site URL with correct UTM tags.
399
+ *
400
+ * @param string $path
401
+ * @param array $args
402
+ * @param string $hash
403
+ *
404
+ * @return string
405
+ */
406
+ public function dbrains_url( $path, $args = array(), $hash = '' ) {
407
+ $args = wp_parse_args( $args, array(
408
+ 'utm_medium' => 'insideplugin',
409
+ 'utm_source' => $this->get_utm_source(),
410
+ ) );
411
+ $args = array_map( 'urlencode', $args );
412
+ $url = trailingslashit( self::DBRAINS_URL ) . ltrim( $path, '/' );
413
+ $url = add_query_arg( $args, $url );
414
+
415
+ if ( $hash ) {
416
+ $url .= '#' . $hash;
417
+ }
418
+
419
+ return $url;
420
+ }
421
+
422
+ /**
423
+ * Get UTM source for plugin.
424
+ *
425
+ * @return string
426
+ */
427
+ protected function get_utm_source() {
428
+ return 'AWS';
429
+ }
430
  }
languages/amazon-web-services-en.pot CHANGED
@@ -8,7 +8,7 @@ msgid ""
8
  msgstr ""
9
  "Project-Id-Version: amazon-web-services\n"
10
  "Report-Msgid-Bugs-To: nom@deliciousbrains.com\n"
11
- "POT-Creation-Date: 2017-03-13 13:11+0000\n"
12
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
  "Language-Team: LANGUAGE <LL@li.org>\n"
@@ -18,7 +18,7 @@ msgstr ""
18
  "Content-Transfer-Encoding: 8bit\n"
19
 
20
  #: classes/amazon-web-services.php:51
21
- #: classes/amazon-web-services.php:195
22
  msgid "Amazon Web Services"
23
  msgstr ""
24
 
@@ -31,99 +31,66 @@ msgid "Addons"
31
  msgstr ""
32
 
33
  #: classes/amazon-web-services.php:83
34
- #: classes/amazon-web-services.php:349
35
- #: view/settings.php:14
36
  msgid "Access Keys"
37
  msgstr ""
38
 
39
- #: classes/amazon-web-services.php:153
40
  msgid "Cheatin' eh?"
41
  msgstr ""
42
 
43
- #: classes/amazon-web-services.php:204
44
  msgid "Amazon Web Services: Addons"
45
  msgstr ""
46
 
47
- #: classes/amazon-web-services.php:297
48
  #, php-format
49
  msgid ""
50
  "You must first <a href=\"%s\">set your AWS access keys</a> to use this addon."
51
  msgstr ""
52
 
53
- #: classes/amazon-web-services.php:362
54
  msgid "WP Offload S3 Lite"
55
  msgstr ""
56
 
57
- #: classes/amazon-web-services.php:367
58
  msgid "WP Offload S3"
59
  msgstr ""
60
 
61
- #: classes/amazon-web-services.php:371
62
  msgid "Assets"
63
  msgstr ""
64
 
65
- #: classes/amazon-web-services.php:373
66
  msgid "Feature"
67
  msgstr ""
68
 
69
- #: classes/amazon-web-services.php:377
70
- msgid "WooCommerce"
71
- msgstr ""
72
-
73
- #: classes/amazon-web-services.php:379
74
- #: classes/amazon-web-services.php:386
75
- #: classes/amazon-web-services.php:393
76
- #: classes/amazon-web-services.php:400
77
- #: classes/amazon-web-services.php:407
78
- #: classes/amazon-web-services.php:414
79
- msgid "Integration"
80
- msgstr ""
81
-
82
- #: classes/amazon-web-services.php:384
83
- msgid "Easy Digital Downloads"
84
- msgstr ""
85
-
86
- #: classes/amazon-web-services.php:391
87
- msgid "WPML"
88
- msgstr ""
89
-
90
- #: classes/amazon-web-services.php:398
91
- msgid "Meta Slider"
92
- msgstr ""
93
-
94
- #: classes/amazon-web-services.php:405
95
- msgid "Enable Media Replace"
96
- msgstr ""
97
-
98
- #: classes/amazon-web-services.php:412
99
- msgid "ACF Image Crop"
100
- msgstr ""
101
-
102
- #: classes/amazon-web-services.php:461
103
  msgctxt "Plugin already installed and activated"
104
  msgid "Installed & Activated"
105
  msgstr ""
106
 
107
- #: classes/amazon-web-services.php:463
108
  msgctxt "Plugin already installed"
109
  msgid "Installed"
110
  msgstr ""
111
 
112
- #: classes/amazon-web-services.php:464
113
  msgctxt "Activate plugin now"
114
  msgid "Activate Now"
115
  msgstr ""
116
 
117
- #: classes/amazon-web-services.php:467
118
  msgctxt "Install plugin now"
119
  msgid "Install Now"
120
  msgstr ""
121
 
122
- #: classes/amazon-web-services.php:503
123
  msgid "Visit Site"
124
  msgstr ""
125
 
126
- #: classes/amazon-web-services.php:506
127
  msgctxt "View plugin details"
128
  msgid "View Details"
129
  msgstr ""
@@ -154,7 +121,7 @@ msgid ""
154
  "7.16.2+ compiled with OpenSSL and zlib. Your server currently has"
155
  msgstr ""
156
 
157
- #: classes/aws-plugin-base.php:296
158
  msgid "Settings"
159
  msgstr ""
160
 
@@ -246,42 +213,42 @@ msgid ""
246
  "Guide &rarr;</a>"
247
  msgstr ""
248
 
249
- #: view/settings.php:19
250
  msgid "You have enabled the use of IAM roles for Amazon EC2 instances."
251
  msgstr ""
252
 
253
- #: view/settings.php:25
254
  msgid ""
255
  "You&#8217;ve already defined your AWS access keys in your wp-config.php. If "
256
  "you&#8217;d prefer to manage them here and store them in the database (not "
257
  "recommended), simply remove the lines from your wp-config."
258
  msgstr ""
259
 
260
- #: view/settings.php:31
261
  msgid ""
262
  "We recommend defining your Access Keys in wp-config.php so long as you "
263
  "don&#8217;t commit it to source control (you shouldn&#8217;t be). Simply "
264
  "copy the following snippet and replace the stars with the keys."
265
  msgstr ""
266
 
267
- #: view/settings.php:38
268
  msgid ""
269
  "If you&#8217;d rather store your Access Keys in the database, <a href="
270
  "\"\">click here to reveal a form.</a>"
271
  msgstr ""
272
 
273
- #: view/settings.php:54
274
  msgid "Access Key ID:"
275
  msgstr ""
276
 
277
- #: view/settings.php:60
278
  msgid "Secret Access Key:"
279
  msgstr ""
280
 
281
- #: view/settings.php:67
282
  msgid "Save Changes"
283
  msgstr ""
284
 
285
- #: view/settings.php:70
286
  msgid "Remove Keys"
287
  msgstr ""
8
  msgstr ""
9
  "Project-Id-Version: amazon-web-services\n"
10
  "Report-Msgid-Bugs-To: nom@deliciousbrains.com\n"
11
+ "POT-Creation-Date: 2017-06-19 14:44+0100\n"
12
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
  "Language-Team: LANGUAGE <LL@li.org>\n"
18
  "Content-Transfer-Encoding: 8bit\n"
19
 
20
  #: classes/amazon-web-services.php:51
21
+ #: classes/amazon-web-services.php:188
22
  msgid "Amazon Web Services"
23
  msgstr ""
24
 
31
  msgstr ""
32
 
33
  #: classes/amazon-web-services.php:83
34
+ #: classes/amazon-web-services.php:342
35
+ #: view/settings.php:16
36
  msgid "Access Keys"
37
  msgstr ""
38
 
39
+ #: classes/amazon-web-services.php:146
40
  msgid "Cheatin' eh?"
41
  msgstr ""
42
 
43
+ #: classes/amazon-web-services.php:197
44
  msgid "Amazon Web Services: Addons"
45
  msgstr ""
46
 
47
+ #: classes/amazon-web-services.php:290
48
  #, php-format
49
  msgid ""
50
  "You must first <a href=\"%s\">set your AWS access keys</a> to use this addon."
51
  msgstr ""
52
 
53
+ #: classes/amazon-web-services.php:355
54
  msgid "WP Offload S3 Lite"
55
  msgstr ""
56
 
57
+ #: classes/amazon-web-services.php:360
58
  msgid "WP Offload S3"
59
  msgstr ""
60
 
61
+ #: classes/amazon-web-services.php:366
62
  msgid "Assets"
63
  msgstr ""
64
 
65
+ #: classes/amazon-web-services.php:370
66
  msgid "Feature"
67
  msgstr ""
68
 
69
+ #: classes/amazon-web-services.php:416
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
70
  msgctxt "Plugin already installed and activated"
71
  msgid "Installed & Activated"
72
  msgstr ""
73
 
74
+ #: classes/amazon-web-services.php:418
75
  msgctxt "Plugin already installed"
76
  msgid "Installed"
77
  msgstr ""
78
 
79
+ #: classes/amazon-web-services.php:419
80
  msgctxt "Activate plugin now"
81
  msgid "Activate Now"
82
  msgstr ""
83
 
84
+ #: classes/amazon-web-services.php:422
85
  msgctxt "Install plugin now"
86
  msgid "Install Now"
87
  msgstr ""
88
 
89
+ #: classes/amazon-web-services.php:458
90
  msgid "Visit Site"
91
  msgstr ""
92
 
93
+ #: classes/amazon-web-services.php:461
94
  msgctxt "View plugin details"
95
  msgid "View Details"
96
  msgstr ""
121
  "7.16.2+ compiled with OpenSSL and zlib. Your server currently has"
122
  msgstr ""
123
 
124
+ #: classes/aws-plugin-base.php:298
125
  msgid "Settings"
126
  msgstr ""
127
 
213
  "Guide &rarr;</a>"
214
  msgstr ""
215
 
216
+ #: view/settings.php:21
217
  msgid "You have enabled the use of IAM roles for Amazon EC2 instances."
218
  msgstr ""
219
 
220
+ #: view/settings.php:27
221
  msgid ""
222
  "You&#8217;ve already defined your AWS access keys in your wp-config.php. If "
223
  "you&#8217;d prefer to manage them here and store them in the database (not "
224
  "recommended), simply remove the lines from your wp-config."
225
  msgstr ""
226
 
227
+ #: view/settings.php:33
228
  msgid ""
229
  "We recommend defining your Access Keys in wp-config.php so long as you "
230
  "don&#8217;t commit it to source control (you shouldn&#8217;t be). Simply "
231
  "copy the following snippet and replace the stars with the keys."
232
  msgstr ""
233
 
234
+ #: view/settings.php:40
235
  msgid ""
236
  "If you&#8217;d rather store your Access Keys in the database, <a href="
237
  "\"\">click here to reveal a form.</a>"
238
  msgstr ""
239
 
240
+ #: view/settings.php:56
241
  msgid "Access Key ID:"
242
  msgstr ""
243
 
244
+ #: view/settings.php:62
245
  msgid "Secret Access Key:"
246
  msgstr ""
247
 
248
+ #: view/settings.php:69
249
  msgid "Save Changes"
250
  msgstr ""
251
 
252
+ #: view/settings.php:72
253
  msgid "Remove Keys"
254
  msgstr ""
readme.txt CHANGED
@@ -1,9 +1,9 @@
1
  === Amazon Web Services ===
2
  Contributors: bradt, deliciousbrains
3
  Tags: amazon, amazon web services
4
- Requires at least: 4.4
5
- Tested up to: 4.7.3
6
- Stable tag: 1.0.2
7
  License: GPLv3
8
 
9
  Houses the Amazon Web Services (AWS) PHP libraries and manages access keys. Required by other AWS plugins.
@@ -13,7 +13,7 @@ Houses the Amazon Web Services (AWS) PHP libraries and manages access keys. Requ
13
  This plugin is required by other plugins, which use its libraries and its settings to connect to AWS services. Currently, there are only two plugins that require this plugin:
14
 
15
  * [WP Offload S3 Lite](http://wordpress.org/plugins/amazon-s3-and-cloudfront/)
16
- * [WP Offload S3](https://deliciousbrains.com/wp-offload-s3/)
17
 
18
  = Requirements =
19
 
@@ -33,6 +33,9 @@ This plugin is required by other plugins, which use its libraries and its settin
33
 
34
  == Changelog ==
35
 
 
 
 
36
  = 1.0.2 - 2017-03-13 =
37
  * New: AWS SDK updated to 2.8.31
38
  * New: London and Montreal regions added
@@ -45,7 +48,7 @@ This plugin is required by other plugins, which use its libraries and its settin
45
  * Improvement: Compatibility with WP Offload S3 1.2
46
 
47
  = 0.3.7 - 2016-09-01 =
48
- * Improvement: No longer delete plugin data on uninstall. Manual removal possible, as per this [doc](https://deliciousbrains.com/wp-offload-s3/doc/uninstall/).
49
 
50
  = 0.3.6 - 2016-05-30 =
51
  * Improvement: Now checks that the `curl_multi_exec` function is available.
@@ -71,12 +74,12 @@ This plugin is required by other plugins, which use its libraries and its settin
71
  * Bug fix: Style inconsistencies on the _Addons_ screen
72
 
73
  = 0.3 - 2015-07-08 =
74
- * New: Support for [IAM Roles on Amazon EC2](https://deliciousbrains.com/wp-offload-s3/doc/iam-roles/) using the `AWS_USE_EC2_IAM_ROLE` constant
75
  * New: Redesigned _Access Keys_ and _Addons_ screens
76
  * Improvement: _Settings_ menu item renamed to _Access Keys_
77
  * Improvement: _Access Keys_ link added to plugin row on _Plugins_ screen
78
  * Improvement: Activate addons directly from within _Addons_ screen
79
- * Improvement: [Quick Start Guide](https://deliciousbrains.com/wp-offload-s3/doc/quick-start-guide/) documentation
80
 
81
  = 0.2.2 - 2015-01-19 =
82
  * Bug Fix: Reverting AWS client config of region and signature
1
  === Amazon Web Services ===
2
  Contributors: bradt, deliciousbrains
3
  Tags: amazon, amazon web services
4
+ Requires at least: 4.6
5
+ Tested up to: 4.8
6
+ Stable tag: 1.0.3
7
  License: GPLv3
8
 
9
  Houses the Amazon Web Services (AWS) PHP libraries and manages access keys. Required by other AWS plugins.
13
  This plugin is required by other plugins, which use its libraries and its settings to connect to AWS services. Currently, there are only two plugins that require this plugin:
14
 
15
  * [WP Offload S3 Lite](http://wordpress.org/plugins/amazon-s3-and-cloudfront/)
16
+ * [WP Offload S3](https://deliciousbrains.com/wp-offload-s3/?utm_campaign=WP%2BOffload%2BS3&utm_source=wordpress.org&utm_medium=free%2Bplugin%2Blisting&utm_content=AWS)
17
 
18
  = Requirements =
19
 
33
 
34
  == Changelog ==
35
 
36
+ = 1.0.3 - 2017-06-19 =
37
+ * Improvement: Compatibility with WP Offload S3 1.5
38
+
39
  = 1.0.2 - 2017-03-13 =
40
  * New: AWS SDK updated to 2.8.31
41
  * New: London and Montreal regions added
48
  * Improvement: Compatibility with WP Offload S3 1.2
49
 
50
  = 0.3.7 - 2016-09-01 =
51
+ * Improvement: No longer delete plugin data on uninstall. Manual removal possible, as per this [doc](https://deliciousbrains.com/wp-offload-s3/doc/uninstall/?utm_campaign=changelogs&utm_source=wordpress.org&utm_medium=free%2Bplugin%2Blisting&utm_content=AWS).
52
 
53
  = 0.3.6 - 2016-05-30 =
54
  * Improvement: Now checks that the `curl_multi_exec` function is available.
74
  * Bug fix: Style inconsistencies on the _Addons_ screen
75
 
76
  = 0.3 - 2015-07-08 =
77
+ * New: Support for [IAM Roles on Amazon EC2](https://deliciousbrains.com/wp-offload-s3/doc/iam-roles/?utm_campaign=changelogs&utm_source=wordpress.org&utm_medium=free%2Bplugin%2Blisting&utm_content=AWS) using the `AWS_USE_EC2_IAM_ROLE` constant
78
  * New: Redesigned _Access Keys_ and _Addons_ screens
79
  * Improvement: _Settings_ menu item renamed to _Access Keys_
80
  * Improvement: _Access Keys_ link added to plugin row on _Plugins_ screen
81
  * Improvement: Activate addons directly from within _Addons_ screen
82
+ * Improvement: [Quick Start Guide](https://deliciousbrains.com/wp-offload-s3/doc/quick-start-guide/?utm_campaign=changelogs&utm_source=wordpress.org&utm_medium=free%2Bplugin%2Blisting&utm_content=AWS) documentation
83
 
84
  = 0.2.2 - 2015-01-19 =
85
  * Bug Fix: Reverting AWS client config of region and signature
view/settings.php CHANGED
@@ -6,7 +6,9 @@
6
  <?php if ( ! $this->are_access_keys_set() && ! $use_ec2_iam_roles ) : ?>
7
 
8
  <p class="need-help dashicons-before dashicons-info">
9
- <?php printf( __( 'Need help getting your Access Keys? <a href="%s">Check out the Quick Start Guide &rarr;</a>', 'amazon-web-services' ), 'https://deliciousbrains.com/wp-offload-s3/doc/quick-start-guide/' ); ?>
 
 
10
  </p>
11
 
12
  <?php endif; ?>
6
  <?php if ( ! $this->are_access_keys_set() && ! $use_ec2_iam_roles ) : ?>
7
 
8
  <p class="need-help dashicons-before dashicons-info">
9
+ <?php printf( __( 'Need help getting your Access Keys? <a href="%s">Check out the Quick Start Guide &rarr;</a>', 'amazon-web-services' ), $this->dbrains_url( '/wp-offload-s3/doc/quick-start-guide/', array(
10
+ 'utm_campaign' => 'support+docs',
11
+ ) ) ); ?>
12
  </p>
13
 
14
  <?php endif; ?>