Commit Graph

600 Commits (e4487c4876590001007943d3e4a02431c2e79845)

Author SHA1 Message Date
Michael Vogel 8fea67dade
Apply suggestions from code review
Co-authored-by: Philipp <admin+Github@philipp.info>
2021-11-07 14:02:13 +01:00
Michael cff3dd67b0 "escapeTags" is removed from the addons 2021-11-07 08:49:34 +00:00
Michael 6a349e7fd9 Support for cleared boot.php 2021-11-04 20:32:16 +00:00
Philipp 63fca0af29
Refactoring Core class structures ... 2021-10-26 21:44:28 +02:00
Philipp ae86b2e806
Restructure (P)Config to follow new paradigm 2021-10-23 11:29:15 +02:00
Michael 0bf6612ea3 "log" is replaced with the corresponding logging functions 2021-10-21 06:04:27 +00:00
Tobias Diekershoff 809103d5f0 DE translation of the twitter addon updated 2021-10-10 14:28:40 +02:00
Tobias Diekershoff 86de95f77b added AR translations to the Friendica addons
Thanks to the work of طاهر, Farida Khalaf, محمد أحمد, abidin toumi, Abdullah Alsabi, ButterflyOfFire and ominds the translation of Friendica into Arabic has crossed the magic 50% progress mark, so we now include their work into the addons repository.
2021-10-10 12:55:16 +02:00
Tobias Diekershoff 25ba6023d0 regenerated all the strings 2021-10-10 08:27:53 +02:00
Hypolite Petovan 7cc6f3f4a3 [twitter] Fix typo in API path for unfollowing 2021-10-09 02:05:25 -04:00
Hypolite Petovan d37f779908 [twitter] Mirror the Twitter block behavior concerning established relationships 2021-10-09 02:05:25 -04:00
Hypolite Petovan 52828b2b45 [twitter] Combine POST calls in a single function for centralized logging 2021-10-09 02:05:25 -04:00
Hypolite Petovan 9e5768a8f7 [twitter] Update main translation file after updating a string 2021-10-08 22:25:42 -04:00
Hypolite Petovan 24740d0ba0 [twitter] Fix typo in remote API path for likes 2021-10-08 22:22:26 -04:00
Hypolite Petovan 21efea5b50 [twitter] Update description of autocreate contact option after contact drop feature was removed 2021-10-08 22:22:09 -04:00
Michael 16d7eafd41 More replaced "q" calls 2021-10-07 05:53:16 +00:00
Hypolite Petovan d9e7bab46f [twitter] Comment out remote post deletion currently never triggered 2021-10-03 06:49:41 -04:00
Hypolite Petovan 8de6454c8c [twitter] Add support for block and unblock hooks 2021-10-02 16:54:26 -04:00
Hypolite Petovan dc04c0cfc4 [twitter] Refactor common API calls on posts
- Re-activate post deletion API calls
2021-10-02 16:54:21 -04:00
Hypolite Petovan aec6e2f97e [twitter] Refactor common API calls on contacts 2021-10-02 16:47:38 -04:00
Tobias Diekershoff 8579bde2b6
Merge pull request #1177 from MrPetovan/task/10734-twitter-unfollow
[twitter] Add support for the new support_follow hook
2021-10-02 20:30:44 +02:00
Hypolite Petovan 678878289f
Merge pull request #1170 from nupplaphil/feat/dep_php8
[twitter] Update abraham/twitteroauth dependency
2021-10-02 14:03:36 -04:00
Hypolite Petovan 7a1d3302d0 [twitter] Add support for the new support_follow hook 2021-10-02 11:52:24 -04:00
Michael Vogel 40946a4c08
Merge pull request #1173 from MrPetovan/task/10734-twitter-unfollow
[twitter] Add unfollow hook function
2021-10-02 17:29:01 +02:00
Hypolite Petovan 31dd9f8e22 [twitter] Fix typo, improve formatting in twitter_unfollow() 2021-10-02 11:27:57 -04:00
Michael Vogel eed987f9e1
Update twitter/twitter.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2021-09-28 05:22:01 +02:00
Michael 8ed6469fb9 Issue 10772: Avoid duplicated links to Twitter 2021-09-27 20:29:11 +00:00
Philipp 569e3f4831
[twitter] Update abraham/twitteroauth dependency 2021-09-26 19:52:02 +02:00
Hypolite Petovan 250dafd2b6 [twitter] Add data to the unfollow hook result key 2021-09-26 10:34:31 -04:00
Hypolite Petovan b732cf8968 [twitter] Use existing contact fields instead of guessing in twitter_unfollow
- Add `friendship/destroy` API call result logging
2021-09-26 07:36:49 -04:00
Hypolite Petovan 5769d99478 [twitter] Add unfollow hook function 2021-09-25 16:19:20 -04:00
Philipp f9455b42c7
[twitter] Fix Notice 2021-09-13 20:26:26 +02:00
Philipp adada10eb6
Rename DI::httpRequest() into DI::httpClient() 2021-08-25 21:54:54 +02:00
Hypolite Petovan b74288fa96
Merge pull request #1152 from annando/app-user
Replaced direct calls to App->user
2021-08-09 17:00:24 -04:00
Michael 752602f5f5 "getUserId" is now "getLoggedInUserId" 2021-08-09 20:38:36 +00:00
Michael 9ad7500146 Remove the use of app function 2021-08-08 17:10:04 +00:00
Michael e823a1bd05 Replaced direct calls to App->user 2021-08-08 11:17:08 +00:00
Michael 20bf1c4f24 Changed parameter for delayed posts 2021-08-06 18:52:44 +00:00
Michael ee2a97fa5c Support for simple shortening 2021-07-12 14:10:38 +00:00
Michael b4839e8a37 Fill the header field of the contact with the twitter banner 2021-06-22 15:00:59 +00:00
Michael 72b6898d49 Twitter: Improved logging for the picture upload 2021-06-02 13:13:26 +00:00
Philipp d032800f1e
Catch Twitter Exceptions 2021-05-29 21:14:12 +02:00
Tobias Diekershoff fc8a286af3 correction of wrong DE translation for the twitter addon THX Till Mohr 2021-05-24 08:15:02 +02:00
Michael d14f604049 Twitter: Make incoming posts unlisted 2021-05-24 06:00:23 +00:00
Tobias Diekershoff 573b29195b twitter addon JA translation update THX daingewuvzeevisiddfddd 2021-05-19 08:06:07 +02:00
Michael 85554bb6fd Twitter: Attachments are stripped from the body / Posting connectors: Add attachments to the body 2021-05-01 08:59:14 +00:00
Michael e945869e96 Comment change 2021-04-27 01:05:08 +00:00
Michael 286aa4770f Improve comment 2021-04-26 21:11:33 +00:00
Michael 97f5910de7 Removed commented stuff 2021-04-26 14:12:53 +00:00
Michael c9be3cfa7b Improved media handling 2021-04-26 12:54:40 +00:00
Hypolite Petovan c7528b95b6
Merge pull request #1096 from annando/post-type
Twitter: Setting the "post-type"
2021-04-07 11:43:13 -04:00
Michael 2854e8f363 Twitter: Setting the "post-type" 2021-04-07 12:09:10 +00:00
Tobias Diekershoff f2cb763d86 ES translation of the twitter addon updated THX Senex Petrovic 2021-04-06 06:44:29 +02:00
Tobias Diekershoff 32ab02a1a0 twitter addon HU translation added THX Balázs Úr 2021-03-28 20:28:37 +02:00
Michael Vogel 6b558ca236
Merge pull request #1080 from MrPetovan/task/babel-twitter-url
[twitter] Extract statuses/show in separate function
2021-02-15 07:01:14 +01:00
Hypolite Petovan 7777f08047
Merge pull request #1082 from annando/no-item
All references to the item table had been removed
2021-02-14 11:05:11 -05:00
Michael 05a805398e All references to the item table had been removed 2021-02-14 08:18:02 +00:00
Hypolite Petovan 644418bc4d [twitter] Extract statuses/show in separate function 2021-02-08 02:22:47 -05:00
Hypolite Petovan f0eb29cb90 [twitter] Don't skip URL entity replacement if OEmbed result is unexpected 2021-02-08 02:09:50 -05:00
Tobias Diekershoff 500aab3c53 regenerated all strings.php files from the current translation strings (message.po) 2021-02-01 18:47:38 +01:00
Tobias Diekershoff 7f3704ae54 regenerated messages.po files of the addons 2021-02-01 18:29:42 +01:00
Tobias Diekershoff 5a3bd4d35b Twitter addon translation update EN-US THX Spencer Dub 2021-02-01 06:58:21 +01:00
Michael 61d95f5302 ItemContent is replaced 2021-01-30 23:14:05 +00:00
Michael b4644212d4 "Post" classes are now used instead of "Item" 2021-01-19 09:14:14 +00:00
Michael 1533d9a758 Addons are now using the new post functions 2021-01-17 00:00:32 +00:00
Michael 0417ee39fd Twitter: Set the direction for imported posts 2021-01-11 06:14:22 +00:00
Hypolite Petovan 6a4dd6ed4b
[twitter] Add yet another expected field for thread parent select in twitter_post_hook() 2020-12-28 11:01:38 -05:00
Hypolite Petovan 79b49cbaee [twitter] Add expected field to parent item select in twitter_post_hook()
- Address https://github.com/friendica/friendica/issues/9250#issuecomment-751445732
2020-12-28 04:30:06 -05:00
Hypolite Petovan 7ce00592a2
Merge pull request #1061 from annando/issue-9692
Twitter Issue 9692: Only append Twitter profile links as mentions
2020-12-24 12:02:26 -05:00
Michael e1bbec52bf Twitter Issue 9692: Only append Twitter profile links as mentions 2020-12-24 13:45:27 +00:00
Tobias Diekershoff 2eadb59c1e twitter IT translation THX Sylke Vicious 2020-12-23 21:18:52 +01:00
Michael 0d84a9fbaf Handle "create user" setting 2020-12-13 20:42:51 +00:00
Michael 99e96d8923 Added forgotten uid 2020-12-13 16:40:50 +00:00
Michael fb6207f01f IFTTT/Twitter: Support delayed posts 2020-12-13 13:07:12 +00:00
Michael e0c02c9eb8 Issue 9642: Twitter: Fix posting loop 2020-12-12 23:25:30 +00:00
Michael 3c18a3eedd Simplified code 2020-12-09 05:55:10 +00:00
Michael 47844cf1b1 Twitter: "remote self" posts had been posted with an invalid priority 2020-12-08 21:55:02 +00:00
Michael d5b54f3bb1 Twitter: Posts are now with links again 2020-12-07 13:22:07 +00:00
Michael 98b1d4990b Twitter: improved logging 2020-11-30 21:18:31 +00:00
Michael bf63ef3ea5 Twitter: Avoid fatal error with non-twitter urls 2020-11-28 18:36:00 +00:00
Michael bc2058e21a Twitter: Fix display of reshared posts 2020-11-21 18:55:32 +00:00
Hypolite Petovan 238b972449 [various] Replace confusing uses of item.parent-uri with expected item.thr-parent 2020-11-11 09:42:28 -05:00
Hypolite Petovan 4d49833f8b [twitter] Add support for multiple images in parse_url hook function 2020-11-05 09:34:10 -05:00
Hypolite Petovan d0d2a3269a [twitter] Add expected dimensions in parse_url hook function
- Addresses https://github.com/friendica/friendica/issues/9447#issuecomment-722024085
2020-11-05 01:16:40 -05:00
Michael Vogel ee8564fd06
Merge pull request #1038 from tobiasd/20201025-de
twitter addon DE translation updated
2020-10-25 20:31:16 +01:00
Tobias Diekershoff 5c84835f91 correction of wrong DE translation for the twitter addon 2020-10-25 19:56:48 +01:00
Michael Vogel 1c7b312442
Merge pull request #1037 from MrPetovan/bug/9447-restore-twitter-link-preview
[twitter] Add new parse_link hook function
2020-10-23 08:22:43 +02:00
Hypolite Petovan 5ddcc82951 [twitter] Update base messages.po after adding a translation string 2020-10-23 02:02:07 -04:00
Hypolite Petovan 74cfe72750 [twitter] Add new parse_link hook function
- This will populate the link preview now that OEmbed isn't supported anymore
2020-10-23 02:01:42 -04:00
Michael Vogel 29586d3498
Merge pull request #1032 from nupplaphil/task/psr7_remove_binary
[various] Remove $binary flag for HTTPRequest
2020-10-18 21:19:32 +02:00
Michael c0892ce696 Twitter: Support for real reshares added 2020-10-11 12:19:58 +00:00
Philipp 94b41e0859
Remove $binary flag for HTTPRequest::get(), HTTPRequest::fetch(), HTTPRequest::fetchAll() (deprecated since PHP 5.1.3) 2020-10-10 21:29:27 +02:00
Michael 1848cf79fa Twitter: Offer the disconnect button when the account data is invalid 2020-10-05 06:47:35 +00:00
Tobias Diekershoff 62c6b49782 twitter IT translation THX Sylke Vicious 2020-09-18 07:56:07 +02:00
Michael cc7a1b181c Rearranged order for the "updateAvatar" function 2020-07-25 11:49:44 +00:00
Michael Vogel 2c69a9c359
Merge pull request #1006 from MrPetovan/task/curl_DI
Introduce "HTTPRequest" class
2020-07-25 09:50:01 +02:00
Michael 3f84caeec5 Unneeded "info" messages removed 2020-07-23 03:48:52 +00:00
nupplaPhil 19b2c8d833 Rename "fetchUrl" and "fetchUrlFull" to "fetch" and "fetchFull" 2020-07-21 03:32:23 -04:00
nupplaPhil 90193bd02b Move "HTTPRequest::finalUrl" dynamic 2020-07-21 03:31:48 -04:00
nupplaPhil f36ca4fcf4 Move "Network::finalUrl" to "HTTPRequest" class 2020-07-21 03:31:16 -04:00