Commit Graph

7811 Commits

Author SHA1 Message Date
Evan Prodromou d13d73c563 Last-chance distribution if enqueueing fails 2010-01-28 16:53:37 -08:00
Brion Vibber 155a5d446f Manual failover for stomp queues.
If an array of multiple servers is put in $config['queue']['stomp_server'], enqueues will pick a random server to send to (failing over automatically if any are down).
Queue handling daemons connect all servers so they get events no matter where they were delivered.
In case of disconnection, daemons should now handle it gracefully and attempt to reconnect every 60 seconds or so, automatically resubscribing to all queues once it's back up.

Can put to 'native' failover for reads as well by disabling $config['stomp']['manual_failover'] = false; but this is untested and may explode in addition to requiring that your ActiveMQ cluster actually be set up to handle its own data distribution.

Additionally, can choose which queues to mark as persistent by setting $config['stomp']['persistent'] to an array of queue names.
2010-01-28 16:49:32 -08:00
Brion Vibber d00ce38549 Merge commit 'origin/master' into testing 2010-01-28 13:35:09 -08:00
Evan Prodromou 513f8be07a hide most DB_DataObject errors 2010-01-28 16:26:55 -05:00
Evan Prodromou 74a03cbe1f always set up database_rw, regardless, so cached sessions work 2010-01-28 14:27:35 -05:00
Evan Prodromou d5f86f7a8a Merge branch 'master' of git@gitorious.org:statusnet/mainline 2010-01-28 13:54:19 -05:00
Evan Prodromou 84b5480007 update mysqltimestamps on insert and update 2010-01-28 13:54:01 -05:00
Evan Prodromou c81318d3ca additional debugging data for Sessions 2010-01-28 13:53:28 -05:00
Zach Copley e5ff610e75 'Sign in with Twitter' button img 2010-01-28 18:47:12 +00:00
Sarven Capadisli 86fed21c14 Merge branch 'master' of git@gitorious.org:statusnet/mainline 2010-01-28 19:37:31 +01:00
Sarven Capadisli 171c97f17e Update to aside styles in biz theme 2010-01-28 19:36:58 +01:00
Sarven Capadisli 1e8b14d24b Update to notice item in biz theme 2010-01-28 19:36:58 +01:00
Sarven Capadisli 8eec008b0c Update to biz theme button close and minimize styles 2010-01-28 19:36:57 +01:00
Sarven Capadisli 72fc0f6b8a Update to biz theme's input styles 2010-01-28 19:36:57 +01:00
Sarven Capadisli f66e0ed139 Updated biz theme entity_actions styles 2010-01-28 19:36:57 +01:00
Sarven Capadisli 9af751c03a Updated biz theme to use dialogbox styles 2010-01-28 19:36:57 +01:00
Sarven Capadisli 852a8b8295 Updated biz theme notice options 2010-01-28 19:36:57 +01:00
Sarven Capadisli 8a18fd9591 Updated biz theme to hide form_repeat legend 2010-01-28 19:36:57 +01:00
Sarven Capadisli f4c037f956 Updated biz theme to use the single icons file 2010-01-28 19:36:57 +01:00
Sarven Capadisli 108aa050af Updated geo sharing styles for biz 2010-01-28 19:36:57 +01:00
Sarven Capadisli df2390a90f Fixed layout when ad plugin is on for biz 2010-01-28 19:36:57 +01:00
Sarven Capadisli 612dce4fe1 Fixed layout for powered by statusnet in biz 2010-01-28 19:36:57 +01:00
Zach Copley d773ed8193 Remove redundant session token field from form (was already being added by base class). 2010-01-28 18:36:30 +00:00
Zach Copley b96f30168c Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testing 2010-01-28 18:15:50 +00:00
Zach Copley 558bf0f489 'Sign in with Twitter' button img 2010-01-28 18:15:45 +00:00
Brion Vibber a868a523a5 Can now set $config['queue']['stomp_persistent'] = false; to explicitly disable persistence when we queue items 2010-01-28 09:52:35 -08:00
Sarven Capadisli 22d9c32e7e Update to aside styles in biz theme 2010-01-28 18:39:30 +01:00
Sarven Capadisli b4babedd29 Update to notice item in biz theme 2010-01-28 17:36:33 +01:00
Sarven Capadisli 1662aa1113 Update to biz theme button close and minimize styles 2010-01-28 17:32:24 +01:00
Sarven Capadisli d29af38a0b Update to biz theme's input styles 2010-01-28 17:28:11 +01:00
Sarven Capadisli d955fb5e37 Updated biz theme entity_actions styles 2010-01-28 17:22:01 +01:00
Sarven Capadisli 156efda37a Updated biz theme to use dialogbox styles 2010-01-28 17:16:11 +01:00
Sarven Capadisli 83087e9d9b Updated biz theme notice options 2010-01-28 17:12:48 +01:00
Sarven Capadisli 6e556e502a Updated biz theme to hide form_repeat legend 2010-01-28 17:09:35 +01:00
Sarven Capadisli e881888789 Updated biz theme to use the single icons file 2010-01-28 17:08:24 +01:00
Sarven Capadisli b969fba2f5 Updated geo sharing styles for biz 2010-01-28 16:49:33 +01:00
Sarven Capadisli d4289cb34e Fixed layout when ad plugin is on for biz 2010-01-28 16:41:28 +01:00
Sarven Capadisli 61114ceff7 Fixed layout for powered by statusnet in biz 2010-01-28 16:39:20 +01:00
Sarven Capadisli c6f8b94fa9 Showing processing indicator for form_repeat on submit instead of form 2010-01-28 16:02:39 +01:00
Sarven Capadisli 5b1245a32a Removed avatar from repeat of username (matches noticelist) 2010-01-28 15:06:03 +01:00
Sarven Capadisli dcce323d18 Removed unused variable assignment for avatar URL and added missing fn 2010-01-28 15:05:23 +01:00
Brion Vibber ffaaf9de4a Don't preemptively close existing DB connections for web views (needed to keep # of conns from going insane on multi-site queue daemons, so just doing for CLI)
May, or may not, help with mystery session problems
2010-01-27 23:51:22 -08:00
Brion Vibber 78fe76b058 dropping the setcookie() call from common_ensure_session() since we're pretty sure it's unnecessary 2010-01-27 23:16:06 -08:00
Brion Vibber 65c4cff01c append '/' on cookie path for now (may still need some refactoring) 2010-01-27 23:14:49 -08:00
Evan Prodromou 5bf4928db8 Merge branch 'master' of git@gitorious.org:statusnet/mainline 2010-01-28 01:25:08 -05:00
Evan Prodromou 1ba8045a9b set session cookie correctly 2010-01-28 01:24:00 -05:00
Brion Vibber 7347381183 Fix for Mapstraction plugin's zoomed map links
Move definition of NICKNAME_FMT above plugin initialization but below loading of Validate package.
A merge error when refactoring setup lead to this not being defined yet when plugins were initialized, causing the router setup in MapstractionPlugin which tried to use this constant to fail.
Result was bogus links and if you hit the URL directly the action would be "unrecognized".
2010-01-27 21:42:13 -08:00
Brion Vibber 427ac3a3a6 debug log line for control channel sub 2010-01-27 20:51:04 -08:00
Brion Vibber 944a89dfeb Merge branch 'master' of gitorious.org:statusnet/mainline 2010-01-27 20:49:40 -08:00
Zach Copley 794fe16d69 Merge branch 'facebook-js-fix' into testing 2010-01-28 04:47:21 +00:00