Commit Graph

118 Commits

Author SHA1 Message Date
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
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
db8b5e013e Update diesel to 1.2.x. 2018-07-27 20:14:09 +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
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
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
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
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
b3bcdec2dd Improve template markup for img size attrs. 2018-04-08 02:37:02 +02:00
Rasmus Kaj
ecac1eec08 Bind diesel to version 1.1.0. 2018-04-08 02:28:49 +02:00
Rasmus Kaj
c2388befa9 Use kamadak-exif instead of rexif. 2018-03-04 14:35:30 +01:00
Rasmus Kaj
9832664cbf Postrelease (oops, late). 2018-02-19 23:58:43 +01:00
Rasmus Kaj
6e49da943c Release 0.4.8. 2018-02-11 18:10:58 +01:00
Rasmus Kaj
79c21fa67b Use local copy of leaflet.
At the same time, update the used leaflet to version 1.3.1.
2018-02-10 22:59:35 +01:00
Rasmus Kaj
24a7a34025 Postrelease. 2018-02-06 21:25:21 +01:00
Rasmus Kaj
02ea5a4cfb Release 0.4.6. 2018-02-05 22:53:14 +01:00
Rasmus Kaj
5a9d534b36 Update memcached and env_logger dependencies. 2018-01-25 20:56:29 +01:00
Rasmus Kaj
15e4a922da Allow clap to update. 2018-01-04 07:32:39 +01:00
Rasmus Kaj
07266eb787 Update image to 0.18. 2018-01-04 00:39:21 +01:00
Rasmus Kaj
0d4a2933ff Use diesel 1.0.0. 2018-01-04 00:15:17 +01:00
Rasmus Kaj
113e003fbf Postrelease. 2018-01-03 23:36:59 +01:00
Rasmus Kaj
1d686e3a48 Release 0.4.4. 2017-12-30 23:22:38 +01:00
Rasmus Kaj
b702379309 Limit clap version.
To avoid problem with up-to-date bitflags on rustc 1.19.
2017-12-30 21:29:30 +01:00
Rasmus Kaj
b60e929cac Improve some if let code. 2017-12-30 21:17:29 +01:00
Rasmus Kaj
13fed14a0b Specify rand version. 2017-12-30 15:29:09 +01:00
Rasmus Kaj
b1a8360e5c Use flate2 1.x.
There was a slight API change.
2017-12-07 07:17:09 +01:00
Rasmus Kaj
a14c9f9279 Lock r2d2 at version used by r2d2-diesel. 2017-11-28 00:28:51 +01:00
Rasmus Kaj
3071431452 Use the slug crate for generating slugs.
Rather than having to keep on adding special cases in my own code.
2017-11-26 22:04:16 +01:00
Rasmus Kaj
a63e9a3258 Postrelease. 2017-11-25 11:35:44 +01:00
Rasmus Kaj
9eb61cda29 Release version 0.4.2. 2017-11-25 02:43:37 +01:00
Rasmus Kaj
4286a3b6de Postrelease. 2017-11-21 18:53:11 +01:00
Rasmus Kaj
269f06e0b4 Release 0.4.0 2017-11-20 17:09:56 +01:00
Rasmus Kaj
a240e9aecb Postrelease. 2017-11-14 20:27:28 +01:00
Rasmus Kaj
2eeb8136ce Release 0.3.6. 2017-11-11 23:58:55 +01:00
Rasmus Kaj
18ddb04d65 Remove readkpa subcommand.
My old kphotoalbum database is no longer relevant, rphotos is
the main soruce now and should not be overridden.

The readkpa subcomand was never intended for general consumption
anyway, it was hardcoded to match configurations in my kphotoalbum
setup.
2017-11-07 23:34:19 +01:00
Rasmus Kaj
a2af66366d Postrelease. 2017-11-07 07:32:40 +01:00
Rasmus Kaj
49bdf9c945 Release 0.3.4. 2017-11-06 20:12:57 +01:00