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
@@ -0,0 +1,553 @@
|
|
1
|
+
/**
|
2
|
+
FCBKcomplete v2.8.6 is released under the MIT License <http://www.opensource.org/licenses/mit-license.php>
|
3
|
+
- Jquery version required: 1.6.x
|
4
|
+
*/
|
5
|
+
|
6
|
+
/* Based on TextboxList by Guillermo Rauch http://devthought.com/ */
|
7
|
+
|
8
|
+
/**
|
9
|
+
* json_url - url to fetch json object
|
10
|
+
* cache - use cache
|
11
|
+
* height - maximum number of element shown before scroll will apear
|
12
|
+
* newel - show typed text like a element
|
13
|
+
* firstselected - automaticly select first element from dropdown
|
14
|
+
* filter_case - case sensitive filter
|
15
|
+
* filter_selected - filter selected items from list
|
16
|
+
* complete_text - text for complete page
|
17
|
+
* maxshownitems - maximum numbers that will be shown at dropdown list (less better performance)
|
18
|
+
* onselect - fire event on item select
|
19
|
+
* onremove - fire event on item remove
|
20
|
+
* maxitimes - maximum items that can be added
|
21
|
+
* delay - delay between ajax request (bigger delay, lower server time request)
|
22
|
+
* addontab - add first visible element on tab or enter hit
|
23
|
+
* attachto - after this element fcbkcomplete insert own elements
|
24
|
+
* bricket - use square bricket with select (needed for asp or php) enabled by default
|
25
|
+
*/
|
26
|
+
|
27
|
+
(function( $, undefined ) {
|
28
|
+
$.fn.fcbkcomplete = function(opt) {
|
29
|
+
return this.queue( function() {
|
30
|
+
function init() {
|
31
|
+
createFCBK();
|
32
|
+
addInput(0);
|
33
|
+
}
|
34
|
+
|
35
|
+
function createFCBK() {
|
36
|
+
holder = $('<ul class="holder"></ul>');
|
37
|
+
if (options.attachto) {
|
38
|
+
if (typeof(options.attachto) == "object") {
|
39
|
+
options.attachto.append(holder);
|
40
|
+
} else {
|
41
|
+
$(options.attachto).append(holder);
|
42
|
+
}
|
43
|
+
} else {
|
44
|
+
element.after(holder);
|
45
|
+
}
|
46
|
+
complete = $('<div class="facebook-auto">').append('<div class="default">' + options.complete_text + "</div>");
|
47
|
+
complete.hover(function() {complete_hover = 0;}, function() {complete_hover = 1;});
|
48
|
+
feed = $('<ul id="'+elemid+'_feed"></ul>');
|
49
|
+
holder.after(complete.prepend(feed));
|
50
|
+
feed.css("width", complete.width());
|
51
|
+
elPrepare();
|
52
|
+
}
|
53
|
+
|
54
|
+
function elPrepare() {
|
55
|
+
name = element.attr("name");
|
56
|
+
if (options.bricket) {
|
57
|
+
if (name.indexOf("[]") == -1) {
|
58
|
+
name = name + "[]";
|
59
|
+
}
|
60
|
+
}
|
61
|
+
|
62
|
+
var temp_elem = $('<'+element.get(0).tagName+' name="'+name+'" id="'+elemid+'" multiple="multiple" class="hidden">');
|
63
|
+
|
64
|
+
$.each(element.children('option'), function(i, option) {
|
65
|
+
option = $(option);
|
66
|
+
temp_elem.data(option.val(), option.text());
|
67
|
+
if (option.hasClass("selected")) {
|
68
|
+
var id = addItem(option.text(), option.val(), true, option.hasClass("locked"));
|
69
|
+
temp_elem.append('<option value="'+option.val()+'" selected="selected" id="opt_'+id+'"class="selected">'+option.text()+'</option>');
|
70
|
+
}
|
71
|
+
});
|
72
|
+
|
73
|
+
element.after(temp_elem);
|
74
|
+
element.remove();
|
75
|
+
element = temp_elem;
|
76
|
+
|
77
|
+
//public method to add new item
|
78
|
+
$(element).bind("addItem", function(event, data) {
|
79
|
+
addItem(data.title, data.value, 0, 0, 0);
|
80
|
+
});
|
81
|
+
|
82
|
+
//public method to remove item
|
83
|
+
$(element).bind("removeItem", function(event, data) {
|
84
|
+
var item = holder.children('li[rel=' + data.value + ']');
|
85
|
+
if (item.length) {
|
86
|
+
removeItem(item);
|
87
|
+
}
|
88
|
+
});
|
89
|
+
|
90
|
+
//public method to remove item
|
91
|
+
$(element).bind("destroy", function(event, data) {
|
92
|
+
holder.remove();
|
93
|
+
complete.remove();
|
94
|
+
element.show();
|
95
|
+
});
|
96
|
+
}
|
97
|
+
|
98
|
+
function addItem(title, value, preadded, locked, focusme) {
|
99
|
+
if (!maxItems()) {
|
100
|
+
return false;
|
101
|
+
}
|
102
|
+
var liclass = "bit-box" + (locked ? " locked": "");
|
103
|
+
var id = randomId();
|
104
|
+
var txt = document.createTextNode(xssDisplay(title));
|
105
|
+
var aclose = $('<a class="closebutton" href="#"></a>');
|
106
|
+
var li = $('<li class="'+liclass+'" rel="'+value+'" id="pt_'+id+'"></li>').prepend(txt).append(aclose);
|
107
|
+
|
108
|
+
holder.append(li);
|
109
|
+
|
110
|
+
aclose.click( function() {
|
111
|
+
removeItem($(this).parent("li"));
|
112
|
+
return false;
|
113
|
+
});
|
114
|
+
if (!preadded) {
|
115
|
+
$("#" + elemid + "_annoninput").remove();
|
116
|
+
addInput(focusme);
|
117
|
+
var _item = $('<option value="'+xssDisplay(value, 1)+'" id="opt_'+id+'" class="selected" selected="selected">'+xssDisplay(title)+'</option>');
|
118
|
+
element.append(_item);
|
119
|
+
if (options.onselect) {
|
120
|
+
funCall(options.onselect, _item);
|
121
|
+
}
|
122
|
+
element.change();
|
123
|
+
}
|
124
|
+
holder.children("li.bit-box.deleted").removeClass("deleted");
|
125
|
+
feed.hide();
|
126
|
+
return id;
|
127
|
+
}
|
128
|
+
|
129
|
+
function removeItem(item) {
|
130
|
+
if (!item.hasClass('locked')) {
|
131
|
+
item.fadeOut("fast");
|
132
|
+
var id = item.attr('id');
|
133
|
+
if (options.onremove) {
|
134
|
+
var _item = id ? $("#o" + id + "") : element.children("option[value=" + item.attr("rel") + "]");
|
135
|
+
funCall(options.onremove, _item);
|
136
|
+
}
|
137
|
+
if (id) {
|
138
|
+
$("#o" + id + "").remove();
|
139
|
+
} else {
|
140
|
+
element.children('option[value="' + item.attr("rel") + '"]').remove();
|
141
|
+
}
|
142
|
+
item.remove();
|
143
|
+
element.change();
|
144
|
+
deleting = 0;
|
145
|
+
}
|
146
|
+
}
|
147
|
+
|
148
|
+
function addInput(focusme) {
|
149
|
+
var li = $('<li class="bit-input" id="'+elemid + '_annoninput">');
|
150
|
+
var input = $('<input type="text" class="maininput" size="1" autocomplete="off">');
|
151
|
+
var getBoxTimeout = 0;
|
152
|
+
|
153
|
+
holder.append(li.append(input));
|
154
|
+
|
155
|
+
input.focus( function() {
|
156
|
+
if (maxItems()) {
|
157
|
+
complete.fadeIn("fast");
|
158
|
+
}
|
159
|
+
});
|
160
|
+
|
161
|
+
input.blur( function() {
|
162
|
+
if (complete_hover) {
|
163
|
+
complete.fadeOut("fast");
|
164
|
+
} else {
|
165
|
+
input.focus();
|
166
|
+
}
|
167
|
+
});
|
168
|
+
|
169
|
+
holder.click( function() {
|
170
|
+
input.focus();
|
171
|
+
if (feed.length && input.val().length) {
|
172
|
+
feed.show();
|
173
|
+
} else {
|
174
|
+
feed.hide();
|
175
|
+
complete.children(".default").show();
|
176
|
+
}
|
177
|
+
});
|
178
|
+
|
179
|
+
input.keypress( function(event) {
|
180
|
+
if (event.keyCode == _key.enter) {
|
181
|
+
return false;
|
182
|
+
}
|
183
|
+
//auto expand input
|
184
|
+
input.attr("size", input.val().length + 1);
|
185
|
+
});
|
186
|
+
|
187
|
+
input.keyup( function(event) {
|
188
|
+
var etext = xssPrevent(input.val(), 1);
|
189
|
+
|
190
|
+
if (event.keyCode == _key.backspace && etext.length == 0) {
|
191
|
+
feed.hide();
|
192
|
+
if (!holder.children("li.bit-box:last").hasClass('locked')) {
|
193
|
+
if (holder.children("li.bit-box.deleted").length == 0) {
|
194
|
+
holder.children("li.bit-box:last").addClass("deleted");
|
195
|
+
return false;
|
196
|
+
} else {
|
197
|
+
if (deleting) {
|
198
|
+
return;
|
199
|
+
}
|
200
|
+
deleting = 1;
|
201
|
+
holder.children("li.bit-box.deleted").fadeOut("fast", function() {
|
202
|
+
removeItem($(this));
|
203
|
+
return false;
|
204
|
+
});
|
205
|
+
}
|
206
|
+
}
|
207
|
+
}
|
208
|
+
|
209
|
+
if (event.keyCode != _key.downarrow && event.keyCode != _key.uparrow && event.keyCode!= _key.leftarrow && event.keyCode!= _key.rightarrow && etext.length != 0) {
|
210
|
+
counter = 0;
|
211
|
+
if (options.json_url && maxItems()) {
|
212
|
+
if (options.cache && json_cache_object.get(etext)) {
|
213
|
+
addMembers(etext);
|
214
|
+
bindEvents();
|
215
|
+
} else {
|
216
|
+
getBoxTimeout++;
|
217
|
+
var getBoxTimeoutValue = getBoxTimeout;
|
218
|
+
setTimeout( function() {
|
219
|
+
if (getBoxTimeoutValue != getBoxTimeout) return;
|
220
|
+
$.getJSON(options.json_url, {"tag": xssDisplay(etext)}, function(data) {
|
221
|
+
addMembers(etext, data);
|
222
|
+
json_cache_object.set(etext, 1);
|
223
|
+
bindEvents();
|
224
|
+
});
|
225
|
+
}, options.delay);
|
226
|
+
}
|
227
|
+
} else {
|
228
|
+
addMembers(etext);
|
229
|
+
bindEvents();
|
230
|
+
}
|
231
|
+
complete.children(".default").hide();
|
232
|
+
feed.show();
|
233
|
+
}
|
234
|
+
});
|
235
|
+
if (focusme) {
|
236
|
+
setTimeout( function() {
|
237
|
+
input.focus();
|
238
|
+
complete.children(".default").show();
|
239
|
+
}, 1);
|
240
|
+
}
|
241
|
+
}
|
242
|
+
|
243
|
+
function addMembers(etext, data) {
|
244
|
+
feed.html('');
|
245
|
+
if (!options.cache && data != null) {
|
246
|
+
cache.clear();
|
247
|
+
}
|
248
|
+
addTextItem(etext);
|
249
|
+
if (data != null && data.length) {
|
250
|
+
$.each(data, function(i, val) {
|
251
|
+
cache.set(xssPrevent(val.key), xssPrevent(val.value));
|
252
|
+
});
|
253
|
+
}
|
254
|
+
var maximum = options.maxshownitems < cache.length() ? options.maxshownitems: cache.length();
|
255
|
+
var content = '';
|
256
|
+
$.each(cache.search(etext), function (i, object) {
|
257
|
+
if (options.filter_selected && element.children("option[value=" + object.key + "]").hasClass("selected")) {
|
258
|
+
//nothing here...
|
259
|
+
} else {
|
260
|
+
content += '<li rel="' + object.key + '">' + xssDisplay(itemIllumination(object.value, etext)) + '</li>';
|
261
|
+
counter++;
|
262
|
+
maximum--;
|
263
|
+
}
|
264
|
+
});
|
265
|
+
feed.append(content);
|
266
|
+
if (options.firstselected) {
|
267
|
+
focuson = feed.children("li:visible:first");
|
268
|
+
focuson.addClass("auto-focus");
|
269
|
+
}
|
270
|
+
|
271
|
+
if (counter > options.height) {
|
272
|
+
feed.css({
|
273
|
+
"height": (options.height * 24) + "px",
|
274
|
+
"overflow": "auto"
|
275
|
+
});
|
276
|
+
} else {
|
277
|
+
feed.css("height", "auto");
|
278
|
+
}
|
279
|
+
|
280
|
+
if (maxItems() && complete.is(':hidden')) {
|
281
|
+
complete.show();
|
282
|
+
}
|
283
|
+
}
|
284
|
+
|
285
|
+
function itemIllumination(text, etext) {
|
286
|
+
if (options.filter_case) {
|
287
|
+
try {
|
288
|
+
var regex = new RegExp("(.*)(" + etext + ")(.*)", ((options.filter_case) ?"g":"gi"));
|
289
|
+
var text = text.replace(regex,'$1<em>$2</em>$3');
|
290
|
+
} catch(ex) {};
|
291
|
+
} else {
|
292
|
+
try {
|
293
|
+
var regex = new RegExp("(.*)(" + etext.toLowerCase() + ")(.*)", "gi");
|
294
|
+
var text = text.replace(regex,'$1<em>$2</em>$3');
|
295
|
+
} catch(ex) {};
|
296
|
+
}
|
297
|
+
return text;
|
298
|
+
}
|
299
|
+
|
300
|
+
function bindFeedEvent() {
|
301
|
+
feed.children("li").mouseover( function() {
|
302
|
+
feed.children("li").removeClass("auto-focus");
|
303
|
+
focuson = $(this);
|
304
|
+
focuson.addClass("auto-focus");
|
305
|
+
});
|
306
|
+
feed.children("li").mouseout( function() {
|
307
|
+
$(this).removeClass("auto-focus");
|
308
|
+
focuson = null;
|
309
|
+
});
|
310
|
+
}
|
311
|
+
|
312
|
+
function removeFeedEvent() {
|
313
|
+
feed.unbind("mouseover").unbind("mouseout").mousemove( function() {
|
314
|
+
bindFeedEvent();
|
315
|
+
feed.unbind("mousemove");
|
316
|
+
});
|
317
|
+
}
|
318
|
+
|
319
|
+
function bindEvents() {
|
320
|
+
var maininput = $("#" + elemid + "_annoninput").children(".maininput");
|
321
|
+
bindFeedEvent();
|
322
|
+
|
323
|
+
feed.children("li").unbind("mousedown").mousedown( function() {
|
324
|
+
var option = $(this);
|
325
|
+
addItem(option.text(), option.attr("rel"), 0, 0, 1);
|
326
|
+
feed.hide();
|
327
|
+
complete.hide();
|
328
|
+
});
|
329
|
+
|
330
|
+
maininput.unbind("keydown");
|
331
|
+
maininput.keydown( function(event) {
|
332
|
+
|
333
|
+
if (event.keyCode != _key.backspace) {
|
334
|
+
holder.children("li.bit-box.deleted").removeClass("deleted");
|
335
|
+
}
|
336
|
+
|
337
|
+
if ((event.keyCode == _key.enter || event.keyCode == _key.tab) && checkFocusOn()) {
|
338
|
+
var option = focuson;
|
339
|
+
addItem(option.text(), option.attr("rel"), 0, 0, 1);
|
340
|
+
return _preventDefault(event);
|
341
|
+
}
|
342
|
+
|
343
|
+
if ((event.keyCode == _key.enter || event.keyCode == _key.tab) && !checkFocusOn()) {
|
344
|
+
if (options.newel) {
|
345
|
+
var value = xssPrevent($(this).val());
|
346
|
+
addItem(value, value, 0, 0, 1);
|
347
|
+
return _preventDefault(event);
|
348
|
+
}
|
349
|
+
if (options.addontab && options.newel) {
|
350
|
+
focuson = feed.children("li:visible:first");
|
351
|
+
var option = focuson;
|
352
|
+
addItem(option.text(), option.attr("rel"), 0, 0, 1);
|
353
|
+
return _preventDefault(event);
|
354
|
+
}
|
355
|
+
}
|
356
|
+
|
357
|
+
if (event.keyCode == _key.downarrow) {
|
358
|
+
nextItem('first');
|
359
|
+
}
|
360
|
+
if (event.keyCode == _key.uparrow) {
|
361
|
+
nextItem('last');
|
362
|
+
}
|
363
|
+
});
|
364
|
+
}
|
365
|
+
|
366
|
+
function nextItem(position) {
|
367
|
+
removeFeedEvent();
|
368
|
+
if (focuson == null || focuson.length == 0) {
|
369
|
+
focuson = feed.children("li:visible:" + position);
|
370
|
+
feed.get(0).scrollTop = position == 'first' ? 0 : parseInt(focuson.get(0).scrollHeight, 10) * (parseInt(feed.children("li:visible").length, 10) - Math.round(options.height / 2));
|
371
|
+
} else {
|
372
|
+
focuson.removeClass("auto-focus");
|
373
|
+
focuson = position == 'first' ? focuson.nextAll("li:visible:first") : focuson.prevAll("li:visible:first");
|
374
|
+
var prev = parseInt(focuson.prevAll("li:visible").length, 10);
|
375
|
+
var next = parseInt(focuson.nextAll("li:visible").length, 10);
|
376
|
+
if (((position == 'first' ? prev : next) > Math.round(options.height / 2) || (position == 'first' ? prev : next) <= Math.round(options.height / 2)) && typeof(focuson.get(0)) != "undefined") {
|
377
|
+
feed.get(0).scrollTop = parseInt(focuson.get(0).scrollHeight, 10) * (prev - Math.round(options.height / 2));
|
378
|
+
}
|
379
|
+
}
|
380
|
+
feed.children("li").removeClass("auto-focus");
|
381
|
+
focuson.addClass("auto-focus");
|
382
|
+
}
|
383
|
+
|
384
|
+
function _preventDefault(event) {
|
385
|
+
complete.hide();
|
386
|
+
event.preventDefault();
|
387
|
+
focuson = null;
|
388
|
+
return false;
|
389
|
+
}
|
390
|
+
|
391
|
+
function maxItems() {
|
392
|
+
return options.maxitems != 0 && (holder.children("li.bit-box").length < options.maxitems);
|
393
|
+
}
|
394
|
+
|
395
|
+
function addTextItem(value) {
|
396
|
+
if (options.newel && maxItems()) {
|
397
|
+
feed.children("li[fckb=1]").remove();
|
398
|
+
if (value.length == 0) {
|
399
|
+
return;
|
400
|
+
}
|
401
|
+
var li = $('<li rel="'+value+'" fckb="1"">').html(xssDisplay(value));
|
402
|
+
feed.prepend(li);
|
403
|
+
counter++;
|
404
|
+
}
|
405
|
+
return;
|
406
|
+
}
|
407
|
+
|
408
|
+
function funCall(func, item) {
|
409
|
+
var _object = {};
|
410
|
+
for (i = 0; i < item.get(0).attributes.length; i++) {
|
411
|
+
if (item.get(0).attributes[i].nodeValue != null) {
|
412
|
+
_object["_" + item.get(0).attributes[i].nodeName] = item.get(0).attributes[i].nodeValue;
|
413
|
+
}
|
414
|
+
}
|
415
|
+
return func.call(func, _object);
|
416
|
+
}
|
417
|
+
|
418
|
+
function checkFocusOn() {
|
419
|
+
if (focuson == null || focuson.length == 0) {
|
420
|
+
return false;
|
421
|
+
}
|
422
|
+
return true;
|
423
|
+
}
|
424
|
+
|
425
|
+
function xssPrevent(string, flag) {
|
426
|
+
if (typeof flag != "undefined") {
|
427
|
+
for(i = 0; i < string.length; i++) {
|
428
|
+
var charcode = string.charCodeAt(i);
|
429
|
+
if ((_key.exclamation <= charcode && charcode <= _key.slash) ||
|
430
|
+
(_key.colon <= charcode && charcode <= _key.at) ||
|
431
|
+
(_key.squarebricket_left <= charcode && charcode <= _key.apostrof)) {
|
432
|
+
string = string.replace(string[i], escape(string[i]));
|
433
|
+
}
|
434
|
+
}
|
435
|
+
string = string.replace(/(\{|\}|\*)/i, "\\$1");
|
436
|
+
}
|
437
|
+
return string.replace(/script(.*)/g, "");
|
438
|
+
}
|
439
|
+
|
440
|
+
function xssDisplay(string, flag) {
|
441
|
+
string = string.replace('\\', "");
|
442
|
+
if (typeof flag != "undefined") {
|
443
|
+
return string;
|
444
|
+
}
|
445
|
+
return unescape(string);
|
446
|
+
}
|
447
|
+
|
448
|
+
var options = $.extend({
|
449
|
+
json_url: null,
|
450
|
+
cache: false,
|
451
|
+
height: "10",
|
452
|
+
newel: false,
|
453
|
+
addontab: false,
|
454
|
+
firstselected: false,
|
455
|
+
filter_case: false,
|
456
|
+
filter_selected: false,
|
457
|
+
complete_text: "Start to type...",
|
458
|
+
maxshownitems: 30,
|
459
|
+
maxitems: 10,
|
460
|
+
onselect: null,
|
461
|
+
onremove: null,
|
462
|
+
attachto: null,
|
463
|
+
delay: 350,
|
464
|
+
bricket: true
|
465
|
+
},
|
466
|
+
opt);
|
467
|
+
|
468
|
+
//system variables
|
469
|
+
var holder = null;
|
470
|
+
var feed = null;
|
471
|
+
var complete = null;
|
472
|
+
var counter = 0;
|
473
|
+
|
474
|
+
var focuson = null;
|
475
|
+
var deleting = 0;
|
476
|
+
var complete_hover = 1;
|
477
|
+
|
478
|
+
var element = $(this);
|
479
|
+
var elemid = element.attr("id");
|
480
|
+
|
481
|
+
var json_cache = $('<div></div>').after(element);
|
482
|
+
var json_cache_object = {
|
483
|
+
'set': function (id, val) {
|
484
|
+
json_cache.data(id, val);
|
485
|
+
},
|
486
|
+
'get': function(id) {
|
487
|
+
return json_cache.data(id);
|
488
|
+
}
|
489
|
+
};
|
490
|
+
|
491
|
+
var _key = { 'enter': 13,
|
492
|
+
'tab': 9,
|
493
|
+
'backspace': 8,
|
494
|
+
'leftarrow': 37,
|
495
|
+
'uparrow': 38,
|
496
|
+
'rightarrow': 39,
|
497
|
+
'downarrow': 40,
|
498
|
+
'exclamation': 33,
|
499
|
+
'slash': 47,
|
500
|
+
'colon': 58,
|
501
|
+
'at': 64,
|
502
|
+
'squarebricket_left': 91,
|
503
|
+
'apostrof': 96
|
504
|
+
};
|
505
|
+
|
506
|
+
var randomId = function() {
|
507
|
+
var chars = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXTZabcdefghiklmnopqrstuvwxyz";
|
508
|
+
var randomstring = '';
|
509
|
+
for (var i = 0; i < 32; i++) {
|
510
|
+
var rnum = Math.floor(Math.random() * chars.length);
|
511
|
+
randomstring += chars.substring(rnum, rnum + 1);
|
512
|
+
}
|
513
|
+
return randomstring;
|
514
|
+
};
|
515
|
+
|
516
|
+
var cache = {
|
517
|
+
'search': function (text, callback) {
|
518
|
+
var temp = new Array();
|
519
|
+
var regex = new RegExp(text, (options.filter_case ? "g": "gi"));
|
520
|
+
$.each(element.data(), function (i, _elem) {
|
521
|
+
if (typeof _elem.search === 'function') {
|
522
|
+
if (_elem.search(regex) != -1) {
|
523
|
+
temp.push({'key': i, 'value': _elem});
|
524
|
+
}
|
525
|
+
}
|
526
|
+
});
|
527
|
+
return temp;
|
528
|
+
},
|
529
|
+
'set': function (id, val) {
|
530
|
+
element.data(id, val);
|
531
|
+
},
|
532
|
+
'get': function(id) {
|
533
|
+
return element.data(id);
|
534
|
+
},
|
535
|
+
'clear': function() {
|
536
|
+
element.removeData();
|
537
|
+
},
|
538
|
+
'length': function() {
|
539
|
+
var count = 0;
|
540
|
+
for (var k in this) {
|
541
|
+
if (this.hasOwnProperty(k)) {
|
542
|
+
++count;
|
543
|
+
}
|
544
|
+
}
|
545
|
+
return count;
|
546
|
+
}
|
547
|
+
};
|
548
|
+
|
549
|
+
init();
|
550
|
+
return this;
|
551
|
+
});
|
552
|
+
};
|
553
|
+
})(jQuery);
|
@@ -0,0 +1,2 @@
|
|
1
|
+
/** FCBKcomplete v2.8.6 is released under the MIT License <http://www.opensource.org/licenses/mit-license.php> */
|
2
|
+
(function($,undefined){$.fn.fcbkcomplete=function(opt){return this.queue(function(){function init(){createFCBK();addInput(0)}function createFCBK(){holder=$('<ul class="holder"></ul>');if(options.attachto){if(typeof(options.attachto)=="object"){options.attachto.append(holder)}else{$(options.attachto).append(holder)}}else{element.after(holder)}complete=$('<div class="facebook-auto">').append('<div class="default">'+options.complete_text+"</div>");complete.hover(function(){complete_hover=0},function(){complete_hover=1});feed=$('<ul id="'+elemid+'_feed"></ul>');holder.after(complete.prepend(feed));feed.css("width",complete.width());elPrepare()}function elPrepare(){name=element.attr("name");if(options.bricket){if(name.indexOf("[]")==-1){name=name+"[]"}}var temp_elem=$('<'+element.get(0).tagName+' name="'+name+'" id="'+elemid+'" multiple="multiple" class="hidden">');$.each(element.children('option'),function(i,option){option=$(option);temp_elem.data(option.val(),option.text());if(option.hasClass("selected")){var id=addItem(option.text(),option.val(),true,option.hasClass("locked"));temp_elem.append('<option value="'+option.val()+'" selected="selected" id="opt_'+id+'"class="selected">'+option.text()+'</option>')}});element.after(temp_elem);element.remove();element=temp_elem;$(element).bind("addItem",function(event,data){addItem(data.title,data.value,0,0,0)});$(element).bind("removeItem",function(event,data){var item=holder.children('li[rel='+data.value+']');if(item.length){removeItem(item)}});$(element).bind("destroy",function(event,data){holder.remove();complete.remove();element.show()})}function addItem(title,value,preadded,locked,focusme){if(!maxItems()){return false}var liclass="bit-box"+(locked?" locked":"");var id=randomId();var txt=document.createTextNode(xssDisplay(title));var aclose=$('<a class="closebutton" href="#"></a>');var li=$('<li class="'+liclass+'" rel="'+value+'" id="pt_'+id+'"></li>').prepend(txt).append(aclose);holder.append(li);aclose.click(function(){removeItem($(this).parent("li"));return false});if(!preadded){$("#"+elemid+"_annoninput").remove();addInput(focusme);var _item=$('<option value="'+xssDisplay(value,1)+'" id="opt_'+id+'" class="selected" selected="selected">'+xssDisplay(title)+'</option>');element.append(_item);if(options.onselect){funCall(options.onselect,_item)}element.change()}holder.children("li.bit-box.deleted").removeClass("deleted");feed.hide();return id}function removeItem(item){if(!item.hasClass('locked')){item.fadeOut("fast");var id=item.attr('id');if(options.onremove){var _item=id?$("#o"+id+""):element.children("option[value="+item.attr("rel")+"]");funCall(options.onremove,_item)}if(id){$("#o"+id+"").remove()}else{element.children('option[value="'+item.attr("rel")+'"]').remove()}item.remove();element.change();deleting=0}}function addInput(focusme){var li=$('<li class="bit-input" id="'+elemid+'_annoninput">');var input=$('<input type="text" class="maininput" size="1" autocomplete="off">');var getBoxTimeout=0;holder.append(li.append(input));input.focus(function(){if(maxItems()){complete.fadeIn("fast")}});input.blur(function(){if(complete_hover){complete.fadeOut("fast")}else{input.focus()}});holder.click(function(){input.focus();if(feed.length&&input.val().length){feed.show()}else{feed.hide();complete.children(".default").show()}});input.keypress(function(event){if(event.keyCode==_key.enter){return false}input.attr("size",input.val().length+1)});input.keyup(function(event){var etext=xssPrevent(input.val(),1);if(event.keyCode==_key.backspace&&etext.length==0){feed.hide();if(!holder.children("li.bit-box:last").hasClass('locked')){if(holder.children("li.bit-box.deleted").length==0){holder.children("li.bit-box:last").addClass("deleted");return false}else{if(deleting){return}deleting=1;holder.children("li.bit-box.deleted").fadeOut("fast",function(){removeItem($(this));return false})}}}if(event.keyCode!=_key.downarrow&&event.keyCode!=_key.uparrow&&event.keyCode!=_key.leftarrow&&event.keyCode!=_key.rightarrow&&etext.length!=0){counter=0;if(options.json_url&&maxItems()){if(options.cache&&json_cache_object.get(etext)){addMembers(etext);bindEvents()}else{getBoxTimeout++;var getBoxTimeoutValue=getBoxTimeout;setTimeout(function(){if(getBoxTimeoutValue!=getBoxTimeout)return;$.getJSON(options.json_url,{"tag":xssDisplay(etext)},function(data){addMembers(etext,data);json_cache_object.set(etext,1);bindEvents()})},options.delay)}}else{addMembers(etext);bindEvents()}complete.children(".default").hide();feed.show()}});if(focusme){setTimeout(function(){input.focus();complete.children(".default").show()},1)}}function addMembers(etext,data){feed.html('');if(!options.cache&&data!=null){cache.clear()}addTextItem(etext);if(data!=null&&data.length){$.each(data,function(i,val){cache.set(xssPrevent(val.key),xssPrevent(val.value))})}var maximum=options.maxshownitems<cache.length()?options.maxshownitems:cache.length();var content='';$.each(cache.search(etext),function(i,object){if(options.filter_selected&&element.children("option[value="+object.key+"]").hasClass("selected")){}else{content+='<li rel="'+object.key+'">'+xssDisplay(itemIllumination(object.value,etext))+'</li>';counter++;maximum--}});feed.append(content);if(options.firstselected){focuson=feed.children("li:visible:first");focuson.addClass("auto-focus")}if(counter>options.height){feed.css({"height":(options.height*24)+"px","overflow":"auto"})}else{feed.css("height","auto")}if(maxItems()&&complete.is(':hidden')){complete.show()}}function itemIllumination(text,etext){if(options.filter_case){try{var regex=new RegExp("(.*)("+etext+")(.*)",((options.filter_case)?"g":"gi"));var text=text.replace(regex,'$1<em>$2</em>$3')}catch(ex){}}else{try{var regex=new RegExp("(.*)("+etext.toLowerCase()+")(.*)","gi");var text=text.replace(regex,'$1<em>$2</em>$3')}catch(ex){}}return text}function bindFeedEvent(){feed.children("li").mouseover(function(){feed.children("li").removeClass("auto-focus");focuson=$(this);focuson.addClass("auto-focus")});feed.children("li").mouseout(function(){$(this).removeClass("auto-focus");focuson=null})}function removeFeedEvent(){feed.unbind("mouseover").unbind("mouseout").mousemove(function(){bindFeedEvent();feed.unbind("mousemove")})}function bindEvents(){var maininput=$("#"+elemid+"_annoninput").children(".maininput");bindFeedEvent();feed.children("li").unbind("mousedown").mousedown(function(){var option=$(this);addItem(option.text(),option.attr("rel"),0,0,1);feed.hide();complete.hide()});maininput.unbind("keydown");maininput.keydown(function(event){if(event.keyCode!=_key.backspace){holder.children("li.bit-box.deleted").removeClass("deleted")}if((event.keyCode==_key.enter||event.keyCode==_key.tab)&&checkFocusOn()){var option=focuson;addItem(option.text(),option.attr("rel"),0,0,1);return _preventDefault(event)}if((event.keyCode==_key.enter||event.keyCode==_key.tab)&&!checkFocusOn()){if(options.newel){var value=xssPrevent($(this).val());addItem(value,value,0,0,1);return _preventDefault(event)}if(options.addontab&&options.newel){focuson=feed.children("li:visible:first");var option=focuson;addItem(option.text(),option.attr("rel"),0,0,1);return _preventDefault(event)}}if(event.keyCode==_key.downarrow){nextItem('first')}if(event.keyCode==_key.uparrow){nextItem('last')}})}function nextItem(position){removeFeedEvent();if(focuson==null||focuson.length==0){focuson=feed.children("li:visible:"+position);feed.get(0).scrollTop=position=='first'?0:parseInt(focuson.get(0).scrollHeight,10)*(parseInt(feed.children("li:visible").length,10)-Math.round(options.height/2))}else{focuson.removeClass("auto-focus");focuson=position=='first'?focuson.nextAll("li:visible:first"):focuson.prevAll("li:visible:first");var prev=parseInt(focuson.prevAll("li:visible").length,10);var next=parseInt(focuson.nextAll("li:visible").length,10);if(((position=='first'?prev:next)>Math.round(options.height/2)||(position=='first'?prev:next)<=Math.round(options.height/2))&&typeof(focuson.get(0))!="undefined"){feed.get(0).scrollTop=parseInt(focuson.get(0).scrollHeight,10)*(prev-Math.round(options.height/2))}}feed.children("li").removeClass("auto-focus");focuson.addClass("auto-focus")}function _preventDefault(event){complete.hide();event.preventDefault();focuson=null;return false}function maxItems(){return options.maxitems!=0&&(holder.children("li.bit-box").length<options.maxitems)}function addTextItem(value){if(options.newel&&maxItems()){feed.children("li[fckb=1]").remove();if(value.length==0){return}var li=$('<li rel="'+value+'" fckb="1"">').html(xssDisplay(value));feed.prepend(li);counter++}return}function funCall(func,item){var _object={};for(i=0;i<item.get(0).attributes.length;i++){if(item.get(0).attributes[i].nodeValue!=null){_object["_"+item.get(0).attributes[i].nodeName]=item.get(0).attributes[i].nodeValue}}return func.call(func,_object)}function checkFocusOn(){if(focuson==null||focuson.length==0){return false}return true}function xssPrevent(string,flag){if(typeof flag!="undefined"){for(i=0;i<string.length;i++){var charcode=string.charCodeAt(i);if((_key.exclamation<=charcode&&charcode<=_key.slash)||(_key.colon<=charcode&&charcode<=_key.at)||(_key.squarebricket_left<=charcode&&charcode<=_key.apostrof)){string=string.replace(string[i],escape(string[i]))}}string=string.replace(/(\{|\}|\*)/i,"\\$1")}return string.replace(/script(.*)/g,"")}function xssDisplay(string,flag){string=string.replace('\\',"");if(typeof flag!="undefined"){return string}return unescape(string)}var options=$.extend({json_url:null,cache:false,height:"10",newel:false,addontab:false,firstselected:false,filter_case:false,filter_selected:false,complete_text:"Start to type...",maxshownitems:30,maxitems:10,onselect:null,onremove:null,attachto:null,delay:350,bricket:true},opt);var holder=null;var feed=null;var complete=null;var counter=0;var focuson=null;var deleting=0;var complete_hover=1;var element=$(this);var elemid=element.attr("id");var json_cache=$('<div></div>').after(element);var json_cache_object={'set':function(id,val){json_cache.data(id,val)},'get':function(id){return json_cache.data(id)}};var _key={'enter':13,'tab':9,'backspace':8,'leftarrow':37,'uparrow':38,'rightarrow':39,'downarrow':40,'exclamation':33,'slash':47,'colon':58,'at':64,'squarebricket_left':91,'apostrof':96};var randomId=function(){var chars="0123456789ABCDEFGHIJKLMNOPQRSTUVWXTZabcdefghiklmnopqrstuvwxyz";var randomstring='';for(var i=0;i<32;i++){var rnum=Math.floor(Math.random()*chars.length);randomstring+=chars.substring(rnum,rnum+1)}return randomstring};var cache={'search':function(text,callback){var temp=new Array();var regex=new RegExp(text,(options.filter_case?"g":"gi"));$.each(element.data(),function(i,_elem){if(typeof _elem.search==='function'){if(_elem.search(regex)!=-1){temp.push({'key':i,'value':_elem})}}});return temp},'set':function(id,val){element.data(id,val)},'get':function(id){return element.data(id)},'clear':function(){element.removeData()},'length':function(){var count=0;for(var k in this){if(this.hasOwnProperty(k)){++count}}return count}};init();return this})}})(jQuery);
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/menu-collapsed.js
RENAMED
File without changes
|
File without changes
|
@@ -0,0 +1,4 @@
|
|
1
|
+
/* Modernizr 2.0.6 (Custom Build) | MIT & BSD
|
2
|
+
* Contains: canvas | canvastext | iepp | cssclasses | load
|
3
|
+
*/
|
4
|
+
;window.Modernizr=function(a,b,c){function x(a,b){return!!~(""+a).indexOf(b)}function w(a,b){return typeof a===b}function v(a,b){return u(prefixes.join(a+";")+(b||""))}function u(a){k.cssText=a}var d="2.0.6",e={},f=!0,g=b.documentElement,h=b.head||b.getElementsByTagName("head")[0],i="modernizr",j=b.createElement(i),k=j.style,l,m=Object.prototype.toString,n={},o={},p={},q=[],r,s={}.hasOwnProperty,t;!w(s,c)&&!w(s.call,c)?t=function(a,b){return s.call(a,b)}:t=function(a,b){return b in a&&w(a.constructor.prototype[b],c)},n.canvas=function(){var a=b.createElement("canvas");return!!a.getContext&&!!a.getContext("2d")},n.canvastext=function(){return!!e.canvas&&!!w(b.createElement("canvas").getContext("2d").fillText,"function")};for(var y in n)t(n,y)&&(r=y.toLowerCase(),e[r]=n[y](),q.push((e[r]?"":"no-")+r));u(""),j=l=null,a.attachEvent&&function(){var a=b.createElement("div");a.innerHTML="<elem></elem>";return a.childNodes.length!==1}()&&function(a,b){function s(a){var b=-1;while(++b<g)a.createElement(f[b])}a.iepp=a.iepp||{};var d=a.iepp,e=d.html5elements||"abbr|article|aside|audio|canvas|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",f=e.split("|"),g=f.length,h=new RegExp("(^|\\s)("+e+")","gi"),i=new RegExp("<(/*)("+e+")","gi"),j=/^\s*[\{\}]\s*$/,k=new RegExp("(^|[^\\n]*?\\s)("+e+")([^\\n]*)({[\\n\\w\\W]*?})","gi"),l=b.createDocumentFragment(),m=b.documentElement,n=m.firstChild,o=b.createElement("body"),p=b.createElement("style"),q=/print|all/,r;d.getCSS=function(a,b){if(a+""===c)return"";var e=-1,f=a.length,g,h=[];while(++e<f){g=a[e];if(g.disabled)continue;b=g.media||b,q.test(b)&&h.push(d.getCSS(g.imports,b),g.cssText),b="all"}return h.join("")},d.parseCSS=function(a){var b=[],c;while((c=k.exec(a))!=null)b.push(((j.exec(c[1])?"\n":c[1])+c[2]+c[3]).replace(h,"$1.iepp_$2")+c[4]);return b.join("\n")},d.writeHTML=function(){var a=-1;r=r||b.body;while(++a<g){var c=b.getElementsByTagName(f[a]),d=c.length,e=-1;while(++e<d)c[e].className.indexOf("iepp_")<0&&(c[e].className+=" iepp_"+f[a])}l.appendChild(r),m.appendChild(o),o.className=r.className,o.id=r.id,o.innerHTML=r.innerHTML.replace(i,"<$1font")},d._beforePrint=function(){p.styleSheet.cssText=d.parseCSS(d.getCSS(b.styleSheets,"all")),d.writeHTML()},d.restoreHTML=function(){o.innerHTML="",m.removeChild(o),m.appendChild(r)},d._afterPrint=function(){d.restoreHTML(),p.styleSheet.cssText=""},s(b),s(l);d.disablePP||(n.insertBefore(p,n.firstChild),p.media="print",p.className="iepp-printshim",a.attachEvent("onbeforeprint",d._beforePrint),a.attachEvent("onafterprint",d._afterPrint))}(a,b),e._version=d,g.className=g.className.replace(/\bno-js\b/,"")+(f?" js "+q.join(" "):"");return e}(this,this.document),function(a,b,c){function k(a){return!a||a=="loaded"||a=="complete"}function j(){var a=1,b=-1;while(p.length- ++b)if(p[b].s&&!(a=p[b].r))break;a&&g()}function i(a){var c=b.createElement("script"),d;c.src=a.s,c.onreadystatechange=c.onload=function(){!d&&k(c.readyState)&&(d=1,j(),c.onload=c.onreadystatechange=null)},m(function(){d||(d=1,j())},H.errorTimeout),a.e?c.onload():n.parentNode.insertBefore(c,n)}function h(a){var c=b.createElement("link"),d;c.href=a.s,c.rel="stylesheet",c.type="text/css";if(!a.e&&(w||r)){var e=function(a){m(function(){if(!d)try{a.sheet.cssRules.length?(d=1,j()):e(a)}catch(b){b.code==1e3||b.message=="security"||b.message=="denied"?(d=1,m(function(){j()},0)):e(a)}},0)};e(c)}else c.onload=function(){d||(d=1,m(function(){j()},0))},a.e&&c.onload();m(function(){d||(d=1,j())},H.errorTimeout),!a.e&&n.parentNode.insertBefore(c,n)}function g(){var a=p.shift();q=1,a?a.t?m(function(){a.t=="c"?h(a):i(a)},0):(a(),j()):q=0}function f(a,c,d,e,f,h){function i(){!o&&k(l.readyState)&&(r.r=o=1,!q&&j(),l.onload=l.onreadystatechange=null,m(function(){u.removeChild(l)},0))}var l=b.createElement(a),o=0,r={t:d,s:c,e:h};l.src=l.data=c,!s&&(l.style.display="none"),l.width=l.height="0",a!="object"&&(l.type=d),l.onload=l.onreadystatechange=i,a=="img"?l.onerror=i:a=="script"&&(l.onerror=function(){r.e=r.r=1,g()}),p.splice(e,0,r),u.insertBefore(l,s?null:n),m(function(){o||(u.removeChild(l),r.r=r.e=o=1,j())},H.errorTimeout)}function e(a,b,c){var d=b=="c"?z:y;q=0,b=b||"j",C(a)?f(d,a,b,this.i++,l,c):(p.splice(this.i++,0,a),p.length==1&&g());return this}function d(){var a=H;a.loader={load:e,i:0};return a}var l=b.documentElement,m=a.setTimeout,n=b.getElementsByTagName("script")[0],o={}.toString,p=[],q=0,r="MozAppearance"in l.style,s=r&&!!b.createRange().compareNode,t=r&&!s,u=s?l:n.parentNode,v=a.opera&&o.call(a.opera)=="[object Opera]",w="webkitAppearance"in l.style,x=w&&"async"in b.createElement("script"),y=r?"object":v||x?"img":"script",z=w?"img":y,A=Array.isArray||function(a){return o.call(a)=="[object Array]"},B=function(a){return Object(a)===a},C=function(a){return typeof a=="string"},D=function(a){return o.call(a)=="[object Function]"},E=[],F={},G,H;H=function(a){function f(a){var b=a.split("!"),c=E.length,d=b.pop(),e=b.length,f={url:d,origUrl:d,prefixes:b},g,h;for(h=0;h<e;h++)g=F[b[h]],g&&(f=g(f));for(h=0;h<c;h++)f=E[h](f);return f}function e(a,b,e,g,h){var i=f(a),j=i.autoCallback;if(!i.bypass){b&&(b=D(b)?b:b[a]||b[g]||b[a.split("/").pop().split("?")[0]]);if(i.instead)return i.instead(a,b,e,g,h);e.load(i.url,i.forceCSS||!i.forceJS&&/css$/.test(i.url)?"c":c,i.noexec),(D(b)||D(j))&&e.load(function(){d(),b&&b(i.origUrl,h,g),j&&j(i.origUrl,h,g)})}}function b(a,b){function c(a){if(C(a))e(a,h,b,0,d);else if(B(a))for(i in a)a.hasOwnProperty(i)&&e(a[i],h,b,i,d)}var d=!!a.test,f=d?a.yep:a.nope,g=a.load||a.both,h=a.callback,i;c(f),c(g),a.complete&&b.load(a.complete)}var g,h,i=this.yepnope.loader;if(C(a))e(a,0,i,0);else if(A(a))for(g=0;g<a.length;g++)h=a[g],C(h)?e(h,0,i,0):A(h)?H(h):B(h)&&b(h,i);else B(a)&&b(a,i)},H.addPrefix=function(a,b){F[a]=b},H.addFilter=function(a){E.push(a)},H.errorTimeout=1e4,b.readyState==null&&b.addEventListener&&(b.readyState="loading",b.addEventListener("DOMContentLoaded",G=function(){b.removeEventListener("DOMContentLoaded",G,0),b.readyState="complete"},0)),a.yepnope=d()}(this,this.document),Modernizr.load=function(){yepnope.apply(window,[].slice.call(arguments,0))};
|
File without changes
|
@@ -0,0 +1,35 @@
|
|
1
|
+
var notifications_open = false;
|
2
|
+
var api_key_open = false;
|
3
|
+
|
4
|
+
closeAllSettings = function() {
|
5
|
+
$("#notifications_settings_content").hide("slow");
|
6
|
+
$("#notifications_settings_briefing").show("slow");
|
7
|
+
notifications_open = false;
|
8
|
+
$("#api_key_settings_content").hide("slow");
|
9
|
+
$("#api_key_settings_briefing").show("slow");
|
10
|
+
api_key_open = false;
|
11
|
+
}
|
12
|
+
showNotificationsSettings = function() {
|
13
|
+
if (notifications_open) {
|
14
|
+
$("#notifications_settings_content").hide("slow");
|
15
|
+
$("#notifications_settings_briefing").show("slow");
|
16
|
+
notifications_open = false;
|
17
|
+
} else {
|
18
|
+
closeAllSettings();
|
19
|
+
$("#notifications_settings_content").show("slow");
|
20
|
+
$("#notifications_settings_briefing").hide("slow");
|
21
|
+
notifications_open = true;
|
22
|
+
}
|
23
|
+
}
|
24
|
+
showApiKeySettings = function() {
|
25
|
+
if (api_key_open) {
|
26
|
+
$("#api_key_settings_content").hide("slow");
|
27
|
+
$("#api_key_settings_briefing").show("slow");
|
28
|
+
api_key_open = false;
|
29
|
+
} else {
|
30
|
+
closeAllSettings();
|
31
|
+
$("#api_key_settings_content").show("slow");
|
32
|
+
$("#api_key_settings_briefing").hide("slow");
|
33
|
+
api_key_open = true;
|
34
|
+
}
|
35
|
+
}
|
data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/superfish.js
RENAMED
File without changes
|
data/{lib/generators/social_stream/base/templates/public → app/assets}/javascripts/ui.checkbox.js
RENAMED
File without changes
|