This has been in the README file since the start, but as more servers implement the Bookface scheme as the default more people have noticed that the "File Attachment" button is missing from the post Browser. I've replied to some individual posts about it but thought I should make my own post explaining that it is not a bug. It was a UX design decision on my part to purposely hide that button. Why?
There is no interface for actually managing the files you upload and attach. You cannot rename the files, you cannot delete them, and you cannot change the access permissions for them. If you accidentally upload a private file you can't remove it. It will accept several different file types, but uploaded videos have to be quite short due to file upload size limits, and even if that limit is set rather high, file uploads will often fail. If you are attaching both photos and files the interface can appear to be in photo mode but upload the image as a file instead. Again, you can never delete files uploaded in error. You would have to contact the server administrator and have them manually delete the file for you.
Users apparently aren't even supposed to be using this feature, especially to upload videos. According to the Friendica GitHub account the lead developer said this:
"I'd suggest you use PeerTube to post video and reshare from your Friendica account since both support ActivityPub."
Presumably, then, people should also be sharing other types of files by uploading them to a cloud drive somewhere and sharing a link to the file rather than uploading them to their Friendica account.
Years ago there was a video upload button and section in Friendica. Those were removed because none of the current core developers have experience handling video files [source]. They were replaced with the "Media" section but there is still no interface for managing uploaded files.
Bookface is intended to make Friendica friendlier to users coming from other platforms. Rather than expose new users to this incomplete, partially-broken feature I made the UX design decision to hide that button.
When Bookface was just a single user stylesheet I was using the File Attachment feature myself to share it. But I repeatedly experienced the issue with it where if I was both uploading and attaching images and files to a post it would look like it was in "Photo" upload mode but would actually upload the image as a "File" and I can never, ever delete that image file. I initially hid the button to prevent myself ever doing that again.
IMO if the developers are not going to add a File Manager interface to Friendica, than the File Attachment feature should be removed. But I'm not actually part of the Friendica development team so I cannot remove that feature. However I can hide the button for it in my scheme stylesheet.
Showing the File Button
That said, Bookface makes it easy for both Friendica Administrators or end-users to un-hide the button. Bookface hides the button with a CSS variable at the top of each stylesheet. The block discussed in the "Customization" section of the Wiki. Simply change --attach-file-button: none; to --attach-file-button: block; and the button will reappear.
Friendica Admins can either change this at the top of each of the server-side scheme stylesheets or they can add a customization <style> block to the "Frio" theme footer.tpl template file. Friendica users on a server that offers Bookface can override the setting for themselves by adding a custom user stylesheet using one of the methods under "Installing Bookface Userstyles" in the Wiki. It can be as simple as this one line:
:root{--attach-file-button: block;}
Friendica users who are using the Userstyles version of Bookface can edit it at the top of their custom stylesheet.
If you know how to use your browser's Developer Tools you can also "Inspect" the "Photo" button in the Browser and find the "File" button next to it, then temporarily unhide it to upload or attach a file on a case-by-case basis.
Switching Friendica to any other scheme or theme will also reveal the button. Only Bookface hides it.
I hope that clears up the "missing" button for people.
#Bookface #theme #files
@Friendica Admins @Friendica Support
Avi Rappoport (avirr)
in reply to BrianKrebs • • •daryl reshared this.
Sean Riley
in reply to Avi Rappoport (avirr) • • •When you are a criminal, law and order is dangerous.
🎄🎅🏻🎄Jolly Kringle 🎄🎅🏻🎄
in reply to Avi Rappoport (avirr) • • •John Gordon 📷
in reply to BrianKrebs • • •reshared this
Cainmark Does Not Comply 🚲, Robert J. Berger and daryl reshared this.
Riley S. Faelan
in reply to BrianKrebs • • •Translation: He got a bribe.
@ncweaver
Lgdeantonio
in reply to BrianKrebs • • •BrianKrebs
in reply to BrianKrebs • • •reshared this
Cainmark Does Not Comply 🚲, Bssr4 (TЯ☭M₽ ) and daryl reshared this.
Martin Seeger
in reply to BrianKrebs • • •VessOnSecurity
in reply to BrianKrebs • • •Brian, Tornado Cash is a *protocol*. Sanctioning it and its inventors is like sanctioning an encryption algorithm, because "it helps criminals". It flies in the face of 1s Amendment and I think there was a court ruling that basically "you can't do that".
By all means, sanction those who use the protocol for laundering money. But the protocol itself?!
Paul Lalonde
in reply to BrianKrebs • • •Taggart
in reply to BrianKrebs • • •Fifth Circuit Rejects OFAC’s Tornado Cash Sanctions
www.morganlewis.comArie van Deursen 🇪🇺🇳🇱 reshared this.
Preston MacDougall
in reply to BrianKrebs • • •“#Bitcoin (and other #crypto currencies) is like rat poison squared.” - Warren Buffett
#WashingtonHasFallen and rats 🐀 that have been given #immunity by the corrupt #SCOTUS have overtaken #USpol. #Resist and #DoNotComply.
derptron
in reply to BrianKrebs • • •Crypto currency is how they siphon off the money we actually have. Put our reserves into crypto and POOF!
Oh, we'll know the numbers. All of them. We may even eventually be able to prove that it all went to Russia or whatever. For all the good it'll do.
crispycat
in reply to BrianKrebs • • •Sibshops
in reply to BrianKrebs • • •Mike (no not that one)
in reply to Sibshops • • •Phil Stevens
Unknown parent • • •SpaceLifeForm
in reply to BrianKrebs • • •Does the Bond Market have questions?
#Money #Bond #LongTerm
AlexanderMars
in reply to BrianKrebs • • •patcanfield
in reply to BrianKrebs • • •Hobson Lane
Unknown parent • • •arent teslas and self driving ubers already deploying that innovation?
@briankrebs @ncweaver
I AM BANKSY ☕ / 🗑🔥
in reply to Phil Stevens • • •@phil_stevens if Russia was thinking ahead, they'd have switched much of their agriculture to popcorn production.
@MagentaRocks @briankrebs @ncweaver
Jameson Lopp
in reply to BrianKrebs • • •@ncweaver
Well, you certainly CAN sanction autonomous protocols, you'll just look like a fool when folks realize your sanctions have no power over them.