summaryrefslogtreecommitdiff
path: root/lib/util.php
AgeCommit message (Collapse)Author
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-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-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-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-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-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
2009-07-02Make logging facility configurableZach Copley
2009-07-02Merge branch '0.8.x' into queuemanagerEvan Prodromou
2009-07-01Merge branch '0.8.x' of git@gitorious.org:+laconica-developers/laconica/dev ↵Evan Prodromou
into 0.8.x
2009-07-01better transport choices when xmpp is disabledEvan Prodromou
2009-07-01take out session handler notificationEvan Prodromou
2009-07-01Add UnQueueManager for immediate handlingEvan Prodromou
Perhaps it's a little precious, but I took out the switches in util.php to determine what's supposed to be sent when, and made a queuemanager class that will just do things when they're supposed to be done.
2009-06-30Merge commit 'jeff-themovie/small-fixes' into 0.8.xZach Copley
* commit 'jeff-themovie/small-fixes': Fix missing max_id in API search calls Fix "Trying to get property of non-object" errors when a user tries to log in using an unknown nickname Fix "Trying to get property of non-object" errors when accessing the people search results page Fix "Undefined variable: cnt" Fix "Trying to get property of non-object" errors in groupeditform.php Fix "Undefined property: DisfavorAction::$id"
2009-06-28better output for common error handlerEvan Prodromou
2009-06-28extract log-line formatting to its own functionEvan Prodromou
2009-06-28don't canonicalize people's text into URLsEvan Prodromou
2009-06-28start of queuemanager codeEvan Prodromou
2009-06-27log IP for API auth errorsEvan Prodromou
2009-06-27some debugging code for sessionsEvan Prodromou
2009-06-27use the session class to store sessionsEvan Prodromou
2009-06-27a memcached_dataobject class for saving sessionsEvan Prodromou
2009-06-27marker in sessionsEvan Prodromou