summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-11-30Localisation updates from http://translatewiki.net.Siebrand Mazeland
2010-11-30Localisation updates from http://translatewiki.net.Siebrand Mazeland
2010-11-30a quick script to flush the router from cache if neededEvan Prodromou
2010-11-30use a CRC32 of the plugin names rather than actual namesEvan Prodromou
2010-11-30Squashed commit of the following:Evan Prodromou
commit 39fdd181d95d2c39a3ea1ca330b10a99a92b961f Author: Evan Prodromou <evan@status.net> Date: Mon Nov 29 10:37:49 2010 -0500 use cache key prefix for router cache key commit 4cb9e56941922489b83d6425c059cf770991e68f Author: Evan Prodromou <evan@status.net> Date: Mon Nov 29 10:31:21 2010 -0500 use a unique hashkey based on the software version and loaded plugins commit 44458b48aef719543e11f83b41fded65cbcb8be9 Author: Evan Prodromou <evan@status.net> Date: Sat Nov 27 17:04:15 2010 -0500 cache the NUM object commit 809c188307a9b4ada15f3d7fa573a6034341efef Author: Evan Prodromou <evan@status.net> Date: Sat Nov 27 15:44:12 2010 -0500 accelerate routing by pivoting paths on actions
2010-11-29Merge branch 'namecase' into 0.9.xBrion Vibber
2010-11-29Normalize username strings in command parsingBrion Vibber
2010-11-29General code safety: validate input and escape SQL strings in ↵Brion Vibber
common_relative_profile()
2010-11-29Use Nickname::DISPLAY_FMT instead of manual regex fragments in router setup ↵Brion Vibber
for nickname parameters.
2010-11-29FacebookBridge:Zach Copley
- Don't try to access Foreign_link if it doesn't exist - Remove noisy debugging statement
2010-11-29Replace a couple plugin usages of NICKNAME_FMT with Nickname::normalize()Brion Vibber
2010-11-29Add Nickname test cases for @-reply regexes in common_find_mentionsBrion Vibber
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-29doc comments on User::allowed_nicknameBrion Vibber
2010-11-29Start on some nickname-validation test cases: several of these fail right ↵Brion Vibber
now because we had regressions in 0.8 or 0.9 where we lost normalization of uppercase and some other chars.
2010-11-29Add some doc comments on nickname-related stuff in util.phpBrion Vibber
2010-11-29Localisation updates from http://translatewiki.net.Siebrand Mazeland
2010-11-27Net URL Mapper Path plex fileEvan Prodromou
2010-11-27Net_URL_Mapper 0.9.1Evan Prodromou
2010-11-26Merge remote branch 'gitorious/0.9.x' into 0.9.xEvan Prodromou
2010-11-26Make OStatusPlugin define push feed relEvan Prodromou
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-24Update util.min.js for attachment preview on Firefox, ChromeBrion Vibber
2010-11-24Preview thumbnails of uploaded image attachments before posting on ↵Brion Vibber
supporting browsers. Tested working so far: * Firefox 3.6 and 4.0 (FileReader -> data URL) * Chrome 8 (createObjectURL; FileReader also works) Tested with limited support: * Safari 5.0.3 (no preview, but we can show type and size) Tested and known not to support FileAPI, keeps current behavior: * Opera 11 beta
2010-11-24Add LogFilter plugin: quickie way to filter out/in log output based on ↵Brion Vibber
priority or keyword matches. Should be helpful for folks who can't easily adjust their syslog filtering.
2010-11-23logging tweak for Twitter status ID issueBrion Vibber
2010-11-23Fixes for Twitter bridge breakage on 32-bit servers. New "Snowflake" 64-bit ↵Brion Vibber
IDs have become too big to fit in the integer portion of double-precision floats, so to reliably use these IDs we need to pull the new string form now. Machines with 64-bit PHP installation should have had no problems (except on Windows, where integers are still 32 bits)
2010-11-22FacebookBridge - fail gracefully if the user has already deleted aZach Copley
linked notice on Facebook.
2010-11-22Merge branch 'master' into 0.9.xBrion Vibber
2010-11-22Fixes for delete_status_network.sh:Brion Vibber
* add some sanity checking: abort on failures instead of plodding through * add some progress / error output * fetch the target database server name from the status_network entry and use that to target the DROP DATABASE Note that database names and other overrides in status_network entry may still not be seen.
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-19Merge branch 'master' into 0.9.xBrion Vibber
2010-11-19Ticket #2724: gracefully handle attempts to delete or fave/unfave a remote ↵Brion Vibber
Twitter notice if a failure occurs. Most annoying error case being where the notice was already faved or deleted on Twitter! :) Such errors will now just fail out and log a note to the syslog -- the rest of what we were doing will continue on unhindered, so you can still delete, favorite, etc and it just won't sync the info over in that case.
2010-11-19Merge branch 'master' into 0.9.xBrion Vibber
2010-11-19Ticket #2796: don't allow arbitrary overriding of the 'action' class and ↵Brion Vibber
other parameters pulled from the URL mapper. This protects against oddities such as manual invocation of the ClientError action, which can spoof error messages.
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 #2441: fix deletion of avatars when a profile is deleted.Brion Vibber
Code was doing a batch call to $avatar->delete() which fails to properly engage the file deletion code. Calling the existing profile->delete_avatars() function deletes them individually, which makes it all work nice again.
2010-11-19Drop PEAR HTTP_Request library -- no longer used since Services_oEmbed was ↵Brion Vibber
dropped. (HTTP_Request2 is separate and is widely used. Net_URL is also used separately by Net_URL_Mapper.)
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-18Automatically make Facebook admin panel available if the FacebookBridgeZach Copley
plugin is installed.