summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
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-21Linkifier support many more urls, and less mismatchesCraig Andrews
2009-08-21Use currying to call the url callbacks, and use preg_replace_callbackCraig Andrews
This definitely looks neater than the string maniplation it replaces
2009-08-20Change the notice type defines all into class constants and adapt all files.Marcel van der Boom
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-18Removed all the redundant logic in common_replace_urls_callbackCraig Andrews
Modified the regex so that strings such as /usr/share/perl5/HTML/Mason/ApacheHandler.pm as not turned into links
2009-08-18IPv4 and IPv6 addresses are picked up in URLsCraig Andrews
Added ".onion" as a possible TLD
2009-08-16Merge commit 'jeff-themovie/0.8.x-openid-enabled' into 0.8.xCraig Andrews
2009-08-15Fixed OpenID appearing in primary nav when OpenID is enabled but not OpenID-onlyJeffery To
2009-08-14whitespace in error.phpEvan Prodromou
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-12ServerErrorAction always logsEvan Prodromou
2009-08-12Define the member variable NCraig Andrews
N is defined in the DB_DataObject class, which this class kind of extends. So to keep a consistent interface for consumers, we need to have N defined here.
2009-08-11oEmbed provider does not use the twitter api library classes any moreCraig Andrews
2009-08-11Merge commit 'jeff-themovie/0.8.x-private-search' into 0.8.xCraig Andrews
2009-08-11Merge branch 'master' into 0.8.xEvan Prodromou
Conflicts: lib/mail.php lib/rssaction.php lib/twitterapi.php
2009-08-11Don't show Search in the primary nav if the user isn't logged in and the ↵Jeffery To
site is private
2009-08-11two variables $public and $system were generating notices in ↵Brett Taylor
lib/htmloutputter.php, removed because these two parameters are null by default.
2009-08-10Revert "Typo, session_name is a function."Evan Prodromou
This reverts commit d0793c0f44aabb76af2556a690013c143ac9f7a3.
2009-08-10Merge commit 'jeff-themovie/0.8.x-openidonly' into 0.8.xCraig Andrews
2009-08-10Typo, session_name is a function.Adrian Lang
2009-08-10Merge branch 'twitter-oauth' into 0.8.xZach Copley
Conflicts: scripts/getvaliddaemons.php
2009-08-10I forgot that we don't do database upgrades for point releases. So I'veZach Copley
changed Twitter OAuth to store token and token secret in the same field in foreign_link (credentials). This should be changed in 0.9.
2009-08-10Moved some stuff around. More comments and phpcs compliance.Zach Copley
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-08Fix logic that determines if a URL is relative or absolute in script() and ↵Craig Andrews
cssLink()
2009-08-08Merge branch '0.8.x' into twitter-oauthZach Copley
2009-08-08Only populate attachments array element if there are attachmentsZach Copley
2009-08-08Also show XML representation of attachments in the APIZach Copley
2009-08-08Post to Facebook user's stream if notice has an attachment, otherwise post ↵Zach Copley
notice as a status update
2009-08-08Better error handling when updating FacebookZach Copley
2009-08-08Call $this->getNotices() always, becuase $this will be the right class.Brenda Wallace
e.g. TagrssAction or PublicrssAction
2009-08-07bug 1770 conversation link for emailanontwit
2009-08-07Redirect instead of showing an error when the user visits a non-local ↵Craig Andrews
notice's url Use consistent logic in display non-local notice links Fixes http://laconi.ca/trac/ticket/1788
2009-08-07Implemented the list_all and list groups API methods as defined at ↵Craig Andrews
http://laconi.ca/trac/wiki/ProposedGroupsAPI Made the Autocomplete plugin also autocomplete groups
2009-08-06Merge commit 'jeff-themovie/0.8.x-jsonsearchresultslist' into 0.8.xCraig Andrews
2009-08-06Merge commit 'jeff-themovie/0.8.x-subsystems-enabled' into 0.8.xCraig Andrews
2009-08-06Make TwitterStatusFetcher extend ParallelizingDaemonZach Copley
2009-08-06remove redundant/unnecessary linesCraig Andrews
2009-08-06Support the 'lite' parameter to statuses/friends and statuses/followers ↵Craig Andrews
twitter api methods. http://laconi.ca/trac/ticket/1786
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-06Check theme first for CSS files, then use the non-theme path.Craig Andrews
Fixes CSS links in plugins
2009-08-07Fixed missing/null values from JSON search resultsJeffery To
2009-08-06Make 2nd and 3rd cssLink() arguments optionalCraig Andrews
2009-08-06- Rewrote SyncTwitterFriends as a daemonZach Copley
- Made it use OAuth - Code clean up
2009-08-06Abstract out the parallelizing daemon stuffZach Copley
2009-08-05Handle relative and absolute url parameters to script() and cssLink()Craig Andrews
2009-08-05Use script() and cssLink() methods everywhere instead of manually writing ↵Craig Andrews
out javascript and css each time