Commit graph

29309 commits

Author SHA1 Message Date
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
Hypolite Petovan
99b200868b Normalize return value in Database->fetch
- Address https://github.com/friendica/friendica/issues/9250#issuecomment-741857058
2020-12-10 06:12:10 -05:00
Hypolite Petovan
675f54e44f
Merge pull request #9644 from annando/dfrn-deletions
Critical: Avoid dropping of incoming DFRN messages
2020-12-10 03:39:40 -05:00
Michael
965374596f Avoid dropping of incoming DFRN messages 2020-12-10 07:22:49 +00:00
Hypolite Petovan
34056c2e46
Merge pull request #9643 from annando/profiler
Improved performance profiler
2020-12-09 21:06:32 -05:00
Michael
20ded2b35a Parameters should be float ... 2020-12-10 00:02:23 +00:00
Michael
5fb83d0632 Improved performance profiler 2020-12-09 22:10:27 +00:00
Hypolite Petovan
9c0342b907
Merge pull request #9638 from annando/bad-priority
Check for bad worker priorities
2020-12-09 01:12:34 -05:00
Michael Vogel
33930b0bd9
Apply suggestions from code review
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2020-12-09 06:58:19 +01:00
Michael Vogel
809035b872
Merge pull request #9635 from MrPetovan/bug/notices
Batch of notice fixes
2020-12-09 06:51:54 +01:00
Hypolite Petovan
2a6715e93f
Merge pull request #9637 from annando/db-error
Fixes "Unknown column '729' in 'field list'"
2020-12-09 00:07:04 -05:00
Michael
dd94fb1242 Check for bad worker priorities 2020-12-08 21:58:32 +00:00
Michael
2cb71341b2 Fixes "Unknown column '729' in 'field list'" 2020-12-08 21:23:10 +00:00
Hypolite Petovan
c7a2988454 Check for the existence of array key before using it in Protocol\ActivityPub\Transmitter
- Address https://github.com/friendica/friendica/issues/9252#issuecomment-739534960
2020-12-08 10:08:49 -05:00
Hypolite Petovan
99828c0fea Suppress notice message when guid isn't supplied in Module\Admin\Item\Source
- https://github.com/friendica/friendica/issues/9252#issuecomment-740052103
2020-12-08 10:00:09 -05:00
Hypolite Petovan
a105caf833 Use App\Arguments instead of App->args in theme/vier/theme
- Address https://github.com/friendica/friendica/issues/9252#issuecomment-740069639
2020-12-08 09:57:58 -05:00
Hypolite Petovan
7e3196776b
Merge pull request #9632 from annando/get-default-avatar
Centralized fetching of the default avatar
2020-12-07 02:44:48 -05:00
Michael
e17ca9cc35 Check for remote default avatars as well 2020-12-07 07:14:09 +00:00
Michael
a49a35f459 Centralized fetching of the default avatar 2020-12-07 06:43:43 +00:00
Hypolite Petovan
2821691c38
Merge pull request #9631 from annando/issue-9630
Issue 9630: Prevent negative values for registered users
2020-12-06 18:38:03 -05:00
Michael
9acecfd9e6 Issue 9630: Prevent negative values for registered users 2020-12-06 18:14:05 +00:00
Michael Vogel
ce52d31afa
Merge pull request #9626 from MrPetovan/bug/9611-bbcode-convert-html-purify
Prevents share block new lines from being converted to HTML <br> tags
2020-12-06 15:53:18 +01:00
Hypolite Petovan
e6270bc46d Enable back references in reg exp in BBCode::convert
- Bump BBCode version
2020-12-06 08:57:06 -05:00
Hypolite Petovan
a863228e09
Merge pull request #9628 from annando/dfrn-delete
Don't create the parent during a deletion
2020-12-06 08:37:50 -05:00
Michael
1f1697222b Don't create the parent during a deletion 2020-12-06 09:54:34 +00:00
Hypolite Petovan
f141f5acf4 Prevents share block new lines from being converted to HTML <br> tags
- Address https://github.com/friendica/friendica/pull/9621#issuecomment-739333767
2020-12-05 19:55:16 -05:00
Hypolite Petovan
f2a993abd9
Merge pull request #9623 from annando/removed-unused
Remove unused contacts
2020-12-05 19:33:39 -05:00
Michael
878a418c6b Code standards 2020-12-05 21:58:15 +00:00
Michael
2b8adf5073 Remove unused contacts 2020-12-05 21:07:48 +00:00
Michael Vogel
f9994548c1
Merge pull request #9621 from MrPetovan/bug/9611-bbcode-convert-html-purify
Add HTML Purify to BBCode::convert
2020-12-05 19:27:59 +01:00
Hypolite Petovan
741bc98174
Merge pull request #9620 from annando/worker-command
The worker now has got a "command" field
2020-12-04 08:36:35 -05:00
Hypolite Petovan
1cc509c5ef Move BBCode version tagging inside of the hash to prevent item-content.rendered-hash overflow 2020-12-04 08:30:51 -05:00
Hypolite Petovan
e712706302 Add BBCode versioning
- This will trigger the re-conversion of displayed items on version update
2020-12-04 07:29:49 -05:00
Hypolite Petovan
a382798999 Add some more result panels to Babel 2020-12-04 07:29:48 -05:00
Hypolite Petovan
a0f6d678c4 Add HTML Purify to BBCode::convert
- Replace previous HTML cleanup using DOMDocument
- Remove obsolete HTML::sanitizeCSS method
- Use Strings::autoLinkRegEx for PageInfo::getRelevantUrlFromBody
- Update previous tests expectations
- Add new specific XSS tests
2020-12-04 07:29:48 -05:00
Hypolite Petovan
d8e3b841f8 [Composer] Add xemlock/htmlpurifier-html5 dependency 2020-12-04 07:29:48 -05:00