summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-03-15Background deletion of user accounts. Notices are deleted in chunks, then ↵Brion Vibber
the user itself when they're all gone. While deletion is in progress, the account is locked with the 'deleted' role, which disables all actions with rights control. Todo: * Pretty up the notice on the profile page about the pending delete. Show status? * Possibly more thorough account disabling, such as disallowing all use for login and access. * Improve error recovery; worst case is that an account gets left locked in 'deleted' state but the queue jobs have gotten dropped out. This would leave the username in use and any undeleted notices in place.
2010-03-15Drop result ID from data objects on clone(). This keeps the original object ↵Brion Vibber
working if it was in the middle of a query loop, even if the cloned object falls out of scope and triggers its destructor. This bug was hitting a number of places where we had the pattern: $db->find(); while($dbo->fetch()) { $x = clone($dbo); // do anything with $x other than storing it in an array } The cloned object's destructor would trigger on the second run through the loop, freeing the database result set -- not really what we wanted. (Loops that stored the clones into an array were fine, since the clones stay in scope in the array longer than the original does.) Detaching the database result from the clone lets us work with its data without interfering with the rest of the query. In the unlikely even that somebody is making clones in the middle of a query, then trying to continue the query with the clone instead of the original object, well they're gonna be broken now.
2010-03-15Initial Twitpic-like media upload endpoint /api/statusnet/media/uploadZach Copley
2010-03-15Blow more timeline caches on notice delete. Fixes paging on public and ↵Brion Vibber
profile timelines after deleting something from the first page.
2010-03-15Fix feed discovery: html:link@rel can contain multiple values; saw ↵Brion Vibber
rel="updates alternate" in the wild at http://tantek.com/ which broke old discovery code.
2010-03-15Ticket #2242: fix reading of inline XHTML content in Atom feeds for OStatus ↵Brion Vibber
input. Lookup of the <div> needed to check for the XHTML namespace.
2010-03-15use canonical user url in xrdJames Walker
2010-03-15Consolidate and patch up redirection to remote notices.Brion Vibber
Now using the correct order consistently (URL, then URI if http/s), and as a niceness measure skipping the redirect if the only URL we have stored is the local one. (Could happen if remote OStatus feed has tag URIs and no alt link.)
2010-03-14give preference to rel="photo" (per latest ActivityStreams spec), but still ↵James Walker
support rel="avatar" for compat
2010-03-13Performing & allowing host-meta discovery by http url (in addition to ↵James Walker
webfinger acct)
2010-03-13changing keypair to text to hold a full 1024bit keypairJames Walker
2010-03-13allow profile_url to be used in ostatus:attentionJames Walker
2010-03-13Merge remote branch 'statusnet/testing' into crypt-rsa-switchJames Walker
2010-03-13* wrong param order to in_arrayJames Walker
* in getContent() if "type" isn't set, assume text (per atom spec)
2010-03-12cleaning up key generationJames Walker
2010-03-12converting key generation to new crypt libraryJames Walker
2010-03-12updating phpseclib to latest cvs - fixes a bunch of key generation issuesJames Walker
2010-03-12converted toString to new crypt libraryJames Walker
2010-03-12converted sign, verify and fromString to new crypt libJames Walker
2010-03-12Adding Crypt library from http://phpseclib.sourceforge.net/James Walker
2010-03-12removing deprecated PEAR Crypt_RSAJames Walker
2010-03-12Fixes for updating indices, charset/collation and engine type on ↵Brion Vibber
plugin-created tables. Under MySQL, new tables will be created as InnoDB with UTF-8 (utf8/utf8_bin) same as core tables. Existing plugin tables will have table engine and default charset/collation updated, and string columns will have charset updated, at checkschema time. Switched from 'DESCRIBE' to INFORMATION_SCHEMA for pulling column information in order to get charset. A second hit to INFORMATION_SCHEMA is also needed to get table properties. Indices were only being created at table creation time, which ain't so hot. Now also adding/dropping indices when they change. Fixed up some schema defs in OStatus plugin that were a bit flaky, causing extra alter tables to be run. TODO: Generalize this infrastructure a bit more up to base schema & pg schema classes.
2010-03-12OpenID fixes:Brion Vibber
- avoid notice spew when checking sreg items that weren't provided - fix keys spec for user_openid, clears up problems with removing openid associations - fix keys spec for user_openid_trustroot
2010-03-12Merge commit 'origin/testing' into 0.9.xBrion Vibber
2010-03-12Merge commit 'origin/0.9.x' into 0.9.xBrion Vibber
2010-03-12Plugin to open up rel="external" links on a new window or tabSarven Capadisli
2010-03-12Output enclosing geo elements and GeoRSS xmlns in XML timelinesZach Copley
2010-03-12Add Atom self link to tag timelineZach Copley
2010-03-12Add Atom self link to favorites timelineZach Copley
2010-03-12- Output correct content header for Atom output in mentions timelineZach Copley
- Add self link
2010-03-12Output Atom self link in home timelineZach Copley
2010-03-12Calculate Atom self link for friends timelineZach Copley
2010-03-11Don't switch people from the Memcache to Memcached plugin without their ↵Brion Vibber
knowledge when using back-compatibility $config['memcached']['enabled']. Performance characteristics for Memcached version on large-scale sites not tested yet. New installations should be using addPlugin explicitly.
2010-03-11Remove stray whitespace at file start that snuck into last updateBrion Vibber
2010-03-11fubared a715271f847fed7d7c725c5b752ea7a00800520a - this is the fixCraig Andrews
2010-03-11Fixes for password recovery; lookups for unconfirmed addresses were failing ↵Brion Vibber
or inconsistent (using staticGet with unindexed fields, which would not get decached correctly and could get confused if multiple pending confirmations of different types are around). Also uses updated email functions to include extra headers and ensure the proper address is used.
2010-03-12- Output correct content type header for public timeline Atom feedZach Copley
- Also calculate Atom link and self links properly
2010-03-12More generalized method for calculating Atom rel="self" linksZach Copley
2010-03-11reuse Subscription::cancel instead of reimplementing it.Craig Andrews
I didn't know this method existed before... pretty neat.
2010-03-11move image type checking to constructor, so checking will be done in all casesCraig Andrews
check if the relevant image handling function exists when deciding if the image type is supported
2010-03-12Scrub all atom output with common_xml_safe_str()Zach Copley
2010-03-12Add id and updated elements to atom sourceZach Copley
2010-03-11Generator tag should have 'uri' attr not 'url'Zach Copley
2010-03-11Add self link to user and group rss2 feedsZach Copley
2010-03-11Output self link in rss2 feeds, if availableZach Copley
2010-03-11- Output georss xmlns in rss elementZach Copley
- Only output geopoint in rss if one is set
2010-03-11A null mimetype is not an enclosure (more likely than not means there was an ↵Craig Andrews
error)
2010-03-11foaf:holdsAccount is deprecated in favour of foaf:account. SeeSarven Capadisli
http://lists.foaf-project.org/pipermail/foaf-dev/2009-December/009903.html for the news. Patch by Toby Inkster <mail@tobyinkster.co.uk>.
2010-03-11Updated theme datesSarven Capadisli
2010-03-11Fixes the indenting bug for geo anchor. Also mention in trac ticket 2235Sarven Capadisli