Morris Jobke
f63915d0c8
update license headers and authors
9 years ago
Lukas Reschke
15ba2a4100
Reintroduce user cache
This was required by avatars and was broken with https://github.com/owncloud/core/pull/16200
Fixes https://github.com/owncloud/core/issues/16942
9 years ago
Lukas Reschke
34d0e610cc
Filter potential dangerous filenames for avatars
We don't want to have users misusing this API resulting in a potential file disclosure of "avatar.(jpg|png)" files.
9 years ago
Jenkins for ownCloud
b585d87d9d
Update license headers
9 years ago
Joas Schilling
8ed27d2ce0
Create an interface for OC_Image and OCP\Image for the public API
9 years ago
Roeland Jago Douma
1a0f9c375b
Avatar controller moved to AppFrameWork
* Original avatarcontroller migrated to the appframework
* Added DataDisplayResponse that show data inline in the browser (used
to retrun the image)
* Removed some unneeded code
* Added unit tests for the avatarcontroller
9 years ago
Morris Jobke
06aef4e8b1
Revert "Updating license headers"
This reverts commit 6a1a4880f0
.
9 years ago
Jenkins for ownCloud
6a1a4880f0
Updating license headers
9 years ago
Robin Appelman
c644ed89a7
Add a better way to check if an avatar exists for the user
9 years ago
Robin Appelman
d0266c0bf8
Use public api for getting l10n
10 years ago
Morris Jobke
dc36d30953
Remove all occurences of @brief and @returns from PHPDoc
* test case added to avoid adding them later
10 years ago
Robin McCorkell
87b548ed91
Fix all PHPDoc types and variable names, in /lib
10 years ago
Arthur Schiwon
6085878966
Avatar: accept OC_Image as in setParameter
10 years ago
Thomas Müller
92c8672c0f
fixing PHPDoc comments and syntax
10 years ago
Arthur Schiwon
00071401d7
Round out Avatar Public API
10 years ago
kondou
507325dd50
Add public API for \OC\Avatar
10 years ago
Bjoern Schiessle
3380bd650f
avatars should also work with encryption after pr #5332 was merged
10 years ago
Thomas Müller
9c9dc276b7
move the private namespace OC into lib/private - OCP will stay in lib/public
Conflicts:
lib/private/vcategories.php
10 years ago
kondou
bf7f94422f
Bring another enable_avatars to $_ and fix $thus->$this
10 years ago
kondou
1832eb8872
Pass view in \OC_Avatar to constructor and use $_ for enable_avatars
10 years ago
kondou
221bbd275c
Use \OC_App for checking whether encryption is enabled
11 years ago
Thomas Müller
68dce9dde5
fixing style, var name & PHPDoc
11 years ago
kondou
e7e3f1b81a
Fix some of @jancborchardt's complaints in oc_avatars
11 years ago
kondou
74c9223281
Properly check for tmpavatar, invalidate cache, fix debug msgs
11 years ago
kondou
ecf187393b
Finish cropper, Get rid of TODOs, Improve \OCP\Avatar and "fix" unitests
11 years ago
kondou
8d8a57de7f
Continue work on cropper
11 years ago
kondou
9a8908b643
Use Jcrop, have inline errormsg, work on cropping, clean up, WIP
11 years ago
kondou
5eb17aadb3
Fix spacing, have remove() and return JSON for custom-default-avatars
11 years ago
kondou
81cadd5ea3
Remove gravatar and no-avatar functionality, prepare for default avatars even more and reword some stuff
11 years ago
kondou
4a9c89fb33
Clean up and prepare a bit for custom default avatars
11 years ago
kondou
9c12da6a94
Several improvements
- Don't use gravatars default avatars
- Use "profile image" instead of "avatar"
- Use <p> instead of tables
- Ease updateAvatar()
- Actually return something in \OCP\Avatar
11 years ago
kondou
9500109349
Refactor newavatar.php and show (for now) an alert on problems when setting new avatars
11 years ago
kondou
4521b54c67
Have /avatar.php as a central avatar-point
11 years ago
kondou
a58d270684
Load avatar from path, if one's provided
11 years ago
kondou
2bfe662235
Add unittests & check filetype in setLocalAvatar()
TODO: Fix OC_Image->mimetype(), it always returns "image/png"
11 years ago
kondou
fac671b14e
Modularize get(), async getAvatar, avatars @ usermgmt
And other small improvements
11 years ago
kondou
4a08f7d710
Add basic avatars and gravatar
11 years ago