summaryrefslogtreecommitdiff
path: root/lib/util.php
AgeCommit message (Collapse)Author
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
2009-06-26Merge branch '0.8.x' into small-fixesJeffery To
2009-06-25Return clippy to his rightful place next to attachmentsZach Copley
2009-06-24make stomp server work with username and passwordEvan Prodromou
2009-06-24Merge branch '0.8.x' into small-fixesJeffery To
Conflicts: lib/peoplesearchresults.php lib/profilelist.php
2009-06-23append uploads to content rather than showing them doubleEvan Prodromou
2009-06-20Update copyright dates in files modified in 2009Evan Prodromou
2009-06-20change Controlez-Vous to Control YourselfEvan Prodromou
2009-06-15allow a configured base for cache keysEvan Prodromou
2009-06-14Link and distribute notices tagged for a group aliasEvan Prodromou
Correctly link and distribute notices tagged for a group alias. Added a helper function, getForNickname(), to User_group, to make it easier to get a group by its nickname or aliases.
2009-06-12Fix "Trying to get property of non-object" errors when a user tries to log ↵Jeffery To
in using an unknown nickname
2009-06-10merge error in util.phpEvan Prodromou
2009-06-08Merge branch '0.7.x' into 0.8.xEvan Prodromou
Conflicts: classes/Notice.php classes/Profile.php lib/common.php lib/util.php scripts/getvaliddaemons.php scripts/stopdaemons.sh
2009-05-30Removing inbox and memcached daemon handlingEvan Prodromou
2009-05-28Only enqueue inbox-dependent transports after inboxes have been filledEvan Prodromou
2009-05-27Handles local aliases (redirection) for file uploads attached to notices.Robin Millette
2009-05-25Display thumbnail on hover over links in notices when appropriate.Robin Millette
2009-05-24Removed big clip and replaced with smaller inline one next to each URL (in a ↵Robin Millette
notice) that's actually an attachment. Overlay (popup) on click.
2009-05-18Removed dead code.Robin Millette