Migrate (some) user functionality to server-side #123

Merged
katniny merged 3 commits from move-user-to-server into main 2025-11-28 21:49:29 -05:00
katniny commented 2025-11-28 21:36:30 -05:00 (Migrated from github.com)

Description of Changes


This adds fetching user data to the server-side, as well as making /u/{username} pages fetch from the server-side. Alongside these changes, following/unfollowing & blocking/unblocking has been moved to the server as well.

This PR breaks /u?id={username} links, which hasn't been supported by Auride for a while anyways.

Among other changes:

  • The follow button now has icons & fixes a bug where the follow button did not update properly based on following state (Always said "Follow", even if you were following them.)
  • Some interactions are hidden when blocked, since they're useless in that state anyways.
  • Changed achievement descriptions.
  • The User Actions popup has been unified (not that it's used elsewhere, anyways).
  • Memorialized accounts can now show obituaries, if available.
  • Fixed a long-standing bug where blocking a user would not unfollow them.
  • Fixed a bug where you could follow/unfollow & block/unblock memorialized accounts, which shouldn't be allowed since they're, well, memorialized.
  • Some minor UI improvements

Visual Sample


https://github.com/user-attachments/assets/9a9274af-2c65-4a1a-a3b3-58e10f811478

Checklist


  • I have thoroughly tested my changes to the best of my ability
    • You agree that you have tested your changes, and that you are not opening a Pull Request that you're unsure if it works.
  • I confirm I have not contributed anything that would impact Auride's licensing and/or usage
    • Auride is a commercial product that Katniny Studios can profit from. Please do not add copyrighted material to your Pull Request, however there are exceptions (e.g. our Spotify integration).
  • This Pull Request fixes a critical issue that should be reviewed and merged as soon as possible
    • This includes things such as security vulnerabilities, ways to manipulate data, etc.
  • I've read the latest CONTRIBUTING.md (last updated: September 15, 2025) and will follow the guidelines
    • Please make sure to read it, we use this as the standard when reviewing contributions, so it's in your best interest to be familiar with it!
  • I updated the version and added the update log
### Description of Changes --- This adds fetching user data to the server-side, as well as making /u/{username} pages fetch from the server-side. Alongside these changes, following/unfollowing & blocking/unblocking has been moved to the server as well. This PR breaks /u?id={username} links, which hasn't been supported by Auride for a while anyways. Among other changes: - The follow button now has icons & fixes a bug where the follow button did not update properly based on following state (Always said "Follow", even if you were following them.) - Some interactions are hidden when blocked, since they're useless in that state anyways. - Changed achievement descriptions. - The User Actions popup has been unified (not that it's used elsewhere, anyways). - Memorialized accounts can now show obituaries, if available. - Fixed a long-standing bug where blocking a user would not unfollow them. - Fixed a bug where you could follow/unfollow & block/unblock memorialized accounts, which shouldn't be allowed since they're, well, memorialized. - Some minor UI improvements ### Visual Sample --- https://github.com/user-attachments/assets/9a9274af-2c65-4a1a-a3b3-58e10f811478 ### Checklist --- - [x] I have thoroughly tested my changes to the best of my ability - You agree that you have tested your changes, and that you are not opening a Pull Request that you're unsure if it works. - [x] I confirm I have not contributed anything that would impact Auride's licensing and/or usage - Auride is a **commercial** product that Katniny Studios can profit from. Please do not add copyrighted material to your Pull Request, however there are exceptions (e.g. our Spotify integration). - [ ] This Pull Request fixes a **critical** issue that should be reviewed and merged as soon as possible - This includes things such as security vulnerabilities, ways to manipulate data, etc. - [x] I've read the latest [CONTRIBUTING.md](https://github.com/katniny/auride/blob/main/CONTRIBUTING.md) (last updated: September 15, 2025) and will follow the guidelines - Please make sure to read it, we use this as the standard when reviewing contributions, so it's in your best interest to be familiar with it! - [x] I updated the version and added the update log - Unsure what this means? Please read [CONTRIBUTING.md](https://github.com/katniny/auride/blob/main/CONTRIBUTING.md).
katniny (Migrated from github.com) reviewed 2025-11-28 21:42:11 -05:00
@ -978,389 +978,6 @@ function swapNoteTab(tab) {
// TODO does not work on firefox (unsure about webkit), move this into settings
Notification.requestPermission();
katniny (Migrated from github.com) commented 2025-11-28 21:42:11 -05:00

this chunk of comment need to be removed

this chunk of comment need to be removed
katniny (Migrated from github.com) reviewed 2025-11-28 21:46:15 -05:00
@ -0,0 +1,299 @@
async function renderUPage(userIdentifer, reqType) {
katniny (Migrated from github.com) commented 2025-11-28 21:46:15 -05:00

this needs removed too
remove your notes to self, kat 😒

this needs removed too remove your notes to self, kat 😒
katniny (Migrated from github.com) reviewed 2025-11-28 21:46:34 -05:00
@ -0,0 +1,299 @@
async function renderUPage(userIdentifer, reqType) {
katniny (Migrated from github.com) commented 2025-11-28 21:46:34 -05:00

this is not a test

this is not a test
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
katniny/Auride!123
No description provided.