summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-12-10Merge branch '0.9.x' into activityatompubEvan Prodromou
Conflicts: lib/router.php
2010-12-10extlibs updates: PEAR::Mail to 1.2.0, PEAR::Net_SMTP to 1.4.2 (need to go ↵Brion Vibber
together as a pair) PEAR::Mail updated to 1.2.0 from 1.1.4, fixes deprecation warnings on PHP 5.3, as well as: 1.2.0: • QA release - stable. • Updated minimum dependencies (Net_SMTP, PEAR, PHP) • Doc Bug #15620 Licence change to BSD • Bug #13659 Mail parse error in special condition • Bug #16200 - Security hole allow to read/write Arbitrary File _hasUnclosedQuotes() doesn't properly handle a double slash before an end quote (slusarz@curecanti.org, Bug #9137). • Make sure Net_SMTP is defined when calling getSMTPObject() directly (slusarz@curecanti.org, Bug #13772). • Add addServiceExtensionParameter() to the SMTP driver (slusarz@curecanti.org, Bug #13764). • Add a method to obtain the Net_SMTP object from the SMTP driver (slusarz@curecanti.org, Bug #13766). PEAR::Net_SMTP updated to 1.4.2 from 1.3.1, needed to support updated PEAR::Mail: 1.4.2: • Fixing header string quoting in data(). (Bug #17199) 1.4.1: • The auth() method now includes an optional $tls parameter that determines whether or not TLS should be attempted (if supported by the PHP runtime and the remote SMTP server). This parameter defaults to true. (Bug #16349) • Header data can be specified separately from message body data by passing it as the optional second parameter to ``data()``. This is especially useful when an open file resource is being used to supply message data because it allows header fields (like *Subject:*) to be built dynamically at runtime. (Request #17012) 1.4.0: • The data() method now accepts either a string or a file resource containing the message data. (Request #16962) 1.3.4: • All Net_Socket write failures are now recognized. (Bug #16831) 1.3.3: • Added getGreeting(), for retrieving the server's greeting string. (Request #16066) [needed for PEAR::Mail] • We no longer attempt a TLS connection if we're already using a secure socket. (Bug #16254) • You can now specify a debug output handler via setDebug(). (Request #16420) 1.3.2: • TLS connection only gets started if no AUTH methods are sent. (Bug #14944)
2010-12-09Tweaking nickname format regexes: added one that explicitly allows numbers, ↵Brion Vibber
to be used in router setup.
2010-12-09add a new subscription using POST to APPEvan Prodromou
2010-12-09Add subscription feed for AtomPubEvan Prodromou
2010-12-09make HEAD work for AtomPubShowSubscriptionEvan Prodromou
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-09AtomPub for single subscriptionEvan Prodromou
2010-12-09Merge branch '0.9.x' into activityatompubEvan Prodromou
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-08Don't cache user-specific information for Notice atom entriesEvan Prodromou
2010-12-08Don't cache user-specific information for Notice atom entriesEvan Prodromou
2010-12-07whitespace problems in lib/routerEvan Prodromou
2010-12-07generate links for apinamespace.org/atom and /twitter in userxrdEvan Prodromou
2010-12-07allow <Property> elements in <Link> in XRDEvan Prodromou
2010-12-07fix whitespace in lib/xrdaction.phpEvan Prodromou
2010-12-07Merge branch 'master' of gitorious.org:statusnet/mainlineBrion Vibber
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-06Merge branch 'linkpreview-fix' into 0.9.xBrion 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 codeKey() in activity cachingEvan Prodromou
2010-12-06Merge branch '0.9.x' into cacheactivityEvan Prodromou
2010-12-06Merge branch 'master' into 0.9.xEvan Prodromou
2010-12-06Merge branch 'master' of gitorious.org:statusnet/mainlineEvan Prodromou
2010-12-06Config flag to disable router caching if neededEvan Prodromou
2010-12-06use Cache::codeKey() in Router classEvan Prodromou
2010-12-06Make code-dependent cache entries more volatileEvan Prodromou
If a cache entry is dependent on the code that's running, upgrading (or enabling/disabling plugins) can generate hard-to-track inconsistencies. This change adds a close-to-unique fingerprint of the running code to some cache keys, so that if the fingerprint changes, the old values are ignored and new values are used. If the automated uniqueness fails, an administrator can add an extra config value, $config['site']['build'], that's thrown into the key also.
2010-12-06Config flag to disable router caching if neededEvan Prodromou
2010-12-06use Cache::codeKey() in Router classEvan Prodromou
2010-12-06Make code-dependent cache entries more volatileEvan Prodromou
If a cache entry is dependent on the code that's running, upgrading (or enabling/disabling plugins) can generate hard-to-track inconsistencies. This change adds a close-to-unique fingerprint of the running code to some cache keys, so that if the fingerprint changes, the old values are ignored and new values are used. If the automated uniqueness fails, an administrator can add an extra config value, $config['site']['build'], that's thrown into the key also.
2010-12-06cache generated activity infoEvan Prodromou
2010-12-06Use short API-style error responses for LinkPreview's oembed proxyBrion Vibber
2010-12-06Merge branch '0.9.x' of gitorious.org:statusnet/mainline into 0.9.xEvan Prodromou
2010-12-06correctly generate enclosure in Activity::asString()Evan Prodromou
2010-12-06Merge branch 'master' of gitorious.org:statusnet/mainline into 0.9.xBrion Vibber
Conflicts: classes/User.php