social_stream 2.0.1 → 2.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (77) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +1 -0
  3. data/base/app/assets/javascripts/social_stream/contact.js +1 -3
  4. data/base/app/assets/stylesheets/social_stream-base.css.sass +9 -0
  5. data/base/app/assets/stylesheets/social_stream/base/adjust/_adjust.css.sass +1 -1
  6. data/base/app/assets/stylesheets/social_stream/base/contacts/layouts/_contacts.css.sass +11 -7
  7. data/base/app/assets/stylesheets/social_stream/base/contacts/responsive/_responsive-1200px-min.css.sass +1 -1
  8. data/base/app/assets/stylesheets/social_stream/base/explore/_explore-search.css.sass +2 -2
  9. data/base/app/assets/stylesheets/social_stream/base/explore/_explore-timeline.css.sass +1 -2
  10. data/base/app/assets/stylesheets/social_stream/base/frontpage_devise/_frontpage.css.sass +1 -1
  11. data/base/app/assets/stylesheets/social_stream/base/layouts/_layout.css.sass +1 -0
  12. data/base/app/assets/stylesheets/social_stream/base/mixins/_buttons.css.sass +38 -38
  13. data/base/app/assets/stylesheets/social_stream/base/modals/_modals.css.sass +17 -0
  14. data/base/app/assets/stylesheets/social_stream/base/modals/layout/_modals.css.sass +35 -0
  15. data/base/app/assets/stylesheets/social_stream/base/modals/responsive/_responsive-1200px-min.css.sass +5 -0
  16. data/base/app/assets/stylesheets/social_stream/base/modals/responsive/_responsive-767px-max.css.sass +10 -0
  17. data/base/app/assets/stylesheets/social_stream/base/modals/responsive/_responsive-768px-979px.css.sass +6 -0
  18. data/base/app/assets/stylesheets/social_stream/base/profile/_profile.css.sass +7 -5
  19. data/base/app/assets/stylesheets/social_stream/base/responsive/_responsive-1200px-min.css.sass +1 -11
  20. data/base/app/assets/stylesheets/social_stream/base/responsive/_responsive-767px-max.css.sass +2 -1
  21. data/base/app/assets/stylesheets/social_stream/base/responsive/_responsive-768px-979px.css.sass +1 -1
  22. data/base/app/assets/stylesheets/social_stream/base/search/_header.css.sass +3 -3
  23. data/base/app/assets/stylesheets/social_stream/base/select2/layout/_sselect2.css.sass +1 -1
  24. data/base/app/assets/stylesheets/social_stream/base/sidebar/_sidebar.css.sass +0 -1
  25. data/base/app/assets/stylesheets/social_stream/base/sidebar/layout/_sidebar.css.sass +2 -2
  26. data/base/app/assets/stylesheets/social_stream/base/sidebar/responsive/_responsive-1200px-min.css.sass +1 -1
  27. data/base/app/assets/stylesheets/social_stream/base/timeline/layout/_wrapper_activities.css.sass +2 -2
  28. data/base/app/assets/stylesheets/social_stream/base/toolbar/_toolbar.css.sass +2 -2
  29. data/base/app/assets/stylesheets/social_stream/bootstrap-rewrite/_modal.scss +1 -1
  30. data/base/app/assets/stylesheets/social_stream/bootstrap-rewrite/_variables.scss +12 -0
  31. data/base/app/assets/stylesheets/social_stream/fonts/fonts.css +8 -9
  32. data/base/app/assets/stylesheets/social_stream/fonts/{JosefinSlabOverlay.ttf → josefinSlab/JosefinSlabOverlay.ttf} +0 -0
  33. data/base/app/assets/stylesheets/social_stream/fonts/{JosefinSlabRegular-Outline.ttf → josefinSlab/JosefinSlabRegular-Outline.ttf} +0 -0
  34. data/base/app/assets/stylesheets/social_stream/fonts/{JosefinSlabRegular.ttf → josefinSlab/JosefinSlabRegular.ttf} +0 -0
  35. data/base/app/assets/stylesheets/social_stream/fonts/{OpenSans-Light.ttf → opensans/OpenSans-Light.ttf} +0 -0
  36. data/base/app/assets/stylesheets/social_stream/fonts/{opensans-regular-webfont.eot → opensans/opensans-regular-webfont.eot} +0 -0
  37. data/base/app/assets/stylesheets/social_stream/fonts/opensans/opensans-regular-webfont.svg +587 -0
  38. data/base/app/assets/stylesheets/social_stream/fonts/{opensans-regular-webfont.woff → opensans/opensans-regular-webfont.woff} +0 -0
  39. data/base/app/assets/stylesheets/social_stream/fonts/{opensans-regular.ttf → opensans/opensans-regular.ttf} +0 -0
  40. data/base/app/views/groups/_form.html.erb +8 -5
  41. data/base/app/views/home/index.html.erb +1 -1
  42. data/base/app/views/profiles/_avatar.html.erb +6 -6
  43. data/base/app/views/repositories/show.html.erb +0 -3
  44. data/base/config/locales/en.yml +1 -1
  45. data/base/lib/generators/social_stream/base/templates/initializer.rb +27 -19
  46. data/base/lib/social_stream/base/version.rb +1 -1
  47. data/contacts/_contacts.css.sass +64 -0
  48. data/contacts/layouts/_contacts.css.sass +177 -0
  49. data/contacts/responsive/_responsive-1200px-min.css.sass +29 -0
  50. data/contacts/responsive/_responsive-767px-max.css.sass +88 -0
  51. data/contacts/responsive/_responsive-768px-979px.css.sass +14 -0
  52. data/documents/app/assets/stylesheets/social_stream/documents/create/layout/_new.css.sass +7 -35
  53. data/documents/app/assets/stylesheets/social_stream/documents/documents/_documents.css.sass +6 -7
  54. data/documents/app/assets/stylesheets/social_stream/documents/documents/layout/_documents.css.sass +17 -3
  55. data/documents/app/assets/stylesheets/social_stream/documents/explore/layout/_explore-documents.css.sass +2 -1
  56. data/documents/app/assets/stylesheets/social_stream/documents/timeline/_audios.css.sass +4 -3
  57. data/documents/app/overrides/repositories/_filter/add_new_document_button.html.erb.deface +4 -0
  58. data/documents/app/views/common_documents/_index.html.erb +21 -17
  59. data/documents/app/views/documents/index.html.erb +0 -1
  60. data/documents/app/views/documents/new.html.erb +5 -3
  61. data/documents/lib/social_stream/documents/version.rb +1 -1
  62. data/documents/social_stream-documents.gemspec +1 -1
  63. data/events/app/assets/stylesheets/social_stream/events/responsive/_responsive-1200px-min.css.sass +1 -3
  64. data/events/app/views/rooms/_index.html.erb +9 -2
  65. data/events/lib/social_stream/events/version.rb +1 -1
  66. data/events/social_stream-events.gemspec +1 -1
  67. data/lib/social_stream/version.rb +1 -1
  68. data/oauth2_server/app/views/site/clients/_form.html.erb +1 -1
  69. data/oauth2_server/app/views/site/clients/show.html.erb +47 -45
  70. data/oauth2_server/lib/social_stream/oauth2_server/version.rb +1 -1
  71. data/oauth2_server/social_stream-oauth2_server.gemspec +1 -1
  72. data/presence/ejabberd/ejabberd_scripts/authentication_script +9 -11
  73. data/presence/lib/social_stream/presence/version.rb +1 -1
  74. data/presence/social_stream-presence.gemspec +1 -1
  75. data/social_stream.gemspec +5 -5
  76. metadata +31 -20
  77. data/base/app/assets/stylesheets/social_stream/fonts/opensans-regular-webfont.svg +0 -244
@@ -11,19 +11,22 @@
11
11
  </ul>
12
12
  </div>
13
13
  <% end %>
14
-
14
+ <section>
15
15
  <%= f.label :name, t('group.new.name') %>
16
16
  <%= f.text_field :name %>
17
-
17
+ </section>
18
+ <section>
18
19
  <%= f.label :_participants, t('group.new.participants') %>
19
20
  <%= f.hidden_field :_participants, 'data-path' => contacts_path(format: :json) %>
20
-
21
+ </section>
22
+ <section>
21
23
  <%= f.label :tags_list, t('group.tags')%>
22
24
  <%= f.text_field :tag_list, 'data-path' => tags_path(format: :json) %>
23
-
25
+ </section>
26
+ <section>
24
27
  <%= f.label :description %>
25
28
  <%= f.text_area :description %>
26
-
29
+ </section>
27
30
  <%= f.submit :class => "btn" %>
28
31
  <% end %>
29
32
 
@@ -6,4 +6,4 @@
6
6
  owner: current_subject } %>
7
7
 
8
8
  <%= render partial: 'sidebar/show' %>
9
- </secion>
9
+ </section>
@@ -1,11 +1,11 @@
1
1
  <section class="avatar">
2
- <header>
3
- <%= render partial: 'edit_icon' %>
4
- <h4>
5
- <%= t('avatar.profile_change') %>
6
- </h4>
7
- </header>
8
2
  <% if can? :update, @profile %>
3
+ <header>
4
+ <%= render partial: 'edit_icon' %>
5
+ <h4>
6
+ <%= t('avatar.profile_change') %>
7
+ </h4>
8
+ </header>
9
9
  <div class="update">
10
10
  <%= render partial: 'avatars/form',
11
11
  object: @profile.actor,
@@ -11,9 +11,6 @@
11
11
 
12
12
  <%= render partial: 'filter' %>
13
13
 
14
- <%= render partial: 'common_documents/new_button',
15
- locals: { owner: profile_or_current_subject } %>
16
-
17
14
  <section class="repository">
18
15
  <%= render partial: 'layouts/loading' %>
19
16
 
@@ -438,7 +438,7 @@ en:
438
438
  confirm_delete: Delete post?
439
439
  form:
440
440
  title: Post
441
- input: Share you thoughts here!
441
+ input: Share your thoughts here!
442
442
  name: post
443
443
  one: a post
444
444
  other: posts
@@ -1,4 +1,6 @@
1
1
  SocialStream.setup do |config|
2
+ ## Subjects
3
+
2
4
  # List the models that are social entities. These will have ties between them.
3
5
  # Remember you must add an "actor_id" foreign key column to your migration!
4
6
  #
@@ -10,17 +12,7 @@ SocialStream.setup do |config|
10
12
  # config.devise_modules = :database_authenticatable, :registerable,
11
13
  # :recoverable, :rememberable, :trackable,
12
14
  # :omniauthable, :token_authenticatable
13
-
14
- # Type of activities managed by actors
15
- # Remember you must add an "activity_object_id" foreign key column to your migration!
16
- #
17
- # config.objects += [ :foo, :bar ]
18
-
19
- # Form for activity objects to be loaded
20
- # You can write your own activity objects
21
- #
22
- # config.activity_forms = [ :post, :document, :foo, :bar ]
23
-
15
+
24
16
  # Config the relation model of your network
25
17
  #
26
18
  # :custom - users define their own relation types, and post with privacy, like Google+
@@ -31,20 +23,36 @@ SocialStream.setup do |config|
31
23
  # Configure the type of actors that are suggested in the sidebar
32
24
  #
33
25
  # config.suggested_models = [ :user, :group ]
34
-
35
- # Configure the models that will appear in the repository tab
26
+
27
+ ## Objects
28
+
29
+ # Activities objects managed by actors
30
+ # Remember you must add an "activity_object_id" foreign key column to your migration!
36
31
  #
37
- # config.repository_models = [ :document, :event, :link, :place ]
32
+ # config.objects += [ :foo, :bar ]
38
33
 
39
- # Expose resque interface to manage background tasks at /resque
34
+ # Activity objects included in the wall input form
35
+ # You can write your own view in app/views/your_objects/_new_activity.html.erb
40
36
  #
41
- # config.resque_access = true
37
+ # config.activity_forms = [ :post, :document, :foo, :bar ]
38
+
39
+ # Objects that appear in the repository tab
40
+ #
41
+ # You must create a vew in app/views/your_objects/_your_object.hmtl.erb
42
+ #
43
+ # config.repository_models = [ :document, :event, :link, :place ]
42
44
 
43
45
  # Quick search (header) and Extended search models and its order. Remember to create
44
- # the indexes with thinking-sphinx if you are using customized models.
46
+ # the indexes with thinking-sphinx and the views at
47
+ # app/views/my_objects/_quick_search_result.html.erb and
48
+ # app/views/my_objects/_search_result.html.erb
49
+ #
50
+ # config.quick_search_models += [:foo, :bar]
51
+ # config.extended_search_models += [:foo, :bar]
52
+
53
+ # Expose resque interface to manage background tasks at /resque
45
54
  #
46
- # config.quick_search_models = [:user, :group]
47
- # config.extended_search_models = [:user, :group]
55
+ # config.resque_access = true
48
56
 
49
57
  # Cleditor controls. It is used in new message editor, for example
50
58
  # config.cleditor_controls = "bold italic underline strikethrough subscript superscript | size style | bullets | image link unlink"
@@ -1,5 +1,5 @@
1
1
  module SocialStream
2
2
  module Base
3
- VERSION = "2.0.1".freeze
3
+ VERSION = "2.0.2".freeze
4
4
  end
5
5
  end
@@ -0,0 +1,64 @@
1
+ #contacts
2
+ .contacts
3
+ .new_group-modal-link
4
+ @include btn-primary
5
+ @include border-radius(5px)
6
+ .add
7
+ @include btn-add
8
+
9
+
10
+ .tab-content
11
+ .add-goup
12
+ float: right
13
+ .contact-list
14
+ .contact
15
+ .x
16
+ font-size: 12px
17
+ color: $black
18
+
19
+
20
+ #contact-form
21
+ .name_text_area
22
+ font-size: 16px
23
+
24
+
25
+
26
+
27
+ /////////////////////////////////////// PRIVACITY - roles
28
+ /////////////
29
+
30
+
31
+ #relation_customs
32
+ h2
33
+ @include colorfont-big-size
34
+
35
+ #relation_customs,
36
+ .relation_list
37
+ border-right: 1px solid #c4c4c4
38
+
39
+
40
+ #new_relation
41
+ .new_relation_custom
42
+ .btn
43
+
44
+
45
+
46
+ #permissions
47
+ h4
48
+ text-align: left
49
+
50
+ .postit
51
+ font-size: 16px
52
+ font-family: "Giveyouglory"
53
+ background-image: url(nota.png)
54
+
55
+
56
+ .rotate
57
+ @include rotate(-3deg)
58
+
59
+
60
+ .privacity-rules
61
+ border-top: 1px solid $grayLighter
62
+ p
63
+ word-wrap: break-word
64
+
@@ -0,0 +1,177 @@
1
+ input#group_name
2
+ margin-left: 0px
3
+ width: 93% !important
4
+
5
+ #contacts
6
+ @include grid-core-span(12, $fluidGridColumnWidth, $fluidGridGutterWidth)
7
+
8
+ .contacts
9
+ @include grid-core-span(10, $fluidGridColumnWidth, $fluidGridGutterWidth)
10
+ float: left
11
+ margin-left: 2%
12
+ .btn-group
13
+ max-width: 400px
14
+ .btn
15
+ .caret
16
+ margin-left: 6px
17
+
18
+ .contact-filter
19
+ margin-left: 0px
20
+ width: 22% !important
21
+ float: left
22
+ margin-botom: 0 !important
23
+ .new_group-modal-link
24
+ float: right
25
+
26
+ .tab-content
27
+ .contact-list
28
+ clear: both
29
+ min-height: 500px
30
+ padding-bottom: 50px
31
+
32
+ .contact
33
+ width: 240px
34
+ float: left
35
+ margin-left: 19px
36
+ min-height: 76px
37
+ margin-bottom: 14px
38
+
39
+ .avatar
40
+ float: left
41
+ margin-left: 0px
42
+ width: 50px
43
+ display: inline
44
+ margin-top: 10px
45
+ img
46
+ width: 45px
47
+ vertical-align: top
48
+
49
+ .data
50
+ float: left
51
+ margin-left: 0px
52
+ width: 175px
53
+ display: inline-block
54
+ margin-top: 11px
55
+ .info
56
+ @include ellipsis
57
+ z-index: 1
58
+ padding-left: 2%
59
+
60
+ .add
61
+ z-index: 1
62
+ float: left
63
+ .edit_contact
64
+ margin-bottom: 0px
65
+ .dropdown-toggle
66
+ margin-left: 0
67
+ widht: 100%
68
+ .x
69
+ display: inline-block
70
+ float: right
71
+ margin-top: -40px
72
+
73
+
74
+
75
+ #contact-form
76
+ ul
77
+ @include makeColumnoMargin(3, 0)
78
+ input
79
+ &[type="check"]
80
+ display: inline
81
+ label
82
+ display: inline-block
83
+ margin-left: 10px
84
+
85
+ .new_contact_text_area
86
+ @include makeColumn(6, 0)
87
+ @include clearfix
88
+ height: 200px
89
+ input
90
+ &[type="submit"]
91
+ float: right
92
+ margin-right: 74px
93
+
94
+
95
+
96
+ /////////////////////////////////////// PRIVACITY - roles
97
+ /////////////
98
+
99
+
100
+
101
+ .relation_customs
102
+ width: 80%
103
+ float: left
104
+ margin-left: 2.5%
105
+ .relation_list
106
+ @include makeColumn(3, 0)
107
+ padding-right: 5px
108
+ input
109
+ margin-right: 10px
110
+ label
111
+ display: inline-block
112
+
113
+ .actions
114
+ display: inline-block
115
+ float: right
116
+ margin-right: 10px
117
+
118
+ .edit_name
119
+ margin-top: -22px
120
+ .edit_relation_custom
121
+ margin-bottom: 0px
122
+ #relation_custom_name
123
+ width: 69% !important
124
+ margin-left: 23px
125
+ margin-top: -3px
126
+ .icon_tool16-ok
127
+ margin-top: -3px
128
+
129
+ .btn
130
+ margin-left: 32px
131
+
132
+ #relation_custom_name
133
+ width: 215px
134
+ height: auto
135
+ margin: 3px 0 0 0
136
+
137
+
138
+
139
+ #new_relation
140
+ a
141
+ float: right
142
+ margin-right: 10px
143
+ .new_relation_custom
144
+ .btn
145
+ @include btn-secundary
146
+ float: right
147
+ margin: 7px 0px 0 0
148
+
149
+
150
+ #new_relation_input_block
151
+ .btn
152
+ margin-left: 32px
153
+
154
+
155
+ #permissions
156
+ @include makeColumn(4, 0)
157
+ h4
158
+ text-align: left
159
+ li
160
+ margin-left: -17px
161
+ input
162
+ display: inline
163
+ label
164
+ display: inline-block
165
+
166
+ .postit
167
+ padding: 100px 0 0 30px
168
+ width: 250px
169
+ height: 157px
170
+ margin-bottom: 12px
171
+
172
+
173
+ .privacity-rules
174
+ p
175
+ padding-left: 10px
176
+ .btn
177
+ float: right
@@ -0,0 +1,29 @@
1
+ s//
2
+ // Responsive: Large desktop and up
3
+ // --------------------------------------------------
4
+
5
+
6
+ @media (min-width: 1200px)
7
+
8
+ #contacts
9
+ @include grid-core-span(12, $fluidGridColumnWidth, $fluidGridGutterWidth)
10
+ .contacts
11
+ .contact-list
12
+ clear: both
13
+ min-height: 700px
14
+ padding-bottom: 50px
15
+
16
+ #relation_customs
17
+ width: 80%
18
+ .relation_customs
19
+ h2
20
+ margin-bottom: 20px
21
+ .relation_list
22
+ .relation_custom
23
+ .actions
24
+ margin-top: 9px
25
+ #permissions
26
+ .permissions ul li
27
+ input
28
+ &[type="checkbox"]
29
+ margin: 0
@@ -0,0 +1,88 @@
1
+ //
2
+ // Responsive: Landscape phone to desktop/tablet
3
+ // --------------------------------------------------
4
+
5
+
6
+ @media (max-width: 767px)
7
+
8
+ #contacts
9
+ .contacts
10
+ width: 100% !important
11
+ margin-left: 0
12
+
13
+ #relation_customs
14
+ .relation_customs
15
+ @include grid-core-span(12, $fluidGridColumnWidth, $fluidGridGutterWidth)
16
+ @include gradient-vertical($startColor: #fff, $endColor: rgba(250, 250, 250, .01))
17
+ @include border-radius(5px)
18
+ margin-top: 20px
19
+ margin-left: 0
20
+ h2.colorfont
21
+ padding-bottom: 1px
22
+ color: #d9d9d9
23
+ margin-top: 0px
24
+ padding-top: 16px
25
+ height: 23px
26
+ span.colorfont-overlay
27
+ top: 17px !important
28
+ margin-left: 10px
29
+ color: #f1f1f1
30
+ .relation_list
31
+ padding-left: 10px !important
32
+ width: 41% !important
33
+ input
34
+ &[type="radio"]
35
+ margin-right: 0px
36
+ label
37
+ @include ellipsis
38
+ width: 50%
39
+ #permissions
40
+ .permissions ul li
41
+ label
42
+ @include ellipsis
43
+ width: 84%
44
+ // UP TO LANDSCAPE PHONE
45
+ // ---------------------
46
+
47
+ @media (max-width: 480px)
48
+
49
+ #contacts
50
+ .contacts
51
+ width: 100% !important
52
+ margin-left: 0
53
+ input
54
+ &[type="text"]
55
+ width: 94% !important
56
+ .contact
57
+ width: 96% !important
58
+ margin-left: 0 !important
59
+ .avatar
60
+ padding-right: 0px
61
+ width: 30% !important
62
+ img
63
+ width: 84% !important
64
+ .data
65
+ width: 64% !important
66
+ margin-left: 0 !important
67
+ .name
68
+ font-size: 140%
69
+ margin-top: 7px
70
+ .info
71
+ font-size: 11px
72
+ color: #ccc
73
+ z-index: 1
74
+ font-size: 100%
75
+ padding-left: 9px
76
+ margin-bottom: 9px
77
+ .add
78
+ margin-top: 2px
79
+ .x
80
+ margin-top: -45px
81
+ font-size: 18px
82
+ #relation_customs
83
+ .relation_list
84
+ padding-left: 10px !important
85
+ .edit_name
86
+ .edit_relation_custom
87
+ #relation_custom_name
88
+ width: 54% !important