]>
git.mxchange.org Git - quix0rs-gnu-social.git/log
Mikael Nordfeldth [Thu, 27 Nov 2014 13:06:10 +0000 (14:06 +0100)]
Use remote conversation URI info to stitch convos together
If we know the URI sent from the remote party, and we don't know the
notice it is replying to, we might still be able to put it in the same
conversation thread!
Mikael Nordfeldth [Thu, 27 Nov 2014 12:39:38 +0000 (13:39 +0100)]
ostatus:conversation element instead of link rel=""
Mainly because the atom:link element requires a "web resource" but we
wish to supply a URI which might not be HTTP. We'll leave the old
atom:link element however since it's in the OStatus 1.0 Draft2 docs
and nothing newer has been released yet.
Mikael Nordfeldth [Thu, 27 Nov 2014 12:36:29 +0000 (13:36 +0100)]
Namespaced elements now available in xmloutputter
Aqeel Zafar [Thu, 27 Nov 2014 07:11:02 +0000 (12:11 +0500)]
Fix T60 Avatar upload text is squished
Joshua Judson Rosen [Tue, 25 Nov 2014 01:28:31 +0000 (20:28 -0500)]
sendemailsummary.php: correct path to INSTALLDIR
So that we can actually find commandline.inc.
This should have been updated when the files in the EmailSummary tree
where moved down a level into subdirectories.
Mikael Nordfeldth [Mon, 24 Nov 2014 22:50:42 +0000 (23:50 +0100)]
Try to lookup the profile if we don't know it yet
Mikael Nordfeldth [Mon, 24 Nov 2014 22:40:06 +0000 (23:40 +0100)]
Ostatus_profile->checkAuthorship returns Profile
not Ostatus_profile
Mikael Nordfeldth [Mon, 24 Nov 2014 11:49:20 +0000 (12:49 +0100)]
Bad parameter count for checkAuthorship
At the same time we change this to call ActivityUtils::checkAuthorship
instead to let the retrieval/verification go through event handling.
rozzin (Joshua Judson Rosen) found this error. Thanks.
Joshua Judson Rosen [Sun, 23 Nov 2014 22:42:12 +0000 (17:42 -0500)]
Fix OStatus groups by making Ostatus_profile::localProfile() work for groups
We need to look up a feed profile for HandleFeedEntryWithProfile events,
regardless of whether they're an OStatus user, group, or something else;
this is the least hairy way of doing that--the alternative being
to keep spreading the same logic all over the calling code.
Theoretically, this change might allow OStatusGroups to be recorded
as the authors of activities if they pass through any authorless
activities; but that's why we have checkAuthorship().
Joshua Judson Rosen [Sun, 23 Nov 2014 23:02:20 +0000 (18:02 -0500)]
Ostatus_profile::checkAuthorship(): throw ServerException when bogus non-authorship is detected
Similarly to what ActivityUtils::checkAuthorship does; try to ensure
that activities from ambiguous OStatus feeds (groups and peopletags)
that require explicit authorship don't get in without explicit authors.
Joshua Judson Rosen [Mon, 24 Nov 2014 04:05:13 +0000 (23:05 -0500)]
UserEmailSummaryHandler: use $notice->getLocalUrl(), not getUrl()
getUrl() doesn't work on all notices anymore.
Joshua Judson Rosen [Mon, 24 Nov 2014 04:03:14 +0000 (23:03 -0500)]
UserEmailSummaryHandler: Update notice-fetching logic
InboxNoticeStream::getNotices() no longer returns an ArrayWrapper;
just fetch notices normally via $notice->fetch(), so that
we can actually get the top notice-ID and update email_summary_status
accordingly--and not mail about the same notices repeatedly.
Joshua Judson Rosen [Mon, 24 Nov 2014 03:58:05 +0000 (22:58 -0500)]
UserEmailSummaryHandler: correct instantiation of InboxNoticeStream
It only takes a single Profile argument....
Joshua Judson Rosen [Mon, 24 Nov 2014 04:24:16 +0000 (23:24 -0500)]
QueueManager: don't assume all non-XML strings are JSON
Some of the standard plugins queue simple, unstructured numbers--
e.g.: EmailSummary and OfflineBackup both queue user-IDs.
Mikael Nordfeldth [Sat, 22 Nov 2014 11:29:13 +0000 (12:29 +0100)]
Report a 404 not found if no posts found for User timeline
Mikael Nordfeldth [Sat, 22 Nov 2014 11:26:51 +0000 (12:26 +0100)]
Don't define a variable in a function call
Mikael Nordfeldth [Wed, 19 Nov 2014 13:53:51 +0000 (14:53 +0100)]
openssl is a required extension (OAuth and OStatus)
Mikael Nordfeldth [Wed, 19 Nov 2014 13:25:25 +0000 (14:25 +0100)]
Updated prerequisite list for PHP5.4
Also added distribution specific notes.
The "XMLWriter" PECL extension is included by default since PHP 5.1.2
Mikael Nordfeldth [Sun, 16 Nov 2014 17:29:05 +0000 (18:29 +0100)]
normalizing acct: URI just to be sure
Mikael Nordfeldth [Mon, 10 Nov 2014 11:17:39 +0000 (12:17 +0100)]
Present WWW-Authenticate on failure to authenticate
Mikael Nordfeldth [Mon, 10 Nov 2014 11:10:21 +0000 (12:10 +0100)]
Unnecessary to check PHP_AUTH_USER here
it was implied from $this->auth_user_nickname above
Mikael Nordfeldth [Mon, 10 Nov 2014 10:59:01 +0000 (11:59 +0100)]
$header was always true due to previous if statement
Mikael Nordfeldth [Mon, 10 Nov 2014 10:57:53 +0000 (11:57 +0100)]
Checking user properties for instanceof User
Mikael Nordfeldth [Mon, 10 Nov 2014 10:43:08 +0000 (11:43 +0100)]
Less verbose logic for checking api authentication
Mikael Nordfeldth [Mon, 10 Nov 2014 10:38:50 +0000 (11:38 +0100)]
Integrate qvitter ApiAuthAction (thanks hannes2peer)
Mikael Nordfeldth [Fri, 7 Nov 2014 17:35:46 +0000 (18:35 +0100)]
Blocking form (at least) was visually broken
Mikael Nordfeldth [Fri, 7 Nov 2014 15:37:00 +0000 (16:37 +0100)]
DirectMessage added to default plugins
I think the migration from core to plugin is done now for DMs.
This is required since we support the Twitter-based API by default,
which is implemented in many of the mobile clients etc. But you can
disable the DirectMessage for your instance of you wish, of course.
Mikael Nordfeldth [Fri, 7 Nov 2014 15:33:19 +0000 (16:33 +0100)]
Some unnecessary/faulty includes fixed in DM plugin
Mikael Nordfeldth [Fri, 7 Nov 2014 15:26:29 +0000 (16:26 +0100)]
Inline documentation updated to reflect on plugin move of DMs
Mikael Nordfeldth [Fri, 7 Nov 2014 15:25:40 +0000 (16:25 +0100)]
Lost file with MessageCommand class.
Mikael Nordfeldth [Fri, 7 Nov 2014 15:23:47 +0000 (16:23 +0100)]
FavoritePlugin calls CommandInterpreter::split_arg
The last commit found a bug that a previous move of the FavCommand
into a plugin called $this in FavoritePlugin instead of the instance
of a CommandInterpreter class. Now that call is statically defined in
CommandInterpreter and appropriately called in FavoritePlugin.
Mikael Nordfeldth [Fri, 7 Nov 2014 15:23:34 +0000 (16:23 +0100)]
MessageCommand moved to DirectMessage plugin
Mikael Nordfeldth [Fri, 7 Nov 2014 15:13:45 +0000 (16:13 +0100)]
&$supported in CommandSupportedAPI event is boolean
not array as we specified here
Mikael Nordfeldth [Fri, 7 Nov 2014 15:08:16 +0000 (16:08 +0100)]
UserActivityStream export of DMs moved to plugin
Mikael Nordfeldth [Fri, 7 Nov 2014 15:00:27 +0000 (16:00 +0100)]
DirectMessage API functions moved to plugin
Mikael Nordfeldth [Fri, 7 Nov 2014 15:00:08 +0000 (16:00 +0100)]
Simulation does not support plugins yet
Mikael Nordfeldth [Fri, 7 Nov 2014 14:47:10 +0000 (15:47 +0100)]
DirectMessage moved into a plugin, not done yet
We still have to move some API calls into the new plugin.
Mikael Nordfeldth [Fri, 7 Nov 2014 14:24:05 +0000 (15:24 +0100)]
We're using URLMapper, not Net_URL_Mapper
Mikael Nordfeldth [Thu, 6 Nov 2014 20:05:31 +0000 (21:05 +0100)]
Diaspora public key published in WebFinger
Mikael Nordfeldth [Thu, 6 Nov 2014 12:08:06 +0000 (13:08 +0100)]
UPGRADE file fixed, forgot to mention PHP modules
php5-gmp is an added requirement from StatusNet 1.1.1,
our BigInteger library doesn't seem to work well without it
and bcmath was unavailable at least in Debian testing repo.
Mikael Nordfeldth [Wed, 5 Nov 2014 18:49:41 +0000 (19:49 +0100)]
Show permalinks only for local notices
the "from [site]" already links to the permalink
Mikael Nordfeldth [Wed, 5 Nov 2014 18:44:22 +0000 (19:44 +0100)]
Notice_source checks in better code style
Mikael Nordfeldth [Wed, 5 Nov 2014 18:34:39 +0000 (19:34 +0100)]
Conversation link as default, permalink for /notice
Stanislav N. aka pztrn [Sun, 2 Nov 2014 07:19:15 +0000 (10:19 +0300)]
Add "Date" header to mail, some clients require this to show corrent message receiving time.
Mikael Nordfeldth [Mon, 27 Oct 2014 13:24:16 +0000 (14:24 +0100)]
EventPlugin now uses event handling instead of NLI adapter
Mikael Nordfeldth [Mon, 27 Oct 2014 13:23:18 +0000 (14:23 +0100)]
Making some autumn cleaning in the themes
Mikael Nordfeldth [Sun, 26 Oct 2014 22:17:58 +0000 (23:17 +0100)]
Show poll results also to non-logged in visitors
Mikael Nordfeldth [Sun, 26 Oct 2014 22:17:43 +0000 (23:17 +0100)]
Updating TwitterBridge README to be clearer on installation
Mikael Nordfeldth [Sun, 26 Oct 2014 21:07:16 +0000 (22:07 +0100)]
BookmarkListItem removed in favor of event-driven rendering
Mikael Nordfeldth [Sun, 26 Oct 2014 20:41:04 +0000 (21:41 +0100)]
Adding event StartShowNoticeItemNotice with corresponding End
Runs just before outputting the "top" part of a NoticeListItem to HTML
so plugins can jump in and do their thing.
Mikael Nordfeldth [Sun, 26 Oct 2014 13:54:48 +0000 (14:54 +0100)]
Minor cosmetic changes to form_settings. Hope they're right.
Mikael Nordfeldth [Sun, 26 Oct 2014 13:48:02 +0000 (14:48 +0100)]
PollListItem freed from noticeListItemAdapter clutches
In the future, use events for formatting microapp notices, more specifically
through the plugin's function "showNoticeContent" or similar, which is called
from MicroAppPlugin, which is extended from ActivityHandlerPlugin.
Mikael Nordfeldth [Sat, 25 Oct 2014 18:58:58 +0000 (20:58 +0200)]
args argument must be array for menu item
Mikael Nordfeldth [Sat, 25 Oct 2014 15:57:20 +0000 (17:57 +0200)]
multiGet instead of listFind, subs now in order!
It was desired that subscriptions were listed in an order
with the latest first.
Mikael Nordfeldth [Sat, 25 Oct 2014 15:30:52 +0000 (17:30 +0200)]
Updated README before pushing to 1.1.x
Mikael Nordfeldth [Sat, 25 Oct 2014 13:00:40 +0000 (15:00 +0200)]
Bumping base version number to 1.1.2
Mikael Nordfeldth [Sat, 25 Oct 2014 12:56:38 +0000 (14:56 +0200)]
Possible XSS scenario when posting Bookmarks
Mikael Nordfeldth [Sat, 25 Oct 2014 12:29:27 +0000 (14:29 +0200)]
Can't use empty on a function call
Roland Haeder [Fri, 12 Sep 2014 20:40:12 +0000 (22:40 +0200)]
Fixed syntax error. :-(
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Fri, 12 Sep 2014 20:38:17 +0000 (22:38 +0200)]
Fixed type-hints + added assert + method getGroup().
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Fri, 12 Sep 2014 19:13:01 +0000 (21:13 +0200)]
Some fixes/improvements - added getter getGroup() for https://bugz.foocorp.net/T44 - added type-hints in method signatures
---------------------------------------------------------
WARNING: Some plugins attempt to get a property 'group' from (basicly) a Menu
class which does NOT have such property. This badly needs fixing.
---------------------------------------------------------
Signed-off-by: Roland Haeder <roland@mxchange.org>
Mikael Nordfeldth [Sat, 25 Oct 2014 12:23:15 +0000 (14:23 +0200)]
A little bit more debugging.
Hannes Mannerheim [Tue, 21 Oct 2014 00:57:52 +0000 (02:57 +0200)]
i had introduced a bug... userdirectory didn't work when logged out
Hannes Mannerheim [Mon, 20 Oct 2014 14:34:37 +0000 (16:34 +0200)]
remove dupes when infinitescrolling, and add infinitescroll to user lists and userdirectory also
Hannes Mannerheim [Mon, 20 Oct 2014 14:25:42 +0000 (16:25 +0200)]
shows which user we are confirming to delete
Hannes Mannerheim [Mon, 20 Oct 2014 14:24:53 +0000 (16:24 +0200)]
groups/all didn't work, also fixed pagination in directory/users, and a convenient delete-button for admins
Hannes Mannerheim [Mon, 20 Oct 2014 14:21:42 +0000 (16:21 +0200)]
we _do_ want to show text/html as attachments, since that's how mustard and crow expands oversized notices
Hannes Mannerheim [Mon, 20 Oct 2014 14:20:12 +0000 (16:20 +0200)]
repeat-bug, could not repeat oversized notices
this code is copy-paste from statusnet, apparently we need it still
Hannes Mannerheim [Mon, 20 Oct 2014 14:17:40 +0000 (16:17 +0200)]
do favorites from default like in API
not quite sure about this, but the deleted code in this commit created
activity notices that we couldn't turn off in config.
Hannes Mannerheim [Mon, 20 Oct 2014 14:14:37 +0000 (16:14 +0200)]
make .attachment.more ajax work with ajax-loaded content, i.e. infiniteScroll
Hannes Mannerheim [Mon, 20 Oct 2014 14:12:35 +0000 (16:12 +0200)]
make show more comments work with ajax loaded stuff, i.e. infinitescroll
Hannes Mannerheim [Mon, 20 Oct 2014 14:10:11 +0000 (16:10 +0200)]
isSubscribed and hasBlocked need instance of Profile, not User
used by actions/apifriendshipsshow.php
Mikael Nordfeldth [Mon, 13 Oct 2014 08:21:15 +0000 (10:21 +0200)]
Class names are strings. Also, sorry we're touching extlib
Mikael Nordfeldth [Fri, 10 Oct 2014 18:52:09 +0000 (20:52 +0200)]
statusnet/gnu-social merge request 22
Mikael Nordfeldth [Fri, 10 Oct 2014 18:51:44 +0000 (20:51 +0200)]
statusnet/gnu-social merge request 21
Mikael Nordfeldth [Fri, 10 Oct 2014 18:50:40 +0000 (20:50 +0200)]
Merge commit 10 by hannesmannerheim
Mikael Nordfeldth [Fri, 10 Oct 2014 18:50:14 +0000 (20:50 +0200)]
Merge request 9 on Gitorious
Hannes Mannerheim [Sun, 5 Oct 2014 23:13:38 +0000 (01:13 +0200)]
makes ajax-repeat work with ajax loaded content
Hannes Mannerheim [Sun, 5 Oct 2014 22:49:35 +0000 (00:49 +0200)]
bug, make ajax submission work again
Roland Haeder [Sun, 5 Oct 2014 14:25:18 +0000 (16:25 +0200)]
Merge branch 'master' into social-master
Roland Haeder [Sun, 5 Oct 2014 14:25:01 +0000 (16:25 +0200)]
Merge remote-tracking branch 'upstream/master'
Mikael Nordfeldth [Wed, 1 Oct 2014 09:07:40 +0000 (11:07 +0200)]
Hannes Mannerheim's merge request 8 from Gitorious
Hannes Mannerheim [Tue, 30 Sep 2014 11:10:43 +0000 (13:10 +0200)]
Bug, attachments stored double in file table
This if-statement looked like this before:
if (empty($file_redir))
and so it needs a ! when rewritten as instanceof
Aqeel Zafar [Mon, 29 Sep 2014 13:06:54 +0000 (18:06 +0500)]
Fix T46 Blog Plugin is broken
Adds newFormAction() in Blog Plugin to redirect to correct action.
Roland Haeder [Sun, 28 Sep 2014 22:21:20 +0000 (00:21 +0200)]
Merge branch 'master' into social-master
Roland Haeder [Sun, 28 Sep 2014 22:20:45 +0000 (00:20 +0200)]
Merge remote-tracking branch 'upstream/master'
Jeremy Malcolm [Sun, 28 Sep 2014 21:17:11 +0000 (22:17 +0100)]
Test for already defined OAuth exception class
Mikael Nordfeldth [Thu, 25 Sep 2014 06:41:25 +0000 (08:41 +0200)]
Mats Sjöberg's merge request no.5 from Gitorious
Mikael Nordfeldth [Thu, 25 Sep 2014 06:39:05 +0000 (08:39 +0200)]
Latest Mf2/Parser.php is compatible with PHP5.3
Mikael Nordfeldth [Thu, 25 Sep 2014 06:34:55 +0000 (08:34 +0200)]
Updated LDAP2 extlib to latest version.
Mikael Nordfeldth [Thu, 25 Sep 2014 06:32:10 +0000 (08:32 +0200)]
Added a return true statement for an event handler
Roland Haeder [Thu, 18 Sep 2014 22:46:27 +0000 (00:46 +0200)]
Merge branch 'fixes/type-hints' into social-master
Roland Haeder [Thu, 18 Sep 2014 22:43:52 +0000 (00:43 +0200)]
Fixed:
-----------------------------
Argument 2 passed to Ostatus_profile::notifyDeferred() must be an
instance of Profile, instance of User given, called in
/var/www/htdocs/plugins/OStatus/lib/ostatusqueuehandler.php on line 156 and
defined (/var/www/htdocs/plugins/OStatus/classes/Ostatus_profile.php:363)
[ABORT]
-----------------------------
getProfile() must be called on this->user
Plus fixed/added some type-hints.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Thu, 18 Sep 2014 21:52:44 +0000 (23:52 +0200)]
Use common_debug() instead of common_log(LOG_DEBUG, ) to minimize code duplication.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Silke Meyer [Wed, 17 Sep 2014 15:15:32 +0000 (17:15 +0200)]
"return parent" breaks ldap plugin, there's no parent
Roland Haeder [Tue, 16 Sep 2014 17:13:21 +0000 (19:13 +0200)]
Reoved another to strict type-hint + added check if $args is no array. In this
case the below foreach() is unneccessary as the if() block in it will never
match.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Tue, 16 Sep 2014 17:07:39 +0000 (19:07 +0200)]
Added asserts + remove wrong type-hint (was no array).
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Tue, 16 Sep 2014 17:13:21 +0000 (19:13 +0200)]
Reoved another to strict type-hint + added check if $args is no array. In this
case the below foreach() is unneccessary as the if() block in it will never
match.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Tue, 16 Sep 2014 17:07:39 +0000 (19:07 +0200)]
Added asserts + remove wrong type-hint (was no array).
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Fri, 12 Sep 2014 20:40:46 +0000 (22:40 +0200)]
Merge branch 'fixes/type-hints' into social-master