]> git.mxchange.org Git - quix0rs-gnu-social.git/log
quix0rs-gnu-social.git
14 years agoMerge branch 'oauth-1.0a' into 0.9.x
Zach Copley [Wed, 13 Oct 2010 00:52:04 +0000 (17:52 -0700)]
Merge branch 'oauth-1.0a' into 0.9.x

14 years agoImprove cache-friendliness of user_group->delete().
Brion Vibber [Tue, 12 Oct 2010 23:29:13 +0000 (16:29 -0700)]
Improve cache-friendliness of user_group->delete().

Doesn't clear all possible cached entries, but this should get the ones that matter most: lookups by id, nickname, and alias. This should ensure that if a group name gets reused as a new group or alias, it should work properly.
There are some user-visible areas that aren't clear such as the 'top groups' lists on the GroupsAction sidebar; if a deleted group appears in those lists it'll go away within an hour when the cached query expires.

14 years agoSpelling - OAuth not Oath
Zach Copley [Tue, 12 Oct 2010 23:20:09 +0000 (16:20 -0700)]
Spelling - OAuth not Oath

14 years agoPrint a proper error message
Zach Copley [Tue, 12 Oct 2010 23:19:53 +0000 (16:19 -0700)]
Print a proper error message

14 years agoCascading deletion for user_group; doesn't yet work properly with caching.
Brion Vibber [Tue, 12 Oct 2010 23:13:07 +0000 (16:13 -0700)]
Cascading deletion for user_group; doesn't yet work properly with caching.

14 years agoAdd a basic group deletion for moderator users.
Brion Vibber [Tue, 12 Oct 2010 22:49:20 +0000 (15:49 -0700)]
Add a basic group deletion for moderator users.

14 years agoMerge branch 'master' of gitorious.org:statusnet/mainline into 0.9.x
Brion Vibber [Tue, 12 Oct 2010 21:54:04 +0000 (14:54 -0700)]
Merge branch 'master' of gitorious.org:statusnet/mainline into 0.9.x

14 years agoFollowup to IIS installer tweaks in [9bb48c36]:
Brion Vibber [Tue, 12 Oct 2010 20:00:03 +0000 (13:00 -0700)]
Followup to IIS installer tweaks in [9bb48c36]:
* skip 0-byte config files when initializing, go ahead and redirect to installer if no non-0-byte files
* tweak warning on installer.php to let you know if you have a 0-byte config.php that's not writable, as opposed to generally already having a config.php with data in it

14 years agoInitial version of ModHelper plugin, with basic functionality but the UI stripped...
Brion Vibber [Tue, 12 Oct 2010 19:33:57 +0000 (12:33 -0700)]
Initial version of ModHelper plugin, with basic functionality but the UI stripped out until it's easier to get it done.

* users need to have 'modhelper' role manually added via userrole.php for now
* modhelper users can sandbox/unsandbox and silence/unsilence any user
** note that no new logging has been added for these moderator actions
* no user deletion for modhelpers
* probably no UserFlags special views for modhelpers

14 years agoOutput a log message when issuing a request token
Zach Copley [Tue, 12 Oct 2010 19:25:34 +0000 (12:25 -0700)]
Output a log message when issuing a request token

14 years agoTicket #2811 use more consistent max limit for OAuth application registration descrip...
Brion Vibber [Mon, 11 Oct 2010 19:52:32 +0000 (12:52 -0700)]
Ticket #2811 use more consistent max limit for OAuth application registration descriptions; now using the field max of 255 rather than $config['site']['textlimit'] as fallback if $config['application']['desclimit'] is unset or out of bounds.

14 years agoLocalisation updates from http://translatewiki.net.
Siebrand Mazeland [Sat, 9 Oct 2010 14:15:48 +0000 (16:15 +0200)]
Localisation updates from http://translatewiki.net.

14 years agoMerge branch 'fatals' into 0.9.x
Brion Vibber [Fri, 8 Oct 2010 18:28:51 +0000 (11:28 -0700)]
Merge branch 'fatals' into 0.9.x

14 years agoexecution guard fixes in Facebook plugin files
Brion Vibber [Fri, 8 Oct 2010 18:26:57 +0000 (11:26 -0700)]
execution guard fixes in Facebook plugin files

14 years agoNormalize execution guards in OpenID plugin files; avoids annoying fatal errors when...
Brion Vibber [Fri, 8 Oct 2010 18:23:53 +0000 (11:23 -0700)]
Normalize execution guards in OpenID plugin files; avoids annoying fatal errors when .php files get spidered.

14 years agoCheck for Twitter foreign link actually existing before trying to delete it; friendli...
Brion Vibber [Fri, 8 Oct 2010 18:12:36 +0000 (11:12 -0700)]
Check for Twitter foreign link actually existing before trying to delete it; friendlier error message in TwittersettingsAction

14 years agoFix fatal error in FacebookremoveAction if we end up getting called double and the...
Brion Vibber [Fri, 8 Oct 2010 18:06:30 +0000 (11:06 -0700)]
Fix fatal error in FacebookremoveAction if we end up getting called double and the foreign_link entry has already been removed.

14 years agoNormalize execution guards in imap plugin files.
Brion Vibber [Fri, 8 Oct 2010 18:01:13 +0000 (11:01 -0700)]
Normalize execution guards in imap plugin files.

14 years agoNormalize execution guards on OStatus php files; mostly helps cut down on annoying...
Brion Vibber [Fri, 8 Oct 2010 17:42:59 +0000 (10:42 -0700)]
Normalize execution guards on OStatus php files; mostly helps cut down on annoying 'class not found' errors when something spiders the dirs. :P

14 years agoFix PHP fatal error in DeletenoticeAction: died when we had a valid notice, but weren...
Brion Vibber [Fri, 8 Oct 2010 17:33:43 +0000 (10:33 -0700)]
Fix PHP fatal error in DeletenoticeAction: died when we had a valid notice, but weren't logged in due to accessing $this->user before the login check. Moved check up to prepare() from handle() so it's done before usage

14 years agoUpdate OAuth test script README
Zach Copley [Fri, 8 Oct 2010 02:46:46 +0000 (19:46 -0700)]
Update OAuth test script README

14 years agoRename oauth.ini example to oauth.ini.sample
Zach Copley [Fri, 8 Oct 2010 02:43:55 +0000 (19:43 -0700)]
Rename oauth.ini example to oauth.ini.sample

14 years agoRename OAuth status update script
Zach Copley [Fri, 8 Oct 2010 02:41:05 +0000 (19:41 -0700)]
Rename OAuth status update script

14 years agoSome fixups
Zach Copley [Fri, 8 Oct 2010 02:40:31 +0000 (19:40 -0700)]
Some fixups

14 years agoRenamed the OAuth verify credentials test script
Zach Copley [Fri, 8 Oct 2010 02:24:24 +0000 (19:24 -0700)]
Renamed the OAuth verify credentials test script

14 years agoSome fixups to this the OAuth verify credentials test script
Zach Copley [Fri, 8 Oct 2010 02:23:43 +0000 (19:23 -0700)]
Some fixups to this the OAuth verify credentials test script

14 years agoRename OAuth token credential fetching script
Zach Copley [Fri, 8 Oct 2010 01:41:34 +0000 (18:41 -0700)]
Rename OAuth token credential fetching script

14 years agoUpdate access token fetching test script to 1.0a
Zach Copley [Fri, 8 Oct 2010 01:33:14 +0000 (18:33 -0700)]
Update access token fetching test script to 1.0a

14 years agoUpdate ApiOauthAccessTokenAction to OAuth 1.0a
Zach Copley [Fri, 8 Oct 2010 01:32:27 +0000 (18:32 -0700)]
Update ApiOauthAccessTokenAction to OAuth 1.0a

14 years agoAdded a comment about an open question: Should we allow pin-based
Zach Copley [Thu, 7 Oct 2010 21:17:56 +0000 (14:17 -0700)]
Added a comment about an open question:  Should we allow pin-based
workflow for clients registered as web applications?

14 years agoMake the verifier pin display a little nicer
Zach Copley [Thu, 7 Oct 2010 20:51:47 +0000 (13:51 -0700)]
Make the verifier pin display a little nicer

14 years agoMerge branch '0.9.x' of gitorious.org:statusnet/mainline into 0.9.x
Brion Vibber [Thu, 7 Oct 2010 20:30:55 +0000 (13:30 -0700)]
Merge branch '0.9.x' of gitorious.org:statusnet/mainline into 0.9.x

14 years agoMerge branch 'master' into 0.9.x
Brion Vibber [Thu, 7 Oct 2010 20:30:34 +0000 (13:30 -0700)]
Merge branch 'master' into 0.9.x

14 years agoMerge branch 'bitly'
Brion Vibber [Thu, 7 Oct 2010 20:29:09 +0000 (13:29 -0700)]
Merge branch 'bitly'

14 years agoAdd a README for BitlyUrlPlugin
Brion Vibber [Thu, 7 Oct 2010 20:23:18 +0000 (13:23 -0700)]
Add a README for BitlyUrlPlugin

14 years agoTweak bit.ly admin panel messages to distinguish the admin settings from config.php...
Brion Vibber [Thu, 7 Oct 2010 20:17:20 +0000 (13:17 -0700)]
Tweak bit.ly admin panel messages to distinguish the admin settings from config.php globals

14 years agoDrop out the 'allow user override' checkbox on bit.ly admin panel until we find a...
Brion Vibber [Thu, 7 Oct 2010 20:08:23 +0000 (13:08 -0700)]
Drop out the 'allow user override' checkbox on bit.ly admin panel until we find a good way to shove the user settings in. :)

14 years agoClean up bit.ly admin panel behavior, and hide it from the shorteners list if it...
Brion Vibber [Thu, 7 Oct 2010 20:05:51 +0000 (13:05 -0700)]
Clean up bit.ly admin panel behavior, and hide it from the shorteners list if it's not fully configured.

14 years agobit.ly admin panel to set the API keys to use.
Brion Vibber [Thu, 7 Oct 2010 19:30:32 +0000 (12:30 -0700)]
bit.ly admin panel to set the API keys to use.

14 years agoWorkaround for regression in input validation due to more PCRE oddities. Recommend...
Brion Vibber [Thu, 7 Oct 2010 19:32:10 +0000 (12:32 -0700)]
Workaround for regression in input validation due to more PCRE oddities. Recommend redoing common_validate_utf8() using something more reliable, perhaps. :P

14 years agoPull up the guts of my fixed bit.ly plugin from an old work branch (that had made...
Brion Vibber [Thu, 7 Oct 2010 19:03:33 +0000 (12:03 -0700)]
Pull up the guts of my fixed bit.ly plugin from an old work branch (that had made other changes we weren't happy with in the plugin management). Now works if given a global API key.

14 years agoMore OAuthy name for temp credentials fetching test script
Zach Copley [Thu, 7 Oct 2010 19:01:00 +0000 (12:01 -0700)]
More OAuthy name for temp credentials fetching test script

14 years agoChange temp credential test script to use POST instead of GET (more
Zach Copley [Thu, 7 Oct 2010 18:56:49 +0000 (11:56 -0700)]
Change temp credential test script to use POST instead of GET (more
useful for testing in general)

14 years agoOStatus fixup-shadow.php: add check for user_group entries with 'uri' entry shadowing...
Brion Vibber [Thu, 7 Oct 2010 18:26:07 +0000 (11:26 -0700)]
OStatus fixup-shadow.php: add check for user_group entries with 'uri' entry shadowing an actual local_group -- this can cause trouble now that we sometimes actually use the uri field for lookups, and leaving the entries around would break updating the table to fill out formerly missing uris, since the unique index entry would already be taken by the bad entry.

14 years agoUse 7 digits for oob OAuth pin instead of 6
Zach Copley [Thu, 7 Oct 2010 18:01:17 +0000 (11:01 -0700)]
Use 7 digits for oob OAuth pin instead of 6

14 years agoFix regression in OStatus remote group delivery: local group check was bogus in updat...
Brion Vibber [Thu, 7 Oct 2010 17:56:10 +0000 (10:56 -0700)]
Fix regression in OStatus remote group delivery: local group check was bogus in updated Ostatus_profile::localGroupFromUrl()

14 years ago- Update ApiOauthAuthorizeAction to 1.0a
Zach Copley [Thu, 7 Oct 2010 02:20:47 +0000 (19:20 -0700)]
- Update ApiOauthAuthorizeAction to 1.0a
- Fix enumerable bugs
- New page for displaying 1.0a verifier (still needs work)

14 years ago- New base InfoAction for dialog box like msgs
Zach Copley [Thu, 7 Oct 2010 02:06:57 +0000 (19:06 -0700)]
- New base InfoAction for dialog box like msgs
- Fix titles on error pages

14 years agoSome more cleanup
Zach Copley [Thu, 7 Oct 2010 02:05:31 +0000 (19:05 -0700)]
Some more cleanup

14 years agoUpdate ApiOauthRequestTokenAction to support OAuth 1.0a
Zach Copley [Wed, 6 Oct 2010 00:53:50 +0000 (17:53 -0700)]
Update ApiOauthRequestTokenAction to support OAuth 1.0a

14 years agoOverride new_request_token() to store OAuth 1.0a verified callback URL
Zach Copley [Wed, 6 Oct 2010 00:48:32 +0000 (17:48 -0700)]
Override new_request_token() to store OAuth 1.0a verified callback URL

14 years ago- Update getrequesttoken test script to use 1.0a
Zach Copley [Wed, 6 Oct 2010 00:38:03 +0000 (17:38 -0700)]
- Update getrequesttoken test script to use 1.0a
- Some cleanup

14 years agoStab that 'p' parameter!
Zach Copley [Wed, 6 Oct 2010 00:27:55 +0000 (17:27 -0700)]
Stab that 'p' parameter!

14 years agoAdd plain text error format to clientError()
Zach Copley [Wed, 6 Oct 2010 00:09:57 +0000 (17:09 -0700)]
Add plain text error format to clientError()

14 years agoFix bad reference
Zach Copley [Tue, 5 Oct 2010 23:13:07 +0000 (16:13 -0700)]
Fix bad reference

14 years agoA bit more work on the request token fetching test script
Zach Copley [Tue, 5 Oct 2010 01:36:02 +0000 (18:36 -0700)]
A bit more work on the request token fetching test script

14 years agoSomewhat improved test script for fetching an OAuth request token
Zach Copley [Mon, 4 Oct 2010 23:47:20 +0000 (16:47 -0700)]
Somewhat improved test script for fetching an OAuth request token

14 years agoStrip out the special 'p' paramter added by index.php from
Zach Copley [Tue, 5 Oct 2010 01:21:50 +0000 (01:21 +0000)]
Strip out the special 'p' paramter added by index.php from
$_SERVER['QUERY_STRING'] before doing OAuth requests. Required by the
latest version of the OAuth lib.

14 years agoUpgrade OAuth.php to the latest version.
Zach Copley [Thu, 23 Sep 2010 23:00:03 +0000 (16:00 -0700)]
Upgrade OAuth.php to the latest version.

14 years agoA few quick theme fixes, mostly for IE. Full update to follow.
Samantha Doherty [Wed, 6 Oct 2010 20:30:43 +0000 (16:30 -0400)]
A few quick theme fixes, mostly for IE. Full update to follow.

14 years agoMerge branch 'master' into 0.9.x
Brion Vibber [Wed, 6 Oct 2010 20:07:04 +0000 (13:07 -0700)]
Merge branch 'master' into 0.9.x

14 years agoBasic validation of UTF-8 input via GET/POST vars: invalid UTF-8 sequences will cause...
Brion Vibber [Wed, 6 Oct 2010 20:00:30 +0000 (13:00 -0700)]
Basic validation of UTF-8 input via GET/POST vars: invalid UTF-8 sequences will cause the string to drop. Not necessarily super-thorough; should be improved in future to drop individual bad sequences, do normalization of combining forms, etc. General input validation (for ints, types of strings, etc) still would be good to have!

14 years agoMerge branch 'master' into 0.9.x
Brion Vibber [Tue, 5 Oct 2010 18:39:36 +0000 (11:39 -0700)]
Merge branch 'master' into 0.9.x

14 years agoVictorian theme by Michael R. Bernstein
Brion Vibber [Tue, 5 Oct 2010 18:27:05 +0000 (11:27 -0700)]
Victorian theme by Michael R. Bernstein

Includes Linux Libertine font, used under SIL Open Font License.

14 years agomnml theme by Michael R. Bernstein
Brion Vibber [Tue, 5 Oct 2010 18:24:24 +0000 (11:24 -0700)]
mnml theme by Michael R. Bernstein

Includes TeX Gyre Heros font, used under GUST Font License

14 years agoLocalisation updates from http://translatewiki.net
Siebrand Mazeland [Mon, 4 Oct 2010 22:59:47 +0000 (00:59 +0200)]
Localisation updates from http://translatewiki.net

14 years agoMerge branch 'master' into 0.9.x
Brion Vibber [Mon, 4 Oct 2010 22:30:10 +0000 (15:30 -0700)]
Merge branch 'master' into 0.9.x

14 years agoUrgh... fix for fix for horrific $ escaping problems (some awful mix of single and...
Brion Vibber [Mon, 4 Oct 2010 22:29:30 +0000 (15:29 -0700)]
Urgh... fix for fix for horrific $ escaping problems (some awful mix of single and double-quoted strings in the terror that is mail.php)

14 years agoMerge branch 'master' of gitorious.org:statusnet/mainline into 0.9.x
Brion Vibber [Mon, 4 Oct 2010 22:22:02 +0000 (15:22 -0700)]
Merge branch 'master' of gitorious.org:statusnet/mainline into 0.9.x

14 years agoscripts/fixup_group_uri.php to fill in empty user_group.uri entries; needed before...
Brion Vibber [Mon, 4 Oct 2010 22:13:27 +0000 (15:13 -0700)]
scripts/fixup_group_uri.php to fill in empty user_group.uri entries; needed before changing domain names on sites that are hosting groups for remote users

14 years agoFix unescaped dollar signs in double-quoted strings due to localization updates ...
Brion Vibber [Mon, 4 Oct 2010 21:24:04 +0000 (14:24 -0700)]
Fix unescaped dollar signs in double-quoted strings due to localization updates (%1$s etc)

14 years agoExtra debug helper line in push callback
Brion Vibber [Mon, 4 Oct 2010 21:22:32 +0000 (14:22 -0700)]
Extra debug helper line in push callback

14 years agoFix stray newlines on a few messages (fixed on translatewiki.net as well)
Brion Vibber [Mon, 4 Oct 2010 20:05:49 +0000 (13:05 -0700)]
Fix stray newlines on a few messages (fixed on translatewiki.net as well)

14 years agoMerge branch '0.9.x' of gitorious.org:statusnet/mainline into 0.9.x
Brion Vibber [Mon, 4 Oct 2010 18:42:16 +0000 (11:42 -0700)]
Merge branch '0.9.x' of gitorious.org:statusnet/mainline into 0.9.x

Conflicts:
plugins/AnonymousFave/AnonymousFavePlugin.php

14 years agoMerge branch 'master' of gitorious.org:statusnet/mainline into 0.9.x
Brion Vibber [Mon, 4 Oct 2010 18:37:41 +0000 (11:37 -0700)]
Merge branch 'master' of gitorious.org:statusnet/mainline into 0.9.x

14 years agoFix broken code in OStatus feed maint/test scripts (using field name from older dev...
Brion Vibber [Mon, 4 Oct 2010 17:27:03 +0000 (10:27 -0700)]
Fix broken code in OStatus feed maint/test scripts (using field name from older dev code, would load up wrong record)

14 years agoi18n/L10n review, extension credits added.
Siebrand Mazeland [Sun, 3 Oct 2010 22:02:24 +0000 (00:02 +0200)]
i18n/L10n review, extension credits added.

14 years agoAdd documentation URL.
Siebrand Mazeland [Sun, 3 Oct 2010 21:56:13 +0000 (23:56 +0200)]
Add documentation URL.

14 years agoi18n/L10n review, plugin credits added.
Siebrand Mazeland [Sun, 3 Oct 2010 21:54:57 +0000 (23:54 +0200)]
i18n/L10n review, plugin credits added.

14 years agoLocalisation updates from http://translatewiki.net
Siebrand Mazeland [Sun, 3 Oct 2010 20:46:38 +0000 (22:46 +0200)]
Localisation updates from http://translatewiki.net

14 years ago* i18n/L10n review.
Siebrand Mazeland [Sat, 2 Oct 2010 20:25:32 +0000 (22:25 +0200)]
* i18n/L10n review.
* add onPluginVersion()

14 years agoNoticeTitle plugin: link the post title to detail view of the post
Brion Vibber [Sat, 2 Oct 2010 00:54:47 +0000 (17:54 -0700)]
NoticeTitle plugin: link the post title to detail view of the post

14 years agoBugfix in FB-sharing header for empty profile avatar
Brion Vibber [Fri, 1 Oct 2010 21:42:12 +0000 (14:42 -0700)]
Bugfix in FB-sharing header for empty profile avatar

14 years agoLocalisation updates from http://translatewiki.net.
Siebrand Mazeland [Fri, 1 Oct 2010 20:34:59 +0000 (22:34 +0200)]
Localisation updates from http://translatewiki.net.

14 years agoAdd plugin description thanks to Brion.
Siebrand Mazeland [Fri, 1 Oct 2010 20:21:12 +0000 (22:21 +0200)]
Add plugin description thanks to Brion.

14 years ago* i18n review/translator hints added.
Siebrand Mazeland [Fri, 1 Oct 2010 20:15:26 +0000 (22:15 +0200)]
* i18n review/translator hints added.
* whitespace updates.
* added @todo because of missing plugin description. I wasn't able to find out what this does exactly quick enough.

14 years ago* i18n review/translator documentation added.
Siebrand Mazeland [Fri, 1 Oct 2010 20:11:38 +0000 (22:11 +0200)]
* i18n review/translator documentation added.
* onPluginVersion() added.

14 years ago* i18n review
Siebrand Mazeland [Fri, 1 Oct 2010 20:01:18 +0000 (22:01 +0200)]
* i18n review
* onPluginVersion

14 years ago* i18n review
Siebrand Mazeland [Fri, 1 Oct 2010 19:53:20 +0000 (21:53 +0200)]
* i18n review
* onPluginVersion() added

14 years ago* L10/i18n review.
Siebrand Mazeland [Fri, 1 Oct 2010 19:45:19 +0000 (21:45 +0200)]
* L10/i18n review.
* Translator hints added
* whitespace updates

14 years agoBetter markup for anon fave tally
Zach Copley [Fri, 1 Oct 2010 18:31:44 +0000 (11:31 -0700)]
Better markup for anon fave tally

14 years agoMerge branch 'master' of gitorious.org:statusnet/mainline
Zach Copley [Fri, 1 Oct 2010 18:13:28 +0000 (11:13 -0700)]
Merge branch 'master' of gitorious.org:statusnet/mainline

14 years agoAllow turning off Anonymous Favoring for specific users' notices
Zach Copley [Fri, 1 Oct 2010 18:12:53 +0000 (11:12 -0700)]
Allow turning off Anonymous Favoring for specific users' notices

14 years agoThrow in a quick event hook to override the profile list type on showstream (should...
Brion Vibber [Fri, 1 Oct 2010 18:05:15 +0000 (11:05 -0700)]
Throw in a quick event hook to override the profile list type on showstream (should be made more general in future).
Replace with a NoticeList to have output include avatar and username -- but CSS still hides them in default theme.

Event::addHandler('ShowStreamNoticeList', 'awesome');
function awesome($notice, $action, &$pnl)
{
    $pnl = new NoticeList($notice, $action);
    return false;
}

14 years agoAdd a $config['plugins']['locale_path'] which can be set to override the individual...
Brion Vibber [Fri, 1 Oct 2010 02:18:46 +0000 (19:18 -0700)]
Add a $config['plugins']['locale_path'] which can be set to override the individual plugins' locale subdirectories.
This will apply to *ALL* plugins in *ALL* languages, so should probably only be used when doing site customization...

You'd probably do:

  $config['site']['locale_path'] = '/srv/awesome/data/locale';
  $config['plugins']['locale_path'] = '/srv/awesome/data/locale';

with a structure like:
srv/
  awesome/
    data/
      locale/
        en/
          LC_MESSAGES/
            statusnet.po
            OpenID.po
            AnonymousFave.po

etc, all alongside each other. You could separate plugins from the core if you like.

Where locale files have not already been generated, you can build one for a plugin like so:

  php scripts/update_po_templates.php --plugin=MyPlugin

and pull out the template file:

  plugins/MyPlugin/locale/MyPlugin.pot

Edit that (make sure you at least set the CHARSET, probably to UTF-8) and save your customized .po
files into the structure as above, and use msgfmt to generate .mo files for final output.

14 years agoAdd a $config['plugins']['locale_path'] which can be set to override the individual...
Brion Vibber [Fri, 1 Oct 2010 02:18:46 +0000 (19:18 -0700)]
Add a $config['plugins']['locale_path'] which can be set to override the individual plugins' locale subdirectories.
This will apply to *ALL* plugins in *ALL* languages, so should probably only be used when doing site customization...

You'd probably do:

  $config['site']['locale_path'] = '/srv/awesome/data/locale';
  $config['plugins']['locale_path'] = '/srv/awesome/data/locale';

with a structure like:
srv/
  awesome/
    data/
      locale/
        en/
          LC_MESSAGES/
            statusnet.po
            OpenID.po
            AnonymousFave.po

etc, all alongside each other. You could separate plugins from the core if you like.

Where locale files have not already been generated, you can build one for a plugin like so:

  php scripts/update_po_templates.php --plugin=MyPlugin

and pull out the template file:

  plugins/MyPlugin/locale/MyPlugin.pot

Edit that (make sure you at least set the CHARSET, probably to UTF-8) and save your customized .po
files into the structure as above, and use msgfmt to generate .mo files for final output.

14 years agoMerge branch 'master' of gitorious.org:statusnet/mainline into 0.9.x
Brion Vibber [Fri, 1 Oct 2010 01:24:19 +0000 (18:24 -0700)]
Merge branch 'master' of gitorious.org:statusnet/mainline into 0.9.x

14 years agoAdd helper metadata on individual notice pages to aid sharing to Facebook (use poster...
Brion Vibber [Fri, 1 Oct 2010 01:21:38 +0000 (18:21 -0700)]
Add helper metadata on individual notice pages to aid sharing to Facebook (use poster's avatar as image, indicate the text content)

14 years agoShareNotice plugin -- basic buttons per-notice to share the text & a link to the...
Brion Vibber [Fri, 1 Oct 2010 01:02:02 +0000 (18:02 -0700)]
ShareNotice plugin -- basic buttons per-notice to share the text & a link to the notice on other sites.
Default settings list Twitter, Facebook, and Identi.ca as targets.

Using icons built-in, and no magic offsite JS or anything so it won't slow down or break if third-party site goes down.
Default styles are a little limited, but can be customized in theme should one be so inclined.

14 years agoForceGroup plugin: optionally force new users to join a particular group or set of...
Brion Vibber [Thu, 30 Sep 2010 23:25:15 +0000 (16:25 -0700)]
ForceGroup plugin: optionally force new users to join a particular group or set of groups on registration; and/or to force posts by members of particular groups to be posted into those groups even if not explicitly mentioned. The posting feature requires a couple quick hook additions in core.