Commit graph

13 commits

Author SHA1 Message Date
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
e3a0b3898f Move /file/ urls to /photo/id/download. 2022-11-11 21:35:29 -08:00
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
f392cb483d
Use window to fix photo_clipboard defined check. 2022-11-05 23:24:20 -07:00
c159dbbc0f
Improve photo contextmenu, reuse a single contextmenu element for all. 2022-08-04 06:10:44 -07:00
da0e6a59f7
Add a dedicated background_click function. 2022-03-26 13:21:58 -07:00
16688f95e7
Fix bookmark card being created without the h2. 2021-12-21 16:56:49 -08:00
886ddecfa7
Improve appearance of bookmark cards with h2, hiding url element. 2021-10-31 16:12:14 -07:00
e8cb183849
Add cards.js photos.create, render clipboard batches on client. 2021-05-29 08:46:25 -07:00
59654a89e6
Add new bookmarks to page without refreshing.
This is the first card to get a javascript version, so I'm testing
the waters with the low-stakes bookmarks.
2021-05-02 18:37:28 -07:00
b5e8363374
Add preliminary photo drag-drop code. 2021-01-25 13:47:47 -08:00
6c2da7a6f0
Move album drag-drop functions to cards.js. 2021-01-25 13:46:24 -08:00
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