Mikael Nordfeldth
51e5cc2ac8
Fix URL mention regular expression in OStatusPlugin
2017-04-22 11:15:55 +02:00
Mikael Nordfeldth
2fc4b174c1
Domain name regular expression into lib/framework.php
2017-04-22 11:07:38 +02:00
Mikael Nordfeldth
bd6c93a811
Split up OStatusPlugin preg functions so they can be reused
2017-04-22 11:02:41 +02:00
Mikael Nordfeldth
54971842f2
A bit more instructive debugging
2017-04-22 10:55:24 +02:00
Mikael Nordfeldth
0fd83f0028
New domain regexp for WebFinger matching.
2017-04-22 10:51:03 +02:00
Mikael Nordfeldth
e98bceec10
Import backlog on new subscription.
...
Danger is when importing a new feed that may be maliciously crafted
to contain a zillion entries.
2017-04-21 09:31:27 +02:00
Mikael Nordfeldth
f51cb6fca9
Split OStatusPlugin FeedSub receive into two parts
...
FeedSub::receive now only handles the PuSH verification
FeedSub::receiveFeed is protected and only parses+imports feed XML
2017-04-21 08:13:39 +02:00
Mikael Nordfeldth
e87115d462
Less frightening interface on remote subscription
...
Instead of an error message in a red box about being unable to find the
profile, you get the title "Remote subscription" and no error message.
2017-04-19 11:41:34 +02:00
Mikael Nordfeldth
548e59fc99
Empty resource would throw exception
...
The "+ Remote" link on your profile page broke because of exception.
2017-04-19 11:37:43 +02:00
Mikael Nordfeldth
35b0a9e3ae
Handle normalized acct: URIs in ostatussub
...
Mastodon sent the proper acct: URI and not just 'user@domain' when
using the remote subscribe functionality.
2017-04-16 11:01:16 +02:00
mmn
24910f2363
Merge branch 'fix-twitterbridge' into 'nightly'
...
Fix TwitterBridge imported notices not displaying in timeline
See merge request !130
2017-04-06 10:20:41 +00:00
Mikael Nordfeldth
bc1f8b5db6
Merge branch 'master' of git.gnu.io:gnu/gnu-social into nightly
...
strk's OpenID fix
2017-04-06 11:15:37 +02:00
mmn
6679ecb9d7
Merge branch 'fix-openid-removal' into 'master'
...
Fix OpenID URI removal
See merge request !138
2017-04-06 09:12:35 +00:00
Sandro Santilli
1ef206467f
Fix OpenID URI removal
...
See #252
2017-03-18 13:33:07 +01:00
Sandro Santilli
85a407e7b0
Normalize OpenID URI before checking it for validity
...
Fixes #251
2017-03-18 10:56:01 +01:00
Mikael Nordfeldth
9fead39f36
Merge branch 'master' of git.gnu.io:gnu/gnu-social
2017-03-18 01:36:35 +01:00
Mikael Nordfeldth
948744538c
StoreRemoteMedia now checks remote filesize before downloading
2017-03-18 01:35:45 +01:00
Chimo
dc7c64592b
Add var type to newListItem() parameter
...
Fixes some "Declaration of $child::method should be compatible with
$parent::method" warnings.
2017-03-16 22:57:16 -04:00
Mikael Nordfeldth
8b8e2825e3
Merge branch 'master' of git.gnu.io:gnu/gnu-social into mmn_fixes
2017-01-15 21:25:06 +01:00
Bjoern Schiessle
f198d5d110
improve status length calculation, each link is exactly 23 characters long at Twitter
2016-12-14 15:54:02 +01:00
Mikael Nordfeldth
6bfc97c95d
Less spammy logs
2016-10-22 23:24:13 +02:00
Mikael Nordfeldth
6ebc5f0bff
some debugging calls and make sure $hints['feedurl'] gets set with $feeduri in case that variable is used.
2016-10-22 23:08:44 +02:00
Mikael Nordfeldth
cb5bcf4937
bad log constant
2016-08-28 00:16:31 +02:00
Mikael Nordfeldth
a32bfe7d87
TagCloud turned into plugin (performance issues on large installs)
2016-08-27 15:24:25 +02:00
Mikael Nordfeldth
27022e7c39
Typing on WebFinger onRouterInitialized handler argument URLMapper $m
2016-08-27 15:00:29 +02:00
Mikael Nordfeldth
1d791f81fa
Attachment styling
2016-08-21 09:31:26 +02:00
Nym Coy
1f5e306760
Set object_type to ActivityObject::NOTE on notices imported from Twitter. Previously was unset which caused ActivityHandler to throw an error during onStartOpenNoticeListItemElement() and the notices would not display in the timeline.
2016-08-09 21:02:57 +05:30
Mikael Nordfeldth
563b3b1328
Using File->setTitle in oEmbed
2016-07-23 21:01:28 +02:00
Mikael Nordfeldth
1b3d583418
file_quota for OembedPlugin too
...
Don't download huge files that might kill memory limits.
2016-07-21 03:19:05 +02:00
Mikael Nordfeldth
809e2f6d07
Use File->getID()
2016-07-21 01:38:48 +02:00
Mikael Nordfeldth
d230d332cf
return false to exit event, imgPath holds the path
2016-07-21 00:27:22 +02:00
Mikael Nordfeldth
13e1f0a561
VideoThumbnails shouldn't have to recreate the thumbnail all the time
2016-07-21 00:24:05 +02:00
Mikael Nordfeldth
fc440ba7e7
Easier debugging of VideoThumbnails plugin
2016-07-20 22:51:38 +02:00
Mikael Nordfeldth
1d53e7060a
Changed ShowfavoritesAction to use Action functions for profiles
2016-07-07 11:11:20 +02:00
Mikael Nordfeldth
4a3ed7d0ae
I don't know why we would set the mimetype as title here
2016-07-07 00:43:51 +02:00
Mikael Nordfeldth
3987cad9b7
Use delivered content-type to parse XML_XRD
...
In issue #205 we saw data coming in with an additional line-break before
the JSON data which fuzzed the auto-detection in XML_XRD (which assumed
a { as the first character). If we use the Content-type header from HTTP
we can avoid that issue.
2016-07-02 13:44:25 +02:00
Mikael Nordfeldth
cfd9aee57b
Better logging for issue #205
2016-07-02 13:32:23 +02:00
Mikael Nordfeldth
a833eaa651
Make all hash algorithms available (but whitelist by default)
...
sha1 is whitelisted only because StatusNet requires it.
2016-06-28 11:54:39 +02:00
Mikael Nordfeldth
3166a04cef
actually respond with the error message in text on Salmon calls
2016-06-25 20:50:00 +02:00
Mikael Nordfeldth
bf4acc21be
A bunch of GIFs were >5MiB!
2016-06-25 20:37:00 +02:00
Mikael Nordfeldth
ad7ebd1a8c
Even more phpseclib update related stuff.
2016-06-25 20:34:28 +02:00
Mikael Nordfeldth
d10ce6ac7c
Give Webfinger response to group queries
2016-06-25 20:13:19 +02:00
Mikael Nordfeldth
d0c26fb1a4
URIFIX in Ostatus_profile, handle missing feedsub
2016-06-25 11:59:31 +02:00
Mikael Nordfeldth
7978cd6d59
s/EmptyIdException/EmptyPkeyValueException/
2016-06-25 11:50:59 +02:00
Mikael Nordfeldth
d7a4098b56
Use a separate max download limit for remote files than file_quota too
2016-06-24 16:07:57 +02:00
Mikael Nordfeldth
af23c9f7cd
StoreRemoteMedia now checks remote filesize before downloading
2016-06-24 15:56:14 +02:00
Mikael Nordfeldth
f1e3314bb7
StoreRemoteMedia avoids too large files
2016-06-24 15:47:02 +02:00
Mikael Nordfeldth
c19f87f867
fixes issue #189 with a script lacking exception handling
2016-06-24 15:19:24 +02:00
Mikael Nordfeldth
39e8c13afb
Properly parse incoming bookmarks
2016-06-24 13:51:40 +02:00
Mikael Nordfeldth
a4051945fd
Handle exception from Magic Envelope toXML function
2016-06-23 23:27:18 +02:00