]> git.mxchange.org Git - friendica.git/log
friendica.git
4 years agoClear all previous template variables before replacing Macros in FriendicaSmartyEngine
Hypolite Petovan [Sat, 13 Jun 2020 02:06:09 +0000 (22:06 -0400)]
Clear all previous template variables before replacing Macros in FriendicaSmartyEngine

- Prevents variables leaking between replaceMacros() calls

4 years ago[frio] Remove duplicate page wrapper in auto_request
Hypolite Petovan [Sat, 13 Jun 2020 02:05:12 +0000 (22:05 -0400)]
[frio] Remove duplicate page wrapper in auto_request

- [frio] Add page wrapper to minimal template (for sitewide theme settings)

4 years agoMerge pull request #8765 from annando/fix-pubkey
Hypolite Petovan [Fri, 12 Jun 2020 20:42:16 +0000 (16:42 -0400)]
Merge pull request #8765 from annando/fix-pubkey

Fix providing the public key

4 years agoFix providing the public key
Michael Vogel [Fri, 12 Jun 2020 19:51:42 +0000 (21:51 +0200)]
Fix providing the public key

4 years agoMerge pull request #8753 from MrPetovan/bug/fatal-errors
Michael Vogel [Fri, 12 Jun 2020 04:58:20 +0000 (06:58 +0200)]
Merge pull request #8753 from MrPetovan/bug/fatal-errors

Remove dependency to App in Contact::createFromProbe

4 years agoMerge pull request #8761 from MrPetovan/bug/8743-frio-admin-users-table-order
Michael Vogel [Fri, 12 Jun 2020 04:47:37 +0000 (06:47 +0200)]
Merge pull request #8761 from MrPetovan/bug/8743-frio-admin-users-table-order

[frio] Replace only the users table element when reordering on a column in mod_admin.js

4 years ago[frio] Replace only the users table element when reordering on a column in mod_admin.js
Hypolite Petovan [Fri, 12 Jun 2020 00:26:29 +0000 (20:26 -0400)]
[frio] Replace only the users table element when reordering on a column in mod_admin.js

- Replace duplicate jQuery query with a variable

4 years agoMerge pull request #8740 from MrPetovan/task/frio-improve-share-display
Michael Vogel [Thu, 11 Jun 2020 05:32:29 +0000 (07:32 +0200)]
Merge pull request #8740 from MrPetovan/task/frio-improve-share-display

[frio] Improve share blocks display

4 years agoMerge pull request #8754 from MrPetovan/task/8676-ap-attachments
Michael Vogel [Thu, 11 Jun 2020 04:29:33 +0000 (06:29 +0200)]
Merge pull request #8754 from MrPetovan/task/8676-ap-attachments

Strip the link preview URL from the end of the body if any in ActivityPub\Processor

4 years agoMerge pull request #8758 from MrPetovan/bug/8726-mention-parsing
Michael Vogel [Wed, 10 Jun 2020 23:05:56 +0000 (01:05 +0200)]
Merge pull request #8758 from MrPetovan/bug/8726-mention-parsing

Add missing return variable while replacing tags in mod/item

4 years agoAdd missing return variable while replacing tags in mod/item
Hypolite Petovan [Wed, 10 Jun 2020 21:23:07 +0000 (17:23 -0400)]
Add missing return variable while replacing tags in mod/item

4 years agoMerge pull request #8757 from annando/simplify-probe
Hypolite Petovan [Wed, 10 Jun 2020 19:33:03 +0000 (15:33 -0400)]
Merge pull request #8757 from annando/simplify-probe

Simplify the probing process

4 years agoSimplify the probing process
Michael [Wed, 10 Jun 2020 19:19:10 +0000 (19:19 +0000)]
Simplify the probing process

4 years agoMerge pull request #8755 from MrPetovan/bug/notices
Michael Vogel [Wed, 10 Jun 2020 19:14:23 +0000 (21:14 +0200)]
Merge pull request #8755 from MrPetovan/bug/notices

Replace mention to $_SERVER with parameter in Content\Markdown::convert

4 years agoReplace mention to $_SERVER with parameter in Content\Markdown::convert
Hypolite Petovan [Wed, 10 Jun 2020 15:40:18 +0000 (11:40 -0400)]
Replace mention to $_SERVER with parameter in Content\Markdown::convert

- $_SERVER key isn't always available, no idea what it was used for exactly

4 years agoStrip the link preview URL from the end of the body if any in ActivityPub\Processor
Hypolite Petovan [Wed, 10 Jun 2020 15:19:44 +0000 (11:19 -0400)]
Strip the link preview URL from the end of the body if any in ActivityPub\Processor

4 years agoRemove dependency to App in Contact::createFromProbe
Hypolite Petovan [Wed, 10 Jun 2020 14:36:42 +0000 (10:36 -0400)]
Remove dependency to App in Contact::createFromProbe

- Address https://github.com/friendica/friendica/issues/8473#issuecomment-641259906

4 years agoAdd no-parsing block escaping in BBCode::setMentions
Hypolite Petovan [Wed, 10 Jun 2020 13:55:52 +0000 (09:55 -0400)]
Add no-parsing block escaping in BBCode::setMentions

4 years agoRemove superfluous code
Hypolite Petovan [Sat, 6 Jun 2020 21:31:23 +0000 (17:31 -0400)]
Remove superfluous code

- Remove explicit default parameter value in BBCode::convertShareCallback
- Remove Probe::$baseurl reset since the twitter probe sets the `baseurl` property
- Remove baseurl guessing in Probe::detect

4 years ago[frio] Improve shared content display
Hypolite Petovan [Sat, 6 Jun 2020 18:37:07 +0000 (14:37 -0400)]
[frio] Improve shared content display

4 years agoAdd mention support to shared content
Hypolite Petovan [Sat, 6 Jun 2020 18:36:48 +0000 (14:36 -0400)]
Add mention support to shared content

4 years agoMove handle_tag() to Content\Item::replaceTag
Hypolite Petovan [Wed, 10 Jun 2020 14:13:32 +0000 (10:13 -0400)]
Move handle_tag() to Content\Item::replaceTag

4 years agoAdd probe data return if Contact::getDetailsByURL didn't yield a result in Contact...
Hypolite Petovan [Sat, 6 Jun 2020 18:36:04 +0000 (14:36 -0400)]
Add probe data return if Contact::getDetailsByURL didn't yield a result in Contact::getDetailsByAddr

4 years agoFix issue with Probe returning local baseurl for probed Twitter accounts
Hypolite Petovan [Sat, 6 Jun 2020 18:32:51 +0000 (14:32 -0400)]
Fix issue with Probe returning local baseurl for probed Twitter accounts

4 years agoMerge pull request #8752 from annando/posts-from-id
Hypolite Petovan [Wed, 10 Jun 2020 04:11:51 +0000 (00:11 -0400)]
Merge pull request #8752 from annando/posts-from-id

Avoid unneeded database calls when showing posts of contacts

4 years agoMerge pull request #8751 from annando/notice
Hypolite Petovan [Wed, 10 Jun 2020 04:10:32 +0000 (00:10 -0400)]
Merge pull request #8751 from annando/notice

Fix notice "Undefined index: template in src/Network/Probe.php on line 598"

4 years agoAvoid unneeded database calls when showing posts of contacts
Michael [Tue, 9 Jun 2020 22:38:06 +0000 (22:38 +0000)]
Avoid unneeded database calls when showing posts of contacts

4 years agoFix notice " Undefined index: template in src/Network/Probe.php on line 598"
Michael [Tue, 9 Jun 2020 20:44:55 +0000 (20:44 +0000)]
Fix notice " Undefined index: template in src/Network/Probe.php on line 598"

4 years agoMerge pull request #8749 from MrPetovan/task/8676-ap-attachments
Michael Vogel [Tue, 9 Jun 2020 20:23:26 +0000 (22:23 +0200)]
Merge pull request #8749 from MrPetovan/task/8676-ap-attachments

Add quote support in attachment title in ActivityPub\Processor

4 years agoMerge pull request #8729 from MrPetovan/bug/8726-mention-parsing
Michael Vogel [Tue, 9 Jun 2020 20:03:06 +0000 (22:03 +0200)]
Merge pull request #8729 from MrPetovan/bug/8726-mention-parsing

Add tag escaping to BBCode::setTags

4 years agoMerge pull request #8750 from AlfredSK/fix-continue-warnings
Hypolite Petovan [Tue, 9 Jun 2020 16:54:38 +0000 (12:54 -0400)]
Merge pull request #8750 from AlfredSK/fix-continue-warnings

fix-continue-warnings in AP processor

4 years agofix-continue-warnings
AlfredSK [Tue, 9 Jun 2020 16:40:36 +0000 (16:40 +0000)]
fix-continue-warnings

4 years agoAdd quote support in attachment title in ActivityPub\Processor
Hypolite Petovan [Tue, 9 Jun 2020 12:53:48 +0000 (08:53 -0400)]
Add quote support in attachment title in ActivityPub\Processor

4 years agoFix faulty test expectation in ApiTest->testApiFriendicaNotificationWithXmlResult
Hypolite Petovan [Tue, 9 Jun 2020 00:43:46 +0000 (20:43 -0400)]
Fix faulty test expectation in ApiTest->testApiFriendicaNotificationWithXmlResult

4 years agoAdd null/empty string parameter value case in BBCode::convert
Hypolite Petovan [Mon, 8 Jun 2020 23:15:08 +0000 (19:15 -0400)]
Add null/empty string parameter value case in BBCode::convert

- Remove obsolete coalesce operator uses

4 years agoRemove superfluous indentation level in mod/poco
Hypolite Petovan [Mon, 8 Jun 2020 22:58:05 +0000 (18:58 -0400)]
Remove superfluous indentation level in mod/poco

4 years agoEnsure strings are provided to BBCode::toPlaintext in include/api
Hypolite Petovan [Fri, 5 Jun 2020 03:39:53 +0000 (23:39 -0400)]
Ensure strings are provided to BBCode::toPlaintext in include/api

- Prevents some type mismatch fatal errors with BBCode::performWithEscapedTags

4 years agoAdd documentation about escaping blocks in doc/BBCode
Hypolite Petovan [Fri, 5 Jun 2020 01:17:27 +0000 (21:17 -0400)]
Add documentation about escaping blocks in doc/BBCode

4 years agoAdd tag escaping to tag handling in mod/item
Hypolite Petovan [Fri, 5 Jun 2020 00:57:27 +0000 (20:57 -0400)]
Add tag escaping to tag handling in mod/item

4 years agoAdd tag escaping to Item::setHashtags
Hypolite Petovan [Fri, 5 Jun 2020 00:56:50 +0000 (20:56 -0400)]
Add tag escaping to Item::setHashtags

- Add return value to Item::setHashtags

4 years agoAdd tag escaping to BBCode::setTags
Hypolite Petovan [Fri, 5 Jun 2020 00:54:40 +0000 (20:54 -0400)]
Add tag escaping to BBCode::setTags

4 years agoReplace existing block escaping by performWitEscaped* calls
Hypolite Petovan [Thu, 4 Jun 2020 23:30:28 +0000 (19:30 -0400)]
Replace existing block escaping by performWitEscaped* calls

4 years agoAdd new Strings::performWithEscapedBlocks methods
Hypolite Petovan [Thu, 4 Jun 2020 23:25:48 +0000 (19:25 -0400)]
Add new Strings::performWithEscapedBlocks methods

- Add new BBCode::performWithEscapedTags method
- Add tests

4 years agoMerge pull request #8727 from MrPetovan/task/8676-ap-attachments
Michael Vogel [Mon, 8 Jun 2020 20:11:40 +0000 (22:11 +0200)]
Merge pull request #8727 from MrPetovan/task/8676-ap-attachments

[ActivityPub] Add support for more attachments structures

4 years agoAdd check for existing attachment in ActivityPub\Processor::constructAttachList
Hypolite Petovan [Sun, 7 Jun 2020 20:23:57 +0000 (16:23 -0400)]
Add check for existing attachment in ActivityPub\Processor::constructAttachList

4 years ago[ActivityPub] Add support for more attachments structures
Hypolite Petovan [Thu, 4 Jun 2020 19:51:14 +0000 (15:51 -0400)]
[ActivityPub] Add support for more attachments structures

- Add support for type: Page into [attachment], type: Link using href attribute
- Ensure Receiver::process* parameter is an array
- Remove superfluous eptiness check in JsonLD::fetchElementArray

4 years agoMerge pull request #8747 from annando/fix-8742
Hypolite Petovan [Sun, 7 Jun 2020 17:05:09 +0000 (13:05 -0400)]
Merge pull request #8747 from annando/fix-8742

Fix 8742: The pre update is now executed

4 years agoFix 8742: The pre update is now executed
Michael [Sun, 7 Jun 2020 16:41:01 +0000 (16:41 +0000)]
Fix 8742: The pre update is now executed

4 years agoMerge pull request #8742 from MrPetovan/task/blocklist-safelist
Michael Vogel [Sun, 7 Jun 2020 16:26:26 +0000 (18:26 +0200)]
Merge pull request #8742 from MrPetovan/task/blocklist-safelist

Replace charged terms with "allowlist", "denylist" and "blocklist"

4 years agoReplace remaining instances with "allowlist", "denylist" and "blocklist"
Hypolite Petovan [Sat, 6 Jun 2020 20:44:39 +0000 (16:44 -0400)]
Replace remaining instances with "allowlist", "denylist" and "blocklist"

4 years agoRename system config value to db_log_index_denylist
Hypolite Petovan [Sat, 6 Jun 2020 20:44:07 +0000 (16:44 -0400)]
Rename system config value to db_log_index_denylist

4 years agoRename contact table column to ffi_keyword_denylist
Hypolite Petovan [Sat, 6 Jun 2020 20:43:23 +0000 (16:43 -0400)]
Rename contact table column to ffi_keyword_denylist

4 years agoMerge pull request #8738 from annando/jsonld-tests
Hypolite Petovan [Sun, 7 Jun 2020 14:23:12 +0000 (10:23 -0400)]
Merge pull request #8738 from annando/jsonld-tests

Added tests for JsonLD class

4 years agoEnsure that empty arrays are returned as empty arrays
Michael [Sun, 7 Jun 2020 08:49:53 +0000 (08:49 +0000)]
Ensure that empty arrays are returned as empty arrays

4 years agoThe more tests the better?
Michael [Sun, 7 Jun 2020 08:39:00 +0000 (08:39 +0000)]
The more tests the better?

4 years agoThere is always one last test ...
Michael [Sun, 7 Jun 2020 08:29:19 +0000 (08:29 +0000)]
There is always one last test ...

4 years agoTwo more tests
Michael [Sun, 7 Jun 2020 08:24:08 +0000 (08:24 +0000)]
Two more tests

4 years agoAnother test added
Michael [Sun, 7 Jun 2020 08:15:04 +0000 (08:15 +0000)]
Another test added

4 years agoMerge pull request #8741 from MrPetovan/task/hook-probe-detect
Michael Vogel [Sat, 6 Jun 2020 21:06:51 +0000 (23:06 +0200)]
Merge pull request #8741 from MrPetovan/task/hook-probe-detect

Add probe_detect hook

4 years agoFix test
Michael [Sat, 6 Jun 2020 19:53:26 +0000 (19:53 +0000)]
Fix test

4 years agoAvoiding unwanted side effects
Michael [Sat, 6 Jun 2020 19:29:37 +0000 (19:29 +0000)]
Avoiding unwanted side effects

4 years agoMerge pull request #8739 from annando/issue-8732
Hypolite Petovan [Sat, 6 Jun 2020 19:21:38 +0000 (15:21 -0400)]
Merge pull request #8739 from annando/issue-8732

Issue 8732: Fix fetch saved searches

4 years agoRemove obsolete Twitter probing
Hypolite Petovan [Sat, 6 Jun 2020 19:08:21 +0000 (15:08 -0400)]
Remove obsolete Twitter probing

- Profile page source offers no details about accounts when not logged in

4 years agoAdd probe_detect hook
Hypolite Petovan [Sat, 6 Jun 2020 18:54:04 +0000 (14:54 -0400)]
Add probe_detect hook

4 years agoIssue 8732: Fix fetch aved searches
Michael [Sat, 6 Jun 2020 18:45:16 +0000 (18:45 +0000)]
Issue 8732: Fix fetch aved searches

4 years agoJust some more tests added
Michael [Sat, 6 Jun 2020 14:59:28 +0000 (14:59 +0000)]
Just some more tests added

4 years agoAdded test for fetching arrays
Michael [Sat, 6 Jun 2020 14:16:27 +0000 (14:16 +0000)]
Added test for fetching arrays

4 years agoAdded tests for JsonLD class
Michael [Sat, 6 Jun 2020 12:53:36 +0000 (12:53 +0000)]
Added tests for JsonLD class

4 years agoMerge pull request #8737 from annando/issue-8735
Hypolite Petovan [Sat, 6 Jun 2020 12:35:57 +0000 (08:35 -0400)]
Merge pull request #8737 from annando/issue-8735

Issue 8735: Ensure the correct data type for "hide"

4 years agoIssue 8735: Ensure the correct data type for "hide"
Michael [Sat, 6 Jun 2020 08:11:19 +0000 (08:11 +0000)]
Issue 8735: Ensure the correct data type for "hide"

4 years agoMerge pull request #8734 from MrPetovan/bug/8732-noscrape-notice
Michael Vogel [Sat, 6 Jun 2020 07:31:31 +0000 (09:31 +0200)]
Merge pull request #8734 from MrPetovan/bug/8732-noscrape-notice

Exit with an error if profile info isn't available in Module\NoScrape

4 years agoExit with an error if profile info isn't available in Module\NoScrape
Hypolite Petovan [Fri, 5 Jun 2020 18:28:11 +0000 (14:28 -0400)]
Exit with an error if profile info isn't available in Module\NoScrape

4 years agoMerge pull request #8733 from annando/fix-notice
Tobias Diekershoff [Fri, 5 Jun 2020 12:38:24 +0000 (14:38 +0200)]
Merge pull request #8733 from annando/fix-notice

Fix Notice "Undefined index: subscribe"

4 years agoFix Notice "Undefined index: subscribe"
Michael [Fri, 5 Jun 2020 10:44:36 +0000 (10:44 +0000)]
Fix Notice "Undefined index: subscribe"

4 years agoMerge pull request #8731 from MrPetovan/task/frio-mobile-active-buttons-color
Tobias Diekershoff [Fri, 5 Jun 2020 04:42:33 +0000 (06:42 +0200)]
Merge pull request #8731 from MrPetovan/task/frio-mobile-active-buttons-color

[frio] Add color to active buttons in mobile view

4 years agoMerge pull request #8730 from MrPetovan/bug/fatal-errors
Michael Vogel [Fri, 5 Jun 2020 03:59:36 +0000 (05:59 +0200)]
Merge pull request #8730 from MrPetovan/bug/fatal-errors

Ensure $categories is set in mod/item

4 years ago[frio] Add color to active buttons in mobile view
Hypolite Petovan [Fri, 5 Jun 2020 03:47:13 +0000 (23:47 -0400)]
[frio] Add color to active buttons in mobile view

4 years agoEnsure $categories is set in mod/item
Hypolite Petovan [Fri, 5 Jun 2020 01:32:47 +0000 (21:32 -0400)]
Ensure $categories is set in mod/item

- Address https://github.com/friendica/friendica/issues/8473#issuecomment-639052328

4 years agoMerge pull request #8728 from annando/ap-webfinger
Hypolite Petovan [Fri, 5 Jun 2020 01:24:53 +0000 (21:24 -0400)]
Merge pull request #8728 from annando/ap-webfinger

Use webfinger in apcontact fetch

4 years agoRemove the "addr" when webfinger fails
Michael [Thu, 4 Jun 2020 22:08:31 +0000 (22:08 +0000)]
Remove the "addr" when webfinger fails

4 years agoUse webfinger in apcontact fetch
Michael [Thu, 4 Jun 2020 21:55:14 +0000 (21:55 +0000)]
Use webfinger in apcontact fetch

4 years agoMerge pull request #8725 from MrPetovan/bug/8722-oembed-share
Michael Vogel [Thu, 4 Jun 2020 16:29:18 +0000 (18:29 +0200)]
Merge pull request #8725 from MrPetovan/bug/8722-oembed-share

Remove Twitter exception for shared blocks

4 years agoRemove Twitter exception for shared blocks in Text\BBCode::convertShareCallback
Hypolite Petovan [Thu, 4 Jun 2020 15:13:31 +0000 (11:13 -0400)]
Remove Twitter exception for shared blocks in Text\BBCode::convertShareCallback

- Twitter stopped supporting OEmbed which defaulted to an undesirable fallback

4 years agoRevert "Move share content conversion before link handling in Text\BBCode::convert"
Hypolite Petovan [Thu, 4 Jun 2020 15:11:44 +0000 (11:11 -0400)]
Revert "Move share content conversion before link handling in Text\BBCode::convert"

This reverts commit 010ec99b35c2bee8f23060e96c2af3ba5849cf84.

4 years agoMerge pull request #8723 from MrPetovan/bug/8722-oembed-share
Tobias Diekershoff [Thu, 4 Jun 2020 04:40:44 +0000 (06:40 +0200)]
Merge pull request #8723 from MrPetovan/bug/8722-oembed-share

Move share content conversion before link handling in Text\BBCode::convert

4 years agoMove share content conversion before link handling in Text\BBCode::convert
Hypolite Petovan [Thu, 4 Jun 2020 02:02:01 +0000 (22:02 -0400)]
Move share content conversion before link handling in Text\BBCode::convert

4 years agoMerge pull request #8720 from annando/issue-8714
Hypolite Petovan [Wed, 3 Jun 2020 13:12:43 +0000 (09:12 -0400)]
Merge pull request #8720 from annando/issue-8714

Issue 8714: Make redirects more secure

4 years agoRemoved unused parts
Michael [Wed, 3 Jun 2020 10:33:54 +0000 (10:33 +0000)]
Removed unused parts

4 years agoFile ending, Error Message
Michael [Wed, 3 Jun 2020 09:40:43 +0000 (09:40 +0000)]
File ending, Error Message

4 years agoMerge remote-tracking branch 'upstream/develop' into issue-8714
Michael [Wed, 3 Jun 2020 09:27:02 +0000 (09:27 +0000)]
Merge remote-tracking branch 'upstream/develop' into issue-8714

4 years agoMerge pull request #8721 from annando/fatal
Hypolite Petovan [Wed, 3 Jun 2020 08:09:49 +0000 (04:09 -0400)]
Merge pull request #8721 from annando/fatal

Fix fatal errors because of mixed data types

4 years agoFix fatal errors because of mixed data types
Michael [Wed, 3 Jun 2020 06:57:51 +0000 (06:57 +0000)]
Fix fatal errors because of mixed data types

4 years agoIssue 8714: Make redirects more secure
Michael [Wed, 3 Jun 2020 05:14:45 +0000 (05:14 +0000)]
Issue 8714: Make redirects more secure

4 years agoMerge pull request #8719 from MrPetovan/task/8717-help-console-globalcommunitysilence
Michael Vogel [Wed, 3 Jun 2020 04:14:56 +0000 (06:14 +0200)]
Merge pull request #8719 from MrPetovan/task/8717-help-console-globalcommunitysilence

Improve language of console globalcommunitysilence help line

4 years agoMerge pull request #8718 from MrPetovan/bug/fatal-errors
Michael Vogel [Wed, 3 Jun 2020 04:13:48 +0000 (06:13 +0200)]
Merge pull request #8718 from MrPetovan/bug/fatal-errors

Use expected return variable type in Network\Probe::detect

4 years agoImprove language of console globalcommunitysilence help line
Hypolite Petovan [Wed, 3 Jun 2020 04:03:58 +0000 (00:03 -0400)]
Improve language of console globalcommunitysilence help line

4 years agoUse expected return variable type in Network\Probe::detect
Hypolite Petovan [Wed, 3 Jun 2020 03:41:10 +0000 (23:41 -0400)]
Use expected return variable type in Network\Probe::detect

4 years agoMerge pull request #8716 from annando/notice
Hypolite Petovan [Wed, 3 Jun 2020 01:35:39 +0000 (21:35 -0400)]
Merge pull request #8716 from annando/notice

Let "subscribe" be filled at every time to avoid a notice

4 years agoLet "subscribe" be filled at every time to avoid a notice
Michael [Tue, 2 Jun 2020 19:11:37 +0000 (19:11 +0000)]
Let "subscribe" be filled at every time to avoid a notice

4 years agoMerge pull request #8713 from annando/issue-8675
Hypolite Petovan [Tue, 2 Jun 2020 13:08:14 +0000 (09:08 -0400)]
Merge pull request #8713 from annando/issue-8675

Issue 8675: reduce requests of foreign pages