summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-08-25All tests pass except for those that require matching parens or bracketsCraig Andrews
2009-08-25Improved the URL tests, and improve the matcher so more tests are passed. ↵Craig Andrews
The remaining failing tests I believe are incorrect.
2009-08-25Merge commit 'mainline/0.8.x' into 0.8.xBrenda Wallace
2009-08-25beginning of hashtag testsBrenda Wallace
2009-08-24ftps protocol should be handled the same way as ftpCraig Andrews
Canon urls that have a protocol followed by a host (and no path) automatcally get a trailing slash by the canon function - make the unit test match that
2009-08-24Merge branch '0.8.x' of git@gitorious.org:laconica/mainline into 0.8.xEvan Prodromou
2009-08-24change class to rel in unit tests for URL checkEvan Prodromou
2009-08-25ignore the local folderBrenda Wallace
2009-08-25moved template folder into it's own method, so can be overriddenBrenda Wallace
2009-08-25fix up tpl/index.php so doesn't throw errors on hosts with php shorttags onBrenda Wallace
2009-08-24Add unit test directory and first testEvan Prodromou
2009-08-24Merge branch '0.8.x' of git@gitorious.org:laconica/mainline into 0.8.xEvan Prodromou
2009-08-21Finally got the IPv6 regex right in the url finderCraig Andrews
2009-08-21Improve url finding more. Properly end urls when a space is caught.Craig Andrews
2009-08-21URLs surrounded by (),{}, and [] are correctly handled now!Craig Andrews
2009-08-21kill stupid Finder metadata file that made it into my checkin presumably due ↵Brion Vibber
to 'git add php-gettext' deciding to find all hidden files in the directory for me :P
2009-08-21Tweak to php-gettext stream reader; initialize local variable before ↵Brion Vibber
appending data to it to avoid triggering an E_NOTICE message.
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-21Merge branch '0.8.x' of git@gitorious.org:laconica/mainline into 0.8.xEvan Prodromou
2009-08-21We don't need to re-distribute jquery-autocomplete demoEvan Prodromou
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-20var empty check did not function as expected.Eric Helgeson
made script executable
2009-08-20add $config['attachments']['path'] to the config.php.samplemEDI
2009-08-20Change the notice type defines all into class constants and adapt all files.Marcel van der Boom
2009-08-20Merge commit 'cvollick/resolveAliases' into 0.8.xCraig Andrews
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-19Resolve Group Aliases in showgroup.phpChristopher Vollick
For Example, let's say 'alias' was an alias for the group 'group'. Previously, if you went to '/group/group' it'd work, but '/group/alias' it'd say "No Such Group". This was untrue. Now it checks aliases when it can't find a group with a given name. If it finds one it redirects you to the original group.
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!