]> git.mxchange.org Git - quix0rs-gnu-social.git/log
quix0rs-gnu-social.git
13 years agoMove getConnectedApps() from Profile to User, where it belongs
Zach Copley [Mon, 13 Dec 2010 01:37:42 +0000 (17:37 -0800)]
Move getConnectedApps() from Profile to User, where it belongs

13 years agoMerge branch '0.9.x' of gitorious.org:statusnet/mainline into 0.9.x
Evan Prodromou [Sat, 11 Dec 2010 16:01:05 +0000 (11:01 -0500)]
Merge branch '0.9.x' of gitorious.org:statusnet/mainline into 0.9.x

13 years agocache stream of subscriptions
Evan Prodromou [Sat, 11 Dec 2010 16:00:04 +0000 (11:00 -0500)]
cache stream of subscriptions

13 years agoSubscription stream functions
Evan Prodromou [Sat, 11 Dec 2010 15:24:46 +0000 (10:24 -0500)]
Subscription stream functions

Made two new functions, Subscription::bySubscriber() and
Subscription::bySubscribed(), to get streams of Subscription objects.

Converted Profile::getSubscribers() and Profile::getSubscriptions() to
use these functions.

13 years agoWorkaround for locally-handled sessions breaking on PHP 5.3 with APC enabled.
Brion Vibber [Fri, 10 Dec 2010 22:08:36 +0000 (22:08 +0000)]
Workaround for locally-handled sessions breaking on PHP 5.3 with APC enabled.

Big thanks to the folks at http://pecl.php.net/bugs/bug.php?id=16745 for the secret juju!
Classes were being torn down before session save handlers got called at the end of the request, which exploded with complaints about being unable to find various classes.
Registering a shutdown function lets us explicitly close out the session before everything gets torn down.

13 years agoextlibs updates: PEAR::Mail to 1.2.0, PEAR::Net_SMTP to 1.4.2 (need to go together...
Brion Vibber [Mon, 3 May 2010 23:49:59 +0000 (16:49 -0700)]
extlibs updates: PEAR::Mail to 1.2.0, PEAR::Net_SMTP to 1.4.2 (need to go 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)

13 years agoTweaking nickname format regexes: added one that explicitly allows numbers, to be...
Brion Vibber [Fri, 10 Dec 2010 00:43:35 +0000 (16:43 -0800)]
Tweaking nickname format regexes: added one that explicitly allows numbers, to be used in router setup.

13 years agoDisable InProcessCache plugin for CLI scripts, which are more likely to be long-runni...
Brion Vibber [Thu, 9 Dec 2010 18:24:06 +0000 (10:24 -0800)]
Disable InProcessCache plugin for CLI scripts, which are more likely to be long-running, greatly increasing the chance of data corruption.

13 years agoMerge remote branch 'gitorious/0.9.x' into 0.9.x
Evan Prodromou [Thu, 9 Dec 2010 15:48:12 +0000 (10:48 -0500)]
Merge remote branch 'gitorious/0.9.x' into 0.9.x

13 years agoAdditional in-process cache plugin InProcessCache
Evan Prodromou [Thu, 9 Dec 2010 15:45:36 +0000 (10:45 -0500)]
Additional in-process cache plugin InProcessCache

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.

13 years agoMerge branch 'master' into 0.9.x
Brion Vibber [Thu, 9 Dec 2010 02:13:20 +0000 (18:13 -0800)]
Merge branch 'master' into 0.9.x

13 years agoTweak to PiwikAnalytics plugin to help browsers to pre-load piwik.js, may shave a...
Brion Vibber [Thu, 9 Dec 2010 01:39:04 +0000 (17:39 -0800)]
Tweak to PiwikAnalytics plugin to help browsers to pre-load piwik.js, may 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).

13 years agoMerge branch 'master' into 0.9.x
Brion Vibber [Wed, 8 Dec 2010 23:01:25 +0000 (15:01 -0800)]
Merge branch 'master' into 0.9.x

13 years agoMapstraction plugin: use minified sources for OpenLayers
Brion Vibber [Wed, 8 Dec 2010 22:54:02 +0000 (14:54 -0800)]
Mapstraction plugin: use minified sources for OpenLayers

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.

13 years agoCreate a bundled & minified JS file for Mapstraction's common case (using OpenLayers...
Brion Vibber [Wed, 8 Dec 2010 22:52:26 +0000 (14:52 -0800)]
Create a bundled & minified JS file for Mapstraction's common case (using 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.

13 years agoAdd stripped and minified local copy of OpenLayers 2.10, about 1/5 the size of the...
Brion Vibber [Wed, 8 Dec 2010 21:52:35 +0000 (13:52 -0800)]
Add stripped and minified local copy of OpenLayers 2.10, about 1/5 the size 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

13 years agoDon't cache user-specific information for Notice atom entries
Evan Prodromou [Wed, 8 Dec 2010 12:25:55 +0000 (07:25 -0500)]
Don't cache user-specific information for Notice atom entries

13 years agowhitespace problems in lib/router
Evan Prodromou [Tue, 7 Dec 2010 21:23:12 +0000 (16:23 -0500)]
whitespace problems in lib/router

13 years agogenerate links for apinamespace.org/atom and /twitter in userxrd
Evan Prodromou [Tue, 7 Dec 2010 20:53:34 +0000 (15:53 -0500)]
generate links for apinamespace.org/atom and /twitter in userxrd

13 years agoallow <Property> elements in <Link> in XRD
Evan Prodromou [Tue, 7 Dec 2010 20:53:08 +0000 (15:53 -0500)]
allow <Property> elements in <Link> in XRD

13 years agofix whitespace in lib/xrdaction.php
Evan Prodromou [Tue, 7 Dec 2010 20:26:43 +0000 (15:26 -0500)]
fix whitespace in lib/xrdaction.php

13 years agoMerge branch 'master' of gitorious.org:statusnet/mainline
Brion Vibber [Tue, 7 Dec 2010 20:13:50 +0000 (12:13 -0800)]
Merge branch 'master' of gitorious.org:statusnet/mainline

13 years agoQuick hack to discard twitter broadcast queue items on failure *IF* config option...
Brion Vibber [Tue, 7 Dec 2010 20:11:37 +0000 (12:11 -0800)]
Quick hack to discard twitter broadcast queue items on failure *IF* config 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.

13 years agoFor good measure, don't return autocomplete results when not logged in.
Brion Vibber [Tue, 7 Dec 2010 01:20:14 +0000 (17:20 -0800)]
For good measure, don't return autocomplete results when not logged in.

13 years agoreindent
Brion Vibber [Tue, 7 Dec 2010 01:16:47 +0000 (17:16 -0800)]
reindent

13 years agoTweak router target URL for Autocomplete suggestions
Brion Vibber [Tue, 7 Dec 2010 01:15:56 +0000 (17:15 -0800)]
Tweak router target URL for Autocomplete suggestions

13 years agoUpdate Autocomplete readme: current state seems to work fine on private sites, so...
Brion Vibber [Tue, 7 Dec 2010 01:13:02 +0000 (17:13 -0800)]
Update Autocomplete readme: current state seems to work fine on private sites, so removing that note.

13 years agoTicket #2924: include mini avatars in Autocomplete plugin drop-down list
Brion Vibber [Tue, 7 Dec 2010 00:55:16 +0000 (16:55 -0800)]
Ticket #2924: include mini avatars in Autocomplete plugin drop-down list
Ticket #2923: don't show "(null)" for some profiles with no full name set

13 years agoStart tweaking Autocomplete js
Brion Vibber [Tue, 7 Dec 2010 00:20:54 +0000 (16:20 -0800)]
Start tweaking Autocomplete js

13 years agofix breakage in AutocompletePlugin
Brion Vibber [Mon, 6 Dec 2010 23:20:49 +0000 (15:20 -0800)]
fix breakage in AutocompletePlugin

13 years agoMerge branch 'linkpreview-fix' into 0.9.x
Brion Vibber [Mon, 6 Dec 2010 23:14:47 +0000 (15:14 -0800)]
Merge branch 'linkpreview-fix' into 0.9.x

13 years agominify LinkPreview JS code
Brion Vibber [Mon, 6 Dec 2010 23:11:42 +0000 (15:11 -0800)]
minify LinkPreview JS code

13 years agoTicket #2921: cleanup on LinkPreview to make fewer requests while typing. Will now...
Brion Vibber [Mon, 6 Dec 2010 22:49:24 +0000 (14:49 -0800)]
Ticket #2921: cleanup on LinkPreview to make fewer requests while typing. Will now wait for each link's preview request to complete (successfully or unsuccessfully) before re-running it)

13 years agouse codeKey() in activity caching
Evan Prodromou [Mon, 6 Dec 2010 22:28:22 +0000 (17:28 -0500)]
use codeKey() in activity caching

13 years agoMerge branch '0.9.x' into cacheactivity
Evan Prodromou [Mon, 6 Dec 2010 22:22:34 +0000 (17:22 -0500)]
Merge branch '0.9.x' into cacheactivity

13 years agoMerge branch 'master' into 0.9.x
Evan Prodromou [Mon, 6 Dec 2010 22:22:03 +0000 (17:22 -0500)]
Merge branch 'master' into 0.9.x

13 years agoMerge branch 'master' of gitorious.org:statusnet/mainline
Evan Prodromou [Mon, 6 Dec 2010 22:21:38 +0000 (17:21 -0500)]
Merge branch 'master' of gitorious.org:statusnet/mainline

13 years agoConfig flag to disable router caching if needed
Evan Prodromou [Mon, 6 Dec 2010 22:19:41 +0000 (17:19 -0500)]
Config flag to disable router caching if needed

13 years agouse Cache::codeKey() in Router class
Evan Prodromou [Mon, 6 Dec 2010 22:08:52 +0000 (17:08 -0500)]
use Cache::codeKey() in Router class

13 years agoMake code-dependent cache entries more volatile
Evan Prodromou [Mon, 6 Dec 2010 22:05:32 +0000 (17:05 -0500)]
Make code-dependent cache entries more volatile

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.

13 years agoConfig flag to disable router caching if needed
Evan Prodromou [Mon, 6 Dec 2010 22:19:41 +0000 (17:19 -0500)]
Config flag to disable router caching if needed

13 years agouse Cache::codeKey() in Router class
Evan Prodromou [Mon, 6 Dec 2010 22:08:52 +0000 (17:08 -0500)]
use Cache::codeKey() in Router class

13 years agoMake code-dependent cache entries more volatile
Evan Prodromou [Mon, 6 Dec 2010 22:05:32 +0000 (17:05 -0500)]
Make code-dependent cache entries more volatile

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.

13 years agocache generated activity info
Evan Prodromou [Mon, 6 Dec 2010 21:38:02 +0000 (16:38 -0500)]
cache generated activity info

13 years agoUse short API-style error responses for LinkPreview's oembed proxy
Brion Vibber [Mon, 6 Dec 2010 21:37:57 +0000 (13:37 -0800)]
Use short API-style error responses for LinkPreview's oembed proxy

13 years agoMerge branch '0.9.x' of gitorious.org:statusnet/mainline into 0.9.x
Evan Prodromou [Mon, 6 Dec 2010 20:52:03 +0000 (15:52 -0500)]
Merge branch '0.9.x' of gitorious.org:statusnet/mainline into 0.9.x

13 years agocorrectly generate enclosure in Activity::asString()
Evan Prodromou [Mon, 6 Dec 2010 20:51:42 +0000 (15:51 -0500)]
correctly generate enclosure in Activity::asString()

13 years agoMerge branch 'master' of gitorious.org:statusnet/mainline into 0.9.x
Brion Vibber [Mon, 6 Dec 2010 20:44:19 +0000 (12:44 -0800)]
Merge branch 'master' of gitorious.org:statusnet/mainline into 0.9.x

Conflicts:
classes/User.php

13 years agoAdded User::singleUserNickname() as (temporary?) fallback for single-user lookup...
Brion Vibber [Mon, 6 Dec 2010 20:39:09 +0000 (12:39 -0800)]
Added User::singleUserNickname() as (temporary?) fallback for single-user lookup as a workaround for site setup of 1user sites. We found that an external tool attempting to spin up StatusNet and then register the user would fail because StatusNet's router setup dies on being unable to find its single-user account, since the nickname is needed in setting up routing entries. This tweak will let it survive, using the configured setting as a fallback if it can't actually find the user account.

13 years agoremove common_debug() from Activity::asString()
Evan Prodromou [Mon, 6 Dec 2010 20:22:52 +0000 (15:22 -0500)]
remove common_debug() from Activity::asString()

13 years agoupdated NoticeTitle plugin to use new activity events
Evan Prodromou [Sun, 5 Dec 2010 21:31:43 +0000 (16:31 -0500)]
updated NoticeTitle plugin to use new activity events

13 years agoChange documentation for notice-to-activity events
Evan Prodromou [Sun, 5 Dec 2010 21:20:00 +0000 (16:20 -0500)]
Change documentation for notice-to-activity events

Because I changed Notice::asAtomEntry() to use Notice::asActivity(),
all the events that happened in that function have been removed. I
removed the documentation for those events, and added documentation
for the new events.

13 years agoConvert Notice::asAtomEntry() to use Notice::asActivity() and Activity::asString()
Evan Prodromou [Sun, 5 Dec 2010 21:15:05 +0000 (16:15 -0500)]
Convert Notice::asAtomEntry() to use Notice::asActivity() and Activity::asString()

We had two ways to generate an activity entry from a notice; one through
Notice::asAtomEntry() and one through Notice::asActivity() and
Activity::asString(). The code paths had already diverged somewhat. I
took the conditions that were in Notice::asAtomEntry() and made sure
they were replicated in the other two functions. Then, I rewrote
Notice::asAtomEntry() to use the other two functions instead.

This change passes the ActivityGenerationTests unit tests, but there
may be some other stuff that's not getting covered.

13 years agoURL shortening fix for direct messages: if we're going to shorten the text, shorten...
Brion Vibber [Thu, 2 Dec 2010 21:59:51 +0000 (13:59 -0800)]
URL shortening fix for direct messages: if we're going to shorten the text, shorten the rendered text too.

13 years agoFix for tickets #2917, #2262: user URL shortening options not being applied in non...
Brion Vibber [Thu, 2 Dec 2010 18:56:44 +0000 (10:56 -0800)]
Fix for tickets #2917, #2262: user URL shortening options not being applied 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.

13 years ago* fix typo in parameter notation
Siebrand Mazeland [Thu, 2 Dec 2010 11:42:58 +0000 (12:42 +0100)]
* fix typo in parameter notation
* add FIXME for unused message
* remove superfluous whitespace

13 years ago* Fix an incorrectly formatted message parameter in line 334.
Siebrand Mazeland [Thu, 2 Dec 2010 11:33:03 +0000 (12:33 +0100)]
* Fix an incorrectly formatted message parameter in line 334.
* i18n/L10n updates
* translator documentation updated

13 years agoTicket #2912 further cleanup: use JS on emailsettings form to help connect the 'I...
Brion Vibber [Wed, 1 Dec 2010 22:23:56 +0000 (14:23 -0800)]
Ticket #2912 further cleanup: use JS on emailsettings form to help connect the 'I want to post by email' checkbox with the controls for adding or removing a post-by-email alias.

Now, when you first come up the checkbox will most likely be off and the button to create an address is grayed out.
Checking the box enables use of the 'new' button to generate an email address -- it's left disabled until you check the box, so you can't accidentally trip it.
Actually adding the address now enables the post-by-mail option, as well, thus ensuring that it's saved. WARNING: OTHER CHANGES ON THE FORM WILL STILL BE LOST.
Removing the address now disables the post-by-mail option, so it's not sitting around confusingly enabled but useless.

You can still disable the checkbox manually without removing the address, in case you want to keep it for later.
It's also still possible to actually save it in the state where the option is enabled, but there's no configured address, but that shouldn't happen too often. Possibly that should be prevented outright though.

13 years agoTicket #2912 tweaks: clean up wording on the incoming email generator box a bit.
Brion Vibber [Wed, 1 Dec 2010 21:10:54 +0000 (13:10 -0800)]
Ticket #2912 tweaks: clean up wording on the incoming email generator box a bit.

13 years agoTicket #2912: move 'I want to post notices by email" checkbox up from the email ...
Brion Vibber [Wed, 1 Dec 2010 21:04:18 +0000 (13:04 -0800)]
Ticket #2912: move 'I want to post notices by email" checkbox up from the email *output* prefs up into the box for the address to post to, so they're next to each other.

13 years agoFix for ticket #2911: Hitting enter on the "associate with current account" in OpenID...
Brion Vibber [Wed, 1 Dec 2010 20:21:00 +0000 (12:21 -0800)]
Fix for ticket #2911: Hitting enter on the "associate with current account" 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.

13 years agoFix dumb mistake -- changed function names partway through writing Nickname and forgo...
Brion Vibber [Wed, 1 Dec 2010 19:21:00 +0000 (11:21 -0800)]
Fix dumb mistake -- changed function names partway through writing Nickname and forgot to update a couple places. :)

13 years agoadd OpenID data to the Webfinger XRD file so you can login with it elsewhere
Evan Prodromou [Wed, 1 Dec 2010 18:43:34 +0000 (13:43 -0500)]
add OpenID data to the Webfinger XRD file so you can login with it elsewhere

13 years agoMerge remote branch 'gitorious/0.9.x' into 0.9.x
Evan Prodromou [Wed, 1 Dec 2010 14:48:58 +0000 (09:48 -0500)]
Merge remote branch 'gitorious/0.9.x' into 0.9.x

13 years agoTicket #2913: Realtime background update marker no longer triggers false positives...
Brion Vibber [Wed, 1 Dec 2010 01:09:14 +0000 (01:09 +0000)]
Ticket #2913: Realtime background update marker no longer triggers false 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.

13 years agoFix ticket #2914: Realtime no longer tells you it's got a message queued up when...
Brion Vibber [Wed, 1 Dec 2010 00:46:11 +0000 (16:46 -0800)]
Fix ticket #2914: Realtime no longer tells you it's got a message queued up when it's really the one you just sent out and is already visible.

13 years agoWent through realtimeupdate.js and added documentation comments -- does not alter...
Brion Vibber [Wed, 1 Dec 2010 00:35:47 +0000 (16:35 -0800)]
Went through realtimeupdate.js and added documentation comments -- does not 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)

13 years agoMerge branch 'master' of gitorious.org:statusnet/mainline into 0.9.x
Brion Vibber [Wed, 1 Dec 2010 00:34:52 +0000 (16:34 -0800)]
Merge branch 'master' of gitorious.org:statusnet/mainline into 0.9.x

Conflicts:
lib/router.php

13 years agoFlush router cache when saving Twitter admin settings: adding/removing keys can enabl...
Brion Vibber [Tue, 30 Nov 2010 20:46:33 +0000 (12:46 -0800)]
Flush router cache when saving Twitter admin settings: adding/removing keys 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.

13 years agoBitlyPlugin: fix for shortening URLs containing ampersand (&)
Brion Vibber [Tue, 30 Nov 2010 20:40:23 +0000 (12:40 -0800)]
BitlyPlugin: fix for shortening URLs containing ampersand (&)

13 years agoLocalisation updates from http://translatewiki.net.
Siebrand Mazeland [Tue, 30 Nov 2010 20:35:25 +0000 (21:35 +0100)]
Localisation updates from http://translatewiki.net.

13 years agoMerge branch '0.9.x' of gitorious.org:statusnet/mainline into 0.9.x
Evan Prodromou [Tue, 30 Nov 2010 19:46:45 +0000 (14:46 -0500)]
Merge branch '0.9.x' of gitorious.org:statusnet/mainline into 0.9.x

13 years agoMerge branch 'master' into 0.9.x
Evan Prodromou [Tue, 30 Nov 2010 19:46:26 +0000 (14:46 -0500)]
Merge branch 'master' into 0.9.x

Conflicts:
lib/router.php

13 years agowas using Cache::get() and ::set() wrong
Evan Prodromou [Tue, 30 Nov 2010 19:44:16 +0000 (14:44 -0500)]
was using Cache::get() and ::set() wrong

13 years agoLocalisation updates from http://translatewiki.net.
Siebrand Mazeland [Tue, 30 Nov 2010 17:53:04 +0000 (18:53 +0100)]
Localisation updates from http://translatewiki.net.

13 years agoa quick script to flush the router from cache if needed
Evan Prodromou [Tue, 30 Nov 2010 15:27:32 +0000 (10:27 -0500)]
a quick script to flush the router from cache if needed

13 years agoa quick script to flush the router from cache if needed
Evan Prodromou [Tue, 30 Nov 2010 15:27:32 +0000 (10:27 -0500)]
a quick script to flush the router from cache if needed

13 years agouse a CRC32 of the plugin names rather than actual names
Evan Prodromou [Tue, 30 Nov 2010 15:11:39 +0000 (10:11 -0500)]
use a CRC32 of the plugin names rather than actual names

13 years agouse a CRC32 of the plugin names rather than actual names
Evan Prodromou [Tue, 30 Nov 2010 15:11:39 +0000 (10:11 -0500)]
use a CRC32 of the plugin names rather than actual names

13 years agoSquashed commit of the following:
Evan Prodromou [Tue, 30 Nov 2010 14:57:02 +0000 (09:57 -0500)]
Squashed commit of the following:

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

13 years agoSquashed commit of the following:
Evan Prodromou [Tue, 30 Nov 2010 14:57:02 +0000 (09:57 -0500)]
Squashed commit of the following:

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

13 years agoMerge branch 'namecase' into 0.9.x
Brion Vibber [Tue, 30 Nov 2010 00:47:51 +0000 (16:47 -0800)]
Merge branch 'namecase' into 0.9.x

13 years agoNormalize username strings in command parsing
Brion Vibber [Tue, 30 Nov 2010 00:44:40 +0000 (16:44 -0800)]
Normalize username strings in command parsing

13 years agoGeneral code safety: validate input and escape SQL strings in common_relative_profile()
Brion Vibber [Tue, 30 Nov 2010 00:44:01 +0000 (16:44 -0800)]
General code safety: validate input and escape SQL strings in common_relative_profile()

13 years agoUse Nickname::DISPLAY_FMT instead of manual regex fragments in router setup for nickn...
Brion Vibber [Tue, 30 Nov 2010 00:02:35 +0000 (16:02 -0800)]
Use Nickname::DISPLAY_FMT instead of manual regex fragments in router setup for nickname parameters.

13 years agoFacebookBridge:
Zach Copley [Mon, 29 Nov 2010 23:57:41 +0000 (23:57 +0000)]
FacebookBridge:
- Don't try to access Foreign_link if it doesn't exist
- Remove noisy debugging statement

13 years agoReplace a couple plugin usages of NICKNAME_FMT with Nickname::normalize()
Brion Vibber [Mon, 29 Nov 2010 23:11:07 +0000 (15:11 -0800)]
Replace a couple plugin usages of NICKNAME_FMT with Nickname::normalize()

13 years agoAdd Nickname test cases for @-reply regexes in common_find_mentions
Brion Vibber [Mon, 29 Nov 2010 23:04:21 +0000 (15:04 -0800)]
Add Nickname test cases for @-reply regexes in common_find_mentions

13 years agoNickname class to encapsulate validation & common regexes for nickname formats.
Brion Vibber [Mon, 29 Nov 2010 22:46:10 +0000 (14:46 -0800)]
Nickname class to encapsulate validation & common regexes for nickname formats.
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.

13 years agoWork in progress on nickname validation changes. lib/nickname.php appears to have...
Brion Vibber [Mon, 29 Nov 2010 22:15:25 +0000 (14:15 -0800)]
Work in progress on nickname validation changes. lib/nickname.php appears to have been destroyed by NetBeans and will be rewritten shortly. Sigh.

13 years agodoc comments on User::allowed_nickname
Brion Vibber [Mon, 29 Nov 2010 19:57:27 +0000 (11:57 -0800)]
doc comments on User::allowed_nickname

13 years agoStart on some nickname-validation test cases: several of these fail right now because...
Brion Vibber [Mon, 29 Nov 2010 19:31:33 +0000 (11:31 -0800)]
Start on some nickname-validation test cases: several of these fail right now because we had regressions in 0.8 or 0.9 where we lost normalization of uppercase and some other chars.

13 years agoAdd some doc comments on nickname-related stuff in util.php
Brion Vibber [Mon, 29 Nov 2010 19:31:10 +0000 (11:31 -0800)]
Add some doc comments on nickname-related stuff in util.php

13 years agoLocalisation updates from http://translatewiki.net.
Siebrand Mazeland [Mon, 29 Nov 2010 19:18:13 +0000 (20:18 +0100)]
Localisation updates from http://translatewiki.net.

13 years agoNet URL Mapper Path plex file
Evan Prodromou [Sat, 27 Nov 2010 21:52:32 +0000 (16:52 -0500)]
Net URL Mapper Path plex file

13 years agoNet_URL_Mapper 0.9.1
Evan Prodromou [Sat, 27 Nov 2010 21:48:52 +0000 (16:48 -0500)]
Net_URL_Mapper 0.9.1

13 years agoMerge remote branch 'gitorious/0.9.x' into 0.9.x
Evan Prodromou [Sat, 27 Nov 2010 03:11:12 +0000 (22:11 -0500)]
Merge remote branch 'gitorious/0.9.x' into 0.9.x

13 years agoMake OStatusPlugin define push feed rel
Evan Prodromou [Sat, 27 Nov 2010 03:10:18 +0000 (22:10 -0500)]
Make OStatusPlugin define push feed rel

13 years agoMake userxrd work without OStatus enabled
Evan Prodromou [Sat, 27 Nov 2010 03:09:51 +0000 (22:09 -0500)]
Make userxrd work without OStatus enabled

13 years agoMake userxrd part of the default hostmeta
Evan Prodromou [Sat, 27 Nov 2010 02:46:51 +0000 (21:46 -0500)]
Make userxrd part of the default hostmeta