Rasmus Kaj
ce44b1f18f
Expose version in command line and footer.
2017-08-01 01:41:27 +02:00
Rasmus Kaj
65fb620ba8
Get rid of some swedish, for consistency.
2017-07-30 19:47:54 +02:00
Rasmus Kaj
60807405bb
Tell a logged in user if a photo is public or not.
2017-07-30 17:51:19 +02:00
Rasmus Kaj
e5b749795e
Use a custom 404 page.
...
Mainly, provide a login link on it.
2017-06-27 00:13:48 +02:00
Rasmus Kaj
5ea5a9bd90
Update ructe.
...
It now supports adding static sass files, so remove direct dependency
on rsass.
2017-05-08 07:09:22 +02:00
Rasmus Kaj
fee9a801db
Add viewport setting.
2017-02-16 13:59:52 +01:00
Rasmus Kaj
483fe37487
Avoid empty "Tid:"
2017-02-12 17:56:26 +01:00
Rasmus Kaj
abf5dcf384
Large is full.
...
The "large" version of an image is the full original file. Only
logged-in users may access the large version.
2017-02-12 15:24:39 +01:00
Rasmus Kaj
3a1a2d15d3
Add basic attribution.
2017-02-11 22:24:35 +01:00
Rasmus Kaj
84a8e641f7
Add js click-to-zoom.
2017-02-11 15:23:03 +01:00
Rasmus Kaj
878f2f6ad8
Add a footer.
...
And some layout changes.
2017-02-11 12:20:48 +01:00
Rasmus Kaj
eada496c5b
Use slices in templates.
2017-02-05 12:08:38 +01:00
Rasmus Kaj
17e62508a1
Improve details view.
2017-02-03 19:44:13 +01:00
Rasmus Kaj
b69ceb8166
Nicer urls for images and details.
2017-02-01 16:12:03 +01:00
Rasmus Kaj
eb0dbbe62b
DRY photo linking.
2017-02-01 15:32:39 +01:00
Rasmus Kaj
8cd215cdc2
Improve handling of static files.
...
Use static files handling from updated ructe rather than local
handling, and use rsass rather than sass-rs and sass-sys.
Static files are now kept in the binary (no more need to access the
build directory at runtime). Also, there is an admin command to save
the static files to a directory, for the benefit of fronting web
servers and backwards compatibility.
2017-01-29 19:03:35 +01:00
Rasmus Kaj
fa60b6e1f8
No need to defind CSSLINK in main.
2016-12-19 07:19:26 +01:00
Rasmus Kaj
bf15d170be
Fix broken js for leaflet.
2016-12-06 10:35:18 +01:00
Rasmus Kaj
f711b136ac
Dont print empty data on details page.
2016-11-20 16:58:11 +01:00
Rasmus Kaj
ae40d3bf8e
More robust leaflet scritping.
2016-11-20 13:33:37 +01:00
Rasmus Kaj
f4f06434f9
Use a base template.
2016-09-26 00:45:13 +02:00
Rasmus Kaj
0b0877e54d
Better handling of dates with no images.
2016-09-23 23:12:22 +02:00
Rasmus Kaj
c6672181d6
Covert all templates to ructe.
2016-09-23 22:03:04 +02:00
Rasmus Kaj
b79cbc7714
More ructe templates.
2016-09-23 16:40:54 +02:00
Rasmus Kaj
9a038765b9
Initial ructe experiment.
2016-09-20 07:35:28 +02:00
Rasmus Kaj
6ed42c0be7
Add camera support.
...
Store and show which camera each picture was taken with (if present in
exif data).
2016-08-09 01:41:46 +02:00
Rasmus Kaj
002f9c1ebb
Template cleanup.
2016-07-09 21:25:34 +02:00
Rasmus Kaj
b474373479
Use GPS position of photos.
2016-07-09 16:04:19 +02:00
Rasmus Kaj
d2fd9b4430
Add an "on this day" feature.
2016-06-30 16:39:01 +02:00
Rasmus Kaj
b31a758a0d
Implement places on photos.
2016-06-30 13:16:12 +02:00
Rasmus Kaj
c1d0862313
Implement people on photos.
2016-06-30 12:15:07 +02:00
Rasmus Kaj
855ea6c755
Implement tags on photos.
2016-06-30 01:29:02 +02:00
Rasmus Kaj
ffb5bbaf39
Reimplement all time-based views.
...
Also, proper database migrations and an attempt to make things
work on travis.
2016-06-04 21:08:14 +02:00
Rasmus Kaj
94697fc35e
Better linkpath in header.
...
Also known as breadcrumb links.
2016-05-18 18:44:50 +02:00
Rasmus Kaj
d1f5044466
Date links in page header.
2016-05-04 18:45:50 +02:00
Rasmus Kaj
e523d43d34
Add jwt authorization.
...
The username/password handling is just mocked currently.
2016-05-01 15:50:49 +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
b340bb5f9d
Summarize images per year and month.
2016-01-31 21:15:44 +01:00
Rasmus Kaj
ba094853a2
Views per year/month/day.
2015-12-25 18:32:11 +01:00
Rasmus Kaj
d2adab3ecb
Add original time to photos.
2015-12-22 18:22:21 +01:00
Rasmus Kaj
e832e4d00f
Better urls for image sizes.
2015-12-06 14:42:03 +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
c0ebb5a729
Add people data.
2015-11-28 09:53:12 +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
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