social_stream-base 0.5.2 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +1 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/images/HTML5.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/images/HTML5_Semantics.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/images/HTML5_Styling.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/images/Jcrop.gif +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/images/boxy/boxy-ne.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/images/boxy/boxy-nw.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/images/boxy/boxy-se.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/images/boxy/boxy-sw.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/images/btn/1-facebook.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/images/btn/_notes/btn_certificates.png.mno +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/images/btn/arrowBlue.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/images/btn/arrows-ffffff.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/images/btn/bold.png +0 -0
- data/{lib/generators/social_stream/base/templates/public/images/btn/btn_profile.png → app/assets/images/btn/btn_account.png} +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/images/btn/btn_activities.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/images/btn/btn_bookmark.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/images/btn/btn_browse.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/images/btn/btn_check.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/images/btn/btn_close.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/images/btn/btn_comment.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/images/btn/btn_comment_add.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/images/btn/btn_config.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/images/btn/btn_date.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/images/btn/btn_delete.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/images/btn/btn_down.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/images/btn/btn_edit.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/images/btn/btn_exit.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/images/btn/btn_find.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/images/btn/btn_follow.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/images/btn/btn_foward.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/images/btn/btn_friend.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/images/btn/btn_gallery.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/images/btn/btn_group.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/images/btn/btn_help.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/images/btn/btn_home.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/images/btn/btn_inbox.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/images/btn/btn_info.png +0 -0
- data/app/assets/images/btn/btn_invitation.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/images/btn/btn_like.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/images/btn/btn_next.png +0 -0
- data/app/assets/images/btn/btn_notification.png +0 -0
- data/app/assets/images/btn/btn_notification_delete.png +0 -0
- data/app/assets/images/btn/btn_notification_read.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/images/btn/btn_notifications.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/images/btn/btn_page_link.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/images/btn/btn_partner.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/images/btn/btn_photo.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/images/btn/btn_printer.png +0 -0
- data/app/assets/images/btn/btn_profile.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/images/btn/btn_rank.png +0 -0
- data/app/assets/images/btn/btn_read.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/images/btn/btn_security.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/images/btn/btn_send.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/images/btn/btn_spam.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/images/btn/btn_star.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/images/btn/btn_tag.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/images/btn/btn_write.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/images/btn/close.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/images/btn/date.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/images/btn/edit.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/images/btn/error.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/images/btn/facebook.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/images/btn/flag.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/images/btn/group_left.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/images/btn/group_right.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/images/btn/index_71.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/images/btn/info.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/images/btn/italic.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/images/btn/like.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/images/btn/linkedin.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/images/btn/message_conversation.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/images/btn/message_inbox.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/images/btn/message_new.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/images/btn/message_sentbox.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/images/btn/message_trash.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/images/btn/new.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/images/btn/next_conference.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/images/btn/next_space.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/images/btn/nolike.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/images/btn/notifications.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/images/btn/pixel.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/images/btn/point_blue.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/images/btn/point_gray.png +0 -0
- data/app/assets/images/btn/post.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/images/btn/search.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/images/btn/shadow.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/images/btn/share.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/images/btn/subtime.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/images/btn/success.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/images/btn/tag_cloud.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/images/btn/twitter-follow-icon.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/images/btn/twitter.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/images/btn/uno.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/images/btn/viewer.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/images/btn/warning.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/images/cancel.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/images/frontpage/collaborate.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/images/frontpage/comments.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/images/frontpage/green_sq.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/images/frontpage/join.gif +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/images/frontpage/meet.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/images/frontpage/people.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/images/frontpage/purple_sq.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/images/frontpage/right_comments.gif +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/images/frontpage/right_organizers.gif +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/images/frontpage/right_people.gif +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/images/frontpage/right_social.gif +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/images/frontpage/right_tags.gif +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/images/frontpage/right_webcam.gif +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/images/frontpage/share.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/images/frontpage/tags.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/images/frontpage/yellow_sq.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/images/header-logo.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/images/html5-badge-h-css3-semantics.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/images/icon_checkbox.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/images/icons/favicon.ico +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/images/left.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/images/loader.gif +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/images/logo.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/images/logos/actor/group.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/images/logos/actor/remote_subject.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/images/logos/actor/remote_user.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/images/logos/actor/user.png +0 -0
- data/{lib/generators/social_stream/base/templates/public/images/logos/tie → app/assets/images/logos/contact}/group.png +0 -0
- data/{lib/generators/social_stream/base/templates/public/images/logos/tie → app/assets/images/logos/contact}/user.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/images/logos/original/group.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/images/logos/original/user.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/images/logos/profile/group.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/images/logos/profile/user.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/images/logos/representation/group.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/images/logos/representation/user.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/images/right.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/images/title_background.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ajax.paginate.js +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/.htaccess +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/adapters/jquery.js +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/ckeditor.js +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/ckeditor_basic.js +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/ckeditor_basic_source.js +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/ckeditor_source.js +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/config.js +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/contents.css +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/images/spacer.gif +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/lang/_languages.js +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/lang/_translationstatus.txt +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/lang/af.js +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/lang/ar.js +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/lang/bg.js +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/lang/bn.js +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/lang/bs.js +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/lang/ca.js +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/lang/cs.js +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/lang/cy.js +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/lang/da.js +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/lang/de.js +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/lang/el.js +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/lang/en-au.js +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/lang/en-ca.js +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/lang/en-gb.js +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/lang/en.js +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/lang/eo.js +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/lang/es.js +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/lang/et.js +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/lang/eu.js +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/lang/fa.js +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/lang/fi.js +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/lang/fo.js +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/lang/fr-ca.js +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/lang/fr.js +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/lang/gl.js +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/lang/gu.js +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/lang/he.js +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/lang/hi.js +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/lang/hr.js +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/lang/hu.js +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/lang/is.js +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/lang/it.js +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/lang/ja.js +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/lang/km.js +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/lang/ko.js +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/lang/lt.js +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/lang/lv.js +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/lang/mn.js +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/lang/ms.js +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/lang/nb.js +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/lang/nl.js +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/lang/no.js +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/lang/pl.js +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/lang/pt-br.js +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/lang/pt.js +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/lang/ro.js +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/lang/ru.js +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/lang/sk.js +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/lang/sl.js +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/lang/sr-latn.js +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/lang/sr.js +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/lang/sv.js +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/lang/th.js +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/lang/tr.js +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/lang/uk.js +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/lang/vi.js +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/lang/zh-cn.js +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/lang/zh.js +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/plugins/a11yhelp/dialogs/a11yhelp.js +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/plugins/a11yhelp/lang/en.js +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/plugins/a11yhelp/lang/he.js +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/plugins/about/dialogs/about.js +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/plugins/about/dialogs/logo_ckeditor.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/plugins/adobeair/plugin.js +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/plugins/autogrow/plugin.js +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/plugins/clipboard/dialogs/paste.js +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/plugins/colordialog/dialogs/colordialog.js +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/plugins/dialog/dialogDefinition.js +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/plugins/div/dialogs/div.js +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/plugins/find/dialogs/find.js +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/plugins/flash/dialogs/flash.js +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/plugins/flash/images/placeholder.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/plugins/forms/dialogs/button.js +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/plugins/forms/dialogs/checkbox.js +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/plugins/forms/dialogs/form.js +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/plugins/forms/dialogs/hiddenfield.js +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/plugins/forms/dialogs/radio.js +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/plugins/forms/dialogs/select.js +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/plugins/forms/dialogs/textarea.js +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/plugins/forms/dialogs/textfield.js +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/plugins/forms/images/hiddenfield.gif +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/plugins/iframe/dialogs/iframe.js +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/plugins/iframe/images/placeholder.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/plugins/iframedialog/plugin.js +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/plugins/image/dialogs/image.js +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/plugins/link/dialogs/anchor.js +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/plugins/link/dialogs/link.js +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/plugins/link/images/anchor.gif +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/plugins/liststyle/dialogs/liststyle.js +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/plugins/pagebreak/images/pagebreak.gif +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/plugins/pastefromword/filter/default.js +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/plugins/pastetext/dialogs/pastetext.js +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/plugins/placeholder/dialogs/placeholder.js +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/plugins/placeholder/lang/en.js +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/plugins/placeholder/placeholder.gif +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/plugins/placeholder/plugin.js +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/plugins/scayt/dialogs/options.js +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/plugins/scayt/dialogs/toolbar.css +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/plugins/showblocks/images/block_address.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/plugins/showblocks/images/block_blockquote.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/plugins/showblocks/images/block_div.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/plugins/showblocks/images/block_h1.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/plugins/showblocks/images/block_h2.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/plugins/showblocks/images/block_h3.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/plugins/showblocks/images/block_h4.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/plugins/showblocks/images/block_h5.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/plugins/showblocks/images/block_h6.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/plugins/showblocks/images/block_p.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/plugins/showblocks/images/block_pre.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/plugins/smiley/dialogs/smiley.js +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/plugins/smiley/images/angel_smile.gif +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/plugins/smiley/images/angry_smile.gif +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/plugins/smiley/images/broken_heart.gif +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/plugins/smiley/images/confused_smile.gif +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/plugins/smiley/images/cry_smile.gif +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/plugins/smiley/images/devil_smile.gif +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/plugins/smiley/images/embaressed_smile.gif +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/plugins/smiley/images/envelope.gif +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/plugins/smiley/images/heart.gif +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/plugins/smiley/images/kiss.gif +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/plugins/smiley/images/lightbulb.gif +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/plugins/smiley/images/omg_smile.gif +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/plugins/smiley/images/regular_smile.gif +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/plugins/smiley/images/sad_smile.gif +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/plugins/smiley/images/shades_smile.gif +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/plugins/smiley/images/teeth_smile.gif +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/plugins/smiley/images/thumbs_down.gif +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/plugins/smiley/images/thumbs_up.gif +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/plugins/smiley/images/tounge_smile.gif +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/plugins/smiley/images/whatchutalkingabout_smile.gif +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/plugins/smiley/images/wink_smile.gif +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/plugins/specialchar/dialogs/specialchar.js +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/plugins/specialchar/lang/en.js +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/plugins/styles/styles/default.js +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/plugins/table/dialogs/table.js +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/plugins/tableresize/plugin.js +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/plugins/tabletools/dialogs/tableCell.js +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/plugins/templates/dialogs/templates.js +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/plugins/templates/templates/default.js +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/plugins/templates/templates/images/template1.gif +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/plugins/templates/templates/images/template2.gif +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/plugins/templates/templates/images/template3.gif +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/plugins/uicolor/dialogs/uicolor.js +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/plugins/uicolor/lang/en.js +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/plugins/uicolor/lang/he.js +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/plugins/uicolor/plugin.js +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/plugins/uicolor/uicolor.gif +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/plugins/uicolor/yui/assets/hue_bg.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/plugins/uicolor/yui/assets/hue_thumb.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/plugins/uicolor/yui/assets/picker_mask.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/plugins/uicolor/yui/assets/picker_thumb.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/plugins/uicolor/yui/assets/yui.css +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/plugins/uicolor/yui/yui.js +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/plugins/wsc/dialogs/ciframe.html +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/plugins/wsc/dialogs/tmpFrameset.html +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/plugins/wsc/dialogs/wsc.css +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/plugins/wsc/dialogs/wsc.js +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/skins/kama/dialog.css +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/skins/kama/editor.css +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/skins/kama/icons.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/skins/kama/icons_rtl.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/skins/kama/images/dialog_sides.gif +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/skins/kama/images/dialog_sides.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/skins/kama/images/dialog_sides_rtl.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/skins/kama/images/mini.gif +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/skins/kama/images/noimage.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/skins/kama/images/sprites.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/skins/kama/images/sprites_ie6.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/skins/kama/images/toolbar_start.gif +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/skins/kama/skin.js +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/skins/kama/templates.css +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/skins/office2003/dialog.css +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/skins/office2003/editor.css +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/skins/office2003/icons.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/skins/office2003/icons_rtl.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/skins/office2003/images/dialog_sides.gif +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/skins/office2003/images/dialog_sides.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/skins/office2003/images/dialog_sides_rtl.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/skins/office2003/images/mini.gif +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/skins/office2003/images/noimage.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/skins/office2003/images/sprites.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/skins/office2003/images/sprites_ie6.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/skins/office2003/skin.js +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/skins/office2003/templates.css +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/skins/v2/dialog.css +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/skins/v2/editor.css +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/skins/v2/icons.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/skins/v2/icons_rtl.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/skins/v2/images/dialog_sides.gif +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/skins/v2/images/dialog_sides.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/skins/v2/images/dialog_sides_rtl.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/skins/v2/images/mini.gif +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/skins/v2/images/noimage.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/skins/v2/images/sprites.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/skins/v2/images/sprites_ie6.png +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/skins/v2/images/toolbar_start.gif +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/skins/v2/skin.js +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/skins/v2/templates.css +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ckeditor/themes/default/theme.js +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/hoverIntent.js +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/jqcloud-0.1.3.min.js +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/jquery.ba-url.js +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/jquery.boxy.js +0 -0
- data/app/assets/javascripts/jquery.fcbkcomplete.js +553 -0
- data/app/assets/javascripts/jquery.fcbkcomplete.min.js +2 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/jquery.livequery.js +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/jquery.scrollTo.min.js +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/jquery.validate.js +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/main.js +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/menu-collapsed.js +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/menu.js +0 -0
- data/app/assets/javascripts/modernizr.min.js +4 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/rails.js +0 -0
- data/app/assets/javascripts/settings.js +35 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/superfish.js +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ui.checkbox.js +0 -0
- data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ui.dropdownchecklist.js +218 -73
- data/{lib/generators/social_stream/base/templates/public/stylesheets/default → app/assets/stylesheets}/activities.css +0 -0
- data/{lib/generators/social_stream/base/templates/public/stylesheets/default → app/assets/stylesheets}/base.css +21 -7
- data/{lib/generators/social_stream/base/templates/public/stylesheets/default → app/assets/stylesheets}/carousel.css +0 -0
- data/app/assets/stylesheets/contacts.css +91 -0
- data/{lib/generators/social_stream/base/templates/public/stylesheets/default → app/assets/stylesheets}/fcbkComplete.css +3 -3
- data/{lib/generators/social_stream/base/templates/public/stylesheets/default → app/assets/stylesheets}/footer.css +0 -0
- data/{lib/generators/social_stream/base/templates/public/stylesheets/default → app/assets/stylesheets}/frontpage.css +12 -12
- data/{lib/generators/social_stream/base/templates/public/stylesheets/default → app/assets/stylesheets}/header.css +9 -8
- data/{lib/generators/social_stream/base/templates/public/stylesheets/default → app/assets/stylesheets}/home.css +0 -0
- data/{lib/generators/social_stream/base/templates/public/stylesheets/default → app/assets/stylesheets}/images/add-policy.png +0 -0
- data/{lib/generators/social_stream/base/templates/public/stylesheets/default → app/assets/stylesheets}/images/fcbkcomplete/close.gif +0 -0
- data/{lib/generators/social_stream/base/templates/public/stylesheets/default → app/assets/stylesheets}/images/loading.gif +0 -0
- data/{lib/generators/social_stream/base/templates/public/stylesheets/default → app/assets/stylesheets}/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/{lib/generators/social_stream/base/templates/public/stylesheets/default → app/assets/stylesheets}/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/{lib/generators/social_stream/base/templates/public/stylesheets/default → app/assets/stylesheets}/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
- data/{lib/generators/social_stream/base/templates/public/stylesheets/default → app/assets/stylesheets}/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/{lib/generators/social_stream/base/templates/public/stylesheets/default → app/assets/stylesheets}/images/ui-bg_glass_75_dadada_1x400.png +0 -0
- data/{lib/generators/social_stream/base/templates/public/stylesheets/default → app/assets/stylesheets}/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
- data/{lib/generators/social_stream/base/templates/public/stylesheets/default → app/assets/stylesheets}/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/{lib/generators/social_stream/base/templates/public/stylesheets/default → app/assets/stylesheets}/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
- data/{lib/generators/social_stream/base/templates/public/stylesheets/default → app/assets/stylesheets}/images/ui-icons_222222_256x240.png +0 -0
- data/{lib/generators/social_stream/base/templates/public/stylesheets/default → app/assets/stylesheets}/images/ui-icons_2e83ff_256x240.png +0 -0
- data/{lib/generators/social_stream/base/templates/public/stylesheets/default → app/assets/stylesheets}/images/ui-icons_454545_256x240.png +0 -0
- data/{lib/generators/social_stream/base/templates/public/stylesheets/default → app/assets/stylesheets}/images/ui-icons_888888_256x240.png +0 -0
- data/{lib/generators/social_stream/base/templates/public/stylesheets/default → app/assets/stylesheets}/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/{lib/generators/social_stream/base/templates/public/stylesheets/default → app/assets/stylesheets}/jqcloud.css +0 -0
- data/{lib/generators/social_stream/base/templates/public/stylesheets/default → app/assets/stylesheets}/jquery-ui.css +0 -0
- data/{lib/generators/social_stream/base/templates/public/stylesheets/default → app/assets/stylesheets}/jquery.ui.slider.css +0 -0
- data/{lib/generators/social_stream/base/templates/public/stylesheets/default → app/assets/stylesheets}/jquery.ui.slidertheme.css +0 -0
- data/{lib/generators/social_stream/base/templates/public/stylesheets/default → app/assets/stylesheets}/menu.css +0 -0
- data/{lib/generators/social_stream/base/templates/public/stylesheets/default → app/assets/stylesheets}/messages.css +7 -3
- data/app/assets/stylesheets/settings.css +9 -0
- data/{lib/generators/social_stream/base/templates/public/stylesheets/default → app/assets/stylesheets}/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/{lib/generators/social_stream/base/templates/public/stylesheets/default → app/assets/stylesheets}/smoothness/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/{lib/generators/social_stream/base/templates/public/stylesheets/default → app/assets/stylesheets}/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
- data/{lib/generators/social_stream/base/templates/public/stylesheets/default → app/assets/stylesheets}/smoothness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/{lib/generators/social_stream/base/templates/public/stylesheets/default → app/assets/stylesheets}/smoothness/images/ui-bg_glass_75_dadada_1x400.png +0 -0
- data/{lib/generators/social_stream/base/templates/public/stylesheets/default → app/assets/stylesheets}/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
- data/{lib/generators/social_stream/base/templates/public/stylesheets/default → app/assets/stylesheets}/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/{lib/generators/social_stream/base/templates/public/stylesheets/default → app/assets/stylesheets}/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
- data/{lib/generators/social_stream/base/templates/public/stylesheets/default → app/assets/stylesheets}/smoothness/images/ui-icons_222222_256x240.png +0 -0
- data/{lib/generators/social_stream/base/templates/public/stylesheets/default → app/assets/stylesheets}/smoothness/images/ui-icons_2e83ff_256x240.png +0 -0
- data/{lib/generators/social_stream/base/templates/public/stylesheets/default → app/assets/stylesheets}/smoothness/images/ui-icons_454545_256x240.png +0 -0
- data/{lib/generators/social_stream/base/templates/public/stylesheets/default → app/assets/stylesheets}/smoothness/images/ui-icons_888888_256x240.png +0 -0
- data/{lib/generators/social_stream/base/templates/public/stylesheets/default → app/assets/stylesheets}/smoothness/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/{lib/generators/social_stream/base/templates/public/stylesheets/default → app/assets/stylesheets}/smoothness/jquery-ui-1.7.3.custom.css +0 -0
- data/{lib/generators/social_stream/base/templates/public/stylesheets/default → app/assets/stylesheets}/smoothness/jquery-ui-1.8.4.custom.css +0 -0
- data/{lib/generators/social_stream/base/templates/public/stylesheets/default → app/assets/stylesheets}/spheres.css +1 -1
- data/app/controllers/activities_controller.rb +2 -2
- data/app/controllers/api_controller.rb +5 -1
- data/app/controllers/contacts_controller.rb +13 -13
- data/app/controllers/conversations_controller.rb +3 -3
- data/app/controllers/groups_controller.rb +1 -1
- data/app/controllers/invitations_controller.rb +20 -0
- data/app/controllers/messages_controller.rb +0 -1
- data/app/controllers/notifications_controller.rb +2 -4
- data/app/controllers/settings_controller.rb +43 -0
- data/app/controllers/users_controller.rb +1 -1
- data/app/helpers/activities_helper.rb +8 -0
- data/app/helpers/contacts_helper.rb +5 -9
- data/app/helpers/notifications_helper.rb +12 -16
- data/app/helpers/permissions_helper.rb +2 -2
- data/app/mailers/invitation_mailer.rb +9 -0
- data/app/models/activity.rb +99 -43
- data/app/models/actor.rb +158 -106
- data/app/models/audience.rb +9 -0
- data/app/models/contact.rb +110 -88
- data/app/models/group.rb +11 -12
- data/app/models/permission.rb +26 -88
- data/app/models/relation/custom.rb +10 -8
- data/app/models/relation/public.rb +3 -12
- data/app/models/relation.rb +69 -3
- data/app/models/tie.rb +42 -237
- data/app/models/user.rb +14 -10
- data/app/views/activities/_index.html.erb +7 -3
- data/app/views/activities/_jquery.html.erb +26 -1
- data/app/views/activities/_new.html.erb +14 -19
- data/app/views/activities/_options.html.erb +1 -1
- data/app/views/activities/_walls.html.erb +1 -1
- data/app/views/avatars/index.html.erb +2 -1
- data/app/views/avatars/update.js.erb +15 -0
- data/app/views/comments/_new.html.erb +10 -6
- data/app/views/contacts/_contact.html.erb +1 -1
- data/app/views/contacts/_form.html.erb +29 -50
- data/app/views/contacts/_index.html.erb +1 -1
- data/app/views/contacts/edit.html.erb +2 -1
- data/app/views/contacts/index.html.erb +1 -1
- data/app/views/contacts/new.html.erb +1 -1
- data/app/views/conversations/_conversation.html.erb +1 -0
- data/app/views/conversations/_conversation_full.html.erb +3 -3
- data/app/views/conversations/_conversations.html.erb +1 -1
- data/app/views/devise/passwords/edit.html.erb +3 -3
- data/app/views/devise/passwords/new.html.erb +3 -0
- data/app/views/devise/sessions/new.html.erb +3 -0
- data/app/views/frontpage/_header.html.erb +3 -3
- data/app/views/frontpage/index.html.erb +1 -1
- data/app/views/groups/_index.html.erb +1 -1
- data/app/views/groups/_new.html.erb +0 -1
- data/app/views/home/index.html.erb +1 -1
- data/app/views/invitation_mailer/send_invitation.html.erb +40 -0
- data/app/views/invitation_mailer/send_invitation.text.erb +15 -0
- data/app/views/invitations/_new.html.erb +35 -0
- data/app/views/invitations/new.html.erb +16 -0
- data/app/views/layouts/_account.html.erb +17 -15
- data/app/views/layouts/_header.erb +6 -4
- data/app/views/layouts/_representation.html.erb +7 -3
- data/app/views/layouts/_settings.html.erb +18 -0
- data/app/views/layouts/application.html.erb +3 -2
- data/app/views/layouts/frontpage.html.erb +3 -1
- data/app/views/messages/new.html.erb +0 -1
- data/app/views/messages/new.js.erb +0 -1
- data/app/views/notifications/_index.html.erb +1 -1
- data/app/views/notifications/_notification.html.erb +10 -18
- data/app/views/notifications/index.html.erb +1 -1
- data/app/views/objects/_new.html.erb +14 -0
- data/app/views/permissions/_index.html.erb +0 -6
- data/app/views/posts/_fields.erb +1 -0
- data/app/views/posts/_new.html.erb +1 -0
- data/app/views/posts/create.js.erb +3 -1
- data/app/views/profiles/_contact.html.erb +2 -2
- data/app/views/profiles/_experience.html.erb +2 -2
- data/app/views/profiles/_personal.html.erb +1 -1
- data/app/views/profiles/_profile.html.erb +1 -15
- data/app/views/profiles/_tags.html.erb +1 -1
- data/app/views/profiles/edit.html.erb +30 -34
- data/app/views/relation/customs/_index.html.erb +1 -3
- data/app/views/settings/_api_key.html.erb +26 -0
- data/app/views/settings/_index.html.erb +11 -0
- data/app/views/settings/_notifications.html.erb +34 -0
- data/app/views/settings/index.html.erb +20 -0
- data/app/views/settings/index.js.erb +9 -0
- data/app/views/subjects/_contacts.html.erb +1 -1
- data/app/views/toolbar/_home_menu_options.html.erb +12 -0
- data/app/views/toolbar/_invitations_menu.html.erb +3 -0
- data/app/views/toolbar/_logo.html.erb +1 -1
- data/app/views/toolbar/_message_menu.html.erb +1 -1
- data/app/views/toolbar/_notifications_menu.html.erb +1 -1
- data/app/views/toolbar/_profile_menu_options.html.erb +10 -0
- data/app/views/toolbar/_profile_menu_tie_options.html.erb +4 -13
- data/app/views/users/_index.html.erb +1 -1
- data/app/views/users/show.html.erb +1 -1
- data/config/locales/en.yml +66 -66
- data/config/routes.rb +10 -1
- data/{lib/generators/social_stream/base/templates/migration.rb → db/migrate/20110610112023_create_social_stream.rb} +53 -33
- data/lib/acts_as_taggable_on/acts_as_taggable_on/dirty.rb +37 -0
- data/lib/acts_as_taggable_on/social_stream.rb +58 -0
- data/lib/generators/social_stream/base/install_generator.rb +6 -15
- data/lib/generators/social_stream/base/templates/initializer.rb +7 -3
- data/lib/generators/social_stream/base/templates/relations.yml +8 -12
- data/lib/social_stream/ability.rb +12 -11
- data/lib/social_stream/base/version.rb +1 -1
- data/lib/social_stream/base.rb +1 -13
- data/lib/social_stream/models/object.rb +26 -14
- data/lib/social_stream/test_helpers/controllers.rb +3 -2
- data/lib/social_stream-base.rb +7 -3
- data/lib/tasks/db/populate.rake +10 -8
- data/lib/tasks/resque.rake +3 -0
- data/social_stream-base.gemspec +10 -11
- data/spec/controllers/comments_controller_spec.rb +14 -7
- data/spec/controllers/contacts_controller_spec.rb +23 -24
- data/spec/controllers/groups_controller_spec.rb +31 -4
- data/spec/controllers/notifications_controller_spec.rb +47 -0
- data/spec/controllers/posts_controller_spec.rb +34 -27
- data/spec/controllers/representations_spec.rb +2 -2
- data/spec/controllers/spheres_controller_spec.rb +15 -7
- data/spec/controllers/users_controller_spec.rb +9 -5
- data/spec/dummy/.gitignore +1 -0
- data/spec/dummy/config/application.rb +9 -10
- data/spec/dummy/config/database.yml +4 -1
- data/spec/dummy/config/environments/development.rb +8 -4
- data/spec/dummy/config/environments/production.rb +18 -13
- data/spec/dummy/config/environments/test.rb +6 -2
- data/spec/dummy/config/initializers/secret_token.rb +1 -1
- data/spec/dummy/config/initializers/session_store.rb +1 -1
- data/spec/dummy/config/initializers/social_stream.rb +7 -3
- data/spec/dummy/config/initializers/wrap_parameters.rb +12 -0
- data/spec/dummy/config/locales/en.yml +1 -1
- data/spec/dummy/config/relations.yml +8 -12
- data/spec/dummy/config/routes.rb +1 -1
- data/spec/factories/activity.rb +4 -2
- data/spec/factories/comment.rb +2 -1
- data/spec/factories/contact.rb +12 -0
- data/spec/factories/post.rb +2 -1
- data/spec/factories/tie.rb +3 -5
- data/spec/integration/navigation_spec.rb +1 -1
- data/spec/models/activity_spec.rb +188 -172
- data/spec/models/contact_spec.rb +16 -0
- data/spec/models/group_spec.rb +13 -0
- data/spec/models/relation_spec.rb +78 -0
- data/spec/models/tie_spec.rb +4 -132
- data/spec/models/user_spec.rb +4 -0
- data/spec/support/migrations.rb +1 -1
- metadata +526 -535
- data/app/models/tie_activity.rb +0 -42
- data/app/views/notifications/_show.html.erb +0 -3
- data/app/views/notifications/show.html.erb +0 -5
- data/lib/generators/social_stream/base/templates/public/images/btn/btn_certificates.png +0 -0
- data/lib/generators/social_stream/base/templates/public/images/btn/btn_conferences.png +0 -0
- data/lib/generators/social_stream/base/templates/public/images/btn/btn_documents.png +0 -0
- data/lib/generators/social_stream/base/templates/public/images/btn/btn_embebed.png +0 -0
- data/lib/generators/social_stream/base/templates/public/images/btn/btn_notification.png +0 -0
- data/lib/generators/social_stream/base/templates/public/images/btn/btn_notification_delete.png +0 -0
- data/lib/generators/social_stream/base/templates/public/images/btn/btn_outline.png +0 -0
- data/lib/generators/social_stream/base/templates/public/images/btn/btn_video.png +0 -0
- data/lib/generators/social_stream/base/templates/public/images/btn/flyer.png +0 -0
- data/lib/generators/social_stream/base/templates/public/images/btn/keynote.png +0 -0
- data/lib/generators/social_stream/base/templates/public/images/btn/live.png +0 -0
- data/lib/generators/social_stream/base/templates/public/images/btn/time.png +0 -0
- data/lib/generators/social_stream/base/templates/public/images/pbar-ani.gif +0 -0
- data/lib/generators/social_stream/base/templates/public/javascripts/avatars.js +0 -8
- data/lib/generators/social_stream/base/templates/public/javascripts/jquery-ui-1.8.4.custom.min.js +0 -763
- data/lib/generators/social_stream/base/templates/public/javascripts/jquery-ui-personalized-1.5.2.packed.js +0 -1
- data/lib/generators/social_stream/base/templates/public/javascripts/jquery-ui.min.js +0 -401
- data/lib/generators/social_stream/base/templates/public/javascripts/jquery.Jcrop.min.js +0 -163
- data/lib/generators/social_stream/base/templates/public/javascripts/jquery.fcbkcomplete.min.js +0 -77
- data/lib/generators/social_stream/base/templates/public/javascripts/jquery.fileupload-ui.js +0 -259
- data/lib/generators/social_stream/base/templates/public/javascripts/jquery.fileupload.js +0 -475
- data/lib/generators/social_stream/base/templates/public/javascripts/jquery.form.js +0 -815
- data/lib/generators/social_stream/base/templates/public/javascripts/jquery.js +0 -7179
- data/lib/generators/social_stream/base/templates/public/javascripts/jquery.min.js +0 -167
- data/lib/generators/social_stream/base/templates/public/javascripts/jquery.ui.mouse.js +0 -156
- data/lib/generators/social_stream/base/templates/public/javascripts/jquery.ui.slider.js +0 -684
- data/lib/generators/social_stream/base/templates/public/javascripts/jquery.ui.widget.js +0 -236
- data/lib/generators/social_stream/base/templates/public/stylesheets/default/avatars.css +0 -79
- data/lib/generators/social_stream/base/templates/public/stylesheets/default/contacts.css +0 -88
- data/lib/generators/social_stream/base/templates/public/stylesheets/default/jquery.Jcrop.css +0 -35
- data/lib/generators/social_stream/base/templates/public/stylesheets/default/jquery.fileupload-ui.css +0 -73
- data/spec/models/tie_activity_spec.rb +0 -109
@@ -1,475 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* jQuery File Upload Plugin 3.4
|
3
|
-
*
|
4
|
-
* Copyright 2010, Sebastian Tschan, AQUANTUM
|
5
|
-
* Licensed under the MIT license:
|
6
|
-
* http://creativecommons.org/licenses/MIT/
|
7
|
-
*
|
8
|
-
* https://blueimp.net
|
9
|
-
* http://www.aquantum.de
|
10
|
-
*/
|
11
|
-
|
12
|
-
/*jslint browser: true */
|
13
|
-
/*global File, FileReader, FormData, unescape, jQuery */
|
14
|
-
|
15
|
-
(function ($) {
|
16
|
-
|
17
|
-
var FileUpload,
|
18
|
-
methods;
|
19
|
-
|
20
|
-
FileUpload = function (container) {
|
21
|
-
var fileUpload = this,
|
22
|
-
uploadForm = (container.is('form') ? container : container.find('form').first()),
|
23
|
-
fileInput = uploadForm.find('input:file').first(),
|
24
|
-
settings = {
|
25
|
-
namespace: 'file_upload',
|
26
|
-
cssClass: 'file_upload',
|
27
|
-
dragDropSupport: true,
|
28
|
-
dropZone: container,
|
29
|
-
url: uploadForm.attr('action'),
|
30
|
-
method: uploadForm.attr('method'),
|
31
|
-
fieldName: fileInput.attr('name'),
|
32
|
-
multipart: true,
|
33
|
-
multiFileRequest: false,
|
34
|
-
formData: function () {
|
35
|
-
return uploadForm.serializeArray();
|
36
|
-
},
|
37
|
-
withCredentials: false,
|
38
|
-
forceIframeUpload: false
|
39
|
-
},
|
40
|
-
documentListeners = {},
|
41
|
-
dropZoneListeners = {},
|
42
|
-
fileInputListeners = {},
|
43
|
-
undef = 'undefined',
|
44
|
-
func = 'function',
|
45
|
-
num = 'number',
|
46
|
-
protocolRegExp = /^http(s)?:\/\//,
|
47
|
-
|
48
|
-
MultiLoader = function (callBack, numberComplete) {
|
49
|
-
var loaded = 0;
|
50
|
-
this.complete = function () {
|
51
|
-
loaded += 1;
|
52
|
-
if (loaded === numberComplete) {
|
53
|
-
callBack();
|
54
|
-
}
|
55
|
-
};
|
56
|
-
},
|
57
|
-
|
58
|
-
isXHRUploadCapable = function () {
|
59
|
-
return typeof XMLHttpRequest !== undef && typeof File !== undef && (
|
60
|
-
!settings.multipart || typeof FormData !== undef || typeof FileReader !== undef
|
61
|
-
);
|
62
|
-
},
|
63
|
-
|
64
|
-
initEventHandlers = function () {
|
65
|
-
if (settings.dragDropSupport) {
|
66
|
-
if (typeof settings.onDocumentDragEnter === func) {
|
67
|
-
documentListeners['dragenter.' + settings.namespace] = settings.onDocumentDragEnter;
|
68
|
-
}
|
69
|
-
if (typeof settings.onDocumentDragLeave === func) {
|
70
|
-
documentListeners['dragleave.' + settings.namespace] = settings.onDocumentDragLeave;
|
71
|
-
}
|
72
|
-
documentListeners['dragover.' + settings.namespace] = fileUpload.onDocumentDragOver;
|
73
|
-
documentListeners['drop.' + settings.namespace] = fileUpload.onDocumentDrop;
|
74
|
-
$(document).bind(documentListeners);
|
75
|
-
if (typeof settings.onDragEnter === func) {
|
76
|
-
dropZoneListeners['dragenter.' + settings.namespace] = settings.onDragEnter;
|
77
|
-
}
|
78
|
-
if (typeof settings.onDragLeave === func) {
|
79
|
-
dropZoneListeners['dragleave.' + settings.namespace] = settings.onDragLeave;
|
80
|
-
}
|
81
|
-
dropZoneListeners['dragover.' + settings.namespace] = fileUpload.onDragOver;
|
82
|
-
dropZoneListeners['drop.' + settings.namespace] = fileUpload.onDrop;
|
83
|
-
settings.dropZone.bind(dropZoneListeners);
|
84
|
-
}
|
85
|
-
fileInputListeners['change.' + settings.namespace] = fileUpload.onChange;
|
86
|
-
fileInput.bind(fileInputListeners);
|
87
|
-
},
|
88
|
-
|
89
|
-
removeEventHandlers = function () {
|
90
|
-
$.each(documentListeners, function (key, value) {
|
91
|
-
$(document).unbind(key, value);
|
92
|
-
});
|
93
|
-
$.each(dropZoneListeners, function (key, value) {
|
94
|
-
settings.dropZone.unbind(key, value);
|
95
|
-
});
|
96
|
-
$.each(fileInputListeners, function (key, value) {
|
97
|
-
fileInput.unbind(key, value);
|
98
|
-
});
|
99
|
-
},
|
100
|
-
|
101
|
-
initUploadEventHandlers = function (files, index, xhr, settings) {
|
102
|
-
if (typeof settings.onProgress === func) {
|
103
|
-
xhr.upload.onprogress = function (e) {
|
104
|
-
settings.onProgress(e, files, index, xhr, settings);
|
105
|
-
};
|
106
|
-
}
|
107
|
-
if (typeof settings.onLoad === func) {
|
108
|
-
xhr.onload = function (e) {
|
109
|
-
settings.onLoad(e, files, index, xhr, settings);
|
110
|
-
};
|
111
|
-
}
|
112
|
-
if (typeof settings.onAbort === func) {
|
113
|
-
xhr.onabort = function (e) {
|
114
|
-
settings.onAbort(e, files, index, xhr, settings);
|
115
|
-
};
|
116
|
-
}
|
117
|
-
if (typeof settings.onError === func) {
|
118
|
-
xhr.onerror = function (e) {
|
119
|
-
settings.onError(e, files, index, xhr, settings);
|
120
|
-
};
|
121
|
-
}
|
122
|
-
},
|
123
|
-
|
124
|
-
getFormData = function (settings) {
|
125
|
-
if (typeof settings.formData === func) {
|
126
|
-
return settings.formData();
|
127
|
-
} else if ($.isArray(settings.formData)) {
|
128
|
-
return settings.formData;
|
129
|
-
} else if (settings.formData) {
|
130
|
-
var formData = [];
|
131
|
-
$.each(settings.formData, function (name, value) {
|
132
|
-
formData.push({name: name, value: value});
|
133
|
-
});
|
134
|
-
return formData;
|
135
|
-
}
|
136
|
-
return [];
|
137
|
-
},
|
138
|
-
|
139
|
-
isSameDomain = function (url) {
|
140
|
-
if (protocolRegExp.test(url)) {
|
141
|
-
var host = location.host,
|
142
|
-
indexStart = location.protocol.length + 2,
|
143
|
-
index = url.indexOf(host, indexStart),
|
144
|
-
pathIndex = index + host.length;
|
145
|
-
if ((index === indexStart || index === url.indexOf('@', indexStart) + 1) &&
|
146
|
-
(url.length === pathIndex || $.inArray(url.charAt(pathIndex), ['/', '?', '#']) !== -1)) {
|
147
|
-
return true;
|
148
|
-
}
|
149
|
-
return false;
|
150
|
-
}
|
151
|
-
return true;
|
152
|
-
},
|
153
|
-
|
154
|
-
nonMultipartUpload = function (file, xhr, sameDomain) {
|
155
|
-
if (sameDomain) {
|
156
|
-
xhr.setRequestHeader('X-File-Name', unescape(encodeURIComponent(file.name)));
|
157
|
-
}
|
158
|
-
xhr.setRequestHeader('Content-Type', file.type);
|
159
|
-
xhr.send(file);
|
160
|
-
},
|
161
|
-
|
162
|
-
formDataUpload = function (files, xhr, settings) {
|
163
|
-
var formData = new FormData(),
|
164
|
-
i;
|
165
|
-
$.each(getFormData(settings), function (index, field) {
|
166
|
-
formData.append(field.name, field.value);
|
167
|
-
});
|
168
|
-
for (i = 0; i < files.length; i += 1) {
|
169
|
-
formData.append(settings.fieldName, files[i]);
|
170
|
-
}
|
171
|
-
xhr.send(formData);
|
172
|
-
},
|
173
|
-
|
174
|
-
loadFileContent = function (file, callBack) {
|
175
|
-
var fileReader = new FileReader();
|
176
|
-
fileReader.onload = function (e) {
|
177
|
-
file.content = e.target.result;
|
178
|
-
callBack();
|
179
|
-
};
|
180
|
-
fileReader.readAsBinaryString(file);
|
181
|
-
},
|
182
|
-
|
183
|
-
buildMultiPartFormData = function (boundary, files, fields) {
|
184
|
-
var doubleDash = '--',
|
185
|
-
crlf = '\r\n',
|
186
|
-
formData = '';
|
187
|
-
$.each(fields, function (index, field) {
|
188
|
-
formData += doubleDash + boundary + crlf +
|
189
|
-
'Content-Disposition: form-data; name="' +
|
190
|
-
unescape(encodeURIComponent(field.name)) +
|
191
|
-
'"' + crlf + crlf +
|
192
|
-
unescape(encodeURIComponent(field.value)) + crlf;
|
193
|
-
});
|
194
|
-
$.each(files, function (index, file) {
|
195
|
-
formData += doubleDash + boundary + crlf +
|
196
|
-
'Content-Disposition: form-data; name="' +
|
197
|
-
unescape(encodeURIComponent(settings.fieldName)) +
|
198
|
-
'"; filename="' + unescape(encodeURIComponent(file.name)) + '"' + crlf +
|
199
|
-
'Content-Type: ' + file.type + crlf + crlf +
|
200
|
-
file.content + crlf;
|
201
|
-
});
|
202
|
-
formData += doubleDash + boundary + doubleDash + crlf;
|
203
|
-
return formData;
|
204
|
-
},
|
205
|
-
|
206
|
-
fileReaderUpload = function (files, xhr, settings) {
|
207
|
-
var boundary = '----MultiPartFormBoundary' + (new Date()).getTime(),
|
208
|
-
loader,
|
209
|
-
i;
|
210
|
-
xhr.setRequestHeader('Content-Type', 'multipart/form-data; boundary=' + boundary);
|
211
|
-
loader = new MultiLoader(function () {
|
212
|
-
xhr.sendAsBinary(buildMultiPartFormData(
|
213
|
-
boundary,
|
214
|
-
files,
|
215
|
-
getFormData(settings)
|
216
|
-
));
|
217
|
-
}, files.length);
|
218
|
-
for (i = 0; i < files.length; i += 1) {
|
219
|
-
loadFileContent(files[i], loader.complete);
|
220
|
-
}
|
221
|
-
},
|
222
|
-
|
223
|
-
upload = function (files, index, xhr, settings) {
|
224
|
-
var sameDomain = isSameDomain(settings.url),
|
225
|
-
filesToUpload;
|
226
|
-
initUploadEventHandlers(files, index, xhr, settings);
|
227
|
-
xhr.open(settings.method, settings.url, true);
|
228
|
-
if (sameDomain) {
|
229
|
-
xhr.setRequestHeader('X-Requested-With', 'XMLHttpRequest');
|
230
|
-
} else if (settings.withCredentials) {
|
231
|
-
xhr.withCredentials = true;
|
232
|
-
}
|
233
|
-
if (!settings.multipart) {
|
234
|
-
nonMultipartUpload(files[index], xhr, sameDomain);
|
235
|
-
} else {
|
236
|
-
if (typeof index === num) {
|
237
|
-
filesToUpload = [files[index]];
|
238
|
-
} else {
|
239
|
-
filesToUpload = files;
|
240
|
-
}
|
241
|
-
if (typeof FormData !== undef) {
|
242
|
-
formDataUpload(filesToUpload, xhr, settings);
|
243
|
-
} else if (typeof FileReader !== undef) {
|
244
|
-
fileReaderUpload(filesToUpload, xhr, settings);
|
245
|
-
} else {
|
246
|
-
$.error('Browser does neither support FormData nor FileReader interface');
|
247
|
-
}
|
248
|
-
}
|
249
|
-
},
|
250
|
-
|
251
|
-
handleUpload = function (event, files, index) {
|
252
|
-
var xhr = new XMLHttpRequest(),
|
253
|
-
uploadSettings = $.extend({}, settings);
|
254
|
-
if (typeof settings.initUpload === func) {
|
255
|
-
settings.initUpload(
|
256
|
-
event,
|
257
|
-
files,
|
258
|
-
index,
|
259
|
-
xhr,
|
260
|
-
uploadSettings,
|
261
|
-
function () {
|
262
|
-
upload(files, index, xhr, uploadSettings);
|
263
|
-
}
|
264
|
-
);
|
265
|
-
} else {
|
266
|
-
upload(files, index, xhr, uploadSettings);
|
267
|
-
}
|
268
|
-
},
|
269
|
-
|
270
|
-
handleFiles = function (event, files) {
|
271
|
-
var i;
|
272
|
-
if (settings.multiFileRequest) {
|
273
|
-
handleUpload(event, files);
|
274
|
-
} else {
|
275
|
-
for (i = 0; i < files.length; i += 1) {
|
276
|
-
handleUpload(event, files, i);
|
277
|
-
}
|
278
|
-
}
|
279
|
-
},
|
280
|
-
|
281
|
-
legacyUploadFormDataInit = function (input, settings) {
|
282
|
-
var formData = getFormData(settings);
|
283
|
-
uploadForm.find(':input').not(':disabled')
|
284
|
-
.attr('disabled', true)
|
285
|
-
.addClass(settings.namespace + '_disabled');
|
286
|
-
$.each(formData, function (index, field) {
|
287
|
-
$('<input type="hidden"/>')
|
288
|
-
.attr('name', field.name)
|
289
|
-
.val(field.value)
|
290
|
-
.addClass(settings.namespace + '_form_data')
|
291
|
-
.insertBefore(fileInput);
|
292
|
-
});
|
293
|
-
input.insertAfter(fileInput);
|
294
|
-
},
|
295
|
-
|
296
|
-
legacyUploadFormDataReset = function (input, settings) {
|
297
|
-
input.remove();
|
298
|
-
uploadForm.find('.' + settings.namespace + '_disabled')
|
299
|
-
.removeAttr('disabled')
|
300
|
-
.removeClass(settings.namespace + '_disabled');
|
301
|
-
uploadForm.find('.' + settings.namespace + '_form_data').remove();
|
302
|
-
},
|
303
|
-
|
304
|
-
legacyUpload = function (input, iframe, settings) {
|
305
|
-
iframe
|
306
|
-
.unbind('abort')
|
307
|
-
.bind('abort', function (e) {
|
308
|
-
iframe.readyState = 0;
|
309
|
-
// javascript:false as iframe src prevents warning popups on HTTPS in IE6
|
310
|
-
// concat is used here to prevent the "Script URL" JSLint error:
|
311
|
-
iframe.unbind('load').attr('src', 'javascript'.concat(':false;'));
|
312
|
-
if (typeof settings.onAbort === func) {
|
313
|
-
settings.onAbort(e, [{name: input.val(), type: null, size: null}], 0, iframe, settings);
|
314
|
-
}
|
315
|
-
})
|
316
|
-
.unbind('load')
|
317
|
-
.bind('load', function (e) {
|
318
|
-
iframe.readyState = 4;
|
319
|
-
if (typeof settings.onLoad === func) {
|
320
|
-
settings.onLoad(e, [{name: input.val(), type: null, size: null}], 0, iframe, settings);
|
321
|
-
}
|
322
|
-
});
|
323
|
-
uploadForm
|
324
|
-
.attr('action', settings.url)
|
325
|
-
.attr('target', iframe.attr('name'));
|
326
|
-
legacyUploadFormDataInit(input, settings);
|
327
|
-
iframe.readyState = 2;
|
328
|
-
uploadForm.get(0).submit();
|
329
|
-
legacyUploadFormDataReset(input, settings);
|
330
|
-
},
|
331
|
-
|
332
|
-
handleLegacyUpload = function (event, input) {
|
333
|
-
// javascript:false as iframe src prevents warning popups on HTTPS in IE6:
|
334
|
-
var iframe = $('<iframe src="javascript:false;" style="display:none" name="iframe_' +
|
335
|
-
settings.namespace + '_' + (new Date()).getTime() + '"></iframe>'),
|
336
|
-
uploadSettings = $.extend({}, settings);
|
337
|
-
iframe.readyState = 0;
|
338
|
-
iframe.abort = function () {
|
339
|
-
iframe.trigger('abort');
|
340
|
-
};
|
341
|
-
iframe.bind('load', function () {
|
342
|
-
iframe.unbind('load');
|
343
|
-
if (typeof settings.initUpload === func) {
|
344
|
-
settings.initUpload(
|
345
|
-
event,
|
346
|
-
[{name: input.val(), type: null, size: null}],
|
347
|
-
0,
|
348
|
-
iframe,
|
349
|
-
uploadSettings,
|
350
|
-
function () {
|
351
|
-
legacyUpload(input, iframe, uploadSettings);
|
352
|
-
}
|
353
|
-
);
|
354
|
-
} else {
|
355
|
-
legacyUpload(input, iframe, uploadSettings);
|
356
|
-
}
|
357
|
-
}).appendTo(uploadForm);
|
358
|
-
},
|
359
|
-
|
360
|
-
resetFileInput = function () {
|
361
|
-
var inputClone = fileInput.clone(true);
|
362
|
-
$('<form/>').append(inputClone).get(0).reset();
|
363
|
-
fileInput.replaceWith(inputClone);
|
364
|
-
fileInput = inputClone;
|
365
|
-
};
|
366
|
-
|
367
|
-
this.onDocumentDragOver = function (e) {
|
368
|
-
if (typeof settings.onDocumentDragOver === func &&
|
369
|
-
settings.onDocumentDragOver(e) === false) {
|
370
|
-
return false;
|
371
|
-
}
|
372
|
-
e.preventDefault();
|
373
|
-
};
|
374
|
-
|
375
|
-
this.onDocumentDrop = function (e) {
|
376
|
-
if (typeof settings.onDocumentDrop === func &&
|
377
|
-
settings.onDocumentDrop(e) === false) {
|
378
|
-
return false;
|
379
|
-
}
|
380
|
-
e.preventDefault();
|
381
|
-
};
|
382
|
-
|
383
|
-
this.onDragOver = function (e) {
|
384
|
-
if (typeof settings.onDragOver === func &&
|
385
|
-
settings.onDragOver(e) === false) {
|
386
|
-
return false;
|
387
|
-
}
|
388
|
-
var dataTransfer = e.originalEvent.dataTransfer;
|
389
|
-
if (dataTransfer) {
|
390
|
-
dataTransfer.dropEffect = dataTransfer.effectAllowed = 'copy';
|
391
|
-
}
|
392
|
-
e.preventDefault();
|
393
|
-
};
|
394
|
-
|
395
|
-
this.onDrop = function (e) {
|
396
|
-
if (typeof settings.onDrop === func &&
|
397
|
-
settings.onDrop(e) === false) {
|
398
|
-
return false;
|
399
|
-
}
|
400
|
-
var dataTransfer = e.originalEvent.dataTransfer;
|
401
|
-
if (dataTransfer && dataTransfer.files && isXHRUploadCapable()) {
|
402
|
-
handleFiles(e, dataTransfer.files);
|
403
|
-
}
|
404
|
-
e.preventDefault();
|
405
|
-
};
|
406
|
-
|
407
|
-
this.onChange = function (e) {
|
408
|
-
if (typeof settings.onChange === func &&
|
409
|
-
settings.onChange(e) === false) {
|
410
|
-
return false;
|
411
|
-
}
|
412
|
-
if (!settings.forceIframeUpload && e.target.files && isXHRUploadCapable()) {
|
413
|
-
handleFiles(e, e.target.files);
|
414
|
-
} else {
|
415
|
-
handleLegacyUpload(e, $(e.target));
|
416
|
-
}
|
417
|
-
resetFileInput();
|
418
|
-
};
|
419
|
-
|
420
|
-
this.init = function (options) {
|
421
|
-
if (options) {
|
422
|
-
$.extend(settings, options);
|
423
|
-
}
|
424
|
-
if (container.data(settings.namespace)) {
|
425
|
-
$.error('FileUpload with namespace "' + settings.namespace + '" already assigned to this element');
|
426
|
-
return;
|
427
|
-
}
|
428
|
-
container
|
429
|
-
.data(settings.namespace, fileUpload)
|
430
|
-
.addClass(settings.cssClass);
|
431
|
-
settings.dropZone.addClass(settings.cssClass);
|
432
|
-
initEventHandlers();
|
433
|
-
};
|
434
|
-
|
435
|
-
this.destroy = function () {
|
436
|
-
removeEventHandlers();
|
437
|
-
container
|
438
|
-
.removeData(settings.namespace)
|
439
|
-
.removeClass(settings.cssClass);
|
440
|
-
settings.dropZone.removeClass(settings.cssClass);
|
441
|
-
};
|
442
|
-
};
|
443
|
-
|
444
|
-
methods = {
|
445
|
-
init : function (options) {
|
446
|
-
return this.each(function () {
|
447
|
-
(new FileUpload($(this))).init(options);
|
448
|
-
});
|
449
|
-
},
|
450
|
-
|
451
|
-
destroy : function (namespace) {
|
452
|
-
return this.each(function () {
|
453
|
-
namespace = namespace ? namespace : 'file_upload';
|
454
|
-
var fileUpload = $(this).data(namespace);
|
455
|
-
if (fileUpload) {
|
456
|
-
fileUpload.destroy();
|
457
|
-
} else {
|
458
|
-
$.error('No FileUpload with namespace "' + namespace + '" assigned to this element');
|
459
|
-
}
|
460
|
-
});
|
461
|
-
|
462
|
-
}
|
463
|
-
};
|
464
|
-
|
465
|
-
$.fn.fileUpload = function (method) {
|
466
|
-
if (methods[method]) {
|
467
|
-
return methods[method].apply(this, Array.prototype.slice.call(arguments, 1));
|
468
|
-
} else if (typeof method === 'object' || !method) {
|
469
|
-
return methods.init.apply(this, arguments);
|
470
|
-
} else {
|
471
|
-
$.error('Method ' + method + ' does not exist on jQuery.fileUpload');
|
472
|
-
}
|
473
|
-
};
|
474
|
-
|
475
|
-
}(jQuery));
|