sunrise-cms 0.5.3 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.rdoc +6 -0
- data/README.md +1 -1
- data/app/assets/javascripts/sunrise/manage.js.coffee +13 -1
- data/app/controllers/sunrise/application_controller.rb +2 -0
- data/app/controllers/sunrise/dashboard_controller.rb +4 -3
- data/app/helpers/sunrise/dashboard_helper.rb +36 -0
- data/app/views/sunrise/dashboard/_activity.html.erb +16 -0
- data/app/views/sunrise/dashboard/index.html.erb +32 -32
- data/config/locales/sunrise/en.yml +10 -2
- data/config/locales/sunrise/ru.yml +10 -6
- data/config/locales/sunrise/uk.yml +10 -6
- data/db/migrate/20111216144915_create_structures.rb +4 -3
- data/lib/generators/sunrise/templates/config/nginx-config +1 -1
- data/lib/generators/sunrise/templates/config/seeds.rb +2 -3
- data/lib/generators/sunrise/templates/config/sunrise.rb +43 -10
- data/lib/generators/sunrise/templates/models/active_record/asset.rb +1 -1
- data/lib/generators/sunrise/templates/models/active_record/settings.rb +3 -0
- data/lib/generators/sunrise/templates/models/active_record/structure.rb +2 -1
- data/lib/generators/sunrise/templates/models/active_record/user.rb +2 -1
- data/lib/generators/sunrise/templates/models/mongoid/asset.rb +2 -1
- data/lib/generators/sunrise/templates/models/mongoid/settings.rb +3 -0
- data/lib/generators/sunrise/templates/models/mongoid/structure.rb +2 -2
- data/lib/generators/sunrise/templates/models/mongoid/user.rb +2 -2
- data/lib/generators/sunrise/templates/models/sunrise/sunrise_structure.rb +2 -2
- data/lib/sunrise/config.rb +2 -10
- data/lib/sunrise/models/ability.rb +1 -1
- data/lib/sunrise/models/structure.rb +6 -5
- data/lib/sunrise/utils.rb +3 -3
- data/lib/sunrise/version.rb +1 -1
- data/spec/controllers/sunrise/dashboard_controller_spec.rb +4 -2
- data/spec/controllers/sunrise/manager_controller_spec.rb +1 -1
- data/spec/dummy/app/helpers/application_helper.rb +10 -0
- data/spec/dummy/app/models/active_record/post.rb +4 -0
- data/spec/dummy/app/models/mongoid/post.rb +2 -2
- data/spec/dummy/app/views/public_activity/post/_create.html.erb +5 -0
- data/spec/dummy/app/views/public_activity/post/_destroy.html.erb +5 -0
- data/spec/dummy/app/views/public_activity/post/_update.html.erb +5 -0
- data/spec/dummy/config/routes.rb +1 -0
- data/spec/dummy/db/migrate/20130214090723_create_activities.rb +23 -0
- data/spec/dummy/log/development.log +1 -0
- data/spec/dummy/log/test.log +30059 -0
- data/spec/models/structure_spec.rb +1 -1
- data/spec/orm/active_record.rb +0 -3
- data/spec/orm/mongoid.rb +12 -1
- data/spec/requests/dashboard_spec.rb +5 -2
- data/spec/requests/manager/default/create_spec.rb +2 -2
- data/spec/requests/manager/default/edit_spec.rb +2 -2
- data/spec/requests/manager/default/new_spec.rb +1 -1
- data/spec/requests/manager/default/update_spec.rb +2 -2
- data/vendor/assets/images/gravatar-140.png +0 -0
- data/vendor/assets/images/sunrise/audit/{action.png → key.png} +0 -0
- data/vendor/assets/images/sunrise/audit/{user.png → owner.png} +0 -0
- data/vendor/assets/images/sunrise/audit/{auditable.png → trackable.png} +0 -0
- data/vendor/assets/images/sunrise/icons/commented.svg +8 -0
- data/vendor/assets/images/sunrise/icons/create.svg +3 -0
- data/vendor/assets/images/sunrise/icons/destroy.svg +7 -0
- data/vendor/assets/images/sunrise/icons/update.svg +10 -0
- metadata +39 -79
- data/app/views/sunrise/dashboard/_event.html.erb +0 -15
- data/lib/generators/sunrise/templates/models/mongoid/history_tracker.rb +0 -31
- data/spec/factories/audit_factory.rb +0 -24
- data/spec/tmp/app/models/defaults/ability.rb +0 -18
- data/spec/tmp/app/models/defaults/asset.rb +0 -7
- data/spec/tmp/app/models/defaults/attachment_file.rb +0 -5
- data/spec/tmp/app/models/defaults/avatar.rb +0 -7
- data/spec/tmp/app/models/defaults/picture.rb +0 -7
- data/spec/tmp/app/models/defaults/position_type.rb +0 -7
- data/spec/tmp/app/models/defaults/role_type.rb +0 -8
- data/spec/tmp/app/models/defaults/settings.rb +0 -3
- data/spec/tmp/app/models/defaults/structure.rb +0 -9
- data/spec/tmp/app/models/defaults/structure_type.rb +0 -9
- data/spec/tmp/app/models/defaults/user.rb +0 -13
- data/spec/tmp/app/models/sunrise/sunrise_navigation.rb +0 -14
- data/spec/tmp/app/models/sunrise/sunrise_page.rb +0 -10
- data/spec/tmp/app/models/sunrise/sunrise_structure.rb +0 -35
- data/spec/tmp/app/models/sunrise/sunrise_user.rb +0 -50
- data/spec/tmp/app/uploaders/attachment_file_uploader.rb +0 -5
- data/spec/tmp/app/uploaders/avatar_uploader.rb +0 -15
- data/spec/tmp/app/uploaders/picture_uploader.rb +0 -15
- data/spec/tmp/app/views/layouts/application.html.erb +0 -22
- data/spec/tmp/app/views/pages/show.html.erb +0 -2
- data/spec/tmp/app/views/shared/_notice.html.erb +0 -17
- data/spec/tmp/config/application.rb +0 -63
- data/spec/tmp/config/database.yml.sample +0 -34
- data/spec/tmp/config/initializers/sunrise.rb +0 -18
- data/spec/tmp/config/logrotate-config.sample +0 -9
- data/spec/tmp/config/nginx-config.sample +0 -99
- data/spec/tmp/config/routes.rb +0 -9
- data/spec/tmp/db/seeds.rb +0 -31
- data/spec/tmp/spec/controllers/pages_controller_spec.rb +0 -22
- data/spec/tmp/spec/controllers/welcome_controller_spec.rb +0 -18
- data/spec/tmp/spec/factories/structure_factory.rb +0 -22
- data/spec/tmp/spec/factories/user_factory.rb +0 -61
- data/spec/tmp/spec/spec_helper.rb +0 -37
- data/spec/tmp/spec/support/helpers/controller_macros.rb +0 -52
There are too many changes on this page to be displayed.
The amount of changes on this page would crash your brower.
You can still verify the content by downloading the gem file manually.