website/pkg/config
Noah Petherbridge cbdabe791e Improve Signed Photo URLs
* The photo signing JWT tokens carry more fields to validate against:
  * The username the token is assigned to (or '@' for anyone)
  * An 'anyone' boolean for widely public images, such as for the chat room
    and public profile pages.
  * A short filename hash of the image in question (whether a Photo or a
    CommentPhoto) - so that the user can't borrow a JWT token from the chat
    room and reveal a different picture.
* Refactored where the VisibleAvatarURL function lives, to avoid a cyclic
  dependency error.
  * Originally: (*models.User).VisibleAvatarURL(other *models.User)
  * Now: (pkg/photo).VisibleAvatarURL(user, currentUser *models.User)
2024-10-03 20:14:34 -07:00
..
admin_labels.go Admin labels on photos surrounding explicit flags 2024-10-02 16:22:19 -07:00
admin_scopes_test.go Admin Transparency Page 2024-05-09 15:50:46 -07:00
admin_scopes.go Delete the inner circle 2024-08-10 11:54:37 -07:00
config.go Improve Signed Photo URLs 2024-10-03 20:14:34 -07:00
enum.go Bugfix when removing all chat moderation rules 2024-09-20 20:32:56 -07:00
geo_gate.go Geogate kill switch 2023-07-01 16:35:35 -07:00
page_sizes.go User Forums: Sort options and pagination 2024-08-26 20:47:14 -07:00
variable.go Signed and Authenticated Static Photo URLs 2024-10-03 18:04:14 -07:00