]> git.mxchange.org Git - quix0rs-gnu-social.git/log
quix0rs-gnu-social.git
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 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 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

8 years agoEasier debugging of VideoThumbnails plugin
Mikael Nordfeldth [Wed, 20 Jul 2016 20:51:38 +0000 (22:51 +0200)]
Easier debugging of VideoThumbnails plugin

8 years agoFileNotFoundException is more proper here
Mikael Nordfeldth [Fri, 15 Jul 2016 11:19:16 +0000 (13:19 +0200)]
FileNotFoundException is more proper here

8 years agoDelete successfully generated thumbnail (temporary sources) too.
Mikael Nordfeldth [Fri, 15 Jul 2016 10:52:01 +0000 (12:52 +0200)]
Delete successfully generated thumbnail (temporary sources) too.

8 years agoChanged ShowfavoritesAction to use Action functions for profiles
Mikael Nordfeldth [Thu, 7 Jul 2016 09:11:20 +0000 (11:11 +0200)]
Changed ShowfavoritesAction to use Action functions for profiles

8 years agoHandle FileNotStoredLocallyException in attachmentlistitem
Mikael Nordfeldth [Wed, 6 Jul 2016 22:45:31 +0000 (00:45 +0200)]
Handle FileNotStoredLocallyException in attachmentlistitem

8 years agoReworked File->getUrl to throw exception
Mikael Nordfeldth [Wed, 6 Jul 2016 22:44:50 +0000 (00:44 +0200)]
Reworked File->getUrl to throw exception

In case you require a local URL and one can't be generated, throw
FileNotStoredLocallyException(File $file)

8 years agoI don't know why we would set the mimetype as title here
Mikael Nordfeldth [Wed, 6 Jul 2016 22:43:51 +0000 (00:43 +0200)]
I don't know why we would set the mimetype as title here

8 years agoIf the file is text/plain, see if we accept the extension
Mikael Nordfeldth [Wed, 6 Jul 2016 07:34:09 +0000 (09:34 +0200)]
If the file is text/plain, see if we accept the extension

8 years agoMore specific exceptions for mimetype/extension issues.
Mikael Nordfeldth [Wed, 6 Jul 2016 07:14:59 +0000 (09:14 +0200)]
More specific exceptions for mimetype/extension issues.

8 years agoSome mimetype madness!
Mikael Nordfeldth [Wed, 6 Jul 2016 06:59:16 +0000 (08:59 +0200)]
Some mimetype madness!

8 years agoUse delivered content-type to parse XML_XRD
Mikael Nordfeldth [Sat, 2 Jul 2016 11:44:25 +0000 (13:44 +0200)]
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.

8 years agoBetter logging for issue #205
Mikael Nordfeldth [Sat, 2 Jul 2016 11:32:23 +0000 (13:32 +0200)]
Better logging for issue #205

8 years agoMake all hash algorithms available (but whitelist by default)
Mikael Nordfeldth [Tue, 28 Jun 2016 09:51:11 +0000 (11:51 +0200)]
Make all hash algorithms available (but whitelist by default)

sha1 is whitelisted only because StatusNet requires it.

8 years agoactually respond with the error message in text on Salmon calls
Mikael Nordfeldth [Sat, 25 Jun 2016 18:50:00 +0000 (20:50 +0200)]
actually respond with the error message in text on Salmon calls

8 years agoA bunch of GIFs were >5MiB!
Mikael Nordfeldth [Sat, 25 Jun 2016 18:37:00 +0000 (20:37 +0200)]
A bunch of GIFs were >5MiB!

8 years agoEven more phpseclib update related stuff.
Mikael Nordfeldth [Sat, 25 Jun 2016 18:34:28 +0000 (20:34 +0200)]
Even more phpseclib update related stuff.

8 years agoGive Webfinger response to group queries
Mikael Nordfeldth [Sat, 25 Jun 2016 18:13:19 +0000 (20:13 +0200)]
Give Webfinger response to group queries

8 years agoWe have to create and populate the Notice_location table before constraint checking...
Mikael Nordfeldth [Sat, 25 Jun 2016 11:01:56 +0000 (13:01 +0200)]
We have to create and populate the Notice_location table before constraint checking foreign keys.

8 years agoURIFIX in Ostatus_profile, handle missing feedsub
Mikael Nordfeldth [Sat, 25 Jun 2016 09:59:31 +0000 (11:59 +0200)]
URIFIX in Ostatus_profile, handle missing feedsub

8 years agoManaged_DataObject now has getByUri()
Mikael Nordfeldth [Sat, 25 Jun 2016 09:58:36 +0000 (11:58 +0200)]
Managed_DataObject now has getByUri()

8 years agogetByUri shorthand function for Managed_DataObject (with uri)
Mikael Nordfeldth [Sat, 25 Jun 2016 09:52:17 +0000 (11:52 +0200)]
getByUri shorthand function for Managed_DataObject (with uri)

8 years agos/EmptyIdException/EmptyPkeyValueException/
Mikael Nordfeldth [Sat, 25 Jun 2016 09:50:59 +0000 (11:50 +0200)]
s/EmptyIdException/EmptyPkeyValueException/

8 years agoUse a separate max download limit for remote files than file_quota too
Mikael Nordfeldth [Fri, 24 Jun 2016 14:07:57 +0000 (16:07 +0200)]
Use a separate max download limit for remote files than file_quota too

8 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

8 years agoAllow getting filesize by function
Mikael Nordfeldth [Fri, 24 Jun 2016 13:53:23 +0000 (15:53 +0200)]
Allow getting filesize by function

8 years agoStoreRemoteMedia avoids too large files
Mikael Nordfeldth [Fri, 24 Jun 2016 13:47:02 +0000 (15:47 +0200)]
StoreRemoteMedia avoids too large files

8 years agoAllow a quickHead request, will only return headers
Mikael Nordfeldth [Fri, 24 Jun 2016 13:43:20 +0000 (15:43 +0200)]
Allow a quickHead request, will only return headers

8 years agofixes issue #189 with a script lacking exception handling
Mikael Nordfeldth [Fri, 24 Jun 2016 13:19:24 +0000 (15:19 +0200)]
fixes issue #189 with a script lacking exception handling

8 years agoParagonIE\ConstantTime required PHP7, going to v1.x branch
Mikael Nordfeldth [Fri, 24 Jun 2016 12:49:52 +0000 (14:49 +0200)]
ParagonIE\ConstantTime required PHP7, going to v1.x branch

8 years agoProperly parse incoming bookmarks
Mikael Nordfeldth [Fri, 24 Jun 2016 11:51:40 +0000 (13:51 +0200)]
Properly parse incoming bookmarks

8 years agoHandle exception from Magic Envelope toXML function
Mikael Nordfeldth [Thu, 23 Jun 2016 21:27:18 +0000 (23:27 +0200)]
Handle exception from Magic Envelope toXML function

8 years agoUnnecessarily verbose code
Mikael Nordfeldth [Thu, 23 Jun 2016 21:03:58 +0000 (23:03 +0200)]
Unnecessarily verbose code

8 years agoPrimaryNoticeList so we get InfiniteScroll on profile pages
Mikael Nordfeldth [Tue, 21 Jun 2016 13:55:49 +0000 (15:55 +0200)]
PrimaryNoticeList so we get InfiniteScroll on profile pages

8 years agothrow ClientException instead of clientError
Mikael Nordfeldth [Sun, 19 Jun 2016 01:38:00 +0000 (03:38 +0200)]
throw ClientException instead of clientError

8 years agoBump Diaspora plugin version because of phpseclib fix
Mikael Nordfeldth [Sun, 19 Jun 2016 01:25:03 +0000 (03:25 +0200)]
Bump Diaspora plugin version because of phpseclib fix

8 years agophpseclib defaults to OAEP but we want PKCS1 in D*
Mikael Nordfeldth [Sun, 19 Jun 2016 01:23:26 +0000 (03:23 +0200)]
phpseclib defaults to OAEP but we want PKCS1 in D*

8 years agoErr, don't need that comment.
Mikael Nordfeldth [Sun, 19 Jun 2016 00:27:50 +0000 (02:27 +0200)]
Err, don't need that comment.

8 years agoMissed some phpseclib stuff in DiasporaPlugin
Mikael Nordfeldth [Sun, 19 Jun 2016 00:26:44 +0000 (02:26 +0200)]
Missed some phpseclib stuff in DiasporaPlugin

8 years agobump to beta5 since phpseclib update (which might cause some issues still)
Mikael Nordfeldth [Fri, 17 Jun 2016 22:05:54 +0000 (00:05 +0200)]
bump to beta5 since phpseclib update (which might cause some issues still)

8 years agoLet's just put the namespaced phpseclib in extlib instead of plugins/OStatus/extlib
Mikael Nordfeldth [Fri, 17 Jun 2016 22:00:32 +0000 (00:00 +0200)]
Let's just put the namespaced phpseclib in extlib instead of plugins/OStatus/extlib

8 years agoextlib required by phpseclib (ParagonIE/ConstantTime)
Mikael Nordfeldth [Fri, 17 Jun 2016 21:58:49 +0000 (23:58 +0200)]
extlib required by phpseclib (ParagonIE/ConstantTime)

8 years agorepost_of -> repeat_of, also trying with isset()
Mikael Nordfeldth [Fri, 17 Jun 2016 21:53:05 +0000 (23:53 +0200)]
repost_of -> repeat_of, also trying with isset()

8 years agoMagicsig call for phpseclib\Math\BigInteger fixed
Mikael Nordfeldth [Fri, 17 Jun 2016 21:47:00 +0000 (23:47 +0200)]
Magicsig call for phpseclib\Math\BigInteger fixed

8 years agoOStatus Magicsig adaptations to new phpseclib
Mikael Nordfeldth [Fri, 17 Jun 2016 21:43:24 +0000 (23:43 +0200)]
OStatus Magicsig adaptations to new phpseclib

Some constants have changed and the way to call RSA->sign(...) too.

8 years agoDiaspora phpseclib update
Mikael Nordfeldth [Fri, 17 Jun 2016 21:42:50 +0000 (23:42 +0200)]
Diaspora phpseclib update

8 years agobump Linkback plugin thanks to awesome singpolyma
Mikael Nordfeldth [Fri, 17 Jun 2016 21:22:44 +0000 (23:22 +0200)]
bump Linkback plugin thanks to awesome singpolyma

8 years agoHandle namespaces for new phpseclib
Mikael Nordfeldth [Fri, 17 Jun 2016 21:21:34 +0000 (23:21 +0200)]
Handle namespaces for new phpseclib

8 years agophpseclib updated, some new features that we won't use
Mikael Nordfeldth [Fri, 17 Jun 2016 20:44:12 +0000 (22:44 +0200)]
phpseclib updated, some new features that we won't use

8 years agoMerge branch 'avatar-folder-perms' into 'nightly'
mmn [Fri, 17 Jun 2016 20:33:20 +0000 (16:33 -0400)]
Merge branch 'avatar-folder-perms' into 'nightly'

Display error if wrong perms on 'avatar' dir

If the 'avatar' folder isn't writeable, don't let users try to
upload/delete one (and fail). Instead, print an error message about
the misconfigured folder permission.

Ref. #196

See merge request !126

8 years agoMerge branch 'tom/noreferrer' into 'nightly'
mmn [Fri, 17 Jun 2016 20:32:39 +0000 (16:32 -0400)]
Merge branch 'tom/noreferrer' into 'nightly'

Use noreferrer when linkifying attachments and allow this value in purifier

If you click on a link in your main timeline this effectively identifies you to the site that you visited via the Referer header. (Who goes around reading other people's /user/all, honestly?)

Annoyingly our notice content is already HTML. Rather than attempt to parse and modify the tags in flight, this modification takes the simpler approach of adding the noreferrer tag to inline links by default when notices are composed.

See merge request !127

8 years agoMerge branch 'check-connection-on-install' into 'master'
mmn [Fri, 17 Jun 2016 20:30:25 +0000 (16:30 -0400)]
Merge branch 'check-connection-on-install' into 'master'

Check DB connection before any possible use

This is to avoid an exception when enabling 'pgsql' backend

See merge request !121

8 years agoMerge branch 'strict-warnings' into 'nightly'
mmn [Fri, 17 Jun 2016 20:29:47 +0000 (16:29 -0400)]
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

8 years agoMerge branch 'notice-location' into 'nightly'
mmn [Fri, 17 Jun 2016 20:28:56 +0000 (16:28 -0400)]
Merge branch 'notice-location' into 'nightly'

Re-enable notice locations

Removed a stray 'return' statement.

See merge request !125

8 years agoMerge branch 'site-notice' into 'nightly'
mmn [Fri, 17 Jun 2016 20:28:01 +0000 (16:28 -0400)]
Merge branch 'site-notice' into 'nightly'

Site Notice: common_purify instead of HTMLPurifier

So that we can use our custom settings (e.g: extra URI schemes) in the
site notice textbox.

Ref. #170

See merge request !124

8 years agoMerge branch 'webmention-rocks' into 'nightly'
mmn [Fri, 17 Jun 2016 20:26:21 +0000 (16:26 -0400)]
Merge branch 'webmention-rocks' into 'nightly'

webmention.rocks

I have improved the webmention handling so that all but two of the webmention.rocks compliance tests pass now.  Also improved parsing of time/authors on incoming webmentions.

See merge request !128

8 years agoApparently medium.com uses @ frequently i URLs
Mikael Nordfeldth [Fri, 17 Jun 2016 09:20:36 +0000 (11:20 +0200)]
Apparently medium.com uses @ frequently i URLs

and we skipped them because we assumed they were urlencoded when copied.