summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2010-11-22Miscellaneous plugin fixes/tweaksHEADmasterLuke Shumaker
From most important to least important: plugins/GNUsocialTemplatePlugin.php: * Modify to play nice with plain-old TemplatePlugin. * Move onPluginVersion() from action class to plugin class * Increment version from 0.1 to 0.1.1 plugins/TemplatePlugin.php: same as GNUsocialTemplatePlugin.php plugindata.php: add some output to help identify misbehaving plugins lib/implugin.php: fix comments: s/authentication/instant messaging/ lib/uapplugin.php: comments: add @see http://www.iab.net/iab_products_and_industry_services/508676/508767/UAP tpl/social.php: clean up formatting (also, use tabs instead of spaces, to be consistant with tpl/index.php)
2010-11-22fix: pluginlist.php's metaInfo(): Warning: horribly inefficient and may explode!Luke Shumaker
This also means that plugins who give themselves a funny name now have their data show up in the plugins page (where, before they'de be there, but the info on them would be blank). Unfortunately, this removes a hack for URL shorteners. However, this is minor, and I think my plugin system may have broken it anyway. (maybe)
2010-11-21Load data for all plugins on plugin management page.Luke Shumaker
include.php: file to include to make creation of entry points easy index.php: move most of this file into include.php (and include it) plugindata.php: a separate entry point using include.php; load ALL plugins found, and write data gathered to plugindata.out.php .gitignore: add plugindata.out.php actions/pluginsadminpanel.php: * use plugindata.out.php's common_plugindata() instead of StatusNet::getPlugins() * give a button linking to plugindata.php, to refresh plugin data lib/pluginlist.php: * use plugindata.out.php's common_plugindata() instead of thowing the 'PluginVersion' event to currently enabled plugins * for the enable/disable forms: was: if (!$disabled) now: if ($enabled && (!$disabled)) lib/statusnet.php: move the list of filenames for a plugin into it's own public static function; this is used by plugindata.php
2010-11-20Add more robust (but backward-compatible) plugin config system.Luke Shumaker
util.php: add common_config_section($main), as a companion to common_config($main,sub) statusnet.php: * add public static getPlugins(), which returns array_merge(common_config('plugins','default'),common_config_section('plugin-list')) * use self::getPlugins(), instead of common_config('plugins,'default') * handle plugins that have a type other than "array" or "null" for parameters pluginenable: * use StatusNet::getPlugins() instead of common_config('plugins,'default') * set $config['plugin-list'][$plugin_name] = 1 pluginsadminpanel: use StatusNet::getPlugins() instead of common_config('plugins,'default')
2010-08-13Merge branch '1.0.x' of git://gitorious.org/statusnet/mainlineIan Denhardt
2010-08-13Merge branch 'master' into 1.0.xEvan Prodromou
2010-08-13Merge branch '1.0.x' of /home/ian/public_html/statusnet-enhancementsIan Denhardt
2010-08-12Fix for ticket 2513: "Can't linkify" error when some links are shortenedBrion Vibber
When bogus SSL sites etc were hit through a shortening redirect, sometimes link resolution kinda blew up and the user would get a "Can't linkify" error, aborting their post. Now catching this case and just passing through the URL without attempting to resolve it. Could benefit from an overall scrubbing of the freaky link/attachment code though...! :) http://status.net/open-source/issues/2513
2010-08-12Merge branch '0.9.x' into 1.0.xBrion Vibber
2010-08-12Merge branch '1.0.x' of git://gitorious.org/statusnet/mainlineIan Denhardt
2010-08-11Output "web" instead of gettext translation file metadata when notice.source ↵Brion Vibber
is empty
2010-08-110.9.4beta2 update some notes in README, note the fix from beta1Brion Vibber
2010-08-11Add dummy support for Esperanto.Siebrand Mazeland
2010-08-10StatusNet_network staticGet lookup fixBrion Vibber
2010-08-10update version for 0.9.4beta1Brion Vibber
2010-08-10Fix for regression with OStatus mention processing (duplicated new and old ↵Brion Vibber
style lead to trying to save a reply entry twice).
2010-08-10Workaround for index setup on SubMirror until I'm done w/ arbitrary index ↵Brion Vibber
support for Schema setup.
2010-08-09remove microblogging messagesMatt Lee
2010-08-09remove microblogging messagesMatt Lee
2010-08-09remove microblogging messagesMatt Lee
2010-08-09Merge branch '0.9.x' of gitorious.org:statusnet/mainline into 1.0.xBrion Vibber
2010-08-09Merge branch '1.0.x' of git://gitorious.org/statusnet/mainlineIan Denhardt
2010-08-08Add two i18n related FIXMEs.Siebrand Mazeland
2010-08-06Partial fix for ticket #2489 -- problems with SNI SSL virtual host ↵Brion Vibber
certificate validation. Two prongs here: * We attempt to enable SNI on the SSL stream context with the appropriate hostname... This requires PHP 5.3.2 and OpenSSL that supports the TLS extensions. Unfortunately this doesn't seem to be working in my testing. * If set $config['http']['curl'] = true, we'll use the CURL backend if available. In my testing on Ubuntu 10.04, this works. No guarantees on other systems. I'm not enabling CURL mode by default just yet; want to make sure there's no other surprises.
2010-08-05Merge branch 'testing' into 0.9.xBrion Vibber
2010-08-05Merge branch 'master' into testingBrion Vibber
2010-08-04Fix for source attribution on notices; it was displaying the code instead of ↵Zach Copley
the source name sometimes.
2010-08-03Merge branch '0.9.x' into 1.0.xEvan Prodromou
2010-08-03Merge remote branch 'gitorious/1.0.x' into 1.0.xEvan Prodromou
2010-08-02urgh. typoJames Walker
2010-08-02add support for Salmon's new "mentioned" rel valueJames Walker
2010-08-02Merge branch '0.9.x' of gitorious.org:statusnet/mainline into 0.9.xBrion Vibber
2010-07-31Localisation updates from http://translatewiki.netSiebrand Mazeland
* add support for Danish
2010-07-30Merge branch '2471' into 0.9.xBrion Vibber
2010-07-30Fix for ticket #2471: install.php returns unsuccessfully but doesn't display ↵Brion Vibber
error message if PHP < 5.2.6 is used http://status.net/open-source/issues/2471 Old bit of code didn't get updated for new installer
2010-07-29allow schema to work on more than one connection (namely, the Status_network DB)James Walker
2010-07-29removing redundant constructorJames Walker
2010-07-29Merge branch 'master' into 0.9.xZach Copley
Conflicts: classes/Notice.php
2010-07-29Fix for issue ID 2290: make sure errors are returned in the rightZach Copley
format, and use callback for errors when the request is JSONP
2010-07-28Merge branch 'testing' of gitorious.org:statusnet/mainline into testingEvan Prodromou
2010-07-28Merge branch 'googleadsadminpanel' into testingEvan Prodromou
2010-07-28Merge branch 'testing' into 0.9.xBrion Vibber
2010-07-22accept mailto: URIs as OStatus identifiersEvan Prodromou
2010-07-16Suppress HTTP error headers for JSONP API outputZach Copley
2010-07-13Exceptions are caught and continued on JSON, XML, Atom and RSS output in APIEvan Prodromou
2010-07-13handle missing profile for notices better in Rss10ActionEvan Prodromou
2010-07-13handle missing profile for notices better in NoticeListEvan Prodromou
2010-07-13log exceptions in atom feeds, but don't let them kill the outputEvan Prodromou
2010-07-13push exception on missing profile down to Notice::getProfile()Evan Prodromou
2010-07-13handle notices without profiles better in RSS outputEvan Prodromou