-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Introduces avatars for guest users #10248
Conversation
I'm liking this already!! This is how I viewed the global structure of this feature, seems like a nice job!! 🎉 i'll take a look at it tomorrow :) |
Is it still the same endpoint? How does it work? |
We will notify you once this is merged and something you can use ;) |
Most likely nothing for 14 -> moving to 15. @weeman1337 Sorry that this didn't made it into 14, but at some point we need to make a cut. |
To make up for that @weeman1337 any chance we can offer you some beers at the nextcloud conference? |
I'm okay with that. I'd like more to see a stable release than having avatars for guests now ;)
At the same weekend the FrOSCon is happening and I'm helping out there at the FSFE booth. There is a chance I can make it to some of the hackdays... |
Pretty damn good excuse 👍
That would 🤘 |
add2fa4
to
d6e05a0
Compare
@weeman1337 could you take a look at the failing tests? Is this ready for a final review/integration? |
@ChristophWurst let me do a rebase and then let's see how the tests are doing. Currently the first test thing failes, but I don't get why.. o_O |
Thanks @danielkesselberg . Anyway would be cool to see in the test result why it failed.. |
You can find it at https://drone.nextcloud.com/nextcloud/server/9938/86 (line 87), but I agree that it's hard to locate. |
d6a397f
to
9960ae4
Compare
CI failures are unrelated |
4b2cbc7
to
c159e7d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works 👍 An avatar is returned instead of 404.
73d28b8
to
6832b8a
Compare
@danielkesselberg all done ✓ |
Mind to have another look? @rullzer @MorrisJobke @nickvergessen @juliushaertl @skjnldsv |
6832b8a
to
d8c5215
Compare
The guest avatars are now available under the path |
@juliushaertl the guest avatars are now PNGs. |
66d7b83
to
40eb0cb
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested and works 👍
I pushed a fix for the PHPDoc of the new OCP file. Then this can be merged 👍 |
*/ | ||
public function getFile() { | ||
return $this->file; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't like this because it is only needed for the tests :/
0ac599e
to
68c7ba6
Compare
Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
68c7ba6
to
94b1b15
Compare
I just pushed a fix for the old composer |
The main work done here:
UserAvatar
andGuestAvatar
UserAvatar
works like the previous Avatar classGuestAvatar
creates an avatar image without an user and the functions to store or update the avatarISimpleFile
InMemoryFile
that isn't stored. I decided for that way because so the controller part can keep being like it's now and there won't be a mass of guest avatar files over time.InMemoryFile
. I'm not 100% happy with theInMemoryFile
. If you have any ideas how to do it without changing all the Avatar interfaces and the file handling through the controller please let me know!Closes #9457