]> git.mxchange.org Git - quix0rs-gnu-social.git/log
quix0rs-gnu-social.git
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

13 years agoEnhancement for 'ajax' form class: submit buttons behave more like normal submissions...
Brion Vibber [Wed, 23 Mar 2011 22:21:31 +0000 (15:21 -0700)]
Enhancement for 'ajax' form class: submit buttons behave more like normal submissions, submitting their name/values through a hidden field.

This should work well for simple cases, but could conceivably create false positives if there's a click handler on the specific buttons, depending on whether event processing passes it on. Double-check if you're doing such forms along with the 'ajax' class!

13 years agoRetool group join queue list ajax forms to use two buttons in one form, making it...
Brion Vibber [Wed, 23 Mar 2011 21:56:51 +0000 (14:56 -0700)]
Retool group join queue list ajax forms to use two buttons in one form, making it more ajax-submit-friendly. Needs util.js fixes for AJAX submission input buttons...

13 years agoMerge branch '1.0.x' into limitdist
Evan Prodromou [Wed, 23 Mar 2011 19:58:27 +0000 (15:58 -0400)]
Merge branch '1.0.x' into limitdist

Conflicts:
classes/Notice.php

13 years agoSome fixes to make the notice stream class work
Evan Prodromou [Wed, 23 Mar 2011 15:59:01 +0000 (11:59 -0400)]
Some fixes to make the notice stream class work

13 years agolet Inbox class go fingerpokin' in streams
Evan Prodromou [Wed, 23 Mar 2011 15:42:52 +0000 (11:42 -0400)]
let Inbox class go fingerpokin' in streams

13 years agoNew NoticeStream class to reify streams of notices
Evan Prodromou [Wed, 23 Mar 2011 15:29:55 +0000 (11:29 -0400)]
New NoticeStream class to reify streams of notices

We've been muddling through with 6- or 8-argument functions for managing streams. I'd
like to start thinking of streams as their own thing, and give them some more value.

So, the new NoticeStream class takes over the Notice::stream() function and Notice::getStreamByIds().

There's probably some fine-tuning to do on the object interface.

13 years agoRefactoring on notification mail generation: common profile & footer chunks pulled...
Brion Vibber [Tue, 22 Mar 2011 23:26:26 +0000 (16:26 -0700)]
Refactoring on notification mail generation: common profile & footer chunks pulled out, notifications added for group joins.

13 years agoMerge branch 'limitdist' of gitorious.org:~evan/statusnet/evans-mainline into limitdist
Evan Prodromou [Tue, 22 Mar 2011 22:17:09 +0000 (18:17 -0400)]
Merge branch 'limitdist' of gitorious.org:~evan/statusnet/evans-mainline into limitdist

Conflicts:
classes/Notice.php

13 years agoadd profile to stream function
Evan Prodromou [Tue, 22 Mar 2011 22:15:53 +0000 (18:15 -0400)]
add profile to stream function

13 years agoFix typo in cf45c978
Brion Vibber [Tue, 22 Mar 2011 21:20:21 +0000 (14:20 -0700)]
Fix typo in cf45c978

13 years agomove scope check to Notice so we can have a null profile
Evan Prodromou [Tue, 22 Mar 2011 15:36:48 +0000 (11:36 -0400)]
move scope check to Notice so we can have a null profile

13 years agofunction for checking scope rules for Profile
Evan Prodromou [Thu, 17 Mar 2011 02:55:14 +0000 (22:55 -0400)]
function for checking scope rules for Profile

13 years agoadd scope flags for Notice
Evan Prodromou [Thu, 17 Mar 2011 02:54:57 +0000 (22:54 -0400)]
add scope flags for Notice

13 years agoAdd scope bitmap for notices
Evan Prodromou [Thu, 17 Mar 2011 02:30:31 +0000 (22:30 -0400)]
Add scope bitmap for notices