refinerycms 0.9.8 → 0.9.8.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (134) hide show
  1. data/Gemfile +6 -6
  2. data/app/controllers/application_controller.rb +2 -1
  3. data/bin/refinerycms +36 -32
  4. data/changelog.md +471 -0
  5. data/config/environments/production.rb +1 -1
  6. data/db/migrate/20100606135207_change_thumbnail_sizes_for_dragonfly.rb +4 -4
  7. data/db/migrate/20100826232810_move_inquiry_settings_to_refinery_settings.rb +2 -2
  8. data/db/migrate/20100831122919_move_page_to_nested_set.rb +28 -0
  9. data/db/schema.rb +7 -1
  10. data/db/seeds/refinery_settings.rb +2 -4
  11. data/license.md +21 -0
  12. data/readme.md +97 -0
  13. data/todo.md +61 -0
  14. data/vendor/refinerycms/authentication/app/views/admin/users/index.html.erb +5 -13
  15. data/vendor/refinerycms/authentication/app/views/layouts/login.html.erb +1 -1
  16. data/vendor/refinerycms/authentication/config/locales/de.yml +53 -56
  17. data/vendor/refinerycms/authentication/config/locales/en.yml +1 -2
  18. data/vendor/refinerycms/authentication/config/locales/lv.yml +38 -38
  19. data/vendor/refinerycms/authentication/config/locales/pt-BR.yml +21 -48
  20. data/vendor/refinerycms/authentication/features/lost_password.feature +40 -0
  21. data/vendor/refinerycms/authentication/features/manage_users.feature +57 -0
  22. data/vendor/refinerycms/authentication/features/step_definitions/lost_password.rb +8 -0
  23. data/vendor/refinerycms/authentication/features/step_definitions/user_steps.rb +32 -0
  24. data/vendor/refinerycms/authentication/features/support/factories.rb +17 -0
  25. data/vendor/refinerycms/authentication/features/support/paths.rb +24 -0
  26. data/vendor/refinerycms/authentication/lib/authenticated_system.rb +1 -1
  27. data/vendor/refinerycms/authentication/lib/authentication.rb +1 -1
  28. data/vendor/refinerycms/core/app/views/admin/_head.html.erb +4 -4
  29. data/vendor/refinerycms/core/app/views/admin/_menu_tab.html.erb +2 -2
  30. data/vendor/refinerycms/core/app/views/layouts/admin.html.erb +1 -1
  31. data/vendor/refinerycms/core/app/views/layouts/admin_dialog.html.erb +1 -1
  32. data/vendor/refinerycms/core/app/views/shared/_footer.html.erb +1 -1
  33. data/vendor/refinerycms/core/app/views/shared/_google_analytics.html.erb +1 -1
  34. data/vendor/refinerycms/core/app/views/shared/_header.html.erb +1 -1
  35. data/vendor/refinerycms/core/app/views/shared/_menu.html.erb +5 -2
  36. data/vendor/refinerycms/core/app/views/shared/_menu_branch.html.erb +6 -3
  37. data/vendor/refinerycms/core/app/views/shared/_site_bar.html.erb +11 -15
  38. data/vendor/refinerycms/core/app/views/shared/admin/_form_actions.html.erb +1 -0
  39. data/vendor/refinerycms/core/app/views/shared/admin/_image_picker.html.erb +3 -3
  40. data/vendor/refinerycms/core/app/views/shared/admin/_make_sortable.html.erb +2 -1
  41. data/vendor/refinerycms/core/app/views/shared/admin/_resource_picker.html.erb +24 -17
  42. data/vendor/refinerycms/core/app/views/wymiframe.html.erb +1 -1
  43. data/vendor/refinerycms/core/config/locales/de.yml +50 -51
  44. data/vendor/refinerycms/core/config/locales/en.yml +5 -2
  45. data/vendor/refinerycms/core/config/locales/lv.yml +6 -3
  46. data/vendor/refinerycms/core/config/locales/pt-BR.yml +34 -38
  47. data/vendor/refinerycms/core/crud.md +12 -12
  48. data/vendor/refinerycms/core/features/engine_generator.feature +27 -0
  49. data/vendor/refinerycms/core/features/search.feature +56 -0
  50. data/vendor/refinerycms/core/features/site_bar.feature +24 -0
  51. data/vendor/refinerycms/core/features/step_definitions/core_steps.rb +61 -0
  52. data/vendor/refinerycms/core/features/step_definitions/engine_generator_steps.rb +19 -0
  53. data/vendor/refinerycms/core/features/step_definitions/generator_steps.rb +11 -0
  54. data/vendor/refinerycms/core/features/support/paths.rb +14 -0
  55. data/vendor/refinerycms/core/features/uploads/beach.jpeg +0 -0
  56. data/vendor/refinerycms/core/features/uploads/refinery_is_awesome.txt +1 -0
  57. data/vendor/refinerycms/core/lib/core.rb +52 -53
  58. data/vendor/refinerycms/core/lib/generators/refinery_engine/refinery_engine_generator.rb +14 -3
  59. data/vendor/refinerycms/core/lib/generators/refinery_engine/templates/app/controllers/admin/plural_name_controller.rb +3 -1
  60. data/vendor/refinerycms/core/lib/generators/refinery_engine/templates/app/models/singular_name.rb +4 -3
  61. data/vendor/refinerycms/core/lib/generators/refinery_engine/templates/app/views/admin/plural_name/_form.html.erb +2 -1
  62. data/vendor/refinerycms/core/lib/generators/refinery_engine/templates/app/views/admin/plural_name/_singular_name.html.erb +6 -2
  63. data/vendor/refinerycms/core/lib/generators/refinery_engine/templates/app/views/plural_name/index.html.erb +3 -1
  64. data/vendor/refinerycms/core/lib/generators/refinery_engine/templates/app/views/plural_name/show.html.erb +7 -3
  65. data/vendor/refinerycms/core/lib/refinery/application_controller.rb +85 -75
  66. data/vendor/refinerycms/core/lib/refinery/application_helper.rb +10 -190
  67. data/vendor/refinerycms/core/lib/refinery/crud.rb +283 -0
  68. data/vendor/refinerycms/core/lib/refinery/{form_helpers.rb → helpers/form_helper.rb} +0 -0
  69. data/vendor/refinerycms/core/lib/refinery/helpers/html_truncation_helper.rb +26 -0
  70. data/vendor/refinerycms/core/lib/refinery/helpers/image_helper.rb +37 -0
  71. data/vendor/refinerycms/core/lib/refinery/helpers/menu_helper.rb +38 -0
  72. data/vendor/refinerycms/core/lib/refinery/helpers/meta_helper.rb +67 -0
  73. data/vendor/refinerycms/core/lib/refinery/helpers/script_helper.rb +36 -0
  74. data/vendor/refinerycms/core/lib/refinery/helpers/site_bar_helper.rb +26 -0
  75. data/vendor/refinerycms/core/lib/refinery/helpers/tag_helper.rb +19 -0
  76. data/vendor/refinerycms/core/lib/refinery/helpers/translation_helper.rb +17 -0
  77. data/vendor/refinerycms/core/lib/refinery/plugin.rb +3 -3
  78. data/vendor/refinerycms/core/lib/tasks/refinery.rake +4 -3
  79. data/vendor/refinerycms/core/public/javascripts/refinery/admin.js +93 -101
  80. data/vendor/refinerycms/core/public/javascripts/refinery/core.js +3 -0
  81. data/vendor/refinerycms/core/public/javascripts/refinery/nestedsortables.js +164 -0
  82. data/vendor/refinerycms/core/public/javascripts/refinery/serializelist.js +66 -0
  83. data/vendor/refinerycms/core/public/stylesheets/refinery/refinery.css +11 -73
  84. data/vendor/refinerycms/dashboard/config/locales/de.yml +6 -6
  85. data/vendor/refinerycms/dashboard/config/locales/pt-BR.yml +3 -5
  86. data/vendor/refinerycms/dashboard/features/dashboard.feature +54 -0
  87. data/vendor/refinerycms/dashboard/features/support/paths.rb +14 -0
  88. data/vendor/refinerycms/images/app/controllers/admin/images_controller.rb +6 -6
  89. data/vendor/refinerycms/images/app/helpers/admin/images_helper.rb +1 -1
  90. data/vendor/refinerycms/images/app/views/admin/images/_existing_image.html.erb +15 -13
  91. data/vendor/refinerycms/images/app/views/admin/images/_grid_view.html.erb +1 -1
  92. data/vendor/refinerycms/images/app/views/admin/images/_list_view_image.html.erb +1 -1
  93. data/vendor/refinerycms/images/config/locales/de.yml +21 -25
  94. data/vendor/refinerycms/images/config/locales/pt-BR.yml +13 -23
  95. data/vendor/refinerycms/images/features/manage_images.feature +48 -0
  96. data/vendor/refinerycms/images/features/step_definitions/image_steps.rb +37 -0
  97. data/vendor/refinerycms/images/features/support/paths.rb +17 -0
  98. data/vendor/refinerycms/images/features/uploads/beach.jpeg +0 -0
  99. data/vendor/refinerycms/images/features/uploads/id-rather-be-here.jpg +0 -0
  100. data/vendor/refinerycms/images/features/uploads/refinery_is_awesome.txt +1 -0
  101. data/vendor/refinerycms/images/lib/images.rb +6 -0
  102. data/vendor/refinerycms/images/readme.md +12 -36
  103. data/vendor/refinerycms/pages/app/controllers/admin/pages_controller.rb +4 -42
  104. data/vendor/refinerycms/pages/app/controllers/pages_controller.rb +1 -1
  105. data/vendor/refinerycms/pages/app/models/page.rb +3 -4
  106. data/vendor/refinerycms/pages/app/sweepers/page_sweeper.rb +18 -0
  107. data/vendor/refinerycms/pages/app/views/admin/pages/_form_advanced_options.html.erb +1 -1
  108. data/vendor/refinerycms/pages/app/views/admin/pages/_page.html.erb +6 -5
  109. data/vendor/refinerycms/pages/config/locales/de.yml +66 -36
  110. data/vendor/refinerycms/pages/config/locales/pt-BR.yml +29 -57
  111. data/vendor/refinerycms/pages/features/manage_pages.feature +45 -0
  112. data/vendor/refinerycms/pages/features/step_definitions/page_steps.rb +29 -0
  113. data/vendor/refinerycms/pages/features/support/paths.rb +18 -0
  114. data/vendor/refinerycms/pages/lib/pages.rb +5 -0
  115. data/vendor/refinerycms/pages/spec/models/page_spec.rb +13 -0
  116. data/vendor/refinerycms/refinery.rb +1 -1
  117. data/vendor/refinerycms/resources/app/views/admin/resources/_existing_resource.html.erb +2 -2
  118. data/vendor/refinerycms/resources/config/locales/de.yml +16 -17
  119. data/vendor/refinerycms/resources/config/locales/pt-BR.yml +15 -17
  120. data/vendor/refinerycms/resources/features/manage_files.feature +39 -0
  121. data/vendor/refinerycms/resources/features/step_definitions/file_steps.rb +21 -0
  122. data/vendor/refinerycms/resources/features/support/paths.rb +17 -0
  123. data/vendor/refinerycms/resources/features/uploads/beach.jpeg +0 -0
  124. data/vendor/refinerycms/resources/features/uploads/refinery_is_awesome.txt +1 -0
  125. data/vendor/refinerycms/resources/lib/resources.rb +17 -1
  126. data/vendor/refinerycms/settings/app/models/refinery_setting.rb +82 -64
  127. data/vendor/refinerycms/settings/config/locales/de.yml +36 -16
  128. data/vendor/refinerycms/settings/config/locales/pt-BR.yml +32 -34
  129. data/vendor/refinerycms/settings/features/manage_refinery_settings.feature +5 -0
  130. data/vendor/refinerycms/settings/lib/settings.rb +1 -1
  131. metadata +86 -53
  132. data/vendor/refinerycms/core/lib/crud.rb +0 -265
  133. data/vendor/refinerycms/core/lib/refinery/html_truncation_helper.rb +0 -22
  134. data/vendor/refinerycms/core/public/javascripts/jquery/jquery.nestedsortables.js +0 -186
@@ -25,7 +25,7 @@ Refinery::Application.configure do
25
25
  # config.logger = SyslogLogger.new
26
26
 
27
27
  # Use a different cache store in production
28
- # config.cache_store = :mem_cache_store
28
+ config.cache_store = :memory_store
29
29
 
30
30
  # Disable Rails's static asset server (Rails default)
31
31
  # In production, Apache or nginx will already do this
@@ -1,17 +1,17 @@
1
1
  class ChangeThumbnailSizesForDragonfly < ActiveRecord::Migration
2
2
  def self.up
3
- RefinerySetting[:image_thumbnails] = {
3
+ RefinerySetting.set(:image_thumbnails, {
4
4
  :dialog_thumb => '106x106#c',
5
5
  :grid => '135x135#c',
6
6
  :preview => '96x96#c'
7
- }
7
+ })
8
8
  end
9
9
 
10
10
  def self.down
11
- RefinerySetting[:image_thumbnails] = {
11
+ RefinerySetting.set(:image_thumbnails, {
12
12
  :dialog_thumb => 'c106x106',
13
13
  :grid => 'c135x135',
14
14
  :preview => 'c96x96'
15
- }
15
+ })
16
16
  end
17
17
  end
@@ -2,10 +2,10 @@ class MoveInquirySettingsToRefinerySettings < ActiveRecord::Migration
2
2
  def self.up
3
3
  if defined?(InquirySetting)
4
4
  InquirySetting.all.each do |inquiry_setting|
5
- RefinerySetting[:"inquiry_#{inquiry_setting.name.downcase.gsub(' ', '_')}"] = {
5
+ RefinerySetting.set(:"inquiry_#{inquiry_setting.name.downcase.gsub(' ', '_')}", {
6
6
  :value => inquiry_setting.value,
7
7
  :destroyable => false
8
- }
8
+ })
9
9
 
10
10
  end
11
11
  end
@@ -0,0 +1,28 @@
1
+ class MovePageToNestedSet < ActiveRecord::Migration
2
+ def self.up
3
+ # Add nested set columns
4
+ add_column :pages, :lft, :integer
5
+ add_column :pages, :rgt, :integer
6
+
7
+ add_column :pages, :depth, :integer
8
+
9
+ add_index :pages, :lft
10
+ add_index :pages, :rgt
11
+ add_index :pages, :depth
12
+
13
+ # Rebuild the page table
14
+ Page.rebuild!
15
+ end
16
+
17
+ def self.down
18
+ remove_index :pages, :lft
19
+ remove_index :pages, :rgt
20
+
21
+ remove_index :pages, :depth
22
+
23
+ remove_column :pages, :lft
24
+ remove_column :pages, :rgt
25
+
26
+ remove_column :pages, :depth
27
+ end
28
+ end
@@ -10,7 +10,7 @@
10
10
  #
11
11
  # It's strongly recommended to check this file into your version control system.
12
12
 
13
- ActiveRecord::Schema.define(:version => 20100826232810) do
13
+ ActiveRecord::Schema.define(:version => 20100831122919) do
14
14
 
15
15
  create_table "images", :force => true do |t|
16
16
  t.string "image_mime_type"
@@ -74,10 +74,16 @@ ActiveRecord::Schema.define(:version => 20100826232810) do
74
74
  t.boolean "draft", :default => false
75
75
  t.string "browser_title"
76
76
  t.boolean "skip_to_first_child", :default => false
77
+ t.integer "lft"
78
+ t.integer "rgt"
79
+ t.integer "depth"
77
80
  end
78
81
 
82
+ add_index "pages", ["depth"], :name => "index_pages_on_depth"
79
83
  add_index "pages", ["id"], :name => "index_pages_on_id"
84
+ add_index "pages", ["lft"], :name => "index_pages_on_lft"
80
85
  add_index "pages", ["parent_id"], :name => "index_pages_on_parent_id"
86
+ add_index "pages", ["rgt"], :name => "index_pages_on_rgt"
81
87
 
82
88
  create_table "refinery_settings", :force => true do |t|
83
89
  t.string "name"
@@ -4,13 +4,11 @@
4
4
  {:name => "activity_show_limit", :value => 7},
5
5
  {:name => "preferred_image_view", :value => :grid},
6
6
  {:name => "analytics_page_code", :value => "UA-xxxxxx-x"},
7
+ # todo: remove these and use dragonfly better instead.
7
8
  {:name => "image_thumbnails", :value => {
8
- :dialog_thumb => '106x106#c',
9
- :grid => '135x135#c',
10
9
  :small => '110x110>',
11
10
  :medium => '225x255>',
12
- :large => '450x450>',
13
- :preview => '96x96#c'
11
+ :large => '450x450>'
14
12
  }
15
13
  }
16
14
  ].each do |setting|
@@ -0,0 +1,21 @@
1
+ # MIT License
2
+
3
+ Copyright (c) 2005-2010 [Resolve Digital Ltd.](http://www.resolvedigital.co.nz)
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,97 @@
1
+ # Refinery CMS
2
+
3
+ __An open source Ruby on Rails content management system for Rails 3.__
4
+
5
+ Refinery also supports Rails 2.x using the [Rails 2.x stable branch](http://github.com/resolve/refinerycms/tree/rails2-stable). More information at [http://refinerycms.com](http://refinerycms.com)
6
+
7
+ ![Refinery Dashboard](http://refinerycms.com/system/images/0000/0576/dashboard.png)
8
+
9
+ Wanna see Refinery for yourself? [Try the demo](http://demo.refinerycms.com/refinery)
10
+
11
+ ## What's it good at?
12
+
13
+ __Refinery is great for sites where the client needs to be able to update their website themselves__ without being bombarded with anything too complicated.
14
+
15
+ Unlike other content managers, Refinery is truly __aimed at the end user__ making it easy for them to pick up and make changes themselves.
16
+
17
+ ### For developers
18
+
19
+ * Easily customise the look to suit the business.
20
+ * __[Extend with custom engines](http://github.com/resolve/refinerycms/blob/master/vendor/refinerycms/core/engines.md#readme)__ to do anything Refinery doesn't do out of the box.
21
+ * Sticks to __"the Rails way"__ as much as possible; we don't force you to learn new templating languages.
22
+ * Uses [jQuery](http://jquery.com/) for fast and concise Javascript.
23
+
24
+ ## Requirements
25
+
26
+ * [Bundler](http://github.com/carlhuda/bundler)
27
+ * [RMagick](http://github.com/rmagick/rmagick) - [Install docs](http://rmagick.rubyforge.org/install-faq.html) or for
28
+ Mac OS 10.5+ users [this shell install script](http://github.com/maddox/magick-installer) will be easier.
29
+
30
+ ## How to
31
+
32
+ * __[Install Refinery](http://tutorials.refinerycms.org/tutorials/how-to-install-refinery)__
33
+ * [Update Refinery to the latest version](http://tutorials.refinerycms.org/tutorials/how-to-update-refinery-to-the-latest-version)
34
+ * [Install Refinery on Heroku](http://tutorials.refinerycms.org/tutorials/how-to-install-refinery-on-heroku)
35
+ * [Run the Refinery test suite](http://tutorials.refinerycms.org/tutorials/how-to-test-refinery)
36
+
37
+ ## Help and Documentation
38
+
39
+ * [Tutorial Site](http://tutorials.refinerycms.org)
40
+ * [Google Group Discussion](http://group.refinerycms.org)
41
+ * [IRC Channel](irc://irc.freenode.net/refinerycms)
42
+ * [GitHub repository](http://github.com/resolve/refinerycms)
43
+ * [Developer/API documentation](http://api.refinerycms.org)
44
+
45
+ ## Features
46
+
47
+ ### [Pages](http://github.com/resolve/refinerycms/blob/master/vendor/refinerycms/pages/readme.md#readme)
48
+
49
+ * Easily edit and manage pages with a [WYSIWYG visual editor](http://www.wymeditor.org/).
50
+ * Manage you site's structure.
51
+
52
+ ### [Images](http://github.com/resolve/refinerycms/blob/master/vendor/refinerycms/images/readme.md#readme) & [Files](http://github.com/resolve/refinerycms/blob/master/vendor/refinerycms/resources/readme.md#readme)
53
+
54
+ * Easily upload and insert images.
55
+ * Upload and link to resources such as PDF documents.
56
+ * Uses the popular [Dragonfly](http://github.com/markevans/dragonfly).
57
+ * Supports storage on Amazon S3.
58
+
59
+ ### [Inquiries](http://github.com/resolve/refinerycms/blob/master/vendor/refinerycms/inquiries/readme.md#readme)
60
+
61
+ * Collect inquiries from a contact form.
62
+ * Manage your inquiries and be notified when new ones come in.
63
+ * Checks new inquiries for spam.
64
+
65
+ ### [Settings](http://github.com/resolve/refinerycms/blob/master/vendor/refinerycms/refinery_settings/readme.md#readme)
66
+
67
+ * Manage the behaviour of Refinery
68
+ * Easily integrate with [Google Analytics](https://www.google.com/analytics/)
69
+
70
+ ### [Dashboard](http://github.com/resolve/refinerycms/blob/master/vendor/refinerycms/dashboard/readme.md#readme)
71
+
72
+ * Get an overview of what has been updated recently and see recent inquiries.
73
+
74
+ ### [Authentication & Users](http://github.com/resolve/refinerycms/blob/master/vendor/refinerycms/authentication/readme.md#readme)
75
+
76
+ * Manage who can access Refinery.
77
+ * Control which engines each user has access to.
78
+ * Uses the popular [authlogic](http://github.com/binarylogic/authlogic).
79
+
80
+ ### ...Want more? [Extend with Engines](http://github.com/resolve/refinerycms/blob/master/vendor/refinerycms/core/engines.md#readme)
81
+
82
+ Extend Refinery easily by running the Refinery engine generator
83
+
84
+ rails generate refinery_engine
85
+
86
+ to get help on how to use that. Or read the full documentation on [writing engines for Refinery](http://github.com/resolve/refinerycms/blob/master/vendor/refinerycms/core/engines.md#readme)
87
+
88
+ ### Popular Engines
89
+
90
+ * [Portfolio](http://github.com/resolve/refinerycms-portfolio) - manage groups of images like an image gallery.
91
+ * [News](http://github.com/resolve/refinerycms-news) - post and manage news items.
92
+
93
+ [Full engine list here](http://github.com/resolve/refinerycms/wiki/engines)
94
+
95
+ ## License
96
+
97
+ Refinery is released under the [MIT license](http://github.com/resolve/refinerycms/blob/master/license.md#readme) and is copyright (c) 2005-2010 [Resolve Digital Ltd.](http://www.resolvedigital.co.nz)
data/todo.md ADDED
@@ -0,0 +1,61 @@
1
+ # Todos required for 0.9.9 release
2
+
3
+ ## Engine API
4
+
5
+ Responsible person: ``djones``
6
+
7
+ rails g refinery_engine does the following things:
8
+
9
+ - Creates what it does now
10
+ - Creates a gemspec with the gem name of "refinerycms-#{engine_name}"
11
+ - Puts the gem in the Gemfile
12
+ - Copies db files to the vendor/engines/engine_name/db folder ONLY
13
+ - Creates a generator in lib/generators which will install the db to the right place
14
+ - Creates a public, spec, and features empty folders
15
+ - Creates lib/tasks as a template
16
+ - Maybe some sort of README on how to release your gem open source
17
+
18
+ Then the process will be:
19
+
20
+ ### To create a fully releasable engine
21
+
22
+ rails g refinery_engine events name:string date:date picture:image
23
+
24
+ ### To install the plugin into your app
25
+
26
+ rails g refinerycms_events
27
+ bundle install
28
+ rake db:migrate
29
+
30
+ And then when it's released all new refinerycms- gems will have the same install process. Yippee!
31
+
32
+ ## Internet Explorer 7+ Support
33
+
34
+ Responsible person: ``parndt``
35
+
36
+ * WYMEditor and the dialogs are the weakest areas right now.
37
+
38
+ Responsible person: ``stevenheidel``, ``djones``
39
+
40
+ * Finding and filing issues found in IE
41
+
42
+ ## Solid Test Coverage
43
+
44
+ Responsible person: ``VGoff``
45
+
46
+ * Add more Cucumber features for the whole of Refinery.
47
+ * Add RSpec for the whole of Refinery, particularly:
48
+ - User, User plugin and User mailer
49
+ - Inquiry mailer and Inquiry setting
50
+
51
+ ## I18n support
52
+
53
+ * Check all the views for missing translations
54
+ - You can run a rake task with your locale e.g for Slovenian:
55
+ ``rake translate:lost_in_translation LOCALE=sl``
56
+
57
+ # Todos required for 1.0.0 release
58
+
59
+ * All tests must pass
60
+ * Test and perfect everything.
61
+ * Organise a party and media
@@ -6,17 +6,9 @@
6
6
  </ul>
7
7
  </div>
8
8
  <div id='records'>
9
- <% if @users.any? %>
10
- <%= will_paginate @users, :previous_label => '&laquo;', :next_label => '&raquo;' %>
11
- <ul>
12
- <%= render :partial => "user", :collection => @users %>
13
- </ul>
14
- <%= will_paginate @users, :previous_label => '&laquo;', :next_label => '&raquo;' %>
15
- <% else %>
16
- <p>
17
- <strong>
18
- <%= t('.no_users_yet') %>
19
- </strong>
20
- </p>
21
- <% end %>
9
+ <%= will_paginate @users, :previous_label => '&laquo;', :next_label => '&raquo;' %>
10
+ <ul>
11
+ <%= render :partial => "user", :collection => @users %>
12
+ </ul>
13
+ <%= will_paginate @users, :previous_label => '&laquo;', :next_label => '&raquo;' %>
22
14
  </div>
@@ -1,6 +1,6 @@
1
1
  <!DOCTYPE html>
2
2
  <html>
3
- <%= render :partial => "/admin/head" %>
3
+ <%= render :partial => "/admin/head", :locals => {:login => true} %>
4
4
  <body class='login'>
5
5
  <div id='tooltip_container'></div>
6
6
  <header>
@@ -1,77 +1,74 @@
1
1
  de:
2
+ plugins:
3
+ refinery_users:
4
+ title: Benutzer
5
+ description: Verwaltet Benutzer
2
6
  admin:
3
7
  users:
8
+ delete: Diesen Benutzer für immer löschen
9
+ edit: Diesen Benutzer bearbeiten
4
10
  update:
5
- cannot_remove_user_plugin_from_current_user: "Sie können das 'Users' Plugin nicht vom Konto des aktuell eingeloggten Benutzers löschen."
11
+ cannot_remove_user_plugin_from_current_user: Sie können die Erweiterung 'Benutzer' nicht vom aktuellen Konto entfernen.
6
12
  form:
7
- blank_password_keeps_current: "Das aktuelle Passwort wird beibehalten, wenn das Feld leer gelassen wird"
13
+ blank_password_keeps_current: Wird das Passwort leer gelassen, wird das aktuelle Passwort beibehalten
14
+ enable_all: Alles aktivieren
8
15
  index:
9
- create_new_user: Neuen Benutzer erstellen
10
- no_users_yet: Es wurden noch keine Benutzer erstellt. Klicken Sie auf "Neuen Benutzer erstellen" um Ihren ersten Benutzer zu erstellen.
16
+ create_new_user: Neuen Benutzer anlegen
17
+ no_users_yet: Es sind noch keine Benutzer vorhanden. Klicken Sie auf "Neuen Benutzer anlegen", um Ihren ersten Benutzer hinzuzufügen.
11
18
  user:
12
- confirm_delete_message: "Sind Sie sicher, dass Sie '%{who}' löschen möchten?"
13
- confirm_delete_title: Diesen Benutzer für immer löschen.
14
- edit_user: Diesen Benutzer bearbeiten
15
- email_user: Diesem Benutzer eine E-Mail schicken
16
- preview: "(%{who}) wurde erstellt am %{created_at}"
19
+ email_user: Diesem Benutzer emailen
20
+ preview: (%{who}) angelegt am %{created_at}
17
21
  sessions:
18
- login_successful: Erfolgreich eingeloggt
19
- login_failed: "Entschuldigung, Ihr Benutzername oder Passwort war nicht korrekt."
20
- logged_out: Sie wurden ausgeloggt.
22
+ login_successful: Erfolgreich angemeldet
23
+ login_failed: Tut mir leid, Ihr Passwort oder Benutzername war nicht korrekt.
21
24
  new:
22
- login: Login Name
23
- log_in: Login
24
- cancel: Abbrechen
25
- password: Passwort
26
- remember_me: Anmeldung merken
27
- or: oder
28
- forgot_password: Ich habe mein Passwort vergessen
29
- hello_please_sign_in: Hallo! Bitte melden Sie sich
25
+ hello_please_sign_in: Hallo! Bitte melden Sie sich an.
30
26
  sign_in: Anmelden
27
+ forgot_password: Ich habe mein Passwort vergessen
31
28
  users:
32
- forgot:
33
- blank_email: Sie haben nicht eine E-Mail-Adresse.
34
- email_not_associated_with_account: "Leider, '%{email}' ist nicht im Zusammenhang mit allen anderen Konten. <br/> Sind Sie sicher, die richtige E-Mail-Adresse eingegeben?"
35
- email_reset_sent: "Eine E-Mail wurde Ihnen mit einem Link geschickt, um Ihr Passwort zurücksetzen."
36
- reset:
37
- code_invalid: "Es tut uns leid, aber diese Reset-Code ist abgelaufen oder ungültig. Wenn Sie Probleme versuchen Kopieren und Einfügen der URL aus Ihrem E-Mail in Ihrem Browser oder ein Neustart des Passwort-Reset-Prozess."
38
- successful: "Passwort zurücksetzen erfolgreich %{email}"
39
- setup_website_name: "Lassen Sie uns der Website als Erstes einen Namen geben. <a href='%{link}' name='%{title}'>Hier</a> können Sie den Namen Ihrer Website bearbeiten."
40
- signup_disabled: Benutzerregistrierung ist deaktiviert
29
+ setup_website_name: Als ersten können wir der Seite einen Namen geben. <a href='%{link}' name='%{title}'>Hier klicken</a>, um den Namen der Webseite zu bearbeiten
41
30
  new:
42
- fill_form: "Füllen Sie das Formular unten mit Ihren Angaben aus, damit wir loslegen können."
43
- sign_up: Registrieren
31
+ fill_form: Füllen Sie die Details unten aus, damit wir anfangen können.
32
+ sign_up: Anmelden
44
33
  create:
45
- welcome: "Willkommen bei Refinery, %{who}"
46
- signup_complete: Registrierung abgeschlossen!
34
+ welcome: Willkommen bei Refinery, %{who}
35
+ forgot:
36
+ email_address: E-Mail-Adresse
37
+ enter_email_address: Bitte geben Sie die E-Mail-Adresse für Ihre Konto an.
38
+ reset_password: Passwort zurücksetzen
39
+ blank_email: Sie haben keine E-Mail-Adresse angegeben.
40
+ email_not_associated_with_account: Tut mir leid, '%{email}' ist mit keinem Konto verbunden.<br />Sind Sie sicher, dass Sie die richtige E-Mail-Adresse eingegeben haben?
41
+ email_reset_sent: Es wurde Ihnen eine E-Mail mit einem Link geschickt, durch den Sie ihr Passwort zurücksetzen können.
42
+ reset:
43
+ code_invalid: Tut mir leid, aber dieser Zurücksetzungscode ist abgelaufen oder ungültig. Wenn Sie Probleme haben, versuchen Sie den Link aus der E-Mail zu kopieren und in Ihren Browser einzufügen, oder wiederholen Sie den Vorgang mit dem Passwort zurücksetzen.
44
+ successful: Passwort für '%{email}' erfolgreich zurückgesetzt
45
+ pick_new_password_for: Wählen Sie ein neues Passwort für %{email}
46
+ reset_password: Passwort zurücksetzen
47
+ password_blank: Füllen Sie die Felder mit übereinstimmenden Passwörtern aus.
47
48
  user_mailer:
48
- please_activate: Bitte aktivieren Sie Ihr neues Benutzerkonto
49
- activated: Ihr Benutzerkonto wurde aktiviert!
50
- activated_email: "%{who}, Ihr Benutzerkonto wurde aktiviert. Sie können jetzt Ihre Plugins wählen:"
51
- account_created: Ihr Benutzerkonto wurde erstellt.
52
- user_name: "Benutzername %{name}"
53
- password: "Passwort %{password}"
54
- visit_url: "Besuchen Sie folgende URL um Ihr Benutzerkonto zu aktivieren:"
55
- link_to_reset_your_password: Link um Ihr Passwort zurückzusetzen
49
+ link_to_reset_your_password: Link zum Zurücksetzen Ihres Passworts
56
50
  authlogic:
57
51
  error_messages:
58
- login_blank: darf nicht leer sein
59
- login_not_found: ist nicht gültig
60
- login_invalid: "darf nur Buchstaben, Zahlen, Leerzeichen und .-_@ enthalten."
61
- consecutive_failed_logins_limit_exceeded: "Zu viele fehlerhafte Logins, das Benutzerkonto wurde deaktiviert."
62
- email_invalid: sollte wie eine E-Mail-Adresse aussehen.
63
- password_blank: darf nicht leer sein
64
- password_invalid: ist nicht gültig
65
- not_active: Ihr Benutzerkonto ist nicht aktiv
66
- not_confirmed: Ihr Benutzerkonto ist nicht bestätigt
67
- not_approved: Ihr Benutzerkonto ist nicht freigeschaltet
68
- no_authentication_details: Sie haben keine Angaben zur Authentifizierung gemacht.
52
+ login_blank: Kann nicht leer gelassen werden
53
+ login_invalid: Sollte bitte nur Buchstaben, Zahlen, Leerzeichen und .-_@ enthalten.
54
+ email_invalid: Sollte nach einer gültigen E-Mail-Adresse aussehen.
55
+ no_authentication_details: Sie haben keine Details zur Authentifizierung angeben.
69
56
  models:
70
- user_session: UserSession
57
+ user_session: Benutzersitzung
71
58
  attributes:
72
59
  user_session:
73
60
  login: Login
74
- email: E-Mail-Adresse
61
+ email: E-Mail
75
62
  password: Passwort
76
- remember_me: Anmeldung merken
77
- incorrect: "Entschuldigung, %{login_field} oder Passwort waren nicht korrekt."
63
+ remember_me: Login merken
64
+ incorrect: Tut mir leid, Ihr %{login_field} oder Passwort war nicht korrekt.
65
+ activerecord:
66
+ attributes:
67
+ user:
68
+ login: Login
69
+ email: E-Mail
70
+ password: Passwort
71
+ password_confirmation: Passwort Bestätigung
72
+ plugin_access: Zugriff auf Erweiterungen
73
+ models:
74
+ user: user