Brion Vibber [Fri, 22 Jan 2010 23:04:53 +0000 (15:04 -0800)]
Fix for PoweredByStatusNetPlugin to be localizable (was broken for non-English word order)
(Note the .po files will have to be added manually for now as we haven't set TranslateWiki up for plugins I think)
Evan Prodromou [Sun, 24 Jan 2010 21:12:40 +0000 (16:12 -0500)]
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
Conflicts:
lib/stompqueuemanager.php
Evan Prodromou [Sun, 24 Jan 2010 20:59:57 +0000 (15:59 -0500)]
Merge branch 'master' into 0.9.x
Conflicts:
lib/stompqueuemanager.php
Evan Prodromou [Sun, 24 Jan 2010 20:57:56 +0000 (15:57 -0500)]
set correct key types for User_flag_profile
Evan Prodromou [Sun, 24 Jan 2010 16:20:08 +0000 (11:20 -0500)]
add function doc comment to User_flag_profile::create()
Sarven Capadisli [Sun, 24 Jan 2010 14:35:36 +0000 (15:35 +0100)]
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
Sarven Capadisli [Sun, 24 Jan 2010 14:34:40 +0000 (15:34 +0100)]
Added version info for MobileProfile plugin
Brenda Wallace [Sun, 24 Jan 2010 02:12:18 +0000 (15:12 +1300)]
Merge commit 'refs/merge-requests/120' of git://gitorious.org/statusnet/mainline into 0.9.x
Craig Andrews [Sat, 23 Jan 2010 18:08:59 +0000 (13:08 -0500)]
Use StartQueueDaemonIoManagers instead of removed StartIoManagerClasses event
Craig Andrews [Sat, 23 Jan 2010 06:03:41 +0000 (01:03 -0500)]
Allow for instances as well as class names to be passed as queue handlers and iomanagers.
Craig Andrews [Fri, 22 Jan 2010 23:02:05 +0000 (18:02 -0500)]
StompQueueManager uses decode() to decode queued frames
Brion Vibber [Fri, 22 Jan 2010 22:07:40 +0000 (14:07 -0800)]
Merge branch 'testing' into 0.9.x
Brion Vibber [Fri, 22 Jan 2010 21:49:05 +0000 (13:49 -0800)]
Fix unqueuemanager for updated QueueHandler interface
Brion Vibber [Fri, 22 Jan 2010 21:58:20 +0000 (13:58 -0800)]
Consolidate PuSH publishing ping into a single POST for all feeds, and fix server response (if any on failure) to go to log instead of stdout.
Brion Vibber [Fri, 22 Jan 2010 21:49:05 +0000 (13:49 -0800)]
Fix unqueuemanager for updated QueueHandler interface
Brion Vibber [Fri, 22 Jan 2010 20:59:52 +0000 (12:59 -0800)]
Merge branch 'testing' of gitorious.org:statusnet/mainline into 0.9.x
Brion Vibber [Fri, 22 Jan 2010 20:35:05 +0000 (12:35 -0800)]
Fix for stuck queue messages: wrap processing in stomp transactions so our lack of an ACK if PHP dies actually triggers redelivery.
Previously, messages once delivered would just get stuck in the queue seemingly forever if they never got ACKed.
Note this could lead to partial duplication, for instance if the OMB or Twitter queue handlers die after 1/2 of the outgoing sends.
Recommendations:
* catch exceptions more aggressively within queue handlers (so only PHP fatal errors are likely to kill in the middle)
* for processing that involves sending to multiple clients, consider a second queue similar to the XMPP output, eg for OMB:
- first queue gets delivery list and builds message data, enqueueing it for each target address
- second queue can handle each individual outgoing message (and attempt redelivery etc separately)
This would also protect better against a recurring error preventing delivery in the second part, and could spread out any slow sends over multiple threads.
Brion Vibber [Fri, 22 Jan 2010 20:52:36 +0000 (12:52 -0800)]
XMPP queued output & initial retooling of DB queue manager to support non-Notice objects.
Queue handlers for XMPP individual & firehose output now send their XML stanzas
to another output queue instead of connecting directly to the chat server. This
lets us have as many general processing threads as we need, while all actual
XMPP input and output go through a single daemon with a single connection open.
This avoids problems with multiple connected resources:
* multiple windows shown in some chat clients (psi, gajim, kopete)
* extra load on server
* incoming message delivery forwarding issues
Database changes:
* queue_item drops 'notice_id' in favor of a 'frame' blob.
This is based on Craig Andrews' work branch to generalize queues to take any
object, but conservatively leaving out the serialization for now.
Table updater (preserves any existing queued items) in db/rc3to09.sql
Code changes to watch out for:
* Queue handlers should now define a handle() method instead of handle_notice()
* QueueDaemon and XmppDaemon now share common i/o (IoMaster) and respawning
thread management (RespawningDaemon) infrastructure.
* The polling XmppConfirmManager has been dropped, as the message is queued
directly when saving IM settings.
* Enable $config['queue']['debug_memory'] to output current memory usage at
each run through the event loop to watch for memory leaks
To do:
* Adapt XMPP i/o to component connection mode for multi-site support.
* XMPP input can also be broken out to a queue, which would allow the actual
notice save etc to be handled by general queue threads.
* Make sure there are no problems with simply pushing serialized Notice objects
to queues.
* Find a way to improve interactive performance of the database-backed queue
handler; polling is pretty painful to XMPP.
* Possibly redo the way QueueHandlers are injected into a QueueManager. The
grouping used to split out the XMPP output queue is a bit awkward.
Conflicts:
scripts/xmppdaemon.php
Brion Vibber [Fri, 22 Jan 2010 20:35:05 +0000 (12:35 -0800)]
Fix for stuck queue messages: wrap processing in stomp transactions so our lack of an ACK if PHP dies actually triggers redelivery.
Previously, messages once delivered would just get stuck in the queue seemingly forever if they never got ACKed.
Note this could lead to partial duplication, for instance if the OMB or Twitter queue handlers die after 1/2 of the outgoing sends.
Recommendations:
* catch exceptions more aggressively within queue handlers (so only PHP fatal errors are likely to kill in the middle)
* for processing that involves sending to multiple clients, consider a second queue similar to the XMPP output, eg for OMB:
- first queue gets delivery list and builds message data, enqueueing it for each target address
- second queue can handle each individual outgoing message (and attempt redelivery etc separately)
This would also protect better against a recurring error preventing delivery in the second part, and could spread out any slow sends over multiple threads.
Sarven Capadisli [Fri, 22 Jan 2010 18:18:14 +0000 (19:18 +0100)]
Fixed innerHTML problem in IE7 and 8 for badge script
Evan Prodromou [Fri, 22 Jan 2010 19:19:08 +0000 (14:19 -0500)]
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
Evan Prodromou [Fri, 22 Jan 2010 19:18:43 +0000 (14:18 -0500)]
Merge branch 'testing' into 0.9.x
Evan Prodromou [Fri, 22 Jan 2010 19:18:40 +0000 (14:18 -0500)]
Merge branch 'master' into 0.9.x
Evan Prodromou [Fri, 22 Jan 2010 19:18:21 +0000 (14:18 -0500)]
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testing
Evan Prodromou [Fri, 22 Jan 2010 19:13:28 +0000 (14:13 -0500)]
do actual language negotiation for help docs
Evan Prodromou [Wed, 7 Oct 2009 09:14:25 +0000 (05:14 -0400)]
restructure doc.php for new use
Evan Prodromou [Tue, 6 Oct 2009 19:29:22 +0000 (15:29 -0400)]
action/doc.php is PHPCS clean
Sarven Capadisli [Fri, 22 Jan 2010 18:19:02 +0000 (19:19 +0100)]
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
Sarven Capadisli [Fri, 22 Jan 2010 18:18:14 +0000 (19:18 +0100)]
Fixed innerHTML problem in IE7 and 8 for badge script
Eric Helgeson [Fri, 22 Jan 2010 16:02:23 +0000 (11:02 -0500)]
Fix unqueuemanager to work with new Queue layout pushed in
0e852def6ae5aa529cca0aef1187152fb5a880be
"* Queue handlers should now define a handle() method instead of handle_notice()"
And Queue managers should call handle() :)
Evan Prodromou [Fri, 22 Jan 2010 15:46:11 +0000 (10:46 -0500)]
Memcached_DataObject unnecessarily require_once'd itself
Craig Andrews [Fri, 22 Jan 2010 15:40:21 +0000 (10:40 -0500)]
stupid mistake... let's not talk about this.
Craig Andrews [Fri, 22 Jan 2010 15:12:26 +0000 (10:12 -0500)]
Updated some references to the long gnone "isEnclosure" function to the new "getEnclosure"
Brion Vibber [Fri, 22 Jan 2010 00:42:50 +0000 (16:42 -0800)]
XMPP queued output & initial retooling of DB queue manager to support non-Notice objects.
Queue handlers for XMPP individual & firehose output now send their XML stanzas
to another output queue instead of connecting directly to the chat server. This
lets us have as many general processing threads as we need, while all actual
XMPP input and output go through a single daemon with a single connection open.
This avoids problems with multiple connected resources:
* multiple windows shown in some chat clients (psi, gajim, kopete)
* extra load on server
* incoming message delivery forwarding issues
Database changes:
* queue_item drops 'notice_id' in favor of a 'frame' blob.
This is based on Craig Andrews' work branch to generalize queues to take any
object, but conservatively leaving out the serialization for now.
Table updater (preserves any existing queued items) in db/rc3to09.sql
Code changes to watch out for:
* Queue handlers should now define a handle() method instead of handle_notice()
* QueueDaemon and XmppDaemon now share common i/o (IoMaster) and respawning
thread management (RespawningDaemon) infrastructure.
* The polling XmppConfirmManager has been dropped, as the message is queued
directly when saving IM settings.
* Enable $config['queue']['debug_memory'] to output current memory usage at
each run through the event loop to watch for memory leaks
To do:
* Adapt XMPP i/o to component connection mode for multi-site support.
* XMPP input can also be broken out to a queue, which would allow the actual
notice save etc to be handled by general queue threads.
* Make sure there are no problems with simply pushing serialized Notice objects
to queues.
* Find a way to improve interactive performance of the database-backed queue
handler; polling is pretty painful to XMPP.
* Possibly redo the way QueueHandlers are injected into a QueueManager. The
grouping used to split out the XMPP output queue is a bit awkward.
Brion Vibber [Fri, 22 Jan 2010 00:42:50 +0000 (16:42 -0800)]
XMPP queued output & initial retooling of DB queue manager to support non-Notice objects.
Queue handlers for XMPP individual & firehose output now send their XML stanzas
to another output queue instead of connecting directly to the chat server. This
lets us have as many general processing threads as we need, while all actual
XMPP input and output go through a single daemon with a single connection open.
This avoids problems with multiple connected resources:
* multiple windows shown in some chat clients (psi, gajim, kopete)
* extra load on server
* incoming message delivery forwarding issues
Database changes:
* queue_item drops 'notice_id' in favor of a 'frame' blob.
This is based on Craig Andrews' work branch to generalize queues to take any
object, but conservatively leaving out the serialization for now.
Table updater (preserves any existing queued items) in db/rc3to09.sql
Code changes to watch out for:
* Queue handlers should now define a handle() method instead of handle_notice()
* QueueDaemon and XmppDaemon now share common i/o (IoMaster) and respawning
thread management (RespawningDaemon) infrastructure.
* The polling XmppConfirmManager has been dropped, as the message is queued
directly when saving IM settings.
* Enable $config['queue']['debug_memory'] to output current memory usage at
each run through the event loop to watch for memory leaks
To do:
* Adapt XMPP i/o to component connection mode for multi-site support.
* XMPP input can also be broken out to a queue, which would allow the actual
notice save etc to be handled by general queue threads.
* Make sure there are no problems with simply pushing serialized Notice objects
to queues.
* Find a way to improve interactive performance of the database-backed queue
handler; polling is pretty painful to XMPP.
* Possibly redo the way QueueHandlers are injected into a QueueManager. The
grouping used to split out the XMPP output queue is a bit awkward.
Brion Vibber [Fri, 22 Jan 2010 00:34:49 +0000 (16:34 -0800)]
Merge branch 'testing' into 0.9.x
Brion Vibber [Fri, 22 Jan 2010 00:34:26 +0000 (16:34 -0800)]
drop debug line from xmppdaemon.php, we're done debugging that
Brion Vibber [Fri, 22 Jan 2010 00:33:11 +0000 (16:33 -0800)]
Merge commit 'origin/testing' into 0.9.x
Brion Vibber [Fri, 22 Jan 2010 00:27:08 +0000 (00:27 +0000)]
Quick hack to avoid breaking with geonames off when there's some old cookie state. This code's a little rough and tumble; any breakage halts JS execution and leaves the spinner going and no message submitted.
Siebrand Mazeland [Thu, 21 Jan 2010 22:45:09 +0000 (23:45 +0100)]
Localisation updates for !StatusNet from !translatewiki.net !sntrans
Zach Copley [Thu, 21 Jan 2010 19:37:20 +0000 (11:37 -0800)]
- Moved checking for group aliases and redirection to prepare()
- phpcs cleanup
- add @macno to the list of authors
Brion Vibber [Thu, 21 Jan 2010 19:07:52 +0000 (11:07 -0800)]
Option to log slow db queries or all db queries
$config['db']['log_queries'] = true; // all
$config['db']['log_slow_queries'] = 10; // queries taking > 10 seconds
Michele [Thu, 21 Jan 2010 18:30:12 +0000 (19:30 +0100)]
if the id is an alias we redirect using group_id
Evan Prodromou [Thu, 21 Jan 2010 16:38:08 +0000 (11:38 -0500)]
Unimplement retweeted_by_me API action until we have a more efficient query
Evan Prodromou [Thu, 21 Jan 2010 16:32:01 +0000 (11:32 -0500)]
retweet API methods are readonly
Sarven Capadisli [Thu, 21 Jan 2010 15:49:49 +0000 (16:49 +0100)]
Event hooks for before and after site_notice
Sarven Capadisli [Thu, 21 Jan 2010 12:23:04 +0000 (13:23 +0100)]
Removed mobile stylesheet from core output. If Mobile support is
seeked, MobileProfile plugin should be used.
Rajat Upadhyaya [Thu, 21 Jan 2010 03:57:00 +0000 (09:27 +0530)]
Fix to update user's fullname & homepage only if requested.
Zach Copley [Thu, 21 Jan 2010 02:01:07 +0000 (18:01 -0800)]
Add Start/EndSetApiUser events when setting API user via OAuth
Michele [Sun, 17 Jan 2010 10:21:07 +0000 (11:21 +0100)]
HTTP auth provided is evaluated even if it's not required
Evan Prodromou [Wed, 20 Jan 2010 22:58:23 +0000 (17:58 -0500)]
add PubSubHubBub and RSSCloud to list of default plugins
Evan Prodromou [Wed, 20 Jan 2010 22:55:03 +0000 (17:55 -0500)]
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
Evan Prodromou [Wed, 20 Jan 2010 22:49:13 +0000 (17:49 -0500)]
update changes in README
Evan Prodromou [Wed, 20 Jan 2010 22:00:42 +0000 (17:00 -0500)]
mark retweet api actions read-only where applicable
Evan Prodromou [Wed, 20 Jan 2010 21:37:41 +0000 (16:37 -0500)]
add class and function doc comments to PuSH plugin
Evan Prodromou [Wed, 20 Jan 2010 21:29:11 +0000 (16:29 -0500)]
whitespace changes to make phpcs happy for PuSH plugin
Evan Prodromou [Wed, 20 Jan 2010 21:16:22 +0000 (16:16 -0500)]
correctly get replies for a notice in PuSH plugin
Evan Prodromou [Wed, 20 Jan 2010 21:13:52 +0000 (16:13 -0500)]
use standard plugin configuration for PubSubHubBub
Evan Prodromou [Wed, 20 Jan 2010 20:56:24 +0000 (15:56 -0500)]
Revert "DEBUG HACK: error checking for xml_parse in XMPPHP input stream"
This reverts commit
906450e2f5b78a1c6f2dec2e21b9b5841df210f4.
1) It was a quick debug hack 2) it doesn't meet the requirements
for changing extlib/ libraries
Evan Prodromou [Wed, 20 Jan 2010 20:51:55 +0000 (15:51 -0500)]
Merge branch 'master' of git@gitorious.org:statusnet/mainline
Evan Prodromou [Wed, 20 Jan 2010 20:43:24 +0000 (15:43 -0500)]
update friends, not user, timeline for recipients of notice in PuSH plugin
Sarven Capadisli [Wed, 20 Jan 2010 17:50:48 +0000 (18:50 +0100)]
Better alignment for notice options in MobileProfile
Sarven Capadisli [Wed, 20 Jan 2010 17:32:24 +0000 (18:32 +0100)]
Updated notice item view where a) notice text no longer wraps around
(under author's photo) b) supplemental notice content and options will
start right under notice text.
Brion Vibber [Wed, 20 Jan 2010 16:37:58 +0000 (08:37 -0800)]
DEBUG HACK: error checking for xml_parse in XMPPHP input stream
Siebrand Mazeland [Tue, 19 Jan 2010 23:58:11 +0000 (00:58 +0100)]
Localisation updates for !StatusNet from !translatewiki.net !sntrans
Brion Vibber [Tue, 19 Jan 2010 20:26:59 +0000 (12:26 -0800)]
Extra debug instrumentation for xmppdaemon
Evan Prodromou [Tue, 19 Jan 2010 05:32:05 +0000 (00:32 -0500)]
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
Evan Prodromou [Tue, 19 Jan 2010 05:31:42 +0000 (00:31 -0500)]
Merge branch 'master' into 0.9.x
Evan Prodromou [Tue, 19 Jan 2010 05:04:58 +0000 (00:04 -0500)]
allow all rights reserved, private data
Evan Prodromou [Tue, 19 Jan 2010 04:26:03 +0000 (23:26 -0500)]
Merge branch 'master' of git@gitorious.org:statusnet/mainline
Evan Prodromou [Tue, 19 Jan 2010 04:25:45 +0000 (23:25 -0500)]
add event for showing content license in action
Eric Helgeson [Mon, 18 Jan 2010 23:31:13 +0000 (18:31 -0500)]
Added Plugin Version info to recaptcha plugin
Siebrand Mazeland [Mon, 18 Jan 2010 23:24:53 +0000 (00:24 +0100)]
Localisation updates for !StatusNet from !translatewiki.net !sntrans
Brion Vibber [Mon, 18 Jan 2010 17:37:42 +0000 (09:37 -0800)]
add a quickie plugins/ dir readme mentioning how to add plugins, plus ref to wiki pages
Brion Vibber [Mon, 18 Jan 2010 17:28:58 +0000 (09:28 -0800)]
Fix order of params on 'plugin not found' exception
Sarven Capadisli [Mon, 18 Jan 2010 17:17:02 +0000 (17:17 +0000)]
Missing null className for incoming email form legend
Sarven Capadisli [Mon, 18 Jan 2010 12:55:14 +0000 (12:55 +0000)]
Some JS cleaning up for NoticeLocationAttach (which fixes also fixes a
few bugs in WebKit)
Sarven Capadisli [Mon, 18 Jan 2010 11:29:05 +0000 (11:29 +0000)]
Updated path to farbtastic stylesheet
Sarven Capadisli [Mon, 18 Jan 2010 11:12:05 +0000 (11:12 +0000)]
Moved farbtastic's stylesheet to use relative paths for its own images
Sarven Capadisli [Sun, 17 Jan 2010 22:31:47 +0000 (22:31 +0000)]
Took out focus out of textare when location share is enabled/disabled.
Also avoids the conflict with the URL fragment on the conversation page.
Sarven Capadisli [Sun, 17 Jan 2010 19:45:35 +0000 (19:45 +0000)]
Updated UI for notice aside content and notice options in MobileProfile
Sarven Capadisli [Sun, 17 Jan 2010 14:04:47 +0000 (14:04 +0000)]
Inline script for maxlength is deprecated
Eric Helgeson [Sat, 16 Jan 2010 22:42:53 +0000 (17:42 -0500)]
Merge commit 'refs/merge-requests/117' of git://gitorious.org/statusnet/mainline into integration
Brion Vibber [Sat, 16 Jan 2010 21:40:49 +0000 (13:40 -0800)]
Merge branch 'master' into 0.9.x
Brion Vibber [Sat, 16 Jan 2010 21:39:05 +0000 (13:39 -0800)]
Cleanup for memcached host/port split -- apparently we use ';' on purpose, restoring. Keeping fix for the notices spewing into the log.
Brion Vibber [Sat, 16 Jan 2010 21:37:49 +0000 (13:37 -0800)]
Merge branch 'master' of gitorious.org:statusnet/mainline
Sarven Capadisli [Sat, 16 Jan 2010 20:57:18 +0000 (20:57 +0000)]
Using visibility:hidden instead of display:none for checkbox
Sarven Capadisli [Sat, 16 Jan 2010 20:10:46 +0000 (20:10 +0000)]
Added missing position paramater
Sarven Capadisli [Sat, 16 Jan 2010 19:44:37 +0000 (19:44 +0000)]
JSLinting on JSON
Sarven Capadisli [Sat, 16 Jan 2010 19:42:32 +0000 (19:42 +0000)]
Some JSlint-ing
Sarven Capadisli [Sat, 16 Jan 2010 19:17:14 +0000 (19:17 +0000)]
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
Sarven Capadisli [Sat, 16 Jan 2010 19:16:44 +0000 (19:16 +0000)]
Removed extra comma in object
Siebrand Mazeland [Sat, 16 Jan 2010 17:57:34 +0000 (18:57 +0100)]
Localisation updates for !StatusNet from !translatewiki.net !sntrans
Eric Helgeson [Sat, 16 Jan 2010 16:56:07 +0000 (11:56 -0500)]
Missed change when refactoring groups. Thanks macno
Evan Prodromou [Sat, 16 Jan 2010 16:06:02 +0000 (08:06 -0800)]
Merge branch 'master' into 0.9.x
Evan Prodromou [Sat, 16 Jan 2010 15:48:59 +0000 (07:48 -0800)]
Merge branch 'master' of git@gitorious.org:statusnet/mainline
Evan Prodromou [Sat, 16 Jan 2010 15:48:46 +0000 (07:48 -0800)]
change rc3 to beta3
Evan Prodromou [Sat, 16 Jan 2010 14:57:01 +0000 (06:57 -0800)]
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
Brion Vibber [Fri, 15 Jan 2010 21:06:21 +0000 (13:06 -0800)]
Fix for background recalculation of groups; needs to get Group objects not IDs; also don't list any groups for repeats to match saveGroups behavior
todo: merge calculation portion with saveGroups so they don't get out of sync
Siebrand Mazeland [Fri, 15 Jan 2010 19:20:18 +0000 (20:20 +0100)]
Localisation updates for !StatusNet from !translatewiki.net !sntrans