summaryrefslogtreecommitdiffstats
path: root/lib/Service/SocialApiService.php
AgeCommit message (Collapse)Author
2024-04-02run composer cs:fixHamza Mahjoubi
Signed-off-by: Hamza Mahjoubi <hamzamahjoubi221@gmail.com>
2023-11-30fix(socialavatars): Fix HTTP client usageChristoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-01-20chore: run composer cs:checkRichard Steinmetz
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2023-01-02keep social avatar update order also for background jobcall-me-matt
Signed-off-by: call-me-matt <nextcloud@matthiasheinisch.de>
2022-10-19Avoid Undefined offset: 0 error by testing if the element exists before ↵Thomas Citharel
accessing it Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-09-28Fix missing strict types for the social serviceChristoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2022-08-05Adjust coding styleJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-05-16Resize maximum dimensions for pictures coming from SocialApiServiceThomas Citharel
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-05-04Merge pull request #2729 from nextcloud/optimize-social-searchJohn Molakvoæ
2022-05-04optimize search for contacts with social datacall-me-matt
Signed-off-by: call-me-matt <nextcloud@matthiasheinisch.de>
2022-04-24Make sure URLs for social avatars of contacts are actual URLsThomas Citharel
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-11-22Add isset check for PHOTO in SocialApiServiceAnna Larch
Signed-off-by: Anna Larch <anna@nextcloud.com>
2021-07-16Replace any string value with a nullable network for the fallback to match ↵Julius Härtl
the first social service Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-02-22continue gravatar search after failurecall-me-matt
Signed-off-by: call-me-matt <nextcloud@matthiasheinisch.de>
2021-01-11Make sure twitter returns the raw static html page so we can get the profile ↵John Molakvoæ (skjnldsv)
picture properly Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-11-07vcard should only have 1 photo field when adding/removing photosleith abdulla
when adding photo fields through the social api service, an extra photo field is created for vcard version 3.0 due to setting a field as empty instead of unsetting it all together when removing photo fields, this empty photo field is left untouched thus, syncing photos to address book clients can be buggy as most address book clients do not properly iterate through all photo fields to display the contact photo Signed-off-by: leith abdulla <online-nextcloud@eleith.com>
2020-11-01linting, unit tests, comment fixesleith abdulla
Signed-off-by: leith abdulla <online-nextcloud@eleith.com>
2020-11-01add support for downloading avatars from gravatareleith
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>
2020-10-07catch exception if social profile invalidcall-me-matt
Signed-off-by: call-me-matt <nextcloud@matthiasheinisch.de>
2020-09-09Apply suggestions from code reviewmatt
add elegance from nickvergessen Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com> Signed-off-by: call-me-matt <nextcloud@matthiasheinisch.de>
2020-09-06perform sanity checkscall-me-matt
Signed-off-by: call-me-matt <nextcloud@matthiasheinisch.de>
2020-09-05do not wait for nextcloud/server#22085call-me-matt
Signed-off-by: call-me-matt <nextcloud@matthiasheinisch.de>
2020-08-22waiting for nextcloud/server#22085call-me-matt
Signed-off-by: call-me-matt <nextcloud@matthiasheinisch.de>
2020-08-14update social avatars in chunkscall-me-matt
Signed-off-by: call-me-matt <nextcloud@matthiasheinisch.de>
2020-08-05allowing for background updates of social avatarscall-me-matt
Signed-off-by: call-me-matt <nextcloud@matthiasheinisch.de>
2020-07-25Allow for avatar downloads from social networksmatthias
Signed-off-by: call-me-matt <nextcloud@matthiasheinisch.de>