Rasmus Kaj
1a25ed50ea
Update r2d2-memcache to 0.4.0.
2019-08-28 23:16:29 +02:00
Rasmus Kaj
e52be4d0f7
Update ructe to 0.7.2.
2019-08-28 23:01:46 +02:00
Rasmus Kaj
d40018cd89
Fix some warnings with rustc 1.37.
2019-08-24 22:48:59 +02:00
Rasmus Kaj
d2e88b9307
Cleanup.
2019-08-18 23:22:21 +02:00
Rasmus Kaj
59cea4ddeb
Implement negative searching.
...
Can now search for images with or without specific tags, places
or people, in any combination.
2019-08-13 18:57:18 +02:00
Rasmus Kaj
e516d44d3b
User "medallion" 2.3.1 instead of "jwt".
...
At least medallion does not seem to be abandonware and the
dependencies are not too out of date.
2019-08-08 23:21:56 +02:00
Rasmus Kaj
e5173bb7fd
Postrelease.
2019-08-08 20:57:37 +02:00
Rasmus Kaj
1ace03e6b0
Release 0.6.6
...
* Keep pos / !pos when "zooming" in search.
2019-08-03 13:21:49 +02:00
Rasmus Kaj
f8d4ca67d2
Release 0.6.4
...
* Magic pos / !pos search.
* Make overpass API url configurable.
* Shorter db usage from pool.
Don't keep a db handle checked out from the pool for the entire
request, but instead check out one when needed. Hopefully, this means
it won't keep a db connection busy while scaling an image.
2019-08-01 21:25:32 +02:00
Rasmus Kaj
dab261d67f
Magic pos / !pos search.
2019-08-01 21:04:46 +02:00
Rasmus Kaj
6743418dc8
Shorter db usage from pool.
...
Don't keep a db handle checked out from the pool for the entire
request, but instead check out one when needed. Hopefully, this means
it won't keep a db connection busy while scaling an image.
2019-07-31 00:00:52 +02:00
Rasmus Kaj
b140d356dd
Make overpass API url configurable.
2019-07-25 21:00:02 +02:00
Rasmus Kaj
52cfff5b93
Postrelease.
2019-07-25 20:44:23 +02:00
Rasmus Kaj
e115f8c065
Release 0.6.2: Bugfix in search results.
...
* When klicking a group, keep the search query.
2019-07-23 20:49:51 +02:00
Rasmus Kaj
513f90a26e
Release 0.6.0
...
* Implement search.
* Update ructe to 0.7.0 and image to 0.22.
* Accept more OSM place types.
2019-07-23 07:16:29 +02:00
Rasmus Kaj
d5310ba304
Update image to 0.22.
2019-07-23 07:07:39 +02:00
Rasmus Kaj
b613c16029
Implement search.
2019-07-23 00:58:52 +02:00
Rasmus Kaj
ac2a790864
Refactor.
2019-07-22 21:07:29 +02:00
Rasmus Kaj
89b34a7fb0
Use more OSM places.
2019-07-22 18:53:13 +02:00
Rasmus Kaj
a3017ae190
Update ructe to 0.7.0.
2019-07-18 21:38:59 +02:00
Rasmus Kaj
70b5779363
Accept more place types.
2019-07-18 21:29:37 +02:00
Rasmus Kaj
8465753598
Postrelease.
2019-07-11 20:32:13 +02:00
Rasmus Kaj
aa5a922291
Release 0.5.14
...
* Lock reqwest version at 0.9.17 to avoid async problem.
* Use more OSM places.
* Update rand to 0.7.0.
* Refactor: Move some code
2019-07-05 12:14:22 +02:00
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