GitHub Sale: sign up for any paid plan this week and pay nothing until January 1, 2009!  [ hide ]

public
Description: A rails app that interfaces with xmpp4r-simple
Clone URL: git://github.com/knewter/jabber_client.git
removed message sending function
knewter (author)
Sun Jun 22 06:46:28 -0700 2008
commit  c81d6c382bb3fd8eae6f89009a2ab73a32d54f55
tree    b583023329e93313231fdd01c1e08df964fec246
parent  8519d73645a2e2e68a0a8d0bbb310efef844d1e4
...
6
7
8
9
 
10
11
12
...
6
7
8
 
9
10
11
12
0
@@ -6,7 +6,7 @@ class MessagesController < JabberInterfaceController
0
   end
0
 
0
   def create
0
- current_user.jabber_user.jabber_connection.deliver(params[:to], params[:message])
0
+ #current_user.jabber_user.jabber_connection.deliver(params[:to], params[:message])
0
     flash[:notice] = "Message delivered."
0
     redirect_to '/buddy_list'
0
   end
...
13
14
15
 
 
 
 
 
 
16
17
18
...
13
14
15
16
17
18
19
20
21
22
23
24
0
@@ -13,6 +13,12 @@ role :app, "209.20.72.204"
0
 role :web, "209.20.72.204"
0
 role :db, "209.20.72.204", :primary => true
0
 
0
+namespace :deploy do
0
+ task :restart do
0
+ slicehost:apache_reload
0
+ end
0
+end
0
+
0
 namespace :slicehost do
0
   desc "Configure VHost"
0
   task :config_vhost do
...
14
15
16
17
 
18
19
20
 
21
22
23
...
14
15
16
 
17
18
19
 
20
21
22
23
0
@@ -14,10 +14,10 @@ ActiveRecord::Schema.define(:version => 20080621175157) do
0
   create_table "jabber_users", :force => true do |t|
0
     t.string "login"
0
     t.string "password"
0
- t.integer "user_id"
0
+ t.integer "user_id", :limit => 11
0
     t.datetime "created_at"
0
     t.datetime "updated_at"
0
- t.boolean "active", :default => false
0
+ t.boolean "active", :default => false
0
   end
0
 
0
   create_table "users", :force => true do |t|

Comments

    No one has commented yet.