Commit graph

256 commits

Author SHA1 Message Date
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
3e141d268e Fix formatting 2018-01-09 22:27:40 -05:00
Hypolite Petovan
ca6e477701 Replace dba::select(limit => 1) by dba::selectOne() 2018-01-09 22:27:30 -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
7857d1e4a0 Massive reformatting of StatusNet
- Fixed unreachable code line 1550
- Renamed the relevant use statements
2017-12-07 20:47:23 -05:00
Michael
56bc1bae18 Some more old photos ... 2017-12-02 08:03:59 +00:00
Adam Magness
30fa9ac76c Photo to namespace
updates for Photo class moving to Friendica\Object namespace.
2017-11-29 12:38:39 -05:00
Michael
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
Tobias Diekershoff
64369ebfa4 use pconfig::delete in gnusocial addon 2017-11-11 07:22:24 +01:00
Adam Magness
718f739df2 PConfig update
updates to use PConfig::load()
2017-11-07 11:10:01 -05:00
Adam Magness
48dcbc6f3f Issue 3873
Replace deprecated functions with new syntax
2017-11-06 18:55:24 -05:00
Michael
642ab7f76f "remote self" should work now with the addons 2017-09-06 16:16:33 +00:00
Hypolite Petovan
8fa3f2415a Replace and/AND and or/OR by && and || 2017-06-08 21:20:27 -04:00
Michael
12994aaccd Deprecated parts removed 2017-03-09 06:58:36 +00:00
Michael
b59c0e54a8 The URI of mirrored posts are now looking more standard 2016-11-15 06:36:52 +00:00
Michael
dea5b33632 Prevent posting loops 2016-11-07 05:23:19 +00: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
37094047a1 Bugfix: The Statusnet connector destroyed the avatar and the name 2015-11-28 19:33:41 +01:00
Michael Vogel
bf52de030f Updated addon descriptions and readme files for several addons. 2015-11-14 09:22:32 +01:00
Michael Vogel
f453561594 Statusnet is now GNU Social (but Raider is still Twix) 2015-07-12 21:43:59 +02:00
Michael Vogel
708c670ee4 New option to fetch only mentions. 2015-05-31 23:11:21 +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
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
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
tobiasd
d0d23ec2b6 Merge pull request #222 from annando/1410-deleted-contact-data
Bugfix: deleted contact data
2014-10-19 10:09:18 +02: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
Michael Vogel
d9f0102094 The changed error handling hadn't behaved like expected. 2014-10-14 19:01:26 +02:00
Michael Vogel
467f1f00f2 Statusnet: Improved error handling 2014-10-13 20:49:46 +02:00
Michael Vogel
9c16c8e5f9 statusnet: Bugfixes: Repeated messages weren't always displayed correctly. When answering to posts, sometimes wrong nicknames were used. 2014-08-25 14:19:41 +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
tobiasd
fb14c7094c Merge pull request #203 from annando/master
app.net, facebook, twitter and statusnet: Preview now shows the post like it will appear on other networks/Better contact handling
2014-07-10 07:47:22 +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
Tobias Diekershoff
ee428fdcd1 fixing more webeditor stuff 2014-07-07 15:18:15 +02:00
tobiasd
79a8390d20 typo 2014-07-07 11:59:33 +02:00
Michael Vogel
f0efa3cae2 appnet, statusnet: Posts from unknown contacts weren't posted 2014-06-27 07:59:00 +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
ca9bd8b877 Removing blanks with tabs 2014-06-10 20:13:11 +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
8ce597cb4d Statusnet: Testing new plaintext function/avoiding warning when content couldn't be fetched. 2014-05-21 06:45:03 +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
76fac5069c Statusnet bidirectional sync. It is now possible to import a remote statusnet timeline. It is adopted code from the twitter addon. 2014-04-04 11:10:01 +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
tobiasd
0b459e8379 Merge pull request #166 from annando/master
inflate/deflate settings
2013-12-01 02:25:26 -08:00
Michael Vogel
70495489a1 statusnet: inflate/deflate settings 2013-11-30 21:25:39 +01:00
Tobias Diekershoff
5c5c23acb0 wording submit -> save settings 2013-11-19 14:10:27 +01:00
Tobias Diekershoff
f3c51cdcb9 SN connector: small fix for the settings page 2013-10-20 16:52:57 +02:00
Michael Vogel
9ad282fe93 pumpio: Avoiding some SQL warnings 2013-10-19 00:27:22 +02:00
Michael Vogel
8e799b0216 pumpio: Connecting to pumpio should be made much more easier 2013-09-29 21:56:37 +02:00
Michael Vogel
008216058a Pumpio: The connector now is bidrectional. 2013-09-03 08:22:46 +02:00
Michael Vogel
ac1675ab57 Statusnet: Now pictures are posted as well. 2013-08-25 09:36:32 +02:00
Michael Vogel
83f95acbbf facebook, statusnet and twitter: Now shared messages are clearly marked with the name of the original poster
twitter: When a post with a picture failes than the post is repeated without a picture
fromgplus: Under certain circumenstances "fromgplus" generates an empty post that is blocking the cron hook - so now messages are mirrored anymore.
2013-07-28 20:40:37 +02:00
Michael Vogel
804bc7a067 Mirroring: There was a problem that the title variable wasn't cleared so it could be fetched from a previous post.
Statusnet: The activity messages are now suppressed
2013-07-19 23:34:54 +02:00
Michael Vogel
37940d0070 Twitter+Statusnet: Between message and link there is now a linefeed. 2013-07-14 16:26:18 +02:00
Michael Vogel
a00464cd98 twitter and statusnet: Now Newlines are transmitted.
wppost: The title is now shortened with a "..."
2013-07-14 14:58:12 +02:00
Tobias Diekershoff
aa0db37fea c&p typo and checking for a trailing / in admin panel 2013-06-15 08:48:31 +02:00
Tobias Diekershoff
bd0468303b SN: add the hint about the / to the admin panel config screen 2013-06-14 20:08:10 +02:00
Tobias Diekershoff
1b250fad73 moved my profile 2013-06-14 19:40:10 +02:00
Tobias Diekershoff
2e22106238 license stuff 2013-05-31 13:27:31 +02:00
Michael Vogel
f75ef0c59e Merge remote-tracking branch 'upstream/master' 2013-05-17 00:01:02 +02:00
Michael Vogel
92ad7f294d pumpio: New plugin to post to pump.io servers 2013-05-09 11:11:17 +02:00
Tobias Diekershoff
4c6e650548 use simple style for sharing on SN 2013-04-12 09:12:05 +02:00
Tobias Diekershoff
0c5bc6a0c1 added Michael as author of SN/T connector 2013-04-01 09:02:38 +02:00
Michael Vogel
e00cb3eaaf Statusnet/Twitter: When a message is less than 140 digits the post isn't modified in the auto shortening. 2013-03-29 11:19:57 +01:00
Michael Vogel
fd757f7c47 Merge remote-tracking branch 'upstream/master' 2013-02-20 21:49:38 +01:00
Michael Vogel
e48fb47d62 checking if a variable is an array before doing array_reverse. 2013-02-20 21:46:19 +01:00
Tobias Diekershoff
df7cd7850b app name now in form if user types in her own connection 2013-02-19 09:17:37 +01:00
Tobias Diekershoff
61bbedcc0f user selects preconfigured SN, put app name in pconfig 2013-02-19 09:08:31 +01:00
Tobias Diekershoff
78f850215a typo 2013-02-19 09:04:56 +01:00
Tobias Diekershoff
d5f5263a16 SN admin panel with application name 2013-02-19 08:58:43 +01:00
Tobias Diekershoff
e587631eeb look for the application name in pconfig 1st, then global config 2013-02-19 08:28:10 +01:00
Tobias Diekershoff
8e6d1d8f8b SN import from timeline, check if there are posting before the foreach loop 2013-02-16 09:15:08 +01:00
Michael Vogel
7019b1056a statusnet/twitter: Post were fetched at the first fetch because of a misspelled variable ... 2013-01-08 00:50:59 +01:00
Michael Vogel
52d585863a fbpost/statusnet/twitter: When messages are fetched the first time for mirroring, then don't post them 2013-01-07 19:30:18 +01:00
Michael Vogel
7d3bf7144f statusnet/twitter: Don't include the quoted text when sending an update
fbpost: Trying to beautify the posts from facebook.
2013-01-05 16:33:39 +01:00
Michael Vogel
a546a25107 fbpost: Beautifying the import to friendica
statusnet+twitter: Beautifying the export to statusnet and twitter, solving the problem that posts were sometimes send twice
2013-01-03 22:11:46 +01:00
Michael Vogel
3c875dcf6e statusnet: Answers were mirrored as well - now there's a check against that. 2013-01-01 23:57:56 +01:00
Michael Vogel
f6d9ced311 fbpost: Now you can mirror public facebook posts from your wall to friendica 2013-01-01 23:18:15 +01:00
root
285253e15e statusnet: Retweets shouldn't be mirrored 2013-01-01 18:30:47 +01:00
Michael Vogel
1f5f0541ed statusnet: Now you can mirror posts from statusnet to friendica 2013-01-01 18:20:56 +01:00
Zach Prezkuta
c12542ef96 revert addon Smarty3 templates to non-variable-based includes 2012-12-25 13:25:09 -07:00
Zach Prezkuta
3da6f1471c update addons to support Smarty3 2012-12-22 13:36:35 -07:00
Michael Vogel
0267222fb4 Preparations for shared posts 2012-12-17 03:04:13 +01:00
Michael Vogel
c8b2b1ca85 fromgplus: Initial working version 2012-12-09 21:59:11 +01:00
Michael Vogel
de8a7f88ce Facebook: Posts that only contain images without links are now posted as images
Statusnet: Trying to post images - but it doesn't work right now
2012-11-22 15:29:20 +01:00
Michael Vogel
50c33d8dc2 fbpost: Posting to groups enabled
twitter/statusnet: Bug fixed where messages were shortened too much.
2012-11-22 03:31:43 +01:00
Michael Vogel
84c8c4f002 fbpost: Enable posting to pages 2012-11-22 02:00:31 +01:00
Michael Vogel
0857ae55c3 Statusnet/Twitter URL could be cut in the smart shortening function 2012-11-08 21:44:32 +01:00
Michael Vogel
0fb5631f9b Statusnet: New intelligent shortening enabled. 2012-11-06 01:34:19 +01:00
Michael Vogel
cd8944cdcc privacy_image_cache: Adding a file cache
statusnet/twitter: Adding detection of another recycle sign
2012-07-25 21:37:48 +02:00
Michael Vogel
56fd821c7e Fixed problems with images where the address contains special chars 2012-07-08 18:29:31 +02:00
Michael Vogel
b0dbf4d54c Twitter/Statusnet: Problem with vanishing linebreaks when message isn't shortened 2012-07-06 07:38:50 +02:00
Michael Vogel
471b5db36f Twitter, Statusnet: Supress profile link of user whose message was repeated
libertree: Design improvement of exported messages
privacy_image_cache: quickfix for double encoded urls
2012-06-23 12:50:48 +02:00
Michael Vogel
57441b4def Fixed a bug where a title was set in a way that affected other addons. Additionally some changes to bb2markdown. 2012-06-18 01:30:44 +02:00
Tobias Diekershoff
80f5c5bbe0 SN/T dont send linked @-names when we dont send linked #-tags 2012-05-15 11:23:39 +02:00
Tobias Diekershoff
d9089213fb SN apply debugging info to the log as for Twitter 2012-05-15 10:54:48 +02:00
Tobias Diekershoff
949fb2f48b SN/T: typo 2012-05-01 13:51:48 +02:00
Tobias Diekershoff
6da7c5c181 SN/T: forgot the title of a posting in the last change 2012-05-01 13:49:05 +02:00
Tobias Diekershoff
47c11934de SN/T: don't cut off the body to avoid broken bbcode 2012-04-30 09:21:05 +02:00
Tobias Diekershoff
1a99b8a4ea small change in my contact informations in the addon files 2012-04-07 09:21:49 +02:00
Tobias Diekershoff
f245b1478f SN: avoide to send broken last words to SN when shorten a message 2012-04-07 07:02:55 +02:00
Tobias Diekershoff
26dec371bb SN/T: since inclusion of the title 2xMax_Char is too short, increasing that 2012-04-06 19:37:23 +02:00
Tobias Diekershoff
b6ab56fd7f SN: added option to not send #tag links to the SN account 2012-03-31 09:59:27 +02:00
Tobias Diekershoff
39edf6a500 SN: if there is a title, include in into the outgoing dent 2012-03-31 08:04:45 +02:00
Tobias Diekershoff
70976ca314 added hint to SN/T connector settings about colliding privacy settings 2012-02-24 22:42:47 +01:00
Tobias Diekershoff
a49792106a SN addon: added function_exists check around short_link 2012-02-23 00:01:27 +01:00
Tobias Diekershoff
439e62d1d4 SN addon: only shorteb links if neede 2012-02-21 18:39:55 +01:00
Tobias Diekershoff
d61ce7709a SN addon, only work with the 1st 2*max_char chars during preparation of denting 2012-02-21 18:07:30 +01:00
Tobias Diekershoff
e18fdf30a0 SN addon short the links in the text we are about to send to SN 2012-02-19 20:52:19 +01:00
Tobias Diekershoff
680fe89fa8 SN addon: added handling for [bookmark] tag 2012-02-19 19:42:30 +01:00
Tobias Diekershoff
026d7bf3c3 corrected regex for finding [url][img[bla[/img][/url] stuff 2012-02-19 15:05:04 +01:00
Tobias Diekershoff
884034d120 sn commented out some regex for various reasons 2012-02-16 07:57:41 +01:00
Tobias Diekershoff
55e99a28bf added more regex to SN addon to deal with tag links and linked images 2012-02-14 19:07:42 +01:00
Tobias Diekershoff
94e9759b50 added audio and video regex to the SN addon 2012-02-14 17:31:22 +01:00
Tobias Diekershoff
facd15c779 m) copy and paste error 2012-02-14 08:31:43 +01:00
Tobias Diekershoff
2028564cc6 regular expressions for preserving img and url links from stripping 2012-02-13 19:34:14 +01:00
Keith Fernie
772c58ce9a modified: statusnet.tgz Set up tabs in code correctly.
modified:   statusnet/statusnet.php Set up tabs in code correctly.
	modified:   twitter.tgz Set up tabs in code correctly.
	modified:   twitter/twitter.php Set up tabs in code correctly.
	modified:   yourls.tgz Set up tabs in code correctly.
	modified:   yourls/yourls.css Set up tabs in code correctly.
	modified:   yourls/yourls.php Set up tabs in code correctly.
2012-02-09 22:08:15 +00:00
Keith Fernie
5c426e3fa2 modified: statusnet.tgz First url shortener is a custom YourLS url âshortener, if it is configured.
modified:   statusnet/statusnet.php First url shortener is a custom YourLS url �shortener, if it is configured.
	modified:   twitter.tgz First url shortener is a custom YourLS url �shortener, if it is configured.
	modified:   twitter/twitter.php First url shortener is a custom YourLS url �shortener, if it is configured.
	new file:   yourls.tgz sets up the config for a custom YourLS url shortener.
	new file:   yourls/README sets up the config for a custom YourLS url shortener.
	new file:   yourls/yourls.css sets up the config for a custom YourLS url shortener.
	new file:   yourls/yourls.php sets up the config for a custom YourLS url shortener.
2012-02-09 21:15:41 +00:00
friendica
d7bd2246c1 Merge branch 'apull' 2012-01-21 15:20:03 -08:00
friendica
391f57fa39 permission change 644 to 755 for addons 2012-01-21 15:19:22 -08:00