summaryrefslogtreecommitdiff
path: root/src/server-tests/test_db_controller.py
diff options
context:
space:
mode:
authorAlon Levy <alon@pobox.com>2015-03-09 16:21:48 +0200
committerAlon Levy <alon@pobox.com>2015-03-09 16:21:50 +0200
commit5b2631b3aa95613b0cebc713f569229ddd950890 (patch)
tree5edeb6a4a5f93511d62d3222db72904a148f6a55 /src/server-tests/test_db_controller.py
parentdc0b13d527871e8c7f0307bb60aa06432832e79b (diff)
client/graph_view: console debug log when link is an image according to crude heuristic
What we need to do is two things: 1. when a new link is supplied, go download it and let the browser tell us if it is an image and if so what are it's dimensions 2. cache that data in the db (on the to-be-added view node). Actually 3. cache the image itself. This will also allow uploading images with no link. Where to cache the images - on disk with a hash, plus breakdown into multiple directories to avoid filesystem limits.
Diffstat (limited to 'src/server-tests/test_db_controller.py')
0 files changed, 0 insertions, 0 deletions