social_stream 0.23.4 → 0.24.0
Sign up to get free protection for your applications and to get access to all the features.
- data/base/app/assets/images/flags/pt.png +0 -0
- data/base/app/assets/javascripts/social_stream.toolbar.js +41 -0
- data/base/app/assets/stylesheets/settings.css +1 -0
- data/base/app/controllers/activity_actions_controller.rb +44 -0
- data/base/app/controllers/followers_controller.rb +39 -0
- data/base/app/helpers/activities_helper.rb +10 -10
- data/base/app/helpers/activity_actions_helper.rb +35 -0
- data/base/app/helpers/contacts_helper.rb +1 -1
- data/base/app/helpers/followers_helper.rb +5 -0
- data/base/app/helpers/toolbar_helper.rb +55 -68
- data/base/app/models/activity_action.rb +28 -0
- data/base/app/models/activity_object.rb +11 -2
- data/base/app/models/actor.rb +23 -33
- data/base/app/models/contact.rb +32 -43
- data/base/app/models/group.rb +2 -6
- data/base/app/models/relation.rb +1 -1
- data/base/app/models/relation/follow.rb +14 -0
- data/base/app/models/tie.rb +30 -30
- data/base/app/models/user.rb +8 -0
- data/base/app/views/activities/_options.html.erb +0 -1
- data/base/app/views/activity_actions/_follow_form.html.erb +10 -0
- data/base/app/views/activity_actions/_follow_sentence.html.erb +3 -0
- data/base/app/views/activity_actions/_update_form.js.erb +2 -0
- data/base/app/views/activity_actions/create.js.erb +1 -0
- data/base/app/views/activity_actions/update.js.erb +1 -0
- data/base/app/views/avatars/index.html.erb +1 -1
- data/base/app/views/cheesecake/index.html.erb +1 -1
- data/base/app/views/contacts/{_link.html.erb → _link_custom.html.erb} +0 -0
- data/base/app/views/contacts/_link_follow.html.erb +12 -0
- data/base/app/views/contacts/edit.html.erb +1 -1
- data/base/app/views/contacts/index.html.erb +1 -1
- data/base/app/views/contacts/index.js.erb +1 -1
- data/base/app/views/contacts/new.html.erb +1 -1
- data/base/app/views/conversations/index.html.erb +1 -1
- data/base/app/views/conversations/index.js.erb +1 -1
- data/base/app/views/conversations/show.html.erb +1 -1
- data/base/app/views/conversations/show.js.erb +1 -1
- data/base/app/views/devise/registrations/edit.html.erb +1 -1
- data/base/app/views/followers/destroy.js.erb +1 -0
- data/base/app/views/followers/index.html.erb +5 -0
- data/base/app/views/followers/update.js.erb +1 -0
- data/base/app/views/groups/_show.html.erb +1 -1
- data/base/app/views/groups/new.html.erb +1 -1
- data/base/app/views/layouts/_header_dropdown_menu.html.erb +5 -3
- data/base/app/views/messages/new.html.erb +1 -1
- data/base/app/views/messages/new.js.erb +1 -1
- data/base/app/views/objects/_show.html.erb +1 -1
- data/base/app/views/profiles/edit.html.erb +1 -1
- data/base/app/views/profiles/show.html.erb +1 -1
- data/base/app/views/relation/customs/index.html.erb +1 -1
- data/base/app/views/settings/index.html.erb +1 -1
- data/base/app/views/settings/index.js.erb +1 -0
- data/base/app/views/ties/index.html.erb +1 -1
- data/base/app/views/toolbar/_logo.html.erb +0 -7
- data/base/app/views/users/_show.html.erb +1 -1
- data/base/config/locales/en.yml +16 -6
- data/base/config/locales/es.yml +15 -6
- data/base/config/locales/pt.yml +507 -0
- data/base/config/locales/rails.pt.yml +192 -0
- data/base/config/routes.rb +20 -7
- data/base/db/migrate/20120316093946_create_activity_actions.rb +15 -0
- data/base/db/migrate/20120316113728_activity_action_follow.rb +23 -0
- data/base/lib/generators/social_stream/base/install_generator.rb +0 -4
- data/base/lib/generators/social_stream/base/templates/initializer.rb +7 -0
- data/base/lib/inherited_resources/social_stream.rb +18 -0
- data/base/lib/rails/social_stream.rb +23 -0
- data/base/lib/social_stream-base.rb +7 -3
- data/base/lib/social_stream/base/dependencies.rb +3 -2
- data/base/lib/social_stream/base/engine.rb +6 -6
- data/base/lib/social_stream/base/version.rb +1 -1
- data/base/lib/social_stream/models/channeled.rb +8 -0
- data/base/lib/social_stream/models/object.rb +1 -3
- data/base/lib/social_stream/models/subtype.rb +31 -25
- data/base/lib/social_stream/models/supertype.rb +54 -19
- data/base/lib/social_stream/views/toolbar/base.rb +143 -0
- data/base/lib/tasks/db/populate.rake +1 -1
- data/base/social_stream-base.gemspec +1 -3
- data/base/spec/dummy/config/initializers/social_stream.rb +7 -0
- data/base/spec/models/activity_action_spec.rb +26 -0
- data/base/spec/models/tie_spec.rb +2 -2
- data/documents/app/views/common_documents/_headers.html.erb +1 -1
- data/documents/lib/social_stream-documents.rb +4 -2
- data/documents/lib/social_stream/documents/engine.rb +3 -3
- data/documents/lib/social_stream/documents/version.rb +1 -1
- data/documents/lib/social_stream/views/toolbar/documents.rb +28 -0
- data/documents/social_stream-documents.gemspec +1 -1
- data/events/app/assets/javascripts/social_stream.event.js +33 -0
- data/events/app/assets/stylesheets/events.css.scss +37 -0
- data/events/app/views/events/_event.html.erb +3 -44
- data/events/app/views/events/_event_date.html.erb +20 -0
- data/events/app/views/events/_event_date_sidebar.html.erb +14 -0
- data/events/app/views/events/_event_details.html.erb +21 -0
- data/events/app/views/events/_event_poster.html.erb +9 -0
- data/events/app/views/events/_event_sidebar.html.erb +10 -0
- data/events/app/views/events/index.html.erb +1 -1
- data/events/app/views/events/index.js.erb +1 -1
- data/events/config/locales/en.yml +6 -0
- data/events/config/locales/es.yml +7 -0
- data/events/lib/social_stream/events/version.rb +1 -1
- data/events/social_stream-events.gemspec +2 -2
- data/lib/social_stream/version.rb +1 -1
- data/linkser/lib/social_stream/linkser/version.rb +1 -1
- data/linkser/social_stream-linkser.gemspec +1 -1
- data/presence/app/assets/images/games/sfighter/abobo/abobo.png +0 -0
- data/presence/app/assets/images/games/sfighter/abobo/abobo_block_81x130x1.png +0 -0
- data/presence/app/assets/images/games/sfighter/abobo/abobo_die_156x119x1.png +0 -0
- data/presence/app/assets/images/games/sfighter/abobo/abobo_hit_108x120x3.png +0 -0
- data/presence/app/assets/images/games/sfighter/abobo/abobo_idle_100x121x3.png +0 -0
- data/presence/app/assets/images/games/sfighter/abobo/abobo_kick_137x130x2.png +0 -0
- data/presence/app/assets/images/games/sfighter/abobo/abobo_punch_131x170x4.png +0 -0
- data/presence/app/assets/images/games/sfighter/abobo/abobo_walk_backward_94x126x6.png +0 -0
- data/presence/app/assets/images/games/sfighter/abobo/abobo_walk_forward_94x126x6.png +0 -0
- data/presence/app/assets/images/games/sfighter/cvs/cvs_block_69x99x2.png +0 -0
- data/presence/app/assets/images/games/sfighter/cvs/cvs_die_150x110x1.png +0 -0
- data/presence/app/assets/images/games/sfighter/cvs/cvs_hit_59x103x1.png +0 -0
- data/presence/app/assets/images/games/sfighter/cvs/cvs_idle_59x106x6.png +0 -0
- data/presence/app/assets/images/games/sfighter/cvs/cvs_kick_156x106x9.png +0 -0
- data/presence/app/assets/images/games/sfighter/cvs/cvs_punch_120x104x6.png +0 -0
- data/presence/app/assets/images/games/sfighter/cvs/cvs_walk_backward_58x106x5.png +0 -0
- data/presence/app/assets/images/games/sfighter/cvs/cvs_walk_forward_58x106x5.png +0 -0
- data/presence/app/assets/images/games/sfighter/stage/background1.png +0 -0
- data/presence/app/assets/images/games/sfighter/stage/background2.png +0 -0
- data/presence/app/assets/images/games/sfighter/stage/background3.png +0 -0
- data/presence/app/assets/images/games/sfighter/stage/foreground.png +0 -0
- data/presence/app/assets/images/games/sfighter/stage/ground.png +0 -0
- data/presence/app/assets/images/games/sfighter/thumbnail.png +0 -0
- data/presence/app/assets/images/games/ter/classic_circle.png +0 -0
- data/presence/app/assets/images/games/ter/classic_thumbnail.png +0 -0
- data/presence/app/assets/images/games/ter/modern_thumbnail.png +0 -0
- data/presence/app/assets/images/webcam.png +0 -0
- data/presence/app/assets/javascripts/jquery.ui.chatbox.sstreampresence.js +2 -2
- data/presence/app/assets/javascripts/presence_XmppClient.js.erb +3 -1
- data/presence/app/assets/javascripts/presence_game.js.erb +13 -6
- data/presence/app/assets/javascripts/presence_game_comunication.js.erb +83 -13
- data/presence/app/assets/javascripts/presence_game_factory.js.erb +47 -0
- data/presence/app/assets/javascripts/presence_game_interface.js.erb +143 -53
- data/presence/app/assets/javascripts/presence_game_sfighter.js.erb +583 -0
- data/presence/app/assets/javascripts/presence_game_ter.js.erb +20 -9
- data/presence/app/assets/javascripts/presence_uiManager.js.erb +0 -2
- data/presence/app/assets/javascripts/presence_utilities.js +1 -1
- data/presence/app/assets/javascripts/presence_videochat.js.erb +5 -0
- data/presence/app/assets/javascripts/social_stream-presence.js +1 -0
- data/presence/app/assets/stylesheets/chat.css.scss +59 -6
- data/presence/config/locales/en.yml +1 -1
- data/presence/config/locales/es.yml +1 -1
- data/presence/lib/social_stream-presence.rb +4 -0
- data/presence/lib/social_stream/presence/engine.rb +6 -0
- data/presence/lib/social_stream/presence/version.rb +1 -1
- data/presence/lib/social_stream/views/toolbar/presence.rb +28 -0
- data/presence/social_stream-presence.gemspec +1 -1
- data/social_stream.gemspec +5 -5
- metadata +92 -41
- data/base/app/assets/javascripts/toolbar.js +0 -22
- data/base/app/views/layouts/_settings.html.erb +0 -18
- data/base/app/views/toolbar/_home.html.erb +0 -15
- data/base/app/views/toolbar/_messages.html.erb +0 -15
- data/base/app/views/toolbar/_profile.html.erb +0 -28
- data/base/lib/generators/social_stream/base/templates/navigation.rb +0 -4
- data/base/lib/social_stream/toolbar_config/base.rb +0 -94
- data/documents/lib/social_stream/toolbar_config/documents.rb +0 -27
- data/events/lib/social_stream/toolbar_config/events.rb +0 -22
@@ -9,17 +9,25 @@ PRESENCE.GAME.TER = (function(P,$,undefined){
|
|
9
9
|
|
10
10
|
//Games variables
|
11
11
|
var game; //Game and player are objects defined in the gamecore.
|
12
|
+
var name = "Tic Tac Toe"
|
12
13
|
var player = null;
|
13
14
|
var currentPlayer = null;
|
14
15
|
var playing=true;
|
15
16
|
|
17
|
+
|
16
18
|
//We must define our ACTION object.
|
17
19
|
//The information exchanged between players is performed through the exchange of action type objects.
|
18
20
|
//We can define our own types of actions, with different fields
|
19
|
-
function action(player,square) {
|
21
|
+
//function action(player,square) {
|
22
|
+
//this.player = player;
|
23
|
+
//this.square = square;
|
24
|
+
//this.type = "general";
|
25
|
+
//}
|
26
|
+
|
27
|
+
function action(player,square) {
|
20
28
|
this.player = player;
|
21
|
-
this.type = "general";
|
22
29
|
this.square = square;
|
30
|
+
this.type = "general";
|
23
31
|
}
|
24
32
|
|
25
33
|
//Html Divs
|
@@ -99,8 +107,8 @@ PRESENCE.GAME.TER = (function(P,$,undefined){
|
|
99
107
|
//We can include our own validation conditions here!
|
100
108
|
//The core will invoke this method automatically in the validation process
|
101
109
|
var validateParams = function(myPlayer,myGame,myDivID){
|
102
|
-
if(myGame.players.
|
103
|
-
return new CORE.createValidationResult(false,"This game needs two players
|
110
|
+
if(myGame.players.length != 2){
|
111
|
+
return new CORE.createValidationResult(false,"This game needs two players");
|
104
112
|
}
|
105
113
|
return new CORE.createValidationResult(true,"Ok");
|
106
114
|
}
|
@@ -119,7 +127,7 @@ PRESENCE.GAME.TER = (function(P,$,undefined){
|
|
119
127
|
///////////////////////////////// * When some player send us a action, the core will invoke the << onActionReceived >> method.
|
120
128
|
|
121
129
|
var sendAction = function(action){
|
122
|
-
CORE.sendAction(game
|
130
|
+
CORE.sendAction(game,action)
|
123
131
|
return;
|
124
132
|
}
|
125
133
|
|
@@ -322,15 +330,13 @@ PRESENCE.GAME.TER = (function(P,$,undefined){
|
|
322
330
|
var figure = "aspa";
|
323
331
|
}
|
324
332
|
|
325
|
-
var path = "/assets/games/ter/modern_circle.png"
|
326
333
|
$(img).attr("src","/assets/games/ter/" + game.options['theme'].toLowerCase() + "_" + figure + ".png");
|
327
334
|
$("#" + containerDivId).append(img);
|
328
335
|
$(img).addClass('tresEnRayaImgTheme' + game.options['theme'])
|
329
336
|
|
330
|
-
//Calculate displacement
|
331
337
|
var figureSizePercent = 0.8;
|
332
|
-
var xdisplacement = -squareDimension*figureSizePercent/2*0.
|
333
|
-
|
338
|
+
var xdisplacement = -squareDimension*figureSizePercent/2*0.7;
|
339
|
+
var ydisplacement = 13;
|
334
340
|
|
335
341
|
$(img).width(squareDimension*figureSizePercent)
|
336
342
|
$(img).height(squareDimension*figureSizePercent)
|
@@ -406,6 +412,10 @@ PRESENCE.GAME.TER = (function(P,$,undefined){
|
|
406
412
|
}
|
407
413
|
|
408
414
|
//Getters
|
415
|
+
var getName = function(){
|
416
|
+
return name
|
417
|
+
}
|
418
|
+
|
409
419
|
var getGame = function(){
|
410
420
|
return game;
|
411
421
|
}
|
@@ -425,6 +435,7 @@ PRESENCE.GAME.TER = (function(P,$,undefined){
|
|
425
435
|
|
426
436
|
return {
|
427
437
|
init: init,
|
438
|
+
getName: getName,
|
428
439
|
validateParams: validateParams,
|
429
440
|
minimumRequirements: minimumRequirements,
|
430
441
|
onActionReceived: onActionReceived
|
@@ -21,6 +21,8 @@ function clickVideoChatButton(slug){
|
|
21
21
|
}
|
22
22
|
|
23
23
|
function closeVideoChatWindow(slug){
|
24
|
+
//Show games button
|
25
|
+
$(getChatBoxButtonForSlug(slug,"games")).show()
|
24
26
|
closeVideoSession(slug);
|
25
27
|
return;
|
26
28
|
}
|
@@ -29,6 +31,9 @@ function closeVideoChatWindow(slug){
|
|
29
31
|
var reconnectAttemptsVideo = 1;
|
30
32
|
|
31
33
|
function openVideoChatWindow(slug){
|
34
|
+
|
35
|
+
//Hide games button
|
36
|
+
$(getChatBoxButtonForSlug(slug,"games")).hide()
|
32
37
|
|
33
38
|
if (slug in contactsInfo) {
|
34
39
|
var connectionStatus = contactsInfo[slug].videoChatStatus;
|
@@ -81,10 +81,8 @@ div.ui-videobox{
|
|
81
81
|
height: 0px;
|
82
82
|
border-bottom: 1px solid $separation-color;
|
83
83
|
max-width: 230px;
|
84
|
-
|
85
|
-
|
86
|
-
div.ui-videobox-icon{
|
87
|
-
|
84
|
+
text-align: center;
|
85
|
+
margin: auto;
|
88
86
|
}
|
89
87
|
|
90
88
|
div.ui-videobox-icon-change{
|
@@ -131,7 +129,7 @@ p.video-request{
|
|
131
129
|
}
|
132
130
|
|
133
131
|
p.game-info{
|
134
|
-
padding-top:
|
132
|
+
padding-top: 20%;
|
135
133
|
text-align: center;
|
136
134
|
}
|
137
135
|
|
@@ -143,6 +141,57 @@ p.game-request{
|
|
143
141
|
color: $main-color;
|
144
142
|
}
|
145
143
|
|
144
|
+
.game-choices{
|
145
|
+
display: inline;
|
146
|
+
width: 100%;
|
147
|
+
height: 100%;
|
148
|
+
text-align: center;
|
149
|
+
}
|
150
|
+
|
151
|
+
div.game-choice {
|
152
|
+
float: left;
|
153
|
+
position: relative;
|
154
|
+
width: 90px;
|
155
|
+
height: 90px;
|
156
|
+
margin-left: 20px;
|
157
|
+
margin-right: 20px;
|
158
|
+
margin-top: 20px;
|
159
|
+
}
|
160
|
+
|
161
|
+
div.game-choice-buttonLeft {
|
162
|
+
float: left;
|
163
|
+
position: relative;
|
164
|
+
margin-left: 40px;
|
165
|
+
margin-top: 50px;
|
166
|
+
}
|
167
|
+
|
168
|
+
div.game-choice-buttonRight {
|
169
|
+
float: left;
|
170
|
+
position: relative;
|
171
|
+
margin-right: 40px;
|
172
|
+
margin-top: 50px;
|
173
|
+
}
|
174
|
+
|
175
|
+
img.game-choice-img{
|
176
|
+
width: 90px;
|
177
|
+
height: 90px;
|
178
|
+
}
|
179
|
+
|
180
|
+
img.game-choice-button{
|
181
|
+
margin-top: 5px;
|
182
|
+
width: 30px;
|
183
|
+
height: 30px;
|
184
|
+
}
|
185
|
+
|
186
|
+
p.game-name{
|
187
|
+
margin-top: 5px;
|
188
|
+
text-align: center;
|
189
|
+
}
|
190
|
+
|
191
|
+
a.game-choice-link{
|
192
|
+
|
193
|
+
}
|
194
|
+
|
146
195
|
/* notifications style sheet */
|
147
196
|
|
148
197
|
div.ui-chatbox-notify{
|
@@ -192,8 +241,12 @@ p.ui-chatbox-notify-text{
|
|
192
241
|
}
|
193
242
|
|
194
243
|
.chat-videothick{
|
195
|
-
/* display: none; */
|
196
244
|
padding: 1px;
|
245
|
+
/*background-image: url("webcam.png");
|
246
|
+
background-repeat: no-repeat;
|
247
|
+
display: block;
|
248
|
+
height: 16px;
|
249
|
+
width: 16px; */
|
197
250
|
}
|
198
251
|
|
199
252
|
.chat-videoPublisherthick{
|
@@ -52,7 +52,7 @@ en:
|
|
52
52
|
joinError: "You can't join in the room \n {{errorMsg}}"
|
53
53
|
offline: "You are offline"
|
54
54
|
game:
|
55
|
-
call: "{{name}} wants to play"
|
55
|
+
call: "{{name}} wants to play a {{game}} game"
|
56
56
|
accept: Accept
|
57
57
|
deny: Deny
|
58
58
|
offline: "Unable to connect. You are offline"
|
@@ -52,7 +52,7 @@ es:
|
|
52
52
|
joinError: "No se pudo acceder a la sala. \n {{errorMsg}}"
|
53
53
|
offline: "Estás desconectado"
|
54
54
|
game:
|
55
|
-
call: "{{name}} quiere iniciar una partida"
|
55
|
+
call: "{{name}} quiere iniciar una partida de {{game}}"
|
56
56
|
accept: Aceptar
|
57
57
|
deny: Rechazar
|
58
58
|
offline: "Imposible conectar. Estás desconectado"
|
@@ -18,6 +18,12 @@ module SocialStream
|
|
18
18
|
include SocialStream::Views::Settings::Presence
|
19
19
|
end
|
20
20
|
end
|
21
|
+
|
22
|
+
initializer "social_stream-presence.views.toolbar" do
|
23
|
+
SocialStream::Views::Toolbar.module_eval do
|
24
|
+
include SocialStream::Views::Toolbar::Presence
|
25
|
+
end
|
26
|
+
end
|
21
27
|
end
|
22
28
|
end
|
23
29
|
end
|
@@ -0,0 +1,28 @@
|
|
1
|
+
module SocialStream
|
2
|
+
module Views
|
3
|
+
module Toolbar
|
4
|
+
module Presence
|
5
|
+
def toolbar_items type, options = {}
|
6
|
+
super.tap do |items|
|
7
|
+
case type
|
8
|
+
when :home, :messages
|
9
|
+
items << {
|
10
|
+
:key => 'chat',
|
11
|
+
:html => render(:partial => 'chat/index' , :locals => {:flow => false })
|
12
|
+
}
|
13
|
+
when :profile
|
14
|
+
items << {
|
15
|
+
:key => 'chat',
|
16
|
+
:html => render(:partial => 'chat/index',
|
17
|
+
:locals => {
|
18
|
+
:flow => true ,
|
19
|
+
:group => @group
|
20
|
+
})
|
21
|
+
}
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
data/social_stream.gemspec
CHANGED
@@ -11,11 +11,11 @@ Gem::Specification.new do |s|
|
|
11
11
|
s.files = `git ls-files`.split("\n")
|
12
12
|
|
13
13
|
# Gem dependencies
|
14
|
-
s.add_runtime_dependency('social_stream-base', '~> 0.
|
15
|
-
s.add_runtime_dependency('social_stream-documents', '~> 0.
|
16
|
-
s.add_runtime_dependency('social_stream-events', '~> 0.
|
17
|
-
s.add_runtime_dependency('social_stream-linkser', '~> 0.
|
18
|
-
s.add_runtime_dependency('social_stream-presence', '~> 0.
|
14
|
+
s.add_runtime_dependency('social_stream-base', '~> 0.18.0')
|
15
|
+
s.add_runtime_dependency('social_stream-documents', '~> 0.12.0')
|
16
|
+
s.add_runtime_dependency('social_stream-events', '~> 0.10.0')
|
17
|
+
s.add_runtime_dependency('social_stream-linkser', '~> 0.8.0')
|
18
|
+
s.add_runtime_dependency('social_stream-presence', '~> 0.11.0')
|
19
19
|
|
20
20
|
# Development Gem dependencies
|
21
21
|
#
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: social_stream
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.24.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,66 +10,66 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2012-03-
|
13
|
+
date: 2012-03-21 00:00:00.000000000Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: social_stream-base
|
17
|
-
requirement: &
|
17
|
+
requirement: &69917940 !ruby/object:Gem::Requirement
|
18
18
|
none: false
|
19
19
|
requirements:
|
20
20
|
- - ~>
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 0.
|
22
|
+
version: 0.18.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
|
-
version_requirements: *
|
25
|
+
version_requirements: *69917940
|
26
26
|
- !ruby/object:Gem::Dependency
|
27
27
|
name: social_stream-documents
|
28
|
-
requirement: &
|
28
|
+
requirement: &69917160 !ruby/object:Gem::Requirement
|
29
29
|
none: false
|
30
30
|
requirements:
|
31
31
|
- - ~>
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 0.
|
33
|
+
version: 0.12.0
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
|
-
version_requirements: *
|
36
|
+
version_requirements: *69917160
|
37
37
|
- !ruby/object:Gem::Dependency
|
38
38
|
name: social_stream-events
|
39
|
-
requirement: &
|
39
|
+
requirement: &69912000 !ruby/object:Gem::Requirement
|
40
40
|
none: false
|
41
41
|
requirements:
|
42
42
|
- - ~>
|
43
43
|
- !ruby/object:Gem::Version
|
44
|
-
version: 0.
|
44
|
+
version: 0.10.0
|
45
45
|
type: :runtime
|
46
46
|
prerelease: false
|
47
|
-
version_requirements: *
|
47
|
+
version_requirements: *69912000
|
48
48
|
- !ruby/object:Gem::Dependency
|
49
49
|
name: social_stream-linkser
|
50
|
-
requirement: &
|
50
|
+
requirement: &69911150 !ruby/object:Gem::Requirement
|
51
51
|
none: false
|
52
52
|
requirements:
|
53
53
|
- - ~>
|
54
54
|
- !ruby/object:Gem::Version
|
55
|
-
version: 0.
|
55
|
+
version: 0.8.0
|
56
56
|
type: :runtime
|
57
57
|
prerelease: false
|
58
|
-
version_requirements: *
|
58
|
+
version_requirements: *69911150
|
59
59
|
- !ruby/object:Gem::Dependency
|
60
60
|
name: social_stream-presence
|
61
|
-
requirement: &
|
61
|
+
requirement: &69910580 !ruby/object:Gem::Requirement
|
62
62
|
none: false
|
63
63
|
requirements:
|
64
64
|
- - ~>
|
65
65
|
- !ruby/object:Gem::Version
|
66
|
-
version: 0.
|
66
|
+
version: 0.11.0
|
67
67
|
type: :runtime
|
68
68
|
prerelease: false
|
69
|
-
version_requirements: *
|
69
|
+
version_requirements: *69910580
|
70
70
|
- !ruby/object:Gem::Dependency
|
71
71
|
name: capybara
|
72
|
-
requirement: &
|
72
|
+
requirement: &69909850 !ruby/object:Gem::Requirement
|
73
73
|
none: false
|
74
74
|
requirements:
|
75
75
|
- - ~>
|
@@ -77,10 +77,10 @@ dependencies:
|
|
77
77
|
version: 0.3.9
|
78
78
|
type: :development
|
79
79
|
prerelease: false
|
80
|
-
version_requirements: *
|
80
|
+
version_requirements: *69909850
|
81
81
|
- !ruby/object:Gem::Dependency
|
82
82
|
name: sqlite3
|
83
|
-
requirement: &
|
83
|
+
requirement: &69908570 !ruby/object:Gem::Requirement
|
84
84
|
none: false
|
85
85
|
requirements:
|
86
86
|
- - ! '>='
|
@@ -88,10 +88,10 @@ dependencies:
|
|
88
88
|
version: '0'
|
89
89
|
type: :development
|
90
90
|
prerelease: false
|
91
|
-
version_requirements: *
|
91
|
+
version_requirements: *69908570
|
92
92
|
- !ruby/object:Gem::Dependency
|
93
93
|
name: ruby-debug19
|
94
|
-
requirement: &
|
94
|
+
requirement: &69907600 !ruby/object:Gem::Requirement
|
95
95
|
none: false
|
96
96
|
requirements:
|
97
97
|
- - ! '>='
|
@@ -99,10 +99,10 @@ dependencies:
|
|
99
99
|
version: '0'
|
100
100
|
type: :development
|
101
101
|
prerelease: false
|
102
|
-
version_requirements: *
|
102
|
+
version_requirements: *69907600
|
103
103
|
- !ruby/object:Gem::Dependency
|
104
104
|
name: rspec-rails
|
105
|
-
requirement: &
|
105
|
+
requirement: &69905150 !ruby/object:Gem::Requirement
|
106
106
|
none: false
|
107
107
|
requirements:
|
108
108
|
- - ~>
|
@@ -110,10 +110,10 @@ dependencies:
|
|
110
110
|
version: 2.8.0
|
111
111
|
type: :development
|
112
112
|
prerelease: false
|
113
|
-
version_requirements: *
|
113
|
+
version_requirements: *69905150
|
114
114
|
- !ruby/object:Gem::Dependency
|
115
115
|
name: factory_girl
|
116
|
-
requirement: &
|
116
|
+
requirement: &69900360 !ruby/object:Gem::Requirement
|
117
117
|
none: false
|
118
118
|
requirements:
|
119
119
|
- - ~>
|
@@ -121,10 +121,10 @@ dependencies:
|
|
121
121
|
version: 1.3.2
|
122
122
|
type: :development
|
123
123
|
prerelease: false
|
124
|
-
version_requirements: *
|
124
|
+
version_requirements: *69900360
|
125
125
|
- !ruby/object:Gem::Dependency
|
126
126
|
name: forgery
|
127
|
-
requirement: &
|
127
|
+
requirement: &69899080 !ruby/object:Gem::Requirement
|
128
128
|
none: false
|
129
129
|
requirements:
|
130
130
|
- - ~>
|
@@ -132,10 +132,10 @@ dependencies:
|
|
132
132
|
version: 0.4.2
|
133
133
|
type: :development
|
134
134
|
prerelease: false
|
135
|
-
version_requirements: *
|
135
|
+
version_requirements: *69899080
|
136
136
|
- !ruby/object:Gem::Dependency
|
137
137
|
name: ci_reporter
|
138
|
-
requirement: &
|
138
|
+
requirement: &69898360 !ruby/object:Gem::Requirement
|
139
139
|
none: false
|
140
140
|
requirements:
|
141
141
|
- - ~>
|
@@ -143,7 +143,7 @@ dependencies:
|
|
143
143
|
version: 1.6.4
|
144
144
|
type: :development
|
145
145
|
prerelease: false
|
146
|
-
version_requirements: *
|
146
|
+
version_requirements: *69898360
|
147
147
|
description: Social Stream is a Ruby on Rails engine for building social network websites.
|
148
148
|
It supports contacts, posts, file uploads, private messages and many more.
|
149
149
|
email:
|
@@ -277,6 +277,7 @@ files:
|
|
277
277
|
- base/app/assets/images/cleditor/toolbar.gif
|
278
278
|
- base/app/assets/images/flags/en.png
|
279
279
|
- base/app/assets/images/flags/es.png
|
280
|
+
- base/app/assets/images/flags/pt.png
|
280
281
|
- base/app/assets/images/frontpage/collaborate.png
|
281
282
|
- base/app/assets/images/frontpage/comments.png
|
282
283
|
- base/app/assets/images/frontpage/green_sq.png
|
@@ -344,9 +345,9 @@ files:
|
|
344
345
|
- base/app/assets/javascripts/social_stream.objects.js
|
345
346
|
- base/app/assets/javascripts/social_stream.search.js.erb
|
346
347
|
- base/app/assets/javascripts/social_stream.timeline.js
|
348
|
+
- base/app/assets/javascripts/social_stream.toolbar.js
|
347
349
|
- base/app/assets/javascripts/social_stream.wall.js.erb
|
348
350
|
- base/app/assets/javascripts/ties.js
|
349
|
-
- base/app/assets/javascripts/toolbar.js
|
350
351
|
- base/app/assets/javascripts/users.js
|
351
352
|
- base/app/assets/stylesheets/_colors.scss
|
352
353
|
- base/app/assets/stylesheets/activities.css.scss.erb
|
@@ -389,12 +390,14 @@ files:
|
|
389
390
|
- base/app/assets/stylesheets/toolbar.css
|
390
391
|
- base/app/assets/stylesheets/users.css
|
391
392
|
- base/app/controllers/activities_controller.rb
|
393
|
+
- base/app/controllers/activity_actions_controller.rb
|
392
394
|
- base/app/controllers/api_controller.rb
|
393
395
|
- base/app/controllers/authentications_controller.rb
|
394
396
|
- base/app/controllers/cheesecake_controller.rb
|
395
397
|
- base/app/controllers/comments_controller.rb
|
396
398
|
- base/app/controllers/contacts_controller.rb
|
397
399
|
- base/app/controllers/conversations_controller.rb
|
400
|
+
- base/app/controllers/followers_controller.rb
|
398
401
|
- base/app/controllers/frontpage_controller.rb
|
399
402
|
- base/app/controllers/groups_controller.rb
|
400
403
|
- base/app/controllers/home_controller.rb
|
@@ -414,7 +417,9 @@ files:
|
|
414
417
|
- base/app/controllers/ties_controller.rb
|
415
418
|
- base/app/controllers/users_controller.rb
|
416
419
|
- base/app/helpers/activities_helper.rb
|
420
|
+
- base/app/helpers/activity_actions_helper.rb
|
417
421
|
- base/app/helpers/contacts_helper.rb
|
422
|
+
- base/app/helpers/followers_helper.rb
|
418
423
|
- base/app/helpers/groups_helper.rb
|
419
424
|
- base/app/helpers/location_helper.rb
|
420
425
|
- base/app/helpers/notifications_helper.rb
|
@@ -429,6 +434,7 @@ files:
|
|
429
434
|
- base/app/mailers/invitation_mailer.rb
|
430
435
|
- base/app/models/ability.rb
|
431
436
|
- base/app/models/activity.rb
|
437
|
+
- base/app/models/activity_action.rb
|
432
438
|
- base/app/models/activity_object.rb
|
433
439
|
- base/app/models/activity_object_activity.rb
|
434
440
|
- base/app/models/activity_object_property.rb
|
@@ -446,6 +452,7 @@ files:
|
|
446
452
|
- base/app/models/profile.rb
|
447
453
|
- base/app/models/relation.rb
|
448
454
|
- base/app/models/relation/custom.rb
|
455
|
+
- base/app/models/relation/follow.rb
|
449
456
|
- base/app/models/relation/public.rb
|
450
457
|
- base/app/models/relation/reject.rb
|
451
458
|
- base/app/models/relation/single.rb
|
@@ -463,6 +470,11 @@ files:
|
|
463
470
|
- base/app/views/activities/_wall.html.erb
|
464
471
|
- base/app/views/activities/index.html.erb
|
465
472
|
- base/app/views/activities/index.js.erb
|
473
|
+
- base/app/views/activity_actions/_follow_form.html.erb
|
474
|
+
- base/app/views/activity_actions/_follow_sentence.html.erb
|
475
|
+
- base/app/views/activity_actions/_update_form.js.erb
|
476
|
+
- base/app/views/activity_actions/create.js.erb
|
477
|
+
- base/app/views/activity_actions/update.js.erb
|
466
478
|
- base/app/views/activity_objects/_activity_object.html.erb
|
467
479
|
- base/app/views/actors/_actor.html.erb
|
468
480
|
- base/app/views/actors/_actor_cheesecake.html.erb
|
@@ -484,7 +496,8 @@ files:
|
|
484
496
|
- base/app/views/contacts/_contact.html.erb
|
485
497
|
- base/app/views/contacts/_form.html.erb
|
486
498
|
- base/app/views/contacts/_index.html.erb
|
487
|
-
- base/app/views/contacts/
|
499
|
+
- base/app/views/contacts/_link_custom.html.erb
|
500
|
+
- base/app/views/contacts/_link_follow.html.erb
|
488
501
|
- base/app/views/contacts/_pendings.html.erb
|
489
502
|
- base/app/views/contacts/_suggestions.html.erb
|
490
503
|
- base/app/views/contacts/_suggestions_and_pendings.html.erb
|
@@ -513,6 +526,9 @@ files:
|
|
513
526
|
- base/app/views/devise/registrations/new.html.erb
|
514
527
|
- base/app/views/devise/sessions/new.html.erb
|
515
528
|
- base/app/views/devise/shared/_links.erb
|
529
|
+
- base/app/views/followers/destroy.js.erb
|
530
|
+
- base/app/views/followers/index.html.erb
|
531
|
+
- base/app/views/followers/update.js.erb
|
516
532
|
- base/app/views/frontpage/_caracteristics.html.erb
|
517
533
|
- base/app/views/frontpage/_social_networks.html.erb
|
518
534
|
- base/app/views/frontpage/_sponsor.html.erb
|
@@ -550,7 +566,6 @@ files:
|
|
550
566
|
- base/app/views/layouts/_header_signed_out.erb
|
551
567
|
- base/app/views/layouts/_representation.html.erb
|
552
568
|
- base/app/views/layouts/_search.html.erb
|
553
|
-
- base/app/views/layouts/_settings.html.erb
|
554
569
|
- base/app/views/layouts/application.html.erb
|
555
570
|
- base/app/views/layouts/frontpage.html.erb
|
556
571
|
- base/app/views/likes/create.js.erb
|
@@ -628,10 +643,7 @@ files:
|
|
628
643
|
- base/app/views/subjects/_subject.html.erb
|
629
644
|
- base/app/views/subjects/_subject_with_details.html.erb
|
630
645
|
- base/app/views/ties/index.html.erb
|
631
|
-
- base/app/views/toolbar/_home.html.erb
|
632
646
|
- base/app/views/toolbar/_logo.html.erb
|
633
|
-
- base/app/views/toolbar/_messages.html.erb
|
634
|
-
- base/app/views/toolbar/_profile.html.erb
|
635
647
|
- base/app/views/toolbar/_subject.html.erb
|
636
648
|
- base/app/views/users/_groups.html.erb
|
637
649
|
- base/app/views/users/_index.html.erb
|
@@ -648,7 +660,9 @@ files:
|
|
648
660
|
- base/app/views/users/show.xml.builder
|
649
661
|
- base/config/locales/en.yml
|
650
662
|
- base/config/locales/es.yml
|
663
|
+
- base/config/locales/pt.yml
|
651
664
|
- base/config/locales/rails.es.yml
|
665
|
+
- base/config/locales/rails.pt.yml
|
652
666
|
- base/config/routes.rb
|
653
667
|
- base/db/migrate/20110610112023_create_social_stream.rb
|
654
668
|
- base/db/migrate/20110705103202_empty_ties_count.rb
|
@@ -664,15 +678,18 @@ files:
|
|
664
678
|
- base/db/migrate/20120201185454_singleton_single_relations.rb
|
665
679
|
- base/db/migrate/20120208135718_group_title_and_description_in_activity_object.rb
|
666
680
|
- base/db/migrate/20120302215722_activity_object_properties.rb
|
681
|
+
- base/db/migrate/20120316093946_create_activity_actions.rb
|
682
|
+
- base/db/migrate/20120316113728_activity_action_follow.rb
|
667
683
|
- base/lib/acts_as_taggable_on/acts_as_taggable_on/dirty.rb
|
668
684
|
- base/lib/acts_as_taggable_on/social_stream.rb
|
669
685
|
- base/lib/generators/social_stream/base/install_generator.rb
|
670
686
|
- base/lib/generators/social_stream/base/templates/initializer.rb
|
671
|
-
- base/lib/generators/social_stream/base/templates/navigation.rb
|
672
687
|
- base/lib/generators/social_stream/base/templates/relations.yml
|
673
688
|
- base/lib/generators/social_stream/base/templates/sphinx.yml
|
674
689
|
- base/lib/i18n-js/social_stream-base.rb
|
690
|
+
- base/lib/inherited_resources/social_stream.rb
|
675
691
|
- base/lib/paperclip/social_stream.rb
|
692
|
+
- base/lib/rails/social_stream.rb
|
676
693
|
- base/lib/social_stream-base.rb
|
677
694
|
- base/lib/social_stream/ability.rb
|
678
695
|
- base/lib/social_stream/ability/base.rb
|
@@ -696,10 +713,10 @@ files:
|
|
696
713
|
- base/lib/social_stream/populate.rb
|
697
714
|
- base/lib/social_stream/test_helpers.rb
|
698
715
|
- base/lib/social_stream/test_helpers/controllers.rb
|
699
|
-
- base/lib/social_stream/toolbar_config/base.rb
|
700
716
|
- base/lib/social_stream/views/list.rb
|
701
717
|
- base/lib/social_stream/views/settings/base.rb
|
702
718
|
- base/lib/social_stream/views/sidebar/base.rb
|
719
|
+
- base/lib/social_stream/views/toolbar/base.rb
|
703
720
|
- base/lib/tasks/db/populate.rake
|
704
721
|
- base/lib/tasks/workers.rake
|
705
722
|
- base/social_stream-base.gemspec
|
@@ -762,6 +779,7 @@ files:
|
|
762
779
|
- base/spec/factories/tie.rb
|
763
780
|
- base/spec/factories/user.rb
|
764
781
|
- base/spec/integration/navigation_spec.rb
|
782
|
+
- base/spec/models/activity_action_spec.rb
|
765
783
|
- base/spec/models/activity_authorization_spec.rb
|
766
784
|
- base/spec/models/activity_spec.rb
|
767
785
|
- base/spec/models/actor_spec.rb
|
@@ -943,7 +961,7 @@ files:
|
|
943
961
|
- documents/lib/social_stream/documents/engine.rb
|
944
962
|
- documents/lib/social_stream/documents/version.rb
|
945
963
|
- documents/lib/social_stream/migrations/documents.rb
|
946
|
-
- documents/lib/social_stream/
|
964
|
+
- documents/lib/social_stream/views/toolbar/documents.rb
|
947
965
|
- documents/social_stream-documents.gemspec
|
948
966
|
- documents/spec/controllers/documents_controller_spec.rb
|
949
967
|
- documents/spec/controllers/pictures_controller_spec.rb
|
@@ -1028,6 +1046,11 @@ files:
|
|
1028
1046
|
- events/app/models/room.rb
|
1029
1047
|
- events/app/views/events/_calendar_month.erb
|
1030
1048
|
- events/app/views/events/_event.html.erb
|
1049
|
+
- events/app/views/events/_event_date.html.erb
|
1050
|
+
- events/app/views/events/_event_date_sidebar.html.erb
|
1051
|
+
- events/app/views/events/_event_details.html.erb
|
1052
|
+
- events/app/views/events/_event_poster.html.erb
|
1053
|
+
- events/app/views/events/_event_sidebar.html.erb
|
1031
1054
|
- events/app/views/events/_form_poster.html.erb
|
1032
1055
|
- events/app/views/events/_new.html.erb
|
1033
1056
|
- events/app/views/events/_sidebar_calendar.html.erb
|
@@ -1058,7 +1081,6 @@ files:
|
|
1058
1081
|
- events/lib/social_stream/events/models/document.rb
|
1059
1082
|
- events/lib/social_stream/events/version.rb
|
1060
1083
|
- events/lib/social_stream/migrations/events.rb
|
1061
|
-
- events/lib/social_stream/toolbar_config/events.rb
|
1062
1084
|
- events/lib/social_stream/views/settings/events.rb
|
1063
1085
|
- events/lib/social_stream/views/sidebar/events.rb
|
1064
1086
|
- events/social_stream-events.gemspec
|
@@ -1224,17 +1246,43 @@ files:
|
|
1224
1246
|
- presence/app/assets/images/emoticons/present.png
|
1225
1247
|
- presence/app/assets/images/emoticons/rain.png
|
1226
1248
|
- presence/app/assets/images/emoticons/sun.png
|
1249
|
+
- presence/app/assets/images/games/sfighter/abobo/abobo.png
|
1250
|
+
- presence/app/assets/images/games/sfighter/abobo/abobo_block_81x130x1.png
|
1251
|
+
- presence/app/assets/images/games/sfighter/abobo/abobo_die_156x119x1.png
|
1252
|
+
- presence/app/assets/images/games/sfighter/abobo/abobo_hit_108x120x3.png
|
1253
|
+
- presence/app/assets/images/games/sfighter/abobo/abobo_idle_100x121x3.png
|
1254
|
+
- presence/app/assets/images/games/sfighter/abobo/abobo_kick_137x130x2.png
|
1255
|
+
- presence/app/assets/images/games/sfighter/abobo/abobo_punch_131x170x4.png
|
1256
|
+
- presence/app/assets/images/games/sfighter/abobo/abobo_walk_backward_94x126x6.png
|
1257
|
+
- presence/app/assets/images/games/sfighter/abobo/abobo_walk_forward_94x126x6.png
|
1258
|
+
- presence/app/assets/images/games/sfighter/cvs/cvs_block_69x99x2.png
|
1259
|
+
- presence/app/assets/images/games/sfighter/cvs/cvs_die_150x110x1.png
|
1260
|
+
- presence/app/assets/images/games/sfighter/cvs/cvs_hit_59x103x1.png
|
1261
|
+
- presence/app/assets/images/games/sfighter/cvs/cvs_idle_59x106x6.png
|
1262
|
+
- presence/app/assets/images/games/sfighter/cvs/cvs_kick_156x106x9.png
|
1263
|
+
- presence/app/assets/images/games/sfighter/cvs/cvs_punch_120x104x6.png
|
1264
|
+
- presence/app/assets/images/games/sfighter/cvs/cvs_walk_backward_58x106x5.png
|
1265
|
+
- presence/app/assets/images/games/sfighter/cvs/cvs_walk_forward_58x106x5.png
|
1266
|
+
- presence/app/assets/images/games/sfighter/stage/background1.png
|
1267
|
+
- presence/app/assets/images/games/sfighter/stage/background2.png
|
1268
|
+
- presence/app/assets/images/games/sfighter/stage/background3.png
|
1269
|
+
- presence/app/assets/images/games/sfighter/stage/foreground.png
|
1270
|
+
- presence/app/assets/images/games/sfighter/stage/ground.png
|
1271
|
+
- presence/app/assets/images/games/sfighter/thumbnail.png
|
1227
1272
|
- presence/app/assets/images/games/ter/classic_aspa.png
|
1228
1273
|
- presence/app/assets/images/games/ter/classic_board.png
|
1229
1274
|
- presence/app/assets/images/games/ter/classic_circle.png
|
1275
|
+
- presence/app/assets/images/games/ter/classic_thumbnail.png
|
1230
1276
|
- presence/app/assets/images/games/ter/modern_aspa.png
|
1231
1277
|
- presence/app/assets/images/games/ter/modern_board.png
|
1232
1278
|
- presence/app/assets/images/games/ter/modern_circle.png
|
1279
|
+
- presence/app/assets/images/games/ter/modern_thumbnail.png
|
1233
1280
|
- presence/app/assets/images/status/available.png
|
1234
1281
|
- presence/app/assets/images/status/away.png
|
1235
1282
|
- presence/app/assets/images/status/chat.png
|
1236
1283
|
- presence/app/assets/images/status/dnd.png
|
1237
1284
|
- presence/app/assets/images/status/offline.png
|
1285
|
+
- presence/app/assets/images/webcam.png
|
1238
1286
|
- presence/app/assets/javascripts/jquery.flexselect.sstreampresence.js
|
1239
1287
|
- presence/app/assets/javascripts/jquery.ui.chatbox.sstreampresence.js
|
1240
1288
|
- presence/app/assets/javascripts/presence.js.erb
|
@@ -1242,7 +1290,9 @@ files:
|
|
1242
1290
|
- presence/app/assets/javascripts/presence_audio.js.erb
|
1243
1291
|
- presence/app/assets/javascripts/presence_game.js.erb
|
1244
1292
|
- presence/app/assets/javascripts/presence_game_comunication.js.erb
|
1293
|
+
- presence/app/assets/javascripts/presence_game_factory.js.erb
|
1245
1294
|
- presence/app/assets/javascripts/presence_game_interface.js.erb
|
1295
|
+
- presence/app/assets/javascripts/presence_game_sfighter.js.erb
|
1246
1296
|
- presence/app/assets/javascripts/presence_game_ter.js.erb
|
1247
1297
|
- presence/app/assets/javascripts/presence_notifications.js
|
1248
1298
|
- presence/app/assets/javascripts/presence_parser.js
|
@@ -1307,6 +1357,7 @@ files:
|
|
1307
1357
|
- presence/lib/social_stream/presence/xmpp_server_order.rb
|
1308
1358
|
- presence/lib/social_stream/presence/xmpp_ssclient.rb
|
1309
1359
|
- presence/lib/social_stream/views/settings/presence.rb
|
1360
|
+
- presence/lib/social_stream/views/toolbar/presence.rb
|
1310
1361
|
- presence/lib/tasks/presence/installer.rake
|
1311
1362
|
- presence/lib/tasks/presence/multidomain.rake
|
1312
1363
|
- presence/lib/tasks/presence/synchronize.rake
|