summaryrefslogtreecommitdiff
path: root/lib/letter-avatars.js (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Remove blueimp-md5 dependencyDaan Sprenkels2018-12-221-3/+7
| | | | Signed-off-by: Daan Sprenkels <hello@dsprenkels.com>
* Fix possible weird objects as emailSheogorath2018-07-271-0/+4
| | | | | | | It seems like some providers return strange types for emails which cause problems. We default to something that is definitely a string. Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
* Allow to disable gravatarSheogorath2018-06-231-2/+14
| | | | | | | | | Since Gravatar is an external image source and not perfect from a privacy perspective, forbidding it allows to improve privacy. This commit also simplifies and optimizes the avatar code. Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
* Move letter-avatars into own requestSheogorath2018-04-171-6/+11
| | | | | | | | | | To prevent further weakening of our CSP policies, moving the Avatars into a non-inline version is the way to go. This implementation probably needs some beautification. But already fixes the bug. Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
* Use strict mode in all backend filesBoHong Li2017-03-141-0/+1
| | | | add ‘use strict’ in all backend file
* Use JavaScript Standard StyleBoHong Li2017-03-081-20/+18
| | | | | Introduce JavaScript Standard Style as project style rule, and fixed all fail on backend code.
* removed commaalecdwm2017-01-061-1/+1
|
* dark avatar backgrounds onlyalecdwm2017-01-061-1/+4
|
* Use randomcolor not seedrandom for avatar backgroundsalecdwm2017-01-061-3/+2
|
* Profile pictures for LDAP usersalecdwm2017-01-061-0/+23