kopia lustrzana https://github.com/backface/turtlestitch
Merge branch 'new-cloud' of https://github.com/cycomachead/snap into gh-pages
commit
5c6a3c44ad
14
cloud.js
14
cloud.js
|
@ -247,7 +247,7 @@ Cloud.prototype.login = function (username, password, persist, onSuccess, onErro
|
||||||
onError,
|
onError,
|
||||||
'login failed',
|
'login failed',
|
||||||
'false', // wants raw response
|
'false', // wants raw response
|
||||||
password // password travels inside the body
|
hex_sha512(password) // password travels inside the body
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -256,8 +256,8 @@ Cloud.prototype.signup = function (username, password, passwordRepeat, email, on
|
||||||
'POST',
|
'POST',
|
||||||
'/users/' + username + '?' + this.encodeDict({
|
'/users/' + username + '?' + this.encodeDict({
|
||||||
email: email,
|
email: email,
|
||||||
password: password,
|
password: hex_sha512(password),
|
||||||
password_repeat: passwordRepeat
|
password_repeat: hex_sha512(passwordRepeat)
|
||||||
}),
|
}),
|
||||||
onSuccess,
|
onSuccess,
|
||||||
onError,
|
onError,
|
||||||
|
@ -268,9 +268,9 @@ Cloud.prototype.changePassword = function (password, newPassword, passwordRepeat
|
||||||
this.withCredentialsRequest(
|
this.withCredentialsRequest(
|
||||||
'POST',
|
'POST',
|
||||||
'/users/%username/newpassword?' + this.encodeDict({
|
'/users/%username/newpassword?' + this.encodeDict({
|
||||||
oldpassword: password,
|
oldpassword: hex_sha512(password),
|
||||||
password_repeat: passwordRepeat,
|
password_repeat: hex_sha512(passwordRepeat),
|
||||||
newpassword: newPassword
|
newpassword: hex_sha512(newPassword)
|
||||||
}),
|
}),
|
||||||
onSuccess,
|
onSuccess,
|
||||||
onError,
|
onError,
|
||||||
|
@ -501,4 +501,4 @@ Cloud.prototype.updateNotes = function (projectName, notes, onSuccess, onError)
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
var SnapCloud = new Cloud('https://104.131.28.71');
|
var SnapCloud = new Cloud('https://snap-cloud.cs10.org');
|
||||||
|
|
32
history.txt
32
history.txt
|
@ -1626,7 +1626,7 @@ ______
|
||||||
|
|
||||||
130415
|
130415
|
||||||
------
|
------
|
||||||
* Blocks: place sticky comments on World layer on dragging their anchor block
|
* Blocks: place sticky comments on World layer on dragging their anchor block
|
||||||
|
|
||||||
130416
|
130416
|
||||||
------
|
------
|
||||||
|
@ -1704,7 +1704,7 @@ ______
|
||||||
130514
|
130514
|
||||||
------
|
------
|
||||||
* paint.js: Paint editor, first version, contributed by Kartik Chandra, Yay!!
|
* paint.js: Paint editor, first version, contributed by Kartik Chandra, Yay!!
|
||||||
* Threads, Objects, Blocks: Broadcast & message enhancements: When I receive <any msg>, and getLastMessage reporter + watcher
|
* Threads, Objects, Blocks: Broadcast & message enhancements: When I receive <any msg>, and getLastMessage reporter + watcher
|
||||||
|
|
||||||
130515
|
130515
|
||||||
------
|
------
|
||||||
|
@ -1726,7 +1726,7 @@ ______
|
||||||
|
|
||||||
130605
|
130605
|
||||||
------
|
------
|
||||||
* Objects: fix for hiding 'getLastAnswer' and 'getTimer' primitives
|
* Objects: fix for hiding 'getLastAnswer' and 'getTimer' primitives
|
||||||
|
|
||||||
130606
|
130606
|
||||||
------
|
------
|
||||||
|
@ -1837,7 +1837,7 @@ ______
|
||||||
130801
|
130801
|
||||||
------
|
------
|
||||||
* Blocks, Threads: "whitespace" & other options in SPLIT reporter's dropdown
|
* Blocks, Threads: "whitespace" & other options in SPLIT reporter's dropdown
|
||||||
* Blocks: Italicize editable input options (e.g. for the SPLT block)
|
* Blocks: Italicize editable input options (e.g. for the SPLT block)
|
||||||
* Blocks: Undrop Reporters feature (in script areas' context menus)
|
* Blocks: Undrop Reporters feature (in script areas' context menus)
|
||||||
|
|
||||||
130802
|
130802
|
||||||
|
@ -2245,7 +2245,7 @@ ______
|
||||||
* Objects, GUI: duplicate and clone nested sprites
|
* Objects, GUI: duplicate and clone nested sprites
|
||||||
* GUI, Store: export and import nested sprites
|
* GUI, Store: export and import nested sprites
|
||||||
* Objects: double clicking on a sprite in the stage selects it in the IDE
|
* Objects: double clicking on a sprite in the stage selects it in the IDE
|
||||||
* Objects: added ‘move’ option to the sprite context menu, lets the user move (nested) sprites in edit mode without changing their layering, and also sprites marked “undraggable”
|
* Objects: added ‘move’ option to the sprite context menu, lets the user move (nested) sprites in edit mode without changing their layering, and also sprites marked “undraggable”
|
||||||
* updated Portuguese translation, thanks, Manuel!
|
* updated Portuguese translation, thanks, Manuel!
|
||||||
* updated German translation
|
* updated German translation
|
||||||
* Morphic: fixed #497 (prevent bubble shadows from getting cut-off)
|
* Morphic: fixed #497 (prevent bubble shadows from getting cut-off)
|
||||||
|
@ -2285,7 +2285,7 @@ ______
|
||||||
|
|
||||||
140930
|
140930
|
||||||
------
|
------
|
||||||
* Objects: fixed #593 match broadcast numbers with event hat blocks containing strings that can be parsed as numbers
|
* Objects: fixed #593 match broadcast numbers with event hat blocks containing strings that can be parsed as numbers
|
||||||
* BYOB: allow percent symbols in custom block texts (fix #361), thanks, @Gubolin!!
|
* BYOB: allow percent symbols in custom block texts (fix #361), thanks, @Gubolin!!
|
||||||
* Morphic: allow negative min/max values for sliders (fix #285), thanks, @Gubolin!!
|
* Morphic: allow negative min/max values for sliders (fix #285), thanks, @Gubolin!!
|
||||||
* Objects: fixed #378 (disable context menus for boolean representations)
|
* Objects: fixed #378 (disable context menus for boolean representations)
|
||||||
|
@ -2927,7 +2927,7 @@ http://snap.berkeley.edu/run#cloud:Username=jens&ProjectName=rotation
|
||||||
* Updated Simplified Chinese translation, thanks to @ubertao!
|
* Updated Simplified Chinese translation, thanks to @ubertao!
|
||||||
* Media import dialog with thumbnail, thanks to @ubertao!
|
* Media import dialog with thumbnail, thanks to @ubertao!
|
||||||
|
|
||||||
== v4.0.7.2 ====
|
== v4.0.7.2 ====
|
||||||
|
|
||||||
160714
|
160714
|
||||||
------
|
------
|
||||||
|
@ -3050,7 +3050,7 @@ http://snap.berkeley.edu/run#cloud:Username=jens&ProjectName=rotation
|
||||||
|
|
||||||
160924
|
160924
|
||||||
------
|
------
|
||||||
* don’t update the recursion cache when updating a custom block definition
|
* don’t update the recursion cache when updating a custom block definition
|
||||||
|
|
||||||
160929
|
160929
|
||||||
------
|
------
|
||||||
|
@ -3167,7 +3167,7 @@ http://snap.berkeley.edu/run#cloud:Username=jens&ProjectName=rotation
|
||||||
|
|
||||||
161206
|
161206
|
||||||
------
|
------
|
||||||
* GUI: Switch to asynchronous loading of resources (costumes, sounds, libraries etc.)
|
* GUI: Switch to asynchronous loading of resources (costumes, sounds, libraries etc.)
|
||||||
* Morphic: Added support for dropping links to SVGs from other web pages onto the World
|
* Morphic: Added support for dropping links to SVGs from other web pages onto the World
|
||||||
* GUI: Support importing unrasterized SVG_Costumes from the “Costumes” and “Backgrounds” dialog
|
* GUI: Support importing unrasterized SVG_Costumes from the “Costumes” and “Backgrounds” dialog
|
||||||
|
|
||||||
|
@ -3348,7 +3348,7 @@ Fixes:
|
||||||
|
|
||||||
170201
|
170201
|
||||||
------
|
------
|
||||||
* GUI: let costume icons indicate svg costumes
|
* GUI: let costume icons indicate svg costumes
|
||||||
|
|
||||||
170202
|
170202
|
||||||
------
|
------
|
||||||
|
@ -3508,7 +3508,7 @@ Fixes:
|
||||||
170707
|
170707
|
||||||
------
|
------
|
||||||
* Objects, GUI, Store: tweak naming of instantiating to “clone”, enable inheritance by default
|
* Objects, GUI, Store: tweak naming of instantiating to “clone”, enable inheritance by default
|
||||||
* Objects, GUI: run “When I start as clone” scripts when manually cloning a sprite, only position at hand pointer if no such scripts exist
|
* Objects, GUI: run “When I start as clone” scripts when manually cloning a sprite, only position at hand pointer if no such scripts exist
|
||||||
* Morphic, Objects: confine turtle direction readout to 0-360 degrees, thanks, Cynthia for the bug report!!
|
* Morphic, Objects: confine turtle direction readout to 0-360 degrees, thanks, Cynthia for the bug report!!
|
||||||
|
|
||||||
170708
|
170708
|
||||||
|
@ -3518,7 +3518,7 @@ Fixes:
|
||||||
|
|
||||||
170709
|
170709
|
||||||
------
|
------
|
||||||
* Objects, Threads: added experimental (only shown in dev mode) “tell ... to ..." and “ask ... for ...” primitives
|
* Objects, Threads: added experimental (only shown in dev mode) “tell ... to ..." and “ask ... for ...” primitives
|
||||||
|
|
||||||
170711
|
170711
|
||||||
------
|
------
|
||||||
|
@ -3759,14 +3759,14 @@ v4.1 Features:
|
||||||
|
|
||||||
Fixes:
|
Fixes:
|
||||||
* changed keyboard shortcut indicator for “find blocks” to “^”
|
* changed keyboard shortcut indicator for “find blocks” to “^”
|
||||||
* prevent Snap from “hanging” when encountering certain errors in visible stepping
|
* prevent Snap from “hanging” when encountering certain errors in visible stepping
|
||||||
* only mark implicit parameters if no formal ones exist
|
* only mark implicit parameters if no formal ones exist
|
||||||
* optimized thread-launch and script highlighting to a single frame instead of formerly two
|
* optimized thread-launch and script highlighting to a single frame instead of formerly two
|
||||||
* changed direction attribute of sprites to automatically confine to 0-360 degrees
|
* changed direction attribute of sprites to automatically confine to 0-360 degrees
|
||||||
* fixed rotation-bug when flipping costumes in "only turn left/right" mode"
|
* fixed rotation-bug when flipping costumes in "only turn left/right" mode"
|
||||||
* fixed variable renaming (“refactoring”) bugs, thanks, Bernat!
|
* fixed variable renaming (“refactoring”) bugs, thanks, Bernat!
|
||||||
* fixed “fill” block crash when applying the same color twice
|
* fixed “fill” block crash when applying the same color twice
|
||||||
* fixed occasional empty drop-down menu items named “close”
|
* fixed occasional empty drop-down menu items named “close”
|
||||||
* fixed some typos
|
* fixed some typos
|
||||||
* limited sprites' direction and coordinates to finite numbers
|
* limited sprites' direction and coordinates to finite numbers
|
||||||
* made block vars transient for block libraries
|
* made block vars transient for block libraries
|
||||||
|
@ -3925,6 +3925,10 @@ Translation Updates:
|
||||||
* Turkish
|
* Turkish
|
||||||
* Chinese
|
* Chinese
|
||||||
* Spanish
|
* Spanish
|
||||||
|
|
||||||
|
|
||||||
|
=== development ===
|
||||||
|
* New cloud API
|
||||||
* Russian
|
* Russian
|
||||||
|
|
||||||
*** in development ***
|
*** in development ***
|
||||||
|
|
Ładowanie…
Reference in New Issue