Commit Graph

612 Commits

Author SHA1 Message Date
Rasmus Kaj
36b5b7b160 Yet another kind of OSM area to recognize. 2022-07-15 15:23:33 +02:00
Rasmus Kaj
4fb9fe76b0 Postrelease, add a changelog. 2022-07-15 14:32:26 +02:00
Rasmus Kaj
dfdcb90667 Release 0.11.6
* Another kind of area to recognize.
* Update structopt to clap 3.2.8.
* Tell robots not to index the login form.
2022-07-10 01:18:40 +02:00
Rasmus Kaj
5525364771 Another kind of area to recognize. 2022-07-10 01:10:03 +02:00
Rasmus Kaj
ce4651a66b Update structopt to clap 3.2.8. 2022-07-07 17:32:29 +02:00
Rasmus Kaj
235d0a9d6f Tell robots not to index the login form. 2022-02-26 17:05:28 +01:00
Rasmus Kaj
5d38f265dc Postrelease. 2022-02-25 16:29:10 +01:00
Rasmus Kaj
5d014ccb2e Release 0.11.4.
Be less noicy about exif data when finding images.
2022-02-20 22:58:44 +01:00
Rasmus Kaj
7360e6706f Release 0.11.2
Improve reading the date of images.  Prefer camera times over gps
times, since sometimes and old position is used, and than that old
time is saved in gps time field.
2022-02-20 22:07:28 +01:00
Rasmus Kaj
4f4a50a138 Release 0.11.0
* Much improved error handling.
* Improved warp routing.
* Minor improvements in site css and amdin js.
* Some more known places.
* Update ructe to 0.14.0.
* Update env_logger to 0.9.0.
* Update image to 0.24.0.
* Use lazy-regex 2.2.2 for cleaner and more efficient regex checking.
2022-02-20 17:32:05 +01:00
Rasmus Kaj
bf6d27187e Some more known kinds of places. 2022-02-20 17:21:04 +01:00
Rasmus Kaj
95d80104ec Log that as debug rather than info. 2022-02-20 16:13:55 +01:00
Rasmus Kaj
255569201b Improve admin js.
Disable the button that opens a currently opened admin subform.
2022-02-20 15:38:07 +01:00
Rasmus Kaj
84fbf02521 Minor css cleanup. 2022-02-20 15:23:29 +01:00
Rasmus Kaj
e1106d2ed0 Tell admin which pool failed to initialize. 2022-02-20 15:12:10 +01:00
Rasmus Kaj
cb8f479174 Convert a TODO to a Note.
I quite like how that thing works at the moment.
2022-02-20 13:11:34 +01:00
Rasmus Kaj
43ec55fe9a Pool creation error handling. 2022-02-19 00:40:57 +01:00
Rasmus Kaj
c6124b9084 More refactoring.
Get rid of a bunch of remaining `unwrap`s, and consolidate
some parameters to a template that had too many.
2022-02-19 00:23:47 +01:00
Rasmus Kaj
b69f57a0e8 More rustic pid-file handling. 2022-02-18 14:35:19 +01:00
Rasmus Kaj
5217b51926 Maybe more rustic way of building a random password. 2022-02-17 23:43:03 +01:00
Rasmus Kaj
8b6078fb7d Use lazy-regex. 2022-02-17 23:38:44 +01:00
Rasmus Kaj
b62376c115 Refactor some more: concrete Responses. 2022-02-17 23:32:28 +01:00
Rasmus Kaj
63acefb97c More route refactoring. 2022-02-17 22:28:18 +01:00
Rasmus Kaj
ceacabb30f Some routes-builder cleanup. 2022-02-17 00:23:25 +01:00
Rasmus Kaj
c6c2e81097
PR #7: Improve error handling.
Views now returns Result<T: Reply, ViewError>. There is a difference between a ViewError (an error that can be represented as a http response) and a Rejection (which tells the warp filter system to try other possible handlers).

Get rid of lots of "unwrap" (potential panics) in view handlers.
2022-02-16 23:53:17 +01:00
Rasmus Kaj
c3aa86cb42 Improve error handling.
Views now returns `Result<T: Reply, ViewError>`.
There is a difference between a `ViewError` (an error that can be
represented as a http response) and a `Rejection` (which tells the
warp filter system to try other possible handlers).
Get rid of lots of "unwrap" (potential panics) in view handlers.
2022-02-16 22:44:59 +01:00
Rasmus Kaj
611932f59e Update to rust edition 2021. 2022-02-06 20:06:44 +01:00
Rasmus Kaj
ca912afd7c Fix some clippy warnings. 2022-02-06 20:02:03 +01:00
Rasmus Kaj
f27ed9b78e Update ructe to 0.14.0. 2022-02-06 19:51:54 +01:00
Rasmus Kaj
c4c3d92af8 Update env_logger and image.
Update `env_logger` to 0.9.0 and `image` to 0.24.0.
2022-02-06 19:42:12 +01:00
Rasmus Kaj
640dc328eb Another type of place to recognize. 2021-07-05 21:53:17 +02:00
Rasmus Kaj
59ebc0f312 Release 0.10.0. 2021-07-04 19:57:46 +02:00
Rasmus Kaj
938346ef17 Better tag and search suggestions. 2021-07-04 19:51:16 +02:00
Rasmus Kaj
72e6942ea2 Minor markup/style improvement. 2021-07-04 19:02:37 +02:00
Rasmus Kaj
831183dc3a Tell ructe to use warp 0.3. 2021-07-04 15:04:09 +02:00
Rasmus Kaj
94877e7253 Recognize more osm places. 2021-07-04 14:42:31 +02:00
Rasmus Kaj
01cce9e1ec Update regex. 2021-06-25 22:52:40 +02:00
Rasmus Kaj
ebba14a7a5
Specify MIT license
Fixes #6 .
2021-04-18 17:08:30 +02:00
Rasmus Kaj
f5bc9d7e98 Minor cleanup.
Suggested by clippy.
2021-04-02 02:13:38 +02:00
Rasmus Kaj
85c7a32978 Use str::strip_prefix. 2021-03-14 20:45:14 +01:00
Rasmus Kaj
5d8e391be6 Rustfmt. 2021-02-18 11:55:50 +01:00
Rasmus Kaj
815c82b4b6 Json body for all api errors. 2021-02-02 13:56:05 +01:00
Rasmus Kaj
caab2d5aad Proper logging for errors. 2021-02-02 13:54:31 +01:00
Rasmus Kaj
817a14b8a1 Update to tokio 1.0
* reqwest 0.11.0
* tokio 1.0.2
* warp 0.3.0
2021-01-19 23:54:51 +01:00
Rasmus Kaj
7dcbad9b20 Update rand to 0.8. 2021-01-11 00:03:12 +01:00
Rasmus Kaj
1958acdae9 Update CI badge in readme. 2021-01-11 00:00:41 +01:00
Rasmus Kaj
9204c11574 Move from travis to github actions. 2021-01-10 22:32:53 +01:00
Rasmus Kaj
86cdb70d45 Update d2d-memcache to 0.6. 2021-01-10 21:19:31 +01:00
Rasmus Kaj
20da5fab92 Fix a silly typo. 2020-12-23 11:45:35 +01:00
Rasmus Kaj
110b4b23e3 Update ructe to 0.13. 2020-11-16 03:40:49 +01:00