Commit Graph

17 Commits

Author SHA1 Message Date
Rasmus Kaj
03dd6a5465 Use diesel 2.0
Most of the changes are for database access now requiring an &mut
connection.
2022-10-24 18:26:07 +02:00
Rasmus Kaj
965dcab486 Make photo size required in db. 2019-05-18 21:43:58 +02:00
Rasmus Kaj
7cea04400f Refactor fetching places.
Added a command line subcommand to fetch places for specified images.
2018-09-05 23:39:35 +02:00
Rasmus Kaj
0482c46b5a Changed some number types, make the migration last.
And some rustfmt updates.
2018-09-05 14:20:43 +02:00
Rasmus Kaj
b512eb3ae5 WIP: Get location names from OSM. 2018-09-05 14:01:22 +02:00
Rasmus Kaj
5222194c5c Add admin ux to set image position. 2018-07-15 21:52:44 +02:00
Rasmus Kaj
fc1ed81561 Store width and height of images.
Use it to calculate width and height of small images in lists.

Since the old database should be migratable to the new, the width and
height fields are nullable.  I aim to make them not nullable later,
after all images in the database has got width and height.
2018-03-05 00:29:39 +01:00
Rasmus Kaj
3a1a2d15d3 Add basic attribution. 2017-02-11 22:24:35 +01: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
fd5fb423ec Add flag to make photos public. 2016-08-07 22:41:00 +02:00
Rasmus Kaj
b474373479 Use GPS position of photos. 2016-07-09 16:04:19 +02:00
Rasmus Kaj
967552f110 Implment proper user handling. 2016-07-02 12:50:25 +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
03b33463c1 Actually get grades from kpa. 2016-06-05 17:38:30 +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