summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-03-23Don't add PHPSESSID parameter onto notice and conversation URIs if we save a ↵Brion Vibber
notice during a session override. This was being triggered by welcomebot messages created at account creation time, then propagated through replies.
2010-03-22Replace the "give up and dump object" attachment view fallback with a ↵Brion Vibber
client-side redirect to the target URL, which will at least be useful.
2010-03-19Fix typo in public tag cloud query setup which caused the cutoff to get skipped.Brion Vibber
2010-03-19Drop 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-19clarify output on fixup-shadow.phpBrion Vibber
2010-03-19Validate OStatus avatar URL before fetching.Brion Vibber
2010-03-18Ensure that DB connection is active at start of User::updateKeys() and ↵Brion Vibber
Foreign_user::updateKeys(); calls to $this->_quote() require a live connection object and don't lazy-initialize themselves. May fix WSOD when changing incoming email address.
2010-03-18add exception on inconsistent db to User::getProfile()Evan Prodromou
2010-03-18new exception class for when a user has no profileEvan Prodromou
2010-03-18reverse order from delete, insert to insert, delete on ostatus conversionEvan Prodromou
2010-03-18catch exceptions in OStatus updates, log, and continueEvan Prodromou
2010-03-17Fix to regression for auto-subscribe - was backwards.Brion Vibber
2010-03-11Add forgotten scripts/fixup_files.php to clean up "the h bug"Brion Vibber
2010-03-11Drop timestamp cutoff parameter from User::getCurrentNotice() and ↵Brion Vibber
Profile::getCurrentNotice(). It's not currently used, and won't be efficient when we update the notice.profile_id_idx index to optimize for our id-based sorting when pulling user post lists for profile pages, feeds etc.
2010-03-10OStatus: reject attempts to create a remote profile for a local user or group.Brion Vibber
Some stray shadow entries were ending up getting created, which would steal group posts from remote users. Run plugins/OStatus/scripts/fixup-shadow.php for each site to remove any existing ones.
2010-03-10Workaround intermittent bugs with HEAD requests by disabling keepalive in ↵Brion Vibber
HTTPClient. I think this is a bug in Youtube's web server (sending chunked encoding of an empty body with a HEAD response, leaving the connection out of sync when it doesn't attempt to read a body) but the HTTP_Request2 library may need to be adjusted to watch out for that.
2010-03-10Fixup script for files w/ bogus data saved into file record ('h bug')Brion Vibber
2010-03-10Fix for attachment "h bug": posting a shortened link to an oembed-able ↵Brion Vibber
resource that has been previously used in the system would incorrectly save "h" as the item's type and title.
2010-03-10Allow site-specific doc filesZach Copley
2010-03-10Merge branch 'master' of git@gitorious.org:statusnet/mainline into testingBrion Vibber
2010-03-10Detect when queuedaemon/xmppdaemon parent processes die and kill the child ↵Brion Vibber
processes. Keeps stray daemon subprocesses from floating around when we kill the parents via a signal! Accomplished by opening a bidirectional pipe in the parent process; the children close out the writer end and keep the reader in their open sockets list. When the parent dies, the children see that the socket's been closed out and can perform an orderly shutdown.
2010-03-10RequireValidatedEmailPlugin fixes: require email on registration form, tidy ↵Brion Vibber
up i18n infrastructure.
2010-03-10A blank username should never be allowed.Zach Copley
2010-03-10Merge branch 'master' into testingBrion Vibber
2010-03-10Ticket #2221: fix for missing whitespace between messages in en-gb.Brion Vibber
The final whitespace should be dropped from the source messages after we've stabilized; trailing space is pretty unreliable to keep through translation tools and should be avoided. Use separator strings outside the messages!
2010-03-10A blank username should never be allowed.Zach Copley
2010-03-09API config return textlimit valueMichele
2010-03-09OStatus: fix exception thrown on HTTP error during feed discoveryBrion Vibber
2010-03-09Ticket #2210: adjust locale setup fallback to try more locales on the system ↵Brion Vibber
if en_US isn't available. We just need *something* other than C or POSIX to let gettext initialize itself, apparently... Gets Spanish, French, Russian etc UI localization working on Debian Lenny fresh installation set up in Spanish (so es_ES.UTF-8 is available but en_US.UTF-8 isn't).
2010-03-09API config return textlimit valueMichele
2010-03-09Check for invalid and reserved usernames for the admin user at install time.Brion Vibber
2010-03-09Added a checkbox for subscribing the admin of a StatusNet instance toSarven Capadisli
update@status.net. Checked by default. Subscription optional.
2010-03-09Added scripts/command.php, can be used to run commands such as subscription ↵Brion Vibber
on behalf of users. This includes whatever support for extended command parsing plugins may have added. Example: ./scripts/command.php -nbrionv sub update@status.net
2010-03-09Merge branch 'commands' into testingBrion Vibber
2010-03-09Command input processing now has centralized places for looking up notice, ↵Brion Vibber
user/profile, and group arguments. OStatus plugin overrides these to allow using webfinger (user@example.com), profile URL (http://example.com/user) and bare profile URL (example.com/user) as arguments.
2010-03-09Merge commit 'origin/master' into testingBrion Vibber
2010-03-09Merge branch 'master' of git@gitorious.org:statusnet/mainlineEvan Prodromou
2010-03-09a script to flush siteEvan Prodromou
2010-03-09Merge branch 'master' of git@gitorious.org:statusnet/mainlineZach Copley
2010-03-09Use canonical URL for notification in RSSCloud pluginZach Copley
2010-03-09Use canonical URL for notification in RSSCloud pluginZach Copley
2010-03-09wrong param order to strpos()James Walker
2010-03-08Only allow RSSCloud subs to canonical RSS2 profile feedsZach Copley
2010-03-08an otp is a real loginEvan Prodromou
2010-03-08Only allow RSSCloud subs to canonical RSS2 profile feedsZach Copley
2010-03-08CentOS 5.4 still has bad PCRE in stock (though all bets off for PHP ↵Brion Vibber
packages, since you'd need a version update anyway...)
2010-03-08Revert "CentOS 5.4 still bogus on a stock install." - bad debug lines crept inBrion Vibber
This reverts commit 7e7d88831cf8b3e8876499b86890da2e63b08c97.
2010-03-08CentOS 5.4 still bogus on a stock install.Brion Vibber
2010-03-08Fix ticket #2208: regression in XMPP sending when server != hostBrion Vibber
The upstream class sets $this->basejid with host unconditionally, which wasn't previously an issue as the fulljid would always be filled in by the server at connect time before sending messages. With the new queued messaging, we need to make sure we've filled out $this->fulljid correctly without making a connection. Now using $server if provided to build $this->basejid and $this->fulljid in the queued XMPP proxy class, so queued messages are sent correctly.
2010-03-08XMPP cleanup: fix outgoing XMPP when queuing is disabled; fix notice for ↵Brion Vibber
first access to undefined member variable