summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-18Merge branch '0.8.x' of git@gitorious.org:laconica/mainline into 0.8.xZach Copley
* '0.8.x' of git@gitorious.org:laconica/mainline: Removed all the redundant logic in common_replace_urls_callback
2009-08-18Updated Twitter bridge sectionZach Copley
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-18Better loggingZach Copley
2009-08-18Return null if all columns in the compound primary key aren't specifiedZach Copley
2009-08-18Kick user out if she doesn't have FB cookiesZach Copley
2009-08-18IPv4 and IPv6 addresses are picked up in URLsCraig Andrews
Added ".onion" as a possible TLD
2009-08-16Use spinner icon while performing AJAX submissions of favorite/unfavorite ↵brion
button so there's some visual feedback that something's happening.
2009-08-16Merge commit 'jeff-themovie/0.8.x-openid-enabled' into 0.8.xCraig Andrews
2009-08-16Fix bug bug 1563 "opensearch content type incorrectly set"brion
http://laconi.ca/trac/ticket/1563 OpenSearch description info is now sent with correct Content-Type: application/opensearchdescription+xml instead of text/html.
2009-08-16Revert "Revert "Return a 404 when a page is request that has no notices""Evan Prodromou
This reverts commit 1b204fde39271acd38bb8f9dd16734f15c68138a.
2009-08-16Revert "Revert "Return a 404 when a page is request that has no notices""Evan Prodromou
This reverts commit 6c597eabecf2368224938a136d7ac588702bbfd7.
2009-08-14Revert "Return a 404 when a page is request that has no notices"Evan Prodromou
An empty list still exists; we should not return a 404 for empty lists. This reverts commit 355effe6315ab7927a54f44fc9ce903085769b5f.
2009-08-14Revert "Return a 404 when a page is request that has no notices"Evan Prodromou
An empty list still exists; we shouldn't return a 404. This reverts commit c29892c87573e0575b9a4a13210c562e08411148.
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-12Merge branch '0.8.x' of git@gitorious.org:laconica/mainline into 0.8.xEvan 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-12Prevents redirect URLs that have canonical URLs longer than 255 chars from ↵Brett Taylor
being written to the database as their canonical. Redirecting URLs will instead be saved to the database as given. The reason for this is that table 'file' column 'url' is a VARCHAR(255) in MySQL and it silently truncates URLs longer than 255 characters, breaking the url. The proper fix for this is to improve this column, making its type TEXT, but there are no database changes for 0.8.x, so this is the next best thing for data integrity. A migration script for 0.9.x could be written to audit the database checking for redirects and updating these urls to their proper canonical url.
2009-08-11Corrected the Infinite Scroll CSS SelectorsCraig Andrews
Thanks dcostalis for making me aware of the issue!
2009-08-11Return a 404 when a page is request that has no noticesCraig Andrews
2009-08-11Return a 404 when a page is request that has no noticesCraig Andrews
2009-08-11oEmbed provider does not use the twitter api library classes any moreCraig Andrews
2009-08-11Make notice attachment lightbox work after an infinite scroll happensCraig Andrews
2009-08-11reformat newnotice.phpEvan Prodromou
2009-08-11Merge commit 'jeff-themovie/0.8.x-private-returnto' into 0.8.xCraig Andrews
2009-08-11Merge commit 'jeff-themovie/0.8.x-jcrop-0.9.8' into 0.8.xCraig 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-11Set returnto when redirected to login of a private installJeffery To
2009-08-11Added opensearch to the list of public actions.Jeffery To
IE7+ will ask for this (opensearch/people and opensearch/notice) on every page access, and as the content is not sensitive, returning it is better than a 307 redirect.
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-11Updated Jcrop to 0.9.8 (avatar cropping wasn't working in IE7 with 0.9.5)Jeffery To
2009-08-11Merge commit 'mainline/0.8.x' into 0.8.x-notices-in-htmloutputterBrett Taylor
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-11fix for trac bug #1805:Brett Taylor
bug on line 381 referred to non existant variable, and caused a php notice and potentially would create a misconfigured config.php database type setting.
2009-08-11Revert "changed file.url column type from varcahr(255) to varchar(2047)"Brenda Wallace
This reverts commit c1b19929f6234c4b9e30e16bae419c89c38c1169.
2009-08-10Revert "common_config returns false if the config value is not set. ↵Evan Prodromou
Design::toWebColor checks with is_null. Hence the common_config value should be adjusted." This reverts commit 5ba46186b7dd179253023426f6d7cdbbee67ad98.
2009-08-10Revert "Typo, session_name is a function."Evan Prodromou
This reverts commit d0793c0f44aabb76af2556a690013c143ac9f7a3.
2009-08-10Revert "UnsubscribeAction: Add LACONICA gate, fix PHPCS errors, fix error ↵Evan Prodromou
handling typo." This reverts commit e1270b26f5eae1c3d7ea4b954f0bc1f51d73494c.
2009-08-10common_config returns false if the config value is not set. ↵Adrian Lang
Design::toWebColor checks with is_null. Hence the common_config value should be adjusted.
2009-08-10UnsubscribeAction: Add LACONICA gate, fix PHPCS errors, fix error handling typo.Adrian Lang
2009-08-10Merge branch 'master' of git@gitorious.org:laconica/mainlineEvan Prodromou
2009-08-10$args Was Out Of Scope in CheckMirror.Christopher Vollick
It looks like when the code was factored out no one noticed this variable doesn't exist here.
2009-08-10Merge commit 'dcostalis/econversation' into 0.8.xCraig Andrews
2009-08-10Workaround for bug 1317 '"What's up" textarea on iPhone missing proper ↵brion
submit button' http://laconi.ca/trac/ticket/1317 Mobile Safari shows a 'return' button for making newlines in a <textarea> where it would show a submit button for plain <input> text fields... However there's a keydown event handler which is supposed to detect hitting enter and submit the form for us. This didn't work on Mobile Safari because it was checking of 13 ("\r") but the iPhone sends us char 10 ("\n") here. Changed to accept both, so we now submit on hitting 'return' on iPhone. Note: I also added a blur() to move focus out of the textarea, which closes the on-screen keyboard. It will also take focus out of the textarea on other platforms, but this is probably the right thing -- the same thing happens when you push the "send" button after all. Also note: unfortunately the layout right now looks pretty awful generally while editing on the iPhone; you can't see the send button or character counter while typing at the default zoom, and it doesn't zoom out after you submit so you can't really see where your message is going. This should be dealt with in general by fixing up the mobile skin variant...
2009-08-10Merge commit 'jeff-themovie/0.8.x-openidonly' into 0.8.xCraig Andrews