Skip to content
Merged

Uat #415

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
73 commits
Select commit Hold shift + click to select a range
bfaa63f
Add PGW support for CNAME
Mar 8, 2021
1f3af65
Improve responsive design
Mar 17, 2021
9cd48b8
Update compiled assets
Mar 17, 2021
a28fdde
Merge branch 'uat' into develop
Mar 17, 2021
304a841
Use the video classes that leverages core defined classes
Mar 17, 2021
50c0b20
Fix spacing
Mar 17, 2021
3280ac4
Fix fetched assets
Mar 18, 2021
25a966c
Cleanup
Mar 18, 2021
f1d85b1
Flag sprite images as unsyncable
Mar 18, 2021
0a4b85a
Fix SVN deployment of the plugin
Mar 19, 2021
9afc46e
Merge pull request #390 from cloudinary/fix/deploy
pereirinha Mar 22, 2021
92992bc
Merge pull request #381 from cloudinary/fix/pgw-cname
pereirinha Mar 22, 2021
9dd87ef
Merge pull request #386 from cloudinary/fix/ui-styling
pereirinha Mar 22, 2021
47b6166
Merge pull request #387 from cloudinary/fix/video-transformations
pereirinha Mar 22, 2021
519f440
Update caption on WordPress from Cloudinary
Mar 22, 2021
e845ab9
Update caption on Cloudinary from WordPress
Mar 22, 2021
a0ef0e7
Get the suffixed public ID on upload options
Mar 22, 2021
53d9b9a
Get the suffixed public ID on breakpoint options
Mar 22, 2021
29f9cbf
Bail enqueuing gallery scripts if conditions are not met
Mar 23, 2021
c458d2c
Make feature image as part of the gallery block
Mar 23, 2021
3ecf4fc
Delay the storage sync
Mar 25, 2021
7f6fb28
Add deactivation checkboxes for report and contact
Mar 26, 2021
f042139
Add logic to upload report to the cloud
Mar 26, 2021
80b0ff6
Move report logic to its class, instead of the UI component
Mar 26, 2021
278fdbc
Change the method visibility
Mar 26, 2021
42bca0d
Update compiled assets
Mar 26, 2021
514212d
Update labels wording
Mar 26, 2021
58af704
Improve logic to contact
Mar 26, 2021
601e48a
Only expose logic for contact if ok to submit the report
Mar 26, 2021
074b66c
Update compiled assets
Mar 26, 2021
16ce051
Improve the asset creating
Mar 26, 2021
affc26f
Merge pull request #393 from cloudinary/fix/pgw-script
pereirinha Mar 26, 2021
9a785ca
Merge pull request #394 from cloudinary/fix/cloudinary-storage
pereirinha Mar 26, 2021
9cc4137
Merge pull request #392 from cloudinary/feature/sync-caption
pereirinha Mar 29, 2021
ed1cc67
Use safe remove functions instead
Mar 29, 2021
e222005
Merge branch 'develop' into feature/add-report-to-deactivations
pereirinha Mar 29, 2021
4958168
Merge pull request #395 from cloudinary/feature/add-report-to-deactiv…
pereirinha Mar 29, 2021
b5488ae
Update compiled assets
Mar 29, 2021
fec3788
Bump plugin version
Mar 30, 2021
6cbd883
Merge pull request #388 from cloudinary/fix/fetched-assets
pereirinha Mar 31, 2021
35d08ee
Bypass unsyncable types
Mar 31, 2021
cd732e2
Merge pull request #398 from cloudinary/fix/manual-sync
pereirinha Apr 5, 2021
cb58ffb
Merge branch 'develop' into uat
Apr 5, 2021
ec83bf6
Bump plugin version
Apr 5, 2021
021406e
Include preview scripts on term page
Apr 6, 2021
0260595
Fix logic to show status
Apr 6, 2021
a68c43e
Update wording
Apr 6, 2021
b1ccf17
Merge pull request #399 from cloudinary/fix/uat
pereirinha Apr 7, 2021
e8037dc
Bump plugin version
Apr 7, 2021
a68094f
Fix the logic for enabled replacement of Woo gallery
Apr 8, 2021
986d11a
Check if URL is pointing to Cloudinary sync folder
Apr 8, 2021
d699519
Bypass early bail if the asset is in the sync folder for Cloudinary o…
Apr 8, 2021
1043075
Merge pull request #403 from cloudinary/fix/cloudinary-only-storage-t…
pereirinha Apr 9, 2021
a234930
Merge pull request #402 from cloudinary/fix/woo-gallery-replace
pereirinha Apr 9, 2021
b89925f
Wording updates
Apr 9, 2021
bb17fba
Merge pull request #404 from cloudinary/fix/media-labels
pereirinha Apr 9, 2021
30d00be
Bump plugin version
Apr 9, 2021
54fb9f6
Ensure to include Gallery script on archive pages
Apr 12, 2021
d17337b
Add confirmation dialog for Cloudinary only storage
Apr 12, 2021
5940cbc
Update compiled assets
Apr 12, 2021
b45adb7
Warm the cloudinary_id with the public_id for fetched images
Apr 13, 2021
7c98a74
Abstract is syncable delivery types
Apr 13, 2021
e6fd502
Filter get signature
Apr 13, 2021
ce039f2
Merge pull request #409 from cloudinary/fix/fetch-delivery-type
pereirinha Apr 14, 2021
98ee601
Merge pull request #408 from cloudinary/fix/deactivation-confirm
pereirinha Apr 14, 2021
775d503
Merge pull request #407 from cloudinary/fix/pgw-archive
pereirinha Apr 14, 2021
f33e77f
Bump plugin version
Apr 14, 2021
ceef70b
fix local check and upgrade
DavidCramer Apr 15, 2021
08f6e73
Merge pull request #410 from cloudinary/fix/migration-update-sync
pereirinha Apr 15, 2021
6f7a3f9
Maybe get the public_id for fetch images
Apr 16, 2021
12589c5
Bypass fetch check
Apr 16, 2021
c60cfab
Do not remove twice the file extension
Apr 16, 2021
87c504a
Merge pull request #412 from cloudinary/fix/upgrade-assets
pereirinha Apr 18, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cloudinary.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Plugin Name: Cloudinary
* Plugin URI: https://cloudinary.com/documentation/wordpress_integration
* Description: With the Cloudinary plugin, you can upload and manage your media assets in the cloud, then deliver them to your users through a fast content delivery network, improving your website’s loading speed and overall user experience. Apply multiple transformations and take advantage of a full digital asset management solution without leaving WordPress.
* Version: 2.7.0
* Version: 2.7.1-rc-4
* Author: Cloudinary Ltd., XWP
* Author URI: https://cloudinary.com/
* License: GPLv2+
Expand Down
2 changes: 1 addition & 1 deletion css/cloudinary.css

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions css/src/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,6 @@ $color-notification-success: #20b832;

/** Sizes */
$content-width: 870px;
$size-small: 783px;
$size-medium: 960px;
$size-large: 1200px;
8 changes: 8 additions & 0 deletions css/src/components/_settings.scss
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,10 @@
margin-top: 0.5em;
}

input[type="checkbox"] ~ label {
margin-left: .25em;
}

.modal-footer {
background-color: #fcfcfc;
border-top: 1px solid #ddd;
Expand All @@ -334,5 +338,9 @@
textarea {
resize: none;
}

p {
display: flex;
}
}

147 changes: 59 additions & 88 deletions css/src/components/_ui.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@
.cld {

&-syncing {
background-image: url("./loading.svg");
background-repeat: no-repeat;
background-position: center center;
background: url("./loading.svg") no-repeat center center;
width: 30px;
height: 20px;
margin-left: 12px;
Expand All @@ -29,7 +27,14 @@
right: 0;
padding: 0;
color: #555d66;
margin-left: 160px;

@media only screen and (min-width: $size-small) {
margin-left: 36px;
}

@media only screen and (min-width: $size-medium) {
margin-left: 160px;
}

.cld-notice-box.is-success{
border: 0;
Expand Down Expand Up @@ -66,7 +71,7 @@
margin-right: 20px;
margin-bottom: 12px;
.cld-notice {
padding: 1rem 1.2rem 0.75rem 1.2rem;
padding: 1rem 2.2rem 0.75rem 1.2rem;

img.cld-ui-icon {
height: 100%;
Expand All @@ -81,12 +86,12 @@
padding-left: 38px;
}


&.is-success,
&.is-updated,
&.is-created {
background-color: #ebf5ec;
border-left: 4px solid #42ad4f;

.dashicons{
color: $color-success;
}
Expand Down Expand Up @@ -138,18 +143,6 @@
}

&-ui {
&-settings {

/* Small devices */
@media only screen and (max-width: 992px) {
margin: 0 10px 0 -10px;
}

@media only screen and (max-width: 782px) {
margin: 0 -1px 0 -10px;
}

}

&-collapse {
align-self: center;
Expand Down Expand Up @@ -181,10 +174,18 @@

.cld-column {
padding: 0 1.75em;
float: left;
width: 100%;
box-sizing: border-box;

/* Small devices */
@media only screen and (max-width: 782px) {
width: 100% !important;
@media only screen and (min-width: $size-small) {
&.column-45 {
width: 45%;
}

&.column-55 {
width: 55%;
}
}
}

Expand All @@ -193,25 +194,13 @@
clear: both;
display: table;
}

@media only screen {

.cld-column {
float: left;
width: 100%;
box-sizing: border-box;
}
}


}
}

&-image,
&-video {

&-preview {

background-color: rgba(216, 216, 216, 0.5);
padding: 7px;
border-radius: 5px;
Expand Down Expand Up @@ -252,6 +241,7 @@
padding: 0 1rem;
margin-left: -20px;
margin-top: -1em;
flex-wrap: wrap;

&-tab {
list-style: none;
Expand Down Expand Up @@ -295,7 +285,6 @@
}

&-input {

@include input;

.regular-text,
Expand Down Expand Up @@ -388,8 +377,6 @@
}
}
}


}
}

Expand All @@ -411,18 +398,26 @@

&-panel,
&-info-box,
&-panel-short {
&-panel-short,
&-submit,
&-switch-cloud {
background-color: #fff;
border: 1px solid $color-light-grey;
padding: 2rem 1.75rem;
margin-top: 1rem;
margin-right: 1rem;
width: $content-width;
max-width: $content-width;
}

/* Medium devices until large */
@media only screen and (min-width: 993px) {
max-width: 900px;
}
&-submit,
&-switch-cloud {
border-top: 0;
padding: 1.2rem 1.75rem;
}

&-panel,
&-info-box,
&-panel-short {
margin-top: 1rem;
padding: 2rem 1.75rem;

&-inner {
padding: 1.3rem;
Expand Down Expand Up @@ -451,26 +446,12 @@

&-heading {
display: flex;
background-color: #fff;
border: 1px solid $color-light-grey;
border-bottom: 0;
padding: 0.4rem 1.75rem 0.2rem;
width: $content-width;
margin-top: 1rem;

img {
margin-right: 0.6rem;
}

/* Small devices */
@media only screen and (max-width: 960px) {
width: auto;
}

/* Medium devices until large */
@media only screen and (min-width: 961px) and (max-width: 1200px) {
width: 85%;
}
}

ul {
Expand Down Expand Up @@ -527,7 +508,7 @@
font-weight: 400;
}

@media only screen and (min-width: 783px) {
@media only screen and (min-width: $size-small) {
display: flex;
flex-wrap: nowrap;
font-size: 1em;
Expand All @@ -543,13 +524,14 @@
}
}

@media only screen and (min-width: 1200px) {
@media only screen and (min-width: $size-large) {
font-size: 1.2em;
}
}

.img-connection-string {
max-width: 607px;
width: 100%;
}

.connection-string {
Expand Down Expand Up @@ -619,8 +601,12 @@
}

&-info-box {

display: flex;
flex-direction: column;

@media only screen and (min-width: $size-small) {
flex-direction: row;
}

img,
a.button {
Expand All @@ -638,42 +624,27 @@
display: inline-block;
}

&-submit,
&-switch-cloud {

&.cld-ui-wrap {
background-color: #fff;
border: 1px solid $color-light-grey;
border-top: 0;
padding: 1.2rem 1.75rem;
width: $content-width;

/* Small devices */
@media only screen and (max-width: 960px) {
width: auto;
}

/* Medium devices until large */
@media only screen and (min-width: 961px) and (max-width: 1200px) {
width: 85%;
}
}
}

&-gallery-settings {
width: 100%;
display: flex;
flex-wrap: wrap;
padding: 1rem 0;
margin-left: -1rem;
margin-right: -1rem;
box-sizing: border-box;

@media only screen and (min-width: $size-medium) {
margin-left: -1rem;
margin-right: -1rem;
}

&__column {
width: 50%;
padding-left: 1rem;
padding-right: 1rem;
box-sizing: border-box;
width: 100%;

@media only screen and (min-width: $size-medium) {
padding-left: 1rem;
padding-right: 1rem;
width: 50%;
}
}
}
}
Expand Down
18 changes: 11 additions & 7 deletions gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,15 @@ module.exports = function ( grunt ) {
.read( 'cloudinary.php' )
.match( /Version:\s*(.+)$/im )[ 1 ];

const options = {
plugin_slug:
'cloudinary-image-management-and-manipulation-in-the-cloud-cdn',
plugin_main_file: 'cloudinary.php',
build_dir: '<%= dist_dir %>',
assets_dir: 'assets',
svn_user: 'cloudinary',
};

grunt.initConfig( {
dist_dir: 'build',

Expand Down Expand Up @@ -56,18 +65,13 @@ module.exports = function ( grunt ) {
},

wp_deploy: {
options: {
plugin_slug:
'cloudinary-image-management-and-manipulation-in-the-cloud-cdn',
plugin_main_file: 'cloudinary.php',
build_dir: '<%= dist_dir %>',
assets_dir: 'assets',
},
default: {
// Default deploy to trunk and a tag release.
options,
},
assets: {
// Deploy only screenshots and icons.
...options,
deploy_trunk: false,
deploy_tag: false,
},
Expand Down
2 changes: 1 addition & 1 deletion js/deactivate.asset.php
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?php return array('dependencies' => array('wp-polyfill'), 'version' => 'be441971594d2402081dd17cd9006ce5');
<?php return array('dependencies' => array('wp-polyfill'), 'version' => 'e862bb5e9c2155662e26dab8ad582baa');
2 changes: 1 addition & 1 deletion js/deactivate.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading