<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> - remove the annoying check of free space<br>
(sugar3.datastore.datastore.SPACE_THRESHOLD = 50Mb at the moment) from<br>
the Journal Activity that shows all the time the ModalAlert saying<br>
"Your Journal is full. Please remove some entries" every time and it<br>
doesn't allow you to do another things.<br>
<br></blockquote><div><br></div><div>This control was not removed, only the code was moved from sugar to sugar-toolkit,</div><div>to be available for sugar and activities.</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
- compare (in Browse) the Content-Length with the free space<br>
available + SPACE_THRESHOLD (this is done by the helper function) and<br>
decide if the download is going to take place or not<br>
<br></blockquote><div><br></div><div>In Browse there are two controls:</div><div>* Before start the download, check space available.</div><div>* While download, catch the low space signal from sugar-toolkit and stop downlad if needed.</div>
<div>(This can be the case of multiple simultaneous download, or when the browser can't get the size before downloading)</div><div><br></div><div>Gonzalo </div></div>