social_stream-events 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +1 -4
- data/app/assets/javascripts/social_stream-events.js +0 -4
- data/app/assets/stylesheets/social_stream-events.css +0 -273
- data/config/locales/en.yml +0 -115
- data/config/locales/es.yml +0 -115
- data/config/routes.rb +0 -28
- data/db/migrate/20111209120019_reset_events.rb +18 -0
- data/lib/social_stream/events/engine.rb +0 -5
- data/lib/social_stream/events/version.rb +1 -1
- data/lib/social_stream-events.rb +0 -18
- data/social_stream-events.gemspec +1 -1
- metadata +8 -92
- data/GPL Affero license +0 -663
- data/app/assets/images/btn/btn_certificate.png +0 -0
- data/app/assets/images/btn/btn_certificates.png +0 -0
- data/app/assets/images/btn/btn_edit.png +0 -0
- data/app/assets/images/btn/btn_embebed.png +0 -0
- data/app/assets/images/btn/btn_event.png +0 -0
- data/app/assets/images/btn/btn_outline.png +0 -0
- data/app/assets/images/btn/event.png +0 -0
- data/app/assets/images/btn/flyer.png +0 -0
- data/app/assets/images/btn/keynote.png +0 -0
- data/app/assets/images/btn/live.png +0 -0
- data/app/assets/images/btn/time.png +0 -0
- data/app/assets/images/btn/trash.png +0 -0
- data/app/assets/images/frontpage/thumbs/tvideo_1_happy.jpg +0 -0
- data/app/assets/images/frontpage/thumbs/tvideo_2_kostas.jpg +0 -0
- data/app/assets/images/frontpage/thumbs/tvideo_3_colin.jpg +0 -0
- data/app/assets/images/frontpage/thumbs/tvideo_4_romilla.jpg +0 -0
- data/app/assets/images/frontpage/video_1_happy.jpg +0 -0
- data/app/assets/images/frontpage/video_2_kostas.jpg +0 -0
- data/app/assets/images/frontpage/video_3_colin.jpg +0 -0
- data/app/assets/images/frontpage/video_4_romilla.jpg +0 -0
- data/app/assets/images/icons/IconsByGlyphish.txt +0 -1
- data/app/assets/images/icons/down.png +0 -0
- data/app/assets/images/icons/search.png +0 -0
- data/app/assets/images/icons/up.png +0 -0
- data/app/assets/images/logos/actor/event.png +0 -0
- data/app/assets/images/logos/contact/event.png +0 -0
- data/app/assets/images/logos/original/event.png +0 -0
- data/app/assets/images/logos/profile/event.png +0 -0
- data/app/assets/images/logos/representation/event.png +0 -0
- data/app/assets/images/tab_bottom.png +0 -0
- data/app/assets/javascripts/schedule.js +0 -123
- data/app/controllers/agendas_controller.rb +0 -54
- data/app/controllers/events_controller.rb +0 -81
- data/app/controllers/sessions_controller.rb +0 -146
- data/app/helpers/event_helper.rb +0 -12
- data/app/models/agenda.rb +0 -55
- data/app/models/event.rb +0 -141
- data/app/models/session.rb +0 -23
- data/app/views/agendas/_agenda.html.erb +0 -1
- data/app/views/agendas/_edit.html.erb +0 -136
- data/app/views/agendas/_schedule.html.erb +0 -19
- data/app/views/agendas/_show.html.erb +0 -81
- data/app/views/agendas/_show_day.html.erb +0 -6
- data/app/views/agendas/edit.html.erb +0 -24
- data/app/views/agendas/event.html.erb +0 -1
- data/app/views/agendas/index.html.erb +0 -0
- data/app/views/agendas/show.html.erb +0 -25
- data/app/views/documents/_mediawall.html.erb +0 -111
- data/app/views/events/_event.html.erb +0 -10
- data/app/views/events/_event_focus_search.html.erb +0 -2
- data/app/views/events/_event_global_search.html.erb +0 -2
- data/app/views/events/_event_with_details.html.erb +0 -2
- data/app/views/events/_form.html.erb +0 -12
- data/app/views/events/_manage.html.erb +0 -35
- data/app/views/events/_new_activity.html.erb +0 -2
- data/app/views/events/_new_activity_fields.html.erb +0 -10
- data/app/views/events/_sessions_edit.html.erb +0 -46
- data/app/views/events/_sidebar_cloud.html.erb +0 -27
- data/app/views/events/_sidebar_index.html.erb +0 -1
- data/app/views/events/_sidebar_show.html.erb +0 -5
- data/app/views/events/agendas.html +0 -1
- data/app/views/events/edit.html.erb +0 -12
- data/app/views/events/index.html.erb +0 -30
- data/app/views/events/manage.html.erb +0 -69
- data/app/views/events/manage.js.erb +0 -1
- data/app/views/events/new.html.erb +0 -1
- data/app/views/events/show.html.erb +0 -38
- data/app/views/frontpage/_caracteristics.html.erb +0 -73
- data/app/views/frontpage/index.html.erb +0 -72
- data/app/views/profiles/_outline.html.erb +0 -81
- data/app/views/sessions/_form.html.erb +0 -41
- data/app/views/sessions/_new.html.erb +0 -63
- data/app/views/sessions/_session.html.erb +0 -1
- data/app/views/sessions/_show.html.erb +0 -27
- data/app/views/sessions/create.html.erb +0 -3
- data/app/views/sessions/create.js.erb +0 -1
- data/app/views/sessions/destroy.js.erb +0 -2
- data/app/views/sessions/edit.html.erb +0 -27
- data/app/views/sessions/index.html.erb +0 -1
- data/app/views/sessions/index.js.erb +0 -1
- data/app/views/sessions/new.html.erb +0 -27
- data/app/views/toolbar/_organizer.html.erb +0 -25
- data/app/views/toolbar/_sponsor.html.erb +0 -18
- data/app/views/toolbar/_suscribed.html.erb +0 -17
data/README.rdoc
CHANGED
@@ -1,6 +1,3 @@
|
|
1
1
|
= Social Stream Events
|
2
2
|
|
3
|
-
|
4
|
-
{Social Stream}[http://social-stream.dit.upm.es/], the core for building social
|
5
|
-
network websites. This gem allow you to add events and videoconferences as new social stream activity.
|
6
|
-
|
3
|
+
This gem will change to support scheduled events
|
@@ -1,276 +1,3 @@
|
|
1
1
|
/*
|
2
2
|
*= require_tree .
|
3
3
|
*/
|
4
|
-
|
5
|
-
/*
|
6
|
-
* This is a manifest file that'll automatically include all the stylesheets available in this directory
|
7
|
-
* and any sub-directories. You're free to add application-wide styles to this file and they'll appear at
|
8
|
-
* the top of the compiled file, but it's generally better to create a new file per style scope.
|
9
|
-
*= require_self
|
10
|
-
*= require social_stream-base
|
11
|
-
*= require social_stream-documents
|
12
|
-
*= require fullcalendar.print
|
13
|
-
*= require fullcalendar
|
14
|
-
*= require jquery.ad-gallery
|
15
|
-
*= require_tree .
|
16
|
-
*/
|
17
|
-
#filter_div
|
18
|
-
{
|
19
|
-
float: right;
|
20
|
-
height: 10px;
|
21
|
-
padding-top: 5px;
|
22
|
-
width: 76px;
|
23
|
-
z-index: 2000;
|
24
|
-
}
|
25
|
-
#calendar{margin-top:-9px;}
|
26
|
-
#fc-btn-agenda{ padding-left: 1px;}
|
27
|
-
|
28
|
-
#founder{ padding: 1px; padding-top: 5px; text-align: center; }
|
29
|
-
#founder #created{display: inline-block;}
|
30
|
-
#founder #thumb{display: inline-block;}
|
31
|
-
|
32
|
-
.sb_wrapper input[type="text"],
|
33
|
-
ul.sb_dropdown{
|
34
|
-
border:1px solid #fff;
|
35
|
-
background: #fafafa;
|
36
|
-
background: -webkit-gradient(linear, left top, left bottom, from(#f2f2f2), to(#fafafa));
|
37
|
-
background: -moz-linear-gradient(top, #f2f2f2, #fafafa);
|
38
|
-
font-size:24px;
|
39
|
-
font-family:"Myriad Pro", "Trebuchet MS", sans-serif;
|
40
|
-
-moz-box-shadow:1px 1px 3px #555;
|
41
|
-
-webkit-box-shadow:1px 1px 3px #555;
|
42
|
-
-box-shadow:1px 1px 3px #555;
|
43
|
-
outline:none;
|
44
|
-
padding:6px 5px 6px 20px;
|
45
|
-
text-shadow:1px 1px 1px #fff;
|
46
|
-
width:295px;
|
47
|
-
float:left;
|
48
|
-
margin:3px 0px;
|
49
|
-
}
|
50
|
-
ul.sb_dropdown{
|
51
|
-
float:left;
|
52
|
-
margin-right:50px;
|
53
|
-
list-style:none;
|
54
|
-
width:295px;
|
55
|
-
padding:6px 5px;
|
56
|
-
-moz-border-radius:0px 0px 10px 10px;
|
57
|
-
-webkit-border-bottom-right-radius:10px;
|
58
|
-
-webkit-border-bottom-left-radius:10px;
|
59
|
-
border-bottom-right-radius:10px;
|
60
|
-
border-bottom-left-radius:10px;
|
61
|
-
}
|
62
|
-
ul.sb_dropdown li{
|
63
|
-
font-size:8px;
|
64
|
-
line-height:2px;
|
65
|
-
height:22px;
|
66
|
-
float:left;
|
67
|
-
width:30%;
|
68
|
-
}
|
69
|
-
ul.sb_dropdown li input[type="checkbox"]{
|
70
|
-
float:left;
|
71
|
-
margin:10px 4px 0 5px;
|
72
|
-
}
|
73
|
-
ul.sb_dropdown li.sb_filter{
|
74
|
-
width:148px;
|
75
|
-
border:1px solid #f9f9f9;
|
76
|
-
clear:both;
|
77
|
-
background: #ddd;
|
78
|
-
font-size:12px;
|
79
|
-
text-transform:uppercase;
|
80
|
-
letter-spacing:1px;
|
81
|
-
color:#444;
|
82
|
-
height:16px;
|
83
|
-
line-height:16px;
|
84
|
-
padding:5px;
|
85
|
-
-moz-box-shadow:0px 0px 2px #777;
|
86
|
-
-webkit-box-shadow:0px 0px 3px #555 inset;
|
87
|
-
-box-shadow:0px 0px 3px #555 inset;
|
88
|
-
|
89
|
-
}
|
90
|
-
span.sb_up,
|
91
|
-
span.sb_down{
|
92
|
-
margin-top:10px;
|
93
|
-
padding:5px 25px 5px 25px;
|
94
|
-
width:14px;
|
95
|
-
height:41px;
|
96
|
-
background-color:#f2f2f2;
|
97
|
-
background-position:center center;
|
98
|
-
background-repeat: no-repeat;
|
99
|
-
z-index:10;
|
100
|
-
border:1px solid #fff;
|
101
|
-
-moz-box-shadow:1px 0px 1px #ddd;
|
102
|
-
-webkit-box-shadow:1px 0px 1px #ddd;
|
103
|
-
-box-shadow:1px 0px 1px #ddd;
|
104
|
-
|
105
|
-
}
|
106
|
-
span.sb_up{
|
107
|
-
background-image:url(../icons/up.png);
|
108
|
-
}
|
109
|
-
span.sb_down{
|
110
|
-
background-image:url(../icons/down.png);
|
111
|
-
}
|
112
|
-
input.sb_search{
|
113
|
-
background:#f2f2f2 url(../icons/search.png) no-repeat center center;
|
114
|
-
height:43px;
|
115
|
-
width:50px;
|
116
|
-
float:left;
|
117
|
-
border:none;
|
118
|
-
margin:3px 0px;
|
119
|
-
border:1px solid #fff;
|
120
|
-
-moz-box-shadow:1px 1px 3px #555;
|
121
|
-
-webkit-box-shadow:1px 1px 3px #555;
|
122
|
-
-box-shadow:1px 1px 3px #555;
|
123
|
-
outline:none;
|
124
|
-
cursor:pointer;
|
125
|
-
}
|
126
|
-
input.sb_search:hover{
|
127
|
-
background-color:#fff;
|
128
|
-
}
|
129
|
-
|
130
|
-
.space_center_manage
|
131
|
-
{
|
132
|
-
padding-right: 0;
|
133
|
-
padding-top: 9px;
|
134
|
-
text-align: left;
|
135
|
-
}
|
136
|
-
.tie_form {
|
137
|
-
display: inline;
|
138
|
-
height: 1%;
|
139
|
-
margin: 0 0;
|
140
|
-
overflow: hidden;
|
141
|
-
}
|
142
|
-
#contact_data{width: 250px;}
|
143
|
-
|
144
|
-
|
145
|
-
.session_wrapper1,.session_wrapper2{float:left;display:block;}
|
146
|
-
.session_wrapper1{
|
147
|
-
width:14%;
|
148
|
-
text-align:center;
|
149
|
-
margin:15px 0 15px 0;
|
150
|
-
color:#000;
|
151
|
-
}
|
152
|
-
.session_wrapper2{width:86%;padding-top: 5px;}
|
153
|
-
|
154
|
-
.event_date_image{margin: 0px 10px 0px 0px;width:100%;color:black;text-align:center;font-weight: bold;vertical-align: middle;}
|
155
|
-
.event_day{font-size: 3.5em;line-height:90%;}
|
156
|
-
.event_month{font-size: 2.5em;line-height:80%;}
|
157
|
-
.event_year{font-size: 1.2em;line-height:110%;}
|
158
|
-
.event_hour{font-size: 1.5em;line-height:80%;min-width: 30px; min-height: 20px;}
|
159
|
-
.event_day_name{font-size: 1em;line-height:80%;}
|
160
|
-
.event_time{font-size: 1em; line-height:50%;}
|
161
|
-
|
162
|
-
.session_title{
|
163
|
-
border-bottom: 1px solid #ccc;
|
164
|
-
width: 100%;
|
165
|
-
}
|
166
|
-
|
167
|
-
.schedule{ height: 85px;}
|
168
|
-
|
169
|
-
.block .session{height: 110px;}
|
170
|
-
.block .session_title_black {color: black;}
|
171
|
-
.block .session_content{font-size: 13px;}
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
.sb_wrapper input[type="text"],
|
178
|
-
ul.sb_dropdown{
|
179
|
-
border:1px solid #fff;
|
180
|
-
background: #fafafa;
|
181
|
-
background: -webkit-gradient(linear, left top, left bottom, from(#f2f2f2), to(#fafafa));
|
182
|
-
background: -moz-linear-gradient(top, #f2f2f2, #fafafa);
|
183
|
-
font-size:24px;
|
184
|
-
font-family:"Myriad Pro", "Trebuchet MS", sans-serif;
|
185
|
-
-moz-box-shadow:1px 1px 3px #555;
|
186
|
-
-webkit-box-shadow:1px 1px 3px #555;
|
187
|
-
-box-shadow:1px 1px 3px #555;
|
188
|
-
outline:none;
|
189
|
-
padding:6px 5px 6px 20px;
|
190
|
-
text-shadow:1px 1px 1px #fff;
|
191
|
-
width:100px;
|
192
|
-
float: right;
|
193
|
-
margin:3px 0px;
|
194
|
-
margin-right:0px;
|
195
|
-
z-index: 2000;
|
196
|
-
}s
|
197
|
-
ul.sb_dropdown{
|
198
|
-
float:right;
|
199
|
-
list-style:none;
|
200
|
-
z-index:2000;
|
201
|
-
width:150px;
|
202
|
-
padding:6px 5px;
|
203
|
-
-moz-border-radius:0px 0px 10px 10px;
|
204
|
-
-webkit-border-bottom-right-radius:10px;
|
205
|
-
-webkit-border-bottom-left-radius:10px;
|
206
|
-
border-bottom-right-radius:10px;
|
207
|
-
border-bottom-left-radius:10px;
|
208
|
-
}
|
209
|
-
ul.sb_dropdown li{
|
210
|
-
float: left;
|
211
|
-
font-size: 12px;
|
212
|
-
height: 25px;
|
213
|
-
line-height: 10px;
|
214
|
-
width: 100%;
|
215
|
-
}
|
216
|
-
ul.sb_dropdown li input[type="checkbox"]{
|
217
|
-
float:right;
|
218
|
-
margin:0px 3px 0 5px;
|
219
|
-
}
|
220
|
-
ul.sb_dropdown li.sb_filter{
|
221
|
-
width:295px;
|
222
|
-
border:1px solid #f9f9f9;
|
223
|
-
clear:both;
|
224
|
-
background: #ddd;
|
225
|
-
font-size:12px;
|
226
|
-
text-transform:uppercase;
|
227
|
-
letter-spacing:1px;
|
228
|
-
color:#444;
|
229
|
-
height:16px;
|
230
|
-
line-height:16px;
|
231
|
-
padding:5px;
|
232
|
-
-moz-box-shadow:0px 0px 2px #777;
|
233
|
-
-webkit-box-shadow:0px 0px 3px #555 inset;
|
234
|
-
-box-shadow:0px 0px 3px #555 inset;
|
235
|
-
|
236
|
-
}
|
237
|
-
span.sb_up,
|
238
|
-
span.sb_down{
|
239
|
-
|
240
|
-
width:14px;
|
241
|
-
height:41px;
|
242
|
-
background-color:#f2f2f2;
|
243
|
-
/*background-position:center center;*/
|
244
|
-
background-position: left center;
|
245
|
-
background-repeat: no-repeat;
|
246
|
-
z-index:10;
|
247
|
-
border:1px solid #fff;
|
248
|
-
-moz-box-shadow:1px 0px 1px #ddd;
|
249
|
-
-webkit-box-shadow:1px 0px 1px #ddd;
|
250
|
-
-box-shadow:1px 0px 1px #ddd;
|
251
|
-
|
252
|
-
}
|
253
|
-
span.sb_up{
|
254
|
-
background-image:url("icons/up.png");
|
255
|
-
}
|
256
|
-
span.sb_down{
|
257
|
-
background-image:url("icons/down.png");
|
258
|
-
}
|
259
|
-
input.sb_search{
|
260
|
-
background:#f2f2f2 url("icons/search.png") no-repeat center center;
|
261
|
-
height:43px;
|
262
|
-
width:50px;
|
263
|
-
float:left;
|
264
|
-
border:none;
|
265
|
-
margin:3px 0px;
|
266
|
-
border:1px solid #fff;
|
267
|
-
-moz-box-shadow:1px 1px 3px #555;
|
268
|
-
-webkit-box-shadow:1px 1px 3px #555;
|
269
|
-
-box-shadow:1px 1px 3px #555;
|
270
|
-
outline:none;
|
271
|
-
cursor:pointer;
|
272
|
-
}
|
273
|
-
input.sb_search:hover{
|
274
|
-
background-color:#fff;
|
275
|
-
}
|
276
|
-
|
data/config/locales/en.yml
CHANGED
@@ -2,119 +2,4 @@
|
|
2
2
|
# See https://github.com/svenfuchs/rails-i18n/tree/master/rails%2Flocale for starting points.
|
3
3
|
|
4
4
|
en:
|
5
|
-
activity:
|
6
|
-
verb:
|
7
|
-
follow:
|
8
|
-
Event:
|
9
|
-
title: "%{subject} added %{contact} as contact."
|
10
|
-
message: "%{name} added you as contact."
|
11
|
-
like:
|
12
|
-
Event:
|
13
|
-
title: "%{subject} is a fan of %{contact}."
|
14
|
-
message: "%{name} is now your fan."
|
15
|
-
make-friend:
|
16
|
-
Event:
|
17
|
-
title: "%{subject} and %{contact} are now connected."
|
18
|
-
message: "%{name} also added you as contact."
|
19
|
-
post:
|
20
|
-
User:
|
21
|
-
title: "%{subject} add %{contact} like a new session."
|
22
|
-
Event:
|
23
|
-
title: "%{subject} created a new session."
|
24
|
-
view:
|
25
|
-
documents: "Documents"
|
26
|
-
audio: "Audio"
|
27
|
-
event: "Events"
|
28
|
-
photos: "Photos"
|
29
|
-
post: "Posts"
|
30
|
-
video: "videos"
|
31
|
-
actor:
|
32
|
-
created: "Created by"
|
33
|
-
delete: "Delete"
|
34
|
-
confirm_delete: "Confirm delete?"
|
35
|
-
agenda:
|
36
|
-
confirm_delete: "delete"
|
37
|
-
conference:
|
38
|
-
title: "Conferences"
|
39
|
-
list: "Contact's conferences"
|
40
|
-
date:
|
41
|
-
at: at
|
42
|
-
undefined: Undefined
|
43
|
-
event:
|
44
|
-
all: "All events"
|
45
|
-
all_n: "All events"
|
46
|
-
by: "By events"
|
47
|
-
cloud: "Events tag cloud"
|
48
|
-
confirm_delete: "Delete"
|
49
|
-
form:
|
50
|
-
title: "Event"
|
51
|
-
title: "Events"
|
52
|
-
input: "What is the name of event?"
|
53
|
-
list: "Contact's events"
|
54
|
-
live: "Live events"
|
55
|
-
most:
|
56
|
-
followed: "Most followed"
|
57
|
-
liked: "Most liked"
|
58
|
-
name: "event"
|
59
|
-
one: "an event"
|
60
|
-
other: "Events"
|
61
|
-
suscribed: "Last Suscribed"
|
62
|
-
frontpage:
|
63
|
-
elements:
|
64
|
-
conferences: "Conferences"
|
65
|
-
collaborate:
|
66
|
-
sentence1: "Organize your projects and activities"
|
67
|
-
sentence2: "Participate in conferences and events"
|
68
|
-
sentence3: "Create your own group and conferences"
|
69
|
-
meet:
|
70
|
-
sentence1: "Discover best online videoconferences"
|
71
|
-
sentence2: "Meet interesting people and groups"
|
72
|
-
sentence3: "Video chat with your colleagues"
|
73
|
-
share:
|
74
|
-
sentence1: "Videoconference recording and streaming"
|
75
|
-
sentence2: "Posts, comments, documents, photos, audios and videos"
|
76
|
-
sentence3: "Your contacts and relations"
|
77
|
-
menu:
|
78
|
-
outline: "Outline"
|
79
|
-
notification:
|
80
|
-
follow:
|
81
|
-
event: "%{sender} wants to take part in the event %{who}."
|
82
|
-
like:
|
83
|
-
event: "%{sender} likes %{whose} %{thing}."
|
84
|
-
makefriend:
|
85
|
-
event: "%{sender} accepted the invitation to join the event %{who}."
|
86
|
-
post:
|
87
|
-
event: "%{sender} added %{thing} in %{whose} wall."
|
88
|
-
update:
|
89
|
-
event: "%{sender} updated %{thing} in %{whose} wall."
|
90
|
-
who:
|
91
|
-
event: "%{name}"
|
92
|
-
whose:
|
93
|
-
event: "%{receiver}'s"
|
94
|
-
profile:
|
95
|
-
event:
|
96
|
-
about: "About us"
|
97
|
-
birthday: "Anniversary"
|
98
|
-
experience: "Area of expertise"
|
99
|
-
info: "Event information"
|
100
|
-
tags: "Event tags"
|
101
|
-
outline: "Outline"
|
102
|
-
session:
|
103
|
-
confirm_delete: "delete"
|
104
|
-
new: "New Session"
|
105
|
-
one: "session"
|
106
|
-
other: "sessions"
|
107
|
-
title: "title"
|
108
|
-
description: "description"
|
109
|
-
schedule: "schedule"
|
110
|
-
time:
|
111
|
-
am: am
|
112
|
-
end: End time
|
113
|
-
from: from
|
114
|
-
pm: pm
|
115
|
-
start: Start time
|
116
|
-
to: to
|
117
|
-
timezone:
|
118
|
-
one: Timezone
|
119
|
-
set_up: You have not set up your time zone. <a href="{{path}}">Set it up now</a>
|
120
5
|
|
data/config/locales/es.yml
CHANGED
@@ -2,119 +2,4 @@
|
|
2
2
|
# See https://github.com/svenfuchs/rails-i18n/tree/master/rails%2Flocale for starting points.
|
3
3
|
|
4
4
|
es:
|
5
|
-
activity:
|
6
|
-
verb:
|
7
|
-
follow:
|
8
|
-
Event:
|
9
|
-
title: "%{subject} añadió %{contact} como contacto."
|
10
|
-
message: "%{name} te añadió como contacto."
|
11
|
-
like:
|
12
|
-
Event:
|
13
|
-
title: "%{subject} es fan de %{contact}."
|
14
|
-
message: "%{name} es ahora tu fan."
|
15
|
-
make-friend:
|
16
|
-
Event:
|
17
|
-
title: "%{subject} y %{contact} estan conectados."
|
18
|
-
message: "%{name} te ha añadido como contacto."
|
19
|
-
post:
|
20
|
-
User:
|
21
|
-
title: "%{subject} añadio %{contact} como nueva sessión."
|
22
|
-
Event:
|
23
|
-
title: "%{subject} ha creado una nueva sessión."
|
24
|
-
view:
|
25
|
-
documents: "Documentos"
|
26
|
-
audio: "Audio"
|
27
|
-
event: "Eventos"
|
28
|
-
photos: "Fotos"
|
29
|
-
post: "Publicaciones"
|
30
|
-
video: "Videos"
|
31
|
-
actor:
|
32
|
-
created: "Creado por"
|
33
|
-
delete: "Borrar"
|
34
|
-
confirm_delete: "Confirmar borrar?"
|
35
|
-
agenda:
|
36
|
-
confirm_delete: "borrar"
|
37
|
-
conference:
|
38
|
-
title: "Conferencias"
|
39
|
-
list: "Conferencias de contactos"
|
40
|
-
date:
|
41
|
-
at: "a"
|
42
|
-
undefined: "no definido"
|
43
|
-
event:
|
44
|
-
all: "todos los eventos"
|
45
|
-
all_n: "Todos los events"
|
46
|
-
by: "Por eventos"
|
47
|
-
cloud: "Nube de etiquetas de eventos"
|
48
|
-
confirm_delete: "Borrar"
|
49
|
-
form:
|
50
|
-
title: "Evento"
|
51
|
-
title: "Eventos"
|
52
|
-
input: "Cual es el nombre del evento?"
|
53
|
-
list: "Contactos del evento"
|
54
|
-
live: "Eventos en vivo"
|
55
|
-
most:
|
56
|
-
followed: "Más seguidos"
|
57
|
-
liked: "Me Gusta"
|
58
|
-
name: "evento"
|
59
|
-
one: "un evento"
|
60
|
-
other: "Eventos"
|
61
|
-
suscribed: "últimos suscritos"
|
62
|
-
frontpage:
|
63
|
-
collaborate:
|
64
|
-
sentence1: "Organice sus proyectos y actividades"
|
65
|
-
sentence2: "Participe en conferencias y eventos"
|
66
|
-
sentence3: "Cree su propio espacio y conferencias"
|
67
|
-
elements:
|
68
|
-
conferences: "Conferencias"
|
69
|
-
meet:
|
70
|
-
sentence1: "Descubra las mejores videoconferencias online"
|
71
|
-
sentence2: "Conozca gente y grupos interesantes"
|
72
|
-
sentence3: "Videoconferencia con sus colegas"
|
73
|
-
share:
|
74
|
-
sentence1: "Grabación y streaming de videoconferencias"
|
75
|
-
sentence2: "Publicaciones, comentarios, documentos, fotos, audios y vídeos"
|
76
|
-
sentence3: "Sus contactos y relaciones"
|
77
|
-
menu:
|
78
|
-
outline: "Agenda"
|
79
|
-
notification:
|
80
|
-
follow:
|
81
|
-
event: "%{sender} quiere participar en el evento %{who}."
|
82
|
-
like:
|
83
|
-
event: "A %{sender} le gusta el %{thing} %{whose}."
|
84
|
-
makefriend:
|
85
|
-
event: "%{sender} aceptó la invitación para unirse al evento %{who}."
|
86
|
-
post:
|
87
|
-
event: "%{sender} añadió %{thing} en el muro %{whose}."
|
88
|
-
update:
|
89
|
-
event: "%{sender} actualizó %{thing} en el muro %{whose}."
|
90
|
-
who:
|
91
|
-
event: "%{name}"
|
92
|
-
whose:
|
93
|
-
event: "de %{receiver}'s"
|
94
|
-
profile:
|
95
|
-
event:
|
96
|
-
about: "Acerca de"
|
97
|
-
birthday: "Aniversario"
|
98
|
-
experience: "Area of experiencia"
|
99
|
-
info: "Information del evento"
|
100
|
-
tags: "Etiquetas del event"
|
101
|
-
outline: "agenda"
|
102
|
-
session:
|
103
|
-
confirm_delete: "borrar"
|
104
|
-
new: "Nueva session"
|
105
|
-
one: "session"
|
106
|
-
other: "sessions"
|
107
|
-
title: "titulo"
|
108
|
-
description: "descripción"
|
109
|
-
schedule: "horario"
|
110
|
-
time:
|
111
|
-
am: am
|
112
|
-
end: "fecha final"
|
113
|
-
from: "desde"
|
114
|
-
pm: pm
|
115
|
-
start: "fecha inicio"
|
116
|
-
to: "a"
|
117
|
-
timezone:
|
118
|
-
one: "Zona horaria"
|
119
|
-
set_up: You have not set up your time zone. <a href="{{path}}">Set it up now</a>
|
120
5
|
|
data/config/routes.rb
CHANGED
@@ -1,30 +1,2 @@
|
|
1
1
|
Rails.application.routes.draw do
|
2
|
-
|
3
|
-
match "/events/manage" => "events#manage"
|
4
|
-
match "/sessions/delete/:id" => "sessions#delete"
|
5
|
-
# Social Stream subjects configured in config/initializers/social_stream.rb
|
6
|
-
|
7
|
-
SocialStream.subjects.each do |actor|
|
8
|
-
resources actor.to_s.pluralize do
|
9
|
-
resources :events do
|
10
|
-
resource :agendas do
|
11
|
-
resources :sessions
|
12
|
-
end
|
13
|
-
end
|
14
|
-
end
|
15
|
-
end
|
16
|
-
|
17
|
-
match "events/:id/agenda" => "agendas#show"
|
18
|
-
match "events/:id/sessions" => "sessions#show"
|
19
|
-
match "events/:id/sessions/create" => "sessions#create"
|
20
|
-
|
21
|
-
|
22
|
-
match "events/:id/agenda/get_sessions" => "agendas#get_sessions"
|
23
|
-
|
24
|
-
match "sessions/:id/move" => "sessions#move"
|
25
|
-
match "sessions/:id/resize" => "sessions#resize"
|
26
|
-
match "sessions/:id/destroy" => "sessions#destroy"
|
27
|
-
match "sessions/:id/new" => "sessions#new"
|
28
|
-
match "sessions/:id/create" => "sessions#create"
|
29
|
-
match "sessions/:id/update" => "sessions#update"
|
30
2
|
end
|
@@ -0,0 +1,18 @@
|
|
1
|
+
class ResetEvents < ActiveRecord::Migration
|
2
|
+
def up
|
3
|
+
remove_foreign_key "agendas", :name => "agendas_on_activity_object_id"
|
4
|
+
remove_foreign_key "agendas", :name => "agendas_on_event_id"
|
5
|
+
|
6
|
+
remove_foreign_key "events", :name => "events_on_actor_id"
|
7
|
+
|
8
|
+
remove_foreign_key "sessions", :name => "sessions_on_activity_object_id"
|
9
|
+
remove_foreign_key "sessions", :name => "sessions_on_agenda_id"
|
10
|
+
|
11
|
+
drop_table :sessions
|
12
|
+
drop_table :agendas
|
13
|
+
drop_table :events
|
14
|
+
end
|
15
|
+
|
16
|
+
def down
|
17
|
+
end
|
18
|
+
end
|
data/lib/social_stream-events.rb
CHANGED
@@ -1,25 +1,7 @@
|
|
1
1
|
require 'social_stream-base'
|
2
|
-
require 'conference_manager-ruby'
|
3
2
|
|
4
3
|
module SocialStream
|
5
|
-
module ToolbarConfig
|
6
|
-
autoload :Events, 'social_stream/toolbar_config/events'
|
7
|
-
end
|
8
|
-
|
9
4
|
module Events
|
10
|
-
# Add :event, :agenda, :session to SocialStream's subjects, objects and activity_forms
|
11
|
-
# by default
|
12
|
-
# It can be configured by users at application's config/initializers/social_stream.rb
|
13
|
-
SocialStream.subjects.push(:event) unless SocialStream.subjects.include?(:event)
|
14
|
-
|
15
|
-
SocialStream.quick_search_models.push(:event) unless SocialStream.quick_search_models.include?(:event)
|
16
|
-
SocialStream.extended_search_models.push(:event) unless SocialStream.extended_search_models.include?(:event)
|
17
|
-
|
18
|
-
[ :agenda, :session ].each do |o|
|
19
|
-
SocialStream.objects.push(o) unless SocialStream.objects.include?(o)
|
20
|
-
end
|
21
|
-
|
22
|
-
SocialStream.activity_forms.push(:event) unless SocialStream.activity_forms.include?(:event)
|
23
5
|
end
|
24
6
|
end
|
25
7
|
|
@@ -12,7 +12,7 @@ Gem::Specification.new do |s|
|
|
12
12
|
s.files = `git ls-files`.split("\n")
|
13
13
|
|
14
14
|
# Gem dependencies
|
15
|
-
s.add_runtime_dependency('social_stream-base', '~> 0.10.
|
15
|
+
s.add_runtime_dependency('social_stream-base', '~> 0.10.6')
|
16
16
|
s.add_runtime_dependency('conference_manager-ruby', '~> 0.0.3')
|
17
17
|
|
18
18
|
# Development Gem dependencies
|