Brion Vibber [Fri, 8 Oct 2010 18:28:51 +0000 (11:28 -0700)]
Merge branch 'fatals' into 0.9.x
Brion Vibber [Fri, 8 Oct 2010 18:26:57 +0000 (11:26 -0700)]
execution guard fixes in Facebook plugin files
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.
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
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.
Brion Vibber [Fri, 8 Oct 2010 18:01:13 +0000 (11:01 -0700)]
Normalize execution guards in imap plugin files.
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
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
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
Brion Vibber [Thu, 7 Oct 2010 20:30:34 +0000 (13:30 -0700)]
Merge branch 'master' into 0.9.x
Brion Vibber [Thu, 7 Oct 2010 20:29:09 +0000 (13:29 -0700)]
Merge branch 'bitly'
Brion Vibber [Thu, 7 Oct 2010 20:23:18 +0000 (13:23 -0700)]
Add a README for BitlyUrlPlugin
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
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. :)
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.
Brion Vibber [Thu, 7 Oct 2010 19:30:32 +0000 (12:30 -0700)]
bit.ly admin panel to set the API keys to use.
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
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.
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.
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()
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.
Brion Vibber [Wed, 6 Oct 2010 20:07:04 +0000 (13:07 -0700)]
Merge branch 'master' into 0.9.x
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!
Brion Vibber [Tue, 5 Oct 2010 18:39:36 +0000 (11:39 -0700)]
Merge branch 'master' into 0.9.x
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.
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
Siebrand Mazeland [Mon, 4 Oct 2010 22:59:47 +0000 (00:59 +0200)]
Localisation updates from http://translatewiki.net
Brion Vibber [Mon, 4 Oct 2010 22:30:10 +0000 (15:30 -0700)]
Merge branch 'master' into 0.9.x
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)
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
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
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)
Brion Vibber [Mon, 4 Oct 2010 21:22:32 +0000 (14:22 -0700)]
Extra debug helper line in push callback
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)
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
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
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)
Siebrand Mazeland [Sun, 3 Oct 2010 22:02:24 +0000 (00:02 +0200)]
i18n/L10n review, extension credits added.
Siebrand Mazeland [Sun, 3 Oct 2010 21:56:13 +0000 (23:56 +0200)]
Add documentation URL.
Siebrand Mazeland [Sun, 3 Oct 2010 21:54:57 +0000 (23:54 +0200)]
i18n/L10n review, plugin credits added.
Siebrand Mazeland [Sun, 3 Oct 2010 20:46:38 +0000 (22:46 +0200)]
Localisation updates from http://translatewiki.net
Siebrand Mazeland [Sat, 2 Oct 2010 20:25:32 +0000 (22:25 +0200)]
* i18n/L10n review.
* add onPluginVersion()
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
Brion Vibber [Fri, 1 Oct 2010 21:42:12 +0000 (14:42 -0700)]
Bugfix in FB-sharing header for empty profile avatar
Siebrand Mazeland [Fri, 1 Oct 2010 20:34:59 +0000 (22:34 +0200)]
Localisation updates from http://translatewiki.net.
Siebrand Mazeland [Fri, 1 Oct 2010 20:21:12 +0000 (22:21 +0200)]
Add plugin description thanks to Brion.
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.
Siebrand Mazeland [Fri, 1 Oct 2010 20:11:38 +0000 (22:11 +0200)]
* i18n review/translator documentation added.
* onPluginVersion() added.
Siebrand Mazeland [Fri, 1 Oct 2010 20:01:18 +0000 (22:01 +0200)]
* i18n review
* onPluginVersion
Siebrand Mazeland [Fri, 1 Oct 2010 19:53:20 +0000 (21:53 +0200)]
* i18n review
* onPluginVersion() added
Siebrand Mazeland [Fri, 1 Oct 2010 19:45:19 +0000 (21:45 +0200)]
* L10/i18n review.
* Translator hints added
* whitespace updates
Zach Copley [Fri, 1 Oct 2010 18:31:44 +0000 (11:31 -0700)]
Better markup for anon fave tally
Zach Copley [Fri, 1 Oct 2010 18:13:28 +0000 (11:13 -0700)]
Merge branch 'master' of gitorious.org:statusnet/mainline
Zach Copley [Fri, 1 Oct 2010 18:12:53 +0000 (11:12 -0700)]
Allow turning off Anonymous Favoring for specific users' notices
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;
}
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.
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.
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
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)
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.
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.
Brion Vibber [Thu, 30 Sep 2010 22:56:38 +0000 (15:56 -0700)]
GroupFavorited plugin: adds 'Popular' tab to group navigation showing a popular pages subset for just posts in the group. Not necessarily terribly efficient, should be tested and benchmarked on non-trivial sites
Brion Vibber [Thu, 30 Sep 2010 21:52:00 +0000 (14:52 -0700)]
fix comment
Brion Vibber [Thu, 30 Sep 2010 21:46:32 +0000 (14:46 -0700)]
Initial SlicedFavorites plugin to allow for customized variants of 'Popular' tab (favorited action) that include or exclude a given set of users. No added UI tabs in this version, beware!
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.
Zach Copley [Fri, 1 Oct 2010 00:00:13 +0000 (17:00 -0700)]
Merge branch 'restricted-disqus' into 0.9.x
Zach Copley [Thu, 30 Sep 2010 23:59:05 +0000 (16:59 -0700)]
Forgot to update a call in DisqusPlugin
Zach Copley [Thu, 30 Sep 2010 23:53:44 +0000 (16:53 -0700)]
Merge branch 'restricted-disqus' into 0.9.x
Zach Copley [Thu, 30 Sep 2010 23:51:19 +0000 (16:51 -0700)]
Less intrusive insertion of Disqus notice count into notice lists
Zach Copley [Thu, 30 Sep 2010 23:39:56 +0000 (16:39 -0700)]
Change Disqus plugin to allow restricting to users with "richedit" role
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.
Brion Vibber [Thu, 30 Sep 2010 22:56:38 +0000 (15:56 -0700)]
GroupFavorited plugin: adds 'Popular' tab to group navigation showing a popular pages subset for just posts in the group. Not necessarily terribly efficient, should be tested and benchmarked on non-trivial sites
Brion Vibber [Thu, 30 Sep 2010 21:52:00 +0000 (14:52 -0700)]
fix comment
Brion Vibber [Thu, 30 Sep 2010 21:47:53 +0000 (14:47 -0700)]
Merge branch '0.9.x' of gitorious.org:statusnet/mainline into 0.9.x
Brion Vibber [Thu, 30 Sep 2010 21:46:32 +0000 (14:46 -0700)]
Initial SlicedFavorites plugin to allow for customized variants of 'Popular' tab (favorited action) that include or exclude a given set of users. No added UI tabs in this version, beware!
Zach Copley [Thu, 30 Sep 2010 20:59:02 +0000 (13:59 -0700)]
Merge branch 'anon-fave-plugin' into 0.9.x
Zach Copley [Thu, 30 Sep 2010 20:57:39 +0000 (13:57 -0700)]
Merge branch 'anon-fave-plugin'
Brion Vibber [Thu, 30 Sep 2010 20:30:39 +0000 (13:30 -0700)]
Add 'restricted' option to NoticeTitle; if set, only users with 'richedit' role get the fancy extra title field.
Brion Vibber [Thu, 30 Sep 2010 20:22:25 +0000 (13:22 -0700)]
Added an option to TinyMCE plugin to restrict the rich-text editor to users who have the 'richedit' role. This allows enabling it for a subset of accounts on a site while leaving other users using the regular posting system, which is more stable.
Brion Vibber [Thu, 30 Sep 2010 20:30:39 +0000 (13:30 -0700)]
Add 'restricted' option to NoticeTitle; if set, only users with 'richedit' role get the fancy extra title field.
Brion Vibber [Thu, 30 Sep 2010 20:22:25 +0000 (13:22 -0700)]
Added an option to TinyMCE plugin to restrict the rich-text editor to users who have the 'richedit' role. This allows enabling it for a subset of accounts on a site while leaving other users using the regular posting system, which is more stable.
Brion Vibber [Thu, 30 Sep 2010 19:35:25 +0000 (12:35 -0700)]
Fix for OpenID-only private sites: we were removing the 'login' and 'register' actions from the routing system entirely, which meant that login links & redirects from unauthenticated views on private sites (as well as various re-auth situations even on non-private sites) would break and send to the main page instead.
Changed it to leave the 'login' and 'register' actions in the system; we're already taking them over and redirecting them to the OpenID login page, so they won't be reached by accident; but now those redirects can be reached on purpose. ;)
Better long-term fix may be to allow some aliasing, so we can have common_local_url('login') actually send us straight to the OpenID login page instead of having to go through an intermediate redirect, but this'll do.
Brion Vibber [Thu, 30 Sep 2010 18:31:29 +0000 (11:31 -0700)]
Merge branch 'master' of gitorious.org:statusnet/mainline into feedfix
Brion Vibber [Thu, 30 Sep 2010 18:29:31 +0000 (11:29 -0700)]
Always specify UTF-8 targt charset for html_entity_decode(); default is 8-bit ISO-8859-1 which causes things to break when we later pass them through things that expect to work with UTF-8. For instance, running through preg_replace() with the /u option results in NULL, leading to problems with OStatus and SubMirror generating their plaintext versions and doing length-cropping.
Zach Copley [Wed, 29 Sep 2010 23:42:45 +0000 (16:42 -0700)]
Merge branch 'anon-fave-plugin' of gitorious.org:~zcopley/statusnet/zcopleys-clone into anon-fave-plugin
Zach Copley [Wed, 29 Sep 2010 23:28:29 +0000 (16:28 -0700)]
Remove debugging statements
Zach Copley [Wed, 29 Sep 2010 23:11:32 +0000 (16:11 -0700)]
Make createAnonProfile() static
Zach Copley [Wed, 29 Sep 2010 22:52:18 +0000 (15:52 -0700)]
- Lookup anon profiles by ID (safer because they are guranteed to be unique) and probably faster
- Obfuscate the anonymous user session token to make it hard to figure out the profile ID
Zach Copley [Wed, 29 Sep 2010 21:08:31 +0000 (14:08 -0700)]
Ajax update notice tally
Zach Copley [Wed, 29 Sep 2010 21:07:46 +0000 (14:07 -0700)]
Add Start/EndFavorNoticeForm and Start/EndDisFavorNoticeForm hooks
Zach Copley [Wed, 29 Sep 2010 20:31:01 +0000 (13:31 -0700)]
Set initialize_fave_tallys.php executable
Zach Copley [Wed, 29 Sep 2010 20:29:58 +0000 (13:29 -0700)]
Intialize new fave tallys with total existing fave count per notice
Zach Copley [Wed, 29 Sep 2010 19:49:53 +0000 (12:49 -0700)]
- Increment/decrement notice fave tally
- Display tally in notice output
Zach Copley [Wed, 29 Sep 2010 19:49:26 +0000 (12:49 -0700)]
Add Start/EndShowNoticeInfo events
Zach Copley [Wed, 29 Sep 2010 02:07:45 +0000 (19:07 -0700)]
New DB_DataObject for storing favorites tally
Zach Copley [Wed, 29 Sep 2010 00:17:09 +0000 (17:17 -0700)]
Initial plugin for allowing anonymous favoriting
Zach Copley [Wed, 29 Sep 2010 00:09:34 +0000 (17:09 -0700)]
New eventsi: Start/EndShowNoticeOptions and Start/EndShowFaveForm
Zach Copley [Tue, 28 Sep 2010 22:56:11 +0000 (15:56 -0700)]
Add Start/EndShowNoticeItem event hooks to single notice page
Zach Copley [Tue, 28 Sep 2010 22:46:14 +0000 (15:46 -0700)]
Move blowFavesCache() to Profile
Zach Copley [Mon, 27 Sep 2010 22:01:03 +0000 (15:01 -0700)]
Move hasFave() to Profile