summaryrefslogtreecommitdiff
path: root/lib/util.php
AgeCommit message (Collapse)Author
2009-10-19merge from testingEvan Prodromou
2009-10-19Utilize NICKNAME_FMT constant when creating at replies0.8.2rc1Eric Helgeson
2009-10-19Merge branch 'i18n-work' into i18n-0.9.xBrion Vibber
2009-10-16Drop a debug info line that isn't really neededBrion Vibber
2009-10-16Workaround for not fully natively set up locales with native gettext...Brion Vibber
Set "en_US" locale first, then the locale we want for our user. This seems to initialize gettext properly somehow, which I could see when the languages would come up briefly on settings save when changing from a supported language. Definitely works for ga_ES on my Ubuntu system (8.10 intrepid), hopefully reasonably consistent.
2009-10-11Merge remote branch 'statusnet/0.8.x' into 0.9.xCraig Andrews
Conflicts: lib/common.php
2009-10-07Fixed E_NOTICE when returnto isn't setJeffery To
2009-10-01Revert "Outputting UTF-8 charset in document header irrespective of mimetype."Sarven Capadisli
This reverts commit 353f58c23149159306131b0819de713da6b69464. Even though outputting UTF-8 by default at all times is a good thing, it shouldn't be forced in startHTML().
2009-09-30Merge branch '0.8.x' into 0.9.xSarven Capadisli
2009-09-30Outputting UTF-8 charset in document header irrespective of mimetype.Sarven Capadisli
2009-09-27Fix some bugs in the URL linkification, and fixed the unit test.Craig Andrews
2009-09-23Merge branch '0.8.x' into 0.9.xEvan Prodromou
Conflicts: actions/requesttoken.php classes/File.php install.php lib/noticeform.php
2009-09-23Revert "When viewing a page in https, all links to non-actions (links to ↵Evan Prodromou
CSS, JS, etc) should be https. Fixes the mixed content warnings that browsers display." This reverts commit 20997619b353faa94591800fbfc02bc19a4cdce3. The commit doesn't take into account having different servers (theme server, avatar server) and being able to set HTTPS for some but not all.
2009-09-22Allow some punctuation instead of just spaces before @user, !group, and #tagCraig Andrews
2009-09-22Link hrefs are the short url, and title is the long urlCraig Andrews
2009-09-21Make link href the long url so users can tell where links are goingCraig Andrews
2009-09-21'easy' way to handle notices at queue timeEvan Prodromou
2009-09-21add a hook at point of enqueuing noticesEvan Prodromou
2009-09-21Fixes for posting shortened URLs or uploadsBrion Vibber
* If no shortener plugin is enabled, fall back to using the long URL instead of trying to load nonexistent ur1.ca plugin and throwing 'Class does not exist' * Fix bad call to call_user_func_array() in callback_helper() which broke all shortening
2009-09-13When viewing a page in https, all links to non-actions (links to CSS, JS, ↵Craig Andrews
etc) should be https. Fixes the mixed content warnings that browsers display. Fixes http://status.net/trac/ticket/1552
2009-09-10Allow @ signs in the path, querystring, and fragment parts of URLsCraig Andrews
2009-09-10Re-use enclosure decision logic to decide if a link gets a ↵Craig Andrews
paperclip/lightbox popup.
2009-09-10Revert "If a shortened URL begins with http://, don't include it in the ↵Craig Andrews
shortened url. Saves 7 characters, which is pretty awesome for 140 character max length notices." This reverts commit e2848eb8621dd645fa68cb1641c0af1df5530408. Downstream consumers of our notices (such as Friendfeed, Facebook, etc) don't have sophisticated URL detection, so a notice that reads: "check out ur1.ca/1" won't be linked. So the http:// prefix is mandatory.
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