]> git.mxchange.org Git - quix0rs-gnu-social.git/log
quix0rs-gnu-social.git
13 years agoMerge branch '0.9.x' into 1.0.x
Brion Vibber [Fri, 8 Oct 2010 18:47:50 +0000 (11:47 -0700)]
Merge branch '0.9.x' into 1.0.x

13 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

13 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

13 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.

13 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

13 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.

13 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.

13 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

13 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

13 years agoMerge branch '0.9.x' into 1.0.x
Brion Vibber [Thu, 7 Oct 2010 20:32:26 +0000 (13:32 -0700)]
Merge branch '0.9.x' into 1.0.x

13 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

13 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

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

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

13 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

13 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. :)

13 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.

13 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.

13 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

13 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.

13 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.

13 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()

13 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.

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

13 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

13 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!

13 years agoMerge branch '0.9.x' into 1.0.x
Brion Vibber [Tue, 5 Oct 2010 18:40:49 +0000 (11:40 -0700)]
Merge branch '0.9.x' into 1.0.x

13 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

13 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.

13 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

13 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

13 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

13 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)

13 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

13 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

13 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)

13 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

13 years agoMerge branch '0.9.x' into 1.0.x
Brion Vibber [Mon, 4 Oct 2010 20:06:40 +0000 (13:06 -0700)]
Merge branch '0.9.x' into 1.0.x

13 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)

13 years agoMerge branch '0.9.x' of gitorious.org:statusnet/mainline into 1.0.x
Brion Vibber [Mon, 4 Oct 2010 19:54:36 +0000 (12:54 -0700)]
Merge branch '0.9.x' of gitorious.org:statusnet/mainline into 1.0.x

Conflicts:
actions/hostmeta.php
actions/imsettings.php
classes/User.php
lib/adminpanelaction.php
lib/channel.php
lib/default.php
lib/router.php
lib/util.php

13 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

13 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

13 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)

13 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.

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

13 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.

13 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

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

13 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

13 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

13 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.

13 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.

13 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.

13 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.

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

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

13 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

13 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

13 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

13 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

13 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;
}

13 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.

13 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.

13 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

13 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)

13 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.

13 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.

13 years agoGroupFavorited plugin: adds 'Popular' tab to group navigation showing a popular pages...
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

13 years agofix comment
Brion Vibber [Thu, 30 Sep 2010 21:52:00 +0000 (14:52 -0700)]
fix comment

13 years agoInitial SlicedFavorites plugin to allow for customized variants of 'Popular' tab...
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!

13 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.

13 years agoMerge branch 'restricted-disqus' into 0.9.x
Zach Copley [Fri, 1 Oct 2010 00:00:13 +0000 (17:00 -0700)]
Merge branch 'restricted-disqus' into 0.9.x

13 years agoForgot to update a call in DisqusPlugin
Zach Copley [Thu, 30 Sep 2010 23:59:05 +0000 (16:59 -0700)]
Forgot to update a call in DisqusPlugin

13 years agoMerge branch 'restricted-disqus' into 0.9.x
Zach Copley [Thu, 30 Sep 2010 23:53:44 +0000 (16:53 -0700)]
Merge branch 'restricted-disqus' into 0.9.x

13 years agoLess intrusive insertion of Disqus notice count into notice lists
Zach Copley [Thu, 30 Sep 2010 23:51:19 +0000 (16:51 -0700)]
Less intrusive insertion of Disqus notice count into notice lists

13 years agoChange Disqus plugin to allow restricting to users with "richedit" role
Zach Copley [Thu, 30 Sep 2010 23:39:56 +0000 (16:39 -0700)]
Change Disqus plugin to allow restricting to users with "richedit" role

13 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.

13 years agoGroupFavorited plugin: adds 'Popular' tab to group navigation showing a popular pages...
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

13 years agofix comment
Brion Vibber [Thu, 30 Sep 2010 21:52:00 +0000 (14:52 -0700)]
fix comment

13 years agoMerge branch '0.9.x' of gitorious.org:statusnet/mainline into 0.9.x
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

13 years agoInitial SlicedFavorites plugin to allow for customized variants of 'Popular' tab...
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!

13 years agoMerge branch 'anon-fave-plugin' into 0.9.x
Zach Copley [Thu, 30 Sep 2010 20:59:02 +0000 (13:59 -0700)]
Merge branch 'anon-fave-plugin' into 0.9.x

13 years agoMerge branch 'anon-fave-plugin'
Zach Copley [Thu, 30 Sep 2010 20:57:39 +0000 (13:57 -0700)]
Merge branch 'anon-fave-plugin'

13 years agoAdd 'restricted' option to NoticeTitle; if set, only users with 'richedit' role get...
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.

13 years agoAdded an option to TinyMCE plugin to restrict the rich-text editor to users who have...
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.

13 years agoAdd 'restricted' option to NoticeTitle; if set, only users with 'richedit' role get...
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.

13 years agoAdded an option to TinyMCE plugin to restrict the rich-text editor to users who have...
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.

13 years agoFix for OpenID-only private sites: we were removing the 'login' and 'register' action...
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.

13 years agoMerge branch 'master' of gitorious.org:statusnet/mainline into feedfix
Brion Vibber [Thu, 30 Sep 2010 18:31:29 +0000 (11:31 -0700)]
Merge branch 'master' of gitorious.org:statusnet/mainline into feedfix

13 years agoAlways specify UTF-8 targt charset for html_entity_decode(); default is 8-bit ISO...
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.

13 years agoMerge branch 'anon-fave-plugin' of gitorious.org:~zcopley/statusnet/zcopleys-clone...
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

13 years agoRemove debugging statements
Zach Copley [Wed, 29 Sep 2010 23:28:29 +0000 (16:28 -0700)]
Remove debugging statements

13 years agoMake createAnonProfile() static
Zach Copley [Wed, 29 Sep 2010 23:11:32 +0000 (16:11 -0700)]
Make createAnonProfile() static

13 years ago- Lookup anon profiles by ID (safer because they are guranteed to be unique) and...
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

13 years agoAjax update notice tally
Zach Copley [Wed, 29 Sep 2010 21:08:31 +0000 (14:08 -0700)]
Ajax update notice tally

13 years agoAdd Start/EndFavorNoticeForm and Start/EndDisFavorNoticeForm hooks
Zach Copley [Wed, 29 Sep 2010 21:07:46 +0000 (14:07 -0700)]
Add Start/EndFavorNoticeForm and Start/EndDisFavorNoticeForm hooks

13 years agoSet initialize_fave_tallys.php executable
Zach Copley [Wed, 29 Sep 2010 20:31:01 +0000 (13:31 -0700)]
Set initialize_fave_tallys.php executable

13 years agoIntialize new fave tallys with total existing fave count per notice
Zach Copley [Wed, 29 Sep 2010 20:29:58 +0000 (13:29 -0700)]
Intialize new fave tallys with total existing fave count per notice

13 years ago- Increment/decrement notice fave tally
Zach Copley [Wed, 29 Sep 2010 19:49:53 +0000 (12:49 -0700)]
- Increment/decrement notice fave tally
- Display tally in notice output

13 years agoAdd Start/EndShowNoticeInfo events
Zach Copley [Wed, 29 Sep 2010 19:49:26 +0000 (12:49 -0700)]
Add Start/EndShowNoticeInfo events