Rasmus Kaj
8ee8b809bc
Redesign details view.
...
The details view is now implemented with css grid, in a full-window
no-scroll layout (except for small screens, where the design is still
sequential and scroll is used)
This incudes some cleanup of the markup and corresponding changes in
the admin script.
2020-07-16 20:12:22 +02:00
Rasmus Kaj
af13a538d9
twitter:card metadata apparently harmful.
2020-05-08 23:03:00 +02:00
Rasmus Kaj
0c3a4204a0
Add og metadata to image indexes.
2020-05-08 20:57:21 +02:00
Rasmus Kaj
0e2932c06a
Refactor facet search.
2019-09-29 15:16:05 +02:00
Rasmus Kaj
08d0d9bb40
Fix toggling for "pos" search.
2019-09-24 11:24:22 +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
dab261d67f
Magic pos / !pos search.
2019-08-01 21:04:46 +02:00
Rasmus Kaj
b613c16029
Implement search.
2019-07-23 00:58:52 +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
965dcab486
Make photo size required in db.
2019-05-18 21:43:58 +02:00
Rasmus Kaj
ee7b497745
More work on sizing in image lists.
2019-05-12 17:27:01 +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
4d333741dd
WIP: Edition 2018.
2019-03-26 18:10:00 +01:00
Rasmus Kaj
2c8fb0e148
Minor cleanup.
2019-02-23 20:48:17 +01:00
Rasmus Kaj
de86a3432c
Add opengraph metadata to photo details.
2018-11-03 17:17:09 +01:00
Rasmus Kaj
9b9da347eb
Put places after tags on details.
2018-09-07 21:09:51 +02:00
Rasmus Kaj
39126f2bc0
Improve presentation of places on a photo.
2018-09-06 13:52:06 +02:00
Rasmus Kaj
a9db221aac
Add photo previews to map markers.
2018-07-19 21:17:00 +02:00
Rasmus Kaj
b3bcdec2dd
Improve template markup for img size attrs.
2018-04-08 02:37:02 +02:00
Rasmus Kaj
914d68acf0
Shorter about string in footer.
2018-03-05 18:34:21 +01:00
Rasmus Kaj
fe7ca3b1cb
Use image size on details view.
2018-03-05 18:33:17 +01:00
Rasmus Kaj
fc1ed81561
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.
2018-03-05 00:29:39 +01:00
Rasmus Kaj
72c07fbe5d
Get rid of a reexport.
2018-03-03 14:39:33 +01:00
Rasmus Kaj
7aa4a0fb30
Unify groups and index.
...
Remove the groups template, use the index template instead.
Remove the Group struct, add an optional title to the PhotoLink struct
instead.
2018-03-03 14:35:50 +01:00
Rasmus Kaj
28032e4026
Add maps to image lists.
2018-02-07 20:56:23 +01:00
Rasmus Kaj
5b9da3083b
Move js for map from details.html to ux.js.
2018-02-04 23:42:15 +01:00
Rasmus Kaj
b60e929cac
Improve some if let code.
2017-12-30 21:17:29 +01:00
Rasmus Kaj
73eb97f1d2
More methods, avoid a giant method.
2017-12-30 17:04:23 +01:00
Rasmus Kaj
0a6a7f8f1c
Improve shoing of time spans.
2017-12-17 16:02:47 +01:00
Rasmus Kaj
09a88d8299
Move some js from template to ux.js.
2017-12-11 23:35:23 +01:00
Rasmus Kaj
1c6ed1c709
Shorten and simplify admin.js.
2017-12-11 23:11:36 +01:00
Rasmus Kaj
4471f9e083
Async AND defer is apparently a bad idea.
2017-12-11 22:07:51 +01:00
Rasmus Kaj
27481a62b3
Simpler and more versatile links.
2017-11-25 02:35:15 +01:00
Rasmus Kaj
94e661065b
Some styling and UX.
2017-11-25 01:22:01 +01:00
Rasmus Kaj
448f9b8a75
Add admin UX to grade images.
2017-11-22 21:13:34 +01:00
Rasmus Kaj
ade508eb8d
Use improved timecluster for day view.
...
Just as for people, places, and tag views.
2017-11-20 15:10:42 +01:00
Rasmus Kaj
5028a1831c
Add timecluster grouping for place views.
...
Just as for people and tag views.
2017-11-20 12:42:01 +01:00
Rasmus Kaj
b47726a6a5
Add timecluster grouping for tag views.
...
Just as for people.
2017-11-20 11:40:06 +01:00
Rasmus Kaj
8e7a3a36b6
Cleanup.
2017-11-20 10:27:27 +01:00
Rasmus Kaj
63fac99f27
Split long list for person in chunks.
2017-11-19 23:46:03 +01:00
Rasmus Kaj
3dd706c1ef
More accesskeys, incl a helpful listing.
2017-11-17 00:26:17 +01:00
Rasmus Kaj
551c5c6897
Redirect from /random.
...
Use a redirect rather than just rendering a random photo page.
Also, add a link to /random to the menu.
2017-11-07 23:36:09 +01:00
Rasmus Kaj
9b60733570
Show date and time below all images (if known).
2017-11-06 18:44:38 +01:00
Rasmus Kaj
38711abc37
Some lint-style changes suggested by clippy.
2017-09-27 00:19:03 +02:00
Rasmus Kaj
cde078317a
Add a message for login failure.
2017-09-25 19:12:54 +02:00
Rasmus Kaj
3a6a9cb21d
Add admin function to rotate image.
2017-09-25 07:25:58 +02:00
Rasmus Kaj
16a1b75643
Cleanup some more.
...
Get rid of lib.rs, and move main entry point to main.rs.
2017-09-02 00:05:44 +02:00
Rasmus Kaj
a0df34644b
Allways give "next" argument for login link.
2017-08-03 19:59:21 +02:00
Rasmus Kaj
f78966682a
Support "next" parameter in login form.
2017-08-03 12:50:01 +02:00