website/pkg/photo
Noah Petherbridge b7bee75e1f Function to re-sign photo URLs on profile pages
* With the new JWT signatures on photo URLs, it was no longer possible for
  creative users to embed their gallery photos on their profile page.
* Add a function to ReSignPhotoLinks that finds/replaces (on the server side)
  all references to paths under "/static/photos/" and gives them a fresh
  ?jwt= query string signature.
* Note: only applies to the profile page essays, ReSignPhotoLinks is a
  template func that must be opted-in on a per page basis.

Other miscellaneous fixes

* Add "Edit" buttons in the corners of profile cards, when the current user
  looks at their profile page. They link to URIs like
  "/settings#profile/about_me" which will now:
  1. Select the "Profile settings" tab like #profile
  2. Scroll and focus the profile essay field that the user clicked to edit.
2024-10-13 19:50:11 -07:00
..
filenames.go
gifv.go Support GIF videos in your photo gallery 2023-06-25 22:55:07 -07:00
photosign.go Function to re-sign photo URLs on profile pages 2024-10-13 19:50:11 -07:00
quota.go
upload.go Scale profile pictures to a consistent size 2023-10-29 12:42:21 -07:00