]>
git.mxchange.org Git - quix0rs-gnu-social.git/log
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>
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>
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 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>
Mikael Nordfeldth [Mon, 9 Mar 2015 09:39:27 +0000 (10:39 +0100)]
Merge commit 'refs/merge-requests/56' of https://gitorious.org/social/mainline into merge-requests/56
Roland Haeder [Mon, 9 Mar 2015 00:41:37 +0000 (01:41 +0100)]
Merge branch 'master' into social-master
Roland Haeder [Mon, 9 Mar 2015 00:40:44 +0000 (01:40 +0100)]
'checked' must be false because else the browser won't send any location and it is better for privacy ... :-)
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Mon, 9 Mar 2015 00:19:44 +0000 (01:19 +0100)]
Merge branch 'master' into social-master
Roland Haeder [Mon, 9 Mar 2015 00:18:34 +0000 (01:18 +0100)]
onEndInitializeQueueManager expects a QueueManager object, so let's set it here.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sun, 8 Mar 2015 23:58:38 +0000 (00:58 +0100)]
Merge branch 'master' into social-master
Roland Haeder [Sun, 8 Mar 2015 23:55:35 +0000 (00:55 +0100)]
onArgsInitialize() wants an array and many plugins want to add more elements, so make it everywhere the same.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sun, 8 Mar 2015 23:44:56 +0000 (00:44 +0100)]
Truely it is!
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sun, 8 Mar 2015 23:38:02 +0000 (00:38 +0100)]
Merge branch 'master' into social-master
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sun, 8 Mar 2015 23:34:40 +0000 (00:34 +0100)]
Added more checked type-hints.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sun, 8 Mar 2015 23:34:40 +0000 (00:34 +0100)]
Added more checked type-hints.
Signed-off-by: Roland Haeder <roland@mxchange.org>
digital dreamer [Sun, 8 Mar 2015 08:34:38 +0000 (09:34 +0100)]
Snapshot of the Transifex translation project - February 2015
Roland Haeder [Fri, 6 Mar 2015 23:41:01 +0000 (00:41 +0100)]
Merge branch 'master' into social-master
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Fri, 6 Mar 2015 23:36:49 +0000 (00:36 +0100)]
rand() is weak on some OSes as it only produces random numbers from -32766 to
32766. So let's get rid of it all together and use mt_rand() (which produces
*way* larger numbers on *all* systems).
Signed-off-by: Roland Haeder <roland@mxchange.org>
Conflicts:
lib/noticeform.php
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Thu, 5 Mar 2015 22:50:51 +0000 (23:50 +0100)]
Merge branch 'master' into social-master
Signed-off-by: Roland Haeder <roland@mxchange.org>
aroquen [Thu, 5 Mar 2015 21:19:57 +0000 (22:19 +0100)]
Make attachment fit better in notice: drop text and link
Roland Haeder [Thu, 5 Mar 2015 18:18:38 +0000 (19:18 +0100)]
Added more checked type-hints
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Thu, 5 Mar 2015 17:46:50 +0000 (18:46 +0100)]
Merge branch 'master' into social-master
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Thu, 5 Mar 2015 17:43:57 +0000 (18:43 +0100)]
$related must contain class names, no table names ("all" lower-case) + fixed some checked type-hints.
Again, it must be User_flag_profile (class name), not user_flag_profile (table name).
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Wed, 4 Mar 2015 13:52:59 +0000 (14:52 +0100)]
Merge branch 'master' into social-master
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Wed, 4 Mar 2015 13:52:41 +0000 (14:52 +0100)]
Merge branch 'master' of gitorious.org:social/mainline
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sun, 1 Mar 2015 17:34:46 +0000 (18:34 +0100)]
Added some checked (I checked them) type-hints to improve type-safety (typing mistakes).
Signed-off-by: Roland Haeder <roland@mxchange.org>
Mikael Nordfeldth [Sun, 1 Mar 2015 15:48:01 +0000 (16:48 +0100)]
Bug tracker link updated.
Roland Haeder [Fri, 27 Feb 2015 15:55:43 +0000 (16:55 +0100)]
Merge branch 'master' of gitorious.org:social/mainline into social-master
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Fri, 27 Feb 2015 15:53:11 +0000 (16:53 +0100)]
Fixed parser error as the braces pair was missing.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Mikael Nordfeldth [Fri, 27 Feb 2015 09:15:23 +0000 (10:15 +0100)]
1.1.3 not 1.1.3 beta3
Mikael Nordfeldth [Fri, 27 Feb 2015 08:58:38 +0000 (09:58 +0100)]
I hereby dub thee 1.1.3 - The Spanish Invasion
Mikael Nordfeldth [Fri, 27 Feb 2015 08:57:49 +0000 (09:57 +0100)]
Pass Profile to asAtomEntry
Roland Haeder [Wed, 25 Feb 2015 13:30:11 +0000 (14:30 +0100)]
Fixed 2 parser errors.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Mon, 23 Feb 2015 20:21:53 +0000 (21:21 +0100)]
Changed thumbnail-only chmod to attachment-general chmod as recommended by mmn.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Mon, 23 Feb 2015 18:57:00 +0000 (19:57 +0100)]
Generally applying 0644 on all thumbnail images is maybe not what all people
like, so better make it configurable.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Thu, 19 Feb 2015 11:15:07 +0000 (12:15 +0100)]
MINOR: Please don't set a+x on files which are not being executed as shell script by the server.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sun, 15 Feb 2015 21:46:00 +0000 (22:46 +0100)]
Merge branch 'master' into social-master
Conflicts:
classes/File.php
plugins/Recaptcha/RecaptchaPlugin.php
plugins/UserLimit/UserLimitPlugin.php
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sun, 15 Feb 2015 21:43:20 +0000 (22:43 +0100)]
Fixed more type-hints for safety.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sun, 15 Feb 2015 20:47:26 +0000 (21:47 +0100)]
Merge remote-tracking branch 'upstream/master'
Conflicts:
actions/apiaccountverifycredentials.php
actions/apimediaupload.php
actions/apistatusesshow.php
actions/apitimelinepublic.php
actions/logout.php
actions/public.php
actions/register.php
lib/inboxnoticestream.php
plugins/Favorite/actions/apifavoritecreate.php
plugins/OStatus/actions/pushhub.php
plugins/OStatus/classes/Ostatus_profile.php
plugins/OStatus/scripts/update_ostatus_profiles.php
plugins/OpportunisticQM/lib/opportunisticqueuemanager.php
plugins/YammerImport/lib/yammerimporter.php
scripts/commandline.inc.php
Signed-off-by: Roland Haeder <roland@mxchange.org>
Mikael Nordfeldth [Fri, 13 Feb 2015 11:10:25 +0000 (12:10 +0100)]
CSS to align the notice footer (thanks fnadde42)
Mikael Nordfeldth [Fri, 13 Feb 2015 11:08:54 +0000 (12:08 +0100)]
Updated README.md and framework.php
Mikael Nordfeldth [Fri, 13 Feb 2015 10:55:37 +0000 (11:55 +0100)]
Deja vu of user->getProfile() from
4f9b70d
Mikael Nordfeldth [Fri, 13 Feb 2015 10:54:15 +0000 (11:54 +0100)]
DirectMessages backed up properly for UAS
Mikael Nordfeldth [Fri, 13 Feb 2015 10:52:29 +0000 (11:52 +0100)]
Faves backed up properly to UAS
Mikael Nordfeldth [Fri, 13 Feb 2015 10:41:21 +0000 (11:41 +0100)]
Profile expected in Notice::asActivity from UAS
Mikael Nordfeldth [Fri, 13 Feb 2015 10:39:50 +0000 (11:39 +0100)]
UAS protected property user solved with getUser()
Mikael Nordfeldth [Fri, 13 Feb 2015 00:19:59 +0000 (01:19 +0100)]
EndSetApiUser will always contain a User
Mikael Nordfeldth [Thu, 12 Feb 2015 21:45:08 +0000 (22:45 +0100)]
extlib Michelf\Markdown updated 1.4.0 to 1.4.1
Mikael Nordfeldth [Thu, 12 Feb 2015 21:17:02 +0000 (22:17 +0100)]
DB_DataObject updated to 1.11.3
Mikael Nordfeldth [Thu, 12 Feb 2015 21:00:50 +0000 (22:00 +0100)]
DB updated to 1.8.2
Mikael Nordfeldth [Thu, 12 Feb 2015 20:50:21 +0000 (21:50 +0100)]
htmLawed extlib updated from 1.1.16 to 1.1.19
Mikael Nordfeldth [Thu, 12 Feb 2015 16:45:02 +0000 (17:45 +0100)]
schemaDef coding style fixes
Mikael Nordfeldth [Thu, 12 Feb 2015 16:44:05 +0000 (17:44 +0100)]
Missing uri property of QnA_Answer class
Mikael Nordfeldth [Thu, 12 Feb 2015 10:08:08 +0000 (11:08 +0100)]
Added note on socialfying for HTTPS sites.
Mikael Nordfeldth [Thu, 12 Feb 2015 10:03:39 +0000 (11:03 +0100)]
Merge commit 'refs/merge-requests/43' of https://gitorious.org/social/mainline into merge-requests/43
Mikael Nordfeldth [Thu, 12 Feb 2015 09:41:43 +0000 (10:41 +0100)]
Clarify in INSTALL that MySQL must be 5.5+
lib/installer.php already said that when installing.
Adam Moore [Wed, 11 Feb 2015 00:49:44 +0000 (16:49 -0800)]
Deleting redundant file.
Adam Moore [Wed, 11 Feb 2015 00:36:32 +0000 (16:36 -0800)]
Webfinger instructions were incomplete/erroneous -- now they are not.
Mikael Nordfeldth [Tue, 10 Feb 2015 17:41:18 +0000 (18:41 +0100)]
Merge commit 'refs/merge-requests/41' of https://gitorious.org/social/mainline into merge-requests/41
Chimo [Tue, 10 Feb 2015 15:53:24 +0000 (10:53 -0500)]
Add 'statusnet_textarea' backward-compatibility
Mikael Nordfeldth [Mon, 9 Feb 2015 23:30:20 +0000 (00:30 +0100)]
Merge commit 'refs/merge-requests/40' of https://gitorious.org/social/mainline into merge-requests/40
Chimo [Mon, 9 Feb 2015 23:08:46 +0000 (18:08 -0500)]
Replace one instance of LOG_ERR with LOG_DEBUG
Chimo [Mon, 9 Feb 2015 23:06:26 +0000 (18:06 -0500)]
Prepopulate newnotice from URL arg
Mikael Nordfeldth [Mon, 9 Feb 2015 20:44:01 +0000 (21:44 +0100)]
GNU social SVG logo added to neo-gnu
Mikael Nordfeldth [Mon, 9 Feb 2015 19:25:24 +0000 (20:25 +0100)]
neo-quitter unuglifying (thanks @marcus@gnusocial.ch )
also formatting changes to the CSS like removing trailing whitespace.
Mikael Nordfeldth [Mon, 9 Feb 2015 10:35:19 +0000 (11:35 +0100)]
Merge commit 'refs/merge-requests/39' of https://gitorious.org/social/mainline into merge-requests/39
Chimo [Mon, 9 Feb 2015 01:11:50 +0000 (20:11 -0500)]
TwitterBridge: don't array_merge() non-arrays
Fixes: ErrorException: [2] array_merge(): Argument #2 is not an array
Chimo [Mon, 9 Feb 2015 01:07:23 +0000 (20:07 -0500)]
Make TwitterBridge less noisy
Empty timelines are no longer warnings, but debug information
Mikael Nordfeldth [Sun, 8 Feb 2015 22:48:35 +0000 (23:48 +0100)]
Can now delete lists/peopletags (thanks MrB)
Reported on https://bugz.foocorp.net/T79
Fix by MrB: https://gist.github.com/mrvdb/
0f5d84c9b56c0a390c4a
Mikael Nordfeldth [Sun, 8 Feb 2015 22:21:28 +0000 (23:21 +0100)]
Merge commit 'refs/merge-requests/37' of https://gitorious.org/social/mainline into merge-requests/37
Mikael Nordfeldth [Sun, 8 Feb 2015 22:19:53 +0000 (23:19 +0100)]
Merge commit 'refs/merge-requests/30' of https://gitorious.org/social/mainline into merge-requests/30
Mikael Nordfeldth [Sun, 8 Feb 2015 22:18:36 +0000 (23:18 +0100)]
Merge commit 'refs/merge-requests/31' of https://gitorious.org/social/mainline into merge-requests/31
Mikael Nordfeldth [Sun, 8 Feb 2015 22:11:47 +0000 (23:11 +0100)]
Merge commit 'refs/merge-requests/36' of https://gitorious.org/social/mainline into merge-requests/36
Chimo [Sun, 8 Feb 2015 19:47:03 +0000 (14:47 -0500)]
Populate 'created' property on attention
The 'created' column in attention SQL table has NOT NULL
restriction.
Chimo [Sun, 8 Feb 2015 18:41:29 +0000 (13:41 -0500)]
Populate 'created' property on ostatus_source
The 'created' column in ostatus_source SQL table has NOT NULL restriction.
INSERTs fail when running MySQL/MariaDB in strict mode if this is not
populated.
Mikael Nordfeldth [Sun, 8 Feb 2015 14:33:00 +0000 (15:33 +0100)]
added non-critical FIXMEs
Mikael Nordfeldth [Sun, 8 Feb 2015 14:17:50 +0000 (15:17 +0100)]
updateWithKeys did not always COMMIT transactions
Mikael Nordfeldth [Sun, 8 Feb 2015 10:53:47 +0000 (11:53 +0100)]
Older versions of PHP couldn't do array indexes on function returns.
Mikael Nordfeldth [Sun, 8 Feb 2015 10:47:15 +0000 (11:47 +0100)]
General code quality improvement for easier understanding
Also made sure we only match local group IDs in recognizedFeed for PushhubAction
Mikael Nordfeldth [Sun, 8 Feb 2015 10:23:04 +0000 (11:23 +0100)]
Merge commit 'refs/merge-requests/33' of https://gitorious.org/social/mainline into merge-requests/33