Cloud: Support cookies

pull/3/merge
jmoenig 2013-03-21 12:38:29 +01:00
rodzic 86779af8f0
commit 957812e6f0
3 zmienionych plików z 8 dodań i 2 usunięć

BIN
.DS_Store vendored 100644

Plik binarny nie jest wyświetlany.

Wyświetl plik

@ -29,7 +29,7 @@
/*global modules, IDE_Morph, SnapSerializer, hex_sha512, alert, nop*/
modules.cloud = '2013-February-27';
modules.cloud = '2013-March-21';
// Global stuff
@ -82,6 +82,7 @@ Cloud.prototype.signup = function (
+ email,
true
);
request.withCredentials = true;
request.onreadystatechange = function () {
if (request.readyState === 4) {
if (request.responseText) {
@ -126,6 +127,7 @@ Cloud.prototype.connect = function (
(this.hasProtocol() ? '' : 'http://') + this.url,
true
);
request.withCredentials = true;
request.onreadystatechange = function () {
if (request.readyState === 4) {
if (request.responseText) {

Wyświetl plik

@ -1545,4 +1545,8 @@ ______
* GUI: deactivated motd and cloudmsg mechanism for now (has some issues)
* Updated Portuguese translation, thanks, Manuel!
* Updated all translations for %keyHat and %msgHat specs
* YPR: fixed turnLeft / turnRight swap bug
* YPR: fixed turnLeft / turnRight swap bug
130321
------
* Cloud: allow every XMLHttpRequest to transport cookies (withCredentials = true)