Commit Graph

598 Commits

Author SHA1 Message Date
Rasmus Kaj
2722540755 Postrelease. 2018-11-06 22:05:05 +01:00
Rasmus Kaj
453e434db4 Release 0.4.26
* Add opengraph metadata to photo details.
* Add positions map to year view.
* Multiple improvements in fetch_places.
* Use serde (rather than rustc-serialize) for json responses and fetch_places.
* Update ructe to 0.5, reqwest to 0.9, and image to 0.20.
2018-11-03 20:43:11 +01:00
Rasmus Kaj
de86a3432c Add opengraph metadata to photo details. 2018-11-03 17:17:09 +01:00
Rasmus Kaj
1b0e9bd698 More logging changes in fetch_places. 2018-11-03 15:01:01 +01:00
Rasmus Kaj
b2da0914f1 Update ructe to 0.5.0. 2018-11-03 12:36:58 +01:00
Rasmus Kaj
8b256c89ee Add positions to year view. 2018-10-27 23:58:27 +02:00
Rasmus Kaj
7884803b3d End rustc-serialize use.
(At least direct use, it is still used indirectly through
nickel and jwt dependencies.)
2018-10-27 21:25:14 +02:00
Rasmus Kaj
4b2abc14fb Handle more places with same name. 2018-10-27 20:24:45 +02:00
Rasmus Kaj
54bf4113f1 Use serde_json and improve error handling. 2018-10-27 18:21:35 +02:00
Rasmus Kaj
08050811e3 Improve error handling in fetch_places. 2018-10-27 14:33:10 +02:00
Rasmus Kaj
ea8a0e345b Some log changes in fetchplaces. 2018-10-21 21:50:06 +02:00
Rasmus Kaj
28ec7e68b4 Allow proc_macro_derive_resolution_fallback.
Released disel doesnt quite play nice with recent stable rust otherwise.
2018-10-21 21:48:51 +02:00
Rasmus Kaj
fb48136924 Update reqwest. 2018-10-17 08:11:16 +02:00
Rasmus Kaj
2247a91118 Update image. 2018-10-17 00:57:29 +02:00
Rasmus Kaj
d9ba9f4c23 Minor cleanup. 2018-10-17 00:32:56 +02:00
Rasmus Kaj
24aaefe5e0 Rustfmt. 2018-10-17 00:27:47 +02:00
Rasmus Kaj
dfa2cb3c2f Postrelease. 2018-10-11 08:26:48 +02:00
Rasmus Kaj
d40d91724d Release 0.4.24
* Enable submitting location by pressing enter.
* Allow deeper zoom when placing image.
* Add time limit to precache command.
* Added auto arg to fetchplaces command.
2018-09-08 18:09:07 +02:00
Rasmus Kaj
98f1b3e8bc Add time limit to precache. 2018-09-08 17:28:24 +02:00
Rasmus Kaj
f6b988259a Enable submitting location by pressing enter. 2018-09-08 16:23:09 +02:00
Rasmus Kaj
79a295159e Rustfmt. 2018-09-08 15:09:07 +02:00
Rasmus Kaj
768fbd3bb4 Allow deeper zoom when placing image. 2018-09-08 15:07:27 +02:00
Rasmus Kaj
e9b673ac58 Postrelease. 2018-09-08 15:07:05 +02:00
Rasmus Kaj
32ef7fa4fd Added auto arg to fetchplaces command. 2018-09-08 14:18:08 +02:00
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