]> git.mxchange.org Git - quix0rs-gnu-social.git/log
quix0rs-gnu-social.git
13 years agoif user has private stream flag, set that scope
Evan Prodromou [Thu, 31 Mar 2011 16:56:53 +0000 (12:56 -0400)]
if user has private stream flag, set that scope

13 years agoMerge remote branch 'gitorious/1.0.x' into 1.0.x
Evan Prodromou [Thu, 31 Mar 2011 13:25:03 +0000 (09:25 -0400)]
Merge remote branch 'gitorious/1.0.x' into 1.0.x

13 years agoProvisional fix for ticket #3108: Facebook bridge sends "likes" as the notice's origi...
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.

13 years agoFix gettext domain for messages in plugins "_()" to "_m()".
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.

13 years agosave private stream values
Evan Prodromou [Wed, 30 Mar 2011 20:23:13 +0000 (16:23 -0400)]
save private stream values

13 years agoFix timestamps in fallback content for EventPlugin
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.

13 years agoFormat timestamps as UTC in ActivityStreams output. While using local times is legit...
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.

13 years agoTweak which should fix ActivityStreams output for Twitter profiles (if remote_profile...
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.

13 years agoadd the private_stream attribute to User
Evan Prodromou [Wed, 30 Mar 2011 12:16:30 +0000 (08:16 -0400)]
add the private_stream attribute to User

13 years agoadd a privacy flag to user table
Evan Prodromou [Wed, 30 Mar 2011 10:37:13 +0000 (06:37 -0400)]
add a privacy flag to user table

13 years agoAdd a scope-forcing flag to user_group
Evan Prodromou [Wed, 30 Mar 2011 09:55:10 +0000 (05:55 -0400)]
Add a scope-forcing flag to user_group

13 years agofix call-by-reference deprecation warning in microappplugin.php
Evan Prodromou [Wed, 30 Mar 2011 09:10:07 +0000 (05:10 -0400)]
fix call-by-reference deprecation warning in microappplugin.php

13 years agoNote explicitly that you can pass null to Notice::inScope()
Brion Vibber [Wed, 30 Mar 2011 00:01:53 +0000 (17:01 -0700)]
Note explicitly that you can pass null to Notice::inScope()

13 years agotypo fix in format string
Brion Vibber [Wed, 30 Mar 2011 00:00:00 +0000 (17:00 -0700)]
typo fix in format string

13 years agoConsolidate common code in micro-apps custom notice type display actions.
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.

13 years agoFix for bookmark posting: missing object was causing error output to crush ajax
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

13 years agoMerge branch '1.0.x' of gitorious.org:statusnet/mainline into 1.0.x
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

13 years agoConsolidate some precondition checks for repeats, fix a couple bits in the repeat...
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.

13 years agofix regression in group join approval due to refactoring (forgot to remove a param)
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)

13 years ago@evan Fixed message domain for messages in plugins for recent commits.
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.

13 years agoPaging fix for public timeline: drop replies from the stuff we pull in for the thread...
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.

13 years agoFix typo in filteringnoticestream that caused some messages to get lost
Brion Vibber [Tue, 29 Mar 2011 22:19:04 +0000 (15:19 -0700)]
Fix typo in filteringnoticestream that caused some messages to get lost

13 years agophp notice fix -- misspelled bit
Brion Vibber [Tue, 29 Mar 2011 22:05:54 +0000 (15:05 -0700)]
php notice fix -- misspelled bit

13 years agoMerge branch 'limitdist2' into 1.0.x
Evan Prodromou [Tue, 29 Mar 2011 21:32:17 +0000 (17:32 -0400)]
Merge branch 'limitdist2' into 1.0.x

13 years agoMerge remote branch 'gitorious/1.0.x' 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

13 years agoFix incorrect translator documentation. Spotted by AVRS.
Siebrand Mazeland [Tue, 29 Mar 2011 21:14:40 +0000 (23:14 +0200)]
Fix incorrect translator documentation. Spotted by AVRS.

13 years agoL10n/i18n updated.
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.

13 years agoUpdate translator documentation.
Siebrand Mazeland [Tue, 29 Mar 2011 19:30:12 +0000 (21:30 +0200)]
Update translator documentation.
Superfluous whitespace removed.
L10n consistency updates.

13 years agoUpdate translator documentation.
Siebrand Mazeland [Tue, 29 Mar 2011 17:25:44 +0000 (19:25 +0200)]
Update translator documentation.
Remove superfluous whitespace.
Various L10n/i18n updates.

13 years agoRepeats keep the same scope as parent
Evan Prodromou [Tue, 29 Mar 2011 16:12:08 +0000 (12:12 -0400)]
Repeats keep the same scope as parent

13 years agoDisallow repeats (retweets) of private notices
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.

13 years agoMerge remote branch 'evan/1.0.x' into 1.0.x
Evan Prodromou [Tue, 29 Mar 2011 14:31:09 +0000 (10:31 -0400)]
Merge remote branch 'evan/1.0.x' into 1.0.x

13 years agodisallow access to out-of-scope poll
Evan Prodromou [Tue, 29 Mar 2011 02:50:52 +0000 (22:50 -0400)]
disallow access to out-of-scope poll

13 years agodisallow access to out-of-scope bookmark
Evan Prodromou [Tue, 29 Mar 2011 02:50:45 +0000 (22:50 -0400)]
disallow access to out-of-scope bookmark

13 years agofix missing cur in Event
Evan Prodromou [Tue, 29 Mar 2011 02:50:29 +0000 (22:50 -0400)]
fix missing cur in Event

13 years agoDisallow access to events and RSVPs out of scope
Evan Prodromou [Tue, 29 Mar 2011 02:43:38 +0000 (22:43 -0400)]
Disallow access to events and RSVPs out of scope

13 years agodon't show notices to out-of-scope viewers
Evan Prodromou [Tue, 29 Mar 2011 02:21:41 +0000 (22:21 -0400)]
don't show notices to out-of-scope viewers

13 years agoMerge branch '1.0.x' into limitdist2
Evan Prodromou [Tue, 29 Mar 2011 01:56:34 +0000 (21:56 -0400)]
Merge branch '1.0.x' into limitdist2

13 years agoMerge remote branch 'gitorious/1.0.x' into 1.0.x
Evan Prodromou [Tue, 29 Mar 2011 01:55:59 +0000 (21:55 -0400)]
Merge remote branch 'gitorious/1.0.x' into 1.0.x

13 years agoDurr... got items in wrong order :D Fixed email notification for pending subscribes
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

13 years agoSubscription pending notification mail
Brion Vibber [Tue, 29 Mar 2011 00:15:48 +0000 (17:15 -0700)]
Subscription pending notification mail

13 years agoWorking subscription approval!
Brion Vibber [Tue, 29 Mar 2011 00:06:02 +0000 (17:06 -0700)]
Working subscription approval!

13 years agoWork in progress: can create & cancel sub requests
Brion Vibber [Mon, 28 Mar 2011 23:12:51 +0000 (16:12 -0700)]
Work in progress: can create & cancel sub requests

13 years agoWork in progress: subscription approval policy field in place on user, hooked up...
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.

13 years agowork in progress...
Brion Vibber [Thu, 24 Mar 2011 00:05:55 +0000 (17:05 -0700)]
work in progress...

13 years agoSubscription_queue class for subscription approval
Brion Vibber [Wed, 23 Mar 2011 23:42:36 +0000 (16:42 -0700)]
Subscription_queue class for subscription approval

13 years agodon't send private notices over OStatus
Evan Prodromou [Mon, 28 Mar 2011 20:37:35 +0000 (16:37 -0400)]
don't send private notices over OStatus

13 years agoset default address for showstream
Evan Prodromou [Mon, 28 Mar 2011 20:24:28 +0000 (16:24 -0400)]
set default address for showstream

13 years agoset default address for showgroup
Evan Prodromou [Mon, 28 Mar 2011 20:24:17 +0000 (16:24 -0400)]
set default address for showgroup

13 years agolet actions set a default address for toselector
Evan Prodromou [Mon, 28 Mar 2011 20:24:02 +0000 (16:24 -0400)]
let actions set a default address for toselector

13 years agoMake the to-selector clear left
Evan Prodromou [Mon, 28 Mar 2011 20:23:31 +0000 (16:23 -0400)]
Make the to-selector clear left

13 years agodon't leak private notices to facebook
Evan Prodromou [Mon, 28 Mar 2011 20:10:24 +0000 (16:10 -0400)]
don't leak private notices to facebook

13 years agodon't push twitter stuff public if its not public
Evan Prodromou [Mon, 28 Mar 2011 16:56:18 +0000 (12:56 -0400)]
don't push twitter stuff public if its not public

13 years agoShortenAction::handle() had bad args
Evan Prodromou [Mon, 28 Mar 2011 16:20:00 +0000 (12:20 -0400)]
ShortenAction::handle() had bad args

13 years agomake to_user/to_profile consistent in NoticeForm
Evan Prodromou [Mon, 28 Mar 2011 16:13:46 +0000 (12:13 -0400)]
make to_user/to_profile consistent in NoticeForm

13 years agoAdd a check to prevent replying to an unscoped notice
Evan Prodromou [Mon, 28 Mar 2011 16:01:08 +0000 (12:01 -0400)]
Add a check to prevent replying to an unscoped notice

13 years agoToSelector widget to send private notices
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.

13 years agoMerge branch '1.0.x' into limitdist2
Evan Prodromou [Mon, 28 Mar 2011 14:04:45 +0000 (10:04 -0400)]
Merge branch '1.0.x' into limitdist2

13 years agoFix incorrect translator documentation. Spotted by AVRS.
Siebrand Mazeland [Sun, 27 Mar 2011 23:43:01 +0000 (01:43 +0200)]
Fix incorrect translator documentation. Spotted by AVRS.

13 years agoMerge branch '1.0.x' into limitdist2
Evan Prodromou [Sun, 27 Mar 2011 15:36:57 +0000 (11:36 -0400)]
Merge branch '1.0.x' into limitdist2

13 years agoMerge branch '1.0.x' of gitorious.org:statusnet/mainline into 1.0.x
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

13 years agoNoticeForm constructor takes array of optional parameters
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.

13 years agoUpdate grammar for feed title. Not sure why this was not "%s's". I chose the safe...
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.

13 years agoSlightly uncomplicate and disambiguate the plugin description.
Siebrand Mazeland [Sun, 27 Mar 2011 10:58:35 +0000 (12:58 +0200)]
Slightly uncomplicate and disambiguate the plugin description.
Add translator documentation.

13 years agoadd indicator for limited-scope notices
Evan Prodromou [Sat, 26 Mar 2011 20:47:36 +0000 (16:47 -0400)]
add indicator for limited-scope notices

13 years agoalways allow author to see own notices
Evan Prodromou [Sat, 26 Mar 2011 20:47:18 +0000 (16:47 -0400)]
always allow author to see own notices

13 years agoclearer scope rules for anonymous and author
Evan Prodromou [Sat, 26 Mar 2011 20:23:20 +0000 (16:23 -0400)]
clearer scope rules for anonymous and author

13 years agoadd scope limit flags to some notices in createsim.php
Evan Prodromou [Sat, 26 Mar 2011 20:06:17 +0000 (16:06 -0400)]
add scope limit flags to some notices in createsim.php

13 years agoCaller can set scope for Notice::saveNew()
Evan Prodromou [Sat, 26 Mar 2011 19:49:46 +0000 (15:49 -0400)]
Caller can set scope for Notice::saveNew()

13 years agoMerge branch '1.0.x' into limitdist2
Evan Prodromou [Sat, 26 Mar 2011 19:37:05 +0000 (15:37 -0400)]
Merge branch '1.0.x' into limitdist2

13 years agofix off-by-one and more replies
Evan Prodromou [Sat, 26 Mar 2011 19:36:47 +0000 (15:36 -0400)]
fix off-by-one and more replies

13 years agoAll groups start with a random admin
Evan Prodromou [Sat, 26 Mar 2011 19:16:04 +0000 (15:16 -0400)]
All groups start with a random admin

13 years agoAdd group posts to createsim.php
Evan Prodromou [Sat, 26 Mar 2011 19:08:27 +0000 (15:08 -0400)]
Add group posts to createsim.php

13 years agoAdd reply_to to make conversations in createsim.php
Evan Prodromou [Sat, 26 Mar 2011 18:58:11 +0000 (14:58 -0400)]
Add reply_to to make conversations in createsim.php

13 years agoupgrade DB_DataObject to 1.9.5
Evan Prodromou [Sat, 26 Mar 2011 18:45:15 +0000 (14:45 -0400)]
upgrade DB_DataObject to 1.9.5

13 years agoUpgrade PEAR to 1.9.2
Evan Prodromou [Sat, 26 Mar 2011 18:37:42 +0000 (14:37 -0400)]
Upgrade PEAR to 1.9.2

13 years agoupgrade Console_GetOpt to 1.9.2
Evan Prodromou [Sat, 26 Mar 2011 18:22:24 +0000 (14:22 -0400)]
upgrade Console_GetOpt to 1.9.2

13 years agoLocalisation updates from http://translatewiki.net.
Siebrand Mazeland [Sat, 26 Mar 2011 11:21:36 +0000 (12:21 +0100)]
Localisation updates from http://translatewiki.net.

13 years agoadd groups and joins to createsim.php
Evan Prodromou [Fri, 25 Mar 2011 21:39:14 +0000 (17:39 -0400)]
add groups and joins to createsim.php

13 years agoMerge branch '1.0.x' into limitdist2
Evan Prodromou [Fri, 25 Mar 2011 20:18:10 +0000 (16:18 -0400)]
Merge branch '1.0.x' into limitdist2

13 years agoMake function signature for getNoticeIds agree
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.

13 years agoMerge branch '1.0.x' into limitdist2
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

13 years agoAll notice streams check notice scope
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.

13 years agoi18n fixes.
Siebrand Mazeland [Fri, 25 Mar 2011 16:12:53 +0000 (17:12 +0100)]
i18n fixes.
Translator documentation updates.

13 years agoMerge branch 'limitdist' into limitdist2
Evan Prodromou [Fri, 25 Mar 2011 15:46:49 +0000 (11:46 -0400)]
Merge branch 'limitdist' into limitdist2

13 years agoFix use of incorrect method causing i18n issue.
Siebrand Mazeland [Fri, 25 Mar 2011 09:13:26 +0000 (10:13 +0100)]
Fix use of incorrect method causing i18n issue.

13 years ago* PHP short tags "<?" to full tag "<?php".
Siebrand Mazeland [Fri, 25 Mar 2011 09:02:02 +0000 (10:02 +0100)]
* PHP short tags "<?" to full tag "<?php".
* superfluous whitespace removed.

13 years agoL10n update.
Siebrand Mazeland [Fri, 25 Mar 2011 08:55:33 +0000 (09:55 +0100)]
L10n update.
Translator documentation added.
Superfluous whitespace removed.

13 years agoTwitterBridge: discard outgoing queue items instead of retrying when Twitter API...
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.

13 years agoMerge branch '1.0.x' of gitorious.org:statusnet/mainline into 1.0.x
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

13 years agoBreak up stream code to use separate notice stream classes
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.

13 years agoFix typo in documentation.
Siebrand Mazeland [Thu, 24 Mar 2011 16:02:28 +0000 (17:02 +0100)]
Fix typo in documentation.

13 years agoFix i18n.
Siebrand Mazeland [Thu, 24 Mar 2011 15:52:32 +0000 (16:52 +0100)]
Fix i18n.

13 years agoChange formatting of i18n slightly. Translator hints were not picked up in pot file...
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.

13 years agoLocalisation updates from http://translatewiki.net.
Siebrand Mazeland [Thu, 24 Mar 2011 15:08:03 +0000 (16:08 +0100)]
Localisation updates from http://translatewiki.net.

13 years agoTranslator documentation updated.
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.

13 years agoUpdate translator 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.

13 years agoUpdate translator documentation.
Siebrand Mazeland [Thu, 24 Mar 2011 08:59:01 +0000 (09:59 +0100)]
Update translator documentation.
i18n/L10n updates.
Superfluous whitespace removed.
Add FIXME in files with missing documentation.

13 years agoMerge branch '1.0.x' of gitorious.org:statusnet/mainline into 1.0.x
Evan Prodromou [Thu, 24 Mar 2011 02:11:13 +0000 (22:11 -0400)]
Merge branch '1.0.x' of gitorious.org:statusnet/mainline into 1.0.x

13 years agoFallback for RSVP display when Event is deleted
Evan Prodromou [Thu, 24 Mar 2011 02:10:44 +0000 (22:10 -0400)]
Fallback for RSVP display when Event is deleted