social_stream 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- data/app/controllers/api_controller.rb +0 -4
- data/app/controllers/frontpage_controller.rb +5 -0
- data/app/controllers/logos_controller.rb +18 -2
- data/app/controllers/messages_controller.rb +148 -0
- data/app/controllers/pshb_controller.rb +19 -0
- data/app/controllers/subjects_controller.rb +7 -0
- data/app/controllers/ties_controller.rb +1 -4
- data/app/helpers/subjects_helper.rb +40 -4
- data/app/models/activity_verb.rb +1 -1
- data/app/models/actor.rb +12 -4
- data/app/models/logo.rb +46 -9
- data/app/models/tie.rb +21 -1
- data/app/views/activities/_activities.html.erb +34 -8
- data/app/views/devise/registrations/new.html.erb +1 -1
- data/app/views/frontpage/host_meta.xml.builder +11 -0
- data/app/views/groups/_logo.html.erb +1 -0
- data/app/views/groups/_new.html.erb +8 -5
- data/app/views/groups/_sidebar_show.html.erb +2 -1
- data/app/views/groups/edit.html.erb +4 -5
- data/app/views/groups/index.html.erb +1 -1
- data/app/views/groups/new.html.erb +1 -1
- data/app/views/groups/show.html.erb +1 -9
- data/app/views/home/index.html.erb +1 -1
- data/app/views/layouts/_header.erb +2 -3
- data/app/views/layouts/_representation.html.erb +2 -5
- data/app/views/logos/_precrop.html.erb +5 -2
- data/app/views/logos/index.html.erb +1 -1
- data/app/views/menu/_group.html.erb +1 -1
- data/app/views/menu/_optionsGroups.html.erb +11 -0
- data/app/views/menu/{_options.html.erb → _optionsUser.html.erb} +2 -2
- data/app/views/menu/_user.html.erb +1 -1
- data/app/views/messages/_conversation.html.erb +34 -0
- data/app/views/messages/_conversation_full.html.erb +65 -0
- data/app/views/messages/_conversations.html.erb +4 -0
- data/app/views/messages/_form.html.erb +86 -0
- data/app/views/{mailbox/_show.html.erb → messages/_index.html.erb} +5 -1
- data/app/views/messages/_location.html.erb +3 -0
- data/app/views/{mailbox → messages}/_menu_options.html.erb +5 -5
- data/app/views/{mailbox/conversation → messages}/_new.html.erb +6 -4
- data/app/views/messages/_show.html.erb +22 -0
- data/app/views/{mailbox → messages}/edit.html.erb +0 -0
- data/app/views/{mailbox → messages}/index.html.erb +1 -2
- data/app/views/{mailbox → messages}/index.js.erb +0 -0
- data/app/views/{mailbox/show.html.erb → messages/new.html.erb} +3 -4
- data/app/views/{mailbox/conversation → messages}/new.js.erb +0 -0
- data/app/views/messages/show.html.erb +10 -0
- data/app/views/{mailbox → messages}/show.js.erb +0 -0
- data/app/views/profiles/show.html.erb +180 -1
- data/app/views/{groups → subjects}/_tabs.html.erb +0 -0
- data/app/views/subjects/_toolbar_home.html.erb +9 -0
- data/app/views/subjects/_toolbar_home_menu.html.erb +6 -0
- data/app/views/subjects/_toolbar_home_menu_options.html.erb +28 -0
- data/app/views/subjects/_toolbar_home_menu_options_subjects.html.erb +15 -0
- data/app/views/subjects/_toolbar_logo.html.erb +4 -0
- data/app/views/subjects/_toolbar_profile.html.erb +21 -0
- data/app/views/subjects/_toolbar_profile_menu.html.erb +13 -0
- data/app/views/subjects/_toolbar_profile_menu_basic_options.html.erb +12 -0
- data/app/views/subjects/_toolbar_profile_menu_tie_options.html.erb +28 -0
- data/app/views/ties/_new.html.erb +4 -1
- data/app/views/ties/new.js.erb +9 -0
- data/app/views/users/_sidebar_show.html.erb +1 -1
- data/app/views/users/edit.html.erb +4 -5
- data/app/views/users/index.html.erb +1 -1
- data/app/views/users/show.html.erb +1 -3
- data/app/views/users/update.js.erb +1 -1
- data/config/locales/en.yml +11 -7
- data/config/routes.rb +13 -5
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/.htaccess +24 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/adapters/jquery.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/ckeditor.js +141 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/ckeditor_basic.js +8 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/ckeditor_basic_source.js +20 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/ckeditor_source.js +25 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/config.js +21 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/contents.css +45 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/images/spacer.gif +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/lang/_languages.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/lang/_translationstatus.txt +60 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/lang/af.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/lang/ar.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/lang/bg.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/lang/bn.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/lang/bs.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/lang/ca.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/lang/cs.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/lang/cy.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/lang/da.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/lang/de.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/lang/el.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/lang/en-au.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/lang/en-ca.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/lang/en-gb.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/lang/en.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/lang/eo.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/lang/es.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/lang/et.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/lang/eu.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/lang/fa.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/lang/fi.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/lang/fo.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/lang/fr-ca.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/lang/fr.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/lang/gl.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/lang/gu.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/lang/he.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/lang/hi.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/lang/hr.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/lang/hu.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/lang/is.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/lang/it.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/lang/ja.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/lang/km.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/lang/ko.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/lang/lt.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/lang/lv.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/lang/mn.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/lang/ms.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/lang/nb.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/lang/nl.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/lang/no.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/lang/pl.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/lang/pt-br.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/lang/pt.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/lang/ro.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/lang/ru.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/lang/sk.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/lang/sl.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/lang/sr-latn.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/lang/sr.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/lang/sv.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/lang/th.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/lang/tr.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/lang/uk.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/lang/vi.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/lang/zh-cn.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/lang/zh.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/a11yhelp/dialogs/a11yhelp.js +7 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/a11yhelp/lang/en.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/a11yhelp/lang/he.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/about/dialogs/about.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/about/dialogs/logo_ckeditor.png +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/adobeair/plugin.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/autogrow/plugin.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/clipboard/dialogs/paste.js +7 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/colordialog/dialogs/colordialog.js +7 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/dialog/dialogDefinition.js +4 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/div/dialogs/div.js +8 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/find/dialogs/find.js +9 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/flash/dialogs/flash.js +9 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/flash/images/placeholder.png +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/forms/dialogs/button.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/forms/dialogs/checkbox.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/forms/dialogs/form.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/forms/dialogs/hiddenfield.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/forms/dialogs/radio.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/forms/dialogs/select.js +9 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/forms/dialogs/textarea.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/forms/dialogs/textfield.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/forms/images/hiddenfield.gif +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/iframe/dialogs/iframe.js +7 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/iframe/images/placeholder.png +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/iframedialog/plugin.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/image/dialogs/image.js +13 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/link/dialogs/anchor.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/link/dialogs/link.js +11 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/link/images/anchor.gif +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/liststyle/dialogs/liststyle.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/pagebreak/images/pagebreak.gif +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/pastefromword/filter/default.js +10 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/pastetext/dialogs/pastetext.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/placeholder/dialogs/placeholder.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/placeholder/lang/en.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/placeholder/placeholder.gif +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/placeholder/plugin.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/scayt/dialogs/options.js +8 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/scayt/dialogs/toolbar.css +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/showblocks/images/block_address.png +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/showblocks/images/block_blockquote.png +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/showblocks/images/block_div.png +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/showblocks/images/block_h1.png +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/showblocks/images/block_h2.png +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/showblocks/images/block_h3.png +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/showblocks/images/block_h4.png +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/showblocks/images/block_h5.png +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/showblocks/images/block_h6.png +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/showblocks/images/block_p.png +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/showblocks/images/block_pre.png +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/smiley/dialogs/smiley.js +7 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/smiley/images/angel_smile.gif +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/smiley/images/angry_smile.gif +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/smiley/images/broken_heart.gif +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/smiley/images/confused_smile.gif +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/smiley/images/cry_smile.gif +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/smiley/images/devil_smile.gif +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/smiley/images/embaressed_smile.gif +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/smiley/images/envelope.gif +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/smiley/images/heart.gif +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/smiley/images/kiss.gif +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/smiley/images/lightbulb.gif +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/smiley/images/omg_smile.gif +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/smiley/images/regular_smile.gif +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/smiley/images/sad_smile.gif +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/smiley/images/shades_smile.gif +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/smiley/images/teeth_smile.gif +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/smiley/images/thumbs_down.gif +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/smiley/images/thumbs_up.gif +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/smiley/images/tounge_smile.gif +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/smiley/images/whatchutalkingabout_smile.gif +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/smiley/images/wink_smile.gif +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/specialchar/dialogs/specialchar.js +7 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/specialchar/lang/en.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/styles/styles/default.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/table/dialogs/table.js +9 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/tableresize/plugin.js +7 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/tabletools/dialogs/tableCell.js +8 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/templates/dialogs/templates.js +7 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/templates/templates/default.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/templates/templates/images/template1.gif +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/templates/templates/images/template2.gif +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/templates/templates/images/template3.gif +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/uicolor/dialogs/uicolor.js +7 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/uicolor/lang/en.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/uicolor/lang/he.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/uicolor/plugin.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/uicolor/uicolor.gif +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/uicolor/yui/assets/hue_bg.png +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/uicolor/yui/assets/hue_thumb.png +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/uicolor/yui/assets/picker_mask.png +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/uicolor/yui/assets/picker_thumb.png +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/uicolor/yui/assets/yui.css +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/uicolor/yui/yui.js +76 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/wsc/dialogs/ciframe.html +49 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/wsc/dialogs/tmpFrameset.html +52 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/wsc/dialogs/wsc.css +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/wsc/dialogs/wsc.js +7 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/skins/kama/dialog.css +9 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/skins/kama/editor.css +13 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/skins/kama/icons.png +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/skins/kama/icons_rtl.png +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/skins/kama/images/dialog_sides.gif +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/skins/kama/images/dialog_sides.png +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/skins/kama/images/dialog_sides_rtl.png +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/skins/kama/images/mini.gif +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/skins/kama/images/noimage.png +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/skins/kama/images/sprites.png +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/skins/kama/images/sprites_ie6.png +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/skins/kama/images/toolbar_start.gif +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/skins/kama/skin.js +7 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/skins/kama/templates.css +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/skins/office2003/dialog.css +9 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/skins/office2003/editor.css +14 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/skins/office2003/icons.png +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/skins/office2003/icons_rtl.png +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/skins/office2003/images/dialog_sides.gif +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/skins/office2003/images/dialog_sides.png +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/skins/office2003/images/dialog_sides_rtl.png +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/skins/office2003/images/mini.gif +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/skins/office2003/images/noimage.png +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/skins/office2003/images/sprites.png +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/skins/office2003/images/sprites_ie6.png +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/skins/office2003/skin.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/skins/office2003/templates.css +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/skins/v2/dialog.css +9 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/skins/v2/editor.css +13 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/skins/v2/icons.png +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/skins/v2/icons_rtl.png +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/skins/v2/images/dialog_sides.gif +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/skins/v2/images/dialog_sides.png +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/skins/v2/images/dialog_sides_rtl.png +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/skins/v2/images/mini.gif +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/skins/v2/images/noimage.png +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/skins/v2/images/sprites.png +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/skins/v2/images/sprites_ie6.png +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/skins/v2/images/toolbar_start.gif +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/skins/v2/skin.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/skins/v2/templates.css +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/themes/default/theme.js +8 -0
- data/lib/generators/social_stream/templates/public/javascripts/jquery.fcbkcomplete.min.js +1 -1
- data/lib/generators/social_stream/templates/public/javascripts/jquery.scrollTo.min.js +11 -0
- data/lib/generators/social_stream/templates/public/stylesheets/default/base.css +32 -54
- data/lib/generators/social_stream/templates/public/stylesheets/default/fcbkComplete.css +13 -5
- data/lib/generators/social_stream/templates/public/stylesheets/default/header.css +13 -5
- data/lib/generators/social_stream/templates/public/stylesheets/default/home.css +1 -1
- data/lib/generators/social_stream/templates/public/{images → stylesheets/default/images}/fcbkcomplete/close.gif +0 -0
- data/lib/generators/social_stream/templates/public/stylesheets/default/jquery-ui.css +98 -51
- data/lib/generators/social_stream/templates/public/stylesheets/default/messages.css +44 -0
- data/lib/social_stream/rails.rb +4 -0
- data/lib/social_stream/version.rb +1 -1
- data/social_stream.gemspec +1 -1
- data/spec/controllers/frontpage_controller_spec.rb +5 -0
- data/spec/controllers/subjects_controller.rb +14 -0
- data/spec/dummy/db/schema.rb +10 -1
- data/spec/support/db.rb +17 -5
- metadata +253 -38
- data/app/controllers/mailbox/conversation_controller.rb +0 -110
- data/app/controllers/mailbox_controller.rb +0 -35
- data/app/views/groups/_toolbar_show.html.erb +0 -12
- data/app/views/mailbox/_conversation.html.erb +0 -23
- data/app/views/mailbox/_conversations.html.erb +0 -9
- data/app/views/mailbox/_index.html.erb +0 -16
- data/app/views/mailbox/_location.html.erb +0 -3
- data/app/views/mailbox/conversation/_conversation.html.erb +0 -40
- data/app/views/mailbox/conversation/_form.html.erb +0 -54
- data/app/views/mailbox/conversation/_location.html.erb +0 -3
- data/app/views/mailbox/conversation/_show.html.erb +0 -27
- data/app/views/mailbox/conversation/edit.html.erb +0 -6
- data/app/views/mailbox/conversation/new.html.erb +0 -10
- data/app/views/mailbox/conversation/show.html.erb +0 -1
- data/app/views/mailbox/new.html.erb +0 -14
- data/app/views/subjects/_menu_options.html.erb +0 -14
- data/app/views/subjects/_toolbar.html.erb +0 -15
- data/app/views/users/_logo.html.erb +0 -4
- data/app/views/users/_toolbar_show.html.erb +0 -17
@@ -1,4 +1,8 @@
|
|
1
|
+
<% content_for :headers do %>
|
2
|
+
<%= stylesheet_link_tag "messages.css", :media => "screen, projection" %>
|
3
|
+
<% end %>
|
1
4
|
|
5
|
+
<%= render :partial => 'location' %>
|
2
6
|
|
3
7
|
<br class="clearfloat" />
|
4
8
|
<div class="space_center">
|
@@ -9,7 +13,7 @@
|
|
9
13
|
</div><div class="space_center">
|
10
14
|
</div>
|
11
15
|
|
12
|
-
<
|
16
|
+
<h2><%= t('message.' + @box) %></h2>
|
13
17
|
<div id="conversations">
|
14
18
|
<%= render :partial => 'conversations' %>
|
15
19
|
</div>
|
@@ -1,19 +1,19 @@
|
|
1
1
|
<li>
|
2
|
-
<%= link_to( image_tag("btn/btn_inbox.png", :class => "menu_icon")+t('
|
2
|
+
<%= link_to( image_tag("btn/btn_inbox.png", :class => "menu_icon")+t('message.other'), messages_path) %>
|
3
3
|
</li>
|
4
4
|
<li>
|
5
5
|
<ul>
|
6
6
|
<li>
|
7
|
-
<%= link_to( image_tag("btn/btn_inbox.png", :class => "menu_icon")+
|
7
|
+
<%= link_to( image_tag("btn/btn_inbox.png", :class => "menu_icon")+ t('message.new'), new_message_path) %>
|
8
8
|
</li>
|
9
9
|
<li>
|
10
|
-
<%= link_to( image_tag("btn/btn_inbox.png", :class => "menu_icon")+t('
|
10
|
+
<%= link_to( image_tag("btn/btn_inbox.png", :class => "menu_icon")+t('message.inbox')+" (" + @mailbox.inbox(:unread => true).count.to_s + ")", messages_path, :remote => true) %>
|
11
11
|
</li>
|
12
12
|
<li>
|
13
|
-
<%= link_to( image_tag("btn/btn_inbox.png", :class => "menu_icon")+t('
|
13
|
+
<%= link_to( image_tag("btn/btn_inbox.png", :class => "menu_icon")+t('message.sentbox'), messages_path(:box => :sentbox), :remote => true) %>
|
14
14
|
</li>
|
15
15
|
<li>
|
16
|
-
<%= link_to( image_tag("btn/btn_inbox.png", :class => "menu_icon")+t('
|
16
|
+
<%= link_to( image_tag("btn/btn_inbox.png", :class => "menu_icon")+t('message.trash'), messages_path(:box => :trash), :remote => true) %>
|
17
17
|
</li>
|
18
18
|
</ul>
|
19
19
|
</li>
|
@@ -1,13 +1,15 @@
|
|
1
|
-
|
1
|
+
<% content_for :headers do %>
|
2
|
+
<%= stylesheet_link_tag "messages.css", :media => "screen, projection" %>
|
3
|
+
<% end %>
|
2
4
|
|
3
5
|
<br class="clearfloat" />
|
4
6
|
<div class="space_center">
|
5
7
|
</div>
|
6
8
|
<div id="new_message">
|
7
|
-
<% if
|
8
|
-
<%= link_to 'Back',
|
9
|
+
<% if @box.present? %>
|
10
|
+
<%= link_to 'Back', messages_path(:box => @box) %>
|
9
11
|
<% else %>
|
10
|
-
<%= link_to 'Back',
|
12
|
+
<%= link_to 'Back', messages_path %>
|
11
13
|
<% end %>
|
12
14
|
</div>
|
13
15
|
<div class="space_center">
|
@@ -0,0 +1,22 @@
|
|
1
|
+
<% content_for :headers do %>
|
2
|
+
<%= stylesheet_link_tag "messages.css", :media => "screen, projection" %>
|
3
|
+
<% end %>
|
4
|
+
|
5
|
+
<%= render :partial => 'location' %>
|
6
|
+
<br class="clearfloat" />
|
7
|
+
<div class="space_center">
|
8
|
+
</div>
|
9
|
+
<div id="new_message">
|
10
|
+
<% if @box.present? %>
|
11
|
+
<%= link_to 'Back', messages_path(:box => @box) %>
|
12
|
+
<% else %>
|
13
|
+
<%= link_to 'Back', messages_path %>
|
14
|
+
<% end %>
|
15
|
+
</div>
|
16
|
+
<div class="space_center">
|
17
|
+
</div>
|
18
|
+
<div class="space_center">
|
19
|
+
</div>
|
20
|
+
<div id="conversation">
|
21
|
+
<%= render :partial => 'conversation_full', :locals =>{:conversation => @conversation} %>
|
22
|
+
</div>
|
File without changes
|
File without changes
|
@@ -1,11 +1,10 @@
|
|
1
1
|
<% content_for :sidebar do %>
|
2
|
-
|
2
|
+
<%= render :partial => 'home/sidebar' %>
|
3
3
|
<% end %>
|
4
4
|
|
5
|
-
<%
|
5
|
+
<% toolbar :option => :messages do %>
|
6
6
|
<%= render :partial => 'menu_options' %>
|
7
7
|
<% end %>
|
8
8
|
|
9
9
|
<%= render :partial => 'location' %>
|
10
|
-
|
11
|
-
<%= render :partial => 'show' %>
|
10
|
+
<%= render :partial => 'new' %>
|
File without changes
|
File without changes
|
@@ -1 +1,180 @@
|
|
1
|
-
|
1
|
+
<%= link_to @profile.subject.name, @profile.subject %>
|
2
|
+
|
3
|
+
<% content_for :sidebar do %>
|
4
|
+
<%= render :partial => 'users/sidebar_show' %>
|
5
|
+
<% end %>
|
6
|
+
|
7
|
+
<% toolbar :profile => @profile.subject %>
|
8
|
+
|
9
|
+
<div class="space_center"></div>
|
10
|
+
<div class="block" id="personal_info" >
|
11
|
+
<div class="header">
|
12
|
+
<div class="header_text">
|
13
|
+
<%=t('edit.personal_info')%>
|
14
|
+
</div>
|
15
|
+
<div class="header_icon_right">
|
16
|
+
<%= link_to (image_tag('/images/btn/edit.png')), '#' %>
|
17
|
+
</div>
|
18
|
+
</div>
|
19
|
+
<div class="content">
|
20
|
+
<div class="sub-block" >
|
21
|
+
<% if @profile.organization? %>
|
22
|
+
<div class="row">
|
23
|
+
<div class="label">
|
24
|
+
<%=t('edit.organization')%>:
|
25
|
+
</div>
|
26
|
+
<div class="field">
|
27
|
+
<%=h @profile.organization %>
|
28
|
+
</div>
|
29
|
+
</div>
|
30
|
+
<%end%>
|
31
|
+
<% if @profile.birthday? %>
|
32
|
+
<div class="row">
|
33
|
+
<div class="label">
|
34
|
+
<%=t('edit.birthday')%>:
|
35
|
+
</div>
|
36
|
+
<div class="field">
|
37
|
+
<%=h I18n.l @profile.profile.birthday, :format => :long %>
|
38
|
+
</div>
|
39
|
+
</div>
|
40
|
+
<div class="row">
|
41
|
+
<div class="label">
|
42
|
+
Age:
|
43
|
+
</div>
|
44
|
+
<div class="field">
|
45
|
+
<%=h @profile.age %>
|
46
|
+
</div>
|
47
|
+
</div>
|
48
|
+
<%end%>
|
49
|
+
<% if @profile.city? %>
|
50
|
+
<div class="row">
|
51
|
+
<div class="label">
|
52
|
+
<%=t('edit.actualcity')%>:
|
53
|
+
</div>
|
54
|
+
<div class="field">
|
55
|
+
<%=h @profile.city %>
|
56
|
+
<% if @profile.country? %>
|
57
|
+
, <%=@profile.country%>
|
58
|
+
<%end%>
|
59
|
+
</div>
|
60
|
+
</div>
|
61
|
+
<%end%>
|
62
|
+
<% if @profile.description? %>
|
63
|
+
<div class="row">
|
64
|
+
<div class="label">
|
65
|
+
<%=t('edit.aboutme')%>:
|
66
|
+
</div>
|
67
|
+
<div class="row">
|
68
|
+
<%=h @profile.description %>
|
69
|
+
</div>
|
70
|
+
</div>
|
71
|
+
<%end%>
|
72
|
+
</div>
|
73
|
+
</div>
|
74
|
+
</div>
|
75
|
+
|
76
|
+
|
77
|
+
<div class="space_center"></div>
|
78
|
+
<div class="block" id="contact_info">
|
79
|
+
<div class="header">
|
80
|
+
<div class="header_text">
|
81
|
+
<%=t('edit.contact')%>
|
82
|
+
</div>
|
83
|
+
<div class="header_icon_right">
|
84
|
+
<%= link_to (image_tag('/images/btn/edit.png')), '#' %>
|
85
|
+
</div>
|
86
|
+
</div>
|
87
|
+
<div class="content">
|
88
|
+
<% if @profile.phone? %>
|
89
|
+
<div class="row">
|
90
|
+
<div class="label">
|
91
|
+
<%=t('edit.phone')%>
|
92
|
+
</div>
|
93
|
+
<div class="field">
|
94
|
+
<%=h @profile.phone %>
|
95
|
+
</div>
|
96
|
+
</div>
|
97
|
+
<%end%>
|
98
|
+
<% if @profile.mobile? %>
|
99
|
+
<div class="row">
|
100
|
+
<div class="label">
|
101
|
+
<%=t('edit.mobile')%>
|
102
|
+
</div>
|
103
|
+
<div class="field">
|
104
|
+
<%=h @profile.mobile %>
|
105
|
+
</div>
|
106
|
+
</div>
|
107
|
+
<%end%>
|
108
|
+
<% if @profile.fax? %>
|
109
|
+
<div class="row">
|
110
|
+
<div class="label">
|
111
|
+
<%=t('edit.fax')%>
|
112
|
+
</div>
|
113
|
+
<div class="field">
|
114
|
+
<%=h @profile.fax %>
|
115
|
+
</div>
|
116
|
+
</div>
|
117
|
+
<%end%>
|
118
|
+
<% if @profile.address? %>
|
119
|
+
<div class="row">
|
120
|
+
<div class="label">
|
121
|
+
<%=t('edit.address')%>
|
122
|
+
</div>
|
123
|
+
<div class="field">
|
124
|
+
<%=h @profile.address %>
|
125
|
+
</div>
|
126
|
+
</div>
|
127
|
+
<%end%>
|
128
|
+
<% if @profile.website? %>
|
129
|
+
<div class="row">
|
130
|
+
<div class="label">
|
131
|
+
<%=t('edit.website')%>
|
132
|
+
</div>
|
133
|
+
<div class="field">
|
134
|
+
<a href="<%=h @profile.website %>"><%=h @profile.website %></a>
|
135
|
+
</div>
|
136
|
+
</div>
|
137
|
+
<%end%>
|
138
|
+
|
139
|
+
<div class="row">
|
140
|
+
<div class="label">
|
141
|
+
<%=t('edit.email')%>:
|
142
|
+
</div>
|
143
|
+
<div class="row">
|
144
|
+
<%=h @profile.subject.email %>
|
145
|
+
</div>
|
146
|
+
</div>
|
147
|
+
</div>
|
148
|
+
</div>
|
149
|
+
|
150
|
+
<div class="space_center"></div>
|
151
|
+
<div class="block" id="experience_info">
|
152
|
+
<div class="header">
|
153
|
+
<div class="header_text">
|
154
|
+
<%=t('edit.experience')%>
|
155
|
+
</div>
|
156
|
+
<div class="header_icon_right">
|
157
|
+
<%= link_to (image_tag('/images/btn/edit.png')), '#' %>
|
158
|
+
</div>
|
159
|
+
</div>
|
160
|
+
<div class="content">
|
161
|
+
<div class="row">
|
162
|
+
<%=h @profile.experience %>
|
163
|
+
</div>
|
164
|
+
</div>
|
165
|
+
</div>
|
166
|
+
|
167
|
+
<div class="space_center"></div>
|
168
|
+
<% if (@profile.to_param==current_user.to_param and @profile.authentication_token) %>
|
169
|
+
<div class="block" id="developer_info">
|
170
|
+
<div class="header">
|
171
|
+
<div class="header_text">
|
172
|
+
ApiKey: <%= @profile.authentication_token %>
|
173
|
+
</div>
|
174
|
+
<div class="header_icon_right">
|
175
|
+
<%= link_to (image_tag('/images/btn/edit.png')), :controller => :api,
|
176
|
+
:action => :create_key %>
|
177
|
+
</div>
|
178
|
+
</div>
|
179
|
+
</div>
|
180
|
+
<% end %>
|
File without changes
|
@@ -0,0 +1,28 @@
|
|
1
|
+
<ul class="menu noaccordion">
|
2
|
+
|
3
|
+
<%= menu_options[:messages] || capture do %>
|
4
|
+
<li>
|
5
|
+
<%= link_to( image_tag("btn/btn_inbox.png", :class => "menu_icon")+t('message.other') +" (" + current_subject.mailbox.inbox(:unread => true).count.to_s + ")", messages_path) %>
|
6
|
+
</li>
|
7
|
+
<% end %>
|
8
|
+
|
9
|
+
<%= menu_options[:contacts] || capture do %>
|
10
|
+
<li>
|
11
|
+
<%= link_to( image_tag("btn/btn_friend.png", :class => "menu_icon")+t('contact.other'), '#') %>
|
12
|
+
</li>
|
13
|
+
<li>
|
14
|
+
<ul>
|
15
|
+
<% current_subject.relations.sort.each do |r| %>
|
16
|
+
<li>
|
17
|
+
<%= link_to image_tag("btn/btn_friend.png", :class => "menu_icon") + r.name , '#' %>
|
18
|
+
</li>
|
19
|
+
<% end %>
|
20
|
+
</ul>
|
21
|
+
</li>
|
22
|
+
<% end %>
|
23
|
+
|
24
|
+
<%= menu_options[:subjects] || capture do %>
|
25
|
+
<%= render :partial => 'subjects/toolbar_home_menu_options_subjects' %>
|
26
|
+
<% end %>
|
27
|
+
|
28
|
+
</ul>
|
@@ -0,0 +1,15 @@
|
|
1
|
+
<%= menu_options[:groups] || capture do %>
|
2
|
+
<li>
|
3
|
+
<%= link_to( image_tag("btn/btn_group.png", :class => "menu_icon")+t('group.other'), '#') %>
|
4
|
+
</li>
|
5
|
+
|
6
|
+
<li>
|
7
|
+
<ul>
|
8
|
+
<li>
|
9
|
+
<%= link_to( image_tag("btn/btn_group.png", :class => "menu_icon")+t('group.new.action'), new_group_path) %>
|
10
|
+
</li>
|
11
|
+
</ul>
|
12
|
+
</li>
|
13
|
+
|
14
|
+
<% end %>
|
15
|
+
|
@@ -0,0 +1,21 @@
|
|
1
|
+
<%= render :partial => 'subjects/toolbar_logo', :locals => { :subject => subject } %>
|
2
|
+
|
3
|
+
<div class="block space_center">
|
4
|
+
</div>
|
5
|
+
|
6
|
+
<%= render :partial => 'subjects/toolbar_profile_menu', :locals => { :subject => subject } %>
|
7
|
+
|
8
|
+
<div class="block space_center">
|
9
|
+
</div>
|
10
|
+
|
11
|
+
<%= render :partial => 'subjects/tabs' %>
|
12
|
+
|
13
|
+
<div class="block space_center">
|
14
|
+
</div>
|
15
|
+
|
16
|
+
<%= render :partial => 'subjects/contacts', :locals => { :subject => subject } %>
|
17
|
+
|
18
|
+
<div class="block space_center">
|
19
|
+
</div>
|
20
|
+
<div class="block space_center">
|
21
|
+
</div>
|
@@ -0,0 +1,13 @@
|
|
1
|
+
<% content_for :headers, stylesheet_link_tag("menu", :media => "screen, projection") %>
|
2
|
+
|
3
|
+
<div id="menu_lateral_tie">
|
4
|
+
<%= render :partial => "subjects/toolbar_profile_menu_tie_options", :locals => { :subject => subject } %>
|
5
|
+
</div>
|
6
|
+
<div class="space_center">
|
7
|
+
</div>
|
8
|
+
|
9
|
+
<div id="menu_lateral">
|
10
|
+
<%= render :partial => "subjects/toolbar_profile_menu_basic_options", :locals => { :subject => subject } %>
|
11
|
+
</div>
|
12
|
+
<div class="space_center">
|
13
|
+
</div>
|
@@ -0,0 +1,12 @@
|
|
1
|
+
<ul class="menu noaccordion">
|
2
|
+
<%= menu_options[:messages] || capture do %>
|
3
|
+
<li>
|
4
|
+
<%= link_to( image_tag("btn/btn_inbox.png", :class => "menu_icon")+t('message.other'), messages_path) %>
|
5
|
+
</li>
|
6
|
+
<% end %>
|
7
|
+
<%= menu_options[:profile] || capture do %>
|
8
|
+
<li>
|
9
|
+
<%= link_to( image_tag("btn/btn_edit.png", :class => "menu_icon")+t('menu.information'), [subject, :profile]) %>
|
10
|
+
</li>
|
11
|
+
<% end %>
|
12
|
+
</ul>
|