mmn
deb5275c7a
Merge branch 'object-types-are-absolute' into 'master'
...
Stop incorrecly changing object_type to relative URI
All other data is using absolute URI for object_type.
See merge request !40
2015-11-05 15:12:41 +00:00
mmn
959f971a65
Merge branch 'fix-webfinger-link-header' into 'master'
...
Add all link headers, not just the last one
Given the way Link headers work, it does not make any sense to
just replace all other ones. Especially when we ourselves are adding
in a loop.
See merge request !47
2015-11-05 15:12:10 +00:00
mmn
9f83e60f25
Merge branch 'pings-interop' into 'master'
...
Clean up Linkback plugin and add Webmention support
Closes #82
Fixes Pingback, adds Webmention, makes linkbacks opt-out-able for users (at request of quitter.se admin)
See merge request !36
2015-11-05 15:11:29 +00:00
mmn
45b24286e5
Merge branch 'status-204' into 'master'
...
Accept 204 for PuSH subscription
Some hubs (notably, pushpress, used by wordpress.com) return 204 to mean success.
This used to be allowed by the spec, so no harm in accepting it.
See merge request !48
2015-11-05 15:03:42 +00:00
mmn
4b7c904fe0
Merge branch 'correct-author-for-repeat' into 'master'
...
Markup correct author for a repeat
The original author is not the author of this entry, but of the original entry.
See merge request !51
2015-11-05 15:00:35 +00:00
Stephen Paul Weber
e1de6e0aa9
Support more author types on RSS
...
Specifically, any ActivityStreams or ATOM namespaces being used on
an rss channel.
2015-10-27 18:43:57 +00:00
Stephen Paul Weber
54e87dd2c3
Morkup correct author for a repeat
...
The original author is not the author of this entry, but of the original entry.
2015-10-27 17:19:03 +00:00
Stephen Paul Weber
4c2bc465a0
Accept 204 for PuSH subscription
...
Some hubs (notably, pushpress, used by wordpress.com) return 204 to mean success.
This used to be allowed by the spec, so no harm in accepting it.
2015-10-27 03:16:39 +00:00
Stephen Paul Weber
fae7bc0bc0
Add all link headers, not just the last one
...
Given the way Link headers work, it does not make any sense to
just replace all other ones. Especially when we ourselves are adding
in a loop.
2015-10-25 18:42:37 +00:00
Stephen Paul Weber
dc36621dc2
Linkback to mentioned profiles
2015-10-25 17:22:15 +00:00
Stephen Paul Weber
8649591626
Stop incorrecly changing object_type to relative URI
...
All other data is using absolute URI for object_type.
2015-10-22 17:14:59 +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
9ad9b91efb
Call it compareVerbs when comparing verbs
2015-09-10 15:27:40 +02:00
Mikael Nordfeldth
4354ce21d1
introducing html_sprintf for easier sprintf'ing with htmlspecialchars
2015-09-06 01:53:11 +02:00
Mikael Nordfeldth
3c86542a40
Move notice location data to Notice_location
...
Will probably take a _long_ time to do scripts/upgrade.php but don't
worry, it can be aborted and resumed.
2015-09-04 22:25:11 +02:00
abjectio
91c1ab6017
Merge branch 'nightly' of git.gnu.io:gnu/gnu-social into nightly
2015-08-18 22:55:28 +02:00
Mikael Nordfeldth
e0084a6fdf
Exception handling regarding Foreign_link
2015-07-18 11:39:34 +02:00
Mikael Nordfeldth
b609a3610f
Some missed exception throwing since fixing Foreign_link and Foreign_user
2015-07-18 11:04:35 +02:00
Mikael Nordfeldth
9fdf6474f8
TwitterBridge working again (for signin and posting to Twitter at least)
...
Now we just need to make it include the newname suggestion if the form fails
(for example forgetting to check the license checkbox or so).
2015-07-18 02:16:15 +02:00
Mikael Nordfeldth
beba2a25d0
Don't retry unhandled transports in OpportunisticQM
...
It'd continue trying xmpp transports forever, for example...
2015-07-18 01:09:50 +02:00
Mikael Nordfeldth
e10d081a56
TwitterBridge is closer to working again
2015-07-17 21:03:37 +02:00
Mikael Nordfeldth
6cd7a4a400
TwitterBridge messing about, Twitter OAuth requires Authorization header now?
...
https://dev.twitter.com/oauth/reference/post/oauth/request_token says that
the request should be a GET with a specific HTTP header instead of query
string parameters for OAuth?
2015-07-17 18:54:39 +02:00
Mikael Nordfeldth
5933056a5b
Twittersettings now works better as Profilesettings extension
2015-07-17 17:50:43 +02:00
Mikael Nordfeldth
d6d06c8cbb
SubMirror now works properly as extended from FormAction
2015-07-17 17:09:36 +02:00
Mikael Nordfeldth
712a6d49d0
Poll settings adapted to FormAction
2015-07-17 16:19:02 +02:00
Mikael Nordfeldth
da168674f9
OpenID settings aligned with FormAction
2015-07-17 16:08:22 +02:00
Mikael Nordfeldth
8d2504a809
Early return in FacebookBridge settings action
2015-07-17 15:27:47 +02:00
Mikael Nordfeldth
be0c10e8f6
Facebooksettings adapted to FormAction
2015-07-17 15:24:37 +02:00
Mikael Nordfeldth
9045575e62
ExtendedProfile now works better as extended ProfilesettingsAction
2015-07-17 12:46:09 +02:00
Mikael Nordfeldth
cfaaf3c13c
PasswordsettingsAction aligned with FormAction
...
Also made some changes in the password "munging" function call
common_munge_password to accept a profile instead of user ID (which
was only there because stoneage StatusNet used the ID to generate a
not-very-random salt, but nowadays we primarily use AuthCrypt plugin).
2015-07-17 01:47:43 +02:00
Mikael Nordfeldth
01a4ab30dc
Removing MicroID as well as simplifying profileaction
...
sorry, forgot to commit in between
2015-07-14 16:52:20 +02:00
abjectio
c10a4cf6d2
Merge branch 'nightly' of git.gnu.io:gnu/gnu-social into nightly
2015-07-12 10:40:24 +02:00
Mikael Nordfeldth
c5a5eaf288
Do we update feeduri and salmonuri for Ostatus_profile now?
...
When changing from HTTP to HTTPS, following up on commit
59763ceecb
where http to https Ostatus_profile URI changing was first introduced.
2015-07-11 19:46:01 +02:00
Mikael Nordfeldth
bb29d18017
ShowfavoritesAction now extends ShowstreamAction
2015-07-11 00:28:32 +02:00
Mikael Nordfeldth
24b1e26406
MagicEnvelope called DOMDocument::loadXML statically
...
but apparently we shouldn't do this, despite recommended on https://secure.php.net/manual/en/domdocument.loadxml.php
2015-07-10 23:24:50 +02:00
Mikael Nordfeldth
961031bc28
Cleaning up Directory plugin lists
2015-07-10 23:19:54 +02:00
Mikael Nordfeldth
3900a739b9
Forgotten migrations of ->profile and ->user to ->getTarget()
...
GalleryAction extends ProfileAction which no longer uses ->profile and ->user
2015-07-10 23:05:02 +02:00
Mikael Nordfeldth
55b2d124bc
The 'target' is an argument to common_local_url not the target profile
2015-07-10 22:49:38 +02:00
Mikael Nordfeldth
7c4e550e31
Merge branch 'master' into nightly
2015-07-10 16:02:55 +02:00
Mikael Nordfeldth
9a92b58057
ShowstreamAction tidying up
...
Lots of these changes mean that we're requiring certain values to
either by typed properly or return the expected value. If it doesn't
there should be a fatal exception thrown which we can followup in the
logs and won't go silently suppressed.
2015-07-10 13:44:47 +02:00
Mikael Nordfeldth
50c297bcbe
ShowstreamAction fixes so it's not as horrible
2015-07-10 12:34:06 +02:00
Bhuvan Krishna
1ab4c9998a
Add executable permission to script missing it
2015-07-10 14:46:08 +05:30