]>
git.mxchange.org Git - quix0rs-gnu-social.git/log
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)
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.
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.
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
Evan Prodromou [Thu, 24 Mar 2011 02:10:44 +0000 (22:10 -0400)]
Fallback for RSVP display when Event is deleted
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!
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...
Evan Prodromou [Wed, 23 Mar 2011 19:58:27 +0000 (15:58 -0400)]
Merge branch '1.0.x' into limitdist
Conflicts:
classes/Notice.php
Evan Prodromou [Wed, 23 Mar 2011 15:59:01 +0000 (11:59 -0400)]
Some fixes to make the notice stream class work
Evan Prodromou [Wed, 23 Mar 2011 15:42:52 +0000 (11:42 -0400)]
let Inbox class go fingerpokin' in streams
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.
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.
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
Evan Prodromou [Tue, 22 Mar 2011 22:15:53 +0000 (18:15 -0400)]
add profile to stream function
Brion Vibber [Tue, 22 Mar 2011 21:20:21 +0000 (14:20 -0700)]
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
Evan Prodromou [Thu, 17 Mar 2011 02:55:14 +0000 (22:55 -0400)]
function for checking scope rules for Profile
Evan Prodromou [Thu, 17 Mar 2011 02:54:57 +0000 (22:54 -0400)]
add scope flags for Notice
Evan Prodromou [Thu, 17 Mar 2011 02:30:31 +0000 (22:30 -0400)]
Add scope bitmap for notices
Evan Prodromou [Tue, 22 Mar 2011 15:54:23 +0000 (11:54 -0400)]
Mass replacement of #-comments with //-comments
like leprous boils in our code. So, I've replaced all of them with //
comments instead. It's a massive, meaningless, and potentially buggy
change -- great one for the middle of a release cycle, eh?
Brion Vibber [Tue, 22 Mar 2011 00:23:13 +0000 (17:23 -0700)]
Add pending members list to group navigation, if group has joins moderated or if it has pending requests open
Brion Vibber [Tue, 22 Mar 2011 00:17:18 +0000 (17:17 -0700)]
Split up some list/form classes, and get the 'approve' and 'cancel' links on group member queue working.
Brion Vibber [Mon, 21 Mar 2011 23:40:10 +0000 (16:40 -0700)]
Pending members queue list -- doesn't yet allow approval.