]>
git.mxchange.org Git - quix0rs-gnu-social.git/log
Joshua Wise [Tue, 16 Jul 2013 17:47:29 +0000 (10:47 -0700)]
Escape argument to prevent SQL injection attack in
User::getTaggedSubscriptions()
This change escapes the $tag argument to prevent a SQL injection
attack in User::getTaggedSubscriptions(). The parameter was not
escaped higher up the stack, so this vulnerability could be exploited.
Joshua Wise [Tue, 16 Jul 2013 17:43:56 +0000 (10:43 -0700)]
Escape argument to User::getTaggedSubscribers() to preven SQL injection
This change escapes the argument to User::getTaggedSubscribers() to
prevent SQL injection attacks.
Both code paths up the stack fail to escape this parameter, so this is
a potential SQL injection attack.
Joshua Wise [Tue, 16 Jul 2013 17:35:44 +0000 (10:35 -0700)]
Escape query parameters in Profile_tag::getTagged()
This patch escapes query parameters in Profile_tag::getTagged(). This
is an extra security step; since these parameters come out of the
database, it's unlikely that they would have dangerous data in them.
Joshua Wise [Tue, 16 Jul 2013 17:27:30 +0000 (10:27 -0700)]
Escape SQL parameter in Profile_tag::moveTag()
This change adds additional escapes for arguments to
Profile_tag::moveTag(). The arguments are canonicalized in the API and
Web UI paths higher up the stack, but this change makes sure that no
other paths can introduce SQL injection errors.
Joshua Wise [Tue, 16 Jul 2013 17:14:38 +0000 (10:14 -0700)]
Escape $tag passed to Profile::getTaggedSubscribers()
This patch escapes the $tag parameter in
Profile::getTaggedSubscribers(). The parameter is not escaped either
in actions/subscriptions.php or in actions/apiuserfollowers.php. So
there is a potential for SQL injection here.
Joshua Wise [Tue, 16 Jul 2013 17:09:16 +0000 (10:09 -0700)]
Potential SQL injection in Local_group::setNickname()
This change escapes a parameter in Local_group::setNickname(). Review
of the code paths that call this function sanitize the parameter
higher up the stack, but it's escaped here to prevent mistakes later.
Note that nickname parameters are normally alphanum strings, so
there's not much danger in double-escaping them.
Evan Prodromou [Sat, 29 Jun 2013 11:49:43 +0000 (07:49 -0400)]
Squashed commit of the following:
commit
bd23a7da105d635414643dfcedd9c8f710d565b8
Author: Evan Prodromou <evan@e14n.com>
Date: Sat Jun 29 07:49:03 2013 -0400
Make the after flag work correctly
commit
5c5845a2f866f0bbffedd8e2e5d1f512f87d5329
Author: Evan Prodromou <evan@e14n.com>
Date: Sat Jun 29 06:14:43 2013 -0400
Add an 'after' flag for backup script
Evan Prodromou [Wed, 26 Jun 2013 02:27:23 +0000 (22:27 -0400)]
Merge branch '1.1.x' of gitorious.org:statusnet/mainline into 1.1.x
Evan Prodromou [Wed, 26 Jun 2013 02:26:27 +0000 (22:26 -0400)]
Better output for shares
Jean Baptiste Favre [Sat, 15 Jun 2013 18:11:24 +0000 (20:11 +0200)]
Merge commit 'merge-requests/192' into statusnet_1.1.x
Jean Baptiste Favre [Tue, 11 Sep 2012 13:57:13 +0000 (15:57 +0200)]
Fix introduced bug, trying to shorten an empty status.
Jean Baptiste Favre [Sat, 8 Sep 2012 21:56:19 +0000 (17:56 -0400)]
Code cleaning. Do call shortenLinks only once, right before saving new notice.
Jean Baptiste Favre [Thu, 6 Sep 2012 15:16:30 +0000 (11:16 -0400)]
Code cleaning, remove 'TEST' tags.
Jean Baptiste Favre [Thu, 6 Sep 2012 15:11:33 +0000 (11:11 -0400)]
Notice update with media attachment may fail through API when status text + attachment length get higher than max notice length. Calling URL shortener can make global length less than maxlength, though allowing notice update.
Jean Baptiste Favre [Sun, 26 Aug 2012 21:20:03 +0000 (23:20 +0200)]
Add configuration check. Need 'server', 'port', 'user' and 'password' to be defined (not valid, just defined).
Jean Baptiste Favre [Sun, 26 Aug 2012 20:53:09 +0000 (22:53 +0200)]
Remove static definition of imdaemon.php as valid daemon.
Jean Baptiste Favre [Sun, 26 Aug 2012 20:52:21 +0000 (22:52 +0200)]
Add basic support for GetValidDaemon event. Shall be extended with configuration check.
Jean Baptiste Favre [Mon, 27 Aug 2012 22:25:53 +0000 (00:25 +0200)]
Remove alone 'groups' link on the left side. Useless I guess.
Jean Baptiste Favre [Mon, 27 Aug 2012 22:21:41 +0000 (00:21 +0200)]
Add same CSS rules for #remoteprofile than for #showstream. Allows to hide avatars, like for local profiles.
Jean Baptiste Favre [Mon, 27 Aug 2012 19:02:53 +0000 (21:02 +0200)]
Display notices for remote profile. Would like to hide avatar like in local profile but did not found how to do it.
Jean Baptiste Favre [Mon, 27 Aug 2012 17:41:28 +0000 (19:41 +0200)]
Fix error 'No matches for action subscriptions with arguments nickname...' when displaying remote profile.
Jean Baptiste Favre [Wed, 29 Aug 2012 19:36:55 +0000 (21:36 +0200)]
You need an API key when using embed.ly. Unfortunatly oembedhelper.php does not support it. This commit aims to fix it.
Jean Baptiste Favre [Fri, 14 Sep 2012 15:37:42 +0000 (17:37 +0200)]
Bookmark plugin enhancement: display Bookmark's list. Integration of @chimo's work (http://http://sn.chromic.org/) from https://github.com/chimo/BookmarkList into official plugin.
Evan Prodromou [Sat, 15 Jun 2013 16:07:34 +0000 (12:07 -0400)]
Better ID for notice activity
Jean Baptiste Favre [Sat, 25 Aug 2012 11:41:09 +0000 (13:41 +0200)]
Fix for #3649 issue.
Jean Baptiste Favre [Sun, 26 Aug 2012 18:32:53 +0000 (20:32 +0200)]
Fix for #3651: oAuth apps list does only show the latest registered application
Jean Baptiste Favre [Fri, 14 Jun 2013 21:27:24 +0000 (23:27 +0200)]
Get rid of t.co links for notice's text version. Usefull for client using API. Complements merge-request #205 by @mmn
Jean Baptiste Favre [Thu, 13 Sep 2012 20:40:13 +0000 (22:40 +0200)]
Replace t.co links with expanded one provided by Twitter. Can still be a shortened one & will be done only for HTML view, but still a start. Backport of merge_requests/205.
Evan Prodromou [Sun, 9 Jun 2013 01:05:09 +0000 (21:05 -0400)]
Bad variable in ActivityObject::fromMessage()
Evan Prodromou [Sun, 9 Jun 2013 01:04:51 +0000 (21:04 -0400)]
Bad variable in Message::asActivity()
Evan Prodromou [Sat, 8 Jun 2013 23:18:28 +0000 (19:18 -0400)]
Use the link property for the URL, not the ID
Evan Prodromou [Sat, 8 Jun 2013 21:53:47 +0000 (17:53 -0400)]
Add direct messages to backup
Evan Prodromou [Sat, 8 Jun 2013 21:45:49 +0000 (17:45 -0400)]
Store direct messages as an activity
Evan Prodromou [Fri, 7 Jun 2013 15:49:34 +0000 (11:49 -0400)]
Some more well-known sources from plugins
Evan Prodromou [Fri, 7 Jun 2013 15:34:54 +0000 (11:34 -0400)]
Add generator to JSON output
Evan Prodromou [Fri, 7 Jun 2013 07:11:23 +0000 (03:11 -0400)]
Some better context for notices as arrays
Evan Prodromou [Fri, 7 Jun 2013 04:30:04 +0000 (00:30 -0400)]
Coerce width, height of media link to integer
Evan Prodromou [Wed, 5 Jun 2013 20:58:31 +0000 (16:58 -0400)]
Fix the switch on type
Evan Prodromou [Wed, 5 Jun 2013 20:51:35 +0000 (16:51 -0400)]
Better type check, better URL
Evan Prodromou [Wed, 5 Jun 2013 20:12:54 +0000 (16:12 -0400)]
Better URL creation for attachments
Evan Prodromou [Wed, 5 Jun 2013 20:11:51 +0000 (16:11 -0400)]
Better handling of null values in ActivityObject::mimeTypeToObjectType
Evan Prodromou [Wed, 5 Jun 2013 13:39:13 +0000 (09:39 -0400)]
Use real attachments for JSON output
Evan Prodromou [Wed, 5 Jun 2013 02:27:29 +0000 (22:27 -0400)]
Don't set the title of a notice to its plain-text content.
Evan Prodromou [Tue, 4 Jun 2013 23:52:38 +0000 (19:52 -0400)]
Don't add content as title for notes
Evan Prodromou [Tue, 4 Jun 2013 21:22:51 +0000 (17:22 -0400)]
Change geopoint to location
Evan Prodromou [Tue, 4 Jun 2013 21:15:43 +0000 (17:15 -0400)]
Remove duplicate of extensions
Evan Prodromou [Tue, 4 Jun 2013 21:12:28 +0000 (17:12 -0400)]
Use status_net, portablecontacts_net namespaces
Evan Prodromou [Tue, 4 Jun 2013 21:00:51 +0000 (17:00 -0400)]
Slightly better ActivityStreams JSON output
Evan Prodromou [Tue, 4 Jun 2013 20:30:40 +0000 (16:30 -0400)]
Use better type, title for service
Evan Prodromou [Tue, 4 Jun 2013 20:29:47 +0000 (16:29 -0400)]
Add the service type for activity objects
Evan Prodromou [Tue, 4 Jun 2013 19:20:21 +0000 (15:20 -0400)]
Better handling of multiple objects
Evan Prodromou [Tue, 4 Jun 2013 19:20:00 +0000 (15:20 -0400)]
Better registrationActivity
Evan Prodromou [Mon, 3 Jun 2013 13:10:56 +0000 (09:10 -0400)]
Only a single object in activitystrea.ms JSON output
Evan Prodromou [Mon, 3 Jun 2013 12:55:00 +0000 (08:55 -0400)]
Add an ID to registered service
Evan Prodromou [Sun, 2 Jun 2013 18:38:00 +0000 (14:38 -0400)]
Add a registration activity to the end of every backup
Evan Prodromou [Sun, 2 Jun 2013 18:29:40 +0000 (14:29 -0400)]
Merge branch '1.1.x' of gitorious.org:statusnet/mainline into 1.1.x
Conflicts:
lib/useractivitystream.php
Evan Prodromou [Wed, 29 May 2013 21:03:08 +0000 (17:03 -0400)]
Close the collection object
Evan Prodromou [Wed, 29 May 2013 20:45:52 +0000 (16:45 -0400)]
Correctly output commas for JSON backups
Evan Prodromou [Fri, 24 May 2013 17:50:24 +0000 (13:50 -0400)]
Add JSON output for backups
Evan Prodromou [Fri, 24 May 2013 13:26:58 +0000 (09:26 -0400)]
Throw an exception converting fave to activity for non-existent notice or profile
Evan Prodromou [Fri, 24 May 2013 13:19:17 +0000 (09:19 -0400)]
More aggressively avoid OOM errors in useractivitystream
Evan Prodromou [Thu, 23 May 2013 19:02:30 +0000 (15:02 -0400)]
Don't abort if an activity throws an exception when backing up
Evan Prodromou [Tue, 30 Apr 2013 13:56:14 +0000 (09:56 -0400)]
Make optional arguments for getNoticeIds explicit
Evan Prodromou [Sat, 2 Mar 2013 16:28:20 +0000 (11:28 -0500)]
Merge remote-tracking branch 'origin/1.1.x' into 1.1.x
Jean Baptiste Favre [Sun, 10 Feb 2013 19:06:30 +0000 (20:06 +0100)]
Makes TwitterBridge plugin use Twitter API 1.1 instead of API 1 which is deprecated and will be switched off soon
Jean Baptiste Favre [Mon, 18 Feb 2013 22:22:08 +0000 (23:22 +0100)]
Make TwitterBridge plugin use Queueing system
Jean Baptiste Favre [Mon, 18 Feb 2013 22:16:06 +0000 (23:16 +0100)]
Add Twitter mention import support
Mikael Nordfeldth [Sat, 27 Oct 2012 08:40:31 +0000 (10:40 +0200)]
mrb reported 417 Expectation failed errors due to now commented line
Evan Prodromou [Wed, 17 Oct 2012 14:10:12 +0000 (10:10 -0400)]
Merge branch '1.1.x' of gitorious.org:statusnet/mainline into 1.1.x
Evan Prodromou [Wed, 17 Oct 2012 14:09:40 +0000 (10:09 -0400)]
Don't show big invite button if invites are disabled
Jean Baptiste Favre [Wed, 19 Sep 2012 07:58:14 +0000 (09:58 +0200)]
Merge commit 'refs/merge-requests/182' of gitorious.org:statusnet/mainline into 1.1.x
Jean Baptiste Favre [Wed, 19 Sep 2012 07:39:47 +0000 (09:39 +0200)]
Merge commit 'refs/merge-requests/181' of git://gitorious.org/statusnet/mainline into statusnet_1.1.x
Jean Baptiste Favre [Tue, 18 Sep 2012 22:07:29 +0000 (00:07 +0200)]
Merge remote-tracking branch 'statusnet/180' into statusnet_1.1.x
Evan Prodromou [Fri, 7 Sep 2012 14:27:14 +0000 (10:27 -0400)]
Don't send @-reply notification if the mentioned person has blocked the sender
Evan Prodromou [Mon, 13 Aug 2012 18:33:19 +0000 (14:33 -0400)]
Squashed commit of the following:
commit
2b9bce9ef8f6cf55b7ac62231bcc0173260ba472
Merge:
3ba4f24 12b680e
Author: Evan Prodromou <evan@status.net>
Date: Mon Aug 13 14:31:46 2012 -0400
Merge commit 'refs/merge-requests/207' of git://gitorious.org/statusnet/mainline into merge-requests/207
commit
12b680e375db9de01cac77dd9a71adb729292dc7
Author: Mikael Nordfeldth <mmn@hethane.se>
Date: Fri Aug 10 20:49:52 2012 +0200
testing whether $user is predefined before otherwise setting it to common_current_user()
Mikael Nordfeldth [Fri, 13 Jul 2012 12:30:58 +0000 (14:30 +0200)]
Issue 3401, ostatus group subscription lands on blank page
Evan Prodromou [Sat, 28 Jul 2012 17:55:10 +0000 (13:55 -0400)]
Merge branch '1.1.x' of gitorious.org:statusnet/mainline into 1.1.x
Evan Prodromou [Mon, 9 Jul 2012 13:45:53 +0000 (09:45 -0400)]
Squashed commit of the following:
commit
f4503f30226fee59160600b5c9b81afc6b610a9d
Merge:
75f3b4e f10e48c
Author: Evan Prodromou <evan@status.net>
Date: Mon Jul 9 09:45:10 2012 -0400
Merge commit 'refs/merge-requests/194' of git://gitorious.org/statusnet/mainline into merge-requests/194
commit
f10e48c361d91ab02efc5577254e1dad3b1dcebe
Author: Mikael Nordfeldth <mmn@hethane.se>
Date: Thu Jul 5 14:28:30 2012 +0200
multiGet returns a correct Notice object for the fetchAll in NoticeList
Evan Prodromou [Mon, 9 Jul 2012 13:43:05 +0000 (09:43 -0400)]
Squashed commit of the following:
commit
cd43ac412c90722e3b83ec750d9232a2ac2f12c9
Merge:
dad72cc adaf175
Author: Evan Prodromou <evan@status.net>
Date: Mon Jul 9 09:41:05 2012 -0400
Merge commit 'refs/merge-requests/196' of git://gitorious.org/statusnet/mainline into merge-requests/196
commit
adaf17552d3ab35d451c00cdb32d87a107e0e56a
Author: Jeremy Pope <jpope@jpope.org>
Date: Thu Jul 5 12:33:06 2012 -0500
fix for XMPP high CPU usage - issue no 3232
commit
e573e8ee6690af94259ff8793a84652a139d0662
Author: Jeremy Pope <jpope@jpope.org>
Date: Thu Jul 5 12:30:34 2012 -0500
fix for queuedaemon and imdaemon not being stopped by stopdaemons.sh
Evan Prodromou [Fri, 6 Jul 2012 14:46:48 +0000 (10:46 -0400)]
Remove Jabber stuff from Twitter daemon
Evan Prodromou [Tue, 3 Jul 2012 19:42:35 +0000 (15:42 -0400)]
Release date
Evan Prodromou [Tue, 3 Jul 2012 16:27:10 +0000 (12:27 -0400)]
Merge branch '1.1.x' of gitorious.org:statusnet/mainline into 1.1.x
Evan Prodromou [Tue, 3 Jul 2012 16:22:59 +0000 (12:22 -0400)]
Use the current logged-in use for home timeline
Siebrand Mazeland [Sat, 30 Jun 2012 11:10:38 +0000 (11:10 +0000)]
Localisation updates from http://translatewiki.net.
Siebrand Mazeland [Sun, 24 Jun 2012 18:26:18 +0000 (18:26 +0000)]
Localisation updates from http://translatewiki.net.
Siebrand Mazeland [Sun, 17 Jun 2012 23:56:06 +0000 (01:56 +0200)]
Remove i18n for space.
Remove trailing whitespace.
Siebrand Mazeland [Sun, 17 Jun 2012 23:26:20 +0000 (23:26 +0000)]
Localisation updates from http://translatewiki.net.
Evan Prodromou [Sun, 17 Jun 2012 13:53:45 +0000 (09:53 -0400)]
Merge branch '1.1.x' of gitorious.org:statusnet/mainline into 1.1.x
Evan Prodromou [Sun, 17 Jun 2012 13:52:35 +0000 (09:52 -0400)]
Skip on already-exists error
Siebrand Mazeland [Sun, 10 Jun 2012 23:42:52 +0000 (23:42 +0000)]
Localisation updates from http://translatewiki.net.
Siebrand Mazeland [Mon, 4 Jun 2012 15:02:34 +0000 (15:02 +0000)]
Localisation updates from http://translatewiki.net.
Siebrand Mazeland [Sat, 26 May 2012 21:15:30 +0000 (21:15 +0000)]
Localisation updates from http://translatewiki.net.
Mikael Nordfeldth [Thu, 24 May 2012 21:24:53 +0000 (23:24 +0200)]
MIME type for jpeg is with an e
Mikael Nordfeldth [Thu, 24 May 2012 21:09:56 +0000 (23:09 +0200)]
adding the odd but reported Twitter avatar .jpeg file extension
Mikael Nordfeldth [Thu, 24 May 2012 21:08:40 +0000 (23:08 +0200)]
retaining compatibility with previous TwitterBridge getMediatype
Mikael Nordfeldth [Thu, 24 May 2012 12:31:42 +0000 (14:31 +0200)]
Fixes issue #3612 with Twitter avatars that lack extension
Siebrand Mazeland [Sun, 20 May 2012 11:10:38 +0000 (11:10 +0000)]
Localisation updates from http://translatewiki.net.
Evan Prodromou [Wed, 16 May 2012 16:26:29 +0000 (12:26 -0400)]
Chance to train unknown
Mikael Nordfeldth [Mon, 14 May 2012 08:06:37 +0000 (10:06 +0200)]
Added lost define reported in issue 3605 (GROUPS_PER_PAGE)
Siebrand Mazeland [Sat, 12 May 2012 18:47:41 +0000 (18:47 +0000)]
Localisation updates from http://translatewiki.net.