social_stream-base 0.9.14 → 0.9.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/app/assets/javascripts/activities.js.erb +0 -2
- data/app/assets/javascripts/search.js.erb +0 -4
- data/app/assets/stylesheets/_colors.scss +22 -0
- data/app/assets/stylesheets/{activities.css → activities.css.scss} +20 -23
- data/app/assets/stylesheets/{base.css → base.css.scss} +43 -35
- data/app/assets/stylesheets/{contacts.css → contacts.css.scss} +5 -3
- data/app/assets/stylesheets/footer.css.scss +22 -0
- data/app/assets/stylesheets/{frontpage.css → frontpage.css.scss} +7 -13
- data/app/assets/stylesheets/{header.css → header.css.scss} +23 -20
- data/app/assets/stylesheets/search.css +15 -17
- data/app/assets/stylesheets/toolbar.css +7 -0
- data/app/controllers/invitations_controller.rb +2 -0
- data/app/controllers/search_controller.rb +27 -45
- data/app/helpers/contacts_helper.rb +1 -5
- data/app/helpers/search_helper.rb +4 -4
- data/app/models/actor.rb +1 -3
- data/app/views/activity_objects/_activity_object.html.erb +1 -1
- data/app/views/contacts/_link.html.erb +9 -0
- data/app/views/frontpage/_caracteristics.html.erb +23 -0
- data/app/views/frontpage/index.html.erb +3 -25
- data/app/views/groups/_index.html.erb +1 -1
- data/app/views/invitation_mailer/send_invitation.html.erb +3 -3
- data/app/views/invitation_mailer/send_invitation.text.erb +3 -2
- data/app/views/invitations/_new.html.erb +2 -2
- data/app/views/layouts/_header_dropdown_menu.html.erb +1 -1
- data/app/views/layouts/_header_dropdown_menu_sessions.html.erb +1 -1
- data/app/views/posts/_new_activity.html.erb +1 -1
- data/app/views/posts/_new_activity_fields.erb +6 -0
- data/app/views/search/_extended_search.html.erb +14 -0
- data/app/views/search/_form.html.erb +25 -13
- data/app/views/search/_header_search.html.erb +7 -13
- data/app/views/search/_index.html.erb +1 -6
- data/app/views/search/_index_frontpage.html.erb +2 -18
- data/app/views/search/index.js.erb +1 -1
- data/app/views/subjects/_subject_with_details.html.erb +1 -1
- data/app/views/toolbar/_home.html.erb +1 -1
- data/app/views/toolbar/_messages.html.erb +1 -1
- data/app/views/toolbar/_subject.html.erb +10 -0
- data/app/views/users/_index.html.erb +1 -1
- data/config/locales/en.yml +13 -22
- data/config/locales/es.yml +356 -0
- data/lib/generators/social_stream/base/templates/initializer.rb +6 -0
- data/lib/social_stream/base/version.rb +1 -1
- data/lib/social_stream/models/object.rb +7 -1
- data/lib/social_stream-base.rb +8 -0
- data/social_stream-base.gemspec +2 -0
- data/spec/controllers/invitations_controller_spec.rb +34 -0
- data/spec/dummy/config/initializers/social_stream.rb +6 -0
- data/spec/support/thinking-sphinx.rb +10 -0
- metadata +50 -28
- data/app/assets/stylesheets/footer.css +0 -26
- data/app/views/search/_focus_search.html.erb +0 -17
- data/app/views/search/_global_search.html.erb +0 -19
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: social_stream-base
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 37
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 9
|
9
|
-
-
|
10
|
-
version: 0.9.
|
9
|
+
- 15
|
10
|
+
version: 0.9.15
|
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-
|
19
|
+
date: 2011-10-06 00:00:00 +02:00
|
20
20
|
default_executable:
|
21
21
|
dependencies:
|
22
22
|
- !ruby/object:Gem::Dependency
|
@@ -324,9 +324,25 @@ dependencies:
|
|
324
324
|
type: :runtime
|
325
325
|
version_requirements: *id019
|
326
326
|
- !ruby/object:Gem::Dependency
|
327
|
-
name:
|
327
|
+
name: sass-rails
|
328
328
|
prerelease: false
|
329
329
|
requirement: &id020 !ruby/object:Gem::Requirement
|
330
|
+
none: false
|
331
|
+
requirements:
|
332
|
+
- - ~>
|
333
|
+
- !ruby/object:Gem::Version
|
334
|
+
hash: 3
|
335
|
+
segments:
|
336
|
+
- 3
|
337
|
+
- 1
|
338
|
+
- 0
|
339
|
+
version: 3.1.0
|
340
|
+
type: :runtime
|
341
|
+
version_requirements: *id020
|
342
|
+
- !ruby/object:Gem::Dependency
|
343
|
+
name: capybara
|
344
|
+
prerelease: false
|
345
|
+
requirement: &id021 !ruby/object:Gem::Requirement
|
330
346
|
none: false
|
331
347
|
requirements:
|
332
348
|
- - ~>
|
@@ -338,11 +354,11 @@ dependencies:
|
|
338
354
|
- 9
|
339
355
|
version: 0.3.9
|
340
356
|
type: :development
|
341
|
-
version_requirements: *
|
357
|
+
version_requirements: *id021
|
342
358
|
- !ruby/object:Gem::Dependency
|
343
359
|
name: sqlite3-ruby
|
344
360
|
prerelease: false
|
345
|
-
requirement: &
|
361
|
+
requirement: &id022 !ruby/object:Gem::Requirement
|
346
362
|
none: false
|
347
363
|
requirements:
|
348
364
|
- - ">="
|
@@ -352,11 +368,11 @@ dependencies:
|
|
352
368
|
- 0
|
353
369
|
version: "0"
|
354
370
|
type: :development
|
355
|
-
version_requirements: *
|
371
|
+
version_requirements: *id022
|
356
372
|
- !ruby/object:Gem::Dependency
|
357
373
|
name: ruby-debug
|
358
374
|
prerelease: false
|
359
|
-
requirement: &
|
375
|
+
requirement: &id023 !ruby/object:Gem::Requirement
|
360
376
|
none: false
|
361
377
|
requirements:
|
362
378
|
- - ">="
|
@@ -366,11 +382,11 @@ dependencies:
|
|
366
382
|
- 0
|
367
383
|
version: "0"
|
368
384
|
type: :development
|
369
|
-
version_requirements: *
|
385
|
+
version_requirements: *id023
|
370
386
|
- !ruby/object:Gem::Dependency
|
371
387
|
name: rspec-rails
|
372
388
|
prerelease: false
|
373
|
-
requirement: &
|
389
|
+
requirement: &id024 !ruby/object:Gem::Requirement
|
374
390
|
none: false
|
375
391
|
requirements:
|
376
392
|
- - ~>
|
@@ -382,11 +398,11 @@ dependencies:
|
|
382
398
|
- 1
|
383
399
|
version: 2.6.1
|
384
400
|
type: :development
|
385
|
-
version_requirements: *
|
401
|
+
version_requirements: *id024
|
386
402
|
- !ruby/object:Gem::Dependency
|
387
403
|
name: factory_girl
|
388
404
|
prerelease: false
|
389
|
-
requirement: &
|
405
|
+
requirement: &id025 !ruby/object:Gem::Requirement
|
390
406
|
none: false
|
391
407
|
requirements:
|
392
408
|
- - ~>
|
@@ -398,11 +414,11 @@ dependencies:
|
|
398
414
|
- 2
|
399
415
|
version: 1.3.2
|
400
416
|
type: :development
|
401
|
-
version_requirements: *
|
417
|
+
version_requirements: *id025
|
402
418
|
- !ruby/object:Gem::Dependency
|
403
419
|
name: forgery
|
404
420
|
prerelease: false
|
405
|
-
requirement: &
|
421
|
+
requirement: &id026 !ruby/object:Gem::Requirement
|
406
422
|
none: false
|
407
423
|
requirements:
|
408
424
|
- - ~>
|
@@ -414,11 +430,11 @@ dependencies:
|
|
414
430
|
- 2
|
415
431
|
version: 0.4.2
|
416
432
|
type: :development
|
417
|
-
version_requirements: *
|
433
|
+
version_requirements: *id026
|
418
434
|
- !ruby/object:Gem::Dependency
|
419
435
|
name: ci_reporter
|
420
436
|
prerelease: false
|
421
|
-
requirement: &
|
437
|
+
requirement: &id027 !ruby/object:Gem::Requirement
|
422
438
|
none: false
|
423
439
|
requirements:
|
424
440
|
- - ~>
|
@@ -430,11 +446,11 @@ dependencies:
|
|
430
446
|
- 4
|
431
447
|
version: 1.6.4
|
432
448
|
type: :development
|
433
|
-
version_requirements: *
|
449
|
+
version_requirements: *id027
|
434
450
|
- !ruby/object:Gem::Dependency
|
435
451
|
name: nifty-generators
|
436
452
|
prerelease: false
|
437
|
-
requirement: &
|
453
|
+
requirement: &id028 !ruby/object:Gem::Requirement
|
438
454
|
none: false
|
439
455
|
requirements:
|
440
456
|
- - ~>
|
@@ -446,7 +462,7 @@ dependencies:
|
|
446
462
|
- 5
|
447
463
|
version: 0.4.5
|
448
464
|
type: :development
|
449
|
-
version_requirements: *
|
465
|
+
version_requirements: *id028
|
450
466
|
description: |-
|
451
467
|
Social Stream is a Ruby on Rails engine providing your application with social networking features and activity streams.
|
452
468
|
|
@@ -630,14 +646,15 @@ files:
|
|
630
646
|
- app/assets/javascripts/toolbar.js
|
631
647
|
- app/assets/javascripts/users.js
|
632
648
|
- app/assets/stylesheets/0_devise_sign.css
|
633
|
-
- app/assets/stylesheets/
|
634
|
-
- app/assets/stylesheets/
|
635
|
-
- app/assets/stylesheets/
|
649
|
+
- app/assets/stylesheets/_colors.scss
|
650
|
+
- app/assets/stylesheets/activities.css.scss
|
651
|
+
- app/assets/stylesheets/base.css.scss
|
652
|
+
- app/assets/stylesheets/contacts.css.scss
|
636
653
|
- app/assets/stylesheets/conversations.css
|
637
|
-
- app/assets/stylesheets/footer.css
|
638
|
-
- app/assets/stylesheets/frontpage.css
|
654
|
+
- app/assets/stylesheets/footer.css.scss
|
655
|
+
- app/assets/stylesheets/frontpage.css.scss
|
639
656
|
- app/assets/stylesheets/groups.css
|
640
|
-
- app/assets/stylesheets/header.css
|
657
|
+
- app/assets/stylesheets/header.css.scss
|
641
658
|
- app/assets/stylesheets/home.css
|
642
659
|
- app/assets/stylesheets/images/add-policy.png
|
643
660
|
- app/assets/stylesheets/images/fcbkcomplete/close.gif
|
@@ -749,6 +766,7 @@ files:
|
|
749
766
|
- app/views/contacts/_contact.html.erb
|
750
767
|
- app/views/contacts/_form.html.erb
|
751
768
|
- app/views/contacts/_index.html.erb
|
769
|
+
- app/views/contacts/_link.html.erb
|
752
770
|
- app/views/contacts/_pendings.html.erb
|
753
771
|
- app/views/contacts/_suggestions.html.erb
|
754
772
|
- app/views/contacts/_suggestions_and_pendings.html.erb
|
@@ -775,6 +793,7 @@ files:
|
|
775
793
|
- app/views/devise/registrations/new.html.erb
|
776
794
|
- app/views/devise/sessions/new.html.erb
|
777
795
|
- app/views/devise/shared/_links.erb
|
796
|
+
- app/views/frontpage/_caracteristics.html.erb
|
778
797
|
- app/views/frontpage/_header.html.erb
|
779
798
|
- app/views/frontpage/_sponsor.html.erb
|
780
799
|
- app/views/frontpage/host_meta.xml.builder
|
@@ -866,9 +885,8 @@ files:
|
|
866
885
|
- app/views/relation/customs/create.js.erb
|
867
886
|
- app/views/relation/customs/index.html.erb
|
868
887
|
- app/views/relation/customs/update.js.erb
|
869
|
-
- app/views/search/
|
888
|
+
- app/views/search/_extended_search.html.erb
|
870
889
|
- app/views/search/_form.html.erb
|
871
|
-
- app/views/search/_global_search.html.erb
|
872
890
|
- app/views/search/_header_search.html.erb
|
873
891
|
- app/views/search/_index.html.erb
|
874
892
|
- app/views/search/_index_frontpage.html.erb
|
@@ -889,6 +907,7 @@ files:
|
|
889
907
|
- app/views/toolbar/_logo.html.erb
|
890
908
|
- app/views/toolbar/_messages.html.erb
|
891
909
|
- app/views/toolbar/_profile.html.erb
|
910
|
+
- app/views/toolbar/_subject.html.erb
|
892
911
|
- app/views/users/_groups.html.erb
|
893
912
|
- app/views/users/_index.html.erb
|
894
913
|
- app/views/users/_sidebar_index.html.erb
|
@@ -901,6 +920,7 @@ files:
|
|
901
920
|
- app/views/users/show.js.erb
|
902
921
|
- app/views/users/show.xml.builder
|
903
922
|
- config/locales/en.yml
|
923
|
+
- config/locales/es.yml
|
904
924
|
- config/routes.rb
|
905
925
|
- db/migrate/20110610112023_create_social_stream.rb
|
906
926
|
- db/migrate/20110705103202_empty_ties_count.rb
|
@@ -940,6 +960,7 @@ files:
|
|
940
960
|
- spec/controllers/frontpage_controller_spec.rb
|
941
961
|
- spec/controllers/groups_controller_spec.rb
|
942
962
|
- spec/controllers/home_controller_spec.rb
|
963
|
+
- spec/controllers/invitations_controller_spec.rb
|
943
964
|
- spec/controllers/likes_controller_spec.rb
|
944
965
|
- spec/controllers/notifications_controller_spec.rb
|
945
966
|
- spec/controllers/permissions_controller_spec.rb
|
@@ -1011,6 +1032,7 @@ files:
|
|
1011
1032
|
- spec/support/db.rb
|
1012
1033
|
- spec/support/devise.rb
|
1013
1034
|
- spec/support/mock.rb
|
1035
|
+
- spec/support/thinking-sphinx.rb
|
1014
1036
|
- vendor/assets/javascripts/ajax.paginate.js
|
1015
1037
|
- vendor/assets/javascripts/chosen.jquery.js
|
1016
1038
|
- vendor/assets/javascripts/d3.geom.js
|
@@ -1,26 +0,0 @@
|
|
1
|
-
#sponsor-wrapper{ text-align:right; vertical-align:middle;}
|
2
|
-
#sponsor{width:960px;margin:0 auto;color:#666; }
|
3
|
-
|
4
|
-
#footer{width: 960px;margin-left: auto;margin-right: auto;padding: 0;position: relative; text-align:center;
|
5
|
-
clear:left;font-size:0.9166em;line-height:1.6363;color:#666;padding:0.75em 0;}
|
6
|
-
#footer ul, #sponsor ul{list-style-type:none;margin:0 0.5em; }
|
7
|
-
#footer ul li,#sponsor ul li{display:inline-block;margin-right:0.25em;position:relative;}
|
8
|
-
#footer ul li#trade_mark,#sponsor ul li#trademark{font-weight:bold;color:#111;}
|
9
|
-
#footer ul li#trade_mark_logo{font-weight:normal;}
|
10
|
-
#footer a, #sponsor a{color:#666;}
|
11
|
-
#footer a:hover, #sponsor a:hover{color:#444; text-decoration: underline;}
|
12
|
-
#footer .icon,#global .icon{margin-bottom:-4px;}
|
13
|
-
#footer-wrapper{background-color:#e1eef5;}
|
14
|
-
#footer_right{font-weight:normal;}
|
15
|
-
#footer_right{ font-size: 10px; line-height: 1.1em;}
|
16
|
-
|
17
|
-
|
18
|
-
#footerFront { width: 100%; padding: 0; background: #E1EEF5;}
|
19
|
-
.banner_footer { width: 960px; margin-left: auto; margin-right: auto; padding: 0; position: relative;}
|
20
|
-
.banner_footer #footer_content { text-align: center; color: #ccc;}
|
21
|
-
.banner_footer { width: 960px; color: #0656a4; margin-left: auto; margin-right: auto; padding-top: 2px;
|
22
|
-
position: relative;}
|
23
|
-
.banner_footer .a_border { border-right: thin solid; color: #0656a4; padding: 0px 7px; text-decoration: underline;}
|
24
|
-
.banner_footer a { color: #0656a4; padding: 0px 7px; text-decoration: underline;}
|
25
|
-
|
26
|
-
.rowfooter{float:right;}
|
@@ -1,17 +0,0 @@
|
|
1
|
-
<div class="title">
|
2
|
-
<%= @search_class_sym.to_s.capitalize.pluralize %>
|
3
|
-
</div>
|
4
|
-
<br class="clearfloat" />
|
5
|
-
<% if @search_result.empty? %>
|
6
|
-
<div class="subject_with_details">
|
7
|
-
<%= I18n.t('search.no_subject_found', :subject => @search_class_sym.to_s) %>
|
8
|
-
</div>
|
9
|
-
<% else %>
|
10
|
-
<% total = 0 %>
|
11
|
-
<% @search_result.each do |subject|%>
|
12
|
-
<div class="subject_search_results block left">
|
13
|
-
<%= subject_with_details subject %>
|
14
|
-
</div>
|
15
|
-
<% end %>
|
16
|
-
<%= paginate @search_result %>
|
17
|
-
<% end %>
|
@@ -1,19 +0,0 @@
|
|
1
|
-
<% SocialStream.subjects.each do |subject_type| %>
|
2
|
-
<div class="subject_search_results block <%= cycle "left", "right" %>">
|
3
|
-
<div class="title">
|
4
|
-
<%= subject_type.to_s.capitalize.pluralize %>
|
5
|
-
</div>
|
6
|
-
<% if @search_result[subject_type].empty? %>
|
7
|
-
<div class="subject_with_details">
|
8
|
-
<%= I18n.t('search.no_subject_found', :subject => subject_type.to_s) %>
|
9
|
-
</div>
|
10
|
-
<% else %>
|
11
|
-
<% @search_result[subject_type].each do |subject|%>
|
12
|
-
<%= subject_with_details subject %>
|
13
|
-
<% end %>
|
14
|
-
<div class="subject_with_details">
|
15
|
-
<%= focus_search_link(I18n.t('search.all_subject_results', :subject => subject_type.to_s.pluralize, :count => @search_result[(subject_type.to_s+"_total").to_sym].to_s),subject_type.to_s,params[:search_query]) %>
|
16
|
-
</div>
|
17
|
-
<% end %>
|
18
|
-
</div>
|
19
|
-
<% end %>
|