summaryrefslogtreecommitdiffstats
path: root/img
diff options
context:
space:
mode:
authoreleith <online+github@eleith.com>2020-11-01 03:32:54 +0000
committerleith abdulla <online-nextcloud@eleith.com>2020-11-01 16:20:49 +0000
commit296ebf7c7cbe44d297625e29c681b3a8ffb3dc3c (patch)
tree8b007f9a0d7874a97597b534e979caf4e159e27c /img
parent247b727c440669836c18c765f1f7cbf1f55feced (diff)
add support for downloading avatars from gravatar
adding support for gravatar to the current social providers/services. because gravatar relies on email instead of the x-socialprofile carddav field, this requires re-working the current abstraction for how social providers work. also in this change is improved support for when a contact card has multiple fields of the same type (as might be common with email) thus they all can be checked for profile photos if one of them doesn't result in a valid photo Signed-off-by: leith abdulla <online-nextcloud@eleith.com>
Diffstat (limited to 'img')
-rw-r--r--img/gravatar.svg1
1 files changed, 1 insertions, 0 deletions
diff --git a/img/gravatar.svg b/img/gravatar.svg
new file mode 100644
index 00000000..00a96cb0
--- /dev/null
+++ b/img/gravatar.svg
@@ -0,0 +1 @@
+<svg aria-hidden="true" focusable="false" data-prefix="fab" data-icon="wordpress" class="svg-inline--fa fa-wordpress fa-w-16" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M61.7 169.4l101.5 278C92.2 413 43.3 340.2 43.3 256c0-30.9 6.6-60.1 18.4-86.6zm337.9 75.9c0-26.3-9.4-44.5-17.5-58.7-10.8-17.5-20.9-32.4-20.9-49.9 0-19.6 14.8-37.8 35.7-37.8.9 0 1.8.1 2.8.2-37.9-34.7-88.3-55.9-143.7-55.9-74.3 0-139.7 38.1-177.8 95.9 5 .2 9.7.3 13.7.3 22.2 0 56.7-2.7 56.7-2.7 11.5-.7 12.8 16.2 1.4 17.5 0 0-11.5 1.3-24.3 2l77.5 230.4L249.8 247l-33.1-90.8c-11.5-.7-22.3-2-22.3-2-11.5-.7-10.1-18.2 1.3-17.5 0 0 35.1 2.7 56 2.7 22.2 0 56.7-2.7 56.7-2.7 11.5-.7 12.8 16.2 1.4 17.5 0 0-11.5 1.3-24.3 2l76.9 228.7 21.2-70.9c9-29.4 16-50.5 16-68.7zm-139.9 29.3l-63.8 185.5c19.1 5.6 39.2 8.7 60.1 8.7 24.8 0 48.5-4.3 70.6-12.1-.6-.9-1.1-1.9-1.5-2.9l-65.4-179.2zm183-120.7c.9 6.8 1.4 14 1.4 21.9 0 21.6-4 45.8-16.2 76.2l-65 187.9C426.2 403 468.7 334.5 468.7 256c0-37-9.4-71.8-26-102.1zM504 256c0 136.8-111.3 248-248 248C119.2 504 8 392.7 8 256 8 119.2 119.2 8 256 8c136.7 0 248 111.2 248 248zm-11.4 0c0-130.5-106.2-236.6-236.6-236.6C125.5 19.4 19.4 125.5 19.4 256S125.6 492.6 256 492.6c130.5 0 236.6-106.1 236.6-236.6z"></path></svg> \ No newline at end of file