]>
git.mxchange.org Git - quix0rs-gnu-social.git/log
Roland Haeder [Mon, 1 Jun 2015 02:21:46 +0000 (04:21 +0200)]
.inc.php please ...
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Mon, 1 Jun 2015 02:18:51 +0000 (04:18 +0200)]
Merge remote-tracking branch 'upstream/master' into social-master
Mikael Nordfeldth [Sat, 30 May 2015 13:41:04 +0000 (15:41 +0200)]
scripts/nukefile.php for blasting crap from the server
Deletes notices and the locally stored file based on File id, as
you may want to just get rid of shit sometimes.
Roland Haeder [Fri, 29 May 2015 16:39:32 +0000 (18:39 +0200)]
.inc files are mostly readable from the internet, e.g. http://example.org/some/file.inc and should be avoided.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Fri, 29 May 2015 16:33:06 +0000 (18:33 +0200)]
Merge branch 'master' of https://git.gnu.io/gnu/gnu-social into social-master
Signed-off-by: Roland Haeder <roland@mxchange.org>
Mikael Nordfeldth [Wed, 27 May 2015 20:37:20 +0000 (22:37 +0200)]
urlhash will _be_ NULL on update, so NOT NULL won't work
Mikael Nordfeldth [Wed, 27 May 2015 19:54:51 +0000 (21:54 +0200)]
remove _all_ file URLs not just the duplicates
Mikael Nordfeldth [Wed, 27 May 2015 19:31:29 +0000 (21:31 +0200)]
upgrade fix for file URLs longer than 191 chars
Mikael Nordfeldth [Wed, 27 May 2015 18:21:05 +0000 (20:21 +0200)]
more debugging info on failed schema.php runSqlSet
Roland Haeder [Tue, 26 May 2015 17:57:09 +0000 (19:57 +0200)]
Merge remote-tracking branch 'upstream/master' into social-master
Signed-off-by: Roland Haeder <roland@mxchange.org>
Conflicts:
lib/inlineattachmentlist.php
plugins/InfiniteScroll/InfiniteScrollPlugin.php
plugins/MobileProfile/MobileProfilePlugin.php
plugins/StrictTransportSecurity/StrictTransportSecurityPlugin.php
Mikael Nordfeldth [Tue, 26 May 2015 11:14:26 +0000 (13:14 +0200)]
Throw exception if Local_group has no corresponding User_group
Mikael Nordfeldth [Tue, 26 May 2015 11:11:08 +0000 (13:11 +0200)]
Throw exception when a Conversation is not found
Mikael Nordfeldth [Tue, 26 May 2015 11:10:37 +0000 (13:10 +0200)]
Redirect to group URL for /nickname pattern
Roland Haeder [Tue, 26 May 2015 01:36:23 +0000 (03:36 +0200)]
Re-added code from upstream (opps).
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Tue, 26 May 2015 01:12:00 +0000 (03:12 +0200)]
Merge branch 'master' into social-master
Signed-off-by: Roland Haeder <roland@mxchange.org>
Conflicts:
actions/replies.php
classes/Notice.php
lib/noticeform.php
plugins/WebFinger/WebFingerPlugin.php
Roland Haeder [Tue, 26 May 2015 01:09:12 +0000 (03:09 +0200)]
Merge branch 'master' of git.gnu.io:Quix0r/gnu-social
Signed-off-by: Roland Haeder <roland@mxchange.org>
Conflicts:
actions/apifriendshipsdestroy.php
actions/apifriendshipsexists.php
actions/apifriendshipsshow.php
actions/replies.php
actions/showstream.php
classes/Notice.php
lib/docfile.php
lib/noticeform.php
plugins/APC/APCPlugin.php
plugins/Adsense/AdsensePlugin.php
plugins/Aim/AimPlugin.php
plugins/Aim/lib/aimmanager.php
plugins/Blog/BlogPlugin.php
plugins/Directory/actions/groupdirectory.php
plugins/Directory/actions/userdirectory.php
plugins/Irc/IrcPlugin.php
plugins/Irc/extlib/phergie/Tests/Phergie/Plugin/HandlerTest.php
plugins/Irc/lib/ircmanager.php
plugins/OStatus/classes/Ostatus_profile.php
plugins/Share/actions/apitimelineretweetedtome.php
plugins/Spotify/SpotifyPlugin.php
plugins/TinyMCE/TinyMCEPlugin.php
plugins/VideoThumbnails/VideoThumbnailsPlugin.php
plugins/WebFinger/WebFingerPlugin.php
plugins/XCache/XCachePlugin.php
plugins/YammerImport/actions/yammeradminpanel.php
plugins/YammerImport/actions/yammerauth.php
plugins/YammerImport/lib/yammerimporter.php
Roland Haeder [Fri, 22 May 2015 03:18:35 +0000 (05:18 +0200)]
Correct content now ... :-(
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Fri, 22 May 2015 03:04:54 +0000 (05:04 +0200)]
*** Privacy Leak fixed: ***
- isCurrentProfileInScope() is now more asked if the current profile is allowed
to see the given notice. It was possible (with upstream master) to see private
messages in RSS and (possible) JSON feeds
Signed-off-by: Roland Haeder <roland@mxchange.org>
Mikael Nordfeldth [Sun, 10 May 2015 17:41:36 +0000 (19:41 +0200)]
More automated htaccess.sample
Mikael Nordfeldth [Sat, 9 May 2015 13:53:57 +0000 (15:53 +0200)]
magnet URL linkify support
Roland Haeder [Wed, 6 May 2015 07:45:16 +0000 (09:45 +0200)]
Added missing isPrivateScope().
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Wed, 6 May 2015 07:25:21 +0000 (09:25 +0200)]
My fault ...
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Wed, 6 May 2015 07:09:31 +0000 (09:09 +0200)]
Merge remote-tracking branch 'upstream/master' into social-master
Mikael Nordfeldth [Sun, 3 May 2015 21:07:31 +0000 (23:07 +0200)]
schemacheck hint in newly installed config.php
Mikael Nordfeldth [Sun, 3 May 2015 21:05:47 +0000 (23:05 +0200)]
Allow adding preload token to HSTS header
Use by adding this to config.php:
addPlugin('StrictTransportSecurity', array('preloadToken'=>true));
Mikael Nordfeldth [Sun, 3 May 2015 20:50:44 +0000 (22:50 +0200)]
StrictTransportSecurity syntax fix
Mikael Nordfeldth [Wed, 22 Apr 2015 20:17:50 +0000 (22:17 +0200)]
Merge branch 'quitagram' into nightly
Fixes that make quitagram work better amongst other things.
Mikael Nordfeldth [Wed, 22 Apr 2015 20:13:55 +0000 (22:13 +0200)]
Make it easier to hide attachments list header
Mikael Nordfeldth [Wed, 22 Apr 2015 19:22:02 +0000 (21:22 +0200)]
Fix some ProfileAction stuff, add function profileActionPreparation
Split up files with multiple classes to multiple files for autoload, sorry
for baking this into this commit.
Mikael Nordfeldth [Wed, 22 Apr 2015 18:57:05 +0000 (20:57 +0200)]
getFullname function on Profile class
No need to fix it for User since we shouldn't use that mostly.
Mikael Nordfeldth [Wed, 22 Apr 2015 17:50:56 +0000 (19:50 +0200)]
MobileProfile plugin cleanup
Mikael Nordfeldth [Wed, 22 Apr 2015 17:44:58 +0000 (19:44 +0200)]
Easier to modify DTD for HTMLOutputter
Mikael Nordfeldth [Wed, 22 Apr 2015 16:41:54 +0000 (18:41 +0200)]
minor coding fixes
Mikael Nordfeldth [Tue, 21 Apr 2015 21:47:55 +0000 (23:47 +0200)]
deleteuser script changed to deleteprofile
Delete remote profiles by providing their ID if known, or you can
provide their profile URI with --uri=https://...
Useful for cleaning up old, long gone and no longer desired profiles
and their notices.
Mikael Nordfeldth [Sun, 19 Apr 2015 22:26:16 +0000 (00:26 +0200)]
Better typing in lib/framework.php
Mikael Nordfeldth [Sun, 19 Apr 2015 22:26:00 +0000 (00:26 +0200)]
We already throw exceptions for PEAR errors
Mikael Nordfeldth [Sun, 19 Apr 2015 22:02:13 +0000 (00:02 +0200)]
Get better PEAR:DB error logging (debuginfo included)
Mikael Nordfeldth [Sun, 19 Apr 2015 19:12:26 +0000 (21:12 +0200)]
ksort on commands array to avoid converting to numerical array
Roland Haeder [Sun, 19 Apr 2015 13:17:01 +0000 (15:17 +0200)]
Misses this file to merge. I like the comments.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Mikael Nordfeldth [Wed, 15 Apr 2015 22:22:09 +0000 (00:22 +0200)]
Clearer warning message on non-existing file
Mikael Nordfeldth [Wed, 15 Apr 2015 21:56:23 +0000 (23:56 +0200)]
file_redirection duplicates are removed too in maintenance script
Mikael Nordfeldth [Wed, 15 Apr 2015 21:26:24 +0000 (23:26 +0200)]
remove duplicate file URLs script
Mikael Nordfeldth [Wed, 15 Apr 2015 21:25:12 +0000 (23:25 +0200)]
File_to_post indexing and cleaning preparations
Mikael Nordfeldth [Tue, 14 Apr 2015 20:01:22 +0000 (22:01 +0200)]
Translation contained bad HTML
Mikael Nordfeldth [Tue, 14 Apr 2015 19:40:09 +0000 (21:40 +0200)]
latest php-gettext from https://code.launchpad.net/~danilo/php-gettext/
Mikael Nordfeldth [Mon, 13 Apr 2015 19:51:35 +0000 (21:51 +0200)]
If /var/run was unwritable stopdaemons did not find pid file
Roland Haeder [Sun, 12 Apr 2015 14:14:02 +0000 (16:14 +0200)]
Merge remote-tracking branch 'upstream/master' into social-master
Signed-off-by: Roland Haeder <roland@mxchange.org>
Conflicts:
actions/apifriendshipsdestroy.php
actions/apifriendshipsexists.php
actions/apifriendshipsshow.php
actions/replies.php
actions/showstream.php
classes/File.php
classes/Notice.php
lib/docfile.php
lib/framework.php
lib/noticeform.php
plugins/APC/APCPlugin.php
plugins/Adsense/AdsensePlugin.php
plugins/Aim/AimPlugin.php
plugins/Aim/lib/aimmanager.php
plugins/Blog/BlogPlugin.php
plugins/Blog/classes/Blog_entry.php
plugins/Directory/actions/groupdirectory.php
plugins/Directory/actions/userdirectory.php
plugins/Irc/IrcPlugin.php
plugins/Irc/extlib/phergie/Tests/Phergie/Plugin/HandlerTest.php
plugins/Irc/lib/ircmanager.php
plugins/OStatus/OStatusPlugin.php
plugins/OStatus/classes/Ostatus_profile.php
plugins/Share/actions/apitimelineretweetedtome.php
plugins/Spotify/SpotifyPlugin.php
plugins/TinyMCE/TinyMCEPlugin.php
plugins/VideoThumbnails/VideoThumbnailsPlugin.php
plugins/WebFinger/WebFingerPlugin.php
plugins/XCache/XCachePlugin.php
plugins/YammerImport/actions/yammeradminpanel.php
plugins/YammerImport/actions/yammerauth.php
plugins/YammerImport/lib/yammerimporter.php
Mikael Nordfeldth [Fri, 10 Apr 2015 20:16:44 +0000 (22:16 +0200)]
filename is never used for indexing so let's make it text
varchar is pretty limited so let's avoid it if we can
Mikael Nordfeldth [Fri, 10 Apr 2015 11:15:12 +0000 (13:15 +0200)]
removed unused config setting
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: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: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>
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
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
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