summaryrefslogtreecommitdiff
path: root/lib/common.php
AgeCommit message (Collapse)Author
2009-11-02Make unit tests work again by forcing a 'global' on $_have_a_config...Brion Vibber
Fix a typo in the error message when no config file found.
2009-10-30give some suggestions back to the user when no config file found, and a link ↵Brenda Wallace
to the installer
2009-10-30Revert "give some suggestions back to the user when no config file found, ↵Brenda Wallace
and a link to the installer" This reverts commit 7f5fbee2e36889fae1d1c5043d76625e197e39ea.
2009-10-30give some suggestions back to the user when no config file found, and a link ↵Brenda Wallace
to the installer
2009-10-13Merge branch '0.9.x' into pluginize-twitter-bridgeZach Copley
* 0.9.x: (247 commits) Added in credits. Use site's name for basic auth realm Make apigroupcreate.php pass phpcs Took out some unnecessary intializations Implemented create group api CamelCase all function names in the API code These same params are used in most API actions; moved to base API class Missed some of the references to the old TwitterApiAction - removed Remove more redundant $formats Remove dead code Move all basic auth output and processing to base classes $format is used by every API action. Set it in the base class. Delete action/api.php and rename lib/twitterapi.php to lib/api.php New actions for blocks via API fix FBConnect so it doesn't muffle EndPrimaryNav don't write session if it's unchanged Fixed facebook connect primary nav to hide search option when site is private and user is not logged in Fixed facebook connect primary nav to obey sms/twitter/openid settings Fixed facebook connect login nav to obey openid settings Fixed facebook connect nav to obey sms/twitter disabled ...
2009-10-01check the schemaEvan Prodromou
2009-09-24Move configuration defaults to new module and variableEvan Prodromou
Moved the default values of $config to $default. The code for setting up $default is moved to lib/default.php.
2009-09-16Merge branch '0.9.x' into pluginize-twitter-bridgeZach Copley
* 0.9.x: (57 commits) Updated csarven emails to csarven@status.net and removed dupes statusize new HTTP classes dedupe evans change all evans to evan@status.net add post to curlclient fix user-agent for curlclient add get to curl client add cURL client with HEAD method add user agent and correct version check to httpclient statusize OpenID plugin add http client config value update httpclient class move httputil to httpclient Start a common library for HTTP client stuff check correct define (not backwards compatible) Fixed broken list items in installer output Got rid of a bunch of ugly warnings Add Jiminy to notice sources Make it impossible to delete self-subscriptions via the API Fix bad merge d7ae0ed4fd755ebad0788a17d0f2fb6a6ca9d63b ...
2009-09-15add http client config valueEvan Prodromou
2009-09-08Merge branch '0.9.x' into pluginize-twitter-bridgeZach Copley
Conflicts: plugins/TwitterBridge/twitterauthorization.php
2009-08-27Merge branch '0.8.x' into 0.9.xEvan Prodromou
Conflicts: EVENTS.txt actions/finishremotesubscribe.php actions/postnotice.php actions/public.php actions/remotesubscribe.php actions/showstream.php actions/updateprofile.php actions/userauthorization.php classes/laconica.ini lib/common.php lib/oauthstore.php lib/omb.php
2009-08-27update version in, and add codename to, lib/commonEvan Prodromou
2009-08-27Merge branch '0.8.x' into 0.9.xEvan Prodromou
2009-08-26define LACONICA_VERSION for backwards compatibilityEvan Prodromou
2009-08-26define LACONICA and accept LACONICA for backwards compatibilityEvan Prodromou
2009-08-26add back in /etc/laconica/* for compatibilityEvan Prodromou
2009-08-26last scrub of Laconica -> StatusNetEvan Prodromou
2009-08-26Moved the rest of the Twitter stuff into the TwitterBridge pluginZach Copley
2009-08-25global search and replace for laconica -> statusnetEvan Prodromou
2009-08-25change LACONICA to STATUSNETEvan Prodromou
2009-08-25change laconi.ca to status.netEvan Prodromou
2009-08-25a distributed -> the distributedEvan Prodromou
2009-08-25change Laconica and Control Yourself to StatusNet in PHP filesEvan Prodromou
2009-08-24Merge branch '0.8.x' into testingEvan Prodromou
Conflicts: actions/twitterauthorization.php lib/oauthclient.php lib/twitter.php lib/twitterapi.php lib/twitteroauthclient.php scripts/twitterstatusfetcher.php
2009-08-24Twitter OAuth server dance workingZach Copley
2009-08-21Revert "Added configuration option to only allow OpenID logins."Evan Prodromou
This reverts commit 14b46e2183f10359cc53d597913a878f53e23719. This functionality will need to be rewritten to work with the new OpenIDPlugin. Conflicts: index.php lib/logingroupnav.php
2009-08-21Revert "Added a configuration option to disable OpenID."Evan Prodromou
This reverts commit 7dc3a90d1252137859a687e32313ea569dcf8796. Conflicts: actions/login.php actions/register.php lib/accountsettingsaction.php lib/common.php lib/logingroupnav.php
2009-08-21Merge branch 'dbconfig' into 0.9.xEvan Prodromou
Conflicts: lib/common.php
2009-08-21load configuration options from database at runtimeEvan Prodromou
2009-08-21Include php-gettext 1.0.7 into extlibs; loading it up if native gettext ↵Brion Vibber
extension is not present. This provides a pure PHP implementation of the gettext functions. This should help get laconica running on shared hosting environments where PHP's gettext module may not be installed. Also gets us one step closer to running on Mac OS X 10.5 with Apple's preinstalled PHP, which doesn't provide an easy way to add modules. Source: http://savannah.nongnu.org/projects/php-gettext Copyright (c) 2005 Steven Armstrong <sa at c-area dot ch> GPLv2 or later
2009-08-21Merge branch '0.8.x' into 0.9.xEvan Prodromou
Conflicts: actions/updateprofile.php actions/userauthorization.php classes/User_group.php index.php install.php lib/accountsettingsaction.php lib/logingroupnav.php
2009-08-21configuration options for text limitsEvan Prodromou
2009-08-20Fix the default value of ['server']['path'] when running from command line ↵Francois Marier
scripts The logic in _sn_to_path() doesn't make sense when not running via a remote server. Default to the empty string if running from the command line and ['server']['path'] is not set manually in config.php
2009-08-13Added a configuration option to disable OpenID.Jeffery To
If $config['openid']['enabled'] is set to false, OpenID is removed from the navigation and direct accesses to OpenID login pages redirect to the login page. If OpenID is enabled, $config['site']['openidonly'] is ignored, i.e. OpenID is required to go OpenID-only.
2009-08-10Merge commit 'jeff-themovie/0.8.x-openidonly' into 0.8.xCraig Andrews
2009-08-10Merge branch 'twitter-oauth' into 0.8.xZach Copley
Conflicts: scripts/getvaliddaemons.php
2009-08-10Added configuration option to only allow OpenID logins.Jeffery To
If $config['site']['openidonly'] is set to true: * the Login/Register pages will be removed from the navigation; * directly accesses to the Login/Register pages will redirect to the OpenID login page; * most links to the Login/Register pages will link to the OpenID login page instead. The user will still need to set a password to access the API and RSS feeds.
2009-08-07Fixed IM and SMS enabled options to default to true.Jeffery To
2009-08-07Added configuration option to disable post-by-email.Jeffery To
This hides the relevant settings from the email settings page and prevents maildaemon.php from processing email if the option is disabled.
2009-08-07Added configuration options to enable/disable SMS and Twitter integration.Jeffery To
This disables the IM, SMS and Twitter settings pages and queue handlers depending on the config options.
2009-08-05update version to 0.8.1pre10.8.1pre1Evan Prodromou
2009-08-04give plugins a chance to autoload their classesEvan Prodromou
2009-08-040.9.0 dev versionEvan Prodromou
2009-08-03Merge branch '0.8.x' into twitter-oauthZach Copley
2009-08-01Twitter OAuth server dance workingZach Copley
2009-07-30Site-wide design configurationEvan Prodromou
I added some code so that the site-wide design can be set, using the configuration interface. I also moved the configuration option from $config['site']['design']['background'] to just $config['design']['background'], but the old syntax will still work.
2009-07-23Revert "0.9.0 dev version"Craig Andrews
This reverts commit 7cfb2f569dbda8ef84149604cec88b2349d95306. This should have never been committed to the 0.8.x branch.
2009-07-15change version to 0.8.1devEvan Prodromou
2009-07-10Merge branch '0.8.x' into 0.9.xEvan Prodromou
2009-07-09add a little syntactical sugar for adding pluginsEvan Prodromou