kopia lustrzana https://github.com/backface/turtlestitch
cloud project saving transmission integrity check
includes the sizes of the sent project components in the transmision, so the cloud backend can check if the whole of them have been transmitted before comitting to the databasepull/3/merge
rodzic
8a60ec998e
commit
cc7a1558f1
12
cloud.js
12
cloud.js
|
@ -29,7 +29,7 @@
|
|||
|
||||
/*global modules, IDE_Morph, SnapSerializer, hex_sha512, alert, nop*/
|
||||
|
||||
modules.cloud = '2013-October-10';
|
||||
modules.cloud = '2013-November-07';
|
||||
|
||||
// Global stuff
|
||||
|
||||
|
@ -38,7 +38,7 @@ var Cloud;
|
|||
var SnapCloud = new Cloud(
|
||||
'https://snapcloud.miosoft.com/miocon/app/login?_app=SnapCloud'
|
||||
//'192.168.2.110:8087/miocon/app/login?_app=SnapCloud'
|
||||
//'192.168.186.167:8087/miocon/app/login?_app=SnapCloud'
|
||||
//'192.168.186.146:8087/miocon/app/login?_app=SnapCloud'
|
||||
// 'localhost/miocon/app/login?_app=SnapCloud'
|
||||
);
|
||||
|
||||
|
@ -384,7 +384,13 @@ Cloud.prototype.saveProject = function (ide, callBack, errorCall) {
|
|||
ide.hasChangedMedia = false;
|
||||
},
|
||||
errorCall,
|
||||
[ide.projectName, pdata, media]
|
||||
[
|
||||
ide.projectName,
|
||||
pdata,
|
||||
media,
|
||||
pdata.length,
|
||||
media ? media.length : 0
|
||||
]
|
||||
);
|
||||
},
|
||||
errorCall
|
||||
|
|
4
gui.js
4
gui.js
|
@ -68,7 +68,7 @@ sb, CommentMorph, CommandBlockMorph, BlockLabelPlaceHolderMorph*/
|
|||
|
||||
// Global stuff ////////////////////////////////////////////////////////
|
||||
|
||||
modules.gui = '2013-November-04';
|
||||
modules.gui = '2013-November-07';
|
||||
|
||||
// Declarations
|
||||
|
||||
|
@ -3779,7 +3779,7 @@ IDE_Morph.prototype.setCloudURL = function () {
|
|||
'local network lab' :
|
||||
'192.168.2.107:8087/miocon/app/login?_app=SnapCloud',
|
||||
'local network office' :
|
||||
'192.168.186.167:8087/miocon/app/login?_app=SnapCloud',
|
||||
'192.168.186.146:8087/miocon/app/login?_app=SnapCloud',
|
||||
'localhost dev' :
|
||||
'localhost/miocon/app/login?_app=SnapCloud'
|
||||
}
|
||||
|
|
|
@ -1982,3 +1982,7 @@ ______
|
|||
* GUI: filter quotation marks from project names (for backend index)
|
||||
* BYOB: only show symbol menu for label fragments
|
||||
* BYOB: customizable drop-down menus for input slots (experimental, commented out)
|
||||
|
||||
131107
|
||||
———
|
||||
* GUI, Cloud: transmission integrity check
|
||||
|
|
Ładowanie…
Reference in New Issue