Mikael Nordfeldth
2af9de4f23
Minor fixes in Linkback plugin
2016-01-14 19:14:24 +01:00
Mikael Nordfeldth
99da1ebe41
Catch NoHttpResponseException when using HTTPClient
2016-01-13 14:17:49 +01:00
Mikael Nordfeldth
2b4a6c7dd7
Don't check Link header if not set
2015-12-15 11:51:16 +01:00
mmn
1be376cf87
Merge branch 'inbound-linkback' into 'master'
...
Accept mentions/replies/rsvps/likes via pingback and webmention
This makes the Linkback plugin bidirectional, allowing reply/mention federation between GNU Social and any pingback-enabled service (including any Wordpress site).
See merge request !41
2015-12-14 21:05:25 +00:00
Stephen Paul Weber
4f0fae9e90
Show better source for linback items
2015-11-12 19:07:26 +00:00
Stephen Paul Weber
47db1ab063
Autodiscovery header for webmention
2015-11-12 19:06:17 +00:00
Stephen Paul Weber
fa1e4620cf
Add pingback frontend
2015-11-12 19:06:16 +00:00
Stephen Paul Weber
dbfb698859
Webmention frontend
2015-11-12 19:06:15 +00:00
Mikael Nordfeldth
7ccd36849e
Merge branch 'master' of git.gnu.io:gnu/gnu-social into nightly
...
Conflicts:
plugins/OStatus/OStatusPlugin.php
master vs. nightly thing
2015-11-05 16:16:02 +01:00
Stephen Paul Weber
dc36621dc2
Linkback to mentioned profiles
2015-10-25 17:22:15 +00:00
Stephen Paul Weber
677f0ac479
Allow users to opt out of sending linkbacks
2015-10-18 21:28:55 +00:00
Stephen Paul Weber
c7e08195e4
Fix Pingback
...
This code was using the HTTPRequest helpers wrong. This commit sets the body directly instead of jamming the XML in as a POST param.
2015-10-17 13:39:46 +00:00
Stephen Paul Weber
d9d74ca96c
Send URL we publish
...
Webmention and Pingback both need the exact URL we are going to claim to link to to be present in our HTML source, so send them our actual original link.
Webmention clients are supposed to resolve this link. Pingback clients may still fail on shortened links.
2015-10-17 13:38:13 +00:00
Stephen Paul Weber
3b1792c8b5
Add webmention support
2015-10-15 00:29:53 +00:00
Stephen Paul Weber
e4892d21b1
Note that we should handle relative URIs
2015-10-14 16:13:25 -05:00
Stephen Paul Weber
8edc5148d9
Normalize detection helpers
...
Will make it easier to see what's happening when we add a third one.
2015-10-14 15:54:47 -05:00
Stephen Paul Weber
63fd35dffa
Notify replies and repeats
...
This is especially useful for partial federation with remote accounts
that are not fully OStatus-enabled but support a pingback protocol.
Such accounts will still be notified of replies and repeats of their
content even without OStatus support, thus adding to the federated
universe.
2015-10-14 15:47:00 -05:00
Stephen Paul Weber
b43294ec6f
Use the getter, not a direct access
2015-10-14 15:33:48 -05:00
Stephen Paul Weber
a4a37d6fc9
More robust pingback link detection
2015-10-14 15:28:38 -05:00
Mikael Nordfeldth
79c40bc73b
Type-aware comparison is necessary for Notice is_local/scope
2015-10-14 00:42:15 +02:00
Mikael Nordfeldth
871912a00a
Plugins didn't match lib/plugin.php onPluginVersion function definition
...
I ran:
for i in `grep -R onPluginVersion...version plugins/|cut -d: -f1`; do sed -i '{ s/\(onPluginVersion(\)\(\&\$versions\)/\1array \2/ }' $i; done
2015-06-06 22:04:01 +02:00
Mikael Nordfeldth
b77a09fdee
Notice URIs are not necessarily URLs.
...
Let's use getUrl() for URL retrieval. May throw exceptions, but
only if it's a Notice that cannot be linked like that anyway.
2014-04-30 20:44:23 +02:00
Mikael Nordfeldth
255943d78f
User agents and generators changed to GNU social
2013-11-01 13:46:05 +01:00
Siebrand Mazeland
e6d053ac41
Update translator documentation.
...
L10n/i18n updates.
Whitespace updates.
Break long lines in README files.
2011-04-24 19:28:26 +02:00
Siebrand Mazeland
14456cbbb2
Fix gettext domain for messages in plugins "_()" to "_m()".
...
Some other i18n and L10n updates, too.
i18n/L10n review not complete.
2011-03-30 22:31:23 +02:00
Siebrand Mazeland
500f8e5a87
* i18n/L10n updates.
...
* remove superfluous whitespace.
2010-09-20 20:54:30 +02:00
Brion Vibber
95b534c5ce
Move standalone plugin files into subdirectories so they can have locale data, etc added to them at leisure.
2010-09-15 14:10:18 -07:00