Commit Graph

62 Commits

Author SHA1 Message Date
Rasmus Kaj
e523d43d34 Add jwt authorization.
The username/password handling is just mocked currently.
2016-05-01 15:50:49 +02:00
Rasmus Kaj
10b5b4453c Use the "compressed" sass output.
This currently uses the sass-sys low-level interface, because the
operation is not supported in sass-rs.

The PR https://github.com/compass-rs/sass-rs/pull/3 adds high-level
support.  If / when that is fixed, the direct requirement for sass-sys
should be removed from rphotos.
2016-04-23 22:15:24 +02:00
Rasmus Kaj
8b3ab53976 Right hyper version for current nickel. 2016-04-23 00:06:00 +02:00
Rasmus Kaj
d4bfe0756f Use scss to prepare css.
The css file is built to a file with (short) checksum in the
file name, to be nicely cacheable.  The actual file name is
compiled into the binary and sent to the templates as a variable.
2016-04-22 23:56:13 +02:00
Rasmus Kaj
f1552e82d7 That hyper version was for old nickel version. 2016-04-19 23:18:30 +02:00
Rasmus Kaj
84987eca40 Add a program to find image files. 2016-01-31 14:34:48 +01:00
Rasmus Kaj
f364d70b0f Changes for updated rustorm.
Disable default dependencies to handle a depency collision where
mysql required a different version of openssl than something else.
2016-01-30 19:57:53 +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
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