f813183fcf
[twitter] Valid post body can be empty
2022-07-09 17:40:56 -04:00
6822079a03
[twitter] Add logging for error conditions in twitter_fetchtimeline()
2022-07-03 11:40:59 -04:00
06b15a6ed0
Changes:
...
- added missing type-hints
- avoided local variables
- added some documentation
- changed double-quotes to single
2022-06-30 13:33:22 +02:00
3ab46781b1
Changes:
...
- if a <addon>_module() function is empty, it is more a statement and not a
real function
2022-06-24 23:35:16 +02:00
6c84c9dfc9
Changes:
...
- made variable $uriId camel-case
2022-06-23 16:04:54 +02:00
04df7f6e05
Changes:
...
- added more type-hints
- cleaned up some files (curly braces, spaces)
2022-06-23 07:17:00 +02:00
07307823ca
Changed more double-quotes to single
2022-06-22 18:55:48 +02:00
b1b26062fc
Images::getInfoFromURL[Cached]() will both return empty arrays on error and that needs to be reflected here, too.
2022-06-22 17:20:11 +02:00
c71e29a772
Twitter: Only search for comments with extid to avoid problems with mirrored posts
2022-06-02 13:16:45 +00:00
d886aac0e3
[twitter] Update unfollow and block hook functions after parameters have changed
2022-02-23 10:42:14 -05:00
fd2fb29568
Use the owner-id at another place
2022-02-02 22:30:54 +00:00
a1a3322968
Twitter: Assign contacts via their twitter id - not via their url
2022-02-02 22:12:08 +00:00
d527848dfc
Merge remote-tracking branch 'upstream/2021.12-rc' into avatar
2022-01-30 19:00:14 +00:00
00ac39e941
Birdavatar: Fix log function / Twitter: Fix avatar address
2022-01-30 17:47:42 +00:00
e46bff23d5
[twitter] Abort follow process on API call failure
...
- Prevents users without a connected Twitter account from visibly following a Twitter contact
2022-01-07 12:34:28 +01:00
9acfdb4090
[various] Convert connector_settings hook functions to the new data array format
...
- Add separate template files to several addons
- Remove superfluous addon settings CSS files
2021-11-29 06:55:16 -05:00
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
93e5d97fdd
[twitter] Add item_by_link hook function
2021-11-23 17:52:52 -05:00
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
cff3dd67b0
"escapeTags" is removed from the addons
2021-11-07 08:49:34 +00:00
6a349e7fd9
Support for cleared boot.php
2021-11-04 20:32:16 +00:00
63fca0af29
Refactoring Core class structures ...
2021-10-26 21:44:28 +02:00
ae86b2e806
Restructure (P)Config to follow new paradigm
2021-10-23 11:29:15 +02:00
0bf6612ea3
"log" is replaced with the corresponding logging functions
2021-10-21 06:04:27 +00:00
7cc6f3f4a3
[twitter] Fix typo in API path for unfollowing
2021-10-09 02:05:25 -04:00
d37f779908
[twitter] Mirror the Twitter block behavior concerning established relationships
2021-10-09 02:05:25 -04:00
52828b2b45
[twitter] Combine POST calls in a single function for centralized logging
2021-10-09 02:05:25 -04:00
24740d0ba0
[twitter] Fix typo in remote API path for likes
2021-10-08 22:22:26 -04:00
21efea5b50
[twitter] Update description of autocreate contact option after contact drop feature was removed
2021-10-08 22:22:09 -04:00
16d7eafd41
More replaced "q" calls
2021-10-07 05:53:16 +00:00
d9e7bab46f
[twitter] Comment out remote post deletion currently never triggered
2021-10-03 06:49:41 -04:00
8de6454c8c
[twitter] Add support for block and unblock hooks
2021-10-02 16:54:26 -04:00
dc04c0cfc4
[twitter] Refactor common API calls on posts
...
- Re-activate post deletion API calls
2021-10-02 16:54:21 -04:00
aec6e2f97e
[twitter] Refactor common API calls on contacts
2021-10-02 16:47:38 -04:00
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
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
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
8ed6469fb9
Issue 10772: Avoid duplicated links to Twitter
2021-09-27 20:29:11 +00:00
250dafd2b6
[twitter] Add data to the unfollow hook result key
2021-09-26 10:34:31 -04:00
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
5769d99478
[twitter] Add unfollow hook function
2021-09-25 16:19:20 -04:00
f9455b42c7
[twitter] Fix Notice
2021-09-13 20:26:26 +02:00
adada10eb6
Rename DI::httpRequest() into DI::httpClient()
2021-08-25 21:54:54 +02:00
b74288fa96
Merge pull request #1152 from annando/app-user
...
Replaced direct calls to App->user
2021-08-09 17:00:24 -04:00
752602f5f5
"getUserId" is now "getLoggedInUserId"
2021-08-09 20:38:36 +00:00
9ad7500146
Remove the use of app function
2021-08-08 17:10:04 +00:00