social_stream 0.9.7 → 0.10.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +1 -0
- data/README.rdoc +1 -0
- data/base/app/assets/javascripts/activities.js.erb +10 -2
- data/base/app/assets/stylesheets/activities.css +6 -4
- data/base/app/helpers/contacts_helper.rb +4 -2
- data/base/app/models/tie.rb +1 -1
- data/{events/app/views/activities/_index.html.erb → base/app/views/activities/_filter.html.erb} +1 -12
- data/base/app/views/activities/_options.html.erb +9 -6
- data/base/app/views/comments/_new.html.erb +16 -15
- data/base/app/views/profiles/_profile.html.erb +4 -0
- data/base/app/views/settings/_contacts.html.erb +16 -0
- data/base/app/views/settings/_index.html.erb +1 -0
- data/base/app/views/toolbar/_logo.html.erb +7 -0
- data/base/app/views/toolbar/_profile.html.erb +8 -1
- data/base/config/locales/en.yml +7 -23
- data/base/lib/social_stream/base/version.rb +1 -1
- data/base/lib/tasks/db/populate.rake +1 -1
- data/events/config/locales/en.yml +0 -9
- data/events/config/routes.rb +0 -16
- data/events/lib/social_stream/events/version.rb +1 -1
- data/events/social_stream-events.gemspec +1 -1
- data/lib/social_stream/version.rb +1 -1
- data/social_stream.gemspec +2 -1
- metadata +40 -73
- data/base/lib/tasks/resque.rake +0 -3
- data/events/app/assets/javascripts/settings.js +0 -20
- data/events/app/assets/stylesheets/activities.css +0 -4
- data/events/app/assets/stylesheets/settings.css +0 -4
- data/events/app/assets/stylesheets/tie.css +0 -4
- data/events/app/assets/stylesheets/users.css +0 -4
- data/events/app/controllers/activities_controller.rb +0 -42
- data/events/app/controllers/calendar_events_controller.rb +0 -157
- data/events/app/controllers/settings_controller.rb +0 -70
- data/events/app/views/activities/_activity.html.erb +0 -5
- data/events/app/views/activities/_child.html.erb +0 -18
- data/events/app/views/activities/_comments.html.erb +0 -3
- data/events/app/views/activities/_options.html.erb +0 -15
- data/events/app/views/activities/_root.html.erb +0 -37
- data/events/app/views/activities/_wall.html.erb +0 -5
- data/events/app/views/activities/_walls.html.erb +0 -34
- data/events/app/views/activities/documents.js.erb +0 -1
- data/events/app/views/activities/index.js.erb +0 -1
- data/events/app/views/calendar_events/_calendar.html.erb +0 -0
- data/events/app/views/calendar_events/_edit_form.html.erb +0 -58
- data/events/app/views/calendar_events/_form.html.erb +0 -65
- data/events/app/views/calendar_events/available.html.erb +0 -81
- data/events/app/views/calendar_events/create.js.erb +0 -18
- data/events/app/views/calendar_events/edit.js.erb +0 -1
- data/events/app/views/calendar_events/index.html.erb +0 -162
- data/events/app/views/calendar_events/move.js.erb +0 -0
- data/events/app/views/calendar_events/new.js.erb +0 -9
- data/events/app/views/calendar_events/resize.js.erb +0 -0
- data/events/app/views/calendar_events/schedule.html.erb +0 -143
- data/events/app/views/kaminari/_first_page.html.erb +0 -11
- data/events/app/views/kaminari/_gap.html.erb +0 -8
- data/events/app/views/kaminari/_last_page.html.erb +0 -11
- data/events/app/views/kaminari/_next_page.html.erb +0 -11
- data/events/app/views/kaminari/_page.html.erb +0 -12
- data/events/app/views/kaminari/_paginator.html.erb +0 -23
- data/events/app/views/kaminari/_prev_page.html.erb +0 -11
- data/events/app/views/profiles/_profile.html.erb +0 -40
- data/events/app/views/settings/_contacto.html.erb +0 -24
- data/events/app/views/settings/_header.html.erb +0 -8
- data/events/app/views/settings/_index.html.erb +0 -16
- data/events/app/views/settings/_manage.html.erb +0 -25
- data/events/app/views/settings/_settings.html.erb +0 -49
- data/events/app/views/settings/delete_relation.js.erb +0 -3
- data/events/app/views/settings/index.html.erb +0 -38
- data/events/app/views/settings/manage.html.erb +0 -31
- data/events/app/views/settings/show.html.erb +0 -15
- data/events/app/views/settings/update_relation.js.erb +0 -1
- data/events/app/views/toolbar/_home.html.erb +0 -11
- data/events/app/views/toolbar/_logo.html.erb +0 -23
- data/events/app/views/toolbar/_profile.html.erb +0 -21
data/.gitignore
CHANGED
data/README.rdoc
CHANGED
@@ -54,6 +54,7 @@ Current Social Stream distribution includes:
|
|
54
54
|
along with users, group, post and comments
|
55
55
|
* {Social Stream Documents}[https://github.com/ging/social_stream/tree/master/documents], support for
|
56
56
|
activities on files
|
57
|
+
* {Social Stream Events}[https://github.com/ging/social_stream/tree/master/events], videoconference events with an agenda and several sessions
|
57
58
|
|
58
59
|
= Documentation
|
59
60
|
|
@@ -91,11 +91,12 @@ $(function() {
|
|
91
91
|
//show only the text fields for new comment if there are any comment to the post
|
92
92
|
$(".activity_new_comment").each(function(){
|
93
93
|
if ($.trim($(this).siblings(".activity_comments").text()) != ""){
|
94
|
-
$(this).addClass("comment_shown");
|
95
94
|
$(this).show();
|
96
95
|
}
|
97
96
|
});
|
98
97
|
$(".activities_comment_btn").hide();
|
98
|
+
$(".actor_name_new_comment").hide();
|
99
|
+
$(".actor_logo_new_comment").hide();
|
99
100
|
|
100
101
|
//if there are 4 or more commments we only show the last 2 and a link to show the rest
|
101
102
|
$(".activity_comments").each(function(){
|
@@ -117,9 +118,16 @@ showAllComments = function(id){
|
|
117
118
|
};
|
118
119
|
|
119
120
|
//usa livequery para usar el javascript luego de una accion con AJAX
|
120
|
-
$(".input_new_comments").live("click",function(){
|
121
|
+
$(".input_new_comments").live("click", function(){
|
121
122
|
$(".activities_comment_btn").hide();
|
123
|
+
$(".new_comment").removeClass("new_comment_shown");
|
124
|
+
$(".actor_name_new_comment").hide();
|
125
|
+
$(".actor_logo_new_comment").hide();
|
122
126
|
$(this).parent(".new_comment").children(".activities_comment_btn").show();
|
127
|
+
$(this).parent(".new_comment").addClass("new_comment_shown");
|
128
|
+
$(this).parents(".activity_new_comment").find(".actor_name_new_comment").show();
|
129
|
+
$(this).parents(".activity_new_comment").find(".actor_logo_new_comment").show();
|
130
|
+
return false;
|
123
131
|
});
|
124
132
|
|
125
133
|
//javascript for tocomment option
|
@@ -23,14 +23,14 @@
|
|
23
23
|
.activity { text-align:left; display: block; vertical-align: top; padding: 10px 0px 5px 0px;
|
24
24
|
display: inline-block; color: #000; font-size: 13px; color: #2A3890;border-bottom:1px solid #E9E9E9;}
|
25
25
|
.actor_logo { width: 38px; padding: 8px 0px 5px 5px; display: inline-block; vertical-align: top;}
|
26
|
-
.activity_content { padding:
|
26
|
+
.activity_content { padding: 0px; display: inline-block; color: #000; width: 89%;}
|
27
27
|
.actor_name {font-size: 13px;}
|
28
28
|
.actor_name a{font-weight: bold;}
|
29
29
|
.post a { color: #2A3890;}
|
30
30
|
|
31
31
|
/***************** ACTIVITY OPTIONS ***/
|
32
32
|
.activity_options { color: #2A3890; font-size: 10px; display: inline-block;}
|
33
|
-
.actor_name-activity_objects{ font-weight: bold; color: #2A3890; font-size:12px;}
|
33
|
+
.actor_name-activity_objects, .actor_name_new_comment{ font-weight: bold; color: #2A3890; font-size:12px; margin: 5px 0px;}
|
34
34
|
.activity_objects{padding-bottom:5px;}
|
35
35
|
.subactivity_objects{ color: #000; font-weight:normal; font-size:11px;}
|
36
36
|
.post_time_ago { color: #6c6d6f;}
|
@@ -42,6 +42,7 @@
|
|
42
42
|
.activity_options .icon_blue{ padding-left:5px; list-style-image:url("/images/point_blue.png");
|
43
43
|
list-style-position:inside;}
|
44
44
|
|
45
|
+
.security, .post_time_ago, .verb_comment, .verb_like, .verb_comment, .verb_delete{ display: inline-block;}
|
45
46
|
|
46
47
|
|
47
48
|
/************* ACTIVITY - FOOTER *********/
|
@@ -58,7 +59,7 @@
|
|
58
59
|
|
59
60
|
.activity_new_comment{ font-size: 11px; padding-left: 5px; background: #deeff8;
|
60
61
|
border: thin solid #D4E4E4; padding-top: 3px; padding-bottom: 3px;display:none;}
|
61
|
-
.actor_logo_subactivity { width: 40px; padding: 5px 3px 5px 2px; display: inline-block;
|
62
|
+
.actor_logo_subactivity, .actor_logo_new_comment{ width: 40px; padding: 5px 3px 5px 2px; display: inline-block;
|
62
63
|
vertical-align: top;}
|
63
64
|
.input_new_comments{ border:1px solid #BDC7D8; width:98%; padding: 2px; color:#2A3890;}
|
64
65
|
.subactivity{ font-size: 11px; padding: 0px 5px 0px 5px; background: #deeff8;
|
@@ -71,7 +72,8 @@
|
|
71
72
|
|
72
73
|
.hide_show_comments{font-size: 11px; padding-left: 5px; background: #deeff8;
|
73
74
|
border: thin solid #D4E4E4; width:100%; padding-top: 3px; padding-bottom: 3px;}
|
74
|
-
.new_comment{
|
75
|
+
.new_comment{ width: 465px;}
|
76
|
+
.new_comment_shown{ width: 410px;}
|
75
77
|
/*********** DROP DOWN**********/
|
76
78
|
#security_chzn .chzn-choices {
|
77
79
|
padding-left: 20px;
|
@@ -7,9 +7,11 @@ module ContactsHelper
|
|
7
7
|
if c.reflexive?
|
8
8
|
t('subject.this_is_you')
|
9
9
|
else
|
10
|
-
link_to
|
10
|
+
link_to(c.status,
|
11
11
|
edit_contact_path(c),
|
12
|
-
:title => t("contact.#{ c.action }.title", :name => c.receiver.name)
|
12
|
+
:title => t("contact.#{ c.action }.title", :name => c.receiver.name)) +
|
13
|
+
"<br/>".html_safe +
|
14
|
+
link_to(t('actor.delete'), contact_path(c), :action => :destroy, :confirm => t('actor.confirm_delete'), :remote => true)
|
13
15
|
end
|
14
16
|
|
15
17
|
end
|
data/base/app/models/tie.rb
CHANGED
@@ -131,7 +131,7 @@ class Tie < ActiveRecord::Base
|
|
131
131
|
end
|
132
132
|
|
133
133
|
def relation_belongs_to_sender
|
134
|
-
errors.add(:relation, "
|
134
|
+
errors.add(:relation, "must belong to sender") unless
|
135
135
|
contact.sender_id == relation.actor_id
|
136
136
|
end
|
137
137
|
end
|
data/{events/app/views/activities/_index.html.erb → base/app/views/activities/_filter.html.erb}
RENAMED
@@ -47,15 +47,7 @@
|
|
47
47
|
});
|
48
48
|
});
|
49
49
|
<% end %>
|
50
|
-
|
51
|
-
<div id="wrapper_activities_header">
|
52
|
-
<div id="activities_title" class="content_size">
|
53
|
-
<div class="activities_title_header">
|
54
|
-
<%= image_tag("btn/activity.png") %><%= t 'activity.title' %>
|
55
|
-
</div>
|
56
|
-
</div>
|
57
|
-
<%= render :partial => 'activities/new', :locals => { :receiver => owner } %>
|
58
|
-
</div>
|
50
|
+
|
59
51
|
<div id="filter_div">
|
60
52
|
<%= form_tag "/activities/documents", :method => :post ,:id=> 'form_filter', :class => "tie_form",:remote=> true do %>
|
61
53
|
<span class="sb_down">Filter</span>
|
@@ -88,7 +80,4 @@
|
|
88
80
|
</ul>
|
89
81
|
<% end %>
|
90
82
|
</div>
|
91
|
-
<%= render :partial => 'activities/wall',
|
92
|
-
:locals => { :activities => activities } %>
|
93
83
|
|
94
|
-
</div>
|
@@ -1,15 +1,18 @@
|
|
1
1
|
<div class="activity_options">
|
2
|
-
<ul class="activity_options" >
|
3
2
|
<% if user_signed_in? %>
|
4
|
-
|
3
|
+
<div class="security"><%= image_tag('btn/btn_security.png', :title => activity.audience_in_words(current_subject)) %></div>
|
5
4
|
<% end %>
|
6
|
-
<
|
5
|
+
<div class="post_time_ago"><%= t('time.ago', :time => time_ago_in_words(activity.created_at)) %></div>
|
7
6
|
<% if activity.is_root? && user_signed_in? %>
|
8
|
-
|
7
|
+
<div class="verb_comment"> · <%= link_to t('activity.to_comment'), "#", :class => "to_comment" %> </div>
|
9
8
|
<% end %>
|
10
|
-
|
9
|
+
<div class="verb_like" id="like_<%= dom_id(activity) %>"> · <%= link_like(activity)%></div>
|
11
10
|
<% if activity.delete_object_by?(current_subject) %>
|
12
|
-
<
|
11
|
+
<div class="verb_delete">
|
12
|
+
· <%= link_to t('activity.delete'), activity.direct_object , :confirm => t('confirm_delete',
|
13
|
+
:scope => activity.direct_object.class.to_s.underscore), :method => :delete,
|
14
|
+
:remote => true %>
|
15
|
+
</div>
|
13
16
|
<% end %>
|
14
17
|
</ul>
|
15
18
|
</div>
|
@@ -1,9 +1,13 @@
|
|
1
1
|
<% if user_signed_in? && current_subject.can_comment?(activity) %>
|
2
2
|
<div class="activity_new_comment">
|
3
|
-
<div class="
|
3
|
+
<div class="actor_logo_new_comment">
|
4
4
|
<%= image_tag(current_subject.logo.url(:actor),
|
5
5
|
:alt => current_subject.name)%>
|
6
6
|
</div>
|
7
|
+
<div class= "activity_content">
|
8
|
+
<div class="actor_name_new_comment">
|
9
|
+
<%= current_subject.name %>
|
10
|
+
</div>
|
7
11
|
<%= form_for Comment.new(:text => t('comment.input'),
|
8
12
|
:_contact_id =>
|
9
13
|
current_subject.contact_to!(activity.receiver).id,
|
@@ -12,26 +16,23 @@
|
|
12
16
|
:html => { :class => "new_comment", :id => "new_comment"+dom_id(activity) },
|
13
17
|
:remote => true do |f| %>
|
14
18
|
|
15
|
-
|
16
|
-
|
19
|
+
<%= f.hidden_field :_contact_id %>
|
20
|
+
<%= f.hidden_field :_activity_parent_id %>
|
21
|
+
|
22
|
+
<%= f.text_field :text, :class =>"input_new_comments", :id => "comment_text_"+dom_id(activity) %>
|
17
23
|
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
</div>
|
24
|
-
<% end %>
|
24
|
+
<div class="activities_comment_btn">
|
25
|
+
<div class="activities_security"></div>
|
26
|
+
<%= f.submit t('share'), :class =>"myButtonBlue submitActivity", :id => "comment_submit_"+dom_id(activity) %>
|
27
|
+
</div>
|
28
|
+
<% end %>
|
25
29
|
</div>
|
30
|
+
</div>
|
26
31
|
<% end %>
|
27
32
|
|
28
33
|
<%= javascript_tag do %>
|
29
34
|
$(document).ready(function() {
|
30
35
|
$("#comment_text_<%= dom_id(activity) %>").Watermark("<%= I18n.t('comment.input') %>","#666");
|
31
|
-
activate_anti_rebounds();
|
32
|
-
$(".input_new_comments").blur(function(){
|
33
|
-
$(".activity_new_comment").hide();
|
34
|
-
$(".comment_shown").show();
|
35
|
-
});
|
36
|
+
activate_anti_rebounds();
|
36
37
|
});
|
37
38
|
<% end %>
|
@@ -6,6 +6,10 @@
|
|
6
6
|
<%= render :partial=> "personal"%>
|
7
7
|
<%end%>
|
8
8
|
|
9
|
+
<% if @profile.subject.subject_type == 'Event' %>
|
10
|
+
<%= render :partial=> "outline", :locals => {:profile => @profile} %>
|
11
|
+
<% end %>
|
12
|
+
|
9
13
|
<% if (!is_contact_empty?) or(is_owner?)%>
|
10
14
|
<%= render :partial=> "contact"%>
|
11
15
|
<%end%>
|
@@ -0,0 +1,16 @@
|
|
1
|
+
<div class="block" id="manage_settings">
|
2
|
+
<div class="header">
|
3
|
+
<div class="header_text">
|
4
|
+
<%= t('settings.manage.name')%>
|
5
|
+
</div>
|
6
|
+
<div class="header_icon_right">
|
7
|
+
<%= link_to image_tag('btn/edit.png'), contacts_path %>
|
8
|
+
</div>
|
9
|
+
</div>
|
10
|
+
<div class="content" id="contact_settings_briefing">
|
11
|
+
<div class="form_row">
|
12
|
+
<%= t('settings.manage.briefing')%>
|
13
|
+
</div>
|
14
|
+
</div>
|
15
|
+
</div>
|
16
|
+
|
@@ -14,3 +14,10 @@
|
|
14
14
|
<%= link_to image_tag(subject.logo.url, :alt => subject.name , :size => "119x119"), subject %>
|
15
15
|
<% end %>
|
16
16
|
</div>
|
17
|
+
<% if subject.subject_type == 'Event' %>
|
18
|
+
<% @founder = Actor.normalize(subject.founder_id) %>
|
19
|
+
<div id="founder">
|
20
|
+
<div id="created"><%=t('actor.created')%></div>
|
21
|
+
<div id="thumb"><%= link_to(image_tag(@founder.logo.url(:representation), :width => 20, :height => 20, :class => 'menu_icon', :id=> 'current_user_avatar_img'), @founder.subject ) %></div>
|
22
|
+
</div>
|
23
|
+
<% end %>
|
@@ -10,7 +10,14 @@
|
|
10
10
|
<div class="block space_center">
|
11
11
|
</div>
|
12
12
|
|
13
|
-
|
13
|
+
<% if subject.subject_type == 'Event' %>
|
14
|
+
<% subject.relation_customs.each do |temp| %>
|
15
|
+
<%= render :partial => 'toolbar/organizer', :locals => { :subject => subject,:tie=> temp } %>
|
16
|
+
<% end %>
|
17
|
+
<%= render :partial => 'toolbar/suscribed', :locals => { :subject => subject } %>
|
18
|
+
<% else %>
|
19
|
+
<%= render :partial => 'subjects/contacts', :locals => { :subject => subject } %>
|
20
|
+
<% end %>
|
14
21
|
|
15
22
|
<div class="block space_center">
|
16
23
|
</div>
|
data/base/config/locales/en.yml
CHANGED
@@ -55,32 +55,10 @@ en:
|
|
55
55
|
post:
|
56
56
|
title:
|
57
57
|
other_wall: "%{sender} → %{receiver}"
|
58
|
-
avatar:
|
59
|
-
crop_image: "Crop the uploaded image"
|
60
|
-
crop_submit: "Crop image"
|
61
|
-
destroy: "Delete"
|
62
|
-
destroy_sure: "Are you sure you wan't to delete the selected avatar?"
|
63
|
-
error:
|
64
|
-
no_file: "You have to select a file"
|
65
|
-
no_image_file: "The file you uploaded isn't valid, it must be an image file"
|
66
|
-
list: "You have these avatars"
|
67
|
-
new: "Create a new avatar"
|
68
|
-
new_short: "New avatar"
|
69
|
-
no_avatars: "You haven't got any avatar, plesase create a new one."
|
70
|
-
one: "Avatar"
|
71
|
-
other: "Avatars"
|
72
|
-
original: "Original image"
|
73
|
-
preview: "Preview"
|
74
|
-
profile_change: "Change your avatar"
|
75
|
-
set_default: "Set as default"
|
76
|
-
set_default_sure: "Are you sure you wan't to set this avatar as default?"
|
77
|
-
text:
|
78
|
-
new: "... or upload a new one"
|
79
|
-
use: "Use your saved avatars ..."
|
80
|
-
upload: "Upload"
|
81
58
|
browse: "Browse"
|
82
59
|
button:
|
83
60
|
cancel: "Cancel"
|
61
|
+
create: "Create"
|
84
62
|
save: "Save"
|
85
63
|
update: "Update"
|
86
64
|
cleditor:
|
@@ -246,6 +224,8 @@ en:
|
|
246
224
|
form:
|
247
225
|
title: "Post"
|
248
226
|
title: "Posts"
|
227
|
+
preposition:
|
228
|
+
and: "and"
|
249
229
|
profile:
|
250
230
|
one: "Profile"
|
251
231
|
age: "Age"
|
@@ -351,6 +331,10 @@ en:
|
|
351
331
|
error: "Some errors raised when saving your changes"
|
352
332
|
for: "Settings for"
|
353
333
|
main: "Main settings"
|
334
|
+
manage:
|
335
|
+
name: "Admin Contacs"
|
336
|
+
briefing: "Settings contacts preferences"
|
337
|
+
explanation: "Change contacts permissions"
|
354
338
|
one: "Settings"
|
355
339
|
success: "Your settings where correctly changed"
|
356
340
|
api_key:
|
@@ -40,7 +40,7 @@ namespace :db do
|
|
40
40
|
dimensions = Avatar.get_image_dimensions(avatar)
|
41
41
|
l = Avatar.new(:actor => i.actor,:logo => File.open(avatar), :name => File.basename(avatar), :crop_x => 0, :crop_y => 0, :crop_w => dimensions[:width], :crop_h => dimensions[:height] )
|
42
42
|
l.active = true
|
43
|
-
l.save
|
43
|
+
l.save!
|
44
44
|
end
|
45
45
|
end
|
46
46
|
end
|
@@ -34,8 +34,6 @@ en:
|
|
34
34
|
confirm_delete: "Confirm delete?"
|
35
35
|
agenda:
|
36
36
|
confirm_delete: "delete"
|
37
|
-
button:
|
38
|
-
create: "Create"
|
39
37
|
conference:
|
40
38
|
title: "Conferences"
|
41
39
|
list: "Contact's conferences"
|
@@ -69,8 +67,6 @@ en:
|
|
69
67
|
info: "Event information"
|
70
68
|
tags: "Event tags"
|
71
69
|
outline: "Outline"
|
72
|
-
preposition:
|
73
|
-
and: "and"
|
74
70
|
session:
|
75
71
|
confirm_delete: "delete"
|
76
72
|
new: "New Session"
|
@@ -79,11 +75,6 @@ en:
|
|
79
75
|
title: "title"
|
80
76
|
description: "description"
|
81
77
|
schedule: "schedule"
|
82
|
-
settings:
|
83
|
-
manage:
|
84
|
-
name: "Admin Contacs"
|
85
|
-
briefing: "Settings contacts preferences"
|
86
|
-
explanation: "Change contacts permissions"
|
87
78
|
time:
|
88
79
|
am: am
|
89
80
|
end: End time
|
data/events/config/routes.rb
CHANGED
@@ -1,19 +1,6 @@
|
|
1
|
-
|
2
1
|
Rails.application.routes.draw do
|
3
2
|
|
4
|
-
resource :settings
|
5
|
-
resource :tie
|
6
|
-
match "/settings/update_relation/:id" => "settings#update_relation"
|
7
|
-
|
8
|
-
resource :settings
|
9
|
-
resource :tie
|
10
|
-
|
11
|
-
resource :actor
|
12
|
-
match "/settings/update_relation/:id" => "settings#update_relation"
|
13
|
-
match "/settings/manage" => "settings#manage"
|
14
3
|
match "/events/manage" => "events#manage"
|
15
|
-
match "/settings/delete_relation/:id" => "settings#delete_relation"
|
16
|
-
match "/activities/documents" => "activities#documents"
|
17
4
|
match "/sessions/delete/:id" => "sessions#delete"
|
18
5
|
# Social Stream subjects configured in config/initializers/social_stream.rb
|
19
6
|
|
@@ -27,7 +14,6 @@ Rails.application.routes.draw do
|
|
27
14
|
end
|
28
15
|
end
|
29
16
|
|
30
|
-
|
31
17
|
match "events/:id/agenda" => "agendas#show"
|
32
18
|
match "events/:id/sessions" => "sessions#show"
|
33
19
|
match "events/:id/sessions/create" => "sessions#create"
|
@@ -41,6 +27,4 @@ Rails.application.routes.draw do
|
|
41
27
|
match "sessions/:id/new" => "sessions#new"
|
42
28
|
match "sessions/:id/create" => "sessions#create"
|
43
29
|
match "sessions/:id/update" => "sessions#update"
|
44
|
-
|
45
|
-
|
46
30
|
end
|
@@ -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.9.
|
15
|
+
s.add_runtime_dependency('social_stream-base', '~> 0.9.11')
|
16
16
|
# Development Gem dependencies
|
17
17
|
s.add_development_dependency('sqlite3-ruby')
|
18
18
|
if RUBY_VERSION < '1.9'
|