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
Mikael Nordfeldth
6dcb293ba0
Unnecessarily verbose code
2016-06-23 23:03:58 +02:00
Mikael Nordfeldth
16f4583498
throw ClientException instead of clientError
2016-06-19 03:38:00 +02:00
Mikael Nordfeldth
2726478467
Bump Diaspora plugin version because of phpseclib fix
2016-06-19 03:25:03 +02:00
Mikael Nordfeldth
bac95913e8
phpseclib defaults to OAEP but we want PKCS1 in D*
2016-06-19 03:23:26 +02:00
Mikael Nordfeldth
ed97b88b04
Err, don't need that comment.
2016-06-19 02:27:50 +02:00
Mikael Nordfeldth
76114e2748
Missed some phpseclib stuff in DiasporaPlugin
2016-06-19 02:26:44 +02:00
Mikael Nordfeldth
47aabf4fda
Let's just put the namespaced phpseclib in extlib instead of plugins/OStatus/extlib
2016-06-18 00:00:32 +02:00
Mikael Nordfeldth
5bfd9dbaa7
repost_of -> repeat_of, also trying with isset()
2016-06-17 23:53:05 +02:00
Mikael Nordfeldth
3a8ce99a9d
Magicsig call for phpseclib\Math\BigInteger fixed
2016-06-17 23:47:00 +02:00
Mikael Nordfeldth
1839082f95
OStatus Magicsig adaptations to new phpseclib
...
Some constants have changed and the way to call RSA->sign(...) too.
2016-06-17 23:43:24 +02:00
Mikael Nordfeldth
d8af92bda2
Diaspora phpseclib update
2016-06-17 23:42:50 +02:00
Mikael Nordfeldth
09ef0c1f33
bump Linkback plugin thanks to awesome singpolyma
2016-06-17 23:22:44 +02:00
Mikael Nordfeldth
a1d064129a
Handle namespaces for new phpseclib
2016-06-17 23:21:34 +02:00
Mikael Nordfeldth
28ca5d90d9
phpseclib updated, some new features that we won't use
2016-06-17 22:44:12 +02:00
mmn
005b4c8dd1
Merge branch 'strict-warnings' into 'nightly'
...
Fix some strict warnings (Action::prepare, Action::handle)
I know MR with changes to a bunch of files aren't great practice, but I figured since all the changes are one-liners it might not be a huge deal.
Related to #190
See merge request !123
2016-06-17 16:29:47 -04:00
Stephen Paul Weber
97243c8a91
Allow 201 as well, because spec says so
2016-06-10 21:13:10 +00:00
Stephen Paul Weber
274e394d8e
Pass all but two webmention.rocks tests
2016-06-10 21:03:16 +00:00
Stephen Paul Weber
1e9077f529
Set avatar where available
2016-06-10 21:02:50 +00:00
Stephen Paul Weber
6861d2f3a1
Get avatar out of entry properly
2016-06-10 21:02:34 +00:00
Stephen Paul Weber
624584f9df
Need to strtotime before we can format the date
2016-06-10 21:02:08 +00:00
Stephen Paul Weber
4f3a031786
Use strpos check properly
2016-06-10 21:01:53 +00:00
Stephen Paul Weber
e96d7d48f5
400 code needs ClientException
2016-06-10 21:01:23 +00:00
Chimo
9de79f0a36
Update prepare() method on Action subclasses.
...
Fixes handle()-related strict warnings such as "Strict Standards:
Declaration of AdminPanelAction::prepare() should be compatible with
Action::prepare(array $args = Array)
Ref. #190
2016-06-01 02:26:44 +00:00
Chimo
ba2975aac8
Update handle() method on Action subclasses.
...
Fixes handle()-related strict warnings such as "Strict Standards:
Declaration of AdminPanelAction::handle() should be compatible with
Action::handle()"
Ref. #190
2016-06-01 02:26:44 +00:00
Mikael Nordfeldth
60130633f0
Linkback references to unset indexes + spelling error
2016-05-01 11:36:07 +02:00
Mikael Nordfeldth
e4f688fcfd
naughty extlib fix (PHP7)
...
The explode function didn't return empty elements (which split did)
2016-04-26 02:57:14 +02:00
Mikael Nordfeldth
3e9b0d6018
split is gone, use explode. PHP7 extlib fix
2016-04-26 02:41:56 +02:00
Mikael Nordfeldth
af28160679
Naughty fix for extlib XMPPHP (PHP7)
...
I shouldn't fix extlibs, but here goes anyway. I will see if there's
an upstream library we can track which has fixed this themselves.
2016-04-26 02:41:04 +02:00
Mikael Nordfeldth
ce65fe96ad
Oembed bugs with thumbnail generation.
2016-04-18 15:33:20 +02:00
Mikael Nordfeldth
b1de90fe08
Send thr:in-reply-to as well, for clarity...
2016-04-01 23:21:57 +02:00
Mikael Nordfeldth
922b65d231
More debugging in Salmon since we get situations which can't find inReplyToID
2016-04-01 23:10:34 +02:00
Mikael Nordfeldth
299949b156
fix/legacy_http for WebFinger + some minor fixes
...
Now won't match possibly maliciously named remote profile URLs
(where the profile URL could be a notice URL for example, which
would mean the response would be incorrect)
When looking up remote entities, we should _only_ use the stored URI,
but that's for the future to do...
2016-03-30 01:32:11 +02:00
Mikael Nordfeldth
df3bcbb6cb
Possibly replace weirdly capitalized htTPs: too
2016-03-30 01:31:17 +02:00
Mikael Nordfeldth
cb212ba41c
Gah, bad syntax
2016-03-29 12:55:50 +02:00
Mikael Nordfeldth
f8765c6166
Upgrade script for Bookmark uses joins instead of exists (performance++)
2016-03-29 12:48:00 +02:00
Mikael Nordfeldth
dcffe5d992
Forgotten File::getByUrl conversations (performance++)
2016-03-29 12:13:53 +02:00
Mikael Nordfeldth
23bb45b845
Upgrade info from Bookmark plugin
2016-03-29 12:13:23 +02:00
Mikael Nordfeldth
d4041a4a1f
a little bit more explicit logging
2016-03-28 16:41:29 +02:00
Mikael Nordfeldth
16517f019a
Embarrasing copy-paste gone too fast
2016-03-28 16:25:29 +02:00
Mikael Nordfeldth
7bef2ad4cc
Update Profile Data script fixes, might work for groups too now
2016-03-28 16:19:47 +02:00
Mikael Nordfeldth
a93c69d150
OStatus update profile data script fixes
2016-03-28 15:42:41 +02:00
Mikael Nordfeldth
2e327dfcd7
Probably fixes issue with looping XMPP queue items
2016-03-28 11:33:52 +02:00
Mikael Nordfeldth
97f7e6632d
Embed attachments marked up as microformats2 (I think rather properly)
2016-03-27 16:21:43 +02:00
Mikael Nordfeldth
327b8c863e
Initial (not yet working) fetch remote plugin
2016-03-27 15:01:44 +02:00
Mikael Nordfeldth
2d0153195e
Output proper remote info on WebFinger notice resources
2016-03-27 14:56:27 +02:00
Mikael Nordfeldth
7be4641040
Actually return an Ostatus_profile
2016-03-27 14:54:14 +02:00
Mikael Nordfeldth
4d382a59d0
Use HTTPClient instead of Yadis HTTPFetcher in Linkback plugin
2016-03-24 03:01:18 +01:00
Mikael Nordfeldth
be22886be8
Catch some exceptions in Linkback
2016-03-24 02:00:16 +01:00
Mikael Nordfeldth
f522c08438
Stricter typing in Realtime plugin functions
2016-03-24 01:41:58 +01:00
Mikael Nordfeldth
2759c3f0db
Debugging output in OStatus for easier reading+greping
2016-03-23 17:52:02 +01:00
Mikael Nordfeldth
8c6d0759c7
If upgraded from http to https, keep hubsub->topic up to date too (thanks hannes2peer)
2016-03-23 15:37:55 +01:00
Mikael Nordfeldth
0767bf487e
Use the new onUpdateKeys in dataobject for tasks on-update of keys
...
sets the hashkey column of the row to sha1(topic + '|' + callback)
2016-03-23 15:22:34 +01:00
Mikael Nordfeldth
f83b81b8c4
Change config webfinger/http_alias to fix/legacy_http
...
Set $config['fix']['legacy_http'] to perform some actions that are
needed if your site used to be served over http but now has upgraded
to https!
2016-03-23 15:21:02 +01:00
Mikael Nordfeldth
53c1750f0d
If the attachment is a photo, don't replace representation in oEmbed
2016-03-22 14:02:36 +01:00
Mikael Nordfeldth
51840a6693
doActionPost for delete should use deleteAs
2016-03-21 18:07:29 +01:00
Mikael Nordfeldth
55544845db
Just some comment clarification
2016-03-21 17:50:06 +01:00
Mikael Nordfeldth
14cb2d5398
Merge branch 'master' into mmn_fixes
2016-03-21 12:27:04 +01:00
Mikael Nordfeldth
afdd6d39ec
Some Google stuff that need to be there (or comments)
...
Note that these won't be shown to the enduser and will never be accessed automatically.
We should put the salmon-protocol stuff on ostatus.org
2016-03-21 12:25:04 +01:00
Mikael Nordfeldth
b4cbf620ab
woops, accidentally deleted updates-from rel on mass Google-deletion
2016-03-21 12:13:01 +01:00
Mikael Nordfeldth
1ebd4f342e
woops, accidentally deleted updates-from rel on mass Google-deletion
2016-03-21 12:12:24 +01:00
Mikael Nordfeldth
241b965715
oEmbed CSS file
2016-03-21 03:12:24 +01:00
Mikael Nordfeldth
980085a8a3
Merge branch 'master' of git.gnu.io:gnu/gnu-social into mmn_fixes
...
Conflicts:
plugins/Minify/extlib/minify/README.txt
plugins/Minify/extlib/minify/UPGRADING.txt
plugins/Minify/extlib/minify/min/README.txt
plugins/Minify/extlib/minify/min/builder/index.php
plugins/Minify/extlib/minify/min/lib/JSMin.php
plugins/Minify/extlib/minify/min/lib/Minify.php
plugins/Minify/extlib/minify/min/lib/Minify/CSS.php
plugins/Minify/extlib/minify/min/lib/Minify/CSS/Compressor.php
plugins/Minify/extlib/minify/min/lib/Minify/Controller/Page.php
plugins/Minify/extlib/minify/min/lib/Minify/Packer.php
plugins/Recaptcha/RecaptchaPlugin.php
2016-03-21 03:10:19 +01:00
Mikael Nordfeldth
50a10cf161
Minify is evil.
2016-03-21 03:02:22 +01:00
Mikael Nordfeldth
b7c4c960e2
Don't use default_port for irc schemes
2016-03-21 02:48:37 +01:00
Mikael Nordfeldth
e64c3a1d87
irc and ircs schemes for HTMLPurifier
2016-03-21 02:46:28 +01:00
Bob Mottram
11c57e7aee
Remove Google References
...
This removes most references to Google, with some
remaining since they may point to things which are still
relevant. References to Google Code, Google Buzz and
Google Maps have been removed
2016-03-20 13:06:58 +00:00
Mikael Nordfeldth
365f3d2aa5
Full-content oEmbed html doesn't take up all space (and renders properly)
2016-03-17 12:58:40 +01:00
Mikael Nordfeldth
102f7ab059
oEmbed neatifying (inspired by Qvitter)
2016-03-17 00:31:45 +01:00
Mikael Nordfeldth
b2cfbded2e
Upgrading from 1.1.x would make uri fields have length=255
2016-03-15 16:54:10 +01:00
Mikael Nordfeldth
f4833c6c91
More verbose salmon debugging
2016-03-15 16:53:19 +01:00
Mikael Nordfeldth
f32414dd93
Upgrading from 1.1.x would make uri fields have length=255
2016-03-15 16:52:57 +01:00
Mikael Nordfeldth
5ca2a28246
Make oEmbed handle our http/https setting better.
2016-03-10 14:20:21 +01:00
Mikael Nordfeldth
265fa12917
Relatively experimental change to store thumbnails in 'file/thumb/' (by default)
2016-03-07 22:33:34 +01:00
Mikael Nordfeldth
41b64cb8a3
static function declaration
2016-03-07 20:09:15 +01:00