]> git.mxchange.org Git - friendica.git/log
friendica.git
4 years agoDeprecate consume_feed() in favor of Protocol\Feed::consume
Hypolite Petovan [Wed, 17 Jun 2020 08:54:44 +0000 (04:54 -0400)]
Deprecate consume_feed() in favor of Protocol\Feed::consume

4 years agoMove subscribe_to_hub function to Worker/OnePoll from include/items
Hypolite Petovan [Wed, 17 Jun 2020 08:52:23 +0000 (04:52 -0400)]
Move subscribe_to_hub function to Worker/OnePoll from include/items

- It was its only usage

4 years agoMove drop_items and drop_item out of include/items
Hypolite Petovan [Wed, 17 Jun 2020 08:50:28 +0000 (04:50 -0400)]
Move drop_items and drop_item out of include/items

- They were only used in mod/item

4 years agoAdd new endsWith method to Util\Strings
Hypolite Petovan [Wed, 17 Jun 2020 06:02:13 +0000 (02:02 -0400)]
Add new endsWith method to Util\Strings

4 years agoMerge pull request #8783 from MrPetovan/bug/8488-exclude-img-tags
Michael Vogel [Wed, 17 Jun 2020 06:20:50 +0000 (08:20 +0200)]
Merge pull request #8783 from MrPetovan/bug/8488-exclude-img-tags

Exclude [img] tags from tag replacement

4 years agoMerge pull request #8782 from annando/notice
Hypolite Petovan [Tue, 16 Jun 2020 21:10:52 +0000 (17:10 -0400)]
Merge pull request #8782 from annando/notice

Hopefully fixes notice "Undefined index: gravity"

4 years agoPossibly fix "Undefined index: url"
Michael [Tue, 16 Jun 2020 20:41:34 +0000 (20:41 +0000)]
Possibly fix "Undefined index: url"

4 years agoExclude [img] tags from tag replacement
Hypolite Petovan [Tue, 16 Jun 2020 20:34:16 +0000 (16:34 -0400)]
Exclude [img] tags from tag replacement

- It broke image captions by inserting an HTML link inside an HTML attribute

4 years agoHopefully fixes notice "Undefined index: gravity"
Michael [Tue, 16 Jun 2020 20:30:25 +0000 (20:30 +0000)]
Hopefully fixes notice "Undefined index: gravity"

4 years agoMerge pull request #8779 from annando/max-comments
Hypolite Petovan [Tue, 16 Jun 2020 12:43:28 +0000 (08:43 -0400)]
Merge pull request #8779 from annando/max-comments

Different comment limits for single view

4 years agoUpdate src/Module/Admin/Site.php
Michael Vogel [Tue, 16 Jun 2020 12:37:36 +0000 (14:37 +0200)]
Update src/Module/Admin/Site.php

Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
4 years agoDifferent comment limits for single view
Michael [Tue, 16 Jun 2020 06:49:53 +0000 (06:49 +0000)]
Different comment limits for single view

4 years agoMerge pull request #8776 from annando/annando/issue8766
Hypolite Petovan [Mon, 15 Jun 2020 13:04:38 +0000 (09:04 -0400)]
Merge pull request #8776 from annando/annando/issue8766

Categories are not showing up at the bottom of the post

4 years agoMerge pull request #8777 from tobiasd/20200615-lng
Michael Vogel [Mon, 15 Jun 2020 04:47:58 +0000 (06:47 +0200)]
Merge pull request #8777 from tobiasd/20200615-lng

Translation updates DE, ET, NL, PL, RU, ZH-CN

4 years agoAdded Estonian translation THX Rain Hawk
Tobias Diekershoff [Mon, 15 Jun 2020 04:23:18 +0000 (06:23 +0200)]
Added Estonian translation THX Rain Hawk

4 years agoRU translations THX Alexander An
Tobias Diekershoff [Mon, 15 Jun 2020 04:21:57 +0000 (06:21 +0200)]
RU translations THX Alexander An

4 years agoPL translation update THX waldis
Tobias Diekershoff [Mon, 15 Jun 2020 04:21:16 +0000 (06:21 +0200)]
PL translation update THX waldis

4 years agoNL translation update THX Casper
Tobias Diekershoff [Mon, 15 Jun 2020 04:20:28 +0000 (06:20 +0200)]
NL translation update THX Casper

4 years agoupdate to the zh-cn translation THX steve jobs
Tobias Diekershoff [Mon, 15 Jun 2020 04:19:49 +0000 (06:19 +0200)]
update to the zh-cn translation THX steve jobs

4 years agoDE translation update THX copis
Tobias Diekershoff [Mon, 15 Jun 2020 04:18:25 +0000 (06:18 +0200)]
DE translation update THX copis

4 years agoCategories are not showing up at the bottom of the post
Michael [Mon, 15 Jun 2020 03:43:51 +0000 (03:43 +0000)]
Categories are not showing up at the bottom of the post
Fixes friendica/friendica#8766

4 years agoMerge pull request #8774 from annando/annando/issue8769
Hypolite Petovan [Sun, 14 Jun 2020 19:03:37 +0000 (15:03 -0400)]
Merge pull request #8774 from annando/annando/issue8769

redir - clicking on title of own post leads to access denied error

4 years agoMerge pull request #8772 from annando/post-update
Hypolite Petovan [Sun, 14 Jun 2020 18:57:10 +0000 (14:57 -0400)]
Merge pull request #8772 from annando/post-update

Speed up post update for gsid

4 years agoMerge pull request #8771 from annando/annando/issue8663
Hypolite Petovan [Sun, 14 Jun 2020 18:51:33 +0000 (14:51 -0400)]
Merge pull request #8771 from annando/annando/issue8663

Abuse mail received because of "unusual traffic"

4 years agoredir - clicking on title of own post leads to access denied error
Michael [Sun, 14 Jun 2020 18:40:02 +0000 (18:40 +0000)]
redir - clicking on title of own post leads to access denied error
Fixes friendica/friendica#8769

4 years agoSpeed up post update for gsid
Michael Vogel [Sun, 14 Jun 2020 16:09:59 +0000 (18:09 +0200)]
Speed up post update for gsid

4 years agoAbuse mail received because of "unusual traffic"
Michael [Sun, 14 Jun 2020 15:47:47 +0000 (15:47 +0000)]
Abuse mail received because of "unusual traffic"
Fixes friendica/friendica#8663

4 years agoMerge pull request #8770 from annando/probing
Hypolite Petovan [Sun, 14 Jun 2020 15:18:16 +0000 (11:18 -0400)]
Merge pull request #8770 from annando/probing

Reduced network request when probing

4 years ago2020.06-rc
Tobias Diekershoff [Sun, 14 Jun 2020 14:51:22 +0000 (16:51 +0200)]
2020.06-rc

4 years agoMerge pull request #8617 from MrPetovan/task/8220-twitter-followers-list
Michael Vogel [Sun, 14 Jun 2020 14:06:22 +0000 (16:06 +0200)]
Merge pull request #8617 from MrPetovan/task/8220-twitter-followers-list

(Re)Implement Twitter contact API endpoints

4 years agoReduced network request when probing
Michael [Sun, 14 Jun 2020 13:37:28 +0000 (13:37 +0000)]
Reduced network request when probing

4 years agoMerge pull request #8767 from MrPetovan/bug/8746-smarty-vars-leak
Michael Vogel [Sat, 13 Jun 2020 06:19:16 +0000 (08:19 +0200)]
Merge pull request #8767 from MrPetovan/bug/8746-smarty-vars-leak

Clear all previous template variables before replacing Macros

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 ago[Tests] Add test for Module\Api\Twitter\ContactEndpoint
Hypolite Petovan [Tue, 9 Jun 2020 12:39:37 +0000 (08:39 -0400)]
[Tests] Add test for Module\Api\Twitter\ContactEndpoint

- Add necessary fixture data

4 years ago[Tests] Extract fixture logic from ApiTest
Hypolite Petovan [Tue, 9 Jun 2020 12:38:31 +0000 (08:38 -0400)]
[Tests] Extract fixture logic from ApiTest

- Reorder frio scheme tests to avoid PConfig persistence side-effect

4 years agoAdd support for max_id parameter in new Twitter contact API endpoints
Hypolite Petovan [Sun, 10 May 2020 14:24:35 +0000 (10:24 -0400)]
Add support for max_id parameter in new Twitter contact API endpoints

- Use filter_input instead of manual type casting

4 years agoImplement Twitter contact endpoints
Hypolite Petovan [Sun, 10 May 2020 05:09:20 +0000 (01:09 -0400)]
Implement Twitter contact endpoints

- Implement /followers/ids
- Implement /followers/list
- Reimplement /friends/ids
- Reimplement /friends/list
- Update API reference
- Remove obsolete tests

4 years agoAdd Twitter User Object and Factory
Hypolite Petovan [Sun, 10 May 2020 05:04:18 +0000 (01:04 -0400)]
Add Twitter User Object and Factory

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