Commit Graph

14 Commits (ec8644dded56ed48d8d0e8c7623b8c1c313fadfe)

Author SHA1 Message Date
voussoir e4f686c86f Move thumbnail blobs into the database.
I've moved the thumbnails around many times over this project
and hopefully it doesn't happen too many more. Once the database has
tens of thousands of items, the thumbnails start to become the biggest
headache on the disk. Backing up, restoring, and sharding files per
directory are slower and more effortful with separate files. In the db
means the db is a larger file, but this is disk space that was already
getting used anyway. Now it's simpler and has atomic transactions.
2023-01-27 17:34:32 -08:00
voussoir 25b0f4106f Remove target=_blank from photo cards.
This will take some getting used to but nothing else in the system
uses target blank.
2022-11-11 20:04:57 -08:00
voussoir e4b6e629c1 Add loading=lazy to album thumbnail img. 2022-11-10 19:41:36 -08:00
voussoir c159dbbc0f
Improve photo contextmenu, reuse a single contextmenu element for all. 2022-08-04 06:10:44 -07:00
voussoir cb43b5d9e0
Migrate all IDs from strings to ints. Random 32 bit IDs in future. 2022-07-20 19:03:26 -07:00
voussoir 886ddecfa7
Improve appearance of bookmark cards with h2, hiding url element. 2021-10-31 16:12:14 -07:00
voussoir e101f4c2d8
Add author to bookmark card. 2021-10-23 18:48:27 -07:00
voussoir 6dc352b25c
Add comment for photo_card_toolbutton. 2021-06-04 19:34:52 -07:00
voussoir 22f320532b
Add draggable=false to file size link. 2021-06-03 21:35:24 -07:00
voussoir 387b7f1096
Rename Photo.bytestring -> bytes_string. 2021-05-24 20:42:29 -07:00
voussoir b5e8363374
Add preliminary photo drag-drop code. 2021-01-25 13:47:47 -08:00
voussoir 6c2da7a6f0
Move album drag-drop functions to cards.js. 2021-01-25 13:46:24 -08:00
voussoir b0f8414c11
Add photo_card.photo_card_tools infra for contextual tools.
I'm not satisfied with the appearance of the toolbutton just yet,
but we can revise that later.
2021-01-21 15:37:30 -08:00
voussoir 5e7b90cbe4
Combine all card templates into cards.html. 2021-01-20 18:26:42 -08:00