Skip to content

Commit 2ec1bdc

Browse files
authored
Merge pull request #154 from gigya/develop
Version 6.0.2
2 parents 9cd4277 + 59b5c49 commit 2ec1bdc

File tree

4 files changed

+8
-23
lines changed

4 files changed

+8
-23
lines changed

admin/gigya_admin.js

+2-20
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@
112112
element.focus();
113113
e.preventDefault();
114114
e.stopPropagation();
115-
}
115+
};
116116

117117
// --------------------------------------------------------------------
118118

@@ -137,19 +137,6 @@
137137
}
138138
};
139139

140-
var rsaPrivateKeyValidate = function (textField, e) {
141-
var privateKey = textField.val().trim();
142-
143-
if (privateKey.length > 0) {
144-
var rsaTester = new RegExp("-{3,}BEGIN RSA PRIVATE KEY-{3,}\\r?\\n?([\\s\\S]*?)\\r?\\n?-{3,}END RSA PRIVATE KEY-{3,}", 'gm');
145-
146-
$('.msg').remove();
147-
148-
if (!rsaTester.test(privateKey)) {
149-
showInlineError(textField, 'Error: the entered RSA private key is invalid', e);
150-
}
151-
}
152-
}
153140

154141
var emptyNumericValidate = function (textField, e) {
155142
if ($(textField).val().length === 0 || isNaN($(textField).val())) {
@@ -464,11 +451,6 @@
464451
// Validate JSON format
465452
$('form.gigya-settings .json textarea').each(function () {
466453
jsonValidate($(this), e);
467-
})
468-
469-
// Validate RSA private key format
470-
$('form.gigya-settings .rsa-private-key textarea').each(function () {
471-
rsaPrivateKeyValidate($(this), e);
472454
});
473455
});
474456

@@ -479,4 +461,4 @@
479461
});
480462
});
481463
})
482-
(jQuery);
464+
(jQuery);

gigya.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,4 +79,4 @@ var GigyaWp = GigyaWp || {};
7979

8080
// --------------------------------------------------------------------
8181

82-
})(jQuery);
82+
})(jQuery);

gigya.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
*/
2121
define( 'GIGYA__MINIMUM_WP_VERSION', '4.7' );
2222
define( 'GIGYA__MINIMUM_PHP_VERSION', '5.6' );
23-
define( 'GIGYA__VERSION', '6.0.1' );
23+
define( 'GIGYA__VERSION', '6.0.2' );
2424
define( 'GIGYA__PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
2525
define( 'GIGYA__PLUGIN_URL', plugin_dir_url( __FILE__ ) );
2626
define( 'GIGYA__CDN_PROTOCOL', ! empty( $_SERVER['HTTPS'] ) ? 'https://cdns' : 'http://cdn' );

readme.txt

+4-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Contributors: SAP SE/gigya.com konforti, luciodiri, ynhockey, shaharzillber.
44
Tags: CIAM, CIM, Registration, Social Login, Oauth, OpenSocial, Graph API, Facebook Connect, Linkedin, Twitter, authentication, OpenID, newsfeed, tweet, status update, registration, social APIs, sharing, plugin, social bookmark, social network, Facebook, community, comments, reactions, game mechanics, register, SAP Customer Data Cloud, Social Infrastructure, feed
55
Requires at least: 4.2
66
Tested up to: 4.9
7-
Stable tag: 6.0.1
7+
Stable tag: 6.0.2
88
License: Apache v2.0
99

1010
Integrate your WordPress site with SAP Customer Data Cloud.
@@ -193,6 +193,9 @@ For question about installations or configuration, please contact your account m
193193
* All admin calls to Gigya are now sent over HTTPS, regardless of the protocol used on the source site
194194
* Added environment information in Gigya calls for better debugging
195195

196+
= 6.0.2 =
197+
* Allowed any RSA key format in client-side validation
198+
196199
== FAQ ==
197200

198201
Can I configure the design of the SAP Customer Data Cloud component?

0 commit comments

Comments
 (0)