]>
git.mxchange.org Git - quix0rs-gnu-social.git/log
Siebrand Mazeland [Thu, 31 Mar 2011 21:30:07 +0000 (23:30 +0200)]
Localisation updates from http://translatewiki.net.
Siebrand Mazeland [Thu, 31 Mar 2011 20:48:03 +0000 (22:48 +0200)]
Update translator documentation.
Siebrand Mazeland [Thu, 31 Mar 2011 20:43:57 +0000 (22:43 +0200)]
Tweak page titles. Thanks @evan for thinking with me.
Evan Prodromou [Thu, 31 Mar 2011 16:56:53 +0000 (12:56 -0400)]
if user has private stream flag, set that scope
Evan Prodromou [Thu, 31 Mar 2011 13:25:03 +0000 (09:25 -0400)]
Merge remote branch 'gitorious/1.0.x' into 1.0.x
Brion Vibber [Thu, 31 Mar 2011 00:01:06 +0000 (17:01 -0700)]
Provisional fix for ticket #3108: Facebook bridge sends "likes" as the notice's original poster instead of as the person doing the liking.
Adds optional $profile parameter for Facebookclient constructor and uses that for the foreign_link lookup if provided instead of the notice's poster.
Siebrand Mazeland [Wed, 30 Mar 2011 20:30:23 +0000 (22:30 +0200)]
Fix gettext domain for messages in plugins "_()" to "_m()".
Some other i18n and L10n updates, too.
i18n/L10n review not complete.
Evan Prodromou [Wed, 30 Mar 2011 20:23:13 +0000 (16:23 -0400)]
save private stream values
Brion Vibber [Wed, 30 Mar 2011 19:50:56 +0000 (12:50 -0700)]
Fix timestamps in fallback content for EventPlugin
A bunch of the common_* functions for date formatting expect an interpretable string, rather than a Unix timestamp, as input. Switched to using the DB-formatted timestamps as we put them into the object rather than the unix timestamp intermediate value when formatting the plaintext and HTML fallback content.
Brion Vibber [Wed, 30 Mar 2011 19:36:54 +0000 (12:36 -0700)]
Format timestamps as UTC in ActivityStreams output. While using local times is legit per spec, it's confusing to have it change around and confuses some clients that don't handle zones right.
Brion Vibber [Wed, 30 Mar 2011 18:22:32 +0000 (11:22 -0700)]
Tweak which should fix ActivityStreams output for Twitter profiles (if remote_profile entries didn't match, we ended up losing id/URI).
Explicitly uses the Twitter profile URL as profile URI if matching, without having to check the db.
Evan Prodromou [Wed, 30 Mar 2011 12:16:30 +0000 (08:16 -0400)]
add the private_stream attribute to User
Evan Prodromou [Wed, 30 Mar 2011 10:37:13 +0000 (06:37 -0400)]
add a privacy flag to user table
Evan Prodromou [Wed, 30 Mar 2011 09:55:10 +0000 (05:55 -0400)]
Add a scope-forcing flag to user_group
Evan Prodromou [Wed, 30 Mar 2011 09:10:07 +0000 (05:10 -0400)]
fix call-by-reference deprecation warning in microappplugin.php
Brion Vibber [Wed, 30 Mar 2011 00:01:53 +0000 (17:01 -0700)]
Note explicitly that you can pass null to Notice::inScope()
Brion Vibber [Wed, 30 Mar 2011 00:00:00 +0000 (17:00 -0700)]
typo fix in format string
Brion Vibber [Tue, 29 Mar 2011 23:58:15 +0000 (16:58 -0700)]
Consolidate common code in micro-apps custom notice type display actions.
The ShowNoticeAction subclasses were cut-n-pasting a lot of prepare() code from ShowNoticeAction, though the only part that's different is how we look up the notice. Broke that out to a getNotice() method, so only that needs to be copied. Avoids extra copies of permission checks and other common code in this spot.
Brion Vibber [Tue, 29 Mar 2011 23:50:06 +0000 (16:50 -0700)]
Fix for bookmark posting: missing object was causing error output to crush ajax
Brion Vibber [Tue, 29 Mar 2011 23:26:20 +0000 (16:26 -0700)]
Merge branch '1.0.x' of gitorious.org:statusnet/mainline into 1.0.x
Conflicts:
actions/apistatusesretweet.php
actions/repeat.php
classes/Notice.php
lib/command.php
Brion Vibber [Tue, 29 Mar 2011 23:20:12 +0000 (16:20 -0700)]
Consolidate some precondition checks for repeats, fix a couple bits in the repeat command.
Notice::saveNew() now does these checks directly when making a repeat:
* make sure the original is valid and existing
* stop you from repeating your own message
* stop you from repeating something you've previously repeated
* prevent repeats of any non-public messages
* explicit inScope() check to make sure you can read the original too (just in case there's a funky extension at play that changes scoping rules)
These error conditions throw exceptions, which the caller either uses as an error message or passes on up the stack, without having to duplicate the checks in each i/o channel.
Brion Vibber [Tue, 29 Mar 2011 23:18:51 +0000 (16:18 -0700)]
fix regression in group join approval due to refactoring (forgot to remove a param)
Siebrand Mazeland [Tue, 29 Mar 2011 22:48:19 +0000 (00:48 +0200)]
@evan Fixed message domain for messages in plugins for recent commits.
Numbered parameters when more than one used in a message.
L10n updates for consistency.
i18n for non-translatable exception.
Updated translator documentation.
Removed superfluous whitespace.
Brion Vibber [Tue, 29 Mar 2011 22:40:07 +0000 (15:40 -0700)]
Paging fix for public timeline: drop replies from the stuff we pull in for the threaded web view.
Brion Vibber [Tue, 29 Mar 2011 22:19:04 +0000 (15:19 -0700)]
Fix typo in filteringnoticestream that caused some messages to get lost
Brion Vibber [Tue, 29 Mar 2011 22:05:54 +0000 (15:05 -0700)]
php notice fix -- misspelled bit
Evan Prodromou [Tue, 29 Mar 2011 21:32:17 +0000 (17:32 -0400)]
Merge branch 'limitdist2' into 1.0.x
Evan Prodromou [Tue, 29 Mar 2011 21:31:17 +0000 (17:31 -0400)]
Merge remote branch 'gitorious/1.0.x' into 1.0.x
Siebrand Mazeland [Tue, 29 Mar 2011 21:14:40 +0000 (23:14 +0200)]
Fix incorrect translator documentation. Spotted by AVRS.
Siebrand Mazeland [Tue, 29 Mar 2011 21:00:29 +0000 (23:00 +0200)]
L10n/i18n updated.
Translator documentation updated.
FIXME added for missing class documentation.
Various documentation tweaks.
Siebrand Mazeland [Tue, 29 Mar 2011 19:30:12 +0000 (21:30 +0200)]
Update translator documentation.
Superfluous whitespace removed.
L10n consistency updates.
Siebrand Mazeland [Tue, 29 Mar 2011 17:25:44 +0000 (19:25 +0200)]
Update translator documentation.
Remove superfluous whitespace.
Various L10n/i18n updates.
Evan Prodromou [Tue, 29 Mar 2011 16:12:08 +0000 (12:12 -0400)]
Repeats keep the same scope as parent
Evan Prodromou [Tue, 29 Mar 2011 15:53:26 +0000 (11:53 -0400)]
Disallow repeats (retweets) of private notices
We disallow repeating a notice (or whatever) if the scope of the
notice is too private. So, only notices that are public scope
(available to everyone in the world) or site scope (available to
everyone on the site) can be repeated.
Enforce this rule at a low level in Notice.php, and in the API,
commands, and Web UI. Repeat button doesn't appear on tightly-scoped
notices in the Web UI.
Evan Prodromou [Tue, 29 Mar 2011 14:31:09 +0000 (10:31 -0400)]
Merge remote branch 'evan/1.0.x' into 1.0.x
Evan Prodromou [Tue, 29 Mar 2011 02:50:52 +0000 (22:50 -0400)]
disallow access to out-of-scope poll
Evan Prodromou [Tue, 29 Mar 2011 02:50:45 +0000 (22:50 -0400)]
disallow access to out-of-scope bookmark
Evan Prodromou [Tue, 29 Mar 2011 02:50:29 +0000 (22:50 -0400)]
fix missing cur in Event
Evan Prodromou [Tue, 29 Mar 2011 02:43:38 +0000 (22:43 -0400)]
Disallow access to events and RSVPs out of scope
Evan Prodromou [Tue, 29 Mar 2011 02:21:41 +0000 (22:21 -0400)]
don't show notices to out-of-scope viewers
Evan Prodromou [Tue, 29 Mar 2011 01:56:34 +0000 (21:56 -0400)]
Merge branch '1.0.x' into limitdist2
Evan Prodromou [Tue, 29 Mar 2011 01:55:59 +0000 (21:55 -0400)]
Merge remote branch 'gitorious/1.0.x' into 1.0.x
Brion Vibber [Tue, 29 Mar 2011 00:22:37 +0000 (17:22 -0700)]
Durr... got items in wrong order :D Fixed email notification for pending subscribes
Brion Vibber [Tue, 29 Mar 2011 00:15:48 +0000 (17:15 -0700)]
Subscription pending notification mail
Brion Vibber [Tue, 29 Mar 2011 00:06:02 +0000 (17:06 -0700)]
Working subscription approval!
Brion Vibber [Mon, 28 Mar 2011 23:12:51 +0000 (16:12 -0700)]
Work in progress: can create & cancel sub requests
Brion Vibber [Mon, 28 Mar 2011 22:13:59 +0000 (15:13 -0700)]
Work in progress: subscription approval policy field in place on user, hooked up to settings. Queue not 100% tidied up, no UI for queue or management yet.
Brion Vibber [Thu, 24 Mar 2011 00:05:55 +0000 (17:05 -0700)]
work in progress...
Brion Vibber [Wed, 23 Mar 2011 23:42:36 +0000 (16:42 -0700)]
Subscription_queue class for subscription approval
Evan Prodromou [Mon, 28 Mar 2011 20:37:35 +0000 (16:37 -0400)]
don't send private notices over OStatus
Evan Prodromou [Mon, 28 Mar 2011 20:24:28 +0000 (16:24 -0400)]
set default address for showstream
Evan Prodromou [Mon, 28 Mar 2011 20:24:17 +0000 (16:24 -0400)]
set default address for showgroup
Evan Prodromou [Mon, 28 Mar 2011 20:24:02 +0000 (16:24 -0400)]
let actions set a default address for toselector
Evan Prodromou [Mon, 28 Mar 2011 20:23:31 +0000 (16:23 -0400)]
Make the to-selector clear left
Evan Prodromou [Mon, 28 Mar 2011 20:10:24 +0000 (16:10 -0400)]
don't leak private notices to facebook
Evan Prodromou [Mon, 28 Mar 2011 16:56:18 +0000 (12:56 -0400)]
don't push twitter stuff public if its not public
Evan Prodromou [Mon, 28 Mar 2011 16:20:00 +0000 (12:20 -0400)]
ShortenAction::handle() had bad args
Evan Prodromou [Mon, 28 Mar 2011 16:13:46 +0000 (12:13 -0400)]
make to_user/to_profile consistent in NoticeForm
Evan Prodromou [Mon, 28 Mar 2011 16:01:08 +0000 (12:01 -0400)]
Add a check to prevent replying to an unscoped notice
Evan Prodromou [Mon, 28 Mar 2011 15:02:20 +0000 (11:02 -0400)]
ToSelector widget to send private notices
A new widget, ToSelector (Sorry, couldn't think of anything better)
that lets you select an addressee for a notice and whether it's
private.
Evan Prodromou [Mon, 28 Mar 2011 14:04:45 +0000 (10:04 -0400)]
Merge branch '1.0.x' into limitdist2
Siebrand Mazeland [Sun, 27 Mar 2011 23:43:01 +0000 (01:43 +0200)]
Fix incorrect translator documentation. Spotted by AVRS.
Evan Prodromou [Sun, 27 Mar 2011 15:36:57 +0000 (11:36 -0400)]
Merge branch '1.0.x' into limitdist2
Evan Prodromou [Sun, 27 Mar 2011 15:26:57 +0000 (11:26 -0400)]
Merge branch '1.0.x' of gitorious.org:statusnet/mainline into 1.0.x
Evan Prodromou [Sun, 27 Mar 2011 15:25:24 +0000 (11:25 -0400)]
NoticeForm constructor takes array of optional parameters
NoticeForm::__construct() had 9 parameters, and I was about to add a
few more, so I figured it'd be better to use an $options array instead.
Siebrand Mazeland [Sun, 27 Mar 2011 11:05:24 +0000 (13:05 +0200)]
Update grammar for feed title. Not sure why this was not "%s's". I chose the safe, more verbose way.
Siebrand Mazeland [Sun, 27 Mar 2011 10:58:35 +0000 (12:58 +0200)]
Slightly uncomplicate and disambiguate the plugin description.
Add translator documentation.
Evan Prodromou [Sat, 26 Mar 2011 20:47:36 +0000 (16:47 -0400)]
add indicator for limited-scope notices
Evan Prodromou [Sat, 26 Mar 2011 20:47:18 +0000 (16:47 -0400)]
always allow author to see own notices
Evan Prodromou [Sat, 26 Mar 2011 20:23:20 +0000 (16:23 -0400)]
clearer scope rules for anonymous and author
Evan Prodromou [Sat, 26 Mar 2011 20:06:17 +0000 (16:06 -0400)]
add scope limit flags to some notices in createsim.php
Evan Prodromou [Sat, 26 Mar 2011 19:49:46 +0000 (15:49 -0400)]
Caller can set scope for Notice::saveNew()
Evan Prodromou [Sat, 26 Mar 2011 19:37:05 +0000 (15:37 -0400)]
Merge branch '1.0.x' into limitdist2
Evan Prodromou [Sat, 26 Mar 2011 19:36:47 +0000 (15:36 -0400)]
fix off-by-one and more replies
Evan Prodromou [Sat, 26 Mar 2011 19:16:04 +0000 (15:16 -0400)]
All groups start with a random admin
Evan Prodromou [Sat, 26 Mar 2011 19:08:27 +0000 (15:08 -0400)]
Add group posts to createsim.php
Evan Prodromou [Sat, 26 Mar 2011 18:58:11 +0000 (14:58 -0400)]
Add reply_to to make conversations in createsim.php
Evan Prodromou [Sat, 26 Mar 2011 18:45:15 +0000 (14:45 -0400)]
upgrade DB_DataObject to 1.9.5
Evan Prodromou [Sat, 26 Mar 2011 18:37:42 +0000 (14:37 -0400)]
Upgrade PEAR to 1.9.2
Evan Prodromou [Sat, 26 Mar 2011 18:22:24 +0000 (14:22 -0400)]
upgrade Console_GetOpt to 1.9.2
Siebrand Mazeland [Sat, 26 Mar 2011 11:21:36 +0000 (12:21 +0100)]
Localisation updates from http://translatewiki.net.
Evan Prodromou [Fri, 25 Mar 2011 21:39:14 +0000 (17:39 -0400)]
add groups and joins to createsim.php
Evan Prodromou [Fri, 25 Mar 2011 20:18:10 +0000 (16:18 -0400)]
Merge branch '1.0.x' into limitdist2
Evan Prodromou [Fri, 25 Mar 2011 20:15:55 +0000 (16:15 -0400)]
Make function signature for getNoticeIds agree
There were some differences between defaults for the
NoticeStream::getNoticeIds() function and some of its subclasses'
implementations. So, I got them rationalized.
Evan Prodromou [Fri, 25 Mar 2011 19:57:07 +0000 (15:57 -0400)]
Merge branch '1.0.x' into limitdist2
Conflicts:
lib/groupnoticestream.php
lib/taggedprofilenoticestream.php
Evan Prodromou [Fri, 25 Mar 2011 16:22:22 +0000 (12:22 -0400)]
All notice streams check notice scope
Added filtering code so that notice streams check notice scope.
Added new class to implement filtering a stream, FilteringNoticeStream.
Added a subclass that does the logic for checking Notice scope.
And made all the streams use ScopingNoticeStream.
Siebrand Mazeland [Fri, 25 Mar 2011 16:12:53 +0000 (17:12 +0100)]
i18n fixes.
Translator documentation updates.
Evan Prodromou [Fri, 25 Mar 2011 15:46:49 +0000 (11:46 -0400)]
Merge branch 'limitdist' into limitdist2
Siebrand Mazeland [Fri, 25 Mar 2011 09:13:26 +0000 (10:13 +0100)]
Fix use of incorrect method causing i18n issue.
Siebrand Mazeland [Fri, 25 Mar 2011 09:02:02 +0000 (10:02 +0100)]
* PHP short tags "<?" to full tag "<?php".
* superfluous whitespace removed.
Siebrand Mazeland [Fri, 25 Mar 2011 08:55:33 +0000 (09:55 +0100)]
L10n update.
Translator documentation added.
Superfluous whitespace removed.
Brion Vibber [Fri, 25 Mar 2011 01:41:25 +0000 (18:41 -0700)]
TwitterBridge: discard outgoing queue items instead of retrying when Twitter API returns HTTP 400 or 404 error codes
We get HTTP 400 for various cases of invalid data, where retrying doesn't help at all -- previously those would loop forever, or until something died at least. :)
400 is also used for rate limiting, but retrying *immediately* will just hit the rate limit again, so better to discard if we're going over for now.
Evan Prodromou [Thu, 24 Mar 2011 22:05:32 +0000 (18:05 -0400)]
Merge branch '1.0.x' of gitorious.org:statusnet/mainline into 1.0.x
Evan Prodromou [Thu, 24 Mar 2011 22:04:19 +0000 (18:04 -0400)]
Break up stream code to use separate notice stream classes
Rearchitect (again!) notice stream code to delegate different functionality up and down the stack.
Now, different classes implement NoticeStream.
Siebrand Mazeland [Thu, 24 Mar 2011 16:02:28 +0000 (17:02 +0100)]
Fix typo in documentation.
Siebrand Mazeland [Thu, 24 Mar 2011 15:52:32 +0000 (16:52 +0100)]
Fix i18n.
Siebrand Mazeland [Thu, 24 Mar 2011 15:47:29 +0000 (16:47 +0100)]
Change formatting of i18n slightly. Translator hints were not picked up in pot file. May now they are.
Siebrand Mazeland [Thu, 24 Mar 2011 15:08:03 +0000 (16:08 +0100)]
Localisation updates from http://translatewiki.net.
Siebrand Mazeland [Thu, 24 Mar 2011 11:09:50 +0000 (12:09 +0100)]
Translator documentation updated.
i18n/L10n updates.
Superfluous whitespace removed.
Add FIXME for missing class documentation.
Siebrand Mazeland [Thu, 24 Mar 2011 10:47:57 +0000 (11:47 +0100)]
Update translator documentation.
Remove superfluous whitespace.
L10n/I18n updates.
FIXMEs added for missing documentation or headers.