social_stream 0.16.2 → 0.16.3

Sign up to get free protection for your applications and to get access to all the features.
File without changes
@@ -9,7 +9,7 @@
9
9
  newel: false,
10
10
  height: 6
11
11
  });
12
- $("#group_actor_tag_list").fcbkcomplete({
12
+ $("#group_tag_list").fcbkcomplete({
13
13
  json_url: "<%= tags_path(:format => :json) %>",
14
14
  cache: false,
15
15
  filter_case: true,
@@ -65,9 +65,7 @@
65
65
  <%= f.label t('group.tags')%>
66
66
  </div>
67
67
  <div class="form_field">
68
- <%= f.fields_for :actor do |actor_form| %>
69
- <%= actor_form.select :tag_list, [], :class => "form_tag" %>
70
- <%end%>
68
+ <%= f.select :tag_list, [], :class => "form_tag" %>
71
69
  </div>
72
70
  </div>
73
71
  <div class="form_row form_label">
@@ -5,7 +5,8 @@
5
5
  <ul>
6
6
  <% representations.each do |representation| %>
7
7
  <li>
8
- <%= link_to truncate_name(representation.name, :length => 15) + (content_tag(:span, representation.pending_contacts_count.to_s, :class => "switch_pending_count") if representation.pending_contacts_count > 0), { :s => representation.slug }, { :style => "background: transparent url('#{ image_path representation.logo.url(:representation)}') no-repeat left center;margin-left:2px;" } %>
8
+ <% pending_total = representation.mailbox.notifications.not_trashed.unread.count %>
9
+ <%= link_to truncate_name(representation.name, :length => 15) + (content_tag(:span, pending_total.to_s, :class => "switch_pending_count") if pending_total > 0), { :s => representation.slug }, { :style => "background: transparent url('#{ image_path representation.logo.url(:representation)}') no-repeat left center;margin-left:2px;" } %>
9
10
  </li>
10
11
  <% end %>
11
12
  </ul>
@@ -9,6 +9,8 @@ es:
9
9
  edit: "Editar cuenta"
10
10
  email:
11
11
  change: "Cambiar dirección de correo"
12
+ lang:
13
+ change: "Cambiar idioma"
12
14
  one: "Cuenta"
13
15
  password:
14
16
  change: "Cambiar contraseña"
@@ -1,5 +1,5 @@
1
1
  module SocialStream
2
2
  module Base
3
- VERSION = "0.11.1".freeze
3
+ VERSION = "0.11.2".freeze
4
4
  end
5
5
  end
@@ -1 +1 @@
1
- <div id="sidebar_calendar_month_<%= position %>" class="sidebar_calendar_month<%= " not_current" if date.month != Date.today.month %>"><%= link_to l(date, :format => "%B %Y"), '#' %></div>
1
+ <div id="sidebar_calendar_month_<%= position %>" class="sidebar_calendar_month<%= " not_current" if date.month != Date.today.month %>"><%= link_to l(date, :format => "%B %Y"), polymorphic_path([profile_or_current_subject, Event.new], :date => date.to_time.to_i) %></div>
@@ -17,7 +17,7 @@
17
17
 
18
18
  <%= raw cycle(*(Array.wrap("<tr>") + 6.times.map{""}) + Array.wrap(:name => "tr_start")) %>
19
19
  <td class="<%= event_class(day.to_date) %>">
20
- <%= link_to day.day, polymorphic_path([profile_or_current_subject, Event.new], :at => day.to_i) %>
20
+ <%= link_to day.day, polymorphic_path([profile_or_current_subject, Event.new], :date => day.to_i, :view => "agendaDay") %>
21
21
  </td>
22
22
 
23
23
  <%= raw cycle(*(6.times.map{""} + Array.wrap('</tr>') + Array.wrap(:name => "tr_end"))) %>
@@ -1,7 +1,7 @@
1
1
  <% content_for :headers do %>
2
2
  <style type="text/css">
3
3
  #sidebar {width: 0px;}
4
- #center_body {width: 780px; max-width: 780px;}
4
+ #center_body {width: 780px; max-width: 780px; border-right: 0px;}
5
5
  </style>
6
6
  <% end %>
7
7
 
@@ -87,10 +87,13 @@
87
87
  }
88
88
  });
89
89
 
90
- <% if params[:at] %>
90
+ <% if params[:date] %>
91
91
  // TODO: optimize this to save one index call
92
- SocialStream.Events.current.calendar.fullCalendar('changeView', "agendaDay");
93
- SocialStream.Events.current.calendar.fullCalendar('gotoDate', new Date(<%= params[:at] %> * 1000));
92
+ SocialStream.Events.current.calendar.fullCalendar('gotoDate', new Date(<%= escape_javascript params[:date] %> * 1000));
93
+ <% end %>
94
+
95
+ <% if params[:view] %>
96
+ SocialStream.Events.current.calendar.fullCalendar('changeView', "<%= escape_javascript params[:view] %>");
94
97
  <% end %>
95
98
  });
96
99
  <% end %>
@@ -1,5 +1,5 @@
1
1
  module SocialStream
2
2
  module Events
3
- VERSION = "0.3.1".freeze
3
+ VERSION = "0.3.2".freeze
4
4
  end
5
5
  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.11.1')
15
+ s.add_runtime_dependency('social_stream-base', '~> 0.11.2')
16
16
  s.add_runtime_dependency('rails-scheduler', '~> 0.0.4')
17
17
  s.add_runtime_dependency('coffee-rails', '> 3.1.0')
18
18
 
@@ -1,3 +1,3 @@
1
1
  module SocialStream
2
- VERSION = "0.16.2".freeze
2
+ VERSION = "0.16.3".freeze
3
3
  end
@@ -11,9 +11,9 @@ 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.11.1')
14
+ s.add_runtime_dependency('social_stream-base', '~> 0.11.2')
15
15
  s.add_runtime_dependency('social_stream-documents', '~> 0.6.1')
16
- s.add_runtime_dependency('social_stream-events', '~> 0.3.1')
16
+ s.add_runtime_dependency('social_stream-events', '~> 0.3.2')
17
17
  s.add_runtime_dependency('social_stream-linkser', '~> 0.1.1')
18
18
 
19
19
  # Development Gem dependencies
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.16.2
4
+ version: 0.16.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,22 +10,22 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2011-12-22 00:00:00.000000000Z
13
+ date: 2011-12-23 00:00:00.000000000Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: social_stream-base
17
- requirement: &83134570 !ruby/object:Gem::Requirement
17
+ requirement: &78705980 !ruby/object:Gem::Requirement
18
18
  none: false
19
19
  requirements:
20
20
  - - ~>
21
21
  - !ruby/object:Gem::Version
22
- version: 0.11.1
22
+ version: 0.11.2
23
23
  type: :runtime
24
24
  prerelease: false
25
- version_requirements: *83134570
25
+ version_requirements: *78705980
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: social_stream-documents
28
- requirement: &83134160 !ruby/object:Gem::Requirement
28
+ requirement: &78705280 !ruby/object:Gem::Requirement
29
29
  none: false
30
30
  requirements:
31
31
  - - ~>
@@ -33,21 +33,21 @@ dependencies:
33
33
  version: 0.6.1
34
34
  type: :runtime
35
35
  prerelease: false
36
- version_requirements: *83134160
36
+ version_requirements: *78705280
37
37
  - !ruby/object:Gem::Dependency
38
38
  name: social_stream-events
39
- requirement: &83133860 !ruby/object:Gem::Requirement
39
+ requirement: &78704450 !ruby/object:Gem::Requirement
40
40
  none: false
41
41
  requirements:
42
42
  - - ~>
43
43
  - !ruby/object:Gem::Version
44
- version: 0.3.1
44
+ version: 0.3.2
45
45
  type: :runtime
46
46
  prerelease: false
47
- version_requirements: *83133860
47
+ version_requirements: *78704450
48
48
  - !ruby/object:Gem::Dependency
49
49
  name: social_stream-linkser
50
- requirement: &83121040 !ruby/object:Gem::Requirement
50
+ requirement: &78703180 !ruby/object:Gem::Requirement
51
51
  none: false
52
52
  requirements:
53
53
  - - ~>
@@ -55,10 +55,10 @@ dependencies:
55
55
  version: 0.1.1
56
56
  type: :runtime
57
57
  prerelease: false
58
- version_requirements: *83121040
58
+ version_requirements: *78703180
59
59
  - !ruby/object:Gem::Dependency
60
60
  name: capybara
61
- requirement: &83120690 !ruby/object:Gem::Requirement
61
+ requirement: &78698930 !ruby/object:Gem::Requirement
62
62
  none: false
63
63
  requirements:
64
64
  - - ~>
@@ -66,10 +66,10 @@ dependencies:
66
66
  version: 0.3.9
67
67
  type: :development
68
68
  prerelease: false
69
- version_requirements: *83120690
69
+ version_requirements: *78698930
70
70
  - !ruby/object:Gem::Dependency
71
71
  name: sqlite3
72
- requirement: &83120430 !ruby/object:Gem::Requirement
72
+ requirement: &78698390 !ruby/object:Gem::Requirement
73
73
  none: false
74
74
  requirements:
75
75
  - - ! '>='
@@ -77,10 +77,10 @@ dependencies:
77
77
  version: '0'
78
78
  type: :development
79
79
  prerelease: false
80
- version_requirements: *83120430
80
+ version_requirements: *78698390
81
81
  - !ruby/object:Gem::Dependency
82
82
  name: rspec-rails
83
- requirement: &83119970 !ruby/object:Gem::Requirement
83
+ requirement: &78696920 !ruby/object:Gem::Requirement
84
84
  none: false
85
85
  requirements:
86
86
  - - ~>
@@ -88,10 +88,10 @@ dependencies:
88
88
  version: 2.5.0
89
89
  type: :development
90
90
  prerelease: false
91
- version_requirements: *83119970
91
+ version_requirements: *78696920
92
92
  - !ruby/object:Gem::Dependency
93
93
  name: factory_girl
94
- requirement: &83119500 !ruby/object:Gem::Requirement
94
+ requirement: &78695390 !ruby/object:Gem::Requirement
95
95
  none: false
96
96
  requirements:
97
97
  - - ~>
@@ -99,10 +99,10 @@ dependencies:
99
99
  version: 1.3.2
100
100
  type: :development
101
101
  prerelease: false
102
- version_requirements: *83119500
102
+ version_requirements: *78695390
103
103
  - !ruby/object:Gem::Dependency
104
104
  name: forgery
105
- requirement: &83119090 !ruby/object:Gem::Requirement
105
+ requirement: &78694610 !ruby/object:Gem::Requirement
106
106
  none: false
107
107
  requirements:
108
108
  - - ~>
@@ -110,10 +110,10 @@ dependencies:
110
110
  version: 0.3.6
111
111
  type: :development
112
112
  prerelease: false
113
- version_requirements: *83119090
113
+ version_requirements: *78694610
114
114
  - !ruby/object:Gem::Dependency
115
115
  name: ci_reporter
116
- requirement: &83118760 !ruby/object:Gem::Requirement
116
+ requirement: &78693480 !ruby/object:Gem::Requirement
117
117
  none: false
118
118
  requirements:
119
119
  - - ~>
@@ -121,7 +121,7 @@ dependencies:
121
121
  version: 1.6.4
122
122
  type: :development
123
123
  prerelease: false
124
- version_requirements: *83118760
124
+ version_requirements: *78693480
125
125
  description: Social Stream is a Ruby on Rails engine for building social network websites.
126
126
  It supports contacts, posts, file uploads, private messages and many more.
127
127
  email:
@@ -425,6 +425,7 @@ files:
425
425
  - base/app/views/activities/_options.html.erb
426
426
  - base/app/views/activities/_root.html.erb
427
427
  - base/app/views/activities/_wall.html.erb
428
+ - base/app/views/activities/index.html.erb
428
429
  - base/app/views/activities/index.js.erb
429
430
  - base/app/views/activity_objects/_activity_object.html.erb
430
431
  - base/app/views/actors/_actor.html.erb