Commit Graph

653 Commits

Author SHA1 Message Date
Rasmus Kaj
420aee3c61 Use more OSM places. 2019-07-05 12:03:52 +02:00
Rasmus Kaj
432de2ada6 Update rand to 0.7.0. 2019-07-04 17:12:20 +02:00
Rasmus Kaj
5df25e02de Refactor: Move some code
Just move some code around, make the longest file in the source
tree a bit shorter.
2019-07-02 15:47:35 +02:00
Rasmus Kaj
088dd74e80 Lock reqwest version to avoid async problem.
When using reqwest 0.9.18 or newer, I need to handle asyncronicity
properly, using the same driver for reqwest as for warp itself.
2019-07-02 11:20:12 +02:00
Rasmus Kaj
fe5b5f68b5 Postrelease. 2019-07-02 11:18:18 +02:00
Rasmus Kaj
45bba74f55 Release 0.5.12
* Fix kebab-case in precache args.
* Remove the find-sizes subcommand (redundant since 0.5.10).
2019-06-30 17:18:54 +02:00
Rasmus Kaj
2b54d043bd Fix kebab-case in precache args. 2019-06-30 15:21:51 +02:00
Rasmus Kaj
8244c42e90 Remove the find-sizes subcommand.
Sizes are required in db now, so that command won't ever find anything
to do.
2019-06-30 15:18:45 +02:00
Rasmus Kaj
9c179489f4 Postrelease. 2019-06-30 15:15:24 +02:00
Rasmus Kaj
4861bfed60 Release 0.5.10
* Make photo size required in db.
* Improve size/pos of admin buttons.
* Fix commandline bug from structopt transition.
* Add a command to make images public by tag.
* Update brotli to native rust implementation.
* Some internal code cleanup.
2019-06-06 15:20:06 +02:00
Rasmus Kaj
c1dea5004d Context arg by reference. 2019-06-02 19:28:04 +02:00
Rasmus Kaj
51fd4279f5 Improve size/pos of admin buttons. 2019-05-29 18:14:08 +02:00
Rasmus Kaj
b68628b12c Refactor to get_or_create. 2019-05-29 17:27:16 +02:00
Rasmus Kaj
23a7926674 Remove redundant use statements. 2019-05-25 13:04:41 +02:00
Rasmus Kaj
938549b51d Remove an unneded attribute. 2019-05-18 22:45:38 +02:00
Rasmus Kaj
cfbf5bb2f5 Fix commandline bug from structopt transition. 2019-05-18 22:38:11 +02:00
Rasmus Kaj
965dcab486 Make photo size required in db. 2019-05-18 21:43:58 +02:00
Rasmus Kaj
19e714970b Add a command to make images public by tag. 2019-05-18 19:04:24 +02:00
Rasmus Kaj
3d8530c0ec Update brotli to native. 2019-05-18 17:14:40 +02:00
Rasmus Kaj
d2359577ec Release 0.5.8
* PR #4: Use structopt for command line handling.
* Don't exclude raw images from findsizes.
* Fix path for fallback image reading in find-sizes.
2019-05-18 15:31:47 +02:00
Rasmus Kaj
f130f16827 Don't exclude raw images from findsizes. 2019-05-18 15:27:52 +02:00
Rasmus Kaj
770ef9bdae
Merge pull request #4 from kaj/structopt
Use structopt.
2019-05-18 15:18:05 +02:00
Rasmus Kaj
43a259e658 Use structopt.
Code becomes a bit simpler than with raw clap.
2019-05-18 15:01:09 +02:00
Rasmus Kaj
f76942bfce Fix path for fallback image reading in find-sizes. 2019-05-16 12:36:44 +02:00
Rasmus Kaj
7ed9527f92 Postrelease. 2019-05-16 12:34:50 +02:00
Rasmus Kaj
b5ec3058e7 Release 0.5.6
* Fallback to reading actual image data if exif size fails in
  find-sizes.
2019-05-15 18:49:16 +02:00
Rasmus Kaj
c3f2e4c6a7 Release 0.5.4
* Improve error reporting in ExifData::read_from.
2019-05-12 22:45:11 +02:00
Rasmus Kaj
1d3a1aec21 Release 0.5.2
* Add a command to fix missing image sizes in db.
* More work on sizing in image lists.
* Update dotenv to 0.14.0.
* Find images that has position but no places in a more efficient way
  in fetch-places.
2019-05-12 20:44:57 +02:00
Rasmus Kaj
f2049a8002 Add a command to fix missing image sizes in db. 2019-05-12 19:59:10 +02:00
Rasmus Kaj
ee7b497745 More work on sizing in image lists. 2019-05-12 17:27:01 +02:00
Rasmus Kaj
2d07e515fc Update dotenv to 0.14.0.
And sort dependencies.
2019-05-11 17:50:42 +02:00
Rasmus Kaj
5bcda397cd More efficient fetch-places.
Find images that has position but no places in a more efficient
way.
2019-05-11 17:07:27 +02:00
Rasmus Kaj
a453cf22b5 Postrelease. 2019-05-06 13:34:45 +02:00
Rasmus Kaj
1a926d4014 Release 0.5.0
* PR #2: Use warp instead of nickel.
* PR #3: Use edition 2018.
* Use pooled r2d2-memcache instead of the old memcached-rust.
* Updated style: Use more screen for images and less for borders and
  frames.
* Fixed broken keyboard stuff in admin.
* Updated leaflet.
* Improved the split function, this way it should never create zero-size
  sublists.
* Update some dependencies.
* Some random cleanup.
2019-05-05 18:35:03 +02:00
Rasmus Kaj
f59f018d33 Switch memcache implementation.
Use pooled r2d2-memcache instead of the old memcached-rust.
2019-05-03 01:00:02 +02:00
Rasmus Kaj
a305d461f0 Datebased headers in splitlist. 2019-05-01 22:16:54 +02:00
Rasmus Kaj
610aced5d2 Updated style.
Use more screen for images and less for borders and frames.
2019-05-01 16:17:19 +02:00
Rasmus Kaj
b282e48f43 Fix a minor clippy issue. 2019-04-27 10:13:52 +02:00
Rasmus Kaj
afefc93eff Fix keyboard escape from map and a chrome size issue. 2019-04-26 22:56:29 +02:00
Rasmus Kaj
a3912d21b0 Fix broken keyboard stuff in admin. 2019-04-26 22:14:42 +02:00
Rasmus Kaj
336b439d7a Update leaflet. 2019-04-26 00:33:59 +02:00
Rasmus Kaj
94e55a8a57
Merge pull request #2 from kaj/feature/warp
Use warp instead of nickel.
2019-04-25 23:23:53 +02:00
Rasmus Kaj
001cdc8e80 Move the far_expires impl to RenderRucte. 2019-04-25 21:43:02 +02:00
Rasmus Kaj
cd0911c3e5 Add redreict method to request builder exension. 2019-04-23 09:49:38 +02:00
Rasmus Kaj
95c5c0afe2 Cleanup next handling on login form. 2019-04-23 01:14:56 +02:00
Rasmus Kaj
5c03a28f59 Use warp instead of nickel.
Use the modern async warp web framework instead of nickel (which is
starting to feel a bit stale).

Url routing and context passing is changed a lot.
2019-04-22 16:08:19 +02:00
Rasmus Kaj
7080f7b382 Get rid of some redundant closures.
Suggested by clippy.
2019-04-22 15:39:53 +02:00
Rasmus Kaj
fd8cc25002 Minor cleanup. 2019-04-21 01:18:22 +02:00
Rasmus Kaj
7e1c79fa8b Update ructe. 2019-04-20 22:04:09 +02:00
Rasmus Kaj
dd16beb014
Merge pull request #3 from kaj/feature/edition2018
Use edition 2018.
2019-03-26 22:04:07 +01:00