]>
git.mxchange.org Git - quix0rs-gnu-social.git/log
Roland Haeder [Sun, 12 Apr 2015 14:08:53 +0000 (16:08 +0200)]
Merge remote-tracking branch 'upstream/master' into nightly
Signed-off-by: Roland Haeder <roland@mxchange.org>
Mikael Nordfeldth [Thu, 9 Apr 2015 10:27:04 +0000 (12:27 +0200)]
We're logging this already elsewhere
Mikael Nordfeldth [Thu, 9 Apr 2015 10:17:31 +0000 (12:17 +0200)]
ImPlugin classes generally require background daemons in CLI
If someone designs an ImPlugin which _doesn't_ require the queues to be
handled in background daemons then they can set the requires_cli property
to false in their class.
Mikael Nordfeldth [Thu, 9 Apr 2015 10:15:34 +0000 (12:15 +0200)]
OpportunisticQM shouldn't try to handle what it can't find
Mikael Nordfeldth [Mon, 6 Apr 2015 15:35:29 +0000 (17:35 +0200)]
Fix "unique notice form ID" code for reply forms
Mikael Nordfeldth [Sun, 5 Apr 2015 19:35:54 +0000 (21:35 +0200)]
Don't use <object> for application/ogg
...this was actually because it would autoplay in Iceweasel/Firefox
despite all parameters for autoplay/autostart being set to false or 0.
Mikael Nordfeldth [Sun, 5 Apr 2015 18:24:17 +0000 (20:24 +0200)]
enclosures in Atom were not included
Mikael Nordfeldth [Sun, 5 Apr 2015 13:44:04 +0000 (15:44 +0200)]
Revert "Inverse logic error in OembedPlugin"
This reverts commit
9ab996d9e6bee90e2f96a2a17e453a6deebd4a96 .
Mikael Nordfeldth [Sun, 5 Apr 2015 13:35:54 +0000 (15:35 +0200)]
Merge branch 'nightly'
Conflicts:
INSTALL
Mikael Nordfeldth [Fri, 3 Apr 2015 19:21:39 +0000 (21:21 +0200)]
File_thumbnail->getUrl now gives Attachment_thumbnail action URL
That in turn redirects to the statically stored file.
Mikael Nordfeldth [Fri, 3 Apr 2015 19:00:19 +0000 (21:00 +0200)]
Allow oEmbed data from all sites by default
Mikael Nordfeldth [Fri, 3 Apr 2015 18:59:56 +0000 (20:59 +0200)]
Inverse logic error in OembedPlugin
Mikael Nordfeldth [Fri, 3 Apr 2015 18:58:12 +0000 (20:58 +0200)]
bad URL is a clientError
Mikael Nordfeldth [Fri, 3 Apr 2015 18:47:08 +0000 (20:47 +0200)]
oEmbed Action logic simplified (early return)
Mikael Nordfeldth [Fri, 3 Apr 2015 18:11:55 +0000 (20:11 +0200)]
oEmbed helper never finished because of "break 2;"
Roland Haeder [Fri, 27 Mar 2015 23:15:04 +0000 (00:15 +0100)]
Merge branch 'fixes/private_scope_on_tags' into nightly
Roland Haeder [Fri, 27 Mar 2015 23:10:06 +0000 (00:10 +0100)]
No more needed (for this fix) but maybe later. So I always only comment them out.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Fri, 27 Mar 2015 22:58:05 +0000 (23:58 +0100)]
typo fixed ...
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Fri, 27 Mar 2015 22:56:27 +0000 (23:56 +0100)]
Opps, PEAR sucks. Need to call find() before fetch() ... :-(
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Fri, 27 Mar 2015 22:54:21 +0000 (23:54 +0100)]
Merge branch 'fixes/private_scope_on_tags' into social-master
Roland Haeder [Fri, 27 Mar 2015 22:53:57 +0000 (23:53 +0100)]
Needed to add notice_id to selected fields ... :-(
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Fri, 27 Mar 2015 22:49:52 +0000 (23:49 +0100)]
Merge branch 'fixes/private_scope_on_tags' into social-master
Roland Haeder [Fri, 27 Mar 2015 22:49:18 +0000 (23:49 +0100)]
fetch() must work to get this check passed.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Fri, 27 Mar 2015 22:44:54 +0000 (23:44 +0100)]
Merge branch 'fixes/private_scope_on_tags' into social-master
Roland Haeder [Fri, 27 Mar 2015 22:44:37 +0000 (23:44 +0100)]
??? Not Notice_tag?
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Fri, 27 Mar 2015 22:41:53 +0000 (23:41 +0100)]
Merge branch 'fixes/private_scope_on_tags' into social-master
Roland Haeder [Fri, 27 Mar 2015 22:41:39 +0000 (23:41 +0100)]
??? Not callable?
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Fri, 27 Mar 2015 22:38:44 +0000 (23:38 +0100)]
Merge branch 'fixes/private_scope_on_tags' into social-master
Roland Haeder [Fri, 27 Mar 2015 22:37:54 +0000 (23:37 +0100)]
Introduced isCurrentProfileInScope() which shall check if current profile is
allowed (in scope of) to see the tag.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Fri, 27 Mar 2015 22:23:03 +0000 (23:23 +0100)]
Merge branch 'fixes/private_scope_on_tags' into social-master
Roland Haeder [Fri, 27 Mar 2015 22:22:34 +0000 (23:22 +0100)]
Grrr, not fixed. So adding debug lines.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Fri, 27 Mar 2015 22:17:16 +0000 (23:17 +0100)]
Merge branch 'fixes/private_scope_on_tags' into social-master
Roland Haeder [Fri, 27 Mar 2015 22:16:34 +0000 (23:16 +0100)]
Possible hack for tags from private dents in public profile or wrong scope (both privacy leak).
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Fri, 27 Mar 2015 22:00:21 +0000 (23:00 +0100)]
Profile::current() suits better here.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Fri, 27 Mar 2015 21:25:25 +0000 (22:25 +0100)]
Merge branch 'rewrites-nightly/type-hints-asserts' into nightly
Conflicts:
classes/Notice.php
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Fri, 27 Mar 2015 21:24:37 +0000 (22:24 +0100)]
Merge branch 'rewrites-master/type-hints-asserts' into rewrites-nightly/type-hints-asserts
Conflicts:
classes/Notice.php
lib/docfile.php
lib/framework.php
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Fri, 27 Mar 2015 21:22:08 +0000 (22:22 +0100)]
Save some memory + added type-hint.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Fri, 27 Mar 2015 21:07:51 +0000 (22:07 +0100)]
Added debug lines, the first attempt didn't work and I have *no* development system now. :-(
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Fri, 27 Mar 2015 20:55:45 +0000 (21:55 +0100)]
Check scope, else a privacy leaks happens this way:
1) Bob and Alice follow each other and write private notices
(this->scope=2) to each other.
2) Bob uses tags in his private notice to alice (which she can
read from him).
3) Alice adds that notice (with tags) to her favorites
("faving") it.
4) The tags from Bob's private notice becomes visible in Alice's
profile.
This has the simple background that the scope is not being
re-checked. This has to be done here at this point because given
above scenario is a privacy leak as the tags may be *really*
private (nobody else shall see them) such as initmate words or
very political words.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Fri, 27 Mar 2015 15:37:12 +0000 (16:37 +0100)]
Merge branch 'master' of gitorious.org:social/mainline into nightly
Conflicts:
INSTALL
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Fri, 27 Mar 2015 15:36:18 +0000 (16:36 +0100)]
Merge branch 'master' of git.mxchange.org:/var/cache/git/repos/quix0rs-gnu-social into nightly
Conflicts:
actions/showstream.php
classes/Notice.php
lib/docfile.php
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Wed, 18 Mar 2015 16:14:01 +0000 (17:14 +0100)]
Merge branch 'rewrites-nightly/type-hints-asserts' into nightly
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Wed, 18 Mar 2015 16:12:55 +0000 (17:12 +0100)]
Added checked type-hint for StartNoticeDistribute event.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Wed, 18 Mar 2015 16:07:48 +0000 (17:07 +0100)]
Merge branch 'nightly' of gitorious.org:social/mainline into nightly
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Wed, 18 Mar 2015 16:07:06 +0000 (17:07 +0100)]
Better readable.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Mikael Nordfeldth [Sun, 15 Mar 2015 13:35:29 +0000 (14:35 +0100)]
Filter out img, video and audio tags in notice HTML
Because we don't want to auto-fetch items from a remote server. Such
items should be delivered as attachment metadata and portrayed in the
way the local instance chooses.
Choices for portrayal are either simply nullifying this and embedding
the data, linking the file remotely requiring a manual click or maybe
use remote oEmbed data etc. to download files locally so no remote
requests have to be made.
Mikael Nordfeldth [Sun, 15 Mar 2015 13:22:36 +0000 (14:22 +0100)]
Marcus Moeller fixed some layout bugs I introduced
Mikael Nordfeldth [Sat, 14 Mar 2015 15:04:03 +0000 (16:04 +0100)]
imitate ->boolean with $def=false
Mikael Nordfeldth [Fri, 13 Mar 2015 20:02:39 +0000 (21:02 +0100)]
php5-intl is required
Roland Haeder [Fri, 13 Mar 2015 18:53:02 +0000 (19:53 +0100)]
Merge branch 'nightly' of gitorious.org:social/mainline into nightly
Signed-off-by: Roland Haeder <roland@mxchange.org>
Mikael Nordfeldth [Fri, 13 Mar 2015 08:49:09 +0000 (09:49 +0100)]
No need to do pkeyGet if not repeated (thanks hannes)
Kind of reverts commit
d9ed2a0
Roland Haeder [Fri, 13 Mar 2015 03:01:44 +0000 (04:01 +0100)]
Merge branch 'nightly' of gitorious.org:social/mainline into nightly
Conflicts:
actions/showstream.php
classes/Notice.php
plugins/OStatus/classes/Ostatus_profile.php
Signed-off-by: Roland Haeder <roland@mxchange.org>
Mikael Nordfeldth [Thu, 12 Mar 2015 23:19:08 +0000 (00:19 +0100)]
repeated did not always find the Notice (deleted?)
Mikael Nordfeldth [Thu, 12 Mar 2015 23:02:48 +0000 (00:02 +0100)]
Add repeated_id to SimpleStatusArray for Qvitter's benefit
Mikael Nordfeldth [Thu, 12 Mar 2015 21:56:25 +0000 (22:56 +0100)]
Moving some more repeat stuff into the Share plugin
Mikael Nordfeldth [Thu, 12 Mar 2015 21:17:08 +0000 (22:17 +0100)]
Notice properties set in bad order on activityobject saving
Mikael Nordfeldth [Thu, 12 Mar 2015 20:56:18 +0000 (21:56 +0100)]
Share never actually set the repeat_of value
Mikael Nordfeldth [Thu, 12 Mar 2015 20:53:44 +0000 (21:53 +0100)]
Event fixes for activityhandlerplugin
Mikael Nordfeldth [Thu, 12 Mar 2015 20:46:10 +0000 (21:46 +0100)]
repeat actions to Share plugin
Mikael Nordfeldth [Thu, 12 Mar 2015 19:54:06 +0000 (20:54 +0100)]
Merge branch 'nightly' into repeat_as_shareplugin
Mikael Nordfeldth [Thu, 12 Mar 2015 19:47:07 +0000 (20:47 +0100)]
ImageFile->resize now totally replaced with resizeTo
Mikael Nordfeldth [Thu, 12 Mar 2015 18:49:20 +0000 (19:49 +0100)]
Repeats shown in threaded noticelist now handled by plugin
Mikael Nordfeldth [Thu, 12 Mar 2015 18:22:05 +0000 (19:22 +0100)]
Finalize move of 'repeat' Command
Mikael Nordfeldth [Thu, 12 Mar 2015 16:03:37 +0000 (17:03 +0100)]
Why did I keep these functions from FavoritePlugin?
Mikael Nordfeldth [Thu, 12 Mar 2015 15:59:50 +0000 (16:59 +0100)]
Receiving Share activity fixes
Forgot to translate 'self' to 'Ostatus_profile' etc.
Mikael Nordfeldth [Thu, 12 Mar 2015 15:33:34 +0000 (16:33 +0100)]
Share plugin now handles showing form in NoticeOptionItems
Mikael Nordfeldth [Thu, 12 Mar 2015 14:58:57 +0000 (15:58 +0100)]
Move share command interpretation to SharePlugin
Some fixes to the SharePlugin.php file came along
Mikael Nordfeldth [Thu, 12 Mar 2015 14:53:59 +0000 (15:53 +0100)]
Remove unnecessary require lines and definitions
ProfileNoticeList and ProfileNoticeListItem are in their own files now too
Mikael Nordfeldth [Thu, 12 Mar 2015 14:53:28 +0000 (15:53 +0100)]
Add ProfileNoticeList[Item] as separate lib class files
Mikael Nordfeldth [Thu, 12 Mar 2015 14:47:21 +0000 (15:47 +0100)]
Moving Ostatus_profile processShare to SharePlugin
Mikael Nordfeldth [Thu, 12 Mar 2015 14:21:23 +0000 (15:21 +0100)]
Merge branch 'nightly' into repeat_as_shareplugin
Mikael Nordfeldth [Thu, 12 Mar 2015 11:52:07 +0000 (12:52 +0100)]
Repeat confirmation dialogbox fix
until we use jQuery UI dialog stuff
Mikael Nordfeldth [Thu, 12 Mar 2015 11:27:49 +0000 (12:27 +0100)]
Initial work on making the Share verb handled in plugin
Roland Haeder [Tue, 10 Mar 2015 23:52:30 +0000 (00:52 +0100)]
Merge branch 'nightly' of gitorious.org:social/quix0rs-social into nightly
Signed-off-by: Roland Haeder <roland@mxchange.org>
Mikael Nordfeldth [Tue, 10 Mar 2015 23:20:48 +0000 (00:20 +0100)]
ImageFile $id argument is only for File objects
Remember to eliminate the Avatar/group logo call to ImageFile->resize!
Roland Haeder [Tue, 10 Mar 2015 23:20:34 +0000 (00:20 +0100)]
Merge branch 'nightly' of gitorious.org:social/mainline into nightly
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Tue, 10 Mar 2015 23:19:35 +0000 (00:19 +0100)]
Merge branch 'master' into social-master
Roland Haeder [Tue, 10 Mar 2015 23:18:33 +0000 (00:18 +0100)]
Merge branch 'master' of gitorious.org:social/mainline
Signed-off-by: Roland Haeder <roland@mxchange.org>
Mikael Nordfeldth [Tue, 10 Mar 2015 23:13:55 +0000 (00:13 +0100)]
Same as last commit, don't give ID if it's not for a File object
Mikael Nordfeldth [Tue, 10 Mar 2015 22:52:50 +0000 (23:52 +0100)]
ImageFile should not have an $id set if not a File
Mikael Nordfeldth [Tue, 10 Mar 2015 20:47:28 +0000 (21:47 +0100)]
javascript fixes for reply form fetching
It doesn't update the ID properly yet, which should be done to avoid
creating duplicate forms which are identical to HTML parsers...
Mikael Nordfeldth [Tue, 10 Mar 2015 20:46:33 +0000 (21:46 +0100)]
FormAction wants getInstructions to be protected
only showInstructions is public
Roland Haeder [Tue, 10 Mar 2015 17:36:57 +0000 (18:36 +0100)]
Merge branch 'master' into social-master
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Tue, 10 Mar 2015 17:31:46 +0000 (18:31 +0100)]
Added checked type-hints
Signed-off-by: Roland Haeder <roland@mxchange.org>
Conflicts:
classes/Notice.php
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Tue, 10 Mar 2015 17:31:46 +0000 (18:31 +0100)]
Added checked type-hints
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Tue, 10 Mar 2015 17:17:50 +0000 (18:17 +0100)]
Merge branch 'nightly' of gitorious.org:social/mainline into nightly
Signed-off-by: Roland Haeder <roland@mxchange.org>
Mikael Nordfeldth [Tue, 10 Mar 2015 17:10:27 +0000 (18:10 +0100)]
more descriptive setting name
Mikael Nordfeldth [Tue, 10 Mar 2015 16:33:58 +0000 (17:33 +0100)]
SiteNoticeInSidebar widget did not define divId()
Mikael Nordfeldth [Tue, 10 Mar 2015 16:24:23 +0000 (17:24 +0100)]
ActivityVerb is a core plugin
Mikael Nordfeldth [Tue, 10 Mar 2015 14:39:35 +0000 (15:39 +0100)]
FavoritePlugin is now an "ActivityVerbHandlerPlugin"
Mikael Nordfeldth [Tue, 10 Mar 2015 12:07:36 +0000 (13:07 +0100)]
Let the creator decide which HTML tag to use for NoticeListItem
Mikael Nordfeldth [Tue, 10 Mar 2015 11:09:20 +0000 (12:09 +0100)]
Notice elements don't need to be floating...
Maybe it was originally meant to be without a comma between .notice and .profile?
Mikael Nordfeldth [Tue, 10 Mar 2015 10:50:16 +0000 (11:50 +0100)]
Move AlreadyFulfilled check to Fave::addNew
Roland Haeder [Tue, 10 Mar 2015 02:21:23 +0000 (03:21 +0100)]
Merge branch 'master' into social-master
The conflict was difference at default value (null versus better array() ).
Conflicts:
lib/docfile.php
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Tue, 10 Mar 2015 02:11:53 +0000 (03:11 +0100)]
Added basic language support for sending out invitations:
- This allows for example sending German mails from an English instance
- Added some checked type-hints (all around language stuff)
Some code improvement:
- array $foo=null and then an is_null($foo) makes no sense,
better use array $foo=array() directly.
- onTitle()'s parameter $paths now always must be an array
Signed-off-by: Roland Haeder <roland@mxchange.org>
This conflict was because 'master' has StatusNet as class, but 'nigtly' already
has GNUSocial as class name.
Conflicts:
lib/docfile.php
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Mon, 9 Mar 2015 18:45:28 +0000 (19:45 +0100)]
Merge branch 'nightly' of gitorious.org:social/mainline into nightly
Signed-off-by: Roland Haeder <roland@mxchange.org>
Mikael Nordfeldth [Mon, 9 Mar 2015 17:47:44 +0000 (18:47 +0100)]
favorite and like are synonyms of each other
Mikael Nordfeldth [Mon, 9 Mar 2015 16:36:21 +0000 (17:36 +0100)]
First ActivityVerbPlugin sketch
Mikael Nordfeldth [Mon, 9 Mar 2015 16:33:20 +0000 (17:33 +0100)]
Notice class got exception throwing getById
Less code, more happy.
Mikael Nordfeldth [Mon, 9 Mar 2015 16:07:24 +0000 (17:07 +0100)]
Make 'activity' a blacklisted nickname
Will add a plugin called ActivityVerb which makes activity interaction
more standardized.