Commit graph

358 commits

Author SHA1 Message Date
b3236d69a1 Twitter: Code for aending media to Twitter has been optimised 2018-04-02 05:42:33 +00:00
fb84ca7c7f twitter PL translation 2018-04-01 18:17:21 +02:00
34ee3b9a28 Improved timeout values/Posting local files 2018-03-31 18:55:17 +00:00
c7aac4178c Handle exception when posting pictures to twitter 2018-03-31 06:03:56 +00:00
fabrixxm
bfd8e37fb8 Update IT strings 2018-03-19 21:28:00 +01:00
f6b3e9058d updated DE translation of the Twitter addon 2018-02-10 18:44:07 +01:00
297a4ff92f regen twitter messages.po file for new strings from #521 2018-02-08 07:09:48 +01:00
d83dbb3172
Merge pull request #521 from MrPetovan/bug/4409-twitter-exception
[twitter] Add Exception handling/Fix OAuth usage
2018-02-08 07:07:06 +01:00
Hypolite Petovan
471b3788eb [twitter] Perform mention/hashtags replacements before expanding links
- Move mention/hashtags replacement out of URL existence check
2018-02-07 22:43:22 -05:00
Hypolite Petovan
91a9d5e2ef [twitter] Remove unused function parameter in twitter_expand_entities
- Remove duplicate assignment to $tags
2018-02-07 22:42:27 -05:00
Hypolite Petovan
afae967c5d [twitter] Add POST parameter checks
- Add Exception handling
2018-02-07 20:20:42 -05:00
Hypolite Petovan
760abd8694 [twitter] Fix TwitterOauth library usage
- Use array result instead of object
2018-02-07 20:20:06 -05:00
8b049a96bd Direct calls to the database are replace by class calls to the item class 2018-02-06 14:24:24 +00:00
Hypolite Petovan
1900da6c42 Move Temporal::convert() to DateTimeFormat::convert() 2018-02-03 11:40:39 -05:00
Hypolite Petovan
cbc89d147d Add Temporal::utc() shorthand to Temporal::convert() 2018-02-03 11:40:39 -05:00
Hypolite Petovan
e4f32f8ac8 Add Temporal::utcNow() 2018-02-03 11:40:38 -05:00
Hypolite Petovan
6d23de1bdb Add Temporal::MYSQL constant 2018-02-03 11:40:38 -05:00
Hypolite Petovan
b24690e8df Refactor datetime_convert() into Temporal::convert() 2018-02-03 11:40:38 -05:00
633c54d642 Quit if twitter addon is not configured 2018-01-30 18:52:06 +00:00
Hypolite Petovan
3a9612fb35
Upgrade yet more calls with TwitterOAuth 2018-01-29 10:42:12 -05:00
Hypolite Petovan
de10d06e26 Upgrade TwitterOAuth calls in twitter addon 2018-01-29 08:15:43 -05:00
Michael Vogel
ffa36da2c9
Merge pull request #505 from MrPetovan/task/4116-move-twitteroauth-to-composer
Move TwitterOAuth to composer Part 1: Twitter
2018-01-28 19:19:03 +01:00
Hypolite Petovan
d18bb44f8a Add explicit dependencies to twitter addon 2018-01-28 12:17:19 -05:00
Hypolite Petovan
01738518a2 Fix wrong variable name in twitter addon 2018-01-28 11:41:58 -05:00
229b21d7b2 New methods in item class 2018-01-28 11:19:38 +00:00
Hypolite Petovan
c0836419b7 Update Twitter addon documentation, file comment
- Fix formatting
2018-01-27 23:20:09 -05:00
Hypolite Petovan
75d5fbbc70 Update Twitter addon
- Replace Codebird with latest version of TwitterOAuth from addon vendor
- Remove references to library/twitteroauth.php, include/bbcode.php and
addon/twitter/codebird.php
- Remove unused obsolete cacert.pem
2018-01-27 23:12:04 -05:00
Adam Magness
f151406355 Review updates
update renamed and moved functions
2018-01-27 11:23:04 -05:00
Adam Magness
ca3c45101e Network was moved to src
update all function calls to use class, insert use statements and remove require_once statements
2018-01-27 08:52:02 -05:00
Adam Magness
9e3ebd61a2 Method moved to Plaintext
the shorten method moved to Plaintext class
2018-01-26 20:30:38 -05:00
Adam Magness
9c9088069a Plaintext was renamed to BBCode
update class name
2018-01-26 20:04:00 -05:00
Adam Magness
7b95efedd1 Update function calls
update function calls and remove require_once
2018-01-26 19:26:37 -05:00
Adam Magness
f8c162cbfb Update t() calls
Update all t() calls.
2018-01-22 18:09:05 -05:00
Adam Magness
6d88e63f60 Bug fix for Twitter
remove references and update functions of removed queue_fn
2018-01-22 17:52:51 -05:00
Adam Magness
96c41e5623 Update strings
update strings to contain addon
2018-01-20 11:01:59 -05:00
Adam Magness
c71f7b0e1a Update function names
update function names and hook calls
2018-01-20 08:57:41 -05:00
Adam Magness
0afd633346 Addon class
plugin moved to Addon src class
2018-01-19 07:20:17 -05:00
Hypolite Petovan
27b60e003f Use short form array syntax everywhere 2018-01-15 08:15:33 -05:00
Hypolite Petovan
a66a4959f5 Rename selectOne to selectFirst 2018-01-10 08:37:11 -05:00
Hypolite Petovan
ca6e477701 Replace dba::select(limit => 1) by dba::selectOne() 2018-01-09 22:27:30 -05:00
Hypolite Petovan
a2f9fb07e4 Fix typo in translation string in twitter 2018-01-05 08:23:09 -05:00
Hypolite Petovan
308ba3ce8c Improve Twitter settings display
- Use template instead of manual HTML
2018-01-05 02:53:24 -05:00
Michael Vogel
007cbc881e
Merge pull request #483 from MrPetovan/task/fix-scrutinizer-issues
Fix unused code in buffer, statusnet and twitter
2018-01-04 20:59:43 +01:00
Michael Vogel
7dcfa83312
Merge pull request #480 from MrPetovan/task/4092-move-auth-to-src
Move auth to src
2018-01-04 18:43:46 +01:00
Hypolite Petovan
ba96796363 Fix unused code in buffer, statusnet and twitter
- Remove unused argument in plaintext()
2018-01-04 12:15:53 -05:00
Hypolite Petovan
bfc8ede4e8 Use Content\OEmbed
- Remove references to include/oembed
2017-12-31 21:06:03 -05:00
Hypolite Petovan
575a285951 Use Login module
- Simplify goaway calls
2017-12-31 21:04:02 -05:00
Hypolite Petovan
6e6f64a537 Remove references to include/group.php 2017-12-09 13:50:44 -05:00
Hypolite Petovan
2dc299ff17 Use new Model methods for group 2017-12-09 13:50:29 -05:00
Hypolite Petovan
31823eb729
Revert "Revert "Move objects to src"" 2017-12-08 00:18:01 -05:00
Michael Vogel
cf45cafea2
Revert "Move objects to src" 2017-12-08 05:24:41 +01:00
Hypolite Petovan
6ca14b4678 Reformatting of Twitter 2017-12-07 20:47:53 -05:00
Hypolite Petovan
34396fedfe Move Objects to Model
- Object\Photo -> Object\Image and Model\Photo
- Object\Contact -> Model\Contact
- Model\GlobalContact -> Model\GContact
2017-12-07 20:16:42 -05:00
f8d9efe8c7 some files were executable, now they are not 2017-12-07 14:26:26 +01:00
56bc1bae18 Some more old photos ... 2017-12-02 08:03:59 +00:00
e8975125cf Some includes hadn't been removed 2017-12-01 22:37:46 +00:00
Adam Magness
7b6bc4777c Updates
Updates from review changes to main friendica project
2017-11-29 17:38:05 -05:00
Adam Magness
30fa9ac76c Photo to namespace
updates for Photo class moving to Friendica\Object namespace.
2017-11-29 12:38:39 -05:00
Adam Magness
f8c3da0ab3 Readme
we allow 280 characters.
2017-11-26 08:31:19 -05:00
b3d73b1255 Publiv forum posts aren't transmitted via the connectors anymore 2017-11-25 23:56:18 +00:00
Adam Magness
b638efe8f9 GContact renamed
Rename and update references for GlobalContact
2017-11-13 12:20:30 -05:00
Adam Magness
9c618c80af Review updates
changes from review for function name changes.
2017-11-13 01:52:26 -05:00
Adam Magness
7be5dd110c GContact moved to src
Update references to socgraph to GContact namespace functions. Related to https://github.com/friendica/friendica/issues/3878
2017-11-12 23:33:14 -05:00
Hypolite Petovan
42eefed6e6
Merge pull request #445 from annando/new-worker
Support for the new worker class
2017-11-10 14:49:54 -05:00
6942fe1e28 del_pconfig -> PConfig::delete 2017-11-08 06:59:33 +01:00
2effabed63 Twitter just went to the 280 character limit. 2017-11-07 22:44:39 +00:00
Adam Magness
718f739df2 PConfig update
updates to use PConfig::load()
2017-11-07 11:10:01 -05:00
Adam Magness
9a8b0948b8 Review Updates
Removed errant change to logger text
2017-11-07 06:51:46 -05:00
Adam Magness
48dcbc6f3f Issue 3873
Replace deprecated functions with new syntax
2017-11-06 18:55:24 -05:00
3d907bfc53 Support for the new worker class 2017-11-05 15:07:52 +00:00
936afb42c4 Removed deprecated addons 2017-10-19 06:40:00 +00:00
18784a484b Additional work for PR 3778 2017-10-12 16:10:42 +00:00
642ab7f76f "remote self" should work now with the addons 2017-09-06 16:16:33 +00:00
c431befd8e There is only the worker left, so we can remove some old stuff 2017-06-21 12:03:06 +00:00
Hypolite Petovan
8fa3f2415a Replace and/AND and or/OR by && and || 2017-06-08 21:20:27 -04:00
1cd8289a92 Merge pull request #414 from Hypolite/improvement/move-app-to-src
Move app to src
2017-06-06 12:31:39 +02:00
fc5ba4ee15 We delete now with dba::delete - if available 2017-05-13 03:28:33 +00:00
Hypolite Petovan
0111149248 Add use Friendica\App to addons 2017-04-30 19:40:55 -04:00
ac09d8cef9 RU translation of twitter addon THX pztrn 2017-04-09 07:47:49 +02:00
12994aaccd Deprecated parts removed 2017-03-09 06:58:36 +00:00
bacb6b379b Standards 2016-12-28 03:28:26 +00:00
9f18d7e6de Twitter: The sync process is split into several short processes 2016-12-25 23:39:23 +00:00
0eb9a106df Merge remote-tracking branch 'upstream/master' into 1612-twitter-media 2016-12-13 08:57:45 +00:00
d48e8bd0a9 Twitter: Post links with pictures if available 2016-12-13 08:57:03 +00:00
94de3b751e Twitter: Mirrored retweets sometimes were empty 2016-12-12 23:40:28 +00:00
c0edd9eca8 Remove some comments 2016-12-10 11:17:26 +00:00
cb4b8b5184 Passthrough some more fields 2016-12-10 11:15:37 +00:00
02cbdc6dec Clean up the code 2016-12-10 08:14:14 +00:00
23a40fffd5 Improvement for posts with more than one media entity 2016-12-10 08:07:59 +00:00
9082f4c437 Twitter: Videos are embedded, mirrored posts are improved 2016-12-10 07:15:00 +00:00
91e2563cd1 Twitter: We now support quotes and long posts 2016-12-09 09:59:08 +00:00
b59c0e54a8 The URI of mirrored posts are now looking more standard 2016-11-15 06:36:52 +00:00
24638894a6 Merge pull request #382 from annando/1603-fromgplus-keywords
Google+/Twitter/GNU Social: Prevent posting loops when mirroring posts
2016-11-12 18:56:41 +01:00
dea5b33632 Prevent posting loops 2016-11-07 05:23:19 +00:00
71f988d1bf ES update to the translations THX Athalbert 2016-10-11 08:35:46 +02:00
aa8c44dcc8 some more PT BR translations THX Beatriz Vital 2016-08-23 07:46:05 +02:00
3844124d9c PT BR update translations for Twitter, qcomment and OpenStreetmap THX Beatriz Vital 2016-08-19 12:29:10 +02:00
Michael Vogel
cc0669a745 Twitter: Prevent posting loops 2016-07-11 06:44:36 +02:00
Michael Vogel
2baf1090c3 Pumpio now has a better contact management 2016-07-02 11:22:31 +02:00
Michael Vogel
91757d72d8 App.net/Pump.io/GNU Social/Twitter: Support for new notifications 2016-02-13 13:44:57 +01:00
Michael Vogel
bed435d76a Updated function call for updating the global contacts. 2016-01-06 15:10:22 +01:00
Michael Vogel
3b54203d80 The gcontact table will now be filled instead of the unique_contacts 2016-01-05 15:35:49 +01:00
Michael Vogel
4f5390c09e Needed changes for a changed core function 2015-12-05 02:02:13 +01:00
Michael Vogel
bf52de030f Updated addon descriptions and readme files for several addons. 2015-11-14 09:22:32 +01:00
effdb6c946 Merge pull request #302 from annando/1409-twitter-destroy
Twitter: The destroy command generates an error
2015-09-13 10:31:28 +02:00
Michael Vogel
5faa804313 Twitter: The destroy command generates an error. So it is deactivated by now 2015-09-13 08:31:47 +02:00
09ba184198 FR update to the addon translations 2015-08-31 18:56:09 +02:00
797ee03eb8 IT update to the addon translations 2015-08-31 18:52:41 +02:00
ed699d8ef4 FR translation update for buffer, editplain, gravatar, jappixmini, langfilter, libertree, mailstream, piwik and twitter addons 2015-07-28 07:57:08 +02:00
Johannes Schwab
86fcb99536 fetch parent posts 2015-07-19 12:37:58 +02:00
Johannes Schwab
ca7d448aa5 skip duplicate posts when importing hometimeline 2015-07-19 12:37:58 +02:00
Michael Vogel
bcd20d5763 The "id" field is now filled in the notifications. This is needed for the new condensed notifications. 2015-04-26 14:43:42 +02:00
Michael Vogel
e98c299cd2 Support for new "share_header" function 2015-04-06 14:04:40 +02:00
4533ed9a34 updating the addon translations, missed some files due missing git fu 2015-04-03 13:17:32 +02:00
Michael Vogel
6370953286 The settings for the application name are removed since they will be filled automatically. 2015-03-22 09:26:18 +01:00
Michael Vogel
584f58e573 Improved loop detection for Google+, Pump.io, Twitter and GNU Social 2015-03-22 08:55:45 +01:00
Michael Vogel
4769c81e26 GNU Social, Pump.io, Twitter: Improved check for posts that originally come from friendica to prevent mirroring them. 2015-02-08 10:48:04 +01:00
Silke Meyer
6ed3e88f9d Made the help text more precise 2015-02-06 13:50:08 +01:00
Michael Vogel
a8a37ee6fc app.net, acebook, pumpio, statusnet, twitter: Support for the new database fields in contact and unique_contacts. 2015-01-09 07:07:07 +01:00
Michael Vogel
9e9916a8d5 Use the original application name when mirroring posts. 2014-11-07 20:06:51 +01:00
Michael Vogel
39cc0fe4cb Bugfix: Sometimes it happened that the own contact data was deleted. This was caused by the statusnet connector. 2014-10-19 00:05:06 +02:00
1038ae0174 IT: imported translations 2014-09-14 22:01:44 +02:00
e60a9e61fd Merge pull request #211 from tobiasd/20140622
get translations from transifex over here
2014-09-06 23:27:31 +02:00
a79ca033f4 fixing a problem with automatization ;-) 2014-09-06 18:27:03 +02:00
214e7d9b1c CS: added translation from transifex 2014-09-06 17:59:46 +02:00
951f9dc006 RO: added translation for the addons from transifex 2014-09-06 17:58:41 +02:00
f6460497e3 DE: added translations for the addons from transifex 2014-09-06 17:56:57 +02:00
Michael Vogel
fc7c03b181 Twitter: Fetching avatar pictures in higher resolution 2014-08-25 23:43:04 +02:00
Michael Vogel
23490bda0a appnet, fbsync, statusnet and twitter: Now a parent is provided in the notifications so threading of the mails will work. 2014-08-21 01:02:13 +02:00
Michael Vogel
3ec6970d09 The GUID in the link to the items has to be encoded, since it could contain special characters 2014-08-09 09:13:13 +02:00
Michael Vogel
24de6d38a9 appnet/statusnet/twitter: Better detection for removable links. 2014-07-27 22:04:04 +02:00
Michael Vogel
c95f70d449 appnet, fbsync, pumpio, statusnet, twitter: Setting the object-type according to the posting
Bugfix for replies from pumpio to pictures.
2014-07-22 00:40:02 +02:00
Michael Vogel
c3538fb538 Twitter/Statusnet: Use "RD" and "RT" for repeated messages. 2014-07-09 23:35:28 +02:00
Michael Vogel
9177ee2ecb app.net, facebook, twitter and statusnet: Preview now shows the post like it will appear on other networks. 2014-07-09 22:31:52 +02:00
Michael Vogel
0a6d1f9e49 app.net, pump.io, statusnet, twitter: There were situations, when contacts were added by mistake. 2014-06-25 01:20:04 +02:00
Michael Vogel
ca0fcebc15 The tempory path is now fetched from a new function (that ensures that the value is set correctly) 2014-06-23 22:35:00 +02:00
Michael Vogel
d3e6c17108 Twitter: if there is an embedded picture and a link, then use this picture for the link information. 2014-06-15 23:34:51 +02:00
Michael Vogel
ca9bd8b877 Removing blanks with tabs 2014-06-10 20:13:11 +02:00
Michael Vogel
b5869e7961 Facebook: First changes to make the connector maybe work with the second version of the Facebook API
Twitter/Facebook: New functions for expiring of imported posts from twitter and facebook.
2014-06-05 17:45:13 +02:00
Michael Vogel
2284e21c0a Re-enabling a once stopped mirroring now doesn't flood the timeline with old posts anymore. 2014-05-29 22:10:54 +02:00
Michael Vogel
021d6265cd Massive reworking of the export connectors using the plaintext function, improving of the tumblr export, option to prevent too short wordpress postings 2014-05-29 12:42:25 +02:00
Michael Vogel
2e96c60a47 Reduce the opacity of the network settings icon when disabled. 2014-04-24 16:18:36 +02:00
Michael Vogel
e97a64a735 The connector settings are now with logo. 2014-04-24 10:33:16 +02:00
Michael Vogel
7f37e843c7 The function for fetching the original url is removed from the addons and added to the core. 2014-04-04 11:13:39 +02:00
Michael Vogel
503ec7d072 Removed the word "Settings" from the settings. This information is redundant. 2014-03-16 20:50:36 +01:00
Michael Vogel
1754b58cd9 Added function "bb_CleanPictureLinks" ro all connectors 2014-03-02 01:42:19 +01:00
Michael Vogel
823b812cce Changing the bbcode conversion since that sometimes lead to missing links 2014-02-02 10:04:31 +01:00
Michael Vogel
bbc8a1328d pumpio, statusnet, tumblr, twitter, wordpress: Changed the way, shares are displayed
twitter: Look for the entities when importing tweets.
2014-01-26 09:53:12 +01:00
Michael Vogel
a5ad8f947b twitter: Repeating twitter items now does a native twitter retweet 2013-12-29 17:49:29 +01:00
Michael Vogel
5eb18422c4 Support of "unique contacts" for the new API 2013-12-27 02:02:48 +01:00