summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
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-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-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-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-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-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
2010-03-08make API realm configurableEvan Prodromou
2010-03-04update version numberEvan Prodromou
2010-03-04Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testingSarven Capadisli
2010-03-04Bringing aside back because it is needed for Design values. Will hideSarven Capadisli
from CSS instead.
2010-03-04Ignore API 'since' silently as Twitter does instead of throwing a 403 error. ↵Brion Vibber
Getting extra results is less disruptive than total failure. Threw in an X-StatusNet-Warning header on the off chance some API client developer notices it. :)
2010-03-04OStatus enabled by defaultEvan Prodromou
2010-03-04Merge branch 'testing'Brion Vibber
2010-03-04Removed unused stub classZach Copley
2010-03-04Add generator tag into Atom feeds.Zach Copley
2010-03-04Fix variable name in NoConfigExceptionZach Copley
2010-03-03Temp fix for problem getting actor from PuSH updates where actor is only ↵Zach Copley
specified in subject
2010-03-03Revert "Revert "Show <activity:subject> and no activity actors for user feed""Zach Copley
This reverts commit e2578cfad68c45ca177c51997c4cc7c0abafbd9a.
2010-03-03Move snapshot configuration to its own admin panelZach Copley
Turn on with: $config['admin']['panels'][] = 'snapshot';
2010-03-03Put all required field setup into AtomUserNoticeFeed and ↵Brion Vibber
AtomGroupNoticeFeed, consolidating some code. (RSS feeds pulling title, logo etc from the Atom data structure so we don't dupe it.) OStatus now calling the feed classes directly instead of faking a call into the API, should be less flakey.
2010-03-03Initial user role controls on profile pages, for owner to add/remove ↵Brion Vibber
administrator and moderator options. Buttons need to be themed.
2010-03-03Merge branch 'testing'Evan Prodromou
2010-03-03Site-wide notice text admin panelZach Copley
2010-03-03Removed aside container from output for the admin panel sectionsSarven Capadisli
2010-03-03Add class="admin" to the content div of admin panels for stylingZach Copley
2010-03-03Language setting fixes:Brion Vibber
- switch 'en_US' to 'en', fixes the "admin panel switches to Arabic" bug - tweak setting descriptions to clarify that most of the time we'll be using browser language - add a backend switch to disable language detection (should this be exposed to ui?)
2010-03-03Merge branch 'testing' of git@gitorious.org:statusnet/mainlineBrion Vibber
2010-03-03Fix for 4113f2884113f288: show regular subscribe form for all non-OMB ↵Brion Vibber
profiles. We can't initiate remote sub for an OMB from our end, so dropping there.
2010-03-03Use poster's subscribed groups to disambiguate group linking when a remote ↵Brion Vibber
group and a local group exist with the same name. (If you're a member of two groups with the same name though, there's not a defined winner.)
2010-03-03Merge branch 'testing' of gitorious.org:statusnet/mainline into testingZach Copley
* 'testing' of gitorious.org:statusnet/mainline: Using position relative only for the remote subscription in section Added group subscription button to groups mini list Added event hooks at the start and end of groups mini list
2010-03-03Fix for disappearing 'connect' menu if xmpp and sms are disabled.Zach Copley
All 'connect' menu panels used to be optional, so Action tried to figure out what the first item on the 'connect' menu should be. This is no longer necessary because we have the non-optional OAuth client connections panel now, which is not optional and can't be turned off.
2010-03-03Added event hooks at the start and end of groups mini listSarven Capadisli
2010-03-03Merge branch 'testing' of git@gitorious.org:statusnet/mainlineBrion Vibber
Conflicts: plugins/OStatus/OStatusPlugin.php
2010-03-03Added event hooks for start and end of subscriptions mini listSarven Capadisli
2010-03-02OStatus: save file records for enclosuresBrion Vibber
Also stripping id from foreign HTML messages (could interfere with UI) and disabled failing attachment popup for a.attachment links that don't have a proper id, so you can click through instead of getting an error. Issues: * any other links aren't marked and saved * inconsistent behavior between local and remote attachments (local displays in lightbox, remote doesn't) * if the enclosure'd object isn't referenced in the content, you won't be offered a link to it in our UI
2010-03-02OStatus fix: look for <link>s in the current element's children, not in all ↵Brion Vibber
its descendants. Was breaking notice URL transfer, pulling a profile link by mistake.
2010-03-02stupid mistake... let's not talk about this.Craig Andrews
2010-03-02Updated some references to the long gnone "isEnclosure" function to the new ↵Craig Andrews
"getEnclosure"
2010-03-02Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testingSarven Capadisli
2010-03-02Added Subscribe button to remote user entity actions in profie listsSarven Capadisli
2010-03-02Merge branch 'master' of git@gitorious.org:statusnet/mainline into testingBrion Vibber
2010-03-02Dropped deprecated timestamp-based 'since' parameter for all API methods. ↵Brion Vibber
When it sneaks in it can cause some very slow queries due to mismatches with the indexing. Twitter removed 'since' support some time ago, and we've already removed it from the public timeline, so it shouldn't be missed.