social_stream 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +2 -0
- data/Gemfile.lock +1 -1
- data/README.rdoc +4 -4
- data/app/controllers/private_messages_controller.rb +3 -0
- data/app/controllers/users_controller.rb +26 -0
- data/app/models/permission.rb +19 -0
- data/app/models/private_message.rb +6 -0
- data/app/models/profile.rb +3 -0
- data/app/models/tie.rb +28 -2
- data/app/models/user.rb +29 -13
- data/app/views/home/_options.html.erb +4 -1
- data/app/views/home/_right.html.erb +1 -1
- data/app/views/layouts/application.html.erb +7 -4
- data/app/views/private_messages/_form.html.erb +24 -0
- data/app/views/private_messages/_index.html.erb +24 -0
- data/app/views/private_messages/_location.html.erb +3 -0
- data/app/views/private_messages/_messages.html.erb +2 -0
- data/app/views/private_messages/_private_message.html.erb +17 -0
- data/app/views/private_messages/edit.html.erb +6 -0
- data/app/views/private_messages/index.html.erb +1 -0
- data/app/views/private_messages/index.js.erb +1 -0
- data/app/views/private_messages/new.html.erb +14 -0
- data/app/views/private_messages/show.html.erb +21 -0
- data/app/views/users/_contacts.html.erb +2 -0
- data/app/views/users/_profile.html.erb +44 -57
- data/app/views/users/edit.html.erb +164 -0
- data/config/locales/en.yml +5 -4
- data/config/routes.rb +1 -0
- data/lib/generators/social_stream/install_generator.rb +4 -0
- data/lib/generators/social_stream/templates/migration.rb +21 -3
- data/lib/generators/social_stream/templates/public/javascripts/jquery-ui.min.js +401 -0
- data/lib/generators/social_stream/templates/public/stylesheets/edit_user.css +80 -0
- data/lib/generators/social_stream/templates/public/stylesheets/message.css +46 -0
- data/lib/social_stream/populate.rb +26 -0
- data/lib/social_stream/version.rb +1 -1
- data/lib/tasks/db/populate.rake +2 -2
- data/spec/controllers/.groups_controller_spec.rb.swp +0 -0
- data/spec/controllers/.users_controller_spec.rb.swp +0 -0
- data/spec/controllers/frontpage_controller_spec.rb +11 -0
- data/spec/controllers/groups_controller_spec.rb +51 -0
- data/spec/controllers/home_controller_spec.rb +24 -0
- data/spec/controllers/users_controller_spec.rb +48 -0
- data/spec/factories/post.rb +1 -0
- data/spec/factories/user.rb +2 -0
- data/spec/spec_helper.rb +1 -1
- data/spec/support/devise.rb +4 -0
- metadata +29 -7
- data/spec/dummy/app/models/post.rb +0 -2
- data/spec/dummy/app/models/user.rb +0 -2
- data/spec/dummy/app/views/layouts/application.html.erb +0 -14