1
0
mirror of https://github.com/sjlongland/tornado-gallery.git synced 2025-09-26 08:23:31 +10:00
Commit Graph

108 Commits

Author SHA1 Message Date
e186c10e5f
cache: Add cache abstract class.
Behaves like a forgetful mapping object.
2018-04-08 16:56:39 +10:00
b4c34cc1cd
resizer: Initial photo resizer implementation.
This uses a process pool (avoiding the dreaded GIL) to resize the image
in a subprocess, and uses Tornado's semaphores to manage concurrent
access.
2018-04-08 16:27:01 +10:00
629e812861
photo: Initial implementation of photo class. 2018-04-08 15:31:55 +10:00
770e173cf8
gallery: Pass filesystem node to Photo class. 2018-04-08 15:31:14 +10:00
1f8ac8db46
gallery: Re-implement using cachefs.
This uses the filesystem cache library to abstract the filesystem
caching operations.
2018-04-08 15:07:27 +10:00
ad4107ab23
metadata: Re-implement using cachefs
Re-implement the `mtime`-checking logic using a filesystem cache
library.  Perform lazy-evaluation.
2018-04-08 15:02:21 +10:00
f15cc032d7
Initial implementation.
Work in progress.
2018-03-25 20:22:15 +10:00
1706852291
Port ClearSilver templates to Tornado.
This is a first stab, and yes, things are *UGLY*, particularly the
JavaScript, which was written almost 10 years ago.  As such, it
pre-dates versions of IE that play nice with web standards, Promises and
lots of other advancements.

My knowledge of JavaScript has also greatly improved since then. :-)
2018-03-25 13:40:02 +10:00