summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-12-17only run explain on selectsBrion Vibber
2010-12-17Event hook for SQLProfileBrion Vibber
2010-12-17SQLProfile: quickie plugin to run DB queries through 'explain' and log ones ↵Brion Vibber
that trigger filesort or temporary table
2010-12-17move activity importing code to two different queuehandler classesEvan Prodromou
2010-12-17Move accountrestorer class to feed importerEvan Prodromou
2010-12-17move code to get an author object for a feed to a library from Ostatus_profileEvan Prodromou
2010-12-16Document a few undocumented administration related eventsZach Copley
2010-12-16Tickets #2112, 2333, 1677, 2362, 2831: fix AJAX form posting on SSL page ↵Brion Vibber
views with ssl=sometimes These have been failing for ages due to our outputting full URLs all the time, usually with the default protocol instead of the current one. Forms would get output with an http: URL in their contents even when destined for an HTTPS page; while a regular form submission would just warn you about the secure->insecure transition, the AJAX code was failing outright and then not bothering to fall back to the regular submission. I found it was easy to detect the mismatch -- just check the target URL and the current page's protocol before submitting. Since failing over to non-AJAX submission to the HTTP URL throws up a warning, I figured it'd be easier (and much nicer for users) to just let it rewrite the target URL to use the secure protocol & hostname before doing the final submit. This check is now automatically done for anything that calls SN.U.FormXHR() -- making most of our buttons on notices and profile/group headers work naturally. The notice form setup code also runs the rewrite, which gets posting working without an error dialog. I'd prefer in the long run to simply use relative URLs in most of our output; it avoids this problem completely and lets users simply stay in the current protocol mode instead of being constantly switched back to HTTP when clicking around. (Note that folks using the SSLAlways extension to Firefox, for instance, will have their browsers constantly sending them back to HTTP pages, mimicking the desired user experience even though we haven't fully implemented it. These folks are likely going to be a lot happier with forms that submit correctly to go along with it!)
2010-12-16Fix for ticket #2910: fix inconsistencies in notice posting response display ↵Brion Vibber
that broke help command, could be generally wonky Previous code was importing nodes from the XHR result into current document, then pulling text content of what might be the right element, then concat'ing that straight into HTML. Eww! Now pulling the text content straight from the XHR result -- same element that we check for existence of -- and using jQuery's own text() to do the getting and setting of text. Also note that some browsers might have been pulling HTML instead of text, or other funkiness.
2010-12-16Add lots of doc comments to util.js. Most stuff makes some kind of stuff, ↵Brion Vibber
but some is kinda.... funky :D These comments are all stripped during minification, so util.min.js remains unchanged.
2010-12-16work in progressBrion Vibber
2010-12-16Fix ticket #2929: router cache now clears itself when switching singleuser ↵Brion Vibber
mode in and out
2010-12-16distribute flag for Notice::saveNew()Evan Prodromou
2010-12-16add .mo files to .gitignoreBrion Vibber
2010-12-16L10n updates and removal of superfluous whitespace.Siebrand Mazeland
2010-12-16Localisation updates from http://translatewiki.net.Siebrand Mazeland
2010-12-15Makefile to re-generate util.min.js (needs yui-compressor in path)Brion Vibber
2010-12-15Fix for ticket #2942: character counter now updates on cut and paste ↵Brion Vibber
operations made with mouse or menu This uses the 'copy' and 'paste' DOM events to trigger a counter update. I haven't had a chance to 100% confirm that middle-button click on X11 triggers the event, but it ought to. Cut and paste events from context menu and main edit menu known good in: * Firefox 4.08b-pre * IE 9 preview 7 * IE 8 current * Chrome 8 beta current * Safari 5.0.3 Opera is listed as not supporting these events, oh well. Note that using a *delete* command from a menu doesn't trigger an event. Sigh, you can't win everything.
2010-12-15Move account restoration code to a shared libraryEvan Prodromou
Moved most of the heavy-lifting for account restoration out of restoreuser.php and into its own class, with the hope that we'll do the work from the Web eventually.
2010-12-15syntax error in deleteaccountEvan Prodromou
2010-12-15Merge branch '0.9.x' into righttoleaveEvan Prodromou
2010-12-15Cleaner code to avoid a couple PHP notices from accessing uninitialized ↵Brion Vibber
variables in ostatus profile discovery (these cases hit checking diaspora accounts)
2010-12-14Mark OembedAction, XrdAction, and (plugin) AutocompleteAction as read-only. ↵Brion Vibber
Tweaked ApiStatusesShow and ApiTimelineUser to still claim read-only when hit with a HEAD request (usually link checkers or a precursor to a GET, and should be semantically equivalent to a GET without actually transferring data)
2010-12-14AtomPub discovery fix: gets MarsEdit's auto API detection working.Brion Vibber
Router entry for AtomPubService was slightly off, generating an incorrect link in the RSD data.
2010-12-14AtomPub test cases: make sure the posted entry appears in the feed, and that ↵Brion Vibber
it disappears after deletion
2010-12-14AtomPub tetss: confirming edit URL linked properly in individual entry returnBrion Vibber
2010-12-14AtomPub tests: fix delete testBrion Vibber
2010-12-14AtomPub tests: fix for atom post checkBrion Vibber
2010-12-14AtomPub fix: correct the response URL given from posting a new message ↵Brion Vibber
(wrong parameter meant we got the main page instead of the message's URL)
2010-12-14AtomPub fixes: return '201 Created' on POST of new message; better error ↵Brion Vibber
checking on Atom input
2010-12-14more fixins on AtomPub testsBrion Vibber
2010-12-14auth fixBrion Vibber
2010-12-14Mostly-implemented basic AtomPub testsBrion Vibber
2010-12-14An action to delete your own accountEvan Prodromou
The new DeleteaccountAction lets a user delete their own account (subject to global rights set by the admin). It presents a form to delete the account, with an "I am sure." text entry box. It then schedules the account for deletion and logs the user out.
2010-12-13partial stub file for atompub testsBrion Vibber
2010-12-13Merge branch 'master' of gitorious.org:statusnet/mainline into 0.9.xBrion Vibber
2010-12-13don't show the backup link if the user can't backupEvan Prodromou
2010-12-13add an action to backup the current account in ActivityStreams formatEvan Prodromou
2010-12-13define rights for account maintenance and default rulesEvan Prodromou
2010-12-13define configuration settings for account maintenance securityEvan Prodromou
2010-12-13TwitterBridge: partial merge of id_str usage from 0.9.x for improved 32-bit ↵Brion Vibber
and pre-5.2.10 compatibility. (on 64-bit in 5.2.6 we can pull the integer IDs, but silently lose some precision on the end.) Fixes for Twitter bridge breakage on 32-bit servers. New "Snowflake" 64-bit 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) Conflicts: plugins/TwitterBridge/twitterimport.php <- as this hasn't been broken out, the import code is NOT FULLY UPDATED HERE.
2010-12-13Merge branch 'activityatompub' into 0.9.xEvan Prodromou
2010-12-13add the other three feeds to AtomPub service documentEvan Prodromou
2010-12-13Atom pub feed for group membershipsEvan Prodromou
Feed for group memberships, in activity streams format. Shows a feed; has proper pagination; accepts activitystreams "join" activities to start a new membership.
2010-12-13fix URL for memberships feedEvan Prodromou
2010-12-13membership stream method and return membership from join() in Group_member classEvan Prodromou
2010-12-13fix navigation links for favorite feedEvan Prodromou
2010-12-13fix navigation links for subscriptions feedEvan Prodromou
2010-12-13group_member includes self link, edit linkEvan Prodromou
2010-12-13add atompub show membership actionEvan Prodromou