Commit graph

566 commits

Author SHA1 Message Date
Hypolite Petovan
e6f745bcb1 Delete follow notification on unfollow
- Fix translation string typo
2022-03-14 07:58:39 -04:00
Hypolite Petovan
deafdcde95 Use public contact ID in Model\Post\UserNotification::insertNotification
- Add localRelationship dependency to Notification factory
- Remove dependencies from Factory\Notification->getMessageFromNotification method
2022-03-14 07:56:20 -04:00
Hypolite Petovan
cddead2343 Move follow revoke protocol to worker task
- Switch to public contact for revoke_follow hook
2022-02-24 09:35:55 -05:00
Hypolite Petovan
6a1f9a7fa3 Move unfollow protocol to worker task
- Add uid parameter to unfollow hook
- Rework and unify Contact::unfollow, Contact::removeSharer and Contact::terminateFriendship
- Add missing twitterUser property to Twitter\Friendships\Destroy module
2022-02-24 09:35:54 -05:00
Hypolite Petovan
52f5d924b7 Replace remaining instances of DBA::update('contact') with Contact::update()
- This was breaking the synchronisation between the contact and user-contact tables
2022-02-24 09:35:54 -05:00
Michael
e394143148 Private forums are now working via ActivityPub 2022-02-12 18:38:36 +00:00
Michael
9a764516d0 Use the "contact-type" instead of "forum" or "prv" 2022-02-09 06:52:16 +00:00
Michael
695d6ce461 Issue 10966: Ignore "only sharer" setting for forum accounts 2022-02-03 20:26:30 +00:00
Michael
4808713668 Don't cache local avatars 2022-02-01 20:22:40 +00:00
Michael
10bdaa0cfe Always generate a random header if missing 2022-01-09 11:19:31 +00:00
Michael
df45a3b915 Remove unneeded code 2022-01-09 10:43:23 +00:00
Michael
bbda69a736 Don't store the default header in the contact table 2022-01-09 10:38:36 +00:00
Michael
618903fef7 Only update the contact when the header changed 2022-01-09 05:49:11 +00:00
Michael
cfd63f5682 Use randon pictures for networks that don't support banners 2022-01-09 05:24:35 +00:00
Michael
8147073c47 Added license information 2022-01-09 03:29:16 +00:00
Michael
59358077c7 First support for user headers 2022-01-08 22:43:11 +00:00
Philipp
322b7c856c
Merge pull request #11129 from urbalazs/copyright-2022
Update copyright
2022-01-02 09:45:35 +01:00
Balázs Úr
e56a53647b Update copyright 2022-01-02 08:27:47 +01:00
Michael
ce174cad91 More often update Diaspora contacts 2021-12-30 22:40:52 +00:00
Michael
29be22ee6a Display interaction data for Diaspora accounts 2021-12-30 22:11:52 +00:00
Hypolite Petovan
84e7f65d52 Move sending follow message to remote server to Protocol class 2021-11-21 18:59:36 -05:00
Hypolite Petovan
d011f747ff Remove unused parameter $network in Model\User::getDefaultGroup 2021-11-21 18:59:36 -05:00
Michael
eb1b2256a0 Removed and replaced deprecated functionalities 2021-11-07 14:00:47 +00:00
Michael
87673fd0c5 Merge remote-tracking branch 'upstream/develop' into logging 2021-10-25 18:56:29 +00:00
Michael
8185c591d8 New option to activate/deactivate contact avatar cache 2021-10-23 17:18:30 +00:00
Michael
a497bd3a3d Merge remote-tracking branch 'upstream/develop' into logging 2021-10-22 06:06:39 +00:00
Hypolite Petovan
82c2a30c59 Fix wrong array access to Entity object
- Address https://github.com/friendica/friendica/issues/10756#issuecomment-949051839
2021-10-21 18:58:18 -04:00
Philipp
7d7d310cc4
Replace almost every Introduction places 2021-10-21 21:49:21 +02:00
Michael
f6faae5bb1 Replace deprecated log calls 2021-10-20 18:53:52 +00:00
Hypolite Petovan
353cd66b26
Merge pull request #10900 from annando/notify
`enotify.php` is removed and its functions were transferred
2021-10-19 22:22:41 -04:00
Michael
2f1f6f6fb2 Replace "notification" call with new function, removing enotify.php 2021-10-19 19:45:36 +00:00
Michael
b152fde9d1 Don't degrade an existing relationship when following again 2021-10-19 02:05:04 +00:00
Hypolite Petovan
fc2175260f Move Worker task RemoveContact to Contact\Remove 2021-10-16 19:22:24 -04:00
Hypolite Petovan
45fc6759b8 Remove unused method in Model\\Contact 2021-10-16 16:05:09 -04:00
Michael
8d7846142d Hide blocked contacts when searching public contacts 2021-10-13 21:04:46 +00:00
Michael
2904f4ca0e Olq query removed, checking for deleted as well 2021-10-13 05:11:36 +00:00
Michael
27b9da3df5 replace "p" with higher level database functions 2021-10-12 05:53:29 +00:00
Michael
13827edd2c New photo field "photo-type" as preparation for banners 2021-10-11 14:21:10 +00:00
Hypolite Petovan
880c2148c2 Fix overly strict return value for revokeFollow methods 2021-10-09 02:08:04 -04:00
Hypolite Petovan
456ae169ab Fix overly strict return value for terminateFriendship methods 2021-10-06 20:18:44 -04:00
Michael
ab17fbf6b2 Unneeded "ProxyUtils" renamed to "Proxy" 2021-10-05 20:18:19 +00:00
Michael
9eba41598d Code review changes 2021-10-04 14:01:46 +00:00
Michael
126aa6f148 Fix tests 2021-10-04 06:26:41 +00:00
Michael
d30dc52101 Access contact avatars by guid 2021-10-04 06:13:52 +00:00
Michael Vogel
3d97149007
Merge pull request #10722 from MrPetovan/task/refactor-notifications
Move notify, notifications and introduction notifications to new paradigm
2021-10-03 14:13:28 +02:00
Hypolite Petovan
7cdd2d1336 Refactor User::getAvatarUrlForId into getAvatarUrl
- Use user/owner array as parameter instead of uid
- Rename $profile variables to $owner when it's the result of User::getOwnerDataByNick
- Replace Module\Photo::stripExtension with native pathinfo() calls
2021-10-02 19:06:25 -04:00
Hypolite Petovan
7a2d5f6a8e Move notification to the new paradigm 2021-10-02 18:15:45 -04:00
Hypolite Petovan
ea6f7aba40 Fix method name typos in Model\Post\UserNotification
- Reformat file, improve type-hinting
2021-10-02 18:15:43 -04:00
Hypolite Petovan
b0d8136b00 Remove contact record instead of setting rel = 0 in Contact::revokeFollow 2021-10-02 17:30:03 -04:00
Hypolite Petovan
c4a4473cd0 Remove the obsolete parameter $two_way from terminateFriendship methods
- Follow revokation is now done independently
2021-10-02 16:14:22 -04:00