refinerycms 0.9.7.8 → 0.9.7.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (101) hide show
  1. data/.gitignore +4 -1
  2. data/Gemfile +1 -1
  3. data/bin/refinery-upgrade-096-to-097 +30 -13
  4. data/bin/refinerycms +32 -20
  5. data/changelog.md +14 -0
  6. data/db/migrate/20100729221735_remove_page_translations_if_present.rb +12 -0
  7. data/db/schema.rb +13 -15
  8. data/features/refinery/create_inquiries.feature +40 -0
  9. data/features/refinery/dashboard.feature +35 -1
  10. data/features/refinery/manage_files.feature +42 -1
  11. data/features/refinery/manage_images.feature +58 -1
  12. data/features/refinery/manage_inquiries.feature +55 -3
  13. data/features/refinery/manage_pages.feature +1 -1
  14. data/features/refinery/manage_refinery_settings.feature +1 -0
  15. data/features/refinery/manage_users.feature +1 -1
  16. data/features/refinery/plugin_generator.feature +27 -0
  17. data/features/refinery/site_bar.feature +4 -3
  18. data/features/refinery/theme_generator.feature +16 -0
  19. data/features/step_definitions/refinery/core_steps.rb +4 -0
  20. data/features/step_definitions/refinery/file_steps.rb +22 -0
  21. data/features/step_definitions/refinery/generator_steps.rb +11 -0
  22. data/features/step_definitions/refinery/image_steps.rb +43 -0
  23. data/features/step_definitions/refinery/inquiry_steps.rb +13 -0
  24. data/features/step_definitions/refinery/page_steps.rb +4 -6
  25. data/features/step_definitions/refinery/plugin_generator_steps.rb +16 -0
  26. data/features/step_definitions/refinery/theme_generator_steps.rb +15 -0
  27. data/features/step_definitions/refinery/user_steps.rb +1 -1
  28. data/features/step_definitions/web_steps.rb +18 -18
  29. data/features/support/env.rb +6 -7
  30. data/features/support/paths.rb +25 -1
  31. data/features/uploads/beach.INVALID +0 -0
  32. data/features/uploads/beach.jpeg +0 -0
  33. data/features/uploads/id-rather-be-here.jpg +0 -0
  34. data/features/uploads/refinery_is_awesome.txt +1 -0
  35. data/public/javascripts/refinery/admin.js +4 -4
  36. data/public/stylesheets/refinery/refinery.css +4 -1
  37. data/readme.md +1 -1
  38. data/todo.md +20 -8
  39. data/vendor/plugins/authentication/app/models/user.rb +1 -1
  40. data/vendor/plugins/dashboard/app/views/admin/dashboard/index.rss.builder +26 -0
  41. data/vendor/plugins/inquiries/app/views/admin/inquiries/_inquiry.html.erb +2 -1
  42. data/vendor/plugins/inquiries/app/views/admin/inquiry_settings/_confirmation_email_form.html.erb +9 -5
  43. data/vendor/plugins/inquiries/config/locales/en.yml +2 -2
  44. data/vendor/plugins/inquiries/config/routes.rb +14 -4
  45. data/vendor/plugins/pages/app/controllers/pages_controller.rb +3 -1
  46. data/vendor/plugins/refinery/app/views/shared/_google_analytics.html.erb +2 -2
  47. data/vendor/plugins/refinery/app/views/shared/_menu.html.erb +18 -13
  48. data/vendor/plugins/refinery/app/views/shared/admin/_form_actions.html.erb +3 -0
  49. data/vendor/plugins/refinery/app/views/shared/admin/_search.html.erb +1 -3
  50. data/vendor/plugins/refinery/config/locales/en.yml +1 -1
  51. data/vendor/plugins/refinery/lib/crud.rb +4 -1
  52. data/vendor/plugins/refinery/lib/generators/refinery/refinery_generator.rb +4 -61
  53. data/vendor/plugins/refinery/lib/generators/refinery_plugin/README +36 -0
  54. data/vendor/plugins/refinery/lib/generators/{refinery → refinery_plugin}/Rakefile +2 -3
  55. data/vendor/plugins/refinery/lib/generators/refinery_plugin/USAGE +2 -0
  56. data/vendor/plugins/refinery/lib/generators/{refinery → refinery_plugin}/install.rb +0 -0
  57. data/vendor/plugins/refinery/lib/generators/refinery_plugin/refinery_plugin_generator.rb +76 -0
  58. data/vendor/plugins/refinery/lib/generators/{refinery → refinery_plugin}/templates/MIGRATE +0 -0
  59. data/vendor/plugins/refinery/lib/generators/{refinery → refinery_plugin}/templates/config/locales/en.yml +4 -1
  60. data/vendor/plugins/refinery/lib/generators/{refinery → refinery_plugin}/templates/config/locales/nb.yml +4 -1
  61. data/vendor/plugins/refinery/lib/generators/{refinery → refinery_plugin}/templates/config/locales/nl.yml +4 -1
  62. data/vendor/plugins/refinery/lib/generators/{refinery → refinery_plugin}/templates/config/routes.rb +0 -0
  63. data/vendor/plugins/refinery/lib/generators/{refinery → refinery_plugin}/templates/controller.rb +0 -0
  64. data/vendor/plugins/refinery/lib/generators/{refinery → refinery_plugin}/templates/migration.rb +0 -0
  65. data/vendor/plugins/refinery/lib/generators/{refinery → refinery_plugin}/templates/model.rb +0 -0
  66. data/vendor/plugins/refinery/lib/generators/{refinery → refinery_plugin}/templates/public_controller.rb +0 -0
  67. data/vendor/plugins/refinery/lib/generators/refinery_plugin/templates/rails/init.rb +9 -0
  68. data/vendor/plugins/refinery/lib/generators/{refinery → refinery_plugin}/templates/seed.rb +0 -0
  69. data/vendor/plugins/refinery/lib/generators/{refinery → refinery_plugin}/templates/views/admin/_form.html.erb +0 -0
  70. data/vendor/plugins/refinery/lib/generators/{refinery → refinery_plugin}/templates/views/admin/_singular_name.html.erb +0 -0
  71. data/vendor/plugins/refinery/lib/generators/{refinery → refinery_plugin}/templates/views/admin/_sortable_list.html.erb +0 -0
  72. data/vendor/plugins/refinery/lib/generators/{refinery → refinery_plugin}/templates/views/admin/edit.html.erb +0 -0
  73. data/vendor/plugins/refinery/lib/generators/{refinery → refinery_plugin}/templates/views/admin/index.html.erb +0 -0
  74. data/vendor/plugins/refinery/lib/generators/{refinery → refinery_plugin}/templates/views/admin/new.html.erb +0 -0
  75. data/vendor/plugins/refinery/lib/generators/{refinery → refinery_plugin}/templates/views/index.html.erb +0 -0
  76. data/vendor/plugins/refinery/lib/generators/{refinery → refinery_plugin}/templates/views/show.html.erb +0 -0
  77. data/vendor/plugins/refinery/lib/refinery.rb +1 -1
  78. data/vendor/plugins/refinery/lib/refinery/activity.rb +3 -3
  79. data/vendor/plugins/refinery/lib/refinery/application_controller.rb +1 -1
  80. data/vendor/plugins/refinery/lib/tasks/refinery.rake +109 -32
  81. data/vendor/plugins/refinery/plugins.md +3 -3
  82. data/vendor/plugins/refinery_settings/app/models/refinery_setting.rb +26 -10
  83. data/vendor/plugins/refinery_settings/app/views/admin/refinery_settings/_form.html.erb +1 -2
  84. data/vendor/plugins/themes/generators/refinery_theme/README +17 -0
  85. data/vendor/plugins/themes/generators/refinery_theme/Rakefile +11 -0
  86. data/vendor/plugins/themes/generators/refinery_theme/USAGE +2 -0
  87. data/vendor/plugins/themes/generators/refinery_theme/install.rb +2 -0
  88. data/vendor/plugins/themes/generators/refinery_theme/refinery_theme_generator.rb +41 -0
  89. data/vendor/plugins/themes/generators/refinery_theme/templates/stylesheets/application.css +5 -0
  90. data/vendor/plugins/themes/generators/refinery_theme/templates/stylesheets/formatting.css +7 -0
  91. data/vendor/plugins/themes/generators/refinery_theme/templates/stylesheets/home.css +5 -0
  92. data/vendor/plugins/themes/generators/refinery_theme/templates/views/layouts/application.html.erb +21 -0
  93. data/vendor/plugins/themes/generators/refinery_theme/templates/views/pages/home.html.erb +4 -0
  94. data/vendor/plugins/themes/generators/refinery_theme/templates/views/pages/show.html.erb +4 -0
  95. data/vendor/plugins/themes/rails/init.rb +0 -1
  96. data/vendor/plugins/themes/readme.md +7 -2
  97. metadata +54 -28
  98. data/db/migrate/20100606173919_create_page_translations.rb +0 -12
  99. data/vendor/plugins/refinery/lib/generators/refinery/README +0 -30
  100. data/vendor/plugins/refinery/lib/generators/refinery/USAGE +0 -2
  101. data/vendor/plugins/refinery/lib/generators/refinery/templates/rails/init.rb +0 -13
@@ -12,7 +12,7 @@ The Refinery generator is a standard Rails generator that functions just like th
12
12
 
13
13
  To see how to use the generator run
14
14
 
15
- ruby script/generate refinery
15
+ ruby script/generate refinery_plugin
16
16
 
17
17
  Usage instructions should appear.
18
18
 
@@ -24,11 +24,11 @@ First decide what fields they need to manage. In our case, the client is going t
24
24
 
25
25
  So go to the root of your project and run
26
26
 
27
- ruby script/generate refinery
27
+ ruby script/generate refinery_plugin
28
28
 
29
29
  This will output the help on how to use the generator. To generate the new section we want to manage products we run:
30
30
 
31
- ruby script/generate refinery product title:string description:text facts:text
31
+ ruby script/generate refinery_plugin product title:string description:text image:image brochure:resource
32
32
 
33
33
  The generator will output a list of files it generated. You'll notice there is a new plugin that has been added in ``vendor/plugins/products``. This is where both the backend and front end files are held for this new products area.
34
34
 
@@ -64,7 +64,9 @@ class RefinerySetting < ActiveRecord::Base
64
64
  # if the database is not up to date yet then it won't know about certain fields.
65
65
  setting.scoping = scoping if self.column_names.include?('scoping')
66
66
  setting.restricted = restricted if self.column_names.include?('restricted')
67
- setting.callback_proc_as_string = callback_proc_as_string if callback_proc_as_string.is_a?(String) && self.column_names.include?('callback_proc_as_string')
67
+ if callback_proc_as_string.is_a?(String) and self.column_names.include?('callback_proc_as_string')
68
+ setting.callback_proc_as_string = callback_proc_as_string
69
+ end
68
70
 
69
71
  setting.save
70
72
 
@@ -90,22 +92,29 @@ class RefinerySetting < ActiveRecord::Base
90
92
  def self.[]=(name, value)
91
93
  setting = find_or_create_by_name(name.to_s)
92
94
 
95
+ scoping = nil
93
96
  # you could also pass in {:value => 'something', :scoping => 'somewhere'}
94
97
  unless value.is_a?(Hash) and value.has_key?(:value)
95
98
  setting.value = value
96
99
  else
97
100
  setting.value = value[:value]
98
- setting.scoping = value[:scoping] if value.has_key?(:scoping) and setting.class.column_names.include?('scoping')
99
- setting.callback_proc_as_string = value[:callback_proc_as_string] if value.has_key?(:callback_proc_as_string) and setting.class.column_names.include?('callback_proc_as_string')
101
+ if value.has_key?(:scoping) and setting.class.column_names.include?('scoping')
102
+ scoping, setting.scoping = value[:scoping]
103
+ end
104
+ if value.has_key?(:callback_proc_as_string) and
105
+ setting.class.column_names.include?('callback_proc_as_string')
106
+ setting.callback_proc_as_string = value[:callback_proc_as_string]
107
+ end
100
108
  end
101
109
 
102
110
  setting.save
103
- cache_write(setting.name, setting.scoping, setting.value)
111
+ cache_write(setting.name, scoping, setting.value)
104
112
  end
105
113
 
106
- # Below is not very nice, but seems to be required
107
- # The problem is when Rails serialises a fields like booleans it doesn't retrieve it back out as a boolean
108
- # it just returns a string. This code maps the two boolean values correctly so a boolean is returned
114
+ # Below is not very nice, but seems to be required. The problem is when Rails
115
+ # serialises a fields like booleans it doesn't retrieve it back out as a boolean
116
+ # it just returns a string. This code maps the two boolean values
117
+ # correctly so that a boolean is returned instead of a string.
109
118
  REPLACEMENTS = {"true" => true, "false" => false}
110
119
 
111
120
  def value
@@ -132,18 +141,25 @@ class RefinerySetting < ActiveRecord::Base
132
141
 
133
142
  def value=(new_value)
134
143
  # must convert to string if true or false supplied otherwise it becomes 0 or 1, unfortunately.
135
- new_value = new_value.to_s if ["trueclass","falseclass"].include?(new_value.class.to_s.downcase)
144
+ if ["trueclass","falseclass"].include?(new_value.class.to_s.downcase)
145
+ new_value = new_value.to_s
146
+ end
136
147
  self[:value] = new_value
137
148
  end
138
149
 
139
150
  def callback_proc
140
- eval "Proc.new{#{self.callback_proc_as_string} }" if RefinerySetting.column_names.include?('callback_proc_as_string') && self.callback_proc_as_string.present?
151
+ if RefinerySetting.column_names.include?('callback_proc_as_string') and
152
+ self.callback_proc_as_string.present?
153
+ eval "Proc.new{#{self.callback_proc_as_string} }"
154
+ end
141
155
  end
142
156
 
143
157
  private
144
158
 
145
159
  def check_restriction
146
- self.restricted = false if restricted.nil?
160
+ if self.class.column_names.include?('restricted') and restricted.nil?
161
+ self.restricted = false
162
+ end
147
163
  end
148
164
 
149
165
  end
@@ -29,8 +29,7 @@
29
29
  <%= f.label :value %>
30
30
  <%= f.text_area :value, :rows => 5, :class => 'widest' %>
31
31
  </div>
32
- <input type='hidden' name='modal' value='<%= from_dialog? %>' />
33
- <input type='hidden' name='dialog' value='<%= from_dialog? %>' />
32
+
34
33
  <%= render :partial => "/shared/admin/form_actions",
35
34
  :locals => {
36
35
  :f => f,
@@ -0,0 +1,17 @@
1
+ == Refinery Theme Generator
2
+
3
+ == Description
4
+
5
+ Generate a new barebones Refinery theme.
6
+
7
+ If you want this new theme to be the current theme used, set the "theme"
8
+ setting in the Refinery backend to the name of this theme.
9
+
10
+ == Usage
11
+ ./script/generate refinery_theme theme_name
12
+
13
+ == Example
14
+ ./script/generate refinery_theme modern
15
+
16
+ Results in:
17
+ create /themes/modern/...
@@ -0,0 +1,11 @@
1
+ require 'rake'
2
+ require 'rake/testtask'
3
+ require 'rake/rdoctask'
4
+
5
+ desc 'Generate documentation for the Refinery Theme Generator plugin.'
6
+ Rake::RDocTask.new(:rdoc) do |rdoc|
7
+ rdoc.rdoc_dir = 'rdoc'
8
+ rdoc.title = 'Refinery Theme Generator'
9
+ rdoc.options << '--line-numbers' << '--inline-source'
10
+ rdoc.rdoc_files.include('README')
11
+ end
@@ -0,0 +1,2 @@
1
+ Usage:
2
+ ruby script/generate refinery_theme modern
@@ -0,0 +1,2 @@
1
+ # install.rb
2
+ puts IO.read(File.join(File.dirname(__FILE__), 'README'))
@@ -0,0 +1,41 @@
1
+ class RefineryThemeGenerator < Rails::Generator::Base
2
+
3
+ def banner
4
+ "Usage: ruby script/generate refinery_theme theme_name"
5
+ end
6
+
7
+ def manifest
8
+ if @args[0].nil?
9
+ puts "You must specify a theme name."
10
+ puts banner
11
+ exit
12
+ end
13
+
14
+ record do |m|
15
+ m.directory "themes"
16
+ m.directory "themes/#{theme_name}"
17
+ m.directory "themes/#{theme_name}/javascripts"
18
+
19
+ m.directory "themes/#{theme_name}/stylesheets"
20
+ m.file "stylesheets/application.css", "themes/#{theme_name}/stylesheets/application.css"
21
+ m.file "stylesheets/formatting.css", "themes/#{theme_name}/stylesheets/formatting.css"
22
+ m.file "stylesheets/home.css", "themes/#{theme_name}/stylesheets/home.css"
23
+
24
+ m.directory "themes/#{theme_name}/views"
25
+ m.directory "themes/#{theme_name}/views/layouts"
26
+ m.file "views/layouts/application.html.erb", "themes/#{theme_name}/views/layouts/application.html.erb"
27
+
28
+ m.directory "themes/#{theme_name}/views/pages"
29
+ m.file "views/pages/show.html.erb", "themes/#{theme_name}/views/pages/show.html.erb"
30
+ m.file "views/pages/home.html.erb", "themes/#{theme_name}/views/pages/home.html.erb"
31
+
32
+ puts 'NOTE: If you want this new theme to be the current theme used, set the "theme"
33
+ setting in the Refinery backend to the name of this theme.' unless RAILS_ENV == "test"
34
+ end
35
+ end
36
+
37
+ def theme_name
38
+ @args[0]
39
+ end
40
+
41
+ end
@@ -0,0 +1,5 @@
1
+ @import url('/stylesheets/refinery/application.css');
2
+ /*
3
+ Override default refinery application CSS below.
4
+ Formatting applies to all frontend.
5
+ */
@@ -0,0 +1,7 @@
1
+ @import url('/stylesheets/refinery/formatting.css');
2
+ /*
3
+ Override default refinery formatting below.
4
+ Formatting applies to backend WYSIWYG editors and all frontend.
5
+ This is the best place to put your heading and text related styles
6
+ like colours, fonts and line-height.
7
+ */
@@ -0,0 +1,5 @@
1
+ @import url('/stylesheets/refinery/home.css');
2
+ /*
3
+ Override default refinery homepage styles here.
4
+ These only apply to the homepage of your site.
5
+ */
@@ -0,0 +1,21 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <%= render :partial => "/shared/head", :locals => {:theme => true} %>
4
+ <body>
5
+ <%= render :partial => "/shared/site_bar" %>
6
+ <div id='page_container'>
7
+ <div id='page'>
8
+ <%= render :partial => "/shared/ie6check" if request.env['HTTP_USER_AGENT'] =~ /MSIE/ -%>
9
+ <div id='header'>
10
+ <%= render :partial => "/shared/header" %>
11
+ </div>
12
+ <div id='body' class='clearfix'>
13
+ <%= yield %>
14
+ </div>
15
+ <div id='footer'>
16
+ <%= render :partial => "/shared/footer" %>
17
+ </div>
18
+ </div>
19
+ </div>
20
+ </body>
21
+ </html>
@@ -0,0 +1,4 @@
1
+ <%# For the best way to modify this page with your own markup read %>
2
+ <%# http://github.com/resolve/refinerycms/blob/master/vendor/plugins/themes/readme.md %>
3
+
4
+ <%= render :partial => "/shared/content_page" %>
@@ -0,0 +1,4 @@
1
+ <%# For the best way to modify this page with your own markup read %>
2
+ <%# http://github.com/resolve/refinerycms/blob/master/vendor/plugins/themes/readme.md %>
3
+
4
+ <%= render :partial => "/shared/content_page" %>
@@ -1,6 +1,5 @@
1
1
  # Set up middleware to serve theme files
2
2
  config.middleware.use "ThemeServer"
3
-
4
3
  ::Refinery::ApplicationController.module_eval do
5
4
 
6
5
  # Add or remove theme paths to/from Refinery application
@@ -45,7 +45,8 @@ Let's take the ``mytheme`` example theme shown above. This is how the theme is s
45
45
  | |- index.html.erb
46
46
  |- layouts
47
47
  |- application.html.erb
48
-
48
+
49
+
49
50
  ### Images
50
51
 
51
52
  Usually this would be just what you have in ``public/images`` except we move that to the theme instead.
@@ -64,7 +65,11 @@ This is exactly the same as how you lay your views out in ``app/views/`` just in
64
65
 
65
66
  ## How do I make my own Theme?
66
67
 
67
- Create a folder with the name if your theme inside ``/themes`` e.g. ``/themes/mytheme`` and follow the directory structure outlined in 'The structure of a Theme'.
68
+ Simply use the Theme generator to make the basic structure of a new theme.
69
+
70
+ ruby script/generate refinery_theme name_of_theme
71
+
72
+ Don't forgot to "activate" this new theme by setting the theme setting to the name of this new theme.
68
73
 
69
74
  ## How do I select which Theme Refinery should use?
70
75
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: refinerycms
3
3
  version: !ruby/object:Gem::Version
4
- hash: 11
4
+ hash: 9
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 9
9
9
  - 7
10
- - 8
11
- version: 0.9.7.8
10
+ - 9
11
+ version: 0.9.7.9
12
12
  platform: ruby
13
13
  authors:
14
14
  - Resolve Digital
@@ -18,7 +18,7 @@ autorequire:
18
18
  bindir: bin
19
19
  cert_chain: []
20
20
 
21
- date: 2010-07-23 00:00:00 +12:00
21
+ date: 2010-07-30 00:00:00 +12:00
22
22
  default_executable:
23
23
  dependencies: []
24
24
 
@@ -91,7 +91,6 @@ files:
91
91
  - db/migrate/20100525084518_remove_take_down_for_maintenance_page.rb
92
92
  - db/migrate/20100525110237_add_small_and_large_thumbnail_sizes.rb
93
93
  - db/migrate/20100530205942_update_link_url_on_pages_from_inquiries_new_to_contact.rb
94
- - db/migrate/20100606173919_create_page_translations.rb
95
94
  - db/migrate/20100608062447_add_scoping_to_refinery_settings.rb
96
95
  - db/migrate/20100623220402_add_restricted_to_refinery_settings.rb
97
96
  - db/migrate/20100624024501_add_roles.rb
@@ -99,11 +98,13 @@ files:
99
98
  - db/migrate/20100701053151_remove_superuser_from_users.rb
100
99
  - db/migrate/20100702022630_add_spam_to_inquiries.rb
101
100
  - db/migrate/20100708014636_ensure_user_plugins_use_name_and_not_title.rb
101
+ - db/migrate/20100729221735_remove_page_translations_if_present.rb
102
102
  - db/schema.rb
103
103
  - db/seeds/inquiry_settings.rb
104
104
  - db/seeds/pages.rb
105
105
  - db/seeds/refinery_settings.rb
106
106
  - db/seeds.rb
107
+ - features/refinery/create_inquiries.feature
107
108
  - features/refinery/dashboard.feature
108
109
  - features/refinery/manage_files.feature
109
110
  - features/refinery/manage_images.feature
@@ -111,15 +112,27 @@ files:
111
112
  - features/refinery/manage_pages.feature
112
113
  - features/refinery/manage_refinery_settings.feature
113
114
  - features/refinery/manage_users.feature
115
+ - features/refinery/plugin_generator.feature
114
116
  - features/refinery/site_bar.feature
117
+ - features/refinery/theme_generator.feature
115
118
  - features/step_definitions/refinery/core_steps.rb
119
+ - features/step_definitions/refinery/file_steps.rb
120
+ - features/step_definitions/refinery/generator_steps.rb
121
+ - features/step_definitions/refinery/image_steps.rb
122
+ - features/step_definitions/refinery/inquiry_steps.rb
116
123
  - features/step_definitions/refinery/page_steps.rb
124
+ - features/step_definitions/refinery/plugin_generator_steps.rb
125
+ - features/step_definitions/refinery/theme_generator_steps.rb
117
126
  - features/step_definitions/refinery/user_steps.rb
118
127
  - features/step_definitions/web_steps.rb
119
128
  - features/support/env.rb
120
129
  - features/support/factories.rb
121
130
  - features/support/negative_expectations_helper.rb
122
131
  - features/support/paths.rb
132
+ - features/uploads/beach.INVALID
133
+ - features/uploads/beach.jpeg
134
+ - features/uploads/id-rather-be-here.jpg
135
+ - features/uploads/refinery_is_awesome.txt
123
136
  - lib/gemspec.rb
124
137
  - lib/refinery_initializer.rb
125
138
  - lib/tasks/cucumber.rake
@@ -710,6 +723,7 @@ files:
710
723
  - vendor/plugins/dashboard/app/views/admin/dashboard/_recent_activity.html.erb
711
724
  - vendor/plugins/dashboard/app/views/admin/dashboard/_recent_inquiries.html.erb
712
725
  - vendor/plugins/dashboard/app/views/admin/dashboard/index.html.erb
726
+ - vendor/plugins/dashboard/app/views/admin/dashboard/index.rss.builder
713
727
  - vendor/plugins/dashboard/config/locales/da.yml
714
728
  - vendor/plugins/dashboard/config/locales/de.yml
715
729
  - vendor/plugins/dashboard/config/locales/en.yml
@@ -957,30 +971,31 @@ files:
957
971
  - vendor/plugins/refinery/config/routes.rb
958
972
  - vendor/plugins/refinery/crud.md
959
973
  - vendor/plugins/refinery/lib/crud.rb
960
- - vendor/plugins/refinery/lib/generators/refinery/install.rb
961
- - vendor/plugins/refinery/lib/generators/refinery/Rakefile
962
- - vendor/plugins/refinery/lib/generators/refinery/README
963
974
  - vendor/plugins/refinery/lib/generators/refinery/refinery_generator.rb
964
- - vendor/plugins/refinery/lib/generators/refinery/templates/config/locales/en.yml
965
- - vendor/plugins/refinery/lib/generators/refinery/templates/config/locales/nb.yml
966
- - vendor/plugins/refinery/lib/generators/refinery/templates/config/locales/nl.yml
967
- - vendor/plugins/refinery/lib/generators/refinery/templates/config/routes.rb
968
- - vendor/plugins/refinery/lib/generators/refinery/templates/controller.rb
969
- - vendor/plugins/refinery/lib/generators/refinery/templates/MIGRATE
970
- - vendor/plugins/refinery/lib/generators/refinery/templates/migration.rb
971
- - vendor/plugins/refinery/lib/generators/refinery/templates/model.rb
972
- - vendor/plugins/refinery/lib/generators/refinery/templates/public_controller.rb
973
- - vendor/plugins/refinery/lib/generators/refinery/templates/rails/init.rb
974
- - vendor/plugins/refinery/lib/generators/refinery/templates/seed.rb
975
- - vendor/plugins/refinery/lib/generators/refinery/templates/views/admin/_form.html.erb
976
- - vendor/plugins/refinery/lib/generators/refinery/templates/views/admin/_singular_name.html.erb
977
- - vendor/plugins/refinery/lib/generators/refinery/templates/views/admin/_sortable_list.html.erb
978
- - vendor/plugins/refinery/lib/generators/refinery/templates/views/admin/edit.html.erb
979
- - vendor/plugins/refinery/lib/generators/refinery/templates/views/admin/index.html.erb
980
- - vendor/plugins/refinery/lib/generators/refinery/templates/views/admin/new.html.erb
981
- - vendor/plugins/refinery/lib/generators/refinery/templates/views/index.html.erb
982
- - vendor/plugins/refinery/lib/generators/refinery/templates/views/show.html.erb
983
- - vendor/plugins/refinery/lib/generators/refinery/USAGE
975
+ - vendor/plugins/refinery/lib/generators/refinery_plugin/install.rb
976
+ - vendor/plugins/refinery/lib/generators/refinery_plugin/Rakefile
977
+ - vendor/plugins/refinery/lib/generators/refinery_plugin/README
978
+ - vendor/plugins/refinery/lib/generators/refinery_plugin/refinery_plugin_generator.rb
979
+ - vendor/plugins/refinery/lib/generators/refinery_plugin/templates/config/locales/en.yml
980
+ - vendor/plugins/refinery/lib/generators/refinery_plugin/templates/config/locales/nb.yml
981
+ - vendor/plugins/refinery/lib/generators/refinery_plugin/templates/config/locales/nl.yml
982
+ - vendor/plugins/refinery/lib/generators/refinery_plugin/templates/config/routes.rb
983
+ - vendor/plugins/refinery/lib/generators/refinery_plugin/templates/controller.rb
984
+ - vendor/plugins/refinery/lib/generators/refinery_plugin/templates/MIGRATE
985
+ - vendor/plugins/refinery/lib/generators/refinery_plugin/templates/migration.rb
986
+ - vendor/plugins/refinery/lib/generators/refinery_plugin/templates/model.rb
987
+ - vendor/plugins/refinery/lib/generators/refinery_plugin/templates/public_controller.rb
988
+ - vendor/plugins/refinery/lib/generators/refinery_plugin/templates/rails/init.rb
989
+ - vendor/plugins/refinery/lib/generators/refinery_plugin/templates/seed.rb
990
+ - vendor/plugins/refinery/lib/generators/refinery_plugin/templates/views/admin/_form.html.erb
991
+ - vendor/plugins/refinery/lib/generators/refinery_plugin/templates/views/admin/_singular_name.html.erb
992
+ - vendor/plugins/refinery/lib/generators/refinery_plugin/templates/views/admin/_sortable_list.html.erb
993
+ - vendor/plugins/refinery/lib/generators/refinery_plugin/templates/views/admin/edit.html.erb
994
+ - vendor/plugins/refinery/lib/generators/refinery_plugin/templates/views/admin/index.html.erb
995
+ - vendor/plugins/refinery/lib/generators/refinery_plugin/templates/views/admin/new.html.erb
996
+ - vendor/plugins/refinery/lib/generators/refinery_plugin/templates/views/index.html.erb
997
+ - vendor/plugins/refinery/lib/generators/refinery_plugin/templates/views/show.html.erb
998
+ - vendor/plugins/refinery/lib/generators/refinery_plugin/USAGE
984
999
  - vendor/plugins/refinery/lib/refinery/activity.rb
985
1000
  - vendor/plugins/refinery/lib/refinery/admin_base_controller.rb
986
1001
  - vendor/plugins/refinery/lib/refinery/application_controller.rb
@@ -1049,6 +1064,17 @@ files:
1049
1064
  - vendor/plugins/resources/rails/init.rb
1050
1065
  - vendor/plugins/resources/readme.md
1051
1066
  - vendor/plugins/themes/app/helpers/themes_helper.rb
1067
+ - vendor/plugins/themes/generators/refinery_theme/install.rb
1068
+ - vendor/plugins/themes/generators/refinery_theme/Rakefile
1069
+ - vendor/plugins/themes/generators/refinery_theme/README
1070
+ - vendor/plugins/themes/generators/refinery_theme/refinery_theme_generator.rb
1071
+ - vendor/plugins/themes/generators/refinery_theme/templates/stylesheets/application.css
1072
+ - vendor/plugins/themes/generators/refinery_theme/templates/stylesheets/formatting.css
1073
+ - vendor/plugins/themes/generators/refinery_theme/templates/stylesheets/home.css
1074
+ - vendor/plugins/themes/generators/refinery_theme/templates/views/layouts/application.html.erb
1075
+ - vendor/plugins/themes/generators/refinery_theme/templates/views/pages/home.html.erb
1076
+ - vendor/plugins/themes/generators/refinery_theme/templates/views/pages/show.html.erb
1077
+ - vendor/plugins/themes/generators/refinery_theme/USAGE
1052
1078
  - vendor/plugins/themes/lib/theme.rb
1053
1079
  - vendor/plugins/themes/lib/theme_server.rb
1054
1080
  - vendor/plugins/themes/rails/init.rb
@@ -1,12 +0,0 @@
1
- class CreatePageTranslations < ActiveRecord::Migration
2
- def self.up
3
- create_table :page_translations do |t|
4
- t.references :page
5
- t.string :custom_title
6
- t.string :meta_keywords
7
- end
8
- end
9
-
10
- def self.down
11
- end
12
- end