summaryrefslogtreecommitdiff
path: root/plugins
AgeCommit message (Collapse)Author
2010-12-22Makefile to compress LinkPreview's jsBrion Vibber
2010-12-22Merge branch 'righttoleave' into 0.9.xEvan Prodromou
2010-12-20Merge branch 'master' of gitorious.org:statusnet/mainline into 0.9.xBrion Vibber
Conflicts: plugins/OStatus/classes/FeedSub.php
2010-12-20*cough* don't commit the code that breaks your code that you used to test ↵HEADmasterBrion Vibber
the debug code :D
2010-12-20Slightly fancier debug code for PuSH hmac mismatches -- save the post to a ↵Brion Vibber
temp file if feedsub/debug is on in config.
2010-12-20Logging helper for bogus hmacs on PuSH in -- record the url & hub with the ↵Brion Vibber
err msg to help tell what broke
2010-12-20Logging helper for bogus hmacs on PuSH in -- record the url & hub with the ↵Brion Vibber
err msg to help tell what broke
2010-12-17Update Twitter calls to use documented API endpointsZach Copley
see: http://groups.google.com/group/twitter-api-announce/msg/34b013f4d092737f
2010-12-17In LdapCommon checkPassword/changePassword only get the 'dn' attribute as an ↵Craig Andrews
optimization as no other attributes are necessary. Thanks to drslump reported at http://status.net/open-source/issues/2955
2010-12-17only run explain on selectsBrion 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 code to get an author object for a feed to a library from Ostatus_profileEvan Prodromou
2010-12-16L10n updates and removal of superfluous whitespace.Siebrand Mazeland
2010-12-16Localisation updates from http://translatewiki.net.Siebrand Mazeland
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-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-09Disable InProcessCache plugin for CLI scripts, which are more likely to be ↵Brion Vibber
long-running, greatly increasing the chance of data corruption.
2010-12-09Merge remote branch 'gitorious/0.9.x' into 0.9.xEvan Prodromou
2010-12-09Additional in-process cache plugin InProcessCacheEvan Prodromou
Some of our caching systems, like the disk cache or memcached, have significant overhead (network connections or disk I/O). This plugin adds an additional layer of in-process cache, so we don't need to reconnect to external cache systems when we've already received a data item from the cache. There are some concurrency issues here, but typically they won't be important at the level of a single web hit.
2010-12-08Merge branch 'master' into 0.9.xBrion Vibber
2010-12-08Tweak to PiwikAnalytics plugin to help browsers to pre-load piwik.js, may ↵Brion Vibber
shave a little off load time. Piwik's current default recommended JS for loading creates a <script> tag via document.write(). In addition to being generally evil, this means the browser doesn't know it's going to need piwik.js until that chunk of script gets executed... which can't happen until all scripts referenced *before* it have been loaded and executed. The only reason for that bit of script though seems to be to pick 'http' or 'https' depending on the current page's scheme. This can be done more simply by using a protocol-relative link (eg "//piwik.status.net/piwik.js"), which the browser will resolve as appropriate. Since it's now sitting in the <script> tag, the browser's lookahead code will now see it and be able to start loading it while earlier things are parsing/executing. May be better still to move to an asynchronous load after DOM-ready, but I'm not sure if that'll screw with the analytics code (eg, not being able to start things on the DOM-ready events since they're past).
2010-12-08Merge branch 'master' into 0.9.xBrion Vibber
2010-12-08Mapstraction plugin: use minified sources for OpenLayersBrion Vibber
The default full build of OpenLayers.js is 943kb as of 2.10; this gzips down to a couple hundred kb but is still rather nasty, plus loading it off a remote host could slow things down. Using a local copy let us cut down the size significantly by discarding unused features, and further minification with yui-compressor shaves a bit more off. Cuts down to about 1/5 the size of the original. Also threw in a bundled & minified copy of the Mapstraction classes plus our usermap.js, which covers the common case of using the default OpenLayers provider. This cuts out three additional script loads, two of which weren't getting launched until after the mxn.js main file got loaded.
2010-12-08Create a bundled & minified JS file for Mapstraction's common case (using ↵Brion Vibber
OpenLayers); this'll avoid waiting on additional script loads for mxn.core.js and mxn.openlayers.core.js, and removes the need to load usermap.js separately as well.
2010-12-08Add stripped and minified local copy of OpenLayers 2.10, about 1/5 the size ↵Brion Vibber
of the full version. Included Makefile will recreate the OpenLayers.js using the statusnet.cfg strip configuration file and yui-compressor to do some extra minification at the end. Requires fetching the OpenLayers source download and dropping it in: http://openlayers.org/download/OpenLayers-2.10.tar.gz
2010-12-07Quick hack to discard twitter broadcast queue items on failure *IF* config ↵Brion Vibber
option 'twitter' 'ignore_errors' is on: $config['twitter']['ignore_errors'] = true; A longer-term solution is to patch up the indirect retry handling to count retries better, or delay for later retry sensibly.
2010-12-06For good measure, don't return autocomplete results when not logged in.Brion Vibber
2010-12-06reindentBrion Vibber
2010-12-06Tweak router target URL for Autocomplete suggestionsBrion Vibber
2010-12-06Update Autocomplete readme: current state seems to work fine on private ↵Brion Vibber
sites, so removing that note.
2010-12-06Ticket #2924: include mini avatars in Autocomplete plugin drop-down listBrion Vibber
Ticket #2923: don't show "(null)" for some profiles with no full name set
2010-12-06Start tweaking Autocomplete jsBrion Vibber
2010-12-06fix breakage in AutocompletePluginBrion Vibber
2010-12-06minify LinkPreview JS codeBrion Vibber
2010-12-06Ticket #2921: cleanup on LinkPreview to make fewer requests while typing. ↵Brion Vibber
Will now wait for each link's preview request to complete (successfully or unsuccessfully) before re-running it)
2010-12-06Use short API-style error responses for LinkPreview's oembed proxyBrion Vibber
2010-12-05updated NoticeTitle plugin to use new activity eventsEvan Prodromou
2010-12-02Fix for tickets #2917, #2262: user URL shortening options not being applied ↵Brion Vibber
in non-web channels common_shorten_links() can only access the web session's logged-in user, so never properly took user options into effect for posting via XMPP, API, mail, etc. Adds an optional $user parameter on common_shorten_links(), and a $user->shortenLinks() as a clearer interface for that. Tweaked some lower-level functions so $user gets passed down -- making the $notice_id param previously there for saving URLs at notice save time generalized a little. Note also ticket #2919: there's a lot of duplicate code calling the shortening, checking the length, and reporting near-identical error messages. These should be consolidated to aid in code and translation maintenance.
2010-12-02* fix typo in parameter notationSiebrand Mazeland
* add FIXME for unused message * remove superfluous whitespace
2010-12-01Fix for ticket #2911: Hitting enter on the "associate with current account" ↵Brion Vibber
in OpenID flow failed due to forms being mixed together Separating the two forms (one to create a local account, the other to attach the OpenID to an existing account) gets them working -- enter activates the appropriate default button.
2010-12-01Fix dumb mistake -- changed function names partway through writing Nickname ↵Brion Vibber
and forgot to update a couple places. :)
2010-12-01add OpenID data to the Webfinger XRD file so you can login with it elsewhereEvan Prodromou
2010-12-01Ticket #2913: Realtime background update marker no longer triggers false ↵Brion Vibber
positives when clearing the marker on switching away from the tab in Firefox 4 We were clearing the counter on the window title in the blur event, which gets fired *after* we switch away, thus triggering Firefox to mark the tab as updated again. Clearing the counter on *focus* instead avoids this, and keeps the counter out of the way as well.
2010-11-30Fix ticket #2914: Realtime no longer tells you it's got a message queued up ↵Brion Vibber
when it's really the one you just sent out and is already visible.
2010-11-30Went through realtimeupdate.js and added documentation comments -- does not ↵Brion Vibber
alter the minified version. :) Identified several bugs and fixmes, and added more thorough labeling of the issues with replicating the entire HTML structure of notices (no i18n, missing new features, maintenance problems, possible other issues)
2010-11-30Merge branch 'master' of gitorious.org:statusnet/mainline into 0.9.xBrion Vibber
Conflicts: lib/router.php
2010-11-30Flush router cache when saving Twitter admin settings: adding/removing keys ↵Brion Vibber
can enable/disable some actions. This avoids having users' Twitter settings unreachable after adding your keys to an installation with TwitterBridge on but not pre-configured.
2010-11-30BitlyPlugin: fix for shortening URLs containing ampersand (&)Brion Vibber
2010-11-30Localisation updates from http://translatewiki.net.Siebrand Mazeland