website/pkg/middleware
Noah Petherbridge 2f31d678d0 Usage Statistics and Website Demographics
Adds two new features to collect and show useful analytics.

Usage Statistics:
* Begin tracking daily active users who log in and interact with major features
  of the website each day, such as the chat room, forum and gallery.

Demographics page:
* For marketing, the home page now shows live statistics about the breakdown of
  content (explicit vs. non-explicit) on the site, and the /insights page gives
  a lot more data in detail.
* Show the percent split in photo gallery content and how many users opt-in or
  share explicit content on the site.
* Show high-level demographics of the members (by age range, gender, orientation)

Misc cleanup:
* Rearrange model list in data export to match the auto-create statements.
* In data exports, include the forum_memberships, push_notifications and
  usage_statistics tables.
2024-09-11 19:28:52 -07:00
..
age_gate.go Go 1.22 upgrade 2024-02-10 16:17:15 -08:00
authentication.go Usage Statistics and Website Demographics 2024-09-11 19:28:52 -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
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