1
1
Fork 0
Commit graph

1700 commits

Author SHA1 Message Date
2ca51f752d Use appropriate "accept" values 2022-03-30 14:39:53 +00:00
3e21b035b7 Added logging 2022-03-29 17:26:31 +00:00
1fae0123ec Some more "accept" parameters are added 2022-03-29 06:24:20 +00:00
212eba327b Improve the compatibility with Lemmy 2022-03-24 10:57:55 +00:00
53ba68e222 Remove "blubb" 2022-03-22 12:31:14 +00:00
45199b498d Prevent further processing of incoming posts when thay are rejected 2022-03-22 12:28:47 +00:00
9eb6299f19 Check array key existence in ActivityPub\Transmitter::createPermissionBlockForItem
- APContact::getByURL can return empty array
- Address https://github.com/friendica/friendica/issues/11218#issuecomment-1066753232
2022-03-19 03:15:08 -04:00
0aa229489f Improved function description 2022-03-18 07:24:45 -04:00
7940b31685 Don't use the GUID value directly 2022-03-14 21:09:14 +00:00
0956d1dd64 Don't send forum posts to the user's followers 2022-03-14 06:07:51 +00:00
2642996171 Send community posts only to the community 2022-03-13 19:31:21 +00:00
ca086b880b Some small improvements for importing feeds 2022-03-13 15:29:07 +00:00
314bf92ead Added Documentation 2022-03-12 17:29:46 +00:00
fb13890341 Added parameter values 2022-03-12 15:27:56 +00:00
8c778ca02e Improved completion check for AP 2022-03-12 11:17:33 +00:00
56cd98b38b Further improved logging 2022-03-12 07:48:31 +00:00
c1bb1cf0fc Improved logging 2022-03-12 07:34:30 +00:00
5a16a424ac Issue 11309: improved check for wanted posts 2022-03-12 07:08:10 +00:00
5eb647585d Issue 11315: Fix for all receivers in "to" 2022-03-11 20:39:03 +00:00
f264923cad Issue 11309: Check if a post is wanted 2022-03-11 14:00:05 +00:00
c13ae36256
Merge pull request #11305 from annando/api-spoiler
API: Improve support for the summary field
2022-03-08 15:48:46 -05:00
e0468ac914 API: Improve support for the summary field 2022-03-08 18:32:09 +00:00
8039ab731f Type hints reverted 2022-03-08 18:26:59 +00:00
Michael Vogel
acba7d25a0
Apply suggestions from code review
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2022-03-06 14:15:59 +01:00
31dbdd3677 variable type for the return value is added 2022-03-06 12:21:27 +00:00
Michael Vogel
1ec1adf904
Apply suggestions from code review
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2022-03-06 05:49:49 +01:00
421dd028ce Fix storing mail settings 2022-03-05 13:08:09 +00:00
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
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
59630a2c82 Improve the name of the "followers" receiver 2022-02-23 20:18:37 +00:00
311c1fdd81 Avoid warning and notice 2022-02-20 05:14:36 +00:00
00f39cd308 Reverted change 2022-02-19 20:32:19 +00:00
22952f88ca SImplify code 2022-02-19 19:45:27 +00:00
c867581530 Store the receivers of a post in the tags 2022-02-19 13:31:49 +00:00
c03ff7833b
Merge pull request #11253 from annando/forum3
More rework to make private communities working
2022-02-18 12:19:57 -05:00
c376081d0d Relax comparison with pconfig system.accept_only_sharer value
- DI::pConfig()->get returns a string value, not an integer
- Removed superfluous default values now that we aren't doing strict type checking
2022-02-18 09:32:30 -05:00
51fb265621 Merge remote-tracking branch 'upstream/develop' into forum3 2022-02-17 07:11:50 +00:00
9ac24a0f36 More rework to make private communities working 2022-02-16 22:56:55 +00:00
99979019bf Expand system.accept_only_sharer pconfig value to include previous behavior with likes 2022-02-15 15:54:36 -05:00
29d83c0ffb Block communication with Diaspora for communities 2022-02-15 07:08:02 +00:00
d404f15312 Improve local forum distribution 2022-02-14 22:04:33 +00:00
a5a1c81790 Fetch the user id when not provided 2022-02-13 16:42:43 +00:00
ee3a8ccb3b No notifcations for forum / fetch user for fetching content 2022-02-13 05:45:06 +00:00
e394143148 Private forums are now working via ActivityPub 2022-02-12 18:38:36 +00:00
cdee2b44db Avoid thread completion on activities 2022-02-12 13:05:56 +00:00
1b73e4d267
Merge pull request #11230 from annando/account-type
Use "account-type" instead of "page-flags"
2022-02-09 22:23:55 -05:00
9a764516d0 Use the "contact-type" instead of "forum" or "prv" 2022-02-09 06:52:16 +00:00
b857c26999 Use "account-type" instead of "page-flags" 2022-02-09 05:56:12 +00:00
f87b80266c Display followers for followers of private forums 2022-02-08 21:05:15 +00:00
121e40357c
Merge pull request #11209 from annando/issue-10365-Events
Issue 10365: Event updates are now processed
2022-02-05 12:08:00 -05:00
3e51309525 Check for a filled "event-id" field 2022-02-05 16:22:21 +00:00
4914ee423f Issue 10914: Display events in the feed in the author's timezone 2022-02-05 11:29:50 +00:00
bd8032f2ba Issue 10365: Event updates are now processed 2022-02-05 11:16:50 +00:00
11b6c29a3a Fix for PR #11204 - Forums are now correctly detected 2022-02-04 06:02:21 +00:00
695d6ce461 Issue 10966: Ignore "only sharer" setting for forum accounts 2022-02-03 20:26:30 +00:00
9eec2bf5f3 Improved support for "Page" type 2022-01-27 17:51:23 +00:00
ad526f5ad2 set the post-type to "poll" for incoming poll posts 2022-01-23 05:50:39 +00:00
a8c6160dd7 Improved handling of several object types 2022-01-23 04:40:45 +00:00
43b9e39c6a Lemmy support added 2022-01-22 15:24:51 +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
a97bfb512a Issue 11104: Don't cann the addons on Diaspora reshare 2021-12-20 21:16:00 +00:00
13efe0eff0 Add logging for unexpected empty published key in activity 2021-12-12 21:46:59 -05:00
affd2bfdb7 Suppress Type error exceptions in ActivityPub\Processor 2021-12-12 21:45:31 -05:00
d6c97dbde2 Fix attachment handling 2021-12-08 13:32:20 +00:00
b04809ced4 Initialize $permissions variable in ActivityPub\Transmitter::fetchPermissionBlockFromConversation
- Address https://github.com/friendica/friendica/issues/10757#issuecomment-927361800
2021-12-06 20:16:46 -05:00
3d65809a82 Fix media handling upon creation and display 2021-12-04 04:03:18 +00:00
4a90e6b1f0 Test code removed 2021-12-02 06:36:09 +00:00
bd2ee581d3 Diaspora reshares via API are fixed now 2021-12-02 06:33:19 +00:00
eb1b2256a0 Removed and replaced deprecated functionalities 2021-11-07 14:00:47 +00:00
63da4a75e9 The boot.php had been cleared of most functions 2021-11-04 20:29:59 +00:00
24ee87224f Replaced deprecated "log" function call 2021-11-03 23:19:24 +00:00
1219a4d00e Issue 10947: Send correct accept-header for AP 2021-11-03 19:06:07 +00:00
409d909d0f
Restructure HTTPClient for new paradigm 2021-10-28 20:01:03 +02:00
68046573a4
Restructure Cache to follow new paradigm 2021-10-26 22:11:06 +02:00
Michael Vogel
81c9d8d479
Apply suggestions from code review
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2021-10-25 21:27:21 +02:00
87673fd0c5 Merge remote-tracking branch 'upstream/develop' into logging 2021-10-25 18:56:29 +00:00
82a6c78033 Move FSuggest to depository 2021-10-23 21:45:35 -04:00
a497bd3a3d Merge remote-tracking branch 'upstream/develop' into logging 2021-10-22 06:06:39 +00:00
44627a0b12
fix intro.cid and intro.suggest-id 2021-10-21 21:57:23 +02:00
7d7d310cc4
Replace almost every Introduction places 2021-10-21 21:49:21 +02:00
f6faae5bb1 Replace deprecated log calls 2021-10-20 18:53:52 +00:00
2f1f6f6fb2 Replace "notification" call with new function, removing enotify.php 2021-10-19 19:45:36 +00:00
64a336ee8d
Rename method again 2021-10-18 23:32:46 +02:00
b5d994394e
Fixing PUBLIC usage, Fixing DB-View, Creating tests 2021-10-18 23:32:45 +02:00
838cdac5d1
Move ProfileFieldRepository::migrateFromLegacyProfile() & delete old repository 2021-10-18 23:32:41 +02:00
6f692b857b
Move ProfileField::selectByContactId() and ProfileField::selectByUserId() 2021-10-18 23:32:39 +02:00
39aff642aa Deprecate limited-use and potentially confusing [class] BBCode tag
- Replace its usage in Mastodon emoji with an internal tag [emoji]
2021-10-18 02:45:42 -04:00
f1d3f60499 Remove "fcontact" from suggestions 2021-10-17 20:19:02 +00:00
27b9da3df5 replace "p" with higher level database functions 2021-10-12 05:53:29 +00:00
80a8cd86c4
Merge pull request #10836 from nupplaphil/feat/depository_permissionset
Migrate PermissionSet to Depository paradigm
2021-10-08 09:39:39 -04:00
62eb16e9ad
Migrate PermissionSet to Depository paradigm 2021-10-07 19:53:38 +02:00
ab17fbf6b2 Unneeded "ProxyUtils" renamed to "Proxy" 2021-10-05 20:18:19 +00:00
d20aa5f557 The legacy reshare functionality is removed 2021-10-05 18:58:35 +00:00
a4706e9521 Trim XML before emptiness check in Protocol\Feed::import
- Address https://github.com/friendica/friendica/issues/10791
2021-10-03 19:32:20 -04:00
9935e8e711 Remove event.adjust field
- It was confusing and introduced complexity that wasn't worth the unclear gain
2021-10-03 13:42:32 -04:00
6db211568a Remove most calls to date_default_timezone_* calls
- It was wrongly used to set the node-wide ot user-specific timezone
- It is now fully managed from the App object
- Add a static variable to DateTimeFormat maintain the convenient local() method
2021-10-03 13:42:31 -04:00
763e264196 More "q" calls have been replaced 2021-10-03 15:02:20 +00:00
9961943b73 Code Style: Replace "AS" with "as" 2021-10-03 10:34:41 +00:00
42790fbc1f Don't store emoji images as media but links 2021-10-03 09:42:14 +00:00