summaryrefslogtreecommitdiff
path: root/lib/letter-avatars.js (unfollow)
Commit message (Collapse)AuthorFilesLines
2018-12-22Remove blueimp-md5 dependencyDaan Sprenkels1-3/+7
Signed-off-by: Daan Sprenkels <hello@dsprenkels.com>
2018-07-27Fix possible weird objects as emailSheogorath1-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>
2018-06-23Allow to disable gravatarSheogorath1-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>
2018-04-17Move letter-avatars into own requestSheogorath1-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>
2017-03-14Use strict mode in all backend filesBoHong Li1-0/+1
add ‘use strict’ in all backend file
2017-03-08Use JavaScript Standard StyleBoHong Li1-20/+18
Introduce JavaScript Standard Style as project style rule, and fixed all fail on backend code.
2017-01-06removed commaalecdwm1-1/+1
2017-01-06dark avatar backgrounds onlyalecdwm1-1/+4
2017-01-06Use randomcolor not seedrandom for avatar backgroundsalecdwm1-3/+2
2017-01-06Profile pictures for LDAP usersalecdwm1-0/+23