summaryrefslogtreecommitdiff
path: root/lib/util.php
AgeCommit message (Collapse)Author
2009-09-09Merge remote branch 'laconica/0.8.x' into 0.9.xCraig Andrews
2009-09-09If a shortened URL begins with http://, don't include it in the shortened ↵Craig Andrews
url. Saves 7 characters, which is pretty awesome for 140 character max length notices.
2009-09-09Merge remote branch 'laconica/0.8.x' into 0.9.xCraig Andrews
Conflicts: lib/omb.php
2009-09-09:: isn't a valid IPv6 address for our purposesCraig Andrews
2009-09-05more info in error message, to help next person who has to debug localesbrenda
2009-09-04Added additional characters as allowed in URLs.Craig Andrews
2009-09-03Pluginize the URL shortenersCraig Andrews
2009-09-02Merge remote branch 'laconica/0.8.x' into 0.9.xCraig Andrews
Conflicts: lib/common.php lib/twitter.php
2009-08-31Fix attachment savingCraig Andrews
2009-08-31Allow :'s in the path, query string, and fragment parts of the url ↵Craig Andrews
(Mediawiki URLs often do this)
2009-08-28Merge branch '0.8.x' of git@gitorious.org:laconica/mainline into 0.8.xEvan Prodromou
2009-08-28Add % and ~ as valid characters in the path, querystring, and fragment parts ↵Craig Andrews
of URLs
2009-08-28fix 'callback_helper'0.8.1Evan Prodromou
2009-08-27make URL analyzer save new info on URLs0.8.1rc2Evan Prodromou
2009-08-27remove duplicate save of Notice and streamline attachment detectionEvan Prodromou
2009-08-27reformat curry() to make my editor happyEvan Prodromou
2009-08-27Merge branch '0.8.x' of git@gitorious.org:laconica/mainline into 0.8.xEvan Prodromou
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-27Do not used named capturing groupsCraig Andrews
I'm not sure all php 5.2's are compiled with a PCRE library that supported named captures.
2009-08-27Merge branch '0.8.x' into 0.9.xEvan Prodromou
2009-08-25global search and replace for laconica -> statusnetEvan Prodromou
2009-08-25a distributed -> the distributedEvan Prodromou
2009-08-25change Laconica and Control Yourself to StatusNet in PHP filesEvan Prodromou
2009-08-25Allow ({['" to preceded #tagsCraig Andrews
2009-08-25Handle grouping symbols ()[]{} correctly. Now passing all tests!Craig Andrews
2009-08-25Add UTF-8 encodings of the IDN TLDsCraig Andrews
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-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-21Merge branch '0.9.x' into openidpluginEvan Prodromou
Conflicts: actions/login.php actions/register.php
2009-08-21Linkifier support many more urls, and less mismatchesCraig Andrews
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-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-21url-shortening check correctly checks max notice lengthEvan Prodromou
2009-08-21make common_config() handle nulls correctlyEvan Prodromou
2009-08-20Change the notice type defines all into class constants and adapt all files.Marcel van der Boom
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-04move check for SSL from util.php to OpenIDPluginEvan Prodromou
2009-08-04add an event for determining if an action is sensitiveEvan Prodromou
2009-08-02Fixed PHP Notices:Jeffery To
Undefined index: HTTP_X_FORWARDED_FOR Undefined index: HTTP_CLIENT_IP Undefined variable: proxy Also fixed the return value order to match calls to common_client_ip() in actions/api.php and lib/rssaction.php
2009-08-02Fixed PHP Notice "Use of undefined constant session_name - assumed ↵Jeffery To
'session_name'"
2009-07-26lowercase tags using mb_convert_case(), which understands many more ↵Brenda Wallace
alphabets than I do.
2009-07-22Merge commit 'br3nda/0.8.x-hashtags' into 0.8.xCraig Andrews
2009-07-21Detect xmpp uri's and make them into hyperlinksCraig Andrews
http://laconi.ca/trac/ticket/1592
2009-07-20show full utf8 in tagsBrenda Wallace
2009-07-04don't try to show non-objectEvan Prodromou
2009-07-03Merge branch '0.8.x' into queuemanagerEvan Prodromou