friendica.git/.git
3 years agoImprove handling of the visibility parameter of the new ACL
Hypolite Petovan [Tue, 22 Dec 2020 03:23:13 +0000 (22:23 -0500)]
Improve handling of the visibility parameter of the new ACL

- Add backward compatibility with old ACL parameters

3 years agoRemove undocumented use of $_REQUEST['visibility'] in api_fr_photo_create_update()
Hypolite Petovan [Tue, 22 Dec 2020 03:21:42 +0000 (22:21 -0500)]
Remove undocumented use of $_REQUEST['visibility'] in api_fr_photo_create_update()

- Visibility is inferred from ACL strings

3 years agoAppend author's contact id to allowed contacts to prevent empty ACL for private posts
Hypolite Petovan [Mon, 21 Dec 2020 05:27:16 +0000 (00:27 -0500)]
Append author's contact id to allowed contacts to prevent empty ACL for private posts

3 years agoAppend author's contact id to allowed contacts to prevent empty ACL for private events
Hypolite Petovan [Mon, 21 Dec 2020 05:27:12 +0000 (00:27 -0500)]
Append author's contact id to allowed contacts to prevent empty ACL for private events

3 years agoAppend author's contact id to allowed contacts to prevent empty ACL for private posts
Hypolite Petovan [Mon, 21 Dec 2020 05:26:48 +0000 (00:26 -0500)]
Append author's contact id to allowed contacts to prevent empty ACL for private posts

3 years agoRemove autocomplete from 2FA code input fields
Hypolite Petovan [Mon, 21 Dec 2020 05:25:21 +0000 (00:25 -0500)]
Remove autocomplete from 2FA code input fields

3 years agoMerge pull request #9687 from annando/drop-unused
Hypolite Petovan [Mon, 21 Dec 2020 00:11:45 +0000 (19:11 -0500)]
Merge pull request #9687 from annando/drop-unused

Drop unused friendica tables

3 years agoMerge pull request #9686 from annando/removed-unneeded
Hypolite Petovan [Mon, 21 Dec 2020 00:10:45 +0000 (19:10 -0500)]
Merge pull request #9686 from annando/removed-unneeded

Remove unneeded configutation

3 years agoImproved help texts
Michael [Sun, 20 Dec 2020 16:22:25 +0000 (16:22 +0000)]
Improved help texts

3 years agoChanged description
Michael [Sun, 20 Dec 2020 15:31:25 +0000 (15:31 +0000)]
Changed description

3 years agoMerge pull request #9684 from MrPetovan/bug/9678-required-translation
Michael Vogel [Sun, 20 Dec 2020 15:27:31 +0000 (16:27 +0100)]
Merge pull request #9684 from MrPetovan/bug/9678-required-translation

Add translation to untranslated strings in templates

3 years agoReplaced tabs with spaces
Michael [Sun, 20 Dec 2020 14:04:00 +0000 (14:04 +0000)]
Replaced tabs with spaces

3 years agoDrop unused friendica tables
Michael [Sun, 20 Dec 2020 14:01:46 +0000 (14:01 +0000)]
Drop unused friendica tables

3 years agoRemove unneeded configutation
Michael [Sun, 20 Dec 2020 08:56:32 +0000 (08:56 +0000)]
Remove unneeded configutation

3 years agoUpdate main translation file after adding translation strings
Hypolite Petovan [Sun, 20 Dec 2020 03:52:23 +0000 (22:52 -0500)]
Update main translation file after adding translation strings

3 years agoAdd translation to Yourself option in view as select in profile
Hypolite Petovan [Sun, 20 Dec 2020 03:52:03 +0000 (22:52 -0500)]
Add translation to Yourself option in view as select in profile

- Address https://github.com/friendica/friendica/issues/9682

3 years agoAdd translation to required labels for install checks
Hypolite Petovan [Sun, 20 Dec 2020 03:47:07 +0000 (22:47 -0500)]
Add translation to required labels for install checks

- Remove unused checks loop in install_base template

3 years agoMerge pull request #9685 from annando/clean-avatar
Hypolite Petovan [Sun, 20 Dec 2020 07:04:16 +0000 (02:04 -0500)]
Merge pull request #9685 from annando/clean-avatar

Remove unused cached avatar photo entries

3 years agoRemove unused cached avatar photo entries
Michael [Sun, 20 Dec 2020 06:22:31 +0000 (06:22 +0000)]
Remove unused cached avatar photo entries

3 years agoAdd translation to required labels on input fields
Hypolite Petovan [Sun, 20 Dec 2020 03:41:42 +0000 (22:41 -0500)]
Add translation to required labels on input fields

- Normalize display of required label
- Remove unused field_richtext template

3 years agoMerge pull request #9681 from annando/fatal-php8
Hypolite Petovan [Sun, 20 Dec 2020 02:13:38 +0000 (21:13 -0500)]
Merge pull request #9681 from annando/fatal-php8

Quit when message is empty

3 years agoMerge pull request #9683 from annando/clean-avatar
Hypolite Petovan [Sun, 20 Dec 2020 01:49:10 +0000 (20:49 -0500)]
Merge pull request #9683 from annando/clean-avatar

Remove orphaned avatar photo entries

3 years agoRemove orphaned avatar photo entries
Michael [Sat, 19 Dec 2020 22:07:08 +0000 (22:07 +0000)]
Remove orphaned avatar photo entries

3 years agoQuit when message is empty
Michael [Sat, 19 Dec 2020 18:17:32 +0000 (18:17 +0000)]
Quit when message is empty

3 years agoMerge pull request #9680 from annando/issue-9402
Hypolite Petovan [Sat, 19 Dec 2020 18:07:02 +0000 (13:07 -0500)]
Merge pull request #9680 from annando/issue-9402

Issue 9402: Avoid message "invalid storage backend settings" on empty value

3 years agoMerge pull request #9679 from annando/issue-9457
Hypolite Petovan [Sat, 19 Dec 2020 18:06:11 +0000 (13:06 -0500)]
Merge pull request #9679 from annando/issue-9457

Issue 9457: Fix remembering "personal" and "starred"

3 years agoIssue 9402: Avoid message "invalid storage backend settings" on empty value
Michael Vogel [Sat, 19 Dec 2020 17:17:12 +0000 (18:17 +0100)]
Issue 9402: Avoid message "invalid storage backend settings" on empty value

3 years agoIssue 9457: Fix remembering "personal" and "starred"
Michael [Sat, 19 Dec 2020 16:48:12 +0000 (16:48 +0000)]
Issue 9457: Fix remembering "personal" and "starred"

3 years agoMerge pull request #9675 from MrPetovan/bug/9656-purify-video-embed
Michael Vogel [Sat, 19 Dec 2020 16:01:08 +0000 (17:01 +0100)]
Merge pull request #9675 from MrPetovan/bug/9656-purify-video-embed

Allow support for allowlisted iframe sources in Content\text\BBCode::convert

3 years agoMerge branch '2020.12-rc' into bug/9656-purify-video-embed
Hypolite Petovan [Fri, 18 Dec 2020 19:47:24 +0000 (14:47 -0500)]
Merge branch '2020.12-rc' into bug/9656-purify-video-embed

3 years agoMerge pull request #9676 from MrPetovan/bug/9639-limit-ap-emoji-size
Michael Vogel [Fri, 18 Dec 2020 18:40:47 +0000 (19:40 +0100)]
Merge pull request #9676 from MrPetovan/bug/9639-limit-ap-emoji-size

Restore Mastodon emoji span classes

3 years agoAdd BBCode test for issue #9639
Hypolite Petovan [Fri, 18 Dec 2020 16:11:48 +0000 (11:11 -0500)]
Add BBCode test for issue #9639

3 years agoRestore Mastodon emoji span classes
Hypolite Petovan [Fri, 18 Dec 2020 15:37:25 +0000 (10:37 -0500)]
Restore Mastodon emoji span classes

- Fix typo in replacement of [class] tag

3 years agoBump BBCode version to 2020-12-18
Hypolite Petovan [Fri, 18 Dec 2020 06:18:23 +0000 (01:18 -0500)]
Bump BBCode version to 2020-12-18

3 years agoAllow support for allowlisted iframe sources in Content\text\BBCode::convert
Hypolite Petovan [Fri, 18 Dec 2020 06:17:49 +0000 (01:17 -0500)]
Allow support for allowlisted iframe sources in Content\text\BBCode::convert

- Support Youtube, Vimeo and unused local embeds

3 years agoRemove support for [iframe] BBCode
Hypolite Petovan [Fri, 18 Dec 2020 06:16:35 +0000 (01:16 -0500)]
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.

3 years agoMerge pull request #9674 from MrPetovan/bug/9673-general-information
Michael Vogel [Fri, 18 Dec 2020 05:40:06 +0000 (06:40 +0100)]
Merge pull request #9674 from MrPetovan/bug/9673-general-information

Add general information header translation to admin site template

3 years agoRegenerate main translation file after adding translation string
Hypolite Petovan [Fri, 18 Dec 2020 03:52:51 +0000 (22:52 -0500)]
Regenerate main translation file after adding translation string

3 years agoAdd general information header translation to admin site template
Hypolite Petovan [Fri, 18 Dec 2020 03:52:30 +0000 (22:52 -0500)]
Add general information header translation to admin site template

3 years agoMerge pull request #9671 from annando/insert-ignore
Hypolite Petovan [Thu, 17 Dec 2020 19:59:43 +0000 (14:59 -0500)]
Merge pull request #9671 from annando/insert-ignore

Avoid "Duplicate entry"

3 years agoAvoid "Duplicate entry"
Michael [Thu, 17 Dec 2020 18:56:10 +0000 (18:56 +0000)]
Avoid "Duplicate entry"

3 years agoMerge pull request #9670 from annando/notice
Hypolite Petovan [Thu, 17 Dec 2020 18:19:16 +0000 (13:19 -0500)]
Merge pull request #9670 from annando/notice

Fix notices

3 years agoFix notices
Michael [Thu, 17 Dec 2020 18:08:07 +0000 (18:08 +0000)]
Fix notices

3 years agoMerge pull request #9668 from annando/keywarning
Hypolite Petovan [Thu, 17 Dec 2020 13:25:25 +0000 (08:25 -0500)]
Merge pull request #9668 from annando/keywarning

Fix warning "supplied key param cannot be coerced into a public key"

3 years agoMerge pull request #9667 from annando/profiler-network
Hypolite Petovan [Thu, 17 Dec 2020 13:24:09 +0000 (08:24 -0500)]
Merge pull request #9667 from annando/profiler-network

Store the network profiler data

3 years agoDelete tombstone contacts
Michael [Thu, 17 Dec 2020 08:00:56 +0000 (08:00 +0000)]
Delete tombstone contacts

3 years agoFix warning "supplied key param cannot be coerced into a public key"
Michael [Thu, 17 Dec 2020 07:07:54 +0000 (07:07 +0000)]
Fix warning "supplied key param cannot be coerced into a public key"

3 years agoStore the network profiler data
Michael [Thu, 17 Dec 2020 06:23:03 +0000 (06:23 +0000)]
Store the network profiler data

3 years agoMerge pull request #9664 from annando/delete-contacts
Hypolite Petovan [Wed, 16 Dec 2020 16:28:56 +0000 (11:28 -0500)]
Merge pull request #9664 from annando/delete-contacts

Delete removed contacts

3 years agoIndentation
Michael [Wed, 16 Dec 2020 15:43:12 +0000 (15:43 +0000)]
Indentation

3 years agoDelete removed contacts
Michael [Tue, 15 Dec 2020 22:56:46 +0000 (22:56 +0000)]
Delete removed contacts

3 years agoMerge pull request #9661 from MrPetovan/bug/9651-apdelivery-inboxes
Michael Vogel [Tue, 15 Dec 2020 21:05:59 +0000 (22:05 +0100)]
Merge pull request #9661 from MrPetovan/bug/9651-apdelivery-inboxes

Clarify usage of ActivityPub\Transmitter::fetchTargetInboxes in Worker\APDelivery queuing

3 years agoRemove reference to receivers when adding relay delivery tasks in Worker\Notifier
Hypolite Petovan [Tue, 15 Dec 2020 20:42:16 +0000 (15:42 -0500)]
Remove reference to receivers when adding relay delivery tasks in Worker\Notifier

- Address https://github.com/friendica/friendica/pull/9661#issuecomment-745553051

3 years agoMerge pull request #9663 from MrPetovan/bug/9662-deleted-users-still-post
Michael Vogel [Tue, 15 Dec 2020 19:57:10 +0000 (20:57 +0100)]
Merge pull request #9663 from MrPetovan/bug/9662-deleted-users-still-post

Add item user owner data check in Model\Item::isValid

3 years agoRemove owner.deleted check in user deletion check in Model/Item
Hypolite Petovan [Tue, 15 Dec 2020 19:24:42 +0000 (14:24 -0500)]
Remove owner.deleted check in user deletion check in Model/Item

3 years agoAdd item user owner data check in Model\Item::isValid
Hypolite Petovan [Tue, 15 Dec 2020 14:41:58 +0000 (09:41 -0500)]
Add item user owner data check in Model\Item::isValid

- Prevents deleted users from posting any item, manually or automatically through mirroring

3 years agoRename Model\User::getOwnerDataById parameter to better reflect intent
Hypolite Petovan [Tue, 15 Dec 2020 14:41:10 +0000 (09:41 -0500)]
Rename Model\User::getOwnerDataById parameter to better reflect intent

3 years agoAdd temporary console command to fix workerqueue row with corrupted parameter data
Hypolite Petovan [Tue, 15 Dec 2020 05:20:49 +0000 (00:20 -0500)]
Add temporary console command to fix workerqueue row with corrupted parameter data

- It should be reverted just before the 2020.12 release

3 years agoClarify usage of ActivityPub\Transmitter::fetchTargetInboxes in Worker\APDelivery...
Hypolite Petovan [Tue, 15 Dec 2020 04:33:14 +0000 (23:33 -0500)]
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

3 years agoMerge pull request #9655 from MrPetovan/bug/fatal-errors
Michael Vogel [Mon, 14 Dec 2020 21:11:45 +0000 (22:11 +0100)]
Merge pull request #9655 from MrPetovan/bug/fatal-errors

Fix several occasional fatal errors

3 years agoAccount for inbox array in Worker/APDelivery
Hypolite Petovan [Mon, 14 Dec 2020 14:10:43 +0000 (09:10 -0500)]
Account for inbox array in Worker/APDelivery

- Address https://github.com/friendica/friendica/issues/9250#issuecomment-744339671

3 years agoMerge pull request #9658 from annando/issue-9657
Hypolite Petovan [Mon, 14 Dec 2020 03:31:10 +0000 (22:31 -0500)]
Merge pull request #9658 from annando/issue-9657

Issue 9657: Check the age of an item

3 years agoIssue 9657: Check the age of an item
Michael [Mon, 14 Dec 2020 00:00:10 +0000 (00:00 +0000)]
Issue 9657: Check the age of an item

3 years agoReturn early if an URI id cannot be obtained in ActivityPub\Processor::createItem
Hypolite Petovan [Sun, 13 Dec 2020 18:42:08 +0000 (13:42 -0500)]
Return early if an URI id cannot be obtained in ActivityPub\Processor::createItem

- Address https://github.com/friendica/friendica/issues/9250#issuecomment-743769813

3 years agoMerge pull request #9654 from annando/delayed-unprepared
Hypolite Petovan [Sun, 13 Dec 2020 18:34:42 +0000 (13:34 -0500)]
Merge pull request #9654 from annando/delayed-unprepared

Support for unprepared delayed posts

3 years agoFix: posted unprepared posts hadn't been deleted
Michael [Sun, 13 Dec 2020 18:17:50 +0000 (18:17 +0000)]
Fix: posted unprepared posts hadn't been deleted

3 years agoSet the return value
Michael [Sun, 13 Dec 2020 17:22:50 +0000 (17:22 +0000)]
Set the return value

3 years agoAccount for missing contact in dfrn_request_post
Hypolite Petovan [Sun, 13 Dec 2020 17:18:10 +0000 (12:18 -0500)]
Account for missing contact in dfrn_request_post

- Address https://github.com/friendica/friendica/issues/9250#issuecomment-743407998

3 years agoSimplify Contact::addRelationship call in ActivityPub\Processor::followUser
Hypolite Petovan [Sun, 13 Dec 2020 17:16:04 +0000 (12:16 -0500)]
Simplify Contact::addRelationship call in ActivityPub\Processor::followUser

- Address https://github.com/friendica/friendica/issues/9250#issuecomment-743382769

3 years agoAdded logging
Michael [Sun, 13 Dec 2020 16:38:12 +0000 (16:38 +0000)]
Added logging

3 years agoDelay unprepared posts
Michael [Sun, 13 Dec 2020 12:47:49 +0000 (12:47 +0000)]
Delay unprepared posts

3 years agoMerge pull request #9652 from annando/issue-9584
Hypolite Petovan [Sat, 12 Dec 2020 20:13:31 +0000 (15:13 -0500)]
Merge pull request #9652 from annando/issue-9584

Issue 9584: Only search posts from federated networks

3 years agoMerge pull request #9651 from annando/ap-archive
Hypolite Petovan [Sat, 12 Dec 2020 20:12:54 +0000 (15:12 -0500)]
Merge pull request #9651 from annando/ap-archive

Archive/Unarchive at ActivityPub delivery

3 years agoIssue 9584: Only search posts from federated networks
Michael [Sat, 12 Dec 2020 19:55:47 +0000 (19:55 +0000)]
Issue 9584: Only search posts from federated networks

3 years agoArchive/Unarchive at ActivityPub delivery
Michael [Sat, 12 Dec 2020 16:45:23 +0000 (16:45 +0000)]
Archive/Unarchive at ActivityPub delivery

3 years agoMerge pull request #9647 from annando/original-relay
Hypolite Petovan [Fri, 11 Dec 2020 21:17:05 +0000 (16:17 -0500)]
Merge pull request #9647 from annando/original-relay

Relay posts with the original protocol

3 years agoMerge pull request #9648 from annando/issue-9633
Hypolite Petovan [Fri, 11 Dec 2020 21:16:31 +0000 (16:16 -0500)]
Merge pull request #9648 from annando/issue-9633

Issue 9633: Avoid contact lookup in conversation to avoid long loading times

3 years agoStandards
Michael [Fri, 11 Dec 2020 20:20:27 +0000 (20:20 +0000)]
Standards

3 years agoIssue 9633: Avoid contact lookup in conversation to avoid long loading times
Michael Vogel [Fri, 11 Dec 2020 14:16:29 +0000 (15:16 +0100)]
Issue 9633: Avoid contact lookup in conversation to avoid long loading times

3 years agoRelay posts with the original protocol
Michael [Fri, 11 Dec 2020 06:35:38 +0000 (06:35 +0000)]
Relay posts with the original protocol

3 years agoMerge pull request #9645 from MrPetovan/bug/fatal-errors
Tobias Diekershoff [Thu, 10 Dec 2020 13:05:03 +0000 (14:05 +0100)]
Merge pull request #9645 from MrPetovan/bug/fatal-errors

Normalize return value in Database->fetch

3 years agoNormalize return value in Database->fetch
Hypolite Petovan [Thu, 10 Dec 2020 11:12:10 +0000 (06:12 -0500)]
Normalize return value in Database->fetch

- Address https://github.com/friendica/friendica/issues/9250#issuecomment-741857058

3 years agoMerge pull request #9644 from annando/dfrn-deletions
Hypolite Petovan [Thu, 10 Dec 2020 08:39:40 +0000 (03:39 -0500)]
Merge pull request #9644 from annando/dfrn-deletions

Critical: Avoid dropping of incoming DFRN messages

3 years agoAvoid dropping of incoming DFRN messages
Michael [Thu, 10 Dec 2020 07:22:49 +0000 (07:22 +0000)]
Avoid dropping of incoming DFRN messages

3 years agoMerge pull request #9643 from annando/profiler
Hypolite Petovan [Thu, 10 Dec 2020 02:06:32 +0000 (21:06 -0500)]
Merge pull request #9643 from annando/profiler

Improved performance profiler

3 years agoParameters should be float ...
Michael [Thu, 10 Dec 2020 00:02:23 +0000 (00:02 +0000)]
Parameters should be float ...

3 years agoImproved performance profiler
Michael [Wed, 9 Dec 2020 22:10:27 +0000 (22:10 +0000)]
Improved performance profiler

3 years agoMerge pull request #9638 from annando/bad-priority
Hypolite Petovan [Wed, 9 Dec 2020 06:12:34 +0000 (01:12 -0500)]
Merge pull request #9638 from annando/bad-priority

Check for bad worker priorities

3 years agoApply suggestions from code review
Michael Vogel [Wed, 9 Dec 2020 05:58:19 +0000 (06:58 +0100)]
Apply suggestions from code review

Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
3 years agoMerge pull request #9635 from MrPetovan/bug/notices
Michael Vogel [Wed, 9 Dec 2020 05:51:54 +0000 (06:51 +0100)]
Merge pull request #9635 from MrPetovan/bug/notices

Batch of notice fixes

3 years agoMerge pull request #9637 from annando/db-error
Hypolite Petovan [Wed, 9 Dec 2020 05:07:04 +0000 (00:07 -0500)]
Merge pull request #9637 from annando/db-error

Fixes "Unknown column '729' in 'field list'"

3 years agoCheck for bad worker priorities
Michael [Tue, 8 Dec 2020 21:58:32 +0000 (21:58 +0000)]
Check for bad worker priorities

3 years agoFixes "Unknown column '729' in 'field list'"
Michael [Tue, 8 Dec 2020 21:23:10 +0000 (21:23 +0000)]
Fixes "Unknown column '729' in 'field list'"

3 years agoCheck for the existence of array key before using it in Protocol\ActivityPub\Transmitter
Hypolite Petovan [Tue, 8 Dec 2020 15:08:49 +0000 (10:08 -0500)]
Check for the existence of array key before using it in Protocol\ActivityPub\Transmitter

- Address https://github.com/friendica/friendica/issues/9252#issuecomment-739534960

3 years agoSuppress notice message when guid isn't supplied in Module\Admin\Item\Source
Hypolite Petovan [Tue, 8 Dec 2020 15:00:09 +0000 (10:00 -0500)]
Suppress notice message when guid isn't supplied in Module\Admin\Item\Source

- https://github.com/friendica/friendica/issues/9252#issuecomment-740052103

3 years agoUse App\Arguments instead of App->args in theme/vier/theme
Hypolite Petovan [Tue, 8 Dec 2020 14:57:58 +0000 (09:57 -0500)]
Use App\Arguments instead of App->args in theme/vier/theme

- Address https://github.com/friendica/friendica/issues/9252#issuecomment-740069639

3 years agoMerge pull request #9632 from annando/get-default-avatar
Hypolite Petovan [Mon, 7 Dec 2020 07:44:48 +0000 (02:44 -0500)]
Merge pull request #9632 from annando/get-default-avatar

Centralized fetching of the default avatar

3 years agoCheck for remote default avatars as well
Michael [Mon, 7 Dec 2020 07:14:09 +0000 (07:14 +0000)]
Check for remote default avatars as well

3 years agoCentralized fetching of the default avatar
Michael [Mon, 7 Dec 2020 06:43:43 +0000 (06:43 +0000)]
Centralized fetching of the default avatar

3 years agoMerge pull request #9631 from annando/issue-9630
Hypolite Petovan [Sun, 6 Dec 2020 23:38:03 +0000 (18:38 -0500)]
Merge pull request #9631 from annando/issue-9630

Issue 9630: Prevent negative values for registered users