Commit Graph

574 Commits

Author SHA1 Message Date
Rasmus Kaj
3891133b65 Release 0.4.22
* Merge PR #1: Get location names from OSM.
  - Improve presentation of places on a photo.
  - Put places after tags on details.
  - Fetch OSM places when setting image position.
  - Added a command line subcommand to fetch places for specified images.

* Quit using diesel_infer_schema.  Instead, let diesel keep
  src/schema.rs up-to-date when migrating.

* Test and improve splitting a group.

* Upgrade dotenv and diesel dependencies.
  - Use r2d2 as diesel feature, not separate crate.
2018-09-07 21:44:51 +02:00
Rasmus Kaj
3bcd1e67fc Change debug eprinltln to actual debug. 2018-09-07 21:40:15 +02:00
Rasmus Kaj
626917942d
Merge pull request #1 from kaj/feature/overpass
Get location names from OSM.
2018-09-07 21:33:32 +02:00
Rasmus Kaj
9b9da347eb Put places after tags on details. 2018-09-07 21:09:51 +02:00
Rasmus Kaj
7ccc626792 Use more place info from OSM. 2018-09-07 19:50:21 +02:00
Rasmus Kaj
ce77a26eec Fetch OSM places when setting image position.
Also remove specific route that was only partially implemented.
2018-09-06 23:43:18 +02:00
Rasmus Kaj
39126f2bc0 Improve presentation of places on a photo. 2018-09-06 13:52:06 +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
c78a8a2b65 Use reqwests as https client. 2018-09-05 14:01:22 +02:00
Rasmus Kaj
b512eb3ae5 WIP: Get location names from OSM. 2018-09-05 14:01:22 +02:00
Rasmus Kaj
6af87035be Use r2d2 as diesel feature, not separate crate. 2018-08-31 23:02:03 +02:00
Rasmus Kaj
4f9ecdbb9c Upgrade diesel dependency to 1.3.2. 2018-08-31 22:49:13 +02:00
Rasmus Kaj
f8b5e429ae Upgrade dotenv dependency. 2018-08-31 22:42:40 +02:00
Rasmus Kaj
1d862962b6 Quit using diesel_infer_schema.
Instead, let diesel keep src/schema.rs up-to-date when migrating.
2018-08-31 22:40:39 +02:00
Rasmus Kaj
e5e1ff0234 Test and improve splitting a group. 2018-08-31 22:10:44 +02:00
Rasmus Kaj
b2cb6edf6d Postrelease. 2018-08-13 22:06:44 +02:00
Rasmus Kaj
ee2564ddb0 Release 0.4.20
* Add positions to month and on-this-day views.
* Nicer positioning by local storage (start at last set position).
* Smaller clusters (35, rather than default 80) gives better map views.
* Minor exif handling improvement.
* Improve diesel usage (avoid full-query verbatim sql).
* Update diesel to 1.2.x.
* Allow (keep) manually corrected positions when finding photos.
2018-08-12 15:34:05 +02:00
Rasmus Kaj
135fb5e9f4 Add positions to month view. 2018-08-12 15:02:02 +02:00
Rasmus Kaj
5d9040ab22 Refactor. 2018-08-12 14:52:59 +02:00
Rasmus Kaj
5557dd4de9 Add positions to on-this-day. 2018-08-12 13:31:30 +02:00
Rasmus Kaj
e74cbb0c3d Nicer positioning by local storage
Use local storage to remember the last position set for a picture, and
use that as a starting point when positioning an image that does not
allreay have any known position.
2018-08-12 12:11:43 +02:00
Rasmus Kaj
4193a99d5b Tighter cluster.
A smaller maxclusterradius (35, rather than the default 80)
allows a better view of where pictures are actually taken.
2018-08-12 11:29:17 +02:00
Rasmus Kaj
8dd9b9729a Minor exif handling improvement. 2018-07-30 20:56:36 +02:00
Rasmus Kaj
17bb8a0716 Improve diesel usage.
Avoid full-query verbatim sql.
2018-07-30 20:17:06 +02:00
Rasmus Kaj
fb2e215fbf Rustfmt update. 2018-07-30 18:57:25 +02:00
Rasmus Kaj
db8b5e013e Update diesel to 1.2.x. 2018-07-27 20:14:09 +02:00
Rasmus Kaj
1d9b2a2e48 Allow manually corrected positions. 2018-07-27 17:15:35 +02:00
Rasmus Kaj
b74eb04fd6 Postrelease. 2018-07-27 17:01:43 +02:00
Rasmus Kaj
6d8153d726 Release 0.4.18
* Add leaflet clustering; Nice handling of maps with extreme numbers of photos.
* Add photo previews to map markers.
* Update rand and memcached-rs.
* Some code-style cleanup.
2018-07-19 22:00:40 +02:00
Rasmus Kaj
863d37a162 Some code-style cleanup. 2018-07-19 21:49:48 +02:00
Rasmus Kaj
a9db221aac Add photo previews to map markers. 2018-07-19 21:17:00 +02:00
Rasmus Kaj
df1c33c7ee Add leaflet clustering.
Nice handling of maps with extreme numbers of photos.
2018-07-18 21:20:38 +02:00
Rasmus Kaj
e62bdeffa5 Update rand and memcached-rs. 2018-07-17 11:53:43 +02:00
Rasmus Kaj
cd64307dc6 Postrelease 2018-07-17 09:18:29 +02:00
Rasmus Kaj
444aa2f39d Release 0.4.16.
* Add admin ux to set image position.
* Fix leaflet markers. Sometimes the markers would not view, that was
  because the trick to find the correct url for the marker images
  didn't work when the css might load after the js.  So just load the
  css before the js instead.
* Update ructe to 0.4.x.
* Some cleanups, mainly clippy-suggested.
2018-07-15 22:53:41 +02:00
Rasmus Kaj
fa08f8d3cc Fix leaflet markers.
Sometimes the markers would not view, that was because the trick to
find the correct url for the marker images didn't work when the css
might load after the js.  So just load the css before the js instead.
2018-07-15 22:46:56 +02:00
Rasmus Kaj
5222194c5c Add admin ux to set image position. 2018-07-15 21:52:44 +02:00
Rasmus Kaj
e86271fc2a Some cleanups, mainly clippy-suggested. 2018-07-15 14:34:55 +02:00
Rasmus Kaj
20c72d5ef3 Rustfmt. 2018-07-05 23:28:57 +02:00
Rasmus Kaj
96a5a07ce7 Update ructe. 2018-07-05 23:07:40 +02:00
Rasmus Kaj
42b929dd4c Postrelease. 2018-04-28 17:30:02 +02:00
Rasmus Kaj
516efb80d3 Release 0.4.14.
* Better / faster image scaling from update image dependency.
2018-04-28 16:46:03 +02:00
Rasmus Kaj
79ca4a4e1a Fast image scaling.
Use the new image.thumbnail method if the source is at least three
times target size.
2018-04-27 11:01:59 +02:00
Rasmus Kaj
fb766f5a0d Update image dependency. 2018-04-27 09:22:53 +02:00
Rasmus Kaj
0d930d7b61 Postrelease. 2018-04-08 22:28:09 +02:00
Rasmus Kaj
b0170cf5f3 Release 0.4.12.
* Fix error that broke the front page.
2018-04-08 12:07:09 +02:00
Rasmus Kaj
4ee6265d7a Oops. 2018-04-08 12:05:33 +02:00
Rasmus Kaj
5ec073166d Release 0.4.10.
* 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.

* Don't override picture orientation for existing images in
  findphotos.

* Don't let the map hide dropdowns.

* Shorter about string in footer.

* Use kamadak-exif instead of rexif.

* Updates Diesel to 1.1.0, get rid of unnecessary New* structs.

* Miscellaneous code cleanup.
2018-04-08 11:12:57 +02:00
Rasmus Kaj
1bc04d6b46 Rustfmt. 2018-04-08 03:10:38 +02:00