Commit graph

556 commits

Author SHA1 Message Date
Tobias Diekershoff f5ea9f14e2 DE translation of the twitter addon updated 2021-11-27 18:26:06 +01:00
Hypolite Petovan f90b9c6c86 [twitter] Updated main translation file after adding some strings 2021-11-23 18:33:50 -05:00
Hypolite Petovan 86a204af7d [twitter] Add support for unretweet and post/comment deletion
Remaining caveat: Comments posted on Twitter and imported in Friendica do not trigger any Notifier task, possibly because they are private to the user and don't require any remote deletion notifications sent. Comments posted on Friendica and mirrored on Twitter trigger the Notifier task and the Twitter counter-part will be deleted accordingly.
2021-11-23 17:59:08 -05:00
Hypolite Petovan 93e5d97fdd [twitter] Add item_by_link hook function 2021-11-23 17:52:52 -05:00
Hypolite Petovan 2f2b75ba50 [twitter] Improve probe_detect hook function
- Prevent tweet URLs to be considered as contact URLs
2021-11-23 17:51:12 -05:00
Steffen K9 c57c1de3d4
Fix WSOD twitter 2021-11-07 16:19:53 +01:00
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 Holzer 63fca0af29
Refactoring Core class structures ... 2021-10-26 21:44:28 +02:00
Philipp Holzer 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 Holzer 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 Holzer f9455b42c7
[twitter] Fix Notice 2021-09-13 20:26:26 +02:00
Philipp Holzer 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 Holzer 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