social_stream 0.15.8 → 0.16.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (78) hide show
  1. data/README.rdoc +1 -1
  2. data/base/app/models/user.rb +1 -1
  3. data/base/app/views/devise/registrations/_edit_user.html.erb +26 -0
  4. data/base/app/views/devise/registrations/edit.html.erb +2 -1
  5. data/base/app/views/posts/_post_focus_search.html.erb +2 -2
  6. data/base/app/views/posts/_post_global_search.html.erb +2 -2
  7. data/base/config/locales/en.yml +4 -0
  8. data/base/db/migrate/20111221103509_add_language_field.rb +13 -0
  9. data/base/lib/social_stream/base/version.rb +1 -1
  10. data/documents/lib/social_stream/documents/version.rb +1 -1
  11. data/documents/social_stream-documents.gemspec +2 -2
  12. data/events/app/assets/javascripts/0_init.js +4 -0
  13. data/events/app/assets/javascripts/events.js.coffee +66 -0
  14. data/events/app/assets/stylesheets/events.css.scss +37 -0
  15. data/events/app/controllers/events_controller.rb +40 -0
  16. data/events/app/controllers/rooms_controller.rb +7 -0
  17. data/events/app/models/event.rb +53 -0
  18. data/events/app/models/room.rb +8 -0
  19. data/events/app/views/events/_event.html.erb +1 -0
  20. data/events/app/views/events/_new.html.erb +40 -0
  21. data/events/app/views/events/_sidebar_calendar.html.erb +26 -0
  22. data/events/app/views/events/create.js.erb +21 -0
  23. data/events/app/views/events/destroy.js.erb +1 -0
  24. data/events/app/views/events/index.html.erb +96 -0
  25. data/events/app/views/rooms/_form.html.erb +31 -0
  26. data/events/app/views/rooms/_index.html.erb +10 -0
  27. data/events/app/views/rooms/_settings.html.erb +23 -0
  28. data/events/app/views/rooms/create.js.erb +7 -0
  29. data/events/app/views/rooms/destroy.js.erb +1 -0
  30. data/events/config/locales/en.yml +34 -4
  31. data/events/config/locales/es.yml +34 -4
  32. data/events/config/routes.rb +1 -0
  33. data/events/db/migrate/20111101193523_create_events.rb +13 -0
  34. data/events/db/migrate/20111120104349_create_rooms.rb +26 -0
  35. data/events/db/migrate/20111204155637_add_scheduler.rb +33 -0
  36. data/events/db/migrate/20111218203314_change_scheduler.rb +11 -0
  37. data/events/lib/social_stream/events/ability.rb +13 -0
  38. data/events/lib/social_stream/events/engine.rb +17 -0
  39. data/events/lib/social_stream/events/models/actor.rb +13 -0
  40. data/events/lib/social_stream/events/version.rb +1 -1
  41. data/events/lib/social_stream/views/settings/events.rb +18 -0
  42. data/events/lib/social_stream-events.rb +15 -0
  43. data/events/social_stream-events.gemspec +6 -10
  44. data/events/vendor/assets/images/boxy-ne.png +0 -0
  45. data/events/vendor/assets/images/boxy-nw.png +0 -0
  46. data/events/vendor/assets/images/boxy-se.png +0 -0
  47. data/events/vendor/assets/images/boxy-sw.png +0 -0
  48. data/events/vendor/assets/javascripts/fullcalendar.js +12 -10
  49. data/events/vendor/assets/javascripts/gcal.js +2 -2
  50. data/events/vendor/assets/javascripts/jquery.boxy.js +570 -0
  51. data/events/vendor/assets/javascripts/sprintf.js +183 -0
  52. data/events/vendor/assets/stylesheets/boxy.css +49 -0
  53. data/events/vendor/assets/stylesheets/fullcalendar.css +7 -10
  54. data/events/vendor/assets/stylesheets/fullcalendar.print.css +4 -4
  55. data/lib/social_stream/version.rb +1 -1
  56. data/linkser/app/assets/javascripts/linkser.js.erb +7 -3
  57. data/linkser/app/models/link.rb +2 -0
  58. data/linkser/app/views/links/_link.html.erb +1 -1
  59. data/linkser/app/views/links/_link_preview.html.erb +6 -0
  60. data/linkser/db/migrate/20111219122952_add_width_height_to_link.rb +15 -0
  61. data/linkser/lib/social_stream/linkser/version.rb +1 -1
  62. data/linkser/social_stream-linkser.gemspec +1 -1
  63. data/social_stream.gemspec +4 -4
  64. metadata +61 -42
  65. data/events/db/migrate/20110910161707_create_social_stream_events.rb +0 -54
  66. data/events/db/migrate/20111102145626_add_more_fields_to_events.rb +0 -20
  67. data/events/db/migrate/20111104165944_add_more_fields_to_sessions.rb +0 -13
  68. data/events/db/migrate/20111104182420_add_details_to_events.rb +0 -18
  69. data/events/db/migrate/20111209120019_reset_events.rb +0 -18
  70. data/events/vendor/assets/javascripts/jquery.ad-gallery.js +0 -850
  71. data/events/vendor/assets/javascripts/jquery.ad-gallery.pack.js +0 -10
  72. data/events/vendor/assets/stylesheets/ad_next.png +0 -0
  73. data/events/vendor/assets/stylesheets/ad_prev.png +0 -0
  74. data/events/vendor/assets/stylesheets/ad_scroll_back.png +0 -0
  75. data/events/vendor/assets/stylesheets/ad_scroll_forward.png +0 -0
  76. data/events/vendor/assets/stylesheets/jquery.ad-gallery.css +0 -171
  77. data/events/vendor/assets/stylesheets/loader.gif +0 -0
  78. data/events/vendor/assets/stylesheets/social_stream-events.css +0 -273
@@ -1,54 +0,0 @@
1
- class CreateSocialStreamEvents < ActiveRecord::Migration
2
-
3
- def self.up
4
-
5
- create_table :events do |t|
6
- t.references :actor
7
- t.datetime :initDate
8
- t.datetime :endDate
9
- t.integer :founder_id
10
- t.timestamps
11
- end
12
-
13
- create_table :agendas do |t|
14
- t.references :activity_object
15
- t.references :event
16
- t.timestamps
17
- end
18
-
19
- create_table :sessions do |t|
20
- t.references :activity_object
21
- t.references :agenda
22
- t.datetime :initDate
23
- t.datetime :endDate
24
- t.string :title
25
- t.string :description
26
- t.timestamps
27
- end
28
-
29
-
30
- add_foreign_key "agendas", "activity_objects", :name => "agendas_on_activity_object_id"
31
- add_foreign_key "agendas", "events", :name => "agendas_on_event_id"
32
-
33
- add_foreign_key "events", "actors", :name => "events_on_actor_id"
34
-
35
- add_foreign_key "sessions", "activity_objects", :name => "sessions_on_activity_object_id"
36
- add_foreign_key "sessions", "agendas", :name => "sessions_on_agenda_id"
37
-
38
- end
39
-
40
- def self.down
41
- remove_foreign_key "agendas", :name => "agendas_on_activity_object_id"
42
- remove_foreign_key "agendas", :name => "agendas_on_event_id"
43
-
44
- remove_foreign_key "events", :name => "events_on_actor_id"
45
-
46
- remove_foreign_key "sessions", :name => "sessions_on_activity_object_id"
47
- remove_foreign_key "sessions", :name => "sessions_on_agenda_id"
48
-
49
- drop_table :sessions
50
- drop_table :agendas
51
- drop_table :events
52
- end
53
-
54
- end
@@ -1,20 +0,0 @@
1
- class AddMoreFieldsToEvents < ActiveRecord::Migration
2
- def change
3
- add_column :events, :description, :string
4
- add_column :events, :place, :string
5
- add_column :events, :isabel_event, :string
6
- add_column :events, :machine_id, :integer
7
- add_column :events, :repeat, :string
8
- add_column :events, :at_job, :integer
9
- add_column :events, :parent_id, :integer
10
- add_column :events, :character, :integer
11
- add_column :events, :public_read, :integer
12
- add_column :events, :marte_room, :integer
13
- add_column :events, :notes, :integer
14
- add_column :events, :location, :text
15
- add_column :events, :streamming_url, :text
16
- add_column :events, :permalink, :string
17
- add_column :events, :cm_event_id, :integer
18
- add_column :events, :other_participation_url, :text
19
- end
20
- end
@@ -1,13 +0,0 @@
1
- class AddMoreFieldsToSessions < ActiveRecord::Migration
2
-
3
- def change
4
- add_column :sessions, :speakers, :string
5
- add_column :sessions, :embedded_video, :text
6
- add_column :sessions, :video_thumbnail, :text
7
- add_column :sessions, :uid, :text
8
- add_column :sessions, :cm_session_id, :integer
9
- add_column :sessions, :cm_streaming, :boolean, :default => false
10
- add_column :sessions, :cm_recording, :boolean, :default => false
11
- end
12
-
13
- end
@@ -1,18 +0,0 @@
1
- class AddDetailsToEvents < ActiveRecord::Migration
2
-
3
- def change
4
- add_column :events, :marte_event, :boolean, :default => false
5
- add_column :events, :spam, :boolean, :default => false
6
- add_column :events, :vc_mode, :integer , :default => 0
7
- add_column :events, :web_interface, :string, :default => false
8
- add_column :events, :isabel_interface, :string, :default => false
9
- add_column :events, :sip_interface, :string, :default => false
10
- add_column :events, :streaming_by_default, :string, :default => true
11
- add_column :events, :manual_configuration, :string, :default => false
12
- add_column :events, :recording_type, :string, :default => 0
13
-
14
- add_column :events, :isabel_bw, :text
15
- add_column :events, :web_bw, :integer
16
- add_column :events, :recording_bw, :integer
17
- end
18
- end
@@ -1,18 +0,0 @@
1
- class ResetEvents < ActiveRecord::Migration
2
- def up
3
- remove_foreign_key "agendas", :name => "agendas_on_activity_object_id"
4
- remove_foreign_key "agendas", :name => "agendas_on_event_id"
5
-
6
- remove_foreign_key "events", :name => "events_on_actor_id"
7
-
8
- remove_foreign_key "sessions", :name => "sessions_on_activity_object_id"
9
- remove_foreign_key "sessions", :name => "sessions_on_agenda_id"
10
-
11
- drop_table :sessions
12
- drop_table :agendas
13
- drop_table :events
14
- end
15
-
16
- def down
17
- end
18
- end