website/pkg/middleware
Noah Petherbridge 4f04323d5a Public Avatar Consent Page
The nonshy website is changing the policy on profile pictures. From August 30,
the square cropped avatar images will need to be publicly viewable to everyone.

This implements the first pass of the rollout:

* Add the Public Avatar Consent Page which explains the change to users and
  asks for their acknowledgement. The link is available from their User Settings
  page, near their Certification Photo link.
* When users (with non-public avatars) accept the change: their square cropped
  avatar will become visible to everybody, instead of showing a placeholder
  avatar.
* Users can change their mind and opt back out, which will again show the
  placeholder avatar.
* The Certification Required middleware will automatically enforce the consent
  page once the scheduled go-live date arrives.

Next steps are:

1. Post an announcement on the forum about the upcoming change and link users
   to the consent form if they want to check it out early.
2. Update the nonshy site to add banners to places like the User Dashboard for
   users who will be affected by the change, to link them to the forum post
   and the consent page.
2024-06-29 16:44:18 -07:00
..
age_gate.go Go 1.22 upgrade 2024-02-10 16:17:15 -08:00
authentication.go Public Avatar Consent Page 2024-06-29 16:44:18 -07:00
csrf.go Add DB indexes and request time to page footer 2024-03-03 17:58:18 -08:00
disabled_account.go Deactivate Account; Friends Lists on Profiles 2023-10-22 15:02:24 -07:00
geo_gate.go Geogate kill switch 2023-07-01 16:35:35 -07:00
logging.go Initial commit 2022-08-09 22:32:19 -07:00
maintenance.go Maintenance Mode + Blockable Admin Scope 2023-08-16 22:09:04 -07:00
public_avatar_consent.go Public Avatar Consent Page 2024-06-29 16:44:18 -07:00
recovery.go Rename the module 2022-08-25 21:21:46 -07:00
session.go Rename the module 2022-08-25 21:21:46 -07:00