summaryrefslogtreecommitdiffstats
path: root/lib
AgeCommit message (Collapse)Author
2023-01-28prioritize local users in mastodon avatar download, fixes #3210call-me-matt
Signed-off-by: call-me-matt <nextcloud@matthiasheinisch.de>
2023-01-20chore: run composer cs:checkRichard Steinmetz
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2023-01-13allow social avatars from telegram, fixes #2393call-me-matt
Signed-off-by: call-me-matt <nextcloud@matthiasheinisch.de>
2023-01-09Merge pull request #3152 from nextcloud/3151-mastodon-apiRichard Steinmetz
use Mastodon API instead of scraping
2023-01-07use Mastodon API instead of scrapingcall-me-matt
fixes #3151 Signed-off-by: call-me-matt <nextcloud@matthiasheinisch.de>
2023-01-02keep social avatar update order also for background jobcall-me-matt
Signed-off-by: call-me-matt <nextcloud@matthiasheinisch.de>
2022-11-03Remove broken icons.css referenceNico Kaiser
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-07-19Merge pull request #2765 from nextcloud/bug/2366/add-encoding-for-headerAnna
Encode group names for x-property-replace header
2022-07-15Include scss sheets in js bundleRichard Steinmetz
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2022-06-14Avoid running social update background job on deleted/disabled usersThomas Citharel
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-06-02Encode group names for x-property-replace headerDaniel Kesselberg
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
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-24Fix a phpdoc entryThomas Citharel
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-04-24Make sure URLs for social avatars of contacts are actual URLsThomas Citharel
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-02-22Merge pull request #2645 from ↵Christoph Wurst
nextcloud/enhancement/sensitive-insensitive-background-jobs Mark background jobs as time sensitive/insensitive
2022-02-18Fix private API usage in background jobChristoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2022-02-18Mark background jobs as time sensitive/insensitiveChristoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-11-22Add isset check for PHOTO in SocialApiServiceAnna Larch
Signed-off-by: Anna Larch <anna@nextcloud.com>
2021-11-07allow special chars for xing profile imageDaniel Opitz
Signed-off-by: Daniel Opitz <git@copynpaste.de>
2021-07-21Migrate app bootstrappingDaniel Kesselberg
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2021-07-16pre-check for social profile datacall-me-matt
Signed-off-by: call-me-matt <matthiash@abwesend.de>
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-06-07Fix circles version comparison if circles is not installedJohn Molakvoæ (skjnldsv)
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-06-04Properly check for circles versionJohn Molakvoæ (skjnldsv)
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-06-01Handle circles being disabledJohn Molakvoæ (skjnldsv)
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-06-01Fix testsJohn Molakvoæ (skjnldsv)
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-05-30Add dedicated direct route and fix old contacts routeJohn Molakvoæ (skjnldsv)
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-04-08Fix contacts initJohn Molakvoæ (skjnldsv)
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-03-16Bump nextcloud/coding-standard from 0.3.0 to 0.5.0dependabot[bot]
Bumps [nextcloud/coding-standard](https://github.com/nextcloud/coding-standard) from 0.3.0 to 0.5.0. - [Release notes](https://github.com/nextcloud/coding-standard/releases) - [Changelog](https://github.com/nextcloud/coding-standard/blob/master/CHANGELOG.md) - [Commits](https://github.com/nextcloud/coding-standard/compare/v0.3.0...v0.5.0) Signed-off-by: dependabot[bot] <support@github.com>
2021-02-23Merge pull request #2085 from nextcloud/fix/check-all-gravatarsJohn Molakvoæ
use all email addresses for gravatar search
2021-02-23Merge pull request #2081 from nextcloud/fix/twitter-uriJohn Molakvoæ
adapted twitter uri
2021-02-23add user agentcall-me-matt
Signed-off-by: call-me-matt <nextcloud@matthiasheinisch.de>
2021-02-22continue gravatar search after failurecall-me-matt
Signed-off-by: call-me-matt <nextcloud@matthiasheinisch.de>
2021-02-22adapted twitter uricall-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-12-11Fix generating the redirect urlJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-11-07Merge branch 'master' into fix/facebook-defuncJohn Molakvoæ
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-04unit tests for all providersleith abdulla
this commit adds unit tests for all providers while also reducing some redundancy in looking up social fields minor feedback was addressed as well as some minor bugs fixed 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-27new facebook api prevents usage without authenticationcall-me-matt
Signed-off-by: call-me-matt <nextcloud@matthiasheinisch.de>
2020-10-20add xing to social synccall-me-matt
Signed-off-by: call-me-matt <nextcloud@matthiasheinisch.de>
2020-10-15adding diaspora to the list for social synccall-me-matt
Signed-off-by: call-me-matt <nextcloud@matthiasheinisch.de>
2020-10-12more robust social idscall-me-matt
- get facebook id from usernames - accept mastodon usernames without leading at - ignore iOS marker as in 1107#issuecomment-706518724 Signed-off-by: call-me-matt <nextcloud@matthiasheinisch.de>