]> git.mxchange.org Git - quix0rs-gnu-social.git/log
quix0rs-gnu-social.git
13 years agoMerge branch '1.0.x' of gitorious.org:statusnet/mainline into 1.0.x
Evan Prodromou [Mon, 4 Apr 2011 22:20:45 +0000 (18:20 -0400)]
Merge branch '1.0.x' of gitorious.org:statusnet/mainline into 1.0.x

13 years agoforce the reply to a notice to have the same scope
Evan Prodromou [Mon, 4 Apr 2011 22:13:28 +0000 (18:13 -0400)]
force the reply to a notice to have the same scope

13 years agoMerge branch '1.0.x' of gitorious.org:statusnet/mainline into 1.0.x
Zach Copley [Mon, 4 Apr 2011 22:09:29 +0000 (15:09 -0700)]
Merge branch '1.0.x' of gitorious.org:statusnet/mainline into 1.0.x

* '1.0.x' of gitorious.org:statusnet/mainline:
  include protected flag for users in JSON or XML
  Force group scope on notices sent to a private-only group

13 years agoQnA - Rework output for notice stream
Zach Copley [Mon, 4 Apr 2011 22:08:47 +0000 (15:08 -0700)]
QnA - Rework output for notice stream

13 years agoinclude protected flag for users in JSON or XML
Evan Prodromou [Mon, 4 Apr 2011 21:44:23 +0000 (17:44 -0400)]
include protected flag for users in JSON or XML

13 years agoMerge branch '1.0.x' of gitorious.org:statusnet/mainline into 1.0.x
Evan Prodromou [Mon, 4 Apr 2011 21:35:34 +0000 (17:35 -0400)]
Merge branch '1.0.x' of gitorious.org:statusnet/mainline into 1.0.x

13 years agoMerge branch '1.0.x' of gitorious.org:statusnet/mainline into 1.0.x
Zach Copley [Mon, 4 Apr 2011 21:33:55 +0000 (14:33 -0700)]
Merge branch '1.0.x' of gitorious.org:statusnet/mainline into 1.0.x

* '1.0.x' of gitorious.org:statusnet/mainline:
  single flag for private groups
  add force_scope flag to User_group

13 years agoForce group scope on notices sent to a private-only group
Evan Prodromou [Mon, 4 Apr 2011 21:33:42 +0000 (17:33 -0400)]
Force group scope on notices sent to a private-only group

For groups that require a private scope, we force every notice to be limited to group scope.

Changed the group-discovery code so we only get groups once -- regardless if they were provided or not.

13 years agoQnA - Allow closing questions
Zach Copley [Mon, 4 Apr 2011 21:33:20 +0000 (14:33 -0700)]
QnA - Allow closing questions

13 years agosingle flag for private groups
Evan Prodromou [Mon, 4 Apr 2011 20:58:52 +0000 (16:58 -0400)]
single flag for private groups

13 years agoMerge branch '1.0.x' of gitorious.org:statusnet/mainline into 1.0.x
Evan Prodromou [Mon, 4 Apr 2011 20:26:26 +0000 (16:26 -0400)]
Merge branch '1.0.x' of gitorious.org:statusnet/mainline into 1.0.x

13 years agoadd force_scope flag to User_group
Evan Prodromou [Mon, 4 Apr 2011 20:24:43 +0000 (16:24 -0400)]
add force_scope flag to User_group

13 years agoQnA: Unify answer forms
Zach Copley [Mon, 4 Apr 2011 19:02:33 +0000 (12:02 -0700)]
QnA: Unify answer forms

13 years agoMerge branch 'qna' into 1.0.x
Zach Copley [Mon, 4 Apr 2011 08:30:15 +0000 (01:30 -0700)]
Merge branch 'qna' into 1.0.x

* qna:
  QnA - Allow answer revisions and marking a question as "best"
  QnA - add best class to best answers
  QnA - Better display of questions and answers in streams
  QnA - save answer revisions and show # of revisions

13 years agoQnA - Allow answer revisions and marking a question as "best"
Zach Copley [Mon, 4 Apr 2011 08:27:38 +0000 (01:27 -0700)]
QnA - Allow answer revisions and marking a question as "best"

13 years agoQnA - add best class to best answers
Zach Copley [Mon, 4 Apr 2011 00:25:44 +0000 (17:25 -0700)]
QnA - add best class to best answers

13 years agoQnA - Better display of questions and answers in streams
Zach Copley [Sun, 3 Apr 2011 23:57:59 +0000 (16:57 -0700)]
QnA - Better display of questions and answers in streams

13 years agoFix incorrect substitution syntax.
Siebrand Mazeland [Sun, 3 Apr 2011 23:36:47 +0000 (01:36 +0200)]
Fix incorrect substitution syntax.

13 years agoLocalisation updates from http://translatewiki.net.
Siebrand Mazeland [Sun, 3 Apr 2011 23:27:23 +0000 (01:27 +0200)]
Localisation updates from http://translatewiki.net.

13 years agoL10n consistency tweak.
Siebrand Mazeland [Sun, 3 Apr 2011 23:08:11 +0000 (01:08 +0200)]
L10n consistency tweak.

13 years agoFixes for an xgettext peculiarity.
Siebrand Mazeland [Sun, 3 Apr 2011 23:01:42 +0000 (01:01 +0200)]
Fixes for an xgettext peculiarity.

13 years agoTranslator documentation updated/added.
Siebrand Mazeland [Sun, 3 Apr 2011 22:41:21 +0000 (00:41 +0200)]
Translator documentation updated/added.
i18n tweaks.
Superfluous whitespace removed.

YAY! All StatusNet core messages in the 1.0.x branch have been documented at this point in time!!!

13 years agoSwitch some strings from heredoc to double-quotes so xgettext picks them up.
Brion Vibber [Sun, 3 Apr 2011 22:37:39 +0000 (15:37 -0700)]
Switch some strings from heredoc to double-quotes so xgettext picks them up.

13 years agoMerge branch '1.0.x' of gitorious.org:statusnet/mainline into 1.0.x
Brion Vibber [Sun, 3 Apr 2011 22:23:27 +0000 (15:23 -0700)]
Merge branch '1.0.x' of gitorious.org:statusnet/mainline into 1.0.x

13 years agoAdd the root index.php to gettext .pot template file generation; some error messages...
Brion Vibber [Sun, 3 Apr 2011 22:22:11 +0000 (15:22 -0700)]
Add the root index.php to gettext .pot template file generation; some error messages and such in there weren't making it into the TranslateWiki.net database.

13 years agoAdd/update translator documentation.
Siebrand Mazeland [Sun, 3 Apr 2011 22:12:52 +0000 (00:12 +0200)]
Add/update translator documentation.

13 years agoUpdate translator documentation.
Siebrand Mazeland [Sun, 3 Apr 2011 21:47:46 +0000 (23:47 +0200)]
Update translator documentation.

13 years agoTabs to spaces.
Siebrand Mazeland [Sun, 3 Apr 2011 21:02:24 +0000 (23:02 +0200)]
Tabs to spaces.

13 years agoTabs to spaces.
Siebrand Mazeland [Sun, 3 Apr 2011 20:44:41 +0000 (22:44 +0200)]
Tabs to spaces.

13 years agoUse _m() instead of ngettext().
Siebrand Mazeland [Sun, 3 Apr 2011 20:08:50 +0000 (22:08 +0200)]
Use _m() instead of ngettext().

13 years agoLocalisation updates from http://translatewiki.net.
Siebrand Mazeland [Sun, 3 Apr 2011 13:35:52 +0000 (15:35 +0200)]
Localisation updates from http://translatewiki.net.

13 years agoL10n/i18n tweaks.
Siebrand Mazeland [Sun, 3 Apr 2011 13:06:52 +0000 (15:06 +0200)]
L10n/i18n tweaks.

13 years agoUpdate translator documentation.
Siebrand Mazeland [Sun, 3 Apr 2011 12:43:18 +0000 (14:43 +0200)]
Update translator documentation.
Remove superfluous whitespace.
i18n/L10n tweaks.

13 years agoUpadte translator documentation.
Siebrand Mazeland [Sun, 3 Apr 2011 12:24:55 +0000 (14:24 +0200)]
Upadte translator documentation.
Add FIXME for missing class documentation.
i18n/L10n tweaks.
Superfluous whitespace removed.

13 years agoFix several L10n and i18n issues.
Siebrand Mazeland [Sat, 2 Apr 2011 23:09:02 +0000 (01:09 +0200)]
Fix several L10n and i18n issues.
Add dummy method MessageListItem::messageListItemDummyMessages() to allow xgettext to add possible sources to POT files.
Mark a few i18n issues as FIXME as well as some messages for which the use case was not clear to me.
Merged some code on multiple lines into one.
Translator documentation added.
Remove superfluous whiteapace.

13 years agoQnA - save answer revisions and show # of revisions
Zach Copley [Sat, 2 Apr 2011 06:59:35 +0000 (23:59 -0700)]
QnA - save answer revisions and show # of revisions

13 years agoFix incorrect parameter numbering.
Siebrand Mazeland [Fri, 1 Apr 2011 21:40:20 +0000 (23:40 +0200)]
Fix incorrect parameter numbering.

13 years agoLocalisation updates from http://translatewiki.net.
Siebrand Mazeland [Fri, 1 Apr 2011 20:59:31 +0000 (22:59 +0200)]
Localisation updates from http://translatewiki.net.

13 years agoL10n tweaks.
Siebrand Mazeland [Fri, 1 Apr 2011 20:35:23 +0000 (22:35 +0200)]
L10n tweaks.

13 years agoL10n/i18n updates.
Siebrand Mazeland [Fri, 1 Apr 2011 20:32:56 +0000 (22:32 +0200)]
L10n/i18n updates.

13 years agoL10n updates.
Siebrand Mazeland [Fri, 1 Apr 2011 20:27:35 +0000 (22:27 +0200)]
L10n updates.

13 years agoi18n/L10n updates.
Siebrand Mazeland [Fri, 1 Apr 2011 20:20:25 +0000 (22:20 +0200)]
i18n/L10n updates.

13 years agoFix incorrect translator documentation.
Siebrand Mazeland [Fri, 1 Apr 2011 20:14:43 +0000 (22:14 +0200)]
Fix incorrect translator documentation.

13 years agoFix typo in message.
Siebrand Mazeland [Fri, 1 Apr 2011 20:12:39 +0000 (22:12 +0200)]
Fix typo in message.

13 years agoMany i18n and L10n updates.
Siebrand Mazeland [Fri, 1 Apr 2011 20:08:38 +0000 (22:08 +0200)]
Many i18n and L10n updates.

13 years agoFix i18n issues and bugs in string replacement.
Siebrand Mazeland [Fri, 1 Apr 2011 19:56:55 +0000 (21:56 +0200)]
Fix i18n issues and bugs in string replacement.

13 years agoFix i18n issues.
Siebrand Mazeland [Fri, 1 Apr 2011 17:55:15 +0000 (19:55 +0200)]
Fix i18n issues.
Fix incorrect variable usage in messages.

13 years agoi18n/L10n updates.
Siebrand Mazeland [Fri, 1 Apr 2011 17:46:40 +0000 (19:46 +0200)]
i18n/L10n updates.
Translator documentation updated.
Superfluous whitespace removed.
Some FIXMEs added.

13 years agoUpdate translator documentation.
Siebrand Mazeland [Fri, 1 Apr 2011 15:05:42 +0000 (17:05 +0200)]
Update translator documentation.
i18n tweaks.
Add FIXME for missing class documentation.
Remove superfluous whitespace.

13 years agoMerge branch 'qna' into 1.0.x
Zach Copley [Fri, 1 Apr 2011 09:37:32 +0000 (02:37 -0700)]
Merge branch 'qna' into 1.0.x

* qna:
  Some work towards allowing revisions
  Make new answers work
  More plumbing
  Work on QnA notice display -- in progress
  * Move stuff around again * Make answers save
  * Fix plugin filename * Make questions save!
  Renamed QuestionAndAnswerPlugin to QnAPlugin
  Most objects and forms are in place, now I just have to make it work.
  Skeleton / Stub for Question and Answers micro-app plugin

13 years agoSome work towards allowing revisions
Zach Copley [Fri, 1 Apr 2011 09:35:05 +0000 (02:35 -0700)]
Some work towards allowing revisions

13 years agoLocalisation updates from http://translatewiki.net.
Siebrand Mazeland [Thu, 31 Mar 2011 21:30:07 +0000 (23:30 +0200)]
Localisation updates from http://translatewiki.net.

13 years agoUpdate translator documentation.
Siebrand Mazeland [Thu, 31 Mar 2011 20:48:03 +0000 (22:48 +0200)]
Update translator documentation.

13 years agoTweak page titles. Thanks @evan for thinking with me.
Siebrand Mazeland [Thu, 31 Mar 2011 20:43:57 +0000 (22:43 +0200)]
Tweak page titles. Thanks @evan for thinking with me.

13 years agoMake new answers work
Zach Copley [Thu, 31 Mar 2011 16:58:26 +0000 (09:58 -0700)]
Make new answers work

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 agoMore plumbing
Zach Copley [Wed, 30 Mar 2011 17:33:15 +0000 (10:33 -0700)]
More plumbing

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.