social_stream-presence 0.7.3 → 0.7.4
Sign up to get free protection for your applications and to get access to all the features.
- data/app/assets/javascripts/chat_interface_manager.js.erb +264 -143
- data/app/assets/javascripts/chat_persistence.js +3 -5
- data/app/assets/javascripts/chat_utilities.js +6 -0
- data/app/assets/javascripts/chat_window_manager.js +9 -1
- data/{vendor/assets/javascripts/jquery.flexselect.js → app/assets/javascripts/jquery.flexselect.sstreampresence.js} +16 -8
- data/{vendor/assets/javascripts/jquery.ui.chatbox.js → app/assets/javascripts/jquery.ui.chatbox.sstreampresence.js} +0 -0
- data/app/assets/javascripts/social_stream-presence.js +2 -2
- data/app/assets/javascripts/xmpp_client_management.js.erb +8 -21
- data/app/assets/stylesheets/chat.css.scss +17 -13
- data/app/controllers/xmpp_controller.rb +1 -4
- data/app/helpers/xmpp_helper.rb +6 -15
- data/app/views/chat/_contacts.html.erb +16 -63
- data/app/views/chat/_index.html.erb +83 -15
- data/lib/social_stream-presence.rb +1 -0
- data/lib/social_stream/presence/version.rb +1 -1
- metadata +93 -68
- data/app/views/chat/_connecting.html.erb +0 -8
- data/app/views/chat/_off.html.erb +0 -54
metadata
CHANGED
@@ -1,79 +1,99 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: social_stream-presence
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
prerelease: false
|
5
|
+
segments:
|
6
|
+
- 0
|
7
|
+
- 7
|
8
|
+
- 4
|
9
|
+
version: 0.7.4
|
6
10
|
platform: ruby
|
7
|
-
authors:
|
11
|
+
authors:
|
8
12
|
- Aldo Gordillo
|
9
13
|
autorequire:
|
10
14
|
bindir: bin
|
11
15
|
cert_chain: []
|
12
|
-
|
13
|
-
|
14
|
-
|
16
|
+
|
17
|
+
date: 2012-02-17 00:00:00 +01:00
|
18
|
+
default_executable:
|
19
|
+
dependencies:
|
20
|
+
- !ruby/object:Gem::Dependency
|
15
21
|
name: social_stream-base
|
16
|
-
|
22
|
+
prerelease: false
|
23
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
17
24
|
none: false
|
18
|
-
requirements:
|
25
|
+
requirements:
|
19
26
|
- - ~>
|
20
|
-
- !ruby/object:Gem::Version
|
27
|
+
- !ruby/object:Gem::Version
|
28
|
+
segments:
|
29
|
+
- 0
|
30
|
+
- 16
|
31
|
+
- 1
|
21
32
|
version: 0.16.1
|
22
33
|
type: :runtime
|
23
|
-
|
24
|
-
|
25
|
-
- !ruby/object:Gem::Dependency
|
34
|
+
version_requirements: *id001
|
35
|
+
- !ruby/object:Gem::Dependency
|
26
36
|
name: xmpp4r
|
27
|
-
|
37
|
+
prerelease: false
|
38
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
28
39
|
none: false
|
29
|
-
requirements:
|
30
|
-
- -
|
31
|
-
- !ruby/object:Gem::Version
|
32
|
-
|
40
|
+
requirements:
|
41
|
+
- - ">="
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
segments:
|
44
|
+
- 0
|
45
|
+
version: "0"
|
33
46
|
type: :runtime
|
34
|
-
|
35
|
-
|
36
|
-
- !ruby/object:Gem::Dependency
|
47
|
+
version_requirements: *id002
|
48
|
+
- !ruby/object:Gem::Dependency
|
37
49
|
name: net-ssh
|
38
|
-
|
50
|
+
prerelease: false
|
51
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
39
52
|
none: false
|
40
|
-
requirements:
|
41
|
-
- -
|
42
|
-
- !ruby/object:Gem::Version
|
43
|
-
|
53
|
+
requirements:
|
54
|
+
- - ">="
|
55
|
+
- !ruby/object:Gem::Version
|
56
|
+
segments:
|
57
|
+
- 0
|
58
|
+
version: "0"
|
44
59
|
type: :runtime
|
45
|
-
|
46
|
-
|
47
|
-
- !ruby/object:Gem::Dependency
|
60
|
+
version_requirements: *id003
|
61
|
+
- !ruby/object:Gem::Dependency
|
48
62
|
name: net-sftp
|
49
|
-
|
63
|
+
prerelease: false
|
64
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
50
65
|
none: false
|
51
|
-
requirements:
|
52
|
-
- -
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
|
66
|
+
requirements:
|
67
|
+
- - ">="
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
segments:
|
70
|
+
- 0
|
71
|
+
version: "0"
|
55
72
|
type: :runtime
|
56
|
-
|
57
|
-
|
58
|
-
- !ruby/object:Gem::Dependency
|
73
|
+
version_requirements: *id004
|
74
|
+
- !ruby/object:Gem::Dependency
|
59
75
|
name: ruby-debug19
|
60
|
-
|
76
|
+
prerelease: false
|
77
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
61
78
|
none: false
|
62
|
-
requirements:
|
63
|
-
- -
|
64
|
-
- !ruby/object:Gem::Version
|
65
|
-
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
segments:
|
83
|
+
- 0
|
84
|
+
version: "0"
|
66
85
|
type: :development
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
social networking features and activity streams.
|
71
|
-
email:
|
86
|
+
version_requirements: *id005
|
87
|
+
description: Social Stream is a Ruby on Rails engine providing your application with social networking features and activity streams.
|
88
|
+
email:
|
72
89
|
- iamchrono@gmail.com
|
73
90
|
executables: []
|
91
|
+
|
74
92
|
extensions: []
|
93
|
+
|
75
94
|
extra_rdoc_files: []
|
76
|
-
|
95
|
+
|
96
|
+
files:
|
77
97
|
- .gitignore
|
78
98
|
- Gemfile
|
79
99
|
- Rakefile
|
@@ -103,6 +123,8 @@ files:
|
|
103
123
|
- app/assets/javascripts/chat_persistence.js
|
104
124
|
- app/assets/javascripts/chat_utilities.js
|
105
125
|
- app/assets/javascripts/chat_window_manager.js
|
126
|
+
- app/assets/javascripts/jquery.flexselect.sstreampresence.js
|
127
|
+
- app/assets/javascripts/jquery.ui.chatbox.sstreampresence.js
|
106
128
|
- app/assets/javascripts/social_stream-presence.js
|
107
129
|
- app/assets/javascripts/store.js
|
108
130
|
- app/assets/javascripts/xmpp_client_management.js.erb
|
@@ -110,10 +132,8 @@ files:
|
|
110
132
|
- app/assets/stylesheets/social_stream-presence.css
|
111
133
|
- app/controllers/xmpp_controller.rb
|
112
134
|
- app/helpers/xmpp_helper.rb
|
113
|
-
- app/views/chat/_connecting.html.erb
|
114
135
|
- app/views/chat/_contacts.html.erb
|
115
136
|
- app/views/chat/_index.html.erb
|
116
|
-
- app/views/chat/_off.html.erb
|
117
137
|
- app/views/chat/_settings.html.erb
|
118
138
|
- app/views/xmpp/active_users.html.erb
|
119
139
|
- config/locales/en.yml
|
@@ -206,37 +226,42 @@ files:
|
|
206
226
|
- spec/demo/vendor/plugins/.gitkeep
|
207
227
|
- spec/discover.rb
|
208
228
|
- spec/spec_helper.rb
|
209
|
-
- vendor/assets/javascripts/jquery.flexselect.js
|
210
229
|
- vendor/assets/javascripts/jquery.tools.tooltip.js
|
211
|
-
- vendor/assets/javascripts/jquery.ui.chatbox.js
|
212
230
|
- vendor/assets/javascripts/liquidmetal.js
|
213
231
|
- vendor/assets/javascripts/strophe.js
|
214
232
|
- vendor/assets/stylesheets/flexselect.css
|
215
233
|
- vendor/assets/stylesheets/jquery.ui.chatbox.css
|
234
|
+
has_rdoc: true
|
216
235
|
homepage: https://github.com/ging/social_stream-presence
|
217
236
|
licenses: []
|
237
|
+
|
218
238
|
post_install_message:
|
219
239
|
rdoc_options: []
|
220
|
-
|
240
|
+
|
241
|
+
require_paths:
|
221
242
|
- lib
|
222
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
243
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
223
244
|
none: false
|
224
|
-
requirements:
|
225
|
-
- -
|
226
|
-
- !ruby/object:Gem::Version
|
227
|
-
|
228
|
-
|
245
|
+
requirements:
|
246
|
+
- - ">="
|
247
|
+
- !ruby/object:Gem::Version
|
248
|
+
segments:
|
249
|
+
- 0
|
250
|
+
version: "0"
|
251
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
229
252
|
none: false
|
230
|
-
requirements:
|
231
|
-
- -
|
232
|
-
- !ruby/object:Gem::Version
|
233
|
-
|
253
|
+
requirements:
|
254
|
+
- - ">="
|
255
|
+
- !ruby/object:Gem::Version
|
256
|
+
segments:
|
257
|
+
- 0
|
258
|
+
version: "0"
|
234
259
|
requirements: []
|
260
|
+
|
235
261
|
rubyforge_project: social_stream-presence
|
236
|
-
rubygems_version: 1.
|
262
|
+
rubygems_version: 1.3.7
|
237
263
|
signing_key:
|
238
264
|
specification_version: 3
|
239
|
-
summary: Presence capabilities for Social Stream, the core for building social network
|
240
|
-
websites
|
265
|
+
summary: Presence capabilities for Social Stream, the core for building social network websites
|
241
266
|
test_files: []
|
242
|
-
|
267
|
+
|
@@ -1,54 +0,0 @@
|
|
1
|
-
<script type="text/javascript">
|
2
|
-
$(document).ready(function () {
|
3
|
-
|
4
|
-
if (authByCookie()){
|
5
|
-
//Authentication by cookie
|
6
|
-
|
7
|
-
$("#passwordFormChat").hide();
|
8
|
-
$('.connectChatButton').bind('click', function () {
|
9
|
-
if (requestConnectToChat()){
|
10
|
-
connectToChat(user_jid,cookie,null);
|
11
|
-
}
|
12
|
-
});
|
13
|
-
|
14
|
-
} else {
|
15
|
-
//Authentication by password
|
16
|
-
|
17
|
-
if ((window.sessionStorage) && (sessionStorage.getItem("ss_user_pass") != null)) {
|
18
|
-
$("#passwordFormChat").hide();
|
19
|
-
} else {
|
20
|
-
$("#passwordFormChat").show();
|
21
|
-
}
|
22
|
-
|
23
|
-
$('.connectChatButton').bind('click', function () {
|
24
|
-
if (requestConnectToChat()) {
|
25
|
-
connectToChat(user_jid,null,$('#user_password').val());
|
26
|
-
}
|
27
|
-
});
|
28
|
-
|
29
|
-
$('.storePass').bind('click', function () {
|
30
|
-
storePassword();
|
31
|
-
});
|
32
|
-
|
33
|
-
}
|
34
|
-
|
35
|
-
});
|
36
|
-
|
37
|
-
</script>
|
38
|
-
|
39
|
-
<div class="block">
|
40
|
-
<div class="header">
|
41
|
-
<%=image_tag("btn/btn_friend.png", :class => "header_icon")%>
|
42
|
-
<div class="header_text">
|
43
|
-
<p id="chat_header_title"><%=t('chat.disconnected')%></p>
|
44
|
-
</div>
|
45
|
-
</div>
|
46
|
-
</div>
|
47
|
-
|
48
|
-
<div class="chat_off">
|
49
|
-
<div id="passwordFormChat">
|
50
|
-
<label for="user_password" class="chatPasswordTitle"><%=t('chat.password')%></label>
|
51
|
-
<input id="user_password" class="chat_password" type="password"></input>
|
52
|
-
</div>
|
53
|
-
<input class="connectChatButton storePass" value="Connect">
|
54
|
-
</div>
|