social_stream 0.11.1 → 0.11.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (65) hide show
  1. data/.gitignore +1 -0
  2. data/base/app/assets/images/tipsy.gif +0 -0
  3. data/base/app/assets/javascripts/activities.js.erb +23 -0
  4. data/base/app/assets/javascripts/invitations.js +7 -0
  5. data/base/app/assets/javascripts/profiles.js +4 -1
  6. data/base/app/assets/stylesheets/activities.css.scss +10 -5
  7. data/base/app/assets/stylesheets/base.css.scss +3 -2
  8. data/base/app/assets/stylesheets/frontpage.css.scss +2 -1
  9. data/base/app/assets/stylesheets/header.css.scss +5 -4
  10. data/base/app/controllers/groups_controller.rb +0 -6
  11. data/base/app/controllers/search_controller.rb +0 -4
  12. data/base/app/controllers/users_controller.rb +1 -6
  13. data/base/app/models/activity.rb +21 -7
  14. data/base/app/models/actor.rb +5 -3
  15. data/base/app/views/activities/_new.html.erb +13 -3
  16. data/base/app/views/activities/_options.html.erb +13 -4
  17. data/base/app/views/conversations/show.html.erb +1 -1
  18. data/base/app/views/conversations/show.js.erb +1 -1
  19. data/base/app/views/devise/registrations/edit.html.erb +1 -1
  20. data/base/app/views/devise/registrations/new.html.erb +1 -1
  21. data/base/app/views/devise/shared/_links.erb +6 -6
  22. data/base/app/views/frontpage/index.html.erb +3 -3
  23. data/base/app/views/groups/_new.html.erb +1 -1
  24. data/base/app/views/groups/show.html.erb +0 -5
  25. data/base/app/views/invitations/_new.html.erb +0 -5
  26. data/base/app/views/layouts/_header.erb +5 -44
  27. data/base/app/views/layouts/_header_signed_in.erb +44 -0
  28. data/base/app/views/layouts/_header_signed_out.erb +36 -0
  29. data/base/app/views/layouts/frontpage.html.erb +1 -1
  30. data/base/app/views/messages/_form.html.erb +3 -3
  31. data/base/app/views/messages/new.html.erb +2 -2
  32. data/base/app/views/messages/new.js.erb +1 -1
  33. data/base/app/views/posts/create.js.erb +2 -0
  34. data/base/app/views/profiles/edit.html.erb +6 -4
  35. data/base/app/views/search/index.html.erb +0 -4
  36. data/base/app/views/users/show.html.erb +0 -5
  37. data/base/config/locales/en.yml +33 -4
  38. data/base/config/locales/es.yml +33 -4
  39. data/base/lib/generators/social_stream/base/templates/initializer.rb +3 -0
  40. data/base/lib/social_stream-base.rb +4 -1
  41. data/base/lib/social_stream/base/version.rb +1 -1
  42. data/base/lib/social_stream/models/object.rb +2 -1
  43. data/base/social_stream-base.gemspec +3 -3
  44. data/base/spec/dummy/config/initializers/social_stream.rb +3 -0
  45. data/base/vendor/assets/javascripts/jquery.tipsy.js +104 -0
  46. data/base/vendor/assets/stylesheets/tipsy.css +7 -0
  47. data/events/app/views/frontpage/index.html.erb +3 -3
  48. data/events/config/locales/en.yml +1 -0
  49. data/events/lib/social_stream/events/version.rb +1 -1
  50. data/events/social_stream-events.gemspec +1 -1
  51. data/lib/social_stream/version.rb +1 -1
  52. data/social_stream.gemspec +2 -2
  53. metadata +15 -22
  54. data/base/app/assets/images/frontpage/join.gif +0 -0
  55. data/base/app/assets/stylesheets/ad_next.png +0 -0
  56. data/base/app/assets/stylesheets/ad_prev.png +0 -0
  57. data/base/app/assets/stylesheets/ad_scroll_back.png +0 -0
  58. data/base/app/assets/stylesheets/ad_scroll_forward.png +0 -0
  59. data/base/app/assets/stylesheets/jquery.ad-gallery.css +0 -171
  60. data/base/app/assets/stylesheets/loader.gif +0 -0
  61. data/base/app/views/frontpage/_header.html.erb +0 -30
  62. data/base/app/views/frontpage/_social_networks.html.erb +0 -5
  63. data/base/app/views/groups/_show_frontpage.html.erb +0 -11
  64. data/base/app/views/search/_index_frontpage.html.erb +0 -13
  65. data/base/app/views/users/_show_frontpage.html.erb +0 -11
@@ -0,0 +1,7 @@
1
+ .tipsy { padding: 5px; font-size: 10px; opacity: 0.8; filter: alpha(opacity=80); background-repeat: no-repeat; background-image: url(../images/tipsy.gif); }
2
+ .tipsy-inner { padding: 5px 8px 4px 8px; background-color: black; color: white; max-width: 200px; text-align: center; }
3
+ .tipsy-inner { -moz-border-radius:3px; -webkit-border-radius:3px; }
4
+ .tipsy-north { background-position: top center; }
5
+ .tipsy-south { background-position: bottom center; }
6
+ .tipsy-east { background-position: right center; }
7
+ .tipsy-west { background-position: left center; }
@@ -60,13 +60,13 @@
60
60
  </div>
61
61
  </div>
62
62
  <div class="espacio"></div>
63
- <div id="join_form">
64
- <%= link_to image_tag("frontpage/join.gif", :alt=>"register"), new_user_registration_path, :class => "register_link" %>
65
- </div>
66
63
  </div>
67
64
 
68
65
  <div id="wrapper_right">
69
66
  <%= render :partial => 'frontpage/caracteristics' %>
70
67
  </div>
71
68
 
69
+ <div id="join_form">
70
+ <%= button_to t('frontpage.register'), new_user_registration_path, :method=> :get %>
71
+ </div>
72
72
  <div id="espacio_body_bottom"></div>
@@ -59,6 +59,7 @@ en:
59
59
  suscribed: "Last Suscribed"
60
60
  frontpage:
61
61
  elements:
62
+ conferences: "Conferences"
62
63
  collaborate:
63
64
  sentence1: "Organize your projects and activities"
64
65
  sentence2: "Participate in conferences and events"
@@ -1,5 +1,5 @@
1
1
  module SocialStream
2
2
  module Events
3
- VERSION = "0.0.9".freeze
3
+ VERSION = "0.0.10".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.9.16')
15
+ s.add_runtime_dependency('social_stream-base', '~> 0.9.18')
16
16
  s.add_runtime_dependency('conference_manager-ruby', '~> 0.0.3')
17
17
 
18
18
  # Development Gem dependencies
@@ -1,3 +1,3 @@
1
1
  module SocialStream
2
- VERSION = "0.11.1".freeze
2
+ VERSION = "0.11.2".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.9.16')
14
+ s.add_runtime_dependency('social_stream-base', '~> 0.9.18')
15
15
  s.add_runtime_dependency('social_stream-documents', '~> 0.3.1')
16
- s.add_runtime_dependency('social_stream-events', '~> 0.0.9')
16
+ s.add_runtime_dependency('social_stream-events', '~> 0.0.10')
17
17
 
18
18
  # Development Gem dependencies
19
19
  #
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: social_stream
3
3
  version: !ruby/object:Gem::Version
4
- hash: 49
4
+ hash: 55
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 11
9
- - 1
10
- version: 0.11.1
9
+ - 2
10
+ version: 0.11.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - GING - DIT - UPM
@@ -16,7 +16,7 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2011-10-07 00:00:00 +02:00
19
+ date: 2011-10-11 00:00:00 +02:00
20
20
  default_executable:
21
21
  dependencies:
22
22
  - !ruby/object:Gem::Dependency
@@ -27,12 +27,12 @@ dependencies:
27
27
  requirements:
28
28
  - - ~>
29
29
  - !ruby/object:Gem::Version
30
- hash: 27
30
+ hash: 31
31
31
  segments:
32
32
  - 0
33
33
  - 9
34
- - 16
35
- version: 0.9.16
34
+ - 18
35
+ version: 0.9.18
36
36
  type: :runtime
37
37
  version_requirements: *id001
38
38
  - !ruby/object:Gem::Dependency
@@ -59,12 +59,12 @@ dependencies:
59
59
  requirements:
60
60
  - - ~>
61
61
  - !ruby/object:Gem::Version
62
- hash: 13
62
+ hash: 11
63
63
  segments:
64
64
  - 0
65
65
  - 0
66
- - 9
67
- version: 0.0.9
66
+ - 10
67
+ version: 0.0.10
68
68
  type: :runtime
69
69
  version_requirements: *id003
70
70
  - !ruby/object:Gem::Dependency
@@ -311,7 +311,6 @@ files:
311
311
  - base/app/assets/images/frontpage/collaborate.png
312
312
  - base/app/assets/images/frontpage/comments.png
313
313
  - base/app/assets/images/frontpage/green_sq.png
314
- - base/app/assets/images/frontpage/join.gif
315
314
  - base/app/assets/images/frontpage/meet.png
316
315
  - base/app/assets/images/frontpage/people.png
317
316
  - base/app/assets/images/frontpage/purple_sq.png
@@ -347,6 +346,7 @@ files:
347
346
  - base/app/assets/images/logos/representation/user.png
348
347
  - base/app/assets/images/mini-loading.gif
349
348
  - base/app/assets/images/right.png
349
+ - base/app/assets/images/tipsy.gif
350
350
  - base/app/assets/images/title_background.png
351
351
  - base/app/assets/javascripts/activities.js.erb
352
352
  - base/app/assets/javascripts/contacts.js
@@ -370,10 +370,6 @@ files:
370
370
  - base/app/assets/stylesheets/0_devise_sign.css
371
371
  - base/app/assets/stylesheets/_colors.scss
372
372
  - base/app/assets/stylesheets/activities.css.scss
373
- - base/app/assets/stylesheets/ad_next.png
374
- - base/app/assets/stylesheets/ad_prev.png
375
- - base/app/assets/stylesheets/ad_scroll_back.png
376
- - base/app/assets/stylesheets/ad_scroll_forward.png
377
373
  - base/app/assets/stylesheets/base.css.scss
378
374
  - base/app/assets/stylesheets/contacts.css.scss
379
375
  - base/app/assets/stylesheets/conversations.css
@@ -399,8 +395,6 @@ files:
399
395
  - base/app/assets/stylesheets/images/ui-icons_888888_256x240.png
400
396
  - base/app/assets/stylesheets/images/ui-icons_cd0a0a_256x240.png
401
397
  - base/app/assets/stylesheets/invitations.css
402
- - base/app/assets/stylesheets/jquery.ad-gallery.css
403
- - base/app/assets/stylesheets/loader.gif
404
398
  - base/app/assets/stylesheets/location.css.scss
405
399
  - base/app/assets/stylesheets/menu.css.scss
406
400
  - base/app/assets/stylesheets/messages.css.scss
@@ -523,8 +517,6 @@ files:
523
517
  - base/app/views/devise/sessions/new.html.erb
524
518
  - base/app/views/devise/shared/_links.erb
525
519
  - base/app/views/frontpage/_caracteristics.html.erb
526
- - base/app/views/frontpage/_header.html.erb
527
- - base/app/views/frontpage/_social_networks.html.erb
528
520
  - base/app/views/frontpage/_sponsor.html.erb
529
521
  - base/app/views/frontpage/host_meta.xml.builder
530
522
  - base/app/views/frontpage/index.html.erb
@@ -537,7 +529,6 @@ files:
537
529
  - base/app/views/groups/_new_activity.html.erb
538
530
  - base/app/views/groups/_new_activity_fields.html.erb
539
531
  - base/app/views/groups/_show.html.erb
540
- - base/app/views/groups/_show_frontpage.html.erb
541
532
  - base/app/views/groups/_sidebar_index.html.erb
542
533
  - base/app/views/groups/_sidebar_show.html.erb
543
534
  - base/app/views/groups/index.html.erb
@@ -560,6 +551,8 @@ files:
560
551
  - base/app/views/layouts/_header.erb
561
552
  - base/app/views/layouts/_header_dropdown_menu.html.erb
562
553
  - base/app/views/layouts/_header_dropdown_menu_sessions.html.erb
554
+ - base/app/views/layouts/_header_signed_in.erb
555
+ - base/app/views/layouts/_header_signed_out.erb
563
556
  - base/app/views/layouts/_representation.html.erb
564
557
  - base/app/views/layouts/_search.html.erb
565
558
  - base/app/views/layouts/_settings.html.erb
@@ -626,7 +619,6 @@ files:
626
619
  - base/app/views/search/_form.html.erb
627
620
  - base/app/views/search/_header_search.html.erb
628
621
  - base/app/views/search/_index.html.erb
629
- - base/app/views/search/_index_frontpage.html.erb
630
622
  - base/app/views/search/index.html.erb
631
623
  - base/app/views/search/index.js.erb
632
624
  - base/app/views/settings/_api_key.html.erb
@@ -648,7 +640,6 @@ files:
648
640
  - base/app/views/users/_groups.html.erb
649
641
  - base/app/views/users/_index.html.erb
650
642
  - base/app/views/users/_show.html.erb
651
- - base/app/views/users/_show_frontpage.html.erb
652
643
  - base/app/views/users/_sidebar_index.html.erb
653
644
  - base/app/views/users/_user.html.erb
654
645
  - base/app/views/users/_user_focus_search.html.erb
@@ -785,6 +776,7 @@ files:
785
776
  - base/vendor/assets/javascripts/jquery.fcbkcomplete.js
786
777
  - base/vendor/assets/javascripts/jquery.livequery.js
787
778
  - base/vendor/assets/javascripts/jquery.scrollTo.min.js
779
+ - base/vendor/assets/javascripts/jquery.tipsy.js
788
780
  - base/vendor/assets/javascripts/jquery.validate.js
789
781
  - base/vendor/assets/javascripts/jquery.validate.old.js
790
782
  - base/vendor/assets/javascripts/jquery.watermarkinput.js
@@ -813,6 +805,7 @@ files:
813
805
  - base/vendor/assets/stylesheets/smoothness/images/ui-icons_cd0a0a_256x240.png
814
806
  - base/vendor/assets/stylesheets/smoothness/jquery-ui-1.7.3.custom.css
815
807
  - base/vendor/assets/stylesheets/smoothness/jquery-ui-1.8.4.custom.css
808
+ - base/vendor/assets/stylesheets/tipsy.css
816
809
  - bin/social_stream
817
810
  - bin/social_stream_heroku
818
811
  - documents/.gitignore
@@ -1,171 +0,0 @@
1
- .ad-gallery {
2
- width: 320px;
3
- }
4
-
5
- .ad-gallery, .ad-gallery * {
6
- margin: 0;
7
- padding: 0;
8
- }
9
-
10
- .ad-gallery .ad-image-wrapper {
11
- width: 100%;
12
- height: 210px;
13
- /*margin-bottom: 10px;*/
14
- position: relative;
15
- overflow: hidden;
16
- }
17
- .ad-gallery .ad-image-wrapper .ad-loader {
18
- position: absolute;
19
- z-index: 3;
20
- top: 2px;
21
- left: 48%;
22
- border: 1px solid #CCC;
23
- }
24
- .ad-gallery .ad-image-wrapper .ad-next {
25
- position: absolute;
26
- right: 0;
27
- top: 0px;
28
- width: 25%;
29
- height: 95%;
30
- cursor: pointer;
31
- display: block;
32
- z-index: 100;
33
- }
34
- .ad-gallery .ad-image-wrapper .ad-prev {
35
- position: absolute;
36
- left: 0;
37
- top: 0px;
38
- width: 25%;
39
- height: 95%;
40
- cursor: pointer;
41
- display: block;
42
- z-index: 150;
43
- }
44
- .ad-gallery .ad-image-wrapper .ad-prev, .ad-gallery .ad-image-wrapper .ad-next {
45
- /* Or else IE will hide it */
46
- background: url(non-existing.jpg)\9
47
- }
48
- .ad-gallery .ad-image-wrapper .ad-prev .ad-prev-image, .ad-gallery .ad-image-wrapper .ad-next .ad-next-image {
49
- background: url(ad_prev.png);
50
- width: 30px;
51
- height: 30px;
52
- display: none;
53
- position: absolute;
54
- /*top: 47%;*/
55
- top:80px;
56
- left: 0;
57
- z-index: 101;
58
- }
59
- .ad-gallery .ad-image-wrapper .ad-next .ad-next-image {
60
- background: url(ad_next.png);
61
- width: 30px;
62
- height: 30px;
63
- right: 0;
64
- left: auto;
65
- }
66
- .ad-gallery .ad-image-wrapper .ad-image {
67
- position: absolute;
68
- overflow: hidden;
69
- top: 0;
70
- left: 0;
71
- z-index: 9;
72
- }
73
- .ad-gallery .ad-image-wrapper .ad-image a img {
74
- border: 0;
75
- }
76
- .ad-gallery .ad-image-wrapper .ad-image .ad-image-description {
77
- position: absolute;
78
- bottom: 0px;
79
- left: 0px;
80
- padding: 7px;
81
- text-align: left;
82
- width: 100%;
83
- z-index: 2;
84
- background: url(opa75.png);
85
- color: #000;
86
- }
87
- * html .ad-gallery .ad-image-wrapper .ad-image .ad-image-description {
88
- background: none;
89
- filter:progid:DXImageTransform.Microsoft.AlphaImageLoader (enabled=true, sizingMethod=scale, src='opa75.png');
90
- }
91
- .ad-gallery .ad-image-wrapper .ad-image .ad-image-description .ad-description-title {
92
- display: block;
93
- }
94
- .ad-gallery .ad-controls {
95
- height: 15px;
96
- }
97
- .ad-gallery .ad-info {
98
- float: left;
99
- }
100
- .ad-gallery .ad-slideshow-controls {
101
- float: right;
102
- }
103
- .ad-gallery .ad-slideshow-controls .ad-slideshow-start, .ad-gallery .ad-slideshow-controls .ad-slideshow-stop {
104
- padding-left: 5px;
105
- cursor: pointer;
106
- }
107
- .ad-gallery .ad-slideshow-controls .ad-slideshow-countdown {
108
- padding-left: 5px;
109
- font-size: 0.9em;
110
- }
111
- .ad-gallery .ad-slideshow-running .ad-slideshow-start {
112
- cursor: default;
113
- font-style: italic;
114
- }
115
- .ad-gallery .ad-nav {
116
- width: 100%;
117
- position: relative;
118
- }
119
- .ad-gallery .ad-forward, .ad-gallery .ad-back {
120
- position: absolute;
121
- top: 0;
122
- height: 100%;
123
- z-index: 10;
124
- }
125
- /* IE 6 doesn't like height: 100% */
126
- * html .ad-gallery .ad-forward, .ad-gallery .ad-back {
127
- height: 100px;
128
- }
129
- .ad-gallery .ad-back {
130
- cursor: pointer;
131
- left: -20px;
132
- width: 13px;
133
- display: block;
134
- background: url(ad_scroll_back.png) 0px 22px no-repeat;
135
- }
136
- .ad-gallery .ad-forward {
137
- cursor: pointer;
138
- display: block;
139
- right: -20px;
140
- width: 13px;
141
- background: url(ad_scroll_forward.png) 0px 22px no-repeat;
142
- }
143
- .ad-gallery .ad-nav .ad-thumbs {
144
- overflow: hidden;
145
- width: 100%;
146
- }
147
- .ad-gallery .ad-thumbs .ad-thumb-list {
148
- float: left;
149
- width: 9000px;
150
- list-style: none;
151
- }
152
- .ad-gallery .ad-thumbs li {
153
- float: left;
154
- /* padding-right: 5px;*/
155
- }
156
- .ad-gallery .ad-thumbs li a {
157
- display: block;
158
- }
159
- .ad-gallery .ad-thumbs li a img {
160
- border: 3px solid #CCC;
161
- display: block;
162
- }
163
- .ad-gallery .ad-thumbs li a.ad-active img {
164
- border: 3px solid #616161;
165
- }
166
- /* Can't do display none, since Opera won't load the images then */
167
- .ad-preloads {
168
- position: absolute;
169
- left: -9000px;
170
- top: -9000px;
171
- }
Binary file
@@ -1,30 +0,0 @@
1
- <div id="headerFront">
2
- <div class="banner_top">
3
- <div id="logo"><%= link_to(image_tag('logo.png', :alt => t('site.name')), '/'); %></div>
4
- <div class="div_login">
5
- <%= form_for User.new, :as => :user, :url => user_session_path do |f| -%>
6
- <div id="login_data">
7
- <div class="login_data_block">
8
- <span><%= f.label :email %></span>
9
- <%= f.email_field :email, :class => "input_username" %>
10
- </div>
11
- <div class="login_data_block">
12
- <span><%= f.label :password %></span>
13
- <%= f.password_field :password, :class => "input_username" %>
14
- </div>
15
- </div>
16
- <div>
17
- <%= f.submit t(:sign_in), :class => 'other_blue'%>
18
- </div>
19
- <% end -%>
20
- <div class="subtexto">
21
- <%= link_to t('sign_up'), new_user_registration_path, :class => "register_link" %>
22
- <span>|</span>
23
- <%= link_to t('forgot_password'), new_user_password_path, :class => "register_link" %>
24
-
25
- <%= render :partial => 'frontpage/social_networks' %>
26
- </div>
27
- </div>
28
- <br class="clearfloat" />
29
- </div>
30
- </div>
@@ -1,5 +0,0 @@
1
- <span>|</span>
2
- <%= link_to image_tag('btn/facebook.png'), user_omniauth_authorize_path(:facebook), :class => "menu_icon" %>
3
-
4
- <%= link_to image_tag('btn/linkedin.png'), user_omniauth_authorize_path(:linked_in), :class => "menu_icon" %>
5
-
@@ -1,11 +0,0 @@
1
- <nav id="toolbar">
2
- <div id="toolbarContent" class="block">
3
- <div class="space_center"></div>
4
- <%= yield :toolbar %>
5
- </div>
6
- </nav>
7
- <div id= "center_body" class="frontpage_view">
8
- <section id="content">
9
- <%= render :partial => 'show' %>
10
- </section>
11
- </div>