Merge branch 'new-cloud' of https://github.com/cycomachead/snap into gh-pages

upd4.2
Bernat Romagosa 2018-02-07 09:20:02 +01:00
commit 5c6a3c44ad
2 zmienionych plików z 25 dodań i 21 usunięć

Wyświetl plik

@ -247,7 +247,7 @@ Cloud.prototype.login = function (username, password, persist, onSuccess, onErro
onError,
'login failed',
'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',
'/users/' + username + '?' + this.encodeDict({
email: email,
password: password,
password_repeat: passwordRepeat
password: hex_sha512(password),
password_repeat: hex_sha512(passwordRepeat)
}),
onSuccess,
onError,
@ -268,9 +268,9 @@ Cloud.prototype.changePassword = function (password, newPassword, passwordRepeat
this.withCredentialsRequest(
'POST',
'/users/%username/newpassword?' + this.encodeDict({
oldpassword: password,
password_repeat: passwordRepeat,
newpassword: newPassword
oldpassword: hex_sha512(password),
password_repeat: hex_sha512(passwordRepeat),
newpassword: hex_sha512(newPassword)
}),
onSuccess,
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');

Wyświetl plik

@ -1626,7 +1626,7 @@ ______
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
------
@ -1704,7 +1704,7 @@ ______
130514
------
* 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
------
@ -1726,7 +1726,7 @@ ______
130605
------
* Objects: fix for hiding 'getLastAnswer' and 'getTimer' primitives
* Objects: fix for hiding 'getLastAnswer' and 'getTimer' primitives
130606
------
@ -1837,7 +1837,7 @@ ______
130801
------
* 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)
130802
@ -2245,7 +2245,7 @@ ______
* Objects, GUI: duplicate and clone nested sprites
* GUI, Store: export and import nested sprites
* 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 German translation
* Morphic: fixed #497 (prevent bubble shadows from getting cut-off)
@ -2285,7 +2285,7 @@ ______
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!!
* Morphic: allow negative min/max values for sliders (fix #285), thanks, @Gubolin!!
* 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!
* Media import dialog with thumbnail, thanks to @ubertao!
== v4.0.7.2 ====
== v4.0.7.2 ====
160714
------
@ -3050,7 +3050,7 @@ http://snap.berkeley.edu/run#cloud:Username=jens&ProjectName=rotation
160924
------
* dont update the recursion cache when updating a custom block definition
* dont update the recursion cache when updating a custom block definition
160929
------
@ -3167,7 +3167,7 @@ http://snap.berkeley.edu/run#cloud:Username=jens&ProjectName=rotation
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
* GUI: Support importing unrasterized SVG_Costumes from the “Costumes” and “Backgrounds” dialog
@ -3348,7 +3348,7 @@ Fixes:
170201
------
* GUI: let costume icons indicate svg costumes
* GUI: let costume icons indicate svg costumes
170202
------
@ -3508,7 +3508,7 @@ Fixes:
170707
------
* 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!!
170708
@ -3518,7 +3518,7 @@ Fixes:
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
------
@ -3759,14 +3759,14 @@ v4.1 Features:
Fixes:
* 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
* 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
* fixed rotation-bug when flipping costumes in "only turn left/right" mode"
* fixed variable renaming (“refactoring”) bugs, thanks, Bernat!
* 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
* limited sprites' direction and coordinates to finite numbers
* made block vars transient for block libraries
@ -3925,6 +3925,10 @@ Translation Updates:
* Turkish
* Chinese
* Spanish
=== development ===
* New cloud API
* Russian
*** in development ***