Commit Graph

293 Commits

Author SHA1 Message Date
Noah Petherbridge
cadb759ff4 Messages: Threaded view for better user experience 2023-12-25 21:36:41 -08:00
Noah Petherbridge
f986c6f0a5 Fix Gallery lightbox URL to image 2023-12-21 21:14:00 -08:00
Noah Petherbridge
ebc8e9b72c More effectively block drag and right-click 2023-12-21 21:00:08 -08:00
Noah Petherbridge
42c189d333 Fix import of right-click script 2023-12-21 20:40:06 -08:00
Noah Petherbridge
50434ae7d2 Disable image dragging 2023-12-21 20:38:18 -08:00
Noah Petherbridge
b43fec144b Fix duration pretty printing and number shortening 2023-12-21 17:12:34 -08:00
Noah Petherbridge
8863daac60 Show display names in forums and comments 2023-12-21 15:09:23 -08:00
Noah Petherbridge
13775b9722 Admin view for User Notes page 2023-12-21 14:59:41 -08:00
Noah Petherbridge
483e5a2db3 Photo edit/delete fixes, lazy load images 2023-12-21 14:37:55 -08:00
Noah Petherbridge
da7e8d5899 Small tweak 2023-12-04 19:59:53 -08:00
Noah Petherbridge
fc8014913d Admin insights block lists page 2023-12-04 19:57:14 -08:00
Noah Petherbridge
f618973e80 Right-click blocker on img tags only 2023-11-28 11:04:57 -08:00
Noah Petherbridge
f23a787d32 Tweak right-click modal 2023-11-27 21:53:02 -08:00
Noah Petherbridge
8130ce4845 Right-click dissuasion 2023-11-27 21:23:31 -08:00
Noah Petherbridge
2e3cd96309 Update privacy policy and TOS 2023-11-26 21:22:39 -08:00
Noah Petherbridge
0cb3efe577 Minor fixes to admin feedback pages 2023-11-26 21:02:36 -08:00
Noah Petherbridge
22e8c9129b PWA Manifest JSON 2023-11-25 17:15:21 -08:00
Noah Petherbridge
3d4c728d75 Certification photo admin updates 2023-11-25 14:28:16 -08:00
Noah Petherbridge
7ef22db5e2 Can't accept a friend request after you ignored it 2023-11-25 13:39:38 -08:00
Noah Petherbridge
4846a88ab0 Add an anchor link to the TOS 2023-11-24 12:33:45 -08:00
Noah Petherbridge
a58d6c4089 Forums: Only show poll on first page of a thread 2023-11-24 12:26:17 -08:00
Noah Petherbridge
587d940757 Add clarifying rules about downloading pictures 2023-11-24 12:21:45 -08:00
Noah Petherbridge
f0373285eb 2FA: Ability to see original QR code again 2023-11-15 18:01:34 -08:00
Noah Petherbridge
fae995e486 Gallery: Retain search filters when toggling card types 2023-11-07 11:24:08 -08:00
Noah Petherbridge
f9a2d471f5 My User Notes page 2023-10-29 12:29:11 -07:00
Noah Petherbridge
c0bff8ee18 Settings to opt-out of certain notification types 2023-10-28 14:34:35 -07:00
Noah Petherbridge
64d2749299 Fix site gallery userID + visibility filters 2023-10-26 17:33:08 -07:00
Noah Petherbridge
898be65327 Update privacy policy for more transparency 2023-10-24 23:35:44 -07:00
Noah Petherbridge
0143fd752f Bugfixes on user profile pages 2023-10-23 21:55:55 -07:00
Noah Petherbridge
47a4ebb0ad Bugfix on viewing other users friends and relationship booleans 2023-10-23 00:04:25 -07:00
Noah Petherbridge
a97ed4562e Ability to ignore friend requests 2023-10-22 19:57:18 -07:00
Noah Petherbridge
61c47c032d Site Gallery: Default to friends only 2023-10-22 19:17:49 -07:00
Noah Petherbridge
81da502f17 Bugfix on gallery display 2023-10-22 16:20:24 -07:00
Noah Petherbridge
db4a8bda85 Minor bugfix on user gallery filter UI 2023-10-22 16:07:24 -07:00
Noah Petherbridge
39c825d4ca Filters on User Gallery Pages 2023-10-22 16:03:17 -07:00
Noah Petherbridge
481bd0ae61 Deactivate Account; Friends Lists on Profiles
* Add a way for users to temporarily deactivate their accounts, in a
  recoverable way should they decide to return later.
* A deactivated account may log in but have limited options: to
  reactivate their account, permanently delete it, or log out.
* Fix several bugs around the display of comments, messages and
  forum threads for disabled, banned, or blocked users:
  * Messages (inbox and sentbox) will be hidden and the unread indicator
    will not count unread messages the user can't access.
  * Comments on photos and forum posts are hidden, and top-level threads
    on the "Newest" tab will show "[unavailable]" for their text and
    username.
  * Your historical notifications will hide users who are blocked, banned
    or disabled.
* Add a "Friends" tab to user profile pages, to see other users' friends.
  * The page is Certification Required so non-cert users can't easily
    discover any members on the site.
2023-10-22 15:02:24 -07:00
Noah Petherbridge
0f35f135d2 Inner circle removal requests 2023-10-14 11:37:01 -07:00
Noah Petherbridge
bd22c6d681 Open chat in new tab 2023-10-10 19:49:36 -07:00
Noah Petherbridge
8348904c10 Tweak the chat birthday landing page 2023-10-10 19:47:45 -07:00
Noah Petherbridge
59338d510f Birthday cake emoji for the chat room 2023-10-10 19:30:39 -07:00
Noah Petherbridge
a16894a1b1 Chat landing page: show online friends 2023-10-08 13:35:11 -07:00
Noah Petherbridge
95212970ff Pager at bottom of Newest tab of forum 2023-09-30 15:29:17 -07:00
Noah Petherbridge
a19e52c03f Instantly block user in chat, search improvements 2023-09-30 15:24:14 -07:00
Noah Petherbridge
8456c5d0f5 Messages: if thread already open, go directly there instead of dedicated Compose page 2023-09-24 14:29:54 -07:00
Noah Petherbridge
6c618d1a0c Fix onclick handler for blurred videos on Chrome 2023-09-24 11:56:38 -07:00
Noah Petherbridge
a856b9d01b Blur explicit videos + GIF auto-play option 2023-09-24 11:41:19 -07:00
Noah Petherbridge
3bc678185e Tweak de-blur photo logic 2023-09-19 18:54:47 -07:00
Noah Petherbridge
50ce31f6ac Blur explicit photos option 2023-09-19 18:24:57 -07:00
Noah Petherbridge
6acdd22d4b Bugfix on Settings page 2023-09-18 17:41:26 -07:00
Noah Petherbridge
d4828d2e8e More documentation about 2FA 2023-09-18 17:37:20 -07:00
Noah Petherbridge
07feaaa4e7 Minor fixes 2023-09-18 17:31:02 -07:00
Noah Petherbridge
c3a3b7e35c Two Factor Authentication 2023-09-18 17:22:50 -07:00
Noah Petherbridge
41beba54f2 Don't show blocked users on Likes lists 2023-09-17 22:28:21 -07:00
Noah Petherbridge
37420e8051 Update FAQ 2023-09-17 21:45:06 -07:00
Noah Petherbridge
ca34f63296 Tweak Bulma CSS on profile tabs 2023-09-16 16:33:09 -07:00
Noah Petherbridge
1e9ef5a79c Fix word breaking on user notes page 2023-09-16 16:16:28 -07:00
Noah Petherbridge
49b5387750 User Notes + Bring Back Online Chatters List
New feature: User Notes
* Add a "Notes" tab to user profile pages and galleries.
* Users can create one private note about another user.
* Admins can see all notes left about a user.
* Admins also see Feedback & Reports regarding the user on that page.

Bring back the online chatters list
* The Usernames are filtered down based on blocklist status.
2023-09-16 13:46:26 -07:00
Noah Petherbridge
a70e1c2b73 Minor bugfixes
- Revoke photo notifications if visibility moving to inner circle
- No longer show usernames in chat on the landing page
2023-09-14 17:40:12 -07:00
Noah Petherbridge
fdc6c5c0a7 Show currently on chat indicators 2023-09-13 23:13:02 -07:00
Noah Petherbridge
de30f5e952 See who has "Liked" something 2023-09-13 21:28:38 -07:00
Noah Petherbridge
3543dd3e42 Allow updating birthdate, with admin report 2023-09-11 19:24:09 -07:00
Noah Petherbridge
de71d65be6 Only admin users can see banned accounts on search 2023-09-09 11:16:43 -07:00
Noah Petherbridge
6b0246edad Tweak private share badges 2023-09-01 23:07:15 -07:00
Noah Petherbridge
944dbb749b Private photos: see who shares back 2023-09-01 22:27:18 -07:00
Noah Petherbridge
577c92386e Filter for expressly non-certified 2023-09-01 17:20:34 -07:00
Noah Petherbridge
444699632a Minor fix 2023-09-01 17:14:57 -07:00
Noah Petherbridge
67a54c866e New search filters and friendship sent icon 2023-09-01 17:13:10 -07:00
Noah Petherbridge
c8d09e6a17 Update admin icon from gavel to peace 2023-08-30 13:30:24 -07:00
Noah Petherbridge
6eb51cf545 Filter member directory by HereFor 2023-08-29 21:10:00 -07:00
Noah Petherbridge
6c11661058 Tweak the top navbar on desktop screens 2023-08-29 20:20:19 -07:00
Noah Petherbridge
6dc84bed33 Minor typo 2023-08-19 21:26:31 -07:00
Noah Petherbridge
a785b093e7 Tweaks to Who's Nearby 2023-08-19 21:09:23 -07:00
Noah Petherbridge
cc628afd44 Who's Nearby Feature 2023-08-19 19:11:33 -07:00
Noah Petherbridge
bf71ed421c Maintenance Mode + Blockable Admin Scope 2023-08-16 22:09:04 -07:00
Noah Petherbridge
1ee8acf060 Various quick fixes
* Signup: if entering an existing email, don't admit that the email
  exists. Instead, send a specialized email to its address.
* Search: no longer search for users by email address.
* Login: always hash the incoming password on user not found, to take
  constant time compared to when the user did exist.
* Fix a pagination bug when a private (shy account) views a non-friend's
  photo gallery.
2023-08-15 17:33:33 -07:00
Noah Petherbridge
666d3105b7 Privacy Improvements and Notification Fixes
* On user profile pages and gallery: the total photo count for the user
  will only include photos that the viewer can actually see (taking into
  account friendship and private grants), so that users won't harass
  each other to see the additional photos that aren't visible to them.
* On the member directory search: the photo counts will only show public
  photos on their page for now, and may be fewer than the number of
  photos the current user could actually see.
* Blocklist: you can now manually add a user by username to your block
  list. So if somebody blocked you on the site and you want to block
  them back, there is a way to do this.
* Friends: you can now directly unfriend someone from their profile
  page by clicking on the "Friends" button. You get a confirmation
  popup before the remove friend action goes through.
* Bugfix: when viewing a user's gallery, you were able to see their
  Friends-only photos if they granted you their Private photo access,
  even if you were not their friend.
* Bugfix: when uploading a new private photo, instead of notifying
  everybody you granted access to your privates it will only notify
  if they are also on your friend list.
2023-08-14 18:50:34 -07:00
Noah Petherbridge
4d1a057a73 Signup page: check for username uniqueness 2023-08-12 22:37:09 -07:00
Noah Petherbridge
be0d401de8 Update TOS page 2023-08-12 22:18:23 -07:00
Noah Petherbridge
317f43fee4 Update chat entry page: remove beta mention, add rules 2023-08-11 19:47:20 -07:00
Noah Petherbridge
22d485156f Update verbiage for removing notifications 2023-08-04 19:41:14 -07:00
Noah Petherbridge
09497d3e52 Gate uploading a cert photo if you have no profile photo 2023-08-04 19:35:53 -07:00
Noah Petherbridge
fdc410c9f1 Clear/Delete Notifications, Private Photo Fixes
Added the ability to delete or clear notifications.
* A "Clear all" button deletes them all (with confirmation)
* A "Remove" button on individual notifications (one confirmation per
  page load, so you can remove several without too much tedium)

Fix some things regarding private photo notifications:
* When notifying your existing grants about a new upload, only users who
  opt-in for Explicit are notified about Explicit private pictures.
* When revoking private grants, clean up the "has uploaded a new private
  photo" notifications for all of your pics from their notification
  feeds.
2023-08-04 18:54:04 -07:00
Noah Petherbridge
47aaf15078 Admin Groups & Permissions
Add a permission system for admin users so you can lock down specific admins to
a narrower set of features instead of them all having omnipotent powers.

* New page: Admin Dashboard -> Admin Permissions Management
* Permissions are handled in the form of 'scopes' relevant to each feature or
  action on the site. Scopes are assigned to Groups, and in turn, admin user
  accounts are placed in those Groups.
* The Superusers group (scope '*') has wildcard permission to all scopes. The
  permissions dashboard has a create-once action to initialize the Superusers
  for the first admin who clicks on it, and places that admin in the group.

The following are the exhaustive list of permission changes on the site:

* Moderator scopes:
    * Chat room (enter the room with Operator permission)
    * Forums (can edit or delete user posts on the forum)
    * Photo Gallery (can see all private/friends-only photos on the site
      gallery or user profile pages)
* Certification photos (with nuanced sub-action permissions)
    * Approve: has access to the Pending tab to act on incoming pictures
    * List: can paginate thru past approved/rejected photos
    * View: can bring up specific user cert photo from their profile
    * The minimum requirement is Approve or else no cert photo page
      will load for your admin user.
* User Actions (each action individually scoped)
    * Impersonate
    * Ban
    * Delete
    * Promote to admin
* Inner circle whitelist: no longer are admins automatically part of the
  inner circle unless they have a specialized scope attached.

The AdminRequired decorator may also apply scopes on an entire admin route.
The following routes have scopes to limit them:

* Forum Admin (manage forums and their settings)
* Remove from inner circle
2023-08-01 20:39:48 -07:00
Noah Petherbridge
01317a7ff8 Admin certification page improvements 2023-07-31 20:03:21 -07:00
Noah Petherbridge
af917fed51 Update privacy policy 2023-07-27 22:45:55 -07:00
Noah Petherbridge
67ec9e5ce3 Various small website tweaks
* Add they/them as example pronouns on the Edit Profile page and make
  the examples clickable to fill them in easily.
* When viewing a photo gallery and you opt-out of explicit, have a link
  to your settings page to opt-in.
* Update the rules on the homepage and signup page.
* Add a notice on DM pages about the privacy policy and TOS.
2023-07-27 20:19:50 -07:00
Noah Petherbridge
bfa883e059 Privacy Policy & TOS Updates 2023-07-27 20:19:37 -07:00
Noah Petherbridge
61249ac9f1 Pager on bottom of forum thread views too 2023-07-23 16:37:11 -07:00
Noah Petherbridge
61011efd9f Photo counts on member directory + inner circle removal privacy fix 2023-07-23 15:02:41 -07:00
Noah Petherbridge
356f94698f Some bugfixes around profile picture cropping 2023-07-22 11:52:05 -07:00
Noah Petherbridge
12dcc10ff3 Mastodon profile link 2023-07-20 12:41:57 -07:00
Noah Petherbridge
82fe684d11 Safety check on Likes 2023-07-18 22:30:29 -07:00
Noah Petherbridge
77bbea38cc Typos 2023-06-27 09:02:44 -07:00
Noah Petherbridge
9474625969 Update the About, Features and FAQ pages 2023-06-26 23:29:05 -07:00
Noah Petherbridge
a0384e0d39 Minor tweak to notifications for GIFs 2023-06-25 23:12:44 -07:00
Noah Petherbridge
7aa2310a6d GIFs showing correctly in Notifications 2023-06-25 23:09:43 -07:00
Noah Petherbridge
7d4326e251 Fix GIF and PNG uploads 2023-06-25 23:03:41 -07:00
Noah Petherbridge
e051da21b5 Support GIF videos in your photo gallery 2023-06-25 22:55:07 -07:00
Noah Petherbridge
c172565a56 Geo-gating on signup 2023-06-24 15:39:45 -07:00
Noah Petherbridge
45cb4d260e DM Privacy + Settings Page Tabs
* Refactor the Settings page into a tabbed UI to reduce confusion with
  all the different forms and save buttons
* Add a DM Privacy setting to your page
* Update the About page
2023-06-23 22:18:09 -07:00
Noah Petherbridge
0f6b627156 Spit and polish
* Refactor pagination into a DRY template func
* Better guide users with no profile pic to upload one
2023-06-21 20:46:27 -07:00
Noah Petherbridge
2439c714e5 Notifications: make the Like button a button to avoid hyperlink issue 2023-06-21 18:36:42 -07:00
Noah Petherbridge
16da91ce1e Notifications like button bugfix 2023-06-17 00:42:28 +00:00
Noah Petherbridge
ae8ef83115 Option to hide age from profile display 2023-06-16 17:11:52 -07:00
Noah Petherbridge
eed3e2f43b Mobile input assist for age gate page 2023-06-16 13:40:43 -07:00
Noah Petherbridge
d36e71549a Age gate: collect birthdates retroactively and on new signup 2023-06-16 13:05:33 -07:00
Noah Petherbridge
3d34306c7e Better comment notification links 2023-06-15 19:40:40 -07:00
Noah Petherbridge
70d252dd75 Like buttons in photo notifications 2023-06-15 19:06:16 -07:00
Noah Petherbridge
b262ac4be6 Better chat stats on landing page 2023-06-10 13:25:06 -07:00
Noah Petherbridge
78abee6e9e Online users badge in the Chat link on nav bar 2023-06-07 21:59:15 -07:00
Noah Petherbridge
50d05f92f1 Fix Gallery checkbox always checking itself + small fixes 2023-05-24 18:40:27 -07:00
Noah Petherbridge
e6388de589 Style cleanup 2023-05-24 15:02:45 -07:00
Noah Petherbridge
eccc4f0044 Update some wording 2023-05-24 11:35:22 -07:00
Noah Petherbridge
536bc97a68 Update some wording 2023-05-24 11:31:25 -07:00
Noah Petherbridge
6cad3cadc7 Inner circle followups: notifications, min public pictures 2023-05-24 11:27:42 -07:00
Noah Petherbridge
f7b7eabf01 CSS fixes 2023-05-23 23:26:34 -07:00
Noah Petherbridge
6bb9b10f56 Update some wording 2023-05-23 23:21:14 -07:00
Noah Petherbridge
37814efa15 Minor fixes for inner circle 2023-05-23 22:40:06 -07:00
Noah Petherbridge
3b3616f0c9 Inner circle bugfixes 2023-05-23 20:15:26 -07:00
Noah Petherbridge
9788ea6a33 The inner circle 2023-05-23 20:04:17 -07:00
Noah Petherbridge
2b07b98bb5 Update chat landing page 2023-03-31 17:40:48 -07:00
Noah Petherbridge
f98b6b2806 Notifications about new photo uploads for your friends 2023-03-16 20:04:43 -07:00
Noah Petherbridge
df65b1b260 Bugfixes around banned user accounts 2023-03-09 16:57:38 -08:00
Noah Petherbridge
0cdfcbb976 Update TOS and FAQ pages 2023-03-08 13:43:33 -08:00
Noah Petherbridge
a1d80fc2b0 Disable contact form for logged-out users due to spam 2023-02-21 11:45:26 -08:00
Noah Petherbridge
296b5a30b8 Spit and polish for Shy Accounts
* Add a Shy/Non-shy badge to user profile pages.
* Shy Accounts can always DM admin users.
2023-02-13 22:31:50 -08:00
Noah Petherbridge
7d17dce4d4 Shy Accounts
* Users with private profiles or no public photo at all are considered
  to be Shy Accounts and are isolated from the non-shy profiles.
* Restrictions include:
  * Site Gallery shows only them + their friends' photos.
  * User Galleries: must be a friend or had private photos granted to
    see a user's gallery page.
  * DMs: can not initiate a DM to a non-shy member (other shy members
    OK).
2023-02-13 22:19:18 -08:00
Noah Petherbridge
5e3e02ee33 Add some links to the chat page 2023-02-12 21:10:47 -08:00
Noah Petherbridge
20aa09f760 Update chat rules 2023-02-10 23:06:50 -08:00
Noah Petherbridge
c098c2f8d8 Chat API endpoint 2023-02-09 23:07:07 -08:00
Noah Petherbridge
e79ce9e746 Update chat landing page 2023-02-08 21:59:38 -08:00
Noah Petherbridge
e0fdc46eba Add chat link to mobile nav bar 2023-02-06 15:47:57 -08:00
Noah Petherbridge
050ce19160 Chat launch page for BareRTC 2023-02-05 20:26:36 -08:00
Noah Petherbridge
811650214e Minor fix 2022-12-24 23:07:00 -08:00
Noah Petherbridge
345285d7a3 Add Admin Guidelines to dashboard
* A reason must be entered to impersonate a user, and it triggers a
  Report and email notification to the admin.
* User gallery pages will show at the top whether the user had granted
  you access to their private photos.
2022-12-24 23:00:59 -08:00
Noah Petherbridge
76963ca514 Fix modal BG color on dark theme 2022-12-20 21:33:15 -08:00
Noah Petherbridge
72a7f57f03 Ability to delete DMs and minor spit & polish 2022-12-20 21:11:43 -08:00
Noah Petherbridge
1cc2306cbf Wrap Up Polls Support
* Add the PollVotes table and associated logic.
* Multiple choice polls supported.
* Expiring and non-expiring polls.
* Icons and badges on the forum pages to show posts with polls
* Bugfix: non-explicit users getting SQL errors on Newest Posts page.
2022-12-20 19:15:45 -08:00
Noah Petherbridge
bb79b5cbf3 WIP Web Polls
Got initial Poll table and UI started:
* Polls can be attached to any NEW forum post (can't edit poll details
  after creation)
* Max 100 options (theoretically unlimited), expiration time.
* UI: shows radio button list on posts having a poll, no submit handler
  yet created.
2022-12-14 22:57:06 -08:00
47f898561c Forum Photo Attachments
* Add support to upload a picture to forum posts and replies, in forums that
  have the PermitPhotos setting enabled.
* New DB table: CommentPhoto holds the association between a photo and a
  forum ID. Photos can be uploaded at preview time (before a CommentID is
  available) and get associated to the CommentID on save.
* Cron endpoint /v1/comment-photos/remove-orphaned can clean up orphaned
  photos without a CommentID older than 24 hours.
* Add "Photo Boards" as a default forum category for new boards.
2022-10-20 21:02:30 -07:00
c97cc28b13 Contact form antispam 2022-09-26 19:12:24 -07:00
8085e092bc Forum Reply Enhancements + Better Pagers
* Enhance user experience replying to a forum thread. An inline reply textarea
  is added to page footers, "Quote" buttons on posts will quote the markdown
  source and focus the reply textarea, and "Reply" buttons will put an
  "@ mention" and focus the reply textarea. Users with scripts disabled will
  still be sent to the regular reply page as before.
* Improve all pagers by adding a "QueryPlus" template function that merges the
  page number with other current query parameters.
* Fix private profile picture avatars not displaying in your Notifications for
  profile pics you're allowed to see.
2022-09-10 12:09:46 -07:00
90b97708f7 Explicit admin filter for the site gallery
* For admins, make it a specific opt-in filter for the Site Gallery to
  show all pictures regardless of friendship or grant (for moderation
  purposes). On this view, Like and Comment buttons are taken away.
  Non-admins are not shown the option and the back-end ignores the
  parameter for them.
* Fix user avatars on compose and admin actions page.
2022-09-09 20:11:50 -07:00
2ef72fef0f Update home page 2022-09-09 19:58:53 -07:00
291848db0e Update FAQ 2022-09-09 18:18:56 -07:00
2d9e6b4286 Update FAQ 2022-09-08 22:51:05 -07:00
c7e5760c4c More private avatars more places 2022-09-08 21:52:50 -07:00
6c91c67c97 More Private User Avatars
* Users who set their Profile Picture to "friends only" or "private" can have
  their avatar be private all over the website to users who are not their
  friends or not granted access.
* Users who are not your friends see a yellow placeholder avatar, and users
  not granted access to a private Profile Pic sees a purple avatar.
* Admin users see these same placeholder avatars most places too (on search,
  forums, comments, etc.) if the user did not friend or grant the admin. But
  admins ALWAYS see it on their Profile Page directly, for ability to moderate.
* Fix marking Notifications as read: clicking the link in an unread notification
  now will wait on the ajax request to finish before allowing the redirect.
* Update the FAQ
2022-09-08 21:42:20 -07:00
e0fb117927 Update FAQ 2022-09-07 23:03:15 -07:00
5d19692023 Only show Gallery filters on Site Gallery 2022-09-07 21:51:57 -07:00