summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2010-11-29Nickname class to encapsulate validation & common regexes for nickname formats.Brion Vibber
This provides initial infrastructure for decoupling display names from internal canonical names, but continues to have us storing and using the canonical forms. It should be/become possible to provide mixed-case and underscore-containing names in links, @-mention, !-group, etc, but we don't store those alternate forms generally.
2010-11-29Work in progress on nickname validation changes. lib/nickname.php appears to ↵Brion Vibber
have been destroyed by NetBeans and will be rewritten shortly. Sigh.
2010-11-29Add some doc comments on nickname-related stuff in util.phpBrion Vibber
2010-11-26Make userxrd work without OStatus enabledEvan Prodromou
2010-11-26Make userxrd part of the default hostmetaEvan Prodromou
2010-11-26Move user xrd action to core and use hooks to extendEvan Prodromou
Moved the Webfinger user XRD action from the OStatus plugin to core. Added hooks to add OStatus-specific stuff, but kept general stuff in the core.
2010-11-26move xrd and hostmeta out of the OStatus plugin and into coreCraig Andrews
add event for setting up hostmeta, and use them in the OStatus plugin
2010-11-19Merge branch 'master' into 0.9.xBrion Vibber
2010-11-19Fix ticket #2700: some numeric IDs were misinterpreted as hex numbers ↵Brion Vibber
instead of strings when '0x123' passed in. Switched from is_numeric() to a custom self::is_decimal() which is more strict. This makes our behavior match Twitter's API a bit better, so eg this: http://identi.ca/api/statuses/home_timeline/0x6d686b.xml should now be equivalent to: http://identi.ca/api/statuses/home_timeline.xml?screen_name=0x6d686b instead of: http://identi.ca/api/statuses/home_timeline.xml?user_id=7170155
2010-11-19Ticket #2797: replace addslashes() with explicit escape calls on the DB objectsBrion Vibber
2010-11-19Merge branch 'master' into 0.9.xBrion Vibber
2010-11-19Ticket #1987: support since_id on API notice search methods.Brion Vibber
max_id is not yet implemented, as it'll need support added to the search backends. (since_id we get 'for free' by just cropping off the list, it'll do for now)
2010-11-19Merge branch 'master' of gitorious.org:statusnet/mainline into 0.9.xBrion Vibber
2010-11-19Ticket #2899: clean up inbox/outbox DM form a bit:Brion Vibber
- "To" drop-down list now defaults to showing "Select recipient:" instead of the first person on your list, reducing liklihood of accidentally sending a message to the wrong person. - When there are no mutual subscribers to send to, instead of an empty list the list now shows 'No mutual subscribers.' In both cases, attempting to send when the default is selected displays an error message. I'm not disabling form elements in part because our themes right now don't show disabled button state correctly; we might want to tighten that up a bit more once fixed.
2010-11-19Merge branch 'master' of gitorious.org:statusnet/mainline into 0.9.xBrion Vibber
2010-11-18Fix regression in PopularNoticeSection: tag parameter was broken, causing ↵Brion Vibber
sidebar on tag pages to show untagged favorites.
2010-11-17Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.xZach Copley
2010-11-17Facebook: Gracefully handle disconnectionZach Copley
2010-11-17Add $config['attachments']['process_links'] to allow disabling processing of ↵Brion Vibber
mentioned URL links for attachment info (oEmbed lookups) and dereferencing of redirects that we didn't have shortened ourselves. This option may be useful for intranet sites that don't have direct access to the internet, as they may be unable to successfully fetch those resources.
2010-11-17include full updated source of JSON2 and use updated minified versionEvan Prodromou
2010-11-17use minified version of jquery.cookie.jsEvan Prodromou
2010-11-17use minified version of jquery.form.jsEvan Prodromou
2010-11-17Merge branch '0.9.x' into minifyjsEvan Prodromou
2010-11-17move EndScriptMessages event into if blockEvan Prodromou
2010-11-17Use minified version of util.jsEvan Prodromou
2010-11-16Merge branch 'master' into 0.9.xBrion Vibber
2010-11-16Ticket 2895: exclude silenced users from popular notice listsBrion Vibber
2010-11-16Prep for ticket #2895: consolidate common code from PopularNoticeList and ↵Brion Vibber
FavoritedAction for fetching popular notice lists
2010-11-16Fix syntax errorZach Copley
2010-11-15Store the current user in the CurrentUserDesignActionZach Copley
2010-11-16Merge branch '0.9.x' into facebook-upgradeZach Copley
2010-11-15Merge branch 'master' of gitorious.org:statusnet/mainline into 0.9.xBrion Vibber
2010-11-15RemoteProfileAction cleanup:Brion Vibber
- meta robots to prevent spidering - a little notice if silenced
2010-11-15Workaround for display of Twitter remote users in remoteprofile (ModPlus ↵Brion Vibber
plugin): use 73px avatar if no 96px present
2010-11-15some User -> Profile cleanup to help in adapting the profile page action to ↵Brion Vibber
show stuff for remote users. Subscriptions, groups, roles, etc are all on profiles now so go ahead and use em.
2010-11-15restore empty showFallback() for attachment display; still needed for one-offsBrion Vibber
2010-11-15Merge branch '0.9.x' of gitorious.org:statusnet/mainline into 0.9.xBrion Vibber
2010-11-15Add some basic oEmbed lookup test cases; fixed a bug in discovery fallback.Brion Vibber
2010-11-15Drop some debug linesBrion Vibber
2010-11-15Swap the Services_oEmbed wrapper in oEmbedHelper out for doing it ourselves...Brion Vibber
- workaround for providers that are skimpy on their data, such as missing width/height or thumbnail_width/thumbnail_height - workaround for YFrog listing "image" instead of "photo" type - generally more lax about formatting: if it comes back and looks kinda ok, we'll take it. - discovery uses system HTML parser, should be more robust if the links include things like ampersands with proper HTML-level escaping
2010-11-15Merge remote branch 'gitorious/0.9.x' into 0.9.xEvan Prodromou
2010-11-15Merge branch 'atompub' into 0.9.xEvan Prodromou
Conflicts: actions/apistatusesshow.php actions/apitimelineuser.php
2010-11-12Encapsulate the oEmbed -> oohembed fallback into oEmbedHelper class. Also ↵Brion Vibber
added a chance to whitelist sites that don't show discovery info but do have oEmbed API endpoints, and to provide alternate APIs for some common services. Newly supported: - TwitPic: added a local function using TwitPic's API, since the oohembed implementation for TwitPic produced invalid output which Services_oEmbed rejects. (bug filed upstream) Tweaked... - Flickr: works, now using whitelist to use their endpoint directly instead of going through oohembed - Youtube: worked around a bug in Services_oEmbed which broke the direct use of API discovery info, so we don't have to use oohembed. Not currently working... - YFrog: whitelisting their endpoint directly as the oohembed output is broken, but this doesn't appear to work currently as I think things are confused by YFrog's servers giving a '204 No Content' response on our HEAD checks on the original link.
2010-11-12Only use saved thumbnails for notice list attachment thumbs -- don't attempt ↵Brion Vibber
to search enclosures for photo types. We now save thumbs directly for oEmbed photos that don't list a separate thumb entry (like Flickr), so it's not needed. Keeps things cleaner :D
2010-11-12Merge branch 'master' of gitorious.org:statusnet/mainline into 0.9.xBrion Vibber
Conflicts: actions/newgroup.php
2010-11-12Merge branch 'oembed-thumbnails' into 0.9.xBrion Vibber
2010-11-12Add a quick config setting to disable/enable display of thumbnails in ↵Brion Vibber
regular notice lists (attachments/show_thumbs) - disabling gives the same display as before this feature was added (but changes to oembed handling are still there, and the lightbox popup is gone)
2010-11-10Add error logging for a couple send-fail cases in XMPP outBrion Vibber
2010-11-10CSS class tweak for inline attachment thumbnails to avoid things thinking ↵Brion Vibber
they're content links
2010-11-10Fix isHTTPS to work correctly for Cherokee and IISCraig Andrews