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

Wrong permissions to photos in PMs #5721

Closed
tobiasd opened this issue Sep 5, 2018 · 13 comments
Closed

Wrong permissions to photos in PMs #5721

tobiasd opened this issue Sep 5, 2018 · 13 comments
Labels
Milestone

Comments

@tobiasd
Copy link
Collaborator

tobiasd commented Sep 5, 2018

@ben-utzer reported in the support forum that the permissions of newly uploaded photos in private messages don't get the correct permissions in the current 2018.08-RC code.

Additionally the reader of a PM don't get remote authed when opening the PM so that the image permissions have to be set to public manually after the sending of the PM so that the image can be viewed in the PM by the receiver.

Followup to #5544

@tobiasd tobiasd added the Bug label Sep 5, 2018
@tobiasd tobiasd added this to the 2018.08 milestone Sep 5, 2018
@annando
Copy link
Collaborator

annando commented Sep 7, 2018

This isn't coded at all and it could mean much work to implement it. I would prefer just to hide the functionality to post pictures than to add this whole functionality.

@tobiasd
Copy link
Collaborator Author

tobiasd commented Sep 7, 2018

As the initial problem was fixed with this milestone, I'd rather prefer it really fixed then totally useless as it is at the moment.

@annando
Copy link
Collaborator

annando commented Sep 7, 2018

The problem is that it can get really complicated to solve and test. So this could easily move the whole release some time in the future - and this is time that we then don't have for things like AP. Since now I heard that Mastodon will remove OStatus in the beginning of the next year, I really would prefer having more time for AP.

At this time of the RC, we really shouldn't add complicated things any more, since we don't have much time testing it.

@tobiasd
Copy link
Collaborator Author

tobiasd commented Sep 7, 2018

Then we should remove this feature from the UI until it is fixed. At the moment it is totally broken and useless and in this state a blocker.

@annando
Copy link
Collaborator

annando commented Sep 7, 2018

I tried to find the Javascript that does invoke the picture browser. I haven't found it. When we want to replace the picture browser with a button that simply adds [img][/img], then someone else has got to do it.

@MrPetovan
Copy link
Collaborator

Just remove the button for this release.

@annando
Copy link
Collaborator

annando commented Sep 8, 2018

No. Before the change, the button just inserted that [img][/img] - which I would like to keep. I guess that @rabuzarus can help in finding the call.

@rabuzarus
Copy link
Collaborator

hmm difficult. Here is the js code for inserting bbcode formations. This code opens also the image browser when the element which should be inserted is the img bbtag. (https://github.com/friendica/friendica/blob/develop/view/js/main.js#L80)

@annando
Copy link
Collaborator

annando commented Sep 13, 2018

The workaround is ugly - but working.

@MrPetovan MrPetovan modified the milestones: 2018.08, 2018.11 Sep 13, 2018
@MrPetovan
Copy link
Collaborator

Moving milestone then. There's only the relationship issue to go before we can wrap up this release.

@tobiasd tobiasd modified the milestones: 2019.01, 2019.03 Jan 5, 2019
@tobiasd tobiasd modified the milestones: 2019.03, 2019.06 Mar 2, 2019
@MrPetovan MrPetovan modified the milestones: 2019.06, 2019.09 Jun 12, 2019
@annando
Copy link
Collaborator

annando commented Sep 11, 2019

This is now coded, need some testing.

@tobiasd
Copy link
Collaborator Author

tobiasd commented Sep 13, 2019

Tests are under way...

@tobiasd
Copy link
Collaborator Author

tobiasd commented Sep 17, 2019

Works at least between RC and RC, locally and remote.

@tobiasd tobiasd closed this as completed Sep 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants