Rasmus Kaj
|
69003c561b
|
Use environment for config.
Take base directory for photos and host:port to listen to from
environment instead of just useing hard-coded values.
|
2015-12-06 22:29:05 +01:00 |
|
Rasmus Kaj
|
9345860657
|
Minor cleanup.
|
2015-12-06 17:12:09 +01:00 |
|
Rasmus Kaj
|
1d57275fe8
|
Dryer code with a macro.
Declare and initialize the data struct for rendering
at the same time in view (controller) code.
|
2015-12-06 16:33:25 +01:00 |
|
Rasmus Kaj
|
e832e4d00f
|
Better urls for image sizes.
|
2015-12-06 14:42:03 +01:00 |
|
Rasmus Kaj
|
eba6c2228c
|
Remove semi-duplicate code.
|
2015-12-01 07:24:19 +01:00 |
|
Rasmus Kaj
|
66546966cc
|
Nicer formatting of elapsed times.
|
2015-12-01 07:04:51 +01:00 |
|
Rasmus Kaj
|
36a047ddfd
|
Add a basic page header.
|
2015-11-30 21:00:07 +01:00 |
|
Rasmus Kaj
|
5adeec2f91
|
RequestLoggerMiddleware.
Add a middleware that logs each request with result code
and elapsed time.
|
2015-11-30 20:31:23 +01:00 |
|
Rasmus Kaj
|
19db2ca293
|
Add support for places.
Only the simple tag-like places I used in kphotoalbum.
Proper geotagging is still left to do.
|
2015-11-29 22:38:47 +01:00 |
|
Rasmus Kaj
|
c768c071fc
|
Import my kpa grades.
|
2015-11-29 20:09:49 +01:00 |
|
Rasmus Kaj
|
b2569dfa82
|
Scale images only down, not up.
|
2015-11-29 18:53:09 +01:00 |
|
Rasmus Kaj
|
177de0e6b7
|
Support rotation of images.
|
2015-11-29 18:38:58 +01:00 |
|
Rasmus Kaj
|
472c3a476c
|
Provide orm_get_related.
It works the same each time, so provide it in my middleware.
|
2015-11-29 17:18:47 +01:00 |
|
Rasmus Kaj
|
c0ebb5a729
|
Add people data.
|
2015-11-28 09:53:12 +01:00 |
|
Rasmus Kaj
|
0ffa72a1db
|
Expires header works again.
Match the direct hyper dependency with the one in nickel.rs
and things work fine agin.
|
2015-11-27 18:38:46 +01:00 |
|
Rasmus Kaj
|
ce4c362e60
|
A get_or_create with generic defaults.
|
2015-11-27 18:21:08 +01:00 |
|
Rasmus Kaj
|
8227b153b0
|
Put RustormMiddleware in separate file.
|
2015-11-27 13:05:43 +01:00 |
|
Rasmus Kaj
|
275185a8bc
|
Setting expires broken in nickel 0.7.3.
Maybe there is a way, but the way I used have ceased to
work. https://github.com/nickel-org/nickel.rs/issues/303
|
2015-11-27 12:46:47 +01:00 |
|
Rasmus Kaj
|
735767065e
|
List all tags.
|
2015-11-27 00:02:18 +01:00 |
|
Rasmus Kaj
|
939cbac290
|
Basic styling.
|
2015-11-26 23:20:36 +01:00 |
|
Rasmus Kaj
|
5c5ac376c8
|
List photos for a tag.
And of course some rewriting of everything ...
|
2015-11-26 22:47:39 +01:00 |
|
Rasmus Kaj
|
9db64eb67d
|
Enable travis ci.
|
2015-11-26 17:30:19 +01:00 |
|
Rasmus Kaj
|
b1d53c0762
|
Photos can have tags.
Read old data from kphotoalbum.
|
2015-11-23 06:48:09 +01:00 |
|
Rasmus Kaj
|
704877abd9
|
Actually show some photos.
|
2015-11-22 13:01:39 +01:00 |
|
Rasmus Kaj
|
87ddb0db1f
|
Read "photos" from db.
|
2015-11-21 16:21:44 +01:00 |
|
Rasmus Kaj
|
4cee26adea
|
Initial commit.
Very simple web service using the nickel framworkd.
|
2015-11-19 23:43:04 +01:00 |
|