summaryrefslogtreecommitdiffstats
path: root/core/js/jquery.avatar.js
Commit message (Collapse)AuthorAgeFilesLines
* Fix testsRoeland Jago Douma2017-03-291-2/+6
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Allow avatars for full numeric usersRoeland Jago Douma2017-03-291-0/+3
| | | | | | | | | | Fixes #4087 Because of fancy javascript if a full numeric uid was used javascript would convert this to an int. Now we just convert everything to a string first. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* use ? instead of X for avatar name fallbackJan-Christoph Borchardt2016-11-221-3/+3
| | | | Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
* Cache avatars properlyRoeland Jago Douma2016-08-301-4/+19
| | | | | * Set proper caching headers for avatars (15 minutes) * For our own avatar use some extra logic to invalidate when we update
* core: Fix typos (found by codespell)Stefan Weil2016-04-041-2/+2
| | | Signed-off-by: Stefan Weil <sw@weilnetz.de>
* Show default placeholder if avatar image can't be fetchedMorris Jobke2016-01-201-2/+5
| | | | | * fixes owncloud/documents#601 * ref #14564
* [Avatars] JS should not load same avatar twiceRoeland Jago Douma2015-12-041-19/+40
| | | | | | | | | Old code first dit an ajax request to the avatar. Then a new image object with the same src was created and since we do not cache avatars yet :( this resulted in 2 sequential requests to the exact same URL Now if you set the displayname it will first set the placeholder and then load the avatar in the background. Only once this time!
* Added js tests for jquery.avatarRoeland Jago Douma2015-09-141-1/+1
| | | | * Ceil avatar request size
* Remove requesttoken for avatarsLukas Reschke2015-08-231-2/+2
| | | | First step for https://github.com/owncloud/core/issues/11915
* Color avatars of non-existing users gray and display X insteadJoas Schilling2015-03-131-1/+3
|
* use high resolution avatars on highdpi screensRobin Appelman2014-04-041-3/+3
|
* Replace OC.Router.generate() with OC.generateUrl()Thomas Müller2014-03-021-20/+21
|
* do not show display name on mobile when profile picture is presentJan-Christoph Borchardt2014-02-201-1/+9
|
* Fix broken users page when a username consists of digits only, fixes #5560Arthur Schiwon2013-10-251-1/+1
|
* Renamed current placeholder jquery plugin to imageplaceholderVincent Petry2013-10-231-3/+3
| | | | | This is to prevent conflicts with jquery libs that handle text placeholders in IE8
* Hide defaultavatar in #header and don't darken proper avatars in #headerkondou2013-10-041-5/+15
|
* Base defaultavatar text on displaynamekondou2013-09-281-1/+5
| | | | Fix #4876
* Clean up avatars and preliminary use JSON->rawlist.phpkondou2013-09-051-10/+10
|
* Have login-checks and CSRF checkskondou2013-09-051-1/+1
|
* Fix unwanted caching in IE8kondou2013-09-031-3/+11
|
* Better naming than "ava" & "data", cache timeout, use ↵kondou2013-09-011-7/+9
| | | | OC.Router.registerLoadedCallback()
* Add a description for $.avatar() and remove TODOs @raghunayyar fixedkondou2013-08-311-0/+27
|
* Deal with OC.Router.generate()kondou2013-08-311-4/+4
|
* Sanitize displayname, respect data @ $element, fix routename, clean after ↵kondou2013-08-311-2/+11
| | | | cropping, updateAvatar with displayname
* Finish cropper, Get rid of TODOs, Improve \OCP\Avatar and "fix" unitestskondou2013-08-301-12/+12
|
* Use defaultavatarskondou2013-08-291-0/+37