Commit Graph

469 Commits (ba94368482577595f82bc81f694e198ce3cd7402)

Author SHA1 Message Date
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
Michael 2854e8f363 Twitter: Setting the "post-type" 2021-04-07 12:09:10 +00: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
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
Michael e1bbec52bf Twitter Issue 9692: Only append Twitter profile links as mentions 2020-12-24 13:45:27 +00: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 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 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
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
nupplaPhil 40ff1d7fda Make "HTTPRequest::fetchUrl" dynamic 2020-07-21 03:30:37 -04:00
nupplaPhil 9640142a72 Move post/curl/fetchUrl/fetchUrlFull to own class "Network\HTTPRequest" 2020-07-21 03:27:52 -04:00
Hypolite Petovan a80e9154c5 [various] Rename PageInfo::appendToBody to searchAndAppendToBody 2020-07-18 11:38:11 -04:00
Michael f7cb9b3b81 Changed default value for "getIDForURL" 2020-07-16 15:44:32 +00:00
Hypolite Petovan b5f14cb559 [various] Replace *_page_info function calls with Content\PageInfo equivalent 2020-07-14 10:17:17 -04:00
Hypolite Petovan 18bb5e4992 [twitter] Fix media upload failure logging
- Address https://github.com/friendica/friendica/issues/8473#issuecomment-653332270
2020-07-03 11:06:40 -04:00
Hypolite Petovan 44bf674727 [twitter] Improve mobile profile URL probe 2020-06-24 21:29:44 -04:00
Michael Vogel 94c658b105
Merge pull request #990 from MrPetovan/task/share-block-guid
[various] Update getShareOpeningTag::getShareOpeningTag method signature
2020-06-23 21:26:02 +02:00
Hypolite Petovan ef21c83037 [twitter] Fix return value of twitter_user_to_contact()
- Simplify check in twitter_fetch_own_contact()
2020-06-21 16:33:18 -04:00
Hypolite Petovan b07e4bd59c [twitter] Add HTTP error code handling 2020-06-21 16:32:37 -04:00
Hypolite Petovan 9d2c8902d3 [twitter] Improve logging for actions 2020-06-21 16:14:08 -04:00
Hypolite Petovan c720acbd8d [twitter] Update getShareOpeningTag::getShareOpeningTag method signature 2020-06-21 09:48:53 -04:00
Hypolite Petovan a23908723a [twitter] Replace share_header calls with BBCode::getShareOpeningTag 2020-06-18 11:25:06 -04:00
Michael Vogel 86179eb3f4
Merge pull request #986 from MrPetovan/task/twitter-ass-probe-detect-hook
[twitter] Add probe_detect hook function
2020-06-08 08:37:26 +02:00
Hypolite Petovan 6ce762010e [twitter] Fix contact image handling in twitter_fetch_contact 2020-06-07 16:49:47 -04:00
Hypolite Petovan 03c2a30991 [twitter] Add a link to the quoted tweet when we don't add a share block 2020-06-06 19:27:50 -04:00
Hypolite Petovan 2081ee6040 [twitter] Add probe_detect hook function 2020-06-06 15:05:55 -04:00
Michael 351ff48ef8 Twitter: set the baseurl and the gsid 2020-05-23 17:51:41 +00:00
Michael b406d737b5 Replacing numberic values with constants for the BBCode conversion 2020-05-16 16:48:08 +00:00
Michael Vogel 59cfb05c3a
Merge pull request #980 from annando/item-insert
Self merging, since @MrPetovan approved it - and it would otherwise create issues when not merged now.
2020-05-14 09:59:40 +02:00
Hypolite Petovan 5e397ad580 [twitter] Remove references to obsolete virtual field item.tag 2020-05-13 22:40:02 -04:00
Michael 00b1f69b7e Removed parameter from item::insert 2020-05-13 19:29:33 +00:00
Michael Vogel 4486c7bfd5
Update twitter/twitter.php
Co-Authored-By: Hypolite Petovan <hypolite@mrpetovan.com>
2020-04-25 23:23:57 +02:00
Michael 45e1dff8fd Added documentation 2020-04-25 18:21:31 +00:00
Michael 3814219b0c Twitter: Storing tags the new way 2020-04-25 17:56:14 +00:00
Hypolite Petovan 079e56fb1c [twitter] Use correct variable name for emptiness test in twitter_convert_share() 2020-04-04 12:36:33 -04:00
Tobias Diekershoff cb34593770
Merge pull request #973 from annando/notices
Fixing some notices
2020-04-04 15:31:13 +02:00
Michael 225243645e Fixing some notices 2020-04-04 11:15:13 +00:00
Hypolite Petovan 1df61e8dc2 [twitter] Rework twitter_expand_entities
- Uses Twitter-provided entity indices to avoid blanket string replacement and unwarranted tag search
2020-03-30 10:49:06 -04:00
Hypolite Petovan ceff17469c [twitter] Add logging to item deletion 2020-03-10 18:55:55 -04:00
Michael 09bb49eef5 Twitter: Fetch the contact relation 2020-03-06 05:52:40 +00:00
nupplaPhil 65e4726718
Remove unneeded Config namespace usages 2020-01-19 22:50:43 +01:00
nupplaPhil 75143e27b5
Move Config::set() to DI::config()->set() 2020-01-19 21:21:52 +01:00
nupplaPhil 1ce63185ab
Move Config::get() to DI::config()->get() 2020-01-19 21:21:12 +01:00
nupplaPhil f2fc22227a
cleanup namespace usages for L10n 2020-01-19 16:31:47 +01:00
nupplaPhil 48fecb9a40
Move L10n::t() calls to DI::l10n()->t() calls 2020-01-19 16:31:46 +01:00
nupplaPhil a26bfe79e9
Remove unused `use` statements & remove PConfig class 2020-01-18 17:02:59 +01:00
nupplaPhil 346bf125a7
Move PConfig::delete() to DI::pConfig()->delete() 2020-01-18 16:56:45 +01:00
nupplaPhil febc835a2d
Move PConfig::set() to DI::pConfig()->set() 2020-01-18 16:54:49 +01:00
nupplaPhil ea3a9052d8
Move PConfig::get() to DI::pConfig()->get() 2020-01-18 16:50:56 +01:00
nupplaPhil 2a35176588
Move PConfig::load() to DI::pConfig()->load() 2020-01-18 15:59:01 +01:00
nupplaPhil 2ca621a92a
Replace deprecated $a->page with DI::page() 2019-12-30 20:02:08 +01:00
nupplaPhil 335fcf670f
Remove deprecated App::getBaseURL() - process methods to DI::baseUrl()->get() 2019-12-27 21:55:17 +01:00
nupplaPhil 0775c28854
Remove deprecated App::getHostName() - process methods to DI::baseUrl()->getHostName() 2019-12-27 21:55:16 +01:00
nupplaPhil 99db3452e3
Refactor deprecated App::internalRedirect() to DI::baseUrl()->redirect() 2019-12-27 21:55:16 +01:00
Hypolite Petovan 4f545974da Move Object\Image static methods to Util\Images 2019-11-01 21:24:47 -04:00
Hypolite Petovan 37e19d0c14
Merge pull request #907 from annando/twitter-logging
Added logging to twitter addon
2019-10-31 14:50:40 -04:00
Michael d53d690f0d Added logging to twitter addon 2019-10-26 18:31:45 +00:00
Philipp Holzer 9bd0609625
Add docs 2019-10-25 00:10:19 +02:00
Philipp Holzer 46bccdc9e0
Move Activity/Namespaces defines to constants 2019-10-24 00:25:42 +02:00
Michael e2c7578734 Fix notice in Twitter addon 2019-09-21 14:53:54 +00:00
Michael 14c6474980 Twitter: Better respect "create user" setting 2019-09-16 04:08:50 +00:00
Hypolite Petovan e7d054c6d5 [twitter] Add quoted tweet URL if its body is unavailable (blocked, muted, deleted) 2019-09-12 21:48:02 -04:00
Philipp Holzer 4ab75e2e8c
Check twitter details before showing it 2019-09-03 18:37:27 +02:00
Philipp Holzer 0822bb59a3
php notice fixings
addons:
- bufferapp (missing errorcode)
- twitter (wrong field name 'nickname')
core:
- bbcode (incomplete attachementdata)
- crypto (uninitialized key)
2019-08-27 08:27:06 +02:00
Michael f3804ee7dd Array instead of a string 2019-08-06 22:08:21 +00:00
Michael e214c21025 Support for multiple picture posts 2019-08-06 05:41:49 +00:00
Michael 20ed3495b2 We now use the master branch of codebird 2019-08-04 12:16:56 +00:00
Michael 81addd92da Twitter: Import picture description 2019-07-29 15:51:33 +00:00