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.
Files changed (95) hide show
  1. data/CHANGELOG.rdoc +6 -0
  2. data/README.md +1 -1
  3. data/app/assets/javascripts/sunrise/manage.js.coffee +13 -1
  4. data/app/controllers/sunrise/application_controller.rb +2 -0
  5. data/app/controllers/sunrise/dashboard_controller.rb +4 -3
  6. data/app/helpers/sunrise/dashboard_helper.rb +36 -0
  7. data/app/views/sunrise/dashboard/_activity.html.erb +16 -0
  8. data/app/views/sunrise/dashboard/index.html.erb +32 -32
  9. data/config/locales/sunrise/en.yml +10 -2
  10. data/config/locales/sunrise/ru.yml +10 -6
  11. data/config/locales/sunrise/uk.yml +10 -6
  12. data/db/migrate/20111216144915_create_structures.rb +4 -3
  13. data/lib/generators/sunrise/templates/config/nginx-config +1 -1
  14. data/lib/generators/sunrise/templates/config/seeds.rb +2 -3
  15. data/lib/generators/sunrise/templates/config/sunrise.rb +43 -10
  16. data/lib/generators/sunrise/templates/models/active_record/asset.rb +1 -1
  17. data/lib/generators/sunrise/templates/models/active_record/settings.rb +3 -0
  18. data/lib/generators/sunrise/templates/models/active_record/structure.rb +2 -1
  19. data/lib/generators/sunrise/templates/models/active_record/user.rb +2 -1
  20. data/lib/generators/sunrise/templates/models/mongoid/asset.rb +2 -1
  21. data/lib/generators/sunrise/templates/models/mongoid/settings.rb +3 -0
  22. data/lib/generators/sunrise/templates/models/mongoid/structure.rb +2 -2
  23. data/lib/generators/sunrise/templates/models/mongoid/user.rb +2 -2
  24. data/lib/generators/sunrise/templates/models/sunrise/sunrise_structure.rb +2 -2
  25. data/lib/sunrise/config.rb +2 -10
  26. data/lib/sunrise/models/ability.rb +1 -1
  27. data/lib/sunrise/models/structure.rb +6 -5
  28. data/lib/sunrise/utils.rb +3 -3
  29. data/lib/sunrise/version.rb +1 -1
  30. data/spec/controllers/sunrise/dashboard_controller_spec.rb +4 -2
  31. data/spec/controllers/sunrise/manager_controller_spec.rb +1 -1
  32. data/spec/dummy/app/helpers/application_helper.rb +10 -0
  33. data/spec/dummy/app/models/active_record/post.rb +4 -0
  34. data/spec/dummy/app/models/mongoid/post.rb +2 -2
  35. data/spec/dummy/app/views/public_activity/post/_create.html.erb +5 -0
  36. data/spec/dummy/app/views/public_activity/post/_destroy.html.erb +5 -0
  37. data/spec/dummy/app/views/public_activity/post/_update.html.erb +5 -0
  38. data/spec/dummy/config/routes.rb +1 -0
  39. data/spec/dummy/db/migrate/20130214090723_create_activities.rb +23 -0
  40. data/spec/dummy/log/development.log +1 -0
  41. data/spec/dummy/log/test.log +30059 -0
  42. data/spec/models/structure_spec.rb +1 -1
  43. data/spec/orm/active_record.rb +0 -3
  44. data/spec/orm/mongoid.rb +12 -1
  45. data/spec/requests/dashboard_spec.rb +5 -2
  46. data/spec/requests/manager/default/create_spec.rb +2 -2
  47. data/spec/requests/manager/default/edit_spec.rb +2 -2
  48. data/spec/requests/manager/default/new_spec.rb +1 -1
  49. data/spec/requests/manager/default/update_spec.rb +2 -2
  50. data/vendor/assets/images/gravatar-140.png +0 -0
  51. data/vendor/assets/images/sunrise/audit/{action.png → key.png} +0 -0
  52. data/vendor/assets/images/sunrise/audit/{user.png → owner.png} +0 -0
  53. data/vendor/assets/images/sunrise/audit/{auditable.png → trackable.png} +0 -0
  54. data/vendor/assets/images/sunrise/icons/commented.svg +8 -0
  55. data/vendor/assets/images/sunrise/icons/create.svg +3 -0
  56. data/vendor/assets/images/sunrise/icons/destroy.svg +7 -0
  57. data/vendor/assets/images/sunrise/icons/update.svg +10 -0
  58. metadata +39 -79
  59. data/app/views/sunrise/dashboard/_event.html.erb +0 -15
  60. data/lib/generators/sunrise/templates/models/mongoid/history_tracker.rb +0 -31
  61. data/spec/factories/audit_factory.rb +0 -24
  62. data/spec/tmp/app/models/defaults/ability.rb +0 -18
  63. data/spec/tmp/app/models/defaults/asset.rb +0 -7
  64. data/spec/tmp/app/models/defaults/attachment_file.rb +0 -5
  65. data/spec/tmp/app/models/defaults/avatar.rb +0 -7
  66. data/spec/tmp/app/models/defaults/picture.rb +0 -7
  67. data/spec/tmp/app/models/defaults/position_type.rb +0 -7
  68. data/spec/tmp/app/models/defaults/role_type.rb +0 -8
  69. data/spec/tmp/app/models/defaults/settings.rb +0 -3
  70. data/spec/tmp/app/models/defaults/structure.rb +0 -9
  71. data/spec/tmp/app/models/defaults/structure_type.rb +0 -9
  72. data/spec/tmp/app/models/defaults/user.rb +0 -13
  73. data/spec/tmp/app/models/sunrise/sunrise_navigation.rb +0 -14
  74. data/spec/tmp/app/models/sunrise/sunrise_page.rb +0 -10
  75. data/spec/tmp/app/models/sunrise/sunrise_structure.rb +0 -35
  76. data/spec/tmp/app/models/sunrise/sunrise_user.rb +0 -50
  77. data/spec/tmp/app/uploaders/attachment_file_uploader.rb +0 -5
  78. data/spec/tmp/app/uploaders/avatar_uploader.rb +0 -15
  79. data/spec/tmp/app/uploaders/picture_uploader.rb +0 -15
  80. data/spec/tmp/app/views/layouts/application.html.erb +0 -22
  81. data/spec/tmp/app/views/pages/show.html.erb +0 -2
  82. data/spec/tmp/app/views/shared/_notice.html.erb +0 -17
  83. data/spec/tmp/config/application.rb +0 -63
  84. data/spec/tmp/config/database.yml.sample +0 -34
  85. data/spec/tmp/config/initializers/sunrise.rb +0 -18
  86. data/spec/tmp/config/logrotate-config.sample +0 -9
  87. data/spec/tmp/config/nginx-config.sample +0 -99
  88. data/spec/tmp/config/routes.rb +0 -9
  89. data/spec/tmp/db/seeds.rb +0 -31
  90. data/spec/tmp/spec/controllers/pages_controller_spec.rb +0 -22
  91. data/spec/tmp/spec/controllers/welcome_controller_spec.rb +0 -18
  92. data/spec/tmp/spec/factories/structure_factory.rb +0 -22
  93. data/spec/tmp/spec/factories/user_factory.rb +0 -61
  94. data/spec/tmp/spec/spec_helper.rb +0 -37
  95. 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.