]> git.mxchange.org Git - quix0rs-gnu-social.git/log
quix0rs-gnu-social.git
8 years agoNow we can delete a group logo.
Akio Nishimura [Wed, 20 Jan 2016 23:10:35 +0000 (08:10 +0900)]
Now we can delete a group logo.

8 years agoMerge branch 'master' into mmn_fixes
Mikael Nordfeldth [Sat, 16 Jan 2016 23:41:43 +0000 (00:41 +0100)]
Merge branch 'master' into mmn_fixes

8 years agoInitial user doesn't need as strict checking on email
Mikael Nordfeldth [Sat, 16 Jan 2016 16:20:26 +0000 (17:20 +0100)]
Initial user doesn't need as strict checking on email

8 years agoMerge branch 'master' of git.gnu.io:gnu/gnu-social
Mikael Nordfeldth [Sat, 16 Jan 2016 23:40:14 +0000 (00:40 +0100)]
Merge branch 'master' of git.gnu.io:gnu/gnu-social

8 years agoInitial user doesn't need as strict checking on email
Mikael Nordfeldth [Sat, 16 Jan 2016 16:20:26 +0000 (17:20 +0100)]
Initial user doesn't need as strict checking on email

8 years agoLet the remote side know the Salmon was accepted (sorta)
Mikael Nordfeldth [Sat, 16 Jan 2016 21:39:59 +0000 (22:39 +0100)]
Let the remote side know the Salmon was accepted (sorta)

8 years agoDistinguish notice saving errors from others for Salmon
Mikael Nordfeldth [Sat, 16 Jan 2016 21:36:42 +0000 (22:36 +0100)]
Distinguish notice saving errors from others for Salmon

8 years agoWe want exceptions to be noticable in activityhandlerplugin
Mikael Nordfeldth [Sat, 16 Jan 2016 20:19:34 +0000 (21:19 +0100)]
We want exceptions to be noticable in activityhandlerplugin

8 years agoAdd a check in Notice->asActivityObject that we're actually returning such a thing!
Mikael Nordfeldth [Sat, 16 Jan 2016 20:13:26 +0000 (21:13 +0100)]
Add a check in Notice->asActivityObject that we're actually returning such a thing!

8 years agoEmptyIdException doesn't carry ->obj
Mikael Nordfeldth [Sat, 16 Jan 2016 20:12:53 +0000 (21:12 +0100)]
EmptyIdException doesn't carry ->obj

8 years agodbqueuemanager logic
Mikael Nordfeldth [Sat, 16 Jan 2016 20:05:34 +0000 (21:05 +0100)]
dbqueuemanager logic

8 years agoExtremely verbose debugging is annoying
Mikael Nordfeldth [Sat, 16 Jan 2016 17:04:04 +0000 (18:04 +0100)]
Extremely verbose debugging is annoying

8 years agobulkDistribute won't add empty lists to database
Mikael Nordfeldth [Sat, 16 Jan 2016 16:34:27 +0000 (17:34 +0100)]
bulkDistribute won't add empty lists to database

8 years agoStart handling salmon entries directly with Notice::saveActivity
Mikael Nordfeldth [Sat, 16 Jan 2016 16:25:29 +0000 (17:25 +0100)]
Start handling salmon entries directly with Notice::saveActivity

More to come...

8 years agoInitial user doesn't need as strict checking on email
Mikael Nordfeldth [Sat, 16 Jan 2016 16:20:26 +0000 (17:20 +0100)]
Initial user doesn't need as strict checking on email

8 years agoIn very specific circumstances we can bulkDistribute 0 notices
Mikael Nordfeldth [Sat, 16 Jan 2016 16:18:14 +0000 (17:18 +0100)]
In very specific circumstances we can bulkDistribute 0 notices

Seems to be what caused an infinite loop on quitter.es, or I guess so anyway.

8 years agoMerge branch 'oembed_branch' into 'nightly'
mmn [Fri, 15 Jan 2016 13:11:35 +0000 (13:11 +0000)]
Merge branch 'oembed_branch' into 'nightly'

purify oembed html and don't allow cdata

hopefully we never need stuff in cdata

reason for this is that this link serves javascript in its oembed data: https://www.maketecheasier.com/switch-windows-10-to-linux/

see:
https://www.maketecheasier.com/wp-json/oembed/1.0/embed?url=https%3A%2F%2Fwww.maketecheasier.com%2Fswitch-windows-10-to-linux%2F

i don't feel we want that in our database.

See merge request !79

8 years agoRemoving superflous debug stuff
Mikael Nordfeldth [Thu, 14 Jan 2016 21:12:36 +0000 (22:12 +0100)]
Removing superflous debug stuff

8 years agoGet uploaded media_ids via File::getByID()
Mikael Nordfeldth [Thu, 14 Jan 2016 21:05:03 +0000 (22:05 +0100)]
Get uploaded media_ids via File::getByID()

Filters out failed ones...

8 years agoErrorAction and InfoAction fixes, are now ManagedAction
Mikael Nordfeldth [Thu, 14 Jan 2016 20:28:47 +0000 (21:28 +0100)]
ErrorAction and InfoAction fixes, are now ManagedAction

8 years agoErrorAction to autodiscoverable file.
Mikael Nordfeldth [Thu, 14 Jan 2016 20:21:34 +0000 (21:21 +0100)]
ErrorAction to autodiscoverable file.

8 years agorole examples in userrole.php
Mikael Nordfeldth [Thu, 14 Jan 2016 19:34:12 +0000 (20:34 +0100)]
role examples in userrole.php

8 years agoAccept media_ids parameter from Twitter API v1.1 clients
Mikael Nordfeldth [Thu, 14 Jan 2016 19:24:01 +0000 (20:24 +0100)]
Accept media_ids parameter from Twitter API v1.1 clients

They upload the media first and then provide media IDs in a comma
separated parameter (but we just split it to all whole integers).

8 years agoMedia files are accepted and uploaded via Twitter API now
Mikael Nordfeldth [Thu, 14 Jan 2016 18:15:02 +0000 (19:15 +0100)]
Media files are accepted and uploaded via Twitter API now

8 years agoMinor fixes in Linkback plugin
Mikael Nordfeldth [Thu, 14 Jan 2016 18:14:24 +0000 (19:14 +0100)]
Minor fixes in Linkback plugin

8 years agoException object was not supplied there
Mikael Nordfeldth [Thu, 14 Jan 2016 17:51:46 +0000 (18:51 +0100)]
Exception object was not supplied there

8 years agoMake Twitter Media upload API v1.1 reach us
Mikael Nordfeldth [Thu, 14 Jan 2016 17:29:21 +0000 (18:29 +0100)]
Make Twitter Media upload API v1.1 reach us

Now we just have to accept the 'media' or 'media_data' (base64 encoded)
POST arguments instead of $_FILES uploads.

8 years agoUse the Action class itself as error handler
Mikael Nordfeldth [Thu, 14 Jan 2016 17:11:54 +0000 (18:11 +0100)]
Use the Action class itself as error handler

8 years agoDebug message formatting gone wrong
Mikael Nordfeldth [Thu, 14 Jan 2016 12:52:11 +0000 (13:52 +0100)]
Debug message formatting gone wrong

8 years agoActually throw NoQueueHandlerException too.
Mikael Nordfeldth [Thu, 14 Jan 2016 12:48:33 +0000 (13:48 +0100)]
Actually throw NoQueueHandlerException too.

8 years agoIncorrect use of getByHashKey in HubSub
Mikael Nordfeldth [Thu, 14 Jan 2016 12:15:31 +0000 (13:15 +0100)]
Incorrect use of getByHashKey in HubSub

8 years agoDocumentation fix from master
Mikael Nordfeldth [Thu, 14 Jan 2016 12:11:27 +0000 (13:11 +0100)]
Documentation fix from master

8 years agoForgot to add NoRouteMapException to 6834f355f291c444c778b49c49d8663f7098ae01
Mikael Nordfeldth [Thu, 14 Jan 2016 12:07:00 +0000 (13:07 +0100)]
Forgot to add NoRouteMapException to 6834f355f291c444c778b49c49d8663f7098ae01

8 years agoDon't try to replace http with https if https already exists
Mikael Nordfeldth [Thu, 14 Jan 2016 12:06:37 +0000 (13:06 +0100)]
Don't try to replace http with https if https already exists

8 years agoMerge branch 'fix_readme' into 'master'
mmn [Thu, 14 Jan 2016 12:03:11 +0000 (12:03 +0000)]
Merge branch 'fix_readme' into 'master'

update readme for OpportunisticQM: array need to contain key/value pairs

according to the doc-block of addPlugin() the array should contain key/value pairs, see https://git.gnu.io/gnu/gnu-social/blob/master/lib/gnusocial.php#L46

I updated the readme for the OpportunisticQM plugin to reflect this.

See merge request !81

8 years agoarray need to contain key/value pairs
Björn Schießle [Thu, 14 Jan 2016 11:39:39 +0000 (12:39 +0100)]
array need to contain key/value pairs

8 years agoSalmon debugging
Mikael Nordfeldth [Thu, 14 Jan 2016 02:45:11 +0000 (03:45 +0100)]
Salmon debugging

8 years agoMaking ClientExceptions turn into ClientErrorAction
Mikael Nordfeldth [Thu, 14 Jan 2016 01:47:28 +0000 (02:47 +0100)]
Making ClientExceptions turn into ClientErrorAction

Got some 404s which were presented as 500

8 years agoDon't LOG_ERR missing paths (misspelling clients aren't errors)
Mikael Nordfeldth [Thu, 14 Jan 2016 01:22:47 +0000 (02:22 +0100)]
Don't LOG_ERR missing paths (misspelling clients aren't errors)

8 years agoFake oEmbed version in OpenGraph return object
Mikael Nordfeldth [Thu, 14 Jan 2016 01:09:12 +0000 (02:09 +0100)]
Fake oEmbed version in OpenGraph return object

8 years agoForgot semicolon
Mikael Nordfeldth [Thu, 14 Jan 2016 01:05:33 +0000 (02:05 +0100)]
Forgot semicolon

8 years agoException handling in queue handler logic
Mikael Nordfeldth [Thu, 14 Jan 2016 01:04:15 +0000 (02:04 +0100)]
Exception handling in queue handler logic

8 years agoSalmon queue handler getByID for exception throwing
Mikael Nordfeldth [Thu, 14 Jan 2016 00:51:00 +0000 (01:51 +0100)]
Salmon queue handler getByID for exception throwing

8 years agoHandle exceptions in QueueHandler classes
Mikael Nordfeldth [Thu, 14 Jan 2016 00:47:13 +0000 (01:47 +0100)]
Handle exceptions in QueueHandler classes

8 years agoDebugging by indexing callback column in HubSub
Mikael Nordfeldth [Wed, 13 Jan 2016 21:57:42 +0000 (22:57 +0100)]
Debugging by indexing callback column in HubSub

8 years agoOpenGraph image/thumbnail width and height
Mikael Nordfeldth [Wed, 13 Jan 2016 21:07:39 +0000 (22:07 +0100)]
OpenGraph image/thumbnail width and height

8 years ago$this->notice is never unset after prepare
Mikael Nordfeldth [Wed, 13 Jan 2016 20:34:15 +0000 (21:34 +0100)]
$this->notice is never unset after prepare

8 years agoDeleted_notice is pluginified, don't call directly from core
Mikael Nordfeldth [Wed, 13 Jan 2016 20:19:20 +0000 (21:19 +0100)]
Deleted_notice is pluginified, don't call directly from core

8 years agoEventify Notice getAsTimestamp (for Deleted_notice)
Mikael Nordfeldth [Wed, 13 Jan 2016 20:01:47 +0000 (21:01 +0100)]
Eventify Notice getAsTimestamp (for Deleted_notice)

8 years agoUnnecessary call to User::getKV
Mikael Nordfeldth [Wed, 13 Jan 2016 19:08:17 +0000 (20:08 +0100)]
Unnecessary call to User::getKV

8 years agogetLeaseRemaining for FeedSub too
Mikael Nordfeldth [Wed, 13 Jan 2016 19:01:00 +0000 (20:01 +0100)]
getLeaseRemaining for FeedSub too

8 years agos/getLease/getLeaseTime/ just to be a bit more clear
Mikael Nordfeldth [Wed, 13 Jan 2016 18:55:17 +0000 (19:55 +0100)]
s/getLease/getLeaseTime/ just to be a bit more clear

8 years agoDon't store lease seconds, just sub start and end
Mikael Nordfeldth [Wed, 13 Jan 2016 18:45:20 +0000 (19:45 +0100)]
Don't store lease seconds, just sub start and end

The seconds can always be calculated from the dates!

8 years agoMinor PuSH comment and debug stuff
Mikael Nordfeldth [Wed, 13 Jan 2016 18:24:38 +0000 (19:24 +0100)]
Minor PuSH comment and debug stuff

8 years agoRequest a month long sub lease by default
Mikael Nordfeldth [Wed, 13 Jan 2016 18:24:07 +0000 (19:24 +0100)]
Request a month long sub lease by default

8 years agoHubSub didn't save sub start and end datetimes
Mikael Nordfeldth [Wed, 13 Jan 2016 18:23:34 +0000 (19:23 +0100)]
HubSub didn't save sub start and end datetimes

8 years agoWe didn't get profiles from the new-style attention system
Mikael Nordfeldth [Wed, 13 Jan 2016 17:35:25 +0000 (18:35 +0100)]
We didn't get profiles from the new-style attention system

8 years agoTry if Profile is a Person (in effect ActivityObject::PERSON)
Mikael Nordfeldth [Wed, 13 Jan 2016 17:34:48 +0000 (18:34 +0100)]
Try if Profile is a Person (in effect ActivityObject::PERSON)

8 years agopurify oembed html
hannes [Wed, 13 Jan 2016 16:03:38 +0000 (16:03 +0000)]
purify oembed html

8 years agodon't allow cdata elements in purified html
hannes [Wed, 13 Jan 2016 16:01:27 +0000 (16:01 +0000)]
don't allow cdata elements in purified html

8 years agoUnused, unnecessary and intrusive cookie/storage removed!
Mikael Nordfeldth [Wed, 13 Jan 2016 14:22:28 +0000 (15:22 +0100)]
Unused, unnecessary and intrusive cookie/storage removed!

8 years agoproperty attribute could be null in meta tags of course
Mikael Nordfeldth [Wed, 13 Jan 2016 13:24:00 +0000 (14:24 +0100)]
property attribute could be null in meta tags of course

8 years agoCatch NoHttpResponseException when using HTTPClient
Mikael Nordfeldth [Wed, 13 Jan 2016 13:17:49 +0000 (14:17 +0100)]
Catch NoHttpResponseException when using HTTPClient

8 years agoNoHttpResponseException needed instead of HTTP_Request2_Exception
Mikael Nordfeldth [Wed, 13 Jan 2016 13:08:48 +0000 (14:08 +0100)]
NoHttpResponseException needed instead of HTTP_Request2_Exception

HTTP_Request2_Exception assumed an HTTP response status code/line

8 years agoUse the upstream function to get effectiveUrl
Mikael Nordfeldth [Wed, 13 Jan 2016 13:00:05 +0000 (14:00 +0100)]
Use the upstream function to get effectiveUrl

8 years agolib/language.php: rewrited jp as ja.
Akio Nishimura [Tue, 12 Jan 2016 19:38:24 +0000 (04:38 +0900)]
lib/language.php: rewrited jp as ja.

8 years agoAspect ratio on elements in inline-attachment list
Mikael Nordfeldth [Tue, 12 Jan 2016 22:12:41 +0000 (23:12 +0100)]
Aspect ratio on elements in inline-attachment list

8 years agoUgly hack to show thumbnails of otherwise unrepresentable attachments
Mikael Nordfeldth [Tue, 12 Jan 2016 14:38:59 +0000 (15:38 +0100)]
Ugly hack to show thumbnails of otherwise unrepresentable attachments

such as text/html, where the thumbnail has been retrieved via oEmbed/OpenGraph

8 years agoSuper-basic OpenGraph image preview support, "works for me"
Mikael Nordfeldth [Tue, 12 Jan 2016 14:29:03 +0000 (15:29 +0100)]
Super-basic OpenGraph image preview support, "works for me"

8 years agoDon't follow redirects on PuSH POST.
Mikael Nordfeldth [Tue, 12 Jan 2016 13:31:14 +0000 (14:31 +0100)]
Don't follow redirects on PuSH POST.

8 years agoMimetypes like image/svg+xml were misinterpreted when guessing
Mikael Nordfeldth [Tue, 12 Jan 2016 12:46:25 +0000 (13:46 +0100)]
Mimetypes like image/svg+xml were misinterpreted when guessing

We don't really need the mb_ in mb_strtolower but what the heck, why not. I love Unicode.

8 years agosame as previous, but for mime_to_ext
Mikael Nordfeldth [Tue, 12 Jan 2016 12:14:17 +0000 (13:14 +0100)]
same as previous, but for mime_to_ext

8 years agoIf all file extensions are supported we have no list of comparisons
Mikael Nordfeldth [Tue, 12 Jan 2016 12:08:54 +0000 (13:08 +0100)]
If all file extensions are supported we have no list of comparisons

8 years agoMerge branch 'common_purify_branch' into 'nightly'
mmn [Mon, 11 Jan 2016 21:14:41 +0000 (21:14 +0000)]
Merge branch 'common_purify_branch' into 'nightly'

EndCommonPurify event

Because we have problems with htmLawed on quitter.se, we want to check its output and maybe use another HTML purifier...

See merge request !78

8 years agoMerge branch 'apiaccountregister_event_branch' into 'nightly'
mmn [Mon, 11 Jan 2016 21:08:09 +0000 (21:08 +0000)]
Merge branch 'apiaccountregister_event_branch' into 'nightly'

APIStartRegistrationTry event

See merge request !77

8 years agoMerge branch 'hidden-h2s' into 'nightly'
mmn [Mon, 11 Jan 2016 21:01:26 +0000 (21:01 +0000)]
Merge branch 'hidden-h2s' into 'nightly'

Show H2s in notice content

With notices coming from other sources (e.g. Diaspora) and rich-text plugins
such as Textile/Markdown/TinyMCE, it's possible notices include H2 we want
to display.

See merge request !76

8 years agoforgot we need access to $html too
hannes [Mon, 11 Jan 2016 20:58:34 +0000 (20:58 +0000)]
forgot we need access to $html too

8 years agoEndCommonPurify event
hannes [Mon, 11 Jan 2016 20:54:19 +0000 (20:54 +0000)]
EndCommonPurify event

8 years agoAPIStartRegistrationTry event
hannes [Mon, 11 Jan 2016 20:04:31 +0000 (20:04 +0000)]
APIStartRegistrationTry event

8 years ago$target was klantigtly copied from another debug message
Mikael Nordfeldth [Mon, 11 Jan 2016 19:10:38 +0000 (20:10 +0100)]
$target was klantigtly copied from another debug message

8 years agoUpdate PuSH callback URL if remote side switched to HTTPS
Mikael Nordfeldth [Mon, 11 Jan 2016 18:55:02 +0000 (19:55 +0100)]
Update PuSH callback URL if remote side switched to HTTPS

See the comment in the source on why we're not following Location headers...

8 years agoMuch more logging in PushHubAction (OStatus)
Mikael Nordfeldth [Mon, 11 Jan 2016 18:54:05 +0000 (19:54 +0100)]
Much more logging in PushHubAction (OStatus)

8 years agolib/util.php quick function to do var_export($var,true)
Mikael Nordfeldth [Mon, 11 Jan 2016 18:52:54 +0000 (19:52 +0100)]
lib/util.php quick function to do var_export($var,true)

Immensely useful when debugging and we want to put quotes around strings,
potentially stopping any "evil logging attacks" (where input data masks
as logging data).

8 years agoDo updateWithKeys properly if someone would like to update PRI
Mikael Nordfeldth [Mon, 11 Jan 2016 18:52:33 +0000 (19:52 +0100)]
Do updateWithKeys properly if someone would like to update PRI

8 years agoMight as well put a $limit on preg_replace here
Mikael Nordfeldth [Mon, 11 Jan 2016 17:26:44 +0000 (18:26 +0100)]
Might as well put a $limit on preg_replace here

Since there will (should) never be more than one ^http in that string anyway.

8 years agoTag notice streams should only show post verbs
Mikael Nordfeldth [Mon, 11 Jan 2016 14:15:23 +0000 (15:15 +0100)]
Tag notice streams should only show post verbs

8 years agoOpportunisticQM matches against _system_ max_execution_time
Mikael Nordfeldth [Mon, 11 Jan 2016 12:35:29 +0000 (13:35 +0100)]
OpportunisticQM matches against _system_ max_execution_time

Probably never runs if max_execution_time is 0. I'll handle that later.

8 years agoHTTPClient would return null instead of exception
Mikael Nordfeldth [Mon, 11 Jan 2016 01:36:59 +0000 (02:36 +0100)]
HTTPClient would return null instead of exception

This caused $response->isOK() tests to call a function on a non-existing object, causing all hell to break loose.

8 years agoShow H2s in notice content
Chimo [Sun, 10 Jan 2016 15:37:30 +0000 (15:37 +0000)]
Show H2s in notice content

With notices coming from other sources (e.g. Diaspora) and rich-text plugins
such as Textile/Markdown/TinyMCE, it's possible notices include H2 we want
to display.

8 years agoNSTALL/UPGRADE documentation edits
Mikael Nordfeldth [Sun, 10 Jan 2016 09:44:16 +0000 (10:44 +0100)]
NSTALL/UPGRADE documentation edits

No more background folder for example. Also comments on chmod a+w

8 years agoControl OpportunisticQM verbosity
Mikael Nordfeldth [Sat, 9 Jan 2016 23:51:25 +0000 (00:51 +0100)]
Control OpportunisticQM verbosity

8 years agoMinor changes to OpportunisticQM for debugging
Mikael Nordfeldth [Sat, 9 Jan 2016 23:48:04 +0000 (00:48 +0100)]
Minor changes to OpportunisticQM for debugging

8 years agoPut salmon slaps in queues before pushing user Atom feed
Mikael Nordfeldth [Sat, 9 Jan 2016 23:29:32 +0000 (00:29 +0100)]
Put salmon slaps in queues before pushing user Atom feed

8 years agoNot only local groups should be added to group inbox notificiation table
Mikael Nordfeldth [Sat, 9 Jan 2016 14:14:38 +0000 (15:14 +0100)]
Not only local groups should be added to group inbox notificiation table

8 years agoGet group attentions too for outbound notices
Mikael Nordfeldth [Sat, 9 Jan 2016 14:06:44 +0000 (15:06 +0100)]
Get group attentions too for outbound notices

8 years agoDo proper fromUri lookup on groups too
Mikael Nordfeldth [Sat, 9 Jan 2016 13:36:47 +0000 (14:36 +0100)]
Do proper fromUri lookup on groups too

8 years agoCancelGroupForm gets same typing as Join and Leave
Mikael Nordfeldth [Sat, 9 Jan 2016 13:13:19 +0000 (14:13 +0100)]
CancelGroupForm gets same typing as Join and Leave

8 years agoIssue #121 - use correct Group ID and strict User_group typing
Mikael Nordfeldth [Sat, 9 Jan 2016 13:06:31 +0000 (14:06 +0100)]
Issue #121 - use correct Group ID and strict User_group typing

8 years agoLocal user profile getUrl gives dynamically generated URL
Mikael Nordfeldth [Sat, 9 Jan 2016 12:47:38 +0000 (13:47 +0100)]
Local user profile getUrl gives dynamically generated URL

8 years agoActually return the group home URL
Mikael Nordfeldth [Sat, 9 Jan 2016 12:33:30 +0000 (13:33 +0100)]
Actually return the group home URL