From 21c7e9fcae4d8d907356d7662fa61a416084714f Mon Sep 17 00:00:00 2001 From: Aleksey Lim Date: Wed, 18 Dec 2013 02:34:58 +0000 Subject: Keep icon preview square --- diff --git a/.gitmodules b/.gitmodules index 3fa38a9..a442a55 100644 --- a/.gitmodules +++ b/.gitmodules @@ -3,7 +3,7 @@ url = git://git.sugarlabs.org/network/0install.git [submodule "sugar_network/lib/pylru"] path = sugar_network/lib/pylru - url = git://github.com/jlhutch/pylru.git + url = https://github.com/jlhutch/pylru.git [submodule "sugar_network/lib/requests"] path = sugar_network/lib/requests url = git://git.sugarlabs.org/network/requests.git diff --git a/TODO b/TODO index e234a2f..f3bce07 100644 --- a/TODO +++ b/TODO @@ -1,13 +1,20 @@ -- (!) Editors' workflows: - - (?) log all (including editros) posters of particular document to minimize conflicts about why somthing was changed - or better, detailed log for every editor's change - Remove temporal security hole with speciying guid in POST, it was added as a fast hack to support offline creation (with later pushing to a node) - changed pulls should take into account accept_length -- handle DELETE while calculating per-object node stats - increase granularity for sync.chunked_encode() - slave._Pooler might leak events if pullers are not in time to call wait() -- revert per-document "downloads" property as "launches", a part of unpersonizalied user_stats - sync node->local db sync - parse command while uploading impls; while parsing, take into accoun quotes - secure node-to-node offline sync + +v2.0 +==== +- proxying as a tool to sort out downstream content + * client db is a special case of proxying + * easy proxying from any client, e.g., from a classroom teacher +- sort out contexts by targeting auditory + * students of ages from..to + * educators + * students w/ disabilities + * etc +- sort out contexts by school subjects diff --git a/sugar_network/node/routes.py b/sugar_network/node/routes.py index 337d744..6a89e2c 100644 --- a/sugar_network/node/routes.py +++ b/sugar_network/node/routes.py @@ -606,7 +606,7 @@ def _load_context_metadata(bundle, spec): 'mime_type': 'image/svg+xml', 'digest': hashlib.sha1(icon.getvalue()).hexdigest(), }, - 'preview': convert(icon, 160, 120), + 'preview': convert(icon, 120, 120), 'icon': convert(icon, 55, 55), }) except Exception: -- cgit v0.9.1