Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Settings page with avatar image upload #62

Open
wants to merge 14 commits into
base: main
Choose a base branch
from

Conversation

ringtailsoftware
Copy link
Contributor

Added settings page
File upload for avatar and header image
Change preferredName and summary text fields

This is branched from "attachments", as it reuses the file upload logic (and stores the files in media with the same hash filename scheme).

Only supports a single file. Doesn't generate a blurhash, so Mastodon seems to show the image as "Not available" for a few seconds.
…ad, return immediately and handle the rest in .then()

This was broken on Firefox, seemed ok in Chrome.
Fix bug where sensitive was enabled by default (cw == undefined, not null)
…(eg. abc123.png). This means that the media directory could be served by a static webserver.

When a request comes in via existing /media/:id endpoint, drop the .ext and lookup the mime type (for Content-Type) via the metadata.
File upload for avatar and header image
Change preferredName and summary text fields
@benbrown benbrown added the wont-merge indicates this PR will not be merged label Sep 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wont-merge indicates this PR will not be merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants