]> git.mxchange.org Git - quix0rs-gnu-social.git/log
quix0rs-gnu-social.git
7 years agoSeparate ensureHub into function in FeedSub
Mikael Nordfeldth [Thu, 27 Apr 2017 07:24:12 +0000 (09:24 +0200)]
Separate ensureHub into function in FeedSub

7 years agoEscaping a URI in common_debug call
Mikael Nordfeldth [Thu, 27 Apr 2017 07:23:45 +0000 (09:23 +0200)]
Escaping a URI in common_debug call

7 years agoLRDD blacklisted URL test
Mikael Nordfeldth [Wed, 26 Apr 2017 21:21:13 +0000 (23:21 +0200)]
LRDD blacklisted URL test

7 years agoTest URLs against blacklist also on PuSH subscriptions.
Mikael Nordfeldth [Wed, 26 Apr 2017 20:41:59 +0000 (22:41 +0200)]
Test URLs against blacklist also on PuSH subscriptions.

7 years agoallowed_schemes was misspelled
Mikael Nordfeldth [Wed, 26 Apr 2017 20:11:28 +0000 (22:11 +0200)]
allowed_schemes was misspelled

7 years agoMoving form to its own file as we do nowadays
Mikael Nordfeldth [Tue, 25 Apr 2017 19:11:49 +0000 (21:11 +0200)]
Moving form to its own file as we do nowadays

7 years agoModernise some function calls etc, to newer GNU social standards
Mikael Nordfeldth [Tue, 25 Apr 2017 19:03:43 +0000 (21:03 +0200)]
Modernise some function calls etc, to newer GNU social standards

7 years agoBlacklist plugin enabled by default (bug fixes will come)
Mikael Nordfeldth [Tue, 25 Apr 2017 18:43:31 +0000 (20:43 +0200)]
Blacklist plugin enabled by default (bug fixes will come)

7 years agoUse getByID nistead of getKV for Feedsub in PushInQueueHandler
Mikael Nordfeldth [Tue, 25 Apr 2017 18:42:10 +0000 (20:42 +0200)]
Use getByID nistead of getKV for Feedsub in PushInQueueHandler

7 years agoTry https first on URL mention lookup
Mikael Nordfeldth [Sat, 22 Apr 2017 10:29:53 +0000 (12:29 +0200)]
Try https first on URL mention lookup

7 years agoSomewhat simpler regex. Thanks acct:takeshitakenji@gs.kawa-kun.com
Mikael Nordfeldth [Sat, 22 Apr 2017 10:12:27 +0000 (12:12 +0200)]
Somewhat simpler regex. Thanks acct:takeshitakenji@gs.kawa-kun.com

7 years agoMerge branch 'master' into nightly
Mikael Nordfeldth [Sat, 22 Apr 2017 09:47:29 +0000 (11:47 +0200)]
Merge branch 'master' into nightly

No change should be made, just making sure...

7 years agoFix URL mention regular expression FOR REALZ
Mikael Nordfeldth [Sat, 22 Apr 2017 09:45:24 +0000 (11:45 +0200)]
Fix URL mention regular expression FOR REALZ

7 years agoFix URL mention regular expression FOR REALZ
Mikael Nordfeldth [Sat, 22 Apr 2017 09:45:24 +0000 (11:45 +0200)]
Fix URL mention regular expression FOR REALZ

7 years agoFix URL mention regular expression in OStatusPlugin
Mikael Nordfeldth [Sat, 22 Apr 2017 09:15:55 +0000 (11:15 +0200)]
Fix URL mention regular expression in OStatusPlugin

7 years agoDomain name regular expression into lib/framework.php
Mikael Nordfeldth [Sat, 22 Apr 2017 09:07:38 +0000 (11:07 +0200)]
Domain name regular expression into lib/framework.php

cherry-pick-merge

7 years agoSplit up OStatusPlugin preg functions so they can be reused
Mikael Nordfeldth [Sat, 22 Apr 2017 08:58:14 +0000 (10:58 +0200)]
Split up OStatusPlugin preg functions so they can be reused

cherry-pick-merge

7 years agoA bit more instructive debugging
Mikael Nordfeldth [Sat, 22 Apr 2017 08:55:24 +0000 (10:55 +0200)]
A bit more instructive debugging

7 years agoNew domain regexp for WebFinger matching.
Mikael Nordfeldth [Sat, 22 Apr 2017 08:51:03 +0000 (10:51 +0200)]
New domain regexp for WebFinger matching.

7 years agoFix URL mention regular expression in OStatusPlugin
Mikael Nordfeldth [Sat, 22 Apr 2017 09:15:55 +0000 (11:15 +0200)]
Fix URL mention regular expression in OStatusPlugin

7 years agoDomain name regular expression into lib/framework.php
Mikael Nordfeldth [Sat, 22 Apr 2017 09:07:38 +0000 (11:07 +0200)]
Domain name regular expression into lib/framework.php

7 years agoSplit up OStatusPlugin preg functions so they can be reused
Mikael Nordfeldth [Sat, 22 Apr 2017 08:58:14 +0000 (10:58 +0200)]
Split up OStatusPlugin preg functions so they can be reused

7 years agoA bit more instructive debugging
Mikael Nordfeldth [Sat, 22 Apr 2017 08:55:24 +0000 (10:55 +0200)]
A bit more instructive debugging

7 years agoNew domain regexp for WebFinger matching.
Mikael Nordfeldth [Sat, 22 Apr 2017 08:51:03 +0000 (10:51 +0200)]
New domain regexp for WebFinger matching.

7 years agoImport backlog on new subscription.
Mikael Nordfeldth [Fri, 21 Apr 2017 07:31:27 +0000 (09:31 +0200)]
Import backlog on new subscription.

Danger is when importing a new feed that may be maliciously crafted
to contain a zillion entries.

7 years agoSplit OStatusPlugin FeedSub receive into two parts
Mikael Nordfeldth [Fri, 21 Apr 2017 06:08:39 +0000 (08:08 +0200)]
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

7 years agoLess frightening interface on remote subscription
Mikael Nordfeldth [Wed, 19 Apr 2017 09:41:34 +0000 (11:41 +0200)]
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.

7 years agoEmpty resource would throw exception
Mikael Nordfeldth [Wed, 19 Apr 2017 09:37:43 +0000 (11:37 +0200)]
Empty resource would throw exception

The "+ Remote" link on your profile page broke because of exception.

7 years agoLess frightening interface on remote subscription
Mikael Nordfeldth [Wed, 19 Apr 2017 09:41:34 +0000 (11:41 +0200)]
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.

7 years agoEmpty resource would throw exception
Mikael Nordfeldth [Wed, 19 Apr 2017 09:37:43 +0000 (11:37 +0200)]
Empty resource would throw exception

The "+ Remote" link on your profile page broke because of exception.

7 years agoMerge branch 'master' into nightly
Mikael Nordfeldth [Sun, 16 Apr 2017 09:04:58 +0000 (11:04 +0200)]
Merge branch 'master' into nightly

7 years agoMerge branch 'master' of git.gnu.io:gnu/gnu-social
Mikael Nordfeldth [Sun, 16 Apr 2017 09:04:17 +0000 (11:04 +0200)]
Merge branch 'master' of git.gnu.io:gnu/gnu-social

7 years agoHandle normalized acct: URIs in ostatussub
Mikael Nordfeldth [Sun, 16 Apr 2017 09:01:16 +0000 (11:01 +0200)]
Handle normalized acct: URIs in ostatussub

Mastodon sent the proper acct: URI and not just 'user@domain' when
using the remote subscribe functionality.

7 years agoHandle normalized acct: URIs in ostatussub
Mikael Nordfeldth [Sun, 16 Apr 2017 09:01:16 +0000 (11:01 +0200)]
Handle normalized acct: URIs in ostatussub

Mastodon sent the proper acct: URI and not just 'user@domain' when
using the remote subscribe functionality.

7 years agoGive remote Atom URL for remote profile view
Mikael Nordfeldth [Sun, 9 Apr 2017 10:13:53 +0000 (12:13 +0200)]
Give remote Atom URL for remote profile view

7 years agoMerge branch 'nightly' of git.gnu.io:gnu/gnu-social into nightly
Mikael Nordfeldth [Thu, 6 Apr 2017 11:34:57 +0000 (13:34 +0200)]
Merge branch 'nightly' of git.gnu.io:gnu/gnu-social into nightly

7 years agoE-mail should contain full acct uri too (FancyName)
Mikael Nordfeldth [Thu, 6 Apr 2017 11:23:33 +0000 (13:23 +0200)]
E-mail should contain full acct uri too (FancyName)

7 years agoMerge branch 'fixtests' into 'nightly'
mmn [Thu, 6 Apr 2017 10:23:12 +0000 (10:23 +0000)]
Merge branch 'fixtests' into 'nightly'

Got Old Unittests Passing

See merge request !131

7 years agoMerge branch 'fix-twitterbridge' into 'nightly'
mmn [Thu, 6 Apr 2017 10:20:41 +0000 (10:20 +0000)]
Merge branch 'fix-twitterbridge' into 'nightly'

Fix TwitterBridge imported notices not displaying in timeline

See merge request !130

7 years agoShow full acct uri as html title on link mouseover
Mikael Nordfeldth [Thu, 6 Apr 2017 09:45:58 +0000 (11:45 +0200)]
Show full acct uri as html title on link mouseover

7 years agoMerge branch 'genericons-fix' into 'nightly'
mmn [Thu, 6 Apr 2017 09:23:51 +0000 (09:23 +0000)]
Merge branch 'genericons-fix' into 'nightly'

Fix paths for Genericons font

See merge request !132

7 years agoMerge branch 'atom-post' into 'nightly'
mmn [Thu, 6 Apr 2017 09:20:38 +0000 (09:20 +0000)]
Merge branch 'atom-post' into 'nightly'

Add support for Atom entry when posting status

See merge request !135

7 years agoMerge branch 'master' of git.gnu.io:gnu/gnu-social into nightly
Mikael Nordfeldth [Thu, 6 Apr 2017 09:15:37 +0000 (11:15 +0200)]
Merge branch 'master' of git.gnu.io:gnu/gnu-social into nightly

strk's OpenID fix

7 years agoMerge branch 'fix-openid-removal' into 'master'
mmn [Thu, 6 Apr 2017 09:12:35 +0000 (09:12 +0000)]
Merge branch 'fix-openid-removal' into 'master'

Fix OpenID URI removal

See merge request !138

7 years agoMerge branch 'normalized_openid' into 'master'
mmn [Thu, 6 Apr 2017 09:12:17 +0000 (09:12 +0000)]
Merge branch 'normalized_openid' into 'master'

Normalize OpenID URI before checking it for validity

Closes #251

See merge request !139

7 years agoMerge branch 'newListItem-signatures' into 'nightly'
mmn [Thu, 6 Apr 2017 09:11:52 +0000 (09:11 +0000)]
Merge branch 'newListItem-signatures' into 'nightly'

Add var type to newListItem() parameter

See merge request !137

7 years agoadd configuration option that was documented in CONFIGURE
Mikael Nordfeldth [Sun, 2 Apr 2017 09:05:22 +0000 (11:05 +0200)]
add configuration option that was documented in CONFIGURE

7 years agoFix OpenID URI removal
Sandro Santilli [Sat, 18 Mar 2017 12:33:07 +0000 (13:33 +0100)]
Fix OpenID URI removal

See #252

7 years agoNormalize OpenID URI before checking it for validity
Sandro Santilli [Sat, 18 Mar 2017 09:55:14 +0000 (10:55 +0100)]
Normalize OpenID URI before checking it for validity

Fixes #251

7 years agoMerge branch 'master' into nightly
Mikael Nordfeldth [Sat, 18 Mar 2017 00:37:04 +0000 (01:37 +0100)]
Merge branch 'master' into nightly

7 years agoMerge branch 'master' of git.gnu.io:gnu/gnu-social
Mikael Nordfeldth [Sat, 18 Mar 2017 00:36:35 +0000 (01:36 +0100)]
Merge branch 'master' of git.gnu.io:gnu/gnu-social

7 years agoStoreRemoteMedia now checks remote filesize before downloading
Mikael Nordfeldth [Fri, 24 Jun 2016 13:56:14 +0000 (15:56 +0200)]
StoreRemoteMedia now checks remote filesize before downloading

7 years agoAdd var type to newListItem() parameter
Chimo [Fri, 17 Mar 2017 02:57:16 +0000 (22:57 -0400)]
Add var type to newListItem() parameter

Fixes some "Declaration of $child::method should be compatible with
$parent::method" warnings.

7 years agoAdd support for Atom entry when posting status
Thomas Karpiniec [Sat, 4 Feb 2017 09:04:02 +0000 (20:04 +1100)]
Add support for Atom entry when posting status

7 years agoMerge branch 'master' of git.gnu.io:gnu/gnu-social into mmn_fixes
Mikael Nordfeldth [Sun, 15 Jan 2017 20:25:06 +0000 (21:25 +0100)]
Merge branch 'master' of git.gnu.io:gnu/gnu-social into mmn_fixes

7 years agoMerge branch 'improve-status-length-calculation' into 'master'
mmn [Sun, 15 Jan 2017 20:23:41 +0000 (20:23 +0000)]
Merge branch 'improve-status-length-calculation' into 'master'

improve status length calculation for messages forwarded to Twitter

See merge request !133

7 years agoif zip is fine then application/x-bzip2 is too
Mikael Nordfeldth [Wed, 11 Jan 2017 22:30:06 +0000 (23:30 +0100)]
if zip is fine then application/x-bzip2 is too

7 years agoimprove status length calculation, each link is exactly 23 characters long at Twitter
Bjoern Schiessle [Wed, 14 Dec 2016 14:54:02 +0000 (15:54 +0100)]
improve status length calculation, each link is exactly 23 characters long at Twitter

7 years agoTest for correct post object in retweets.
Roger Braun [Sun, 4 Dec 2016 15:19:59 +0000 (16:19 +0100)]
Test for correct post object in retweets.

7 years agoMake Mastodon retweets parse correctly.
Roger Braun [Sun, 4 Dec 2016 15:20:38 +0000 (16:20 +0100)]
Make Mastodon retweets parse correctly.

7 years agoTest for correct post object in retweets.
Roger Braun [Sun, 4 Dec 2016 15:19:59 +0000 (16:19 +0100)]
Test for correct post object in retweets.

8 years agoFix paths for Genericons font
Bhuvan Krishna [Thu, 17 Nov 2016 12:32:11 +0000 (18:02 +0530)]
Fix paths for Genericons font

Fix incorrect paths for Genericons font files.

Remove embedded woff in favor of file on disk. This make it easier when
packaging for distributions if the distribution wants to package
Genericons package separately.

8 years agolog with var_export (our shorthand _ve())
Mikael Nordfeldth [Sun, 23 Oct 2016 10:14:02 +0000 (12:14 +0200)]
log with var_export (our shorthand _ve())

8 years agoLess spammy logs
Mikael Nordfeldth [Sat, 22 Oct 2016 21:24:13 +0000 (23:24 +0200)]
Less spammy logs

8 years agosome debugging calls and make sure $hints['feedurl'] gets set with $feeduri in case...
Mikael Nordfeldth [Sat, 22 Oct 2016 21:08:44 +0000 (23:08 +0200)]
some debugging calls and make sure $hints['feedurl'] gets set with $feeduri in case that variable is used.

8 years agoA good plugin but not necessary as default.
Mikael Nordfeldth [Sat, 22 Oct 2016 17:27:07 +0000 (19:27 +0200)]
A good plugin but not necessary as default.

8 years agoMerge branch 'master' into mmn_fixes
Mikael Nordfeldth [Tue, 13 Sep 2016 09:26:03 +0000 (11:26 +0200)]
Merge branch 'master' into mmn_fixes

8 years agowrong variable was referenced
Mikael Nordfeldth [Tue, 13 Sep 2016 09:24:57 +0000 (11:24 +0200)]
wrong variable was referenced

8 years agoparenthesis fail
Mikael Nordfeldth [Thu, 1 Sep 2016 23:07:09 +0000 (01:07 +0200)]
parenthesis fail

8 years agoMerge branch 'master' into mmn_fixes
Mikael Nordfeldth [Thu, 1 Sep 2016 23:04:54 +0000 (01:04 +0200)]
Merge branch 'master' into mmn_fixes

8 years agoMerge branch 'master' of git.gnu.io:gnu/gnu-social
Mikael Nordfeldth [Thu, 1 Sep 2016 23:01:57 +0000 (01:01 +0200)]
Merge branch 'master' of git.gnu.io:gnu/gnu-social

8 years agoSplit up source and source_link. Never trust HTML!
Mikael Nordfeldth [Thu, 1 Sep 2016 22:55:46 +0000 (00:55 +0200)]
Split up source and source_link. Never trust HTML!

https://community.highlandarrow.com/notice/269667
or alternatively: https://social.umeahackerspace.se/conversation/495655

8 years agocommon_to_alphanumeric added, filtering Notice->source in classic layout
Mikael Nordfeldth [Thu, 1 Sep 2016 22:08:17 +0000 (00:08 +0200)]
common_to_alphanumeric added, filtering Notice->source in classic layout

8 years agoSplit up source and source_link. Never trust HTML!
Mikael Nordfeldth [Thu, 1 Sep 2016 22:55:46 +0000 (00:55 +0200)]
Split up source and source_link. Never trust HTML!

https://community.highlandarrow.com/notice/269667
or alternatively: https://social.umeahackerspace.se/conversation/495655

8 years agocommon_to_alphanumeric added, filtering Notice->source in classic layout
Mikael Nordfeldth [Thu, 1 Sep 2016 22:08:17 +0000 (00:08 +0200)]
common_to_alphanumeric added, filtering Notice->source in classic layout

8 years agoMake Group actions ManagedAction so groupbyid works
Mikael Nordfeldth [Sun, 28 Aug 2016 07:34:31 +0000 (09:34 +0200)]
Make Group actions ManagedAction so groupbyid works

8 years agobad log constant
Mikael Nordfeldth [Sat, 27 Aug 2016 22:16:31 +0000 (00:16 +0200)]
bad log constant

8 years agoTagCloud turned into plugin (performance issues on large installs)
Mikael Nordfeldth [Sat, 27 Aug 2016 13:24:25 +0000 (15:24 +0200)]
TagCloud turned into plugin (performance issues on large installs)

8 years agoDon't redirect to tag cloud on /tag URL
Mikael Nordfeldth [Sat, 27 Aug 2016 13:06:12 +0000 (15:06 +0200)]
Don't redirect to tag cloud on /tag URL

(this is probably just while we pluginify TagCloud)

8 years agoTyping on WebFinger onRouterInitialized handler argument URLMapper $m
Mikael Nordfeldth [Sat, 27 Aug 2016 13:00:29 +0000 (15:00 +0200)]
Typing on WebFinger onRouterInitialized handler argument URLMapper $m

8 years agoShorthand function to check if notice has been repeated.
Mikael Nordfeldth [Sat, 27 Aug 2016 12:42:28 +0000 (14:42 +0200)]
Shorthand function to check if notice has been repeated.

8 years agoneo-quitter display fixes for attachment since layout change
Mikael Nordfeldth [Thu, 25 Aug 2016 09:26:09 +0000 (11:26 +0200)]
neo-quitter display fixes for attachment since layout change

8 years agoMargin for oEmbed article etc.
Mikael Nordfeldth [Sun, 21 Aug 2016 16:23:16 +0000 (18:23 +0200)]
Margin for oEmbed article etc.

8 years agoarticles accidentally got aligned to center
Mikael Nordfeldth [Sun, 21 Aug 2016 07:36:22 +0000 (09:36 +0200)]
articles accidentally got aligned to center

8 years agoAttachment styling
Mikael Nordfeldth [Sun, 21 Aug 2016 07:25:45 +0000 (09:25 +0200)]
Attachment styling

8 years agoLess convoluted attachmentlistitem function calls
Mikael Nordfeldth [Sun, 21 Aug 2016 07:25:16 +0000 (09:25 +0200)]
Less convoluted attachmentlistitem function calls

8 years agodbqueuemanager should ignore on no-result-exceptions
Mikael Nordfeldth [Tue, 16 Aug 2016 18:27:41 +0000 (20:27 +0200)]
dbqueuemanager should ignore on no-result-exceptions

8 years agoActivityGenerationTests.php fails but doesn't crash anymore.
Nym Coy [Tue, 9 Aug 2016 04:12:25 +0000 (09:42 +0530)]
ActivityGenerationTests.php fails but doesn't crash anymore.

Fixed an error where a profile id was reused after another profile was
deleted, and the new profile still had the deleted role.

Fixed ActivityGenerationTests::testNoticeInfoRepeated() which was passing
User instead of Profile, throwing errors.

tests/ActivityGenerationTests.php now passes.

CommandInterpreterTest now passes.

Moved JidValidateTest to XmppValidateTest, since Jabber functionality has
moved to the XmppPlugin. Tests work but don't pass, but they are at least
skipped if XmppPlugin is not active.

LocationTest passes, but the tests are not very good. Lots of nulls.

MediaFileTest passes.

NicknameTest passes. Nickname::normalize() now throws an error if the
nickname is too long with underscores.

UserFeedParseTest passes.

URLDetectionTest passes if $config['linkify']['(bare_ipv4|bare_ipv6|
bare_domains)'] are false. Untested otherwise.

Fixed Nickname::isBlacklisted() so it does not throw an error if
$config['nickname]['blacklist'] not set.

8 years agoSet object_type to ActivityObject::NOTE on notices imported from Twitter. Previously...
Nym Coy [Tue, 9 Aug 2016 15:32:57 +0000 (21:02 +0530)]
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.

8 years agoReference local URLs in addressee list on notices.
Mikael Nordfeldth [Sat, 6 Aug 2016 16:29:38 +0000 (18:29 +0200)]
Reference local URLs in addressee list on notices.

8 years agoUsing File->setTitle in oEmbed
Mikael Nordfeldth [Sat, 23 Jul 2016 19:01:28 +0000 (21:01 +0200)]
Using File->setTitle in oEmbed

8 years agoCreated function File->setTitle(str)
Mikael Nordfeldth [Sat, 23 Jul 2016 19:00:57 +0000 (21:00 +0200)]
Created function File->setTitle(str)

8 years agofile_quota for OembedPlugin too
Mikael Nordfeldth [Thu, 21 Jul 2016 01:19:05 +0000 (03:19 +0200)]
file_quota for OembedPlugin too

Don't download huge files that might kill memory limits.

8 years agoUse File->getID()
Mikael Nordfeldth [Wed, 20 Jul 2016 23:38:48 +0000 (01:38 +0200)]
Use File->getID()

8 years agoSome comparisons were incorrect (text/html;charset=utf-8 etc.)
Mikael Nordfeldth [Wed, 20 Jul 2016 23:38:31 +0000 (01:38 +0200)]
Some comparisons were incorrect (text/html;charset=utf-8 etc.)

8 years agoSelect the first generated thumbnail, which should be the proper size
Mikael Nordfeldth [Wed, 20 Jul 2016 22:37:43 +0000 (00:37 +0200)]
Select the first generated thumbnail, which should be the proper size

...most of the time. If all works well.

8 years agoBecause the other part of the code works now, this is unnecessary
Mikael Nordfeldth [Wed, 20 Jul 2016 22:34:40 +0000 (00:34 +0200)]
Because the other part of the code works now, this is unnecessary

8 years agoreturn false to exit event, imgPath holds the path
Mikael Nordfeldth [Wed, 20 Jul 2016 22:27:22 +0000 (00:27 +0200)]
return false to exit event, imgPath holds the path

8 years agoVideoThumbnails shouldn't have to recreate the thumbnail all the time
Mikael Nordfeldth [Wed, 20 Jul 2016 22:24:05 +0000 (00:24 +0200)]
VideoThumbnails shouldn't have to recreate the thumbnail all the time

8 years agoDelete file on class destruction or we do it too quickly
Mikael Nordfeldth [Wed, 20 Jul 2016 22:23:27 +0000 (00:23 +0200)]
Delete file on class destruction or we do it too quickly

Source image was removed when trying to use it for resizeTo