Commit Graph

29797 Commits

Author SHA1 Message Date
Hypolite Petovan 28d850b95d Add BBCode test for issue #9639 2020-12-18 11:11:48 -05:00
Hypolite Petovan 95f099d26c Restore Mastodon emoji span classes
- Fix typo in replacement of [class] tag
2020-12-18 11:08:03 -05:00
Hypolite Petovan 20d9dcf7ac Bump BBCode version to 2020-12-18 2020-12-18 10:32:36 -05:00
Hypolite Petovan 0781f28ca6 Allow support for allowlisted iframe sources in Content\text\BBCode::convert
- Support Youtube, Vimeo and unused local embeds
2020-12-18 10:32:36 -05:00
Hypolite Petovan ec0c9dcdb1 Remove support for [iframe] BBCode
- It was a huge gaping security hole, and now HTML Purify will remove the src attribute of all non-allowed sources anyway.
2020-12-18 10:32:36 -05:00
Michael Vogel 13c7224789
Merge pull request #9674 from MrPetovan/bug/9673-general-information
Add general information header translation to admin site template
2020-12-18 06:40:06 +01:00
Hypolite Petovan 73d99fc7fe Regenerate main translation file after adding translation string 2020-12-17 22:52:51 -05:00
Hypolite Petovan 0dac6e9d34 Add general information header translation to admin site template 2020-12-17 22:52:30 -05:00
Hypolite Petovan b72f6d05cd
Merge pull request #9671 from annando/insert-ignore
Avoid "Duplicate entry"
2020-12-17 14:59:43 -05:00
Michael c1e8dbdbae Avoid "Duplicate entry" 2020-12-17 18:56:10 +00:00
Hypolite Petovan f7be0abafa
Merge pull request #9670 from annando/notice
Fix notices
2020-12-17 13:19:16 -05:00
Michael 66c1592171 Fix notices 2020-12-17 18:08:07 +00:00
Hypolite Petovan 38b17e1aae
Merge pull request #9668 from annando/keywarning
Fix warning "supplied key param cannot be coerced into a public key"
2020-12-17 08:25:25 -05:00
Hypolite Petovan 61c1c1f530
Merge pull request #9667 from annando/profiler-network
Store the network profiler data
2020-12-17 08:24:09 -05:00
Michael e713db4ac7 Delete tombstone contacts 2020-12-17 08:00:56 +00:00
Michael a548e7c4be Fix warning "supplied key param cannot be coerced into a public key" 2020-12-17 07:07:54 +00:00
Michael e22bb32247 Store the network profiler data 2020-12-17 06:23:03 +00:00
Hypolite Petovan 1414d43597
Merge pull request #9664 from annando/delete-contacts
Delete removed contacts
2020-12-16 11:28:56 -05:00
Michael 974f7bffc8 Indentation 2020-12-16 15:43:12 +00:00
Michael a331a8cf0a Delete removed contacts 2020-12-15 22:56:46 +00:00
Michael Vogel 569ad89f10
Merge pull request #9661 from MrPetovan/bug/9651-apdelivery-inboxes
Clarify usage of ActivityPub\Transmitter::fetchTargetInboxes in Worker\APDelivery queuing
2020-12-15 22:05:59 +01:00
Hypolite Petovan a2f14efd94
Remove reference to receivers when adding relay delivery tasks in Worker\Notifier
- Address https://github.com/friendica/friendica/pull/9661#issuecomment-745553051
2020-12-15 15:42:16 -05:00
Michael Vogel 4bdeba9d5a
Merge pull request #9663 from MrPetovan/bug/9662-deleted-users-still-post
Add item user owner data check in Model\Item::isValid
2020-12-15 20:57:10 +01:00
Hypolite Petovan 6d3864a16b
Remove owner.deleted check in user deletion check in Model/Item 2020-12-15 14:24:42 -05:00
Hypolite Petovan 0951a50bcd Add item user owner data check in Model\Item::isValid
- Prevents deleted users from posting any item, manually or automatically through mirroring
2020-12-15 09:41:58 -05:00
Hypolite Petovan 8c17a6b4d9 Rename Model\User::getOwnerDataById parameter to better reflect intent 2020-12-15 09:41:10 -05:00
Hypolite Petovan 5f148dcb42 Add temporary console command to fix workerqueue row with corrupted parameter data
- It should be reverted just before the 2020.12 release
2020-12-15 00:20:49 -05:00
Hypolite Petovan d59fcd5093 Clarify usage of ActivityPub\Transmitter::fetchTargetInboxes in Worker\APDelivery queuing
- $inbox is now always a string
- $receivers should be correctly populated now
- $target_id is renamed to $item_id and correctly initialized to 0 for non-item deliveries
2020-12-14 23:33:14 -05:00
Michael Vogel e4228c6218
Merge pull request #9655 from MrPetovan/bug/fatal-errors
Fix several occasional fatal errors
2020-12-14 22:11:45 +01:00
Hypolite Petovan 481c5c9e81 Account for inbox array in Worker/APDelivery
- Address https://github.com/friendica/friendica/issues/9250#issuecomment-744339671
2020-12-14 09:12:29 -05:00
Hypolite Petovan cb5362f499
Merge pull request #9658 from annando/issue-9657
Issue 9657: Check the age of an item
2020-12-13 22:31:10 -05:00
Michael c210e0b97f Issue 9657: Check the age of an item 2020-12-14 00:00:10 +00:00
Hypolite Petovan 0441b912ac Return early if an URI id cannot be obtained in ActivityPub\Processor::createItem
- Address https://github.com/friendica/friendica/issues/9250#issuecomment-743769813
2020-12-13 13:42:08 -05:00
Hypolite Petovan ef4f192a75
Merge pull request #9654 from annando/delayed-unprepared
Support for unprepared delayed posts
2020-12-13 13:34:42 -05:00
Michael cd96955fcf Fix: posted unprepared posts hadn't been deleted 2020-12-13 18:17:50 +00:00
Michael d938e37767 Set the return value 2020-12-13 17:22:50 +00:00
Hypolite Petovan 61aa4efa89 Account for missing contact in dfrn_request_post
- Address https://github.com/friendica/friendica/issues/9250#issuecomment-743407998
2020-12-13 12:18:10 -05:00
Hypolite Petovan 8f10cf8e53 Simplify Contact::addRelationship call in ActivityPub\Processor::followUser
- Address https://github.com/friendica/friendica/issues/9250#issuecomment-743382769
2020-12-13 12:16:04 -05:00
Michael 4626f98dbe Added logging 2020-12-13 16:38:12 +00:00
Michael 0eb4a600b0 Delay unprepared posts 2020-12-13 12:47:49 +00:00
Hypolite Petovan c787281eff
Merge pull request #9652 from annando/issue-9584
Issue 9584: Only search posts from federated networks
2020-12-12 15:13:31 -05:00
Hypolite Petovan 0bd557132c
Merge pull request #9651 from annando/ap-archive
Archive/Unarchive at ActivityPub delivery
2020-12-12 15:12:54 -05:00
Michael c3d0ab56a5 Issue 9584: Only search posts from federated networks 2020-12-12 19:55:47 +00:00
Michael 297118f902 Archive/Unarchive at ActivityPub delivery 2020-12-12 16:45:23 +00:00
Hypolite Petovan 67573cf996
Merge pull request #9647 from annando/original-relay
Relay posts with the original protocol
2020-12-11 16:17:05 -05:00
Hypolite Petovan 8aa2942ac9
Merge pull request #9648 from annando/issue-9633
Issue 9633: Avoid contact lookup in conversation to avoid long loading times
2020-12-11 16:16:31 -05:00
Michael 61b3003f64 Standards 2020-12-11 20:20:27 +00:00
Michael Vogel cd428a2d28 Issue 9633: Avoid contact lookup in conversation to avoid long loading times 2020-12-11 15:16:29 +01:00
Michael a43059df27 Relay posts with the original protocol 2020-12-11 06:35:38 +00:00
Tobias Diekershoff 6e7fe32953
Merge pull request #9645 from MrPetovan/bug/fatal-errors
Normalize return value in Database->fetch
2020-12-10 14:05:03 +01:00