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

8 years agoWups, $poster could be undefined
Mikael Nordfeldth [Sat, 9 Jan 2016 12:15:09 +0000 (13:15 +0100)]
Wups, $poster could be undefined

8 years agoAttention goes to the parent notice author too
Mikael Nordfeldth [Fri, 8 Jan 2016 01:58:31 +0000 (02:58 +0100)]
Attention goes to the parent notice author too

8 years agoSave attentions to Reply table for backwards compatibility
Mikael Nordfeldth [Fri, 8 Jan 2016 00:59:16 +0000 (01:59 +0100)]
Save attentions to Reply table for backwards compatibility

local users only of course

8 years agoAdd more info in logging call
Mikael Nordfeldth [Fri, 8 Jan 2016 00:52:10 +0000 (01:52 +0100)]
Add more info in logging call

There shouldn't be *HandleSalmonTarget, only verification of actor and
then Notice::saveActivity()!

8 years agoOStatus queue handler uses Notice->getAttentionProfiles()
Mikael Nordfeldth [Fri, 8 Jan 2016 00:31:47 +0000 (01:31 +0100)]
OStatus queue handler uses Notice->getAttentionProfiles()

and lots more debugging for LOG_DEBUG

8 years agoDefault to not include delete verbs in notice streams
Mikael Nordfeldth [Thu, 7 Jan 2016 22:33:47 +0000 (23:33 +0100)]
Default to not include delete verbs in notice streams

8 years agoNotice from web now saves context->attention too! ;)
Mikael Nordfeldth [Thu, 7 Jan 2016 22:24:15 +0000 (23:24 +0100)]
Notice from web now saves context->attention too! ;)

8 years agosaveAttentions, trying to move away from saveReply
Mikael Nordfeldth [Thu, 7 Jan 2016 22:23:51 +0000 (23:23 +0100)]
saveAttentions, trying to move away from saveReply

8 years agocommon_find_attentions to populate activities from content text
Mikael Nordfeldth [Thu, 7 Jan 2016 22:23:37 +0000 (23:23 +0100)]
common_find_attentions to populate activities from content text

8 years agoDon't store the notice object for distrib queue handler, just id
Mikael Nordfeldth [Thu, 7 Jan 2016 19:24:59 +0000 (20:24 +0100)]
Don't store the notice object for distrib queue handler, just id

8 years agoBeforePluginCheckSchema event for checkschema.php
Mikael Nordfeldth [Thu, 7 Jan 2016 17:45:36 +0000 (18:45 +0100)]
BeforePluginCheckSchema event for checkschema.php

8 years agoshortenLinks _after_ media upload to be consistent with api
Mikael Nordfeldth [Thu, 7 Jan 2016 17:14:45 +0000 (18:14 +0100)]
shortenLinks _after_ media upload to be consistent with api

8 years agoUse index for File url (urlhash)
Mikael Nordfeldth [Thu, 7 Jan 2016 17:13:10 +0000 (18:13 +0100)]
Use index for File url (urlhash)

8 years agoshortenLinks with a capital L
Mikael Nordfeldth [Thu, 7 Jan 2016 17:12:29 +0000 (18:12 +0100)]
shortenLinks with a capital L

8 years ago think I have managed to show oEmbed images better now
Mikael Nordfeldth [Thu, 7 Jan 2016 16:35:37 +0000 (17:35 +0100)]
 think I have managed to show oEmbed images better now

8 years agoFixed group representation in Directory plugin, also some ->raw calls
Mikael Nordfeldth [Thu, 7 Jan 2016 11:58:14 +0000 (12:58 +0100)]
Fixed group representation in Directory plugin, also some ->raw calls

8 years agoReturn Profile objects from getGroups in GroupdirectoryAction
Mikael Nordfeldth [Thu, 7 Jan 2016 11:35:52 +0000 (12:35 +0100)]
Return Profile objects from getGroups in GroupdirectoryAction

8 years agoAppropriate exception message in GroupNoProfileException
Mikael Nordfeldth [Thu, 7 Jan 2016 11:14:48 +0000 (12:14 +0100)]
Appropriate exception message in GroupNoProfileException

8 years agoDefine User_group::$profile_id among class variables
Mikael Nordfeldth [Thu, 7 Jan 2016 11:12:27 +0000 (12:12 +0100)]
Define User_group::$profile_id among class variables

8 years agoMax execution time margin for OpportunisticQM
Mikael Nordfeldth [Thu, 7 Jan 2016 10:58:09 +0000 (11:58 +0100)]
Max execution time margin for OpportunisticQM

I guess it could continue a bit too long in case it got a really long
(failing, timeouting) HTTP request just before max_execution_time hit.

8 years agoIndex the verb column since we do COUNT(*) based on it
Mikael Nordfeldth [Thu, 7 Jan 2016 10:39:46 +0000 (11:39 +0100)]
Index the verb column since we do COUNT(*) based on it

8 years agoConversation entries where id==0 would screw up the "re-auto-increment" sequencing
Mikael Nordfeldth [Wed, 6 Jan 2016 21:26:17 +0000 (22:26 +0100)]
Conversation entries where id==0 would screw up the "re-auto-increment" sequencing

8 years agoGah and a 302 in the non-exception-handling redirect too
Mikael Nordfeldth [Wed, 6 Jan 2016 19:09:59 +0000 (20:09 +0100)]
Gah and a 302 in the non-exception-handling redirect too

8 years agoAttachment thumbnail redirect is a 302 redirect
Mikael Nordfeldth [Wed, 6 Jan 2016 19:07:40 +0000 (20:07 +0100)]
Attachment thumbnail redirect is a 302 redirect

It SHOULD be cached but it might no longer be valid if we empty cache or something.

8 years agoOur URLs are permanent redirects, mind you!
Mikael Nordfeldth [Wed, 6 Jan 2016 19:06:14 +0000 (20:06 +0100)]
Our URLs are permanent redirects, mind you!

8 years agoBreaking class definitions out into separate files and fixing typing
Mikael Nordfeldth [Wed, 6 Jan 2016 18:46:56 +0000 (19:46 +0100)]
Breaking class definitions out into separate files and fixing typing

8 years agoDon't update stored URLs just because we have a filename
Mikael Nordfeldth [Wed, 6 Jan 2016 18:23:38 +0000 (19:23 +0100)]
Don't update stored URLs just because we have a filename

This would overwrite remote URLs with local verisons which removes source href...
The reason one might have filenames for remote URLs is that StoreRemoteMedia plugin
fetches them and uses the filename field.

8 years agoReturn dynamically generated URLs for thumbnails for all locally stored entries
Mikael Nordfeldth [Wed, 6 Jan 2016 18:06:29 +0000 (19:06 +0100)]
Return dynamically generated URLs for thumbnails for all locally stored entries

8 years agoAlways generate notice URLs on the fly for local notices
Mikael Nordfeldth [Wed, 6 Jan 2016 15:24:33 +0000 (16:24 +0100)]
Always generate notice URLs on the fly for local notices

Related to issue #118

8 years agoIssue #118 wanted better TOR support, now Avatar URLs are not stored
Mikael Nordfeldth [Wed, 6 Jan 2016 15:14:26 +0000 (16:14 +0100)]
Issue #118 wanted better TOR support, now Avatar URLs are not stored

There was no reason to store the generated Avatar URLs because it's so
cheap to generate them on the fly.

8 years agoNote in the debug log if we render the HTML of a message
Mikael Nordfeldth [Wed, 6 Jan 2016 14:37:30 +0000 (15:37 +0100)]
Note in the debug log if we render the HTML of a message

8 years agoAvoid having to check for notices without rendered copies in upgrade.php
Mikael Nordfeldth [Wed, 6 Jan 2016 14:32:00 +0000 (15:32 +0100)]
Avoid having to check for notices without rendered copies in upgrade.php

Always call the Notice->getRendered() function to get a rendered copy.
We could perhaps put some sanitation there too in the future

8 years agoGet conversation ID from child too in scripts/upgrade.php
Mikael Nordfeldth [Wed, 6 Jan 2016 13:57:30 +0000 (14:57 +0100)]
Get conversation ID from child too in scripts/upgrade.php

8 years agoSomewhat more meaningful error message
Mikael Nordfeldth [Wed, 6 Jan 2016 13:10:37 +0000 (14:10 +0100)]
Somewhat more meaningful error message

8 years agoConversation IDs (again) no longer based on Notice ID
Mikael Nordfeldth [Wed, 6 Jan 2016 12:58:46 +0000 (13:58 +0100)]
Conversation IDs (again) no longer based on Notice ID

8 years agoMore listitems and lists into separate files + stronger typing
Mikael Nordfeldth [Wed, 6 Jan 2016 00:36:46 +0000 (01:36 +0100)]
More listitems and lists into separate files + stronger typing

8 years agoSeparating classes into files and stronger typing
Mikael Nordfeldth [Wed, 6 Jan 2016 00:30:12 +0000 (01:30 +0100)]
Separating classes into files and stronger typing

8 years agoTyping to Profile
Mikael Nordfeldth [Wed, 6 Jan 2016 00:25:00 +0000 (01:25 +0100)]
Typing to Profile

8 years agoSubscriber lists to separate files and also Profile typing
Mikael Nordfeldth [Tue, 5 Jan 2016 23:57:31 +0000 (00:57 +0100)]
Subscriber lists to separate files and also Profile typing

8 years agoMerge branch 'nightly' of git.gnu.io:gnu/gnu-social into mmn_fixes
Mikael Nordfeldth [Tue, 5 Jan 2016 23:53:20 +0000 (00:53 +0100)]
Merge branch 'nightly' of git.gnu.io:gnu/gnu-social into mmn_fixes

8 years agoMerge branch 'nightly' into 'nightly'
mmn [Tue, 5 Jan 2016 23:53:08 +0000 (23:53 +0000)]
Merge branch 'nightly' into 'nightly'

only count post-notices (i.e. don't include activity-notices in statuses_count in the API)

See merge request !73

8 years agoMerge request #10 by aroque but in a slightly different version
Mikael Nordfeldth [Tue, 5 Jan 2016 23:48:03 +0000 (00:48 +0100)]
Merge request #10 by aroque but in a slightly different version

8 years ago$notices->verb = ActivityVerb::POST;
hannes [Tue, 5 Jan 2016 23:29:48 +0000 (23:29 +0000)]
$notices->verb = ActivityVerb::POST;

8 years agoMerge branch 'openid-plugin' into 'nightly'
mmn [Tue, 5 Jan 2016 23:28:28 +0000 (23:28 +0000)]
Merge branch 'openid-plugin' into 'nightly'

OpenID plugin: 'openid_only' should be 'openidonly'

To match everywhere else.

See merge request !72

8 years agoMerge branch 'nightly' of git.gnu.io:gnu/gnu-social into mmn_fixes
Mikael Nordfeldth [Tue, 5 Jan 2016 23:24:41 +0000 (00:24 +0100)]
Merge branch 'nightly' of git.gnu.io:gnu/gnu-social into mmn_fixes

8 years agoMerge branch 'lookup_url_fix' into 'nightly'
mmn [Tue, 5 Jan 2016 23:24:16 +0000 (23:24 +0000)]
Merge branch 'lookup_url_fix' into 'nightly'

makes url lookup work and adds full url to href for shortened links

See merge request !74

8 years agoRequire Profile for Profile->getLists
Mikael Nordfeldth [Tue, 5 Jan 2016 23:18:10 +0000 (00:18 +0100)]
Require Profile for Profile->getLists

8 years agolongurl in href
hannes [Tue, 5 Jan 2016 23:14:51 +0000 (23:14 +0000)]
longurl in href

8 years agoadd $redir->redir_url to use in common_linkify()
hannes [Tue, 5 Jan 2016 23:07:24 +0000 (23:07 +0000)]
add $redir->redir_url to use in common_linkify()

8 years agoRequire Profile for Profile->getOtherTags
Mikael Nordfeldth [Tue, 5 Jan 2016 22:07:30 +0000 (23:07 +0100)]
Require Profile for Profile->getOtherTags

8 years ago$longurl->url is just the same $canon we fed to File_redirection::where()
hannes [Tue, 5 Jan 2016 23:06:02 +0000 (23:06 +0000)]
$longurl->url is just the same $canon we fed to File_redirection::where()

8 years agoeffectiveUrl seems to contain the url we want
hannes [Tue, 5 Jan 2016 22:44:06 +0000 (22:44 +0000)]
effectiveUrl seems to contain the url we want

8 years agoDon't abort on too long notices in Notice::saveActivity
Mikael Nordfeldth [Tue, 5 Jan 2016 16:31:09 +0000 (17:31 +0100)]
Don't abort on too long notices in Notice::saveActivity

8 years agoonly count post-notices (i.e. don't include activity-notices in statuses_count in...
hannes [Tue, 5 Jan 2016 14:19:33 +0000 (14:19 +0000)]
only count post-notices (i.e. don't include activity-notices in statuses_count in the API)

8 years agoIf there's no Happening, we can't use the RSVP.
Mikael Nordfeldth [Tue, 5 Jan 2016 14:00:34 +0000 (15:00 +0100)]
If there's no Happening, we can't use the RSVP.

8 years agoprocessFeed would abort on certain errors where findLocalObject failed
Mikael Nordfeldth [Tue, 5 Jan 2016 14:00:07 +0000 (15:00 +0100)]
processFeed would abort on certain errors where findLocalObject failed

8 years agoXSS vulnerability when remote-subscribing
Mikael Nordfeldth [Tue, 5 Jan 2016 11:15:50 +0000 (12:15 +0100)]
XSS vulnerability when remote-subscribing

->raw was used on non-filtered strings for some reasons, changed
to ->text.

8 years agoProfileMiniList->newListItem changed to match ProfileList->newListItem
Mikael Nordfeldth [Mon, 4 Jan 2016 23:09:47 +0000 (00:09 +0100)]
ProfileMiniList->newListItem changed to match ProfileList->newListItem

8 years agoAllow Profile->getCurrentNotice to send scoped profile info
Mikael Nordfeldth [Mon, 4 Jan 2016 20:42:24 +0000 (21:42 +0100)]
Allow Profile->getCurrentNotice to send scoped profile info

not that we're using it anywhere (yet anyway).

8 years agoProfile->getCurrentNotice handles PrivateStreamException
Mikael Nordfeldth [Mon, 4 Jan 2016 20:38:41 +0000 (21:38 +0100)]
Profile->getCurrentNotice handles PrivateStreamException

8 years agoOpenID plugin: 'openid_only' should be 'openidonly'
Chimo [Mon, 4 Jan 2016 15:36:05 +0000 (10:36 -0500)]
OpenID plugin: 'openid_only' should be 'openidonly'

To match everywhere else.

8 years agoVersion bump since we've fixed a lot of bugs
Mikael Nordfeldth [Mon, 4 Jan 2016 01:19:37 +0000 (02:19 +0100)]
Version bump since we've fixed a lot of bugs

8 years agoWe would end up with a Managed_DataObject if now match was found
Mikael Nordfeldth [Mon, 4 Jan 2016 01:04:18 +0000 (02:04 +0100)]
We would end up with a Managed_DataObject if now match was found

meaning we'd return for example a Notice with empty id (translated into 0)
and thus Faves coming in from remote instances where the fave'd notice was
not found would result in faving the first Notice in a table-wide search,
i.e. often the first post on the instance.

Whoopie!

8 years agoCode cleanup in lib/activityutils.php
Mikael Nordfeldth [Mon, 4 Jan 2016 00:58:45 +0000 (01:58 +0100)]
Code cleanup in lib/activityutils.php

8 years agoMore explicit catch
Mikael Nordfeldth [Mon, 4 Jan 2016 00:53:33 +0000 (01:53 +0100)]
More explicit catch

8 years agoThe $options array isn't used here
Mikael Nordfeldth [Mon, 4 Jan 2016 00:48:54 +0000 (01:48 +0100)]
The $options array isn't used here

8 years agoUse EmptyIdException in Fave deletion try-catch
Mikael Nordfeldth [Sun, 3 Jan 2016 21:57:28 +0000 (22:57 +0100)]
Use EmptyIdException in Fave deletion try-catch

8 years agoEmptyIdException to make sure we get the right in catch
Mikael Nordfeldth [Sun, 3 Jan 2016 21:56:48 +0000 (22:56 +0100)]
EmptyIdException to make sure we get the right in catch

8 years agoFave deletion would fail in some cases with missing profiles or notices
Mikael Nordfeldth [Sun, 3 Jan 2016 21:35:49 +0000 (22:35 +0100)]
Fave deletion would fail in some cases with missing profiles or notices

8 years agoErr, forgot semicolon.
Mikael Nordfeldth [Sun, 3 Jan 2016 21:22:58 +0000 (22:22 +0100)]
Err, forgot semicolon.

8 years agoTry-catch on profile deletion unsubscribe actions
Mikael Nordfeldth [Sun, 3 Jan 2016 21:21:03 +0000 (22:21 +0100)]
Try-catch on profile deletion unsubscribe actions

8 years agoSomewhat better layout for approving/rejecting subrequests
Mikael Nordfeldth [Sun, 3 Jan 2016 19:42:21 +0000 (20:42 +0100)]
Somewhat better layout for approving/rejecting subrequests

8 years agoPending subscription requests now work as they should
Mikael Nordfeldth [Sun, 3 Jan 2016 19:27:53 +0000 (20:27 +0100)]
Pending subscription requests now work as they should

A slight layout issue with the buttons still persists

8 years agoIf a user has a private stream, assume a moderated subscription policy
Mikael Nordfeldth [Sun, 3 Jan 2016 18:33:26 +0000 (19:33 +0100)]
If a user has a private stream, assume a moderated subscription policy

8 years agoHandle private streams better (failed to show profile before)
Mikael Nordfeldth [Sun, 3 Jan 2016 18:05:49 +0000 (19:05 +0100)]
Handle private streams better (failed to show profile before)

8 years agoThis version of the EventPlugin won't work with StatusNet any longer
Mikael Nordfeldth [Sun, 3 Jan 2016 15:23:44 +0000 (16:23 +0100)]
This version of the EventPlugin won't work with StatusNet any longer

8 years agoMerge branch 'nightly' of git.gnu.io:gnu/gnu-social into mmn_fixes
Mikael Nordfeldth [Sun, 3 Jan 2016 15:23:07 +0000 (16:23 +0100)]
Merge branch 'nightly' of git.gnu.io:gnu/gnu-social into mmn_fixes

8 years agoMerge branch 'beautify_profile_list' into 'nightly'
mmn [Sun, 3 Jan 2016 15:22:32 +0000 (15:22 +0000)]
Merge branch 'beautify_profile_list' into 'nightly'

Beautify profiles and groups lists

Some css fixes to make groups and profiles list more consistent:

In base:

* Remove bullets that were floating around
* Reduce font size to fit and look better
* Group nickname is bold
* Same location and full name layout in both groups and profile lists

In neo-gnu:

* Align vertically location

In neo-quitter:

* Make group list look like profile one
* Small adjustments due to changes to base

How it looks with neo-gnu

Profile:

![profile](https://git.gnu.io/gnu/gnu-social/uploads/c403c85c323bdcaa2fbb7ab10539ad39/profile.png)

Groups:

![group](https://git.gnu.io/gnu/gnu-social/uploads/51276daa838c404bd63cc04b208beaa6/group.png)

How it looks with neo-quitter

Profile:

![profile](https://git.gnu.io/gnu/gnu-social/uploads/d16bc2587025769dac9e2b46a0589999/profile.png)

Group:

![group](https://git.gnu.io/gnu/gnu-social/uploads/125670c8bcf08bcabf2cac0e0bb0661b/group.png)

See merge request !26

8 years agoMerge branch 'nightly' into singpolyma/gnu-social-events-saveObjectFromActivity
Mikael Nordfeldth [Sun, 3 Jan 2016 12:08:34 +0000 (13:08 +0100)]
Merge branch 'nightly' into singpolyma/gnu-social-events-saveObjectFromActivity

Conflicts:
plugins/Event/EventPlugin.php
plugins/Event/classes/RSVP.php

I just fixed 'em with magic!

8 years agoFixes issue #94 with undefined 'fr'
Mikael Nordfeldth [Sat, 2 Jan 2016 23:45:47 +0000 (00:45 +0100)]
Fixes issue #94 with undefined 'fr'

I just copied the English example...

8 years agoDon't store object type for verbs (as they don't have it)
Mikael Nordfeldth [Sat, 2 Jan 2016 15:05:20 +0000 (16:05 +0100)]
Don't store object type for verbs (as they don't have it)

8 years agoFix because qvitter supplies a twitter array value which is an array
Mikael Nordfeldth [Sat, 2 Jan 2016 01:01:54 +0000 (02:01 +0100)]
Fix because qvitter supplies a twitter array value which is an array

works for json API, not for XML, so we make an exception here...

8 years agoAvoid exception for invalid URL aborting rendering for parent notice if it fails
Mikael Nordfeldth [Fri, 1 Jan 2016 23:09:10 +0000 (00:09 +0100)]
Avoid exception for invalid URL aborting rendering for parent notice if it fails

8 years agoNewnoticeAction now uses Notice::saveActivity(...)
Mikael Nordfeldth [Fri, 1 Jan 2016 19:18:54 +0000 (20:18 +0100)]
NewnoticeAction now uses Notice::saveActivity(...)

8 years agoLocation::fromOptions(Notice::locationOptions(...))
Mikael Nordfeldth [Fri, 1 Jan 2016 18:29:31 +0000 (19:29 +0100)]
Location::fromOptions(Notice::locationOptions(...))

8 years agowhitespace switch for code layout
Mikael Nordfeldth [Fri, 1 Jan 2016 17:43:37 +0000 (18:43 +0100)]
whitespace switch for code layout

8 years agocommon_render_content doesn't require a Profile now
Mikael Nordfeldth [Fri, 1 Jan 2016 17:40:11 +0000 (18:40 +0100)]
common_render_content doesn't require a Profile now

8 years agoupgrade script makes sure all notices have rendered copies
Mikael Nordfeldth [Fri, 1 Jan 2016 17:29:44 +0000 (18:29 +0100)]
upgrade script makes sure all notices have rendered copies

8 years ago->getID() instead of ->id
Mikael Nordfeldth [Fri, 1 Jan 2016 17:21:54 +0000 (18:21 +0100)]
->getID() instead of ->id

8 years agoDon't require a notice object to common_linkify_mentions
Mikael Nordfeldth [Fri, 1 Jan 2016 17:20:42 +0000 (18:20 +0100)]
Don't require a notice object to common_linkify_mentions

8 years agoOutput fixed sizes of thumbnails so we don't get jumpy scrolling
Mikael Nordfeldth [Fri, 1 Jan 2016 13:13:16 +0000 (14:13 +0100)]
Output fixed sizes of thumbnails so we don't get jumpy scrolling

8 years agoRSVPs refer to Happening (event) by URI instead of ID now
Mikael Nordfeldth [Thu, 31 Dec 2015 18:23:05 +0000 (19:23 +0100)]
RSVPs refer to Happening (event) by URI instead of ID now

8 years agominor happening changes
Mikael Nordfeldth [Thu, 31 Dec 2015 17:04:12 +0000 (18:04 +0100)]
minor happening changes

8 years agoHandle feed imports with exceptions better
Mikael Nordfeldth [Thu, 31 Dec 2015 14:05:35 +0000 (15:05 +0100)]
Handle feed imports with exceptions better

8 years agos/LOG_ERROR/LOG_ERR/
Mikael Nordfeldth [Thu, 31 Dec 2015 12:04:50 +0000 (13:04 +0100)]
s/LOG_ERROR/LOG_ERR/

8 years agoLogging destinations and unnecessary debug
Mikael Nordfeldth [Thu, 31 Dec 2015 12:00:20 +0000 (13:00 +0100)]
Logging destinations and unnecessary debug