Skip to content

Comments

Settings page with avatar image upload#62

Open
ringtailsoftware wants to merge 14 commits intobenbrown:mainfrom
ringtailsoftware:settings
Open

Settings page with avatar image upload#62
ringtailsoftware wants to merge 14 commits intobenbrown:mainfrom
ringtailsoftware:settings

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