|
|
3cf45ad5d6
|
templates: Use {% raw %} when dumping JSON
|
2018-04-17 14:16:50 +10:00 |
|
|
|
2cbe4f6cf9
|
templates: Tweak index URIs
|
2018-04-17 13:51:15 +10:00 |
|
|
|
90d012d17d
|
templates: Tweak display text/escaping
|
2018-04-17 13:46:23 +10:00 |
|
|
|
44cb0910a9
|
templates: Do not print None if no annotation.
|
2018-04-17 13:43:32 +10:00 |
|
|
|
743ecff492
|
photo: Fix metadata retrieval
|
2018-04-17 13:41:13 +10:00 |
|
|
|
a1f6182be1
|
metadata: Fix typo de-referencing node.
|
2018-04-17 13:40:04 +10:00 |
|
|
|
ed6020b196
|
server: Render photo page.
|
2018-04-17 12:23:44 +10:00 |
|
|
|
ec506fcafe
|
photo: Add description property
|
2018-04-17 12:23:32 +10:00 |
|
|
|
b9aea4096d
|
gallery: Add first/last properties.
|
2018-04-17 12:23:15 +10:00 |
|
|
|
27ff44645f
|
templates: Tweak photo page template
|
2018-04-17 12:23:00 +10:00 |
|
|
|
c56dd6a238
|
server: Cast values to integers/floats where needed
|
2018-04-17 11:58:19 +10:00 |
|
|
|
b8e865a234
|
resizer: Silence error message.
|
2018-04-17 11:57:48 +10:00 |
|
|
|
a2aaa3d04e
|
resizer: Fix storage of cached result.
|
2018-04-17 11:54:29 +10:00 |
|
|
|
ecca823763
|
photo: Fix aspect ratio calculations, round result.
|
2018-04-17 11:54:07 +10:00 |
|
|
|
d4f55bb4af
|
templates: Call server for thumbnail
Rather than hard-coding the URI to the thumbnail (generated beforehand)
as with the old CGI.
|
2018-04-17 11:53:20 +10:00 |
|
|
|
103f35501e
|
server: Render gallery page.
|
2018-04-17 11:12:54 +10:00 |
|
|
|
6827847d4c
|
photo: Add some infrastructure for gallery page.
|
2018-04-17 11:12:38 +10:00 |
|
|
|
38dc36f360
|
resizer: Add image metadata retrieval.
|
2018-04-17 11:11:46 +10:00 |
|
|
|
aec529e676
|
templates: Fix gallery title.
|
2018-04-17 11:11:33 +10:00 |
|
|
|
82815f740e
|
gallery: Ignore files with no . in name.
|
2018-04-17 10:53:58 +10:00 |
|
|
|
e8ec20cfed
|
server: Fix static URI paths.
Seems `StaticFileHandler` is *very* fussy regarding paths, and will
refuse to serve up files unless things are *exactly* right.
|
2018-04-17 10:51:49 +10:00 |
|
|
|
b452019f41
|
templates: Tweak URIs, use raw text for descriptions.
|
2018-04-17 10:27:48 +10:00 |
|
|
|
8d4ca42a89
|
server: Add rendering of front page.
|
2018-04-11 19:52:15 +10:00 |
|
|
|
5f9d80b639
|
photo: Add prev/next metadata.
|
2018-04-11 19:28:59 +10:00 |
|
|
|
9aaa4f758b
|
gallery: Add prev/next
|
2018-04-11 19:19:24 +10:00 |
|
|
|
74f2e64ea7
|
server: Implement display of images.
Still need to handle templates.
|
2018-04-09 19:44:41 +10:00 |
|
|
|
09f0d7c6e2
|
resizer: Use a thread pool.
Seems we can't pass some objects between parent and subprocess, so it's
just easier to put up with the GIL and use a thread pool.
|
2018-04-09 19:44:04 +10:00 |
|
|
|
d243e7e2e4
|
server: Initial server implementation
|
2018-04-09 19:24:51 +10:00 |
|
|
|
e661ea101f
|
gallery: Make Gallery a Mapping object.
|
2018-04-09 19:15:55 +10:00 |
|
|
|
2fc5a65e9f
|
gallery: Sort contents
|
2018-04-09 19:13:09 +10:00 |
|
|
|
b3d1a4d0d6
|
gallery: Initialise logger
|
2018-04-09 19:08:05 +10:00 |
|
|
|
194073ee4b
|
metadata: Pass through log argument
|
2018-04-09 19:07:48 +10:00 |
|
|
|
bd68ec956d
|
cache: Derive off Mapping
|
2018-04-09 19:07:16 +10:00 |
|
|
|
a08899ea3a
|
gallery: Pass logger to resizer pool.
|
2018-04-09 17:39:52 +10:00 |
|
|
|
7ee894b832
|
resizer: Add logging
|
2018-04-09 17:39:26 +10:00 |
|
|
|
1228b113b2
|
gallery: Pass through logger instances to MetaCache.
|
2018-04-09 17:26:58 +10:00 |
|
|
|
36f776f124
|
cache: Add logging
|
2018-04-09 17:24:28 +10:00 |
|
|
|
3520dca18d
|
photo: Expose services from gallery, fix error on annotation.
|
2018-04-09 17:21:09 +10:00 |
|
|
|
8b0bad0171
|
gallery: Expose filesystem cache from collection.
|
2018-04-09 17:20:49 +10:00 |
|
|
|
fa7ba2d852
|
resizer: Fix whitespace.
|
2018-04-09 17:09:03 +10:00 |
|
|
|
e0d08e0f77
|
gallery: Fix enumeration of content
|
2018-04-09 17:07:55 +10:00 |
|
|
|
cc78c391f4
|
gallery: Implement enumeration.
|
2018-04-09 17:04:14 +10:00 |
|
|
|
6c0b6a854a
|
metadata: _fetch Method is private not public.
|
2018-04-09 17:03:15 +10:00 |
|
|
|
2e1d8b83d3
|
cache: Call __iter__ explicitly.
Treating the `Cache` object as a sequence implicitly calls `__len__`
which causes an infinite loop!
|
2018-04-09 17:02:42 +10:00 |
|
|
|
0605e3cd13
|
resizer: Drop default parameter.
|
2018-04-09 16:48:46 +10:00 |
|
|
|
8afbcf1e41
|
resizer: Raise Return in co-routine, do not return
|
2018-04-09 16:46:02 +10:00 |
|
|
|
8e3556ff74
|
cache: Re-implement __len__.
Lazy way, enumerate the lot then figure out the length. We have to
iterate over them to figure out what's expired anyway.
|
2018-04-09 16:43:28 +10:00 |
|
|
|
00a2c5a12f
|
gallery: Implement GalleryCollection, re-work Gallery.
|
2018-04-09 09:20:22 +10:00 |
|
|
|
d868f50df0
|
photo: Fix imports, metadata retrieval.
|
2018-04-09 09:15:57 +10:00 |
|
|
|
c7c4fea93b
|
metadata: Re-implement using cache back-end
|
2018-04-09 09:15:10 +10:00 |
|