alchemy_cms 3.3.0.rc1 → 3.3.0.rc2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -2
- data/Gemfile +1 -0
- data/alchemy_cms.gemspec +6 -6
- data/app/assets/javascripts/alchemy/alchemy.base.js.coffee +0 -7
- data/app/assets/javascripts/alchemy/alchemy.dialog.js.coffee +4 -4
- data/app/assets/javascripts/alchemy/alchemy.element_editors.js.coffee +51 -5
- data/app/assets/javascripts/alchemy/alchemy.sitemap.js.coffee +0 -2
- data/app/assets/stylesheets/alchemy/elements.scss +2 -2
- data/app/controllers/alchemy/admin/elements_controller.rb +2 -0
- data/app/controllers/alchemy/admin/pages_controller.rb +11 -3
- data/app/controllers/alchemy/admin/pictures_controller.rb +1 -0
- data/app/models/alchemy/element.rb +3 -1
- data/app/models/alchemy/element/element_contents.rb +2 -7
- data/app/models/alchemy/element/presenters.rb +11 -4
- data/app/models/alchemy/page.rb +3 -1
- data/app/views/alchemy/admin/attachments/archive_overlay.js.erb +0 -1
- data/app/views/alchemy/admin/contents/create.js.erb +0 -1
- data/app/views/alchemy/admin/elements/_element_header.html.erb +3 -1
- data/app/views/alchemy/admin/elements/order.js.erb +25 -10
- data/app/views/alchemy/admin/elements/update.js.erb +1 -2
- data/app/views/alchemy/admin/essence_files/assign.js.erb +0 -1
- data/app/views/alchemy/admin/essence_pictures/assign.js.erb +0 -1
- data/app/views/alchemy/admin/legacy_page_urls/create.js.erb +0 -1
- data/app/views/alchemy/admin/pages/destroy.js.erb +0 -1
- data/app/views/alchemy/admin/pages/update.js.erb +6 -4
- data/app/views/alchemy/admin/pictures/_filter_and_size_bar.html.erb +2 -1
- data/app/views/alchemy/admin/pictures/_picture_to_assign.html.erb +1 -7
- data/app/views/alchemy/admin/pictures/archive_overlay.js.erb +0 -1
- data/bin/alchemy +1 -1
- data/bin/rspec +3 -2
- data/bin/spring +6 -6
- data/config/alchemy/config.yml +6 -1
- data/lib/alchemy/seeder.rb +9 -3
- data/lib/alchemy/version.rb +1 -1
- metadata +6 -471
- data/spec/controllers/alchemy/admin/attachments_controller_spec.rb +0 -193
- data/spec/controllers/alchemy/admin/base_controller_spec.rb +0 -87
- data/spec/controllers/alchemy/admin/clipboard_controller_spec.rb +0 -60
- data/spec/controllers/alchemy/admin/contents_controller_spec.rb +0 -78
- data/spec/controllers/alchemy/admin/dashboard_controller_spec.rb +0 -144
- data/spec/controllers/alchemy/admin/elements_controller_spec.rb +0 -496
- data/spec/controllers/alchemy/admin/essence_files_controller_spec.rb +0 -76
- data/spec/controllers/alchemy/admin/essence_pictures_controller_spec.rb +0 -202
- data/spec/controllers/alchemy/admin/languages_controller_spec.rb +0 -73
- data/spec/controllers/alchemy/admin/layoutpages_controller_spec.rb +0 -21
- data/spec/controllers/alchemy/admin/pages_controller_spec.rb +0 -639
- data/spec/controllers/alchemy/admin/pictures_controller_spec.rb +0 -383
- data/spec/controllers/alchemy/admin/resources_controller_spec.rb +0 -81
- data/spec/controllers/alchemy/admin/tags_controller_spec.rb +0 -63
- data/spec/controllers/alchemy/admin/trash_controller_spec.rb +0 -67
- data/spec/controllers/alchemy/api/contents_controller_spec.rb +0 -125
- data/spec/controllers/alchemy/api/elements_controller_spec.rb +0 -124
- data/spec/controllers/alchemy/api/pages_controller_spec.rb +0 -167
- data/spec/controllers/alchemy/attachments_controller_spec.rb +0 -64
- data/spec/controllers/alchemy/base_controller_spec.rb +0 -106
- data/spec/controllers/alchemy/elements_controller_spec.rb +0 -48
- data/spec/controllers/alchemy/messages_controller_spec.rb +0 -204
- data/spec/controllers/alchemy/on_page_layout_mixin_spec.rb +0 -330
- data/spec/controllers/alchemy/pages_controller_spec.rb +0 -343
- data/spec/controllers/alchemy/pictures_controller_spec.rb +0 -415
- data/spec/dummy/Rakefile +0 -6
- data/spec/dummy/app/assets/javascripts/application.js +0 -13
- data/spec/dummy/app/assets/stylesheets/application.css +0 -15
- data/spec/dummy/app/controllers/admin/events_controller.rb +0 -3
- data/spec/dummy/app/controllers/application_controller.rb +0 -15
- data/spec/dummy/app/controllers/login_controller.rb +0 -5
- data/spec/dummy/app/helpers/application_helper.rb +0 -2
- data/spec/dummy/app/mailers/.gitkeep +0 -0
- data/spec/dummy/app/models/ability.rb +0 -9
- data/spec/dummy/app/models/dummy_model.rb +0 -3
- data/spec/dummy/app/models/dummy_user.rb +0 -15
- data/spec/dummy/app/models/event.rb +0 -10
- data/spec/dummy/app/models/location.rb +0 -3
- data/spec/dummy/app/views/alchemy/elements/_all_you_can_eat_editor.html.erb +0 -11
- data/spec/dummy/app/views/alchemy/elements/_all_you_can_eat_view.html.erb +0 -31
- data/spec/dummy/app/views/alchemy/elements/_article_editor.html.erb +0 -6
- data/spec/dummy/app/views/alchemy/elements/_article_view.html.erb +0 -10
- data/spec/dummy/app/views/alchemy/elements/_bild_editor.html.erb +0 -3
- data/spec/dummy/app/views/alchemy/elements/_bild_view.html.erb +0 -5
- data/spec/dummy/app/views/alchemy/elements/_contactform_editor.html.erb +0 -6
- data/spec/dummy/app/views/alchemy/elements/_contactform_view.html.erb +0 -16
- data/spec/dummy/app/views/alchemy/elements/_download_editor.html.erb +0 -3
- data/spec/dummy/app/views/alchemy/elements/_download_view.html.erb +0 -5
- data/spec/dummy/app/views/alchemy/elements/_erb_element_editor.html.erb +0 -3
- data/spec/dummy/app/views/alchemy/elements/_erb_element_view.html.erb +0 -5
- data/spec/dummy/app/views/alchemy/elements/_header_editor.html.erb +0 -3
- data/spec/dummy/app/views/alchemy/elements/_header_view.html.erb +0 -5
- data/spec/dummy/app/views/alchemy/elements/_headline_editor.html.erb +0 -1
- data/spec/dummy/app/views/alchemy/elements/_headline_view.html.erb +0 -1
- data/spec/dummy/app/views/alchemy/elements/_news_editor.html.erb +0 -5
- data/spec/dummy/app/views/alchemy/elements/_news_view.html.erb +0 -11
- data/spec/dummy/app/views/alchemy/elements/_search_editor.html.erb +0 -1
- data/spec/dummy/app/views/alchemy/elements/_search_view.html.erb +0 -4
- data/spec/dummy/app/views/alchemy/elements/_slide_editor.html.erb +0 -3
- data/spec/dummy/app/views/alchemy/elements/_slide_view.html.erb +0 -5
- data/spec/dummy/app/views/alchemy/elements/_slider_editor.html.erb +0 -2
- data/spec/dummy/app/views/alchemy/elements/_slider_view.html.erb +0 -4
- data/spec/dummy/app/views/alchemy/elements/_text_editor.html.erb +0 -3
- data/spec/dummy/app/views/alchemy/elements/_text_view.html.erb +0 -5
- data/spec/dummy/app/views/alchemy/page_layouts/_standard.html.erb +0 -15
- data/spec/dummy/app/views/layouts/application.html.erb +0 -17
- data/spec/dummy/bin/bundle +0 -3
- data/spec/dummy/bin/rails +0 -4
- data/spec/dummy/bin/rake +0 -4
- data/spec/dummy/config.ru +0 -4
- data/spec/dummy/config/alchemy/cells.yml +0 -5
- data/spec/dummy/config/alchemy/elements.yml +0 -109
- data/spec/dummy/config/alchemy/page_layouts.yml +0 -32
- data/spec/dummy/config/application.rb +0 -32
- data/spec/dummy/config/boot.rb +0 -5
- data/spec/dummy/config/database.yml +0 -32
- data/spec/dummy/config/environment.rb +0 -5
- data/spec/dummy/config/environments/development.rb +0 -41
- data/spec/dummy/config/environments/production.rb +0 -77
- data/spec/dummy/config/environments/test.rb +0 -43
- data/spec/dummy/config/initializers/alchemy.rb +0 -3
- data/spec/dummy/config/initializers/assets.rb +0 -11
- data/spec/dummy/config/initializers/backtrace_silencers.rb +0 -7
- data/spec/dummy/config/initializers/cookies_serializer.rb +0 -3
- data/spec/dummy/config/initializers/filter_parameter_logging.rb +0 -4
- data/spec/dummy/config/initializers/inflections.rb +0 -16
- data/spec/dummy/config/initializers/mime_types.rb +0 -4
- data/spec/dummy/config/initializers/secret_token.rb +0 -12
- data/spec/dummy/config/initializers/session_store.rb +0 -3
- data/spec/dummy/config/initializers/wrap_parameters.rb +0 -14
- data/spec/dummy/config/locales/kl.yml +0 -2
- data/spec/dummy/config/routes.rb +0 -12
- data/spec/dummy/config/secrets.yml +0 -22
- data/spec/dummy/db/migrate/20121026104128_create_events.rb +0 -20
- data/spec/dummy/db/migrate/20130328101418_create_locations.rb +0 -9
- data/spec/dummy/db/migrate/20130827094554_alchemy_two_point_six.rb +0 -1
- data/spec/dummy/db/migrate/20130828121054_remove_do_not_index_from_alchemy_essence_texts.rb +0 -1
- data/spec/dummy/db/migrate/20130828121120_remove_do_not_index_from_alchemy_essence_richtexts.rb +0 -1
- data/spec/dummy/db/migrate/20130918201742_add_published_at_to_alchemy_pages.rb +0 -1
- data/spec/dummy/db/migrate/20131209225243_create_dummy_users.rb +0 -9
- data/spec/dummy/db/migrate/20150122213511_acts_as_taggable_on_migration.acts_as_taggable_on_engine.rb +0 -31
- data/spec/dummy/db/migrate/20150122213512_add_missing_unique_indices.acts_as_taggable_on_engine.rb +0 -20
- data/spec/dummy/db/migrate/20150122213513_add_taggings_counter_cache_to_tags.acts_as_taggable_on_engine.rb +0 -15
- data/spec/dummy/db/migrate/20150122213514_add_missing_taggable_index.acts_as_taggable_on_engine.rb +0 -10
- data/spec/dummy/db/migrate/20150412103152_create_dummy_model.rb +0 -7
- data/spec/dummy/db/migrate/20150608204610_add_parent_element_id_to_alchemy_elements.rb +0 -1
- data/spec/dummy/db/migrate/20150729151825_add_link_text_to_alchemy_essence_files.rb +0 -1
- data/spec/dummy/db/migrate/20150906195818_add_locale_to_alchemy_languages.rb +0 -1
- data/spec/dummy/db/schema.rb +0 -326
- data/spec/dummy/db/seeds.rb +0 -1
- data/spec/dummy/lib/assets/.gitkeep +0 -0
- data/spec/dummy/public/404.html +0 -67
- data/spec/dummy/public/422.html +0 -67
- data/spec/dummy/public/500.html +0 -66
- data/spec/dummy/public/favicon.ico +0 -0
- data/spec/dummy/spec/javascripts +0 -1
- data/spec/factories.rb +0 -13
- data/spec/features/admin/admin_layout_spec.rb +0 -14
- data/spec/features/admin/dashboard_spec.rb +0 -81
- data/spec/features/admin/edit_elements_feature_spec.rb +0 -36
- data/spec/features/admin/language_tree_feature_spec.rb +0 -32
- data/spec/features/admin/languages_features_spec.rb +0 -65
- data/spec/features/admin/legacy_page_url_management_spec.rb +0 -62
- data/spec/features/admin/link_overlay_spec.rb +0 -53
- data/spec/features/admin/locale_select_feature_spec.rb +0 -25
- data/spec/features/admin/modules_integration_spec.rb +0 -23
- data/spec/features/admin/navigation_feature_spec.rb +0 -22
- data/spec/features/admin/page_creation_feature_spec.rb +0 -51
- data/spec/features/admin/page_editing_feature_spec.rb +0 -135
- data/spec/features/admin/picture_library_integration_spec.rb +0 -62
- data/spec/features/admin/resources_integration_spec.rb +0 -128
- data/spec/features/admin/site_select_feature_spec.rb +0 -31
- data/spec/features/admin/tinymce_feature_spec.rb +0 -33
- data/spec/features/navigation_spec.rb +0 -9
- data/spec/features/page_feature_spec.rb +0 -186
- data/spec/features/page_redirects_spec.rb +0 -358
- data/spec/features/picture_security_spec.rb +0 -29
- data/spec/features/security_spec.rb +0 -24
- data/spec/features/translation_integration_spec.rb +0 -51
- data/spec/fixtures/500x500.png +0 -0
- data/spec/fixtures/80x60.png +0 -0
- data/spec/fixtures/animated.gif +0 -0
- data/spec/fixtures/image with spaces.png +0 -0
- data/spec/fixtures/image.png +0 -0
- data/spec/fixtures/image2.PNG +0 -0
- data/spec/fixtures/image3.jpeg +0 -0
- data/spec/helpers/alchemy/admin/attachments_helper_spec.rb +0 -15
- data/spec/helpers/alchemy/admin/base_helper_spec.rb +0 -280
- data/spec/helpers/alchemy/admin/contents_helper_spec.rb +0 -46
- data/spec/helpers/alchemy/admin/elements_helper_spec.rb +0 -314
- data/spec/helpers/alchemy/admin/essences_helper_spec.rb +0 -201
- data/spec/helpers/alchemy/admin/navigation_helper_spec.rb +0 -294
- data/spec/helpers/alchemy/admin/pages_helper_spec.rb +0 -63
- data/spec/helpers/alchemy/admin/pictures_helper_spec.rb +0 -28
- data/spec/helpers/alchemy/admin/tags_helper_spec.rb +0 -111
- data/spec/helpers/alchemy/base_helper_spec.rb +0 -44
- data/spec/helpers/alchemy/elements_block_helper_spec.rb +0 -135
- data/spec/helpers/alchemy/elements_helper_spec.rb +0 -326
- data/spec/helpers/alchemy/essences_helper_spec.rb +0 -85
- data/spec/helpers/alchemy/pages_helper_spec.rb +0 -499
- data/spec/helpers/alchemy/picture_url_helpers_spec.rb +0 -78
- data/spec/helpers/alchemy/url_helper_spec.rb +0 -200
- data/spec/javascripts/alchemy/dialog_spec.coffee +0 -82
- data/spec/javascripts/alchemy/link_overlay_spec.coffee +0 -25
- data/spec/javascripts/alchemy_integration_spec.coffee +0 -3
- data/spec/javascripts/fixtures/select.html +0 -3
- data/spec/javascripts/helpers/mock-ajax.js +0 -199
- data/spec/javascripts/helpers/test_responses/test_responses.js +0 -1
- data/spec/javascripts/support/jasmine.yml +0 -29
- data/spec/libraries/auth_accessors_spec.rb +0 -40
- data/spec/libraries/config_spec.rb +0 -111
- data/spec/libraries/controller_actions_spec.rb +0 -133
- data/spec/libraries/i18n_spec.rb +0 -37
- data/spec/libraries/kaminari/scoped_pagination_url_helper_spec.rb +0 -30
- data/spec/libraries/modules_spec.rb +0 -67
- data/spec/libraries/mount_point_spec.rb +0 -77
- data/spec/libraries/page_layout_spec.rb +0 -150
- data/spec/libraries/paths_spec.rb +0 -15
- data/spec/libraries/permissions_spec.rb +0 -260
- data/spec/libraries/resource_spec.rb +0 -344
- data/spec/libraries/resources_helper_spec.rb +0 -193
- data/spec/libraries/shell_spec.rb +0 -121
- data/spec/libraries/template_tracker_spec.rb +0 -85
- data/spec/libraries/tinymce_spec.rb +0 -111
- data/spec/libraries/userstamp_spec.rb +0 -10
- data/spec/mailers/alchemy/messages_spec.rb +0 -21
- data/spec/models/alchemy/attachment_spec.rb +0 -250
- data/spec/models/alchemy/cell_spec.rb +0 -101
- data/spec/models/alchemy/content_spec.rb +0 -513
- data/spec/models/alchemy/element_spec.rb +0 -862
- data/spec/models/alchemy/element_to_page_spec.rb +0 -13
- data/spec/models/alchemy/essence_boolean_spec.rb +0 -10
- data/spec/models/alchemy/essence_date_spec.rb +0 -28
- data/spec/models/alchemy/essence_file_spec.rb +0 -40
- data/spec/models/alchemy/essence_html_spec.rb +0 -18
- data/spec/models/alchemy/essence_link_spec.rb +0 -10
- data/spec/models/alchemy/essence_picture_spec.rb +0 -255
- data/spec/models/alchemy/essence_richtext_spec.rb +0 -23
- data/spec/models/alchemy/essence_select_spec.rb +0 -10
- data/spec/models/alchemy/essence_text_spec.rb +0 -110
- data/spec/models/alchemy/language_spec.rb +0 -243
- data/spec/models/alchemy/legacy_page_url_spec.rb +0 -21
- data/spec/models/alchemy/message_spec.rb +0 -55
- data/spec/models/alchemy/page_spec.rb +0 -2108
- data/spec/models/alchemy/picture_spec.rb +0 -418
- data/spec/models/alchemy/site_spec.rb +0 -168
- data/spec/models/alchemy/tag_spec.rb +0 -29
- data/spec/models/dummy_model_spec.rb +0 -10
- data/spec/requests/alchemy/admin/resources_requests_spec.rb +0 -26
- data/spec/requests/alchemy/admin/site_requests_spec.rb +0 -19
- data/spec/requests/alchemy/site_requests_spec.rb +0 -18
- data/spec/requests/alchemy/sitemap_spec.rb +0 -56
- data/spec/routing/api_routing_spec.rb +0 -150
- data/spec/routing/routing_spec.rb +0 -340
- data/spec/spec_helper.rb +0 -90
- data/spec/support/ci/install_phantomjs +0 -7
- data/spec/support/hint_examples.rb +0 -28
- data/spec/support/test_tweaks.rb +0 -31
- data/spec/support/transformation_examples.rb +0 -179
- data/spec/tasks/helpers_spec.rb +0 -217
- data/spec/views/admin/pictures/show_spec.rb +0 -43
- data/spec/views/essences/essence_boolean_editor_spec.rb +0 -32
- data/spec/views/essences/essence_boolean_view_spec.rb +0 -23
- data/spec/views/essences/essence_date_view_spec.rb +0 -38
- data/spec/views/essences/essence_file_editor_spec.rb +0 -59
- data/spec/views/essences/essence_file_view_spec.rb +0 -77
- data/spec/views/essences/essence_html_view_spec.rb +0 -22
- data/spec/views/essences/essence_link_view_spec.rb +0 -41
- data/spec/views/essences/essence_picture_editor_spec.rb +0 -80
- data/spec/views/essences/essence_picture_view_spec.rb +0 -128
- data/spec/views/essences/essence_richtext_view_spec.rb +0 -32
- data/spec/views/essences/essence_select_view_spec.rb +0 -11
- data/spec/views/essences/essence_text_view_spec.rb +0 -51
@@ -1,8 +1,6 @@
|
|
1
1
|
(function() {
|
2
2
|
var $page;
|
3
3
|
|
4
|
-
Alchemy.growl("<%= j @notice %>");
|
5
|
-
|
6
4
|
<% if @old_page_layout != @page.page_layout -%>
|
7
5
|
Alchemy.ElementsWindow.reload();
|
8
6
|
Alchemy.growl('<%= j Alchemy.t(:page_layout_changed_notice) %>');
|
@@ -15,9 +13,12 @@
|
|
15
13
|
|
16
14
|
<% else -%>
|
17
15
|
|
18
|
-
|
16
|
+
var page_html = "<%= j render('page', page: @page) %>";
|
17
|
+
var compiler = Handlebars.compile(page_html);
|
18
|
+
var tree = JSON.parse('<%== @tree.to_json %>');
|
19
|
+
var html = compiler(tree.pages[0]);
|
20
|
+
$('#page_<%= @page.id %>').replaceWith(html);
|
19
21
|
$page = $('#page_<%= @page.id %>');
|
20
|
-
Alchemy.watchForDialogs($page);
|
21
22
|
|
22
23
|
<% if @page.locked? && @page.locker == current_alchemy_user -%>
|
23
24
|
$('#locked_page_<%= @page.id %> > a').html('<%= @page.name %>');
|
@@ -33,5 +34,6 @@
|
|
33
34
|
|
34
35
|
<% end -%>
|
35
36
|
|
37
|
+
Alchemy.growl("<%= j @notice %>");
|
36
38
|
Alchemy.closeCurrentDialog();
|
37
39
|
})()
|
@@ -1,11 +1,5 @@
|
|
1
1
|
<div class="picture_thumbnail assign_image_list_detail <%= size.blank? ? 'medium' : size %>" name="<%= picture_to_assign.name %>" id="picture_to_assign_<%= picture_to_assign.id %>">
|
2
|
-
<% unless params[:image_assign_url].blank? %>
|
3
|
-
<% action_url = params[:image_assign_url] + "?picture_id=#{picture_to_assign.id}" %>
|
4
|
-
<% action_method = params[:image_assign_method] %>
|
5
|
-
<% else %>
|
6
2
|
<% action_url = create_or_assign_url(picture_to_assign, @options.to_json) %>
|
7
|
-
<% action_method = @content.blank? ? 'post' : 'put' %>
|
8
|
-
<% end %>
|
9
3
|
<%= link_to(
|
10
4
|
image_tag(
|
11
5
|
alchemy.thumbnail_path(
|
@@ -18,7 +12,7 @@
|
|
18
12
|
action_url,
|
19
13
|
remote: true,
|
20
14
|
onclick: '$(self).attr("href", "#").off("click"); return false',
|
21
|
-
method:
|
15
|
+
method: @content.blank? ? 'post' : 'put',
|
22
16
|
title: Alchemy.t(:assign_image),
|
23
17
|
class: 'thumbnail_background'
|
24
18
|
) %>
|
@@ -2,7 +2,6 @@
|
|
2
2
|
var dialog = Alchemy.currentDialog();
|
3
3
|
dialog.dialog_body.html('<%= j render("archive_overlay") %>');
|
4
4
|
Alchemy.SelectBox('#filter_bar');
|
5
|
-
Alchemy.watchForDialogs(dialog.dialog_body);
|
6
5
|
Alchemy.ImageLoader('#assign_image_list');
|
7
6
|
Alchemy.ListFilter(dialog.dialog_body);
|
8
7
|
})();
|
data/bin/alchemy
CHANGED
@@ -18,7 +18,7 @@ class AlchemyInstaller < Thor
|
|
18
18
|
end
|
19
19
|
|
20
20
|
desc "new PROJECT", "Creates a new Alchemy CMS project."
|
21
|
-
method_option :database, type: :string, aliases: "-d", desc: "
|
21
|
+
method_option :database, type: :string, aliases: "-d", desc: "Preconfigure for selected database (options: mysql/postgresql/sqlite3). Default: sqlite3"
|
22
22
|
def new(project)
|
23
23
|
@application = project.downcase.strip.tr(' ', '_')
|
24
24
|
say welcome_message, :yellow
|
data/bin/rspec
CHANGED
@@ -1,7 +1,8 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
begin
|
3
|
-
load File.expand_path(
|
4
|
-
rescue LoadError
|
3
|
+
load File.expand_path('../spring', __FILE__)
|
4
|
+
rescue LoadError => e
|
5
|
+
raise unless e.message.include?('spring')
|
5
6
|
end
|
6
7
|
require 'bundler/setup'
|
7
8
|
load Gem.bin_path('rspec-core', 'rspec')
|
data/bin/spring
CHANGED
@@ -4,12 +4,12 @@
|
|
4
4
|
# It gets overwritten when you run the `spring binstub` command.
|
5
5
|
|
6
6
|
unless defined?(Spring)
|
7
|
-
require
|
8
|
-
require
|
7
|
+
require 'rubygems'
|
8
|
+
require 'bundler'
|
9
9
|
|
10
|
-
if match = Bundler.default_lockfile.read.match(/^GEM$.*?^ (?: )*spring \((.*?)\)$.*?^$/m)
|
11
|
-
Gem.paths = {
|
12
|
-
gem
|
13
|
-
require
|
10
|
+
if (match = Bundler.default_lockfile.read.match(/^GEM$.*?^ (?: )*spring \((.*?)\)$.*?^$/m))
|
11
|
+
Gem.paths = { 'GEM_PATH' => [Bundler.bundle_path.to_s, *Gem.path].uniq.join(Gem.path_separator) }
|
12
|
+
gem 'spring', match[1]
|
13
|
+
require 'spring/binstub'
|
14
14
|
end
|
15
15
|
end
|
data/config/alchemy/config.yml
CHANGED
@@ -77,7 +77,12 @@ output_image_jpg_quality: 85
|
|
77
77
|
preprocess_image_resize:
|
78
78
|
image_output_format: jpg
|
79
79
|
|
80
|
-
# This is the
|
80
|
+
# This is used by the seeder to create the default site.
|
81
|
+
default_site:
|
82
|
+
name: Default Site
|
83
|
+
host: '*'
|
84
|
+
|
85
|
+
# This is the default language when a new site gets created.
|
81
86
|
default_language:
|
82
87
|
code: en
|
83
88
|
name: English
|
data/lib/alchemy/seeder.rb
CHANGED
@@ -7,7 +7,7 @@ module Alchemy
|
|
7
7
|
class << self
|
8
8
|
# This seed builds the necessary page structure for Alchemy in your database.
|
9
9
|
#
|
10
|
-
# Call this from your db/seeds.rb file with the rake db:seed task.
|
10
|
+
# Call this from your +db/seeds.rb+ file with the `rake db:seed task'.
|
11
11
|
#
|
12
12
|
def seed!
|
13
13
|
create_default_site
|
@@ -20,8 +20,8 @@ module Alchemy
|
|
20
20
|
desc "Creating default Alchemy site"
|
21
21
|
if Alchemy::Site.count == 0
|
22
22
|
site = Alchemy::Site.new(
|
23
|
-
name: '
|
24
|
-
host: '
|
23
|
+
name: site_config['name'],
|
24
|
+
host: site_config['host']
|
25
25
|
)
|
26
26
|
if Alchemy::Language.any?
|
27
27
|
site.languages = Alchemy::Language.all
|
@@ -45,6 +45,12 @@ module Alchemy
|
|
45
45
|
log "Alchemy root page was already present.", :skip
|
46
46
|
end
|
47
47
|
end
|
48
|
+
|
49
|
+
private
|
50
|
+
|
51
|
+
def site_config
|
52
|
+
@_site_config ||= Alchemy::Config.get(:default_site)
|
53
|
+
end
|
48
54
|
end
|
49
55
|
end
|
50
56
|
end
|
data/lib/alchemy/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: alchemy_cms
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.3.0.
|
4
|
+
version: 3.3.0.rc2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Thomas von Deyen
|
@@ -9,10 +9,11 @@ authors:
|
|
9
9
|
- Marc Schettke
|
10
10
|
- Hendrik Mans
|
11
11
|
- Carsten Fregin
|
12
|
+
- Martin Meyerhoff
|
12
13
|
autorequire:
|
13
14
|
bindir: bin
|
14
15
|
cert_chain: []
|
15
|
-
date: 2016-
|
16
|
+
date: 2016-05-10 00:00:00.000000000 Z
|
16
17
|
dependencies:
|
17
18
|
- !ruby/object:Gem::Dependency
|
18
19
|
name: actionpack-page_caching
|
@@ -913,239 +914,6 @@ files:
|
|
913
914
|
- lib/tasks/alchemy/install.rake
|
914
915
|
- lib/tasks/alchemy/tidy.rake
|
915
916
|
- lib/tasks/alchemy/upgrade.rake
|
916
|
-
- spec/controllers/alchemy/admin/attachments_controller_spec.rb
|
917
|
-
- spec/controllers/alchemy/admin/base_controller_spec.rb
|
918
|
-
- spec/controllers/alchemy/admin/clipboard_controller_spec.rb
|
919
|
-
- spec/controllers/alchemy/admin/contents_controller_spec.rb
|
920
|
-
- spec/controllers/alchemy/admin/dashboard_controller_spec.rb
|
921
|
-
- spec/controllers/alchemy/admin/elements_controller_spec.rb
|
922
|
-
- spec/controllers/alchemy/admin/essence_files_controller_spec.rb
|
923
|
-
- spec/controllers/alchemy/admin/essence_pictures_controller_spec.rb
|
924
|
-
- spec/controllers/alchemy/admin/languages_controller_spec.rb
|
925
|
-
- spec/controllers/alchemy/admin/layoutpages_controller_spec.rb
|
926
|
-
- spec/controllers/alchemy/admin/pages_controller_spec.rb
|
927
|
-
- spec/controllers/alchemy/admin/pictures_controller_spec.rb
|
928
|
-
- spec/controllers/alchemy/admin/resources_controller_spec.rb
|
929
|
-
- spec/controllers/alchemy/admin/tags_controller_spec.rb
|
930
|
-
- spec/controllers/alchemy/admin/trash_controller_spec.rb
|
931
|
-
- spec/controllers/alchemy/api/contents_controller_spec.rb
|
932
|
-
- spec/controllers/alchemy/api/elements_controller_spec.rb
|
933
|
-
- spec/controllers/alchemy/api/pages_controller_spec.rb
|
934
|
-
- spec/controllers/alchemy/attachments_controller_spec.rb
|
935
|
-
- spec/controllers/alchemy/base_controller_spec.rb
|
936
|
-
- spec/controllers/alchemy/elements_controller_spec.rb
|
937
|
-
- spec/controllers/alchemy/messages_controller_spec.rb
|
938
|
-
- spec/controllers/alchemy/on_page_layout_mixin_spec.rb
|
939
|
-
- spec/controllers/alchemy/pages_controller_spec.rb
|
940
|
-
- spec/controllers/alchemy/pictures_controller_spec.rb
|
941
|
-
- spec/dummy/Rakefile
|
942
|
-
- spec/dummy/app/assets/javascripts/application.js
|
943
|
-
- spec/dummy/app/assets/stylesheets/application.css
|
944
|
-
- spec/dummy/app/controllers/admin/events_controller.rb
|
945
|
-
- spec/dummy/app/controllers/application_controller.rb
|
946
|
-
- spec/dummy/app/controllers/login_controller.rb
|
947
|
-
- spec/dummy/app/helpers/application_helper.rb
|
948
|
-
- spec/dummy/app/mailers/.gitkeep
|
949
|
-
- spec/dummy/app/models/ability.rb
|
950
|
-
- spec/dummy/app/models/dummy_model.rb
|
951
|
-
- spec/dummy/app/models/dummy_user.rb
|
952
|
-
- spec/dummy/app/models/event.rb
|
953
|
-
- spec/dummy/app/models/location.rb
|
954
|
-
- spec/dummy/app/views/alchemy/elements/_all_you_can_eat_editor.html.erb
|
955
|
-
- spec/dummy/app/views/alchemy/elements/_all_you_can_eat_view.html.erb
|
956
|
-
- spec/dummy/app/views/alchemy/elements/_article_editor.html.erb
|
957
|
-
- spec/dummy/app/views/alchemy/elements/_article_view.html.erb
|
958
|
-
- spec/dummy/app/views/alchemy/elements/_bild_editor.html.erb
|
959
|
-
- spec/dummy/app/views/alchemy/elements/_bild_view.html.erb
|
960
|
-
- spec/dummy/app/views/alchemy/elements/_contactform_editor.html.erb
|
961
|
-
- spec/dummy/app/views/alchemy/elements/_contactform_view.html.erb
|
962
|
-
- spec/dummy/app/views/alchemy/elements/_download_editor.html.erb
|
963
|
-
- spec/dummy/app/views/alchemy/elements/_download_view.html.erb
|
964
|
-
- spec/dummy/app/views/alchemy/elements/_erb_element_editor.html.erb
|
965
|
-
- spec/dummy/app/views/alchemy/elements/_erb_element_view.html.erb
|
966
|
-
- spec/dummy/app/views/alchemy/elements/_header_editor.html.erb
|
967
|
-
- spec/dummy/app/views/alchemy/elements/_header_view.html.erb
|
968
|
-
- spec/dummy/app/views/alchemy/elements/_headline_editor.html.erb
|
969
|
-
- spec/dummy/app/views/alchemy/elements/_headline_view.html.erb
|
970
|
-
- spec/dummy/app/views/alchemy/elements/_news_editor.html.erb
|
971
|
-
- spec/dummy/app/views/alchemy/elements/_news_view.html.erb
|
972
|
-
- spec/dummy/app/views/alchemy/elements/_search_editor.html.erb
|
973
|
-
- spec/dummy/app/views/alchemy/elements/_search_view.html.erb
|
974
|
-
- spec/dummy/app/views/alchemy/elements/_slide_editor.html.erb
|
975
|
-
- spec/dummy/app/views/alchemy/elements/_slide_view.html.erb
|
976
|
-
- spec/dummy/app/views/alchemy/elements/_slider_editor.html.erb
|
977
|
-
- spec/dummy/app/views/alchemy/elements/_slider_view.html.erb
|
978
|
-
- spec/dummy/app/views/alchemy/elements/_text_editor.html.erb
|
979
|
-
- spec/dummy/app/views/alchemy/elements/_text_view.html.erb
|
980
|
-
- spec/dummy/app/views/alchemy/page_layouts/_standard.html.erb
|
981
|
-
- spec/dummy/app/views/layouts/application.html.erb
|
982
|
-
- spec/dummy/bin/bundle
|
983
|
-
- spec/dummy/bin/rails
|
984
|
-
- spec/dummy/bin/rake
|
985
|
-
- spec/dummy/config.ru
|
986
|
-
- spec/dummy/config/alchemy/cells.yml
|
987
|
-
- spec/dummy/config/alchemy/elements.yml
|
988
|
-
- spec/dummy/config/alchemy/page_layouts.yml
|
989
|
-
- spec/dummy/config/application.rb
|
990
|
-
- spec/dummy/config/boot.rb
|
991
|
-
- spec/dummy/config/database.yml
|
992
|
-
- spec/dummy/config/environment.rb
|
993
|
-
- spec/dummy/config/environments/development.rb
|
994
|
-
- spec/dummy/config/environments/production.rb
|
995
|
-
- spec/dummy/config/environments/test.rb
|
996
|
-
- spec/dummy/config/initializers/alchemy.rb
|
997
|
-
- spec/dummy/config/initializers/assets.rb
|
998
|
-
- spec/dummy/config/initializers/backtrace_silencers.rb
|
999
|
-
- spec/dummy/config/initializers/cookies_serializer.rb
|
1000
|
-
- spec/dummy/config/initializers/filter_parameter_logging.rb
|
1001
|
-
- spec/dummy/config/initializers/inflections.rb
|
1002
|
-
- spec/dummy/config/initializers/mime_types.rb
|
1003
|
-
- spec/dummy/config/initializers/secret_token.rb
|
1004
|
-
- spec/dummy/config/initializers/session_store.rb
|
1005
|
-
- spec/dummy/config/initializers/wrap_parameters.rb
|
1006
|
-
- spec/dummy/config/locales/kl.yml
|
1007
|
-
- spec/dummy/config/routes.rb
|
1008
|
-
- spec/dummy/config/secrets.yml
|
1009
|
-
- spec/dummy/db/migrate/20121026104128_create_events.rb
|
1010
|
-
- spec/dummy/db/migrate/20130328101418_create_locations.rb
|
1011
|
-
- spec/dummy/db/migrate/20130827094554_alchemy_two_point_six.rb
|
1012
|
-
- spec/dummy/db/migrate/20130828121054_remove_do_not_index_from_alchemy_essence_texts.rb
|
1013
|
-
- spec/dummy/db/migrate/20130828121120_remove_do_not_index_from_alchemy_essence_richtexts.rb
|
1014
|
-
- spec/dummy/db/migrate/20130918201742_add_published_at_to_alchemy_pages.rb
|
1015
|
-
- spec/dummy/db/migrate/20131209225243_create_dummy_users.rb
|
1016
|
-
- spec/dummy/db/migrate/20150122213511_acts_as_taggable_on_migration.acts_as_taggable_on_engine.rb
|
1017
|
-
- spec/dummy/db/migrate/20150122213512_add_missing_unique_indices.acts_as_taggable_on_engine.rb
|
1018
|
-
- spec/dummy/db/migrate/20150122213513_add_taggings_counter_cache_to_tags.acts_as_taggable_on_engine.rb
|
1019
|
-
- spec/dummy/db/migrate/20150122213514_add_missing_taggable_index.acts_as_taggable_on_engine.rb
|
1020
|
-
- spec/dummy/db/migrate/20150412103152_create_dummy_model.rb
|
1021
|
-
- spec/dummy/db/migrate/20150608204610_add_parent_element_id_to_alchemy_elements.rb
|
1022
|
-
- spec/dummy/db/migrate/20150729151825_add_link_text_to_alchemy_essence_files.rb
|
1023
|
-
- spec/dummy/db/migrate/20150906195818_add_locale_to_alchemy_languages.rb
|
1024
|
-
- spec/dummy/db/schema.rb
|
1025
|
-
- spec/dummy/db/seeds.rb
|
1026
|
-
- spec/dummy/lib/assets/.gitkeep
|
1027
|
-
- spec/dummy/public/404.html
|
1028
|
-
- spec/dummy/public/422.html
|
1029
|
-
- spec/dummy/public/500.html
|
1030
|
-
- spec/dummy/public/favicon.ico
|
1031
|
-
- spec/dummy/spec/javascripts
|
1032
|
-
- spec/factories.rb
|
1033
|
-
- spec/features/admin/admin_layout_spec.rb
|
1034
|
-
- spec/features/admin/dashboard_spec.rb
|
1035
|
-
- spec/features/admin/edit_elements_feature_spec.rb
|
1036
|
-
- spec/features/admin/language_tree_feature_spec.rb
|
1037
|
-
- spec/features/admin/languages_features_spec.rb
|
1038
|
-
- spec/features/admin/legacy_page_url_management_spec.rb
|
1039
|
-
- spec/features/admin/link_overlay_spec.rb
|
1040
|
-
- spec/features/admin/locale_select_feature_spec.rb
|
1041
|
-
- spec/features/admin/modules_integration_spec.rb
|
1042
|
-
- spec/features/admin/navigation_feature_spec.rb
|
1043
|
-
- spec/features/admin/page_creation_feature_spec.rb
|
1044
|
-
- spec/features/admin/page_editing_feature_spec.rb
|
1045
|
-
- spec/features/admin/picture_library_integration_spec.rb
|
1046
|
-
- spec/features/admin/resources_integration_spec.rb
|
1047
|
-
- spec/features/admin/site_select_feature_spec.rb
|
1048
|
-
- spec/features/admin/tinymce_feature_spec.rb
|
1049
|
-
- spec/features/navigation_spec.rb
|
1050
|
-
- spec/features/page_feature_spec.rb
|
1051
|
-
- spec/features/page_redirects_spec.rb
|
1052
|
-
- spec/features/picture_security_spec.rb
|
1053
|
-
- spec/features/security_spec.rb
|
1054
|
-
- spec/features/translation_integration_spec.rb
|
1055
|
-
- spec/fixtures/500x500.png
|
1056
|
-
- spec/fixtures/80x60.png
|
1057
|
-
- spec/fixtures/animated.gif
|
1058
|
-
- spec/fixtures/image with spaces.png
|
1059
|
-
- spec/fixtures/image.png
|
1060
|
-
- spec/fixtures/image2.PNG
|
1061
|
-
- spec/fixtures/image3.jpeg
|
1062
|
-
- spec/helpers/alchemy/admin/attachments_helper_spec.rb
|
1063
|
-
- spec/helpers/alchemy/admin/base_helper_spec.rb
|
1064
|
-
- spec/helpers/alchemy/admin/contents_helper_spec.rb
|
1065
|
-
- spec/helpers/alchemy/admin/elements_helper_spec.rb
|
1066
|
-
- spec/helpers/alchemy/admin/essences_helper_spec.rb
|
1067
|
-
- spec/helpers/alchemy/admin/navigation_helper_spec.rb
|
1068
|
-
- spec/helpers/alchemy/admin/pages_helper_spec.rb
|
1069
|
-
- spec/helpers/alchemy/admin/pictures_helper_spec.rb
|
1070
|
-
- spec/helpers/alchemy/admin/tags_helper_spec.rb
|
1071
|
-
- spec/helpers/alchemy/base_helper_spec.rb
|
1072
|
-
- spec/helpers/alchemy/elements_block_helper_spec.rb
|
1073
|
-
- spec/helpers/alchemy/elements_helper_spec.rb
|
1074
|
-
- spec/helpers/alchemy/essences_helper_spec.rb
|
1075
|
-
- spec/helpers/alchemy/pages_helper_spec.rb
|
1076
|
-
- spec/helpers/alchemy/picture_url_helpers_spec.rb
|
1077
|
-
- spec/helpers/alchemy/url_helper_spec.rb
|
1078
|
-
- spec/javascripts/alchemy/dialog_spec.coffee
|
1079
|
-
- spec/javascripts/alchemy/link_overlay_spec.coffee
|
1080
|
-
- spec/javascripts/alchemy_integration_spec.coffee
|
1081
|
-
- spec/javascripts/fixtures/select.html
|
1082
|
-
- spec/javascripts/helpers/mock-ajax.js
|
1083
|
-
- spec/javascripts/helpers/test_responses/test_responses.js
|
1084
|
-
- spec/javascripts/support/jasmine.yml
|
1085
|
-
- spec/libraries/auth_accessors_spec.rb
|
1086
|
-
- spec/libraries/config_spec.rb
|
1087
|
-
- spec/libraries/controller_actions_spec.rb
|
1088
|
-
- spec/libraries/i18n_spec.rb
|
1089
|
-
- spec/libraries/kaminari/scoped_pagination_url_helper_spec.rb
|
1090
|
-
- spec/libraries/modules_spec.rb
|
1091
|
-
- spec/libraries/mount_point_spec.rb
|
1092
|
-
- spec/libraries/page_layout_spec.rb
|
1093
|
-
- spec/libraries/paths_spec.rb
|
1094
|
-
- spec/libraries/permissions_spec.rb
|
1095
|
-
- spec/libraries/resource_spec.rb
|
1096
|
-
- spec/libraries/resources_helper_spec.rb
|
1097
|
-
- spec/libraries/shell_spec.rb
|
1098
|
-
- spec/libraries/template_tracker_spec.rb
|
1099
|
-
- spec/libraries/tinymce_spec.rb
|
1100
|
-
- spec/libraries/userstamp_spec.rb
|
1101
|
-
- spec/mailers/alchemy/messages_spec.rb
|
1102
|
-
- spec/models/alchemy/attachment_spec.rb
|
1103
|
-
- spec/models/alchemy/cell_spec.rb
|
1104
|
-
- spec/models/alchemy/content_spec.rb
|
1105
|
-
- spec/models/alchemy/element_spec.rb
|
1106
|
-
- spec/models/alchemy/element_to_page_spec.rb
|
1107
|
-
- spec/models/alchemy/essence_boolean_spec.rb
|
1108
|
-
- spec/models/alchemy/essence_date_spec.rb
|
1109
|
-
- spec/models/alchemy/essence_file_spec.rb
|
1110
|
-
- spec/models/alchemy/essence_html_spec.rb
|
1111
|
-
- spec/models/alchemy/essence_link_spec.rb
|
1112
|
-
- spec/models/alchemy/essence_picture_spec.rb
|
1113
|
-
- spec/models/alchemy/essence_richtext_spec.rb
|
1114
|
-
- spec/models/alchemy/essence_select_spec.rb
|
1115
|
-
- spec/models/alchemy/essence_text_spec.rb
|
1116
|
-
- spec/models/alchemy/language_spec.rb
|
1117
|
-
- spec/models/alchemy/legacy_page_url_spec.rb
|
1118
|
-
- spec/models/alchemy/message_spec.rb
|
1119
|
-
- spec/models/alchemy/page_spec.rb
|
1120
|
-
- spec/models/alchemy/picture_spec.rb
|
1121
|
-
- spec/models/alchemy/site_spec.rb
|
1122
|
-
- spec/models/alchemy/tag_spec.rb
|
1123
|
-
- spec/models/dummy_model_spec.rb
|
1124
|
-
- spec/requests/alchemy/admin/resources_requests_spec.rb
|
1125
|
-
- spec/requests/alchemy/admin/site_requests_spec.rb
|
1126
|
-
- spec/requests/alchemy/site_requests_spec.rb
|
1127
|
-
- spec/requests/alchemy/sitemap_spec.rb
|
1128
|
-
- spec/routing/api_routing_spec.rb
|
1129
|
-
- spec/routing/routing_spec.rb
|
1130
|
-
- spec/spec_helper.rb
|
1131
|
-
- spec/support/ci/install_phantomjs
|
1132
|
-
- spec/support/hint_examples.rb
|
1133
|
-
- spec/support/test_tweaks.rb
|
1134
|
-
- spec/support/transformation_examples.rb
|
1135
|
-
- spec/tasks/helpers_spec.rb
|
1136
|
-
- spec/views/admin/pictures/show_spec.rb
|
1137
|
-
- spec/views/essences/essence_boolean_editor_spec.rb
|
1138
|
-
- spec/views/essences/essence_boolean_view_spec.rb
|
1139
|
-
- spec/views/essences/essence_date_view_spec.rb
|
1140
|
-
- spec/views/essences/essence_file_editor_spec.rb
|
1141
|
-
- spec/views/essences/essence_file_view_spec.rb
|
1142
|
-
- spec/views/essences/essence_html_view_spec.rb
|
1143
|
-
- spec/views/essences/essence_link_view_spec.rb
|
1144
|
-
- spec/views/essences/essence_picture_editor_spec.rb
|
1145
|
-
- spec/views/essences/essence_picture_view_spec.rb
|
1146
|
-
- spec/views/essences/essence_richtext_view_spec.rb
|
1147
|
-
- spec/views/essences/essence_select_view_spec.rb
|
1148
|
-
- spec/views/essences/essence_text_view_spec.rb
|
1149
917
|
- vendor/assets/images/Jcrop.gif
|
1150
918
|
- vendor/assets/javascripts/fileupload/jquery.fileupload-process.js
|
1151
919
|
- vendor/assets/javascripts/fileupload/jquery.fileupload-validate.js
|
@@ -1180,7 +948,7 @@ files:
|
|
1180
948
|
- vendor/assets/javascripts/tinymce/themes/modern/theme.min.js
|
1181
949
|
- vendor/assets/javascripts/tinymce/tinymce.min.js
|
1182
950
|
- vendor/assets/stylesheets/jquery.Jcrop.min.css
|
1183
|
-
homepage:
|
951
|
+
homepage: https://alchemy-cms.com
|
1184
952
|
licenses:
|
1185
953
|
- BSD New
|
1186
954
|
metadata: {}
|
@@ -1226,242 +994,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
1226
994
|
requirements:
|
1227
995
|
- ImageMagick (libmagick), v6.6 or greater.
|
1228
996
|
rubyforge_project:
|
1229
|
-
rubygems_version: 2.6.
|
997
|
+
rubygems_version: 2.6.4
|
1230
998
|
signing_key:
|
1231
999
|
specification_version: 4
|
1232
1000
|
summary: A powerful, userfriendly and flexible CMS for Rails 4
|
1233
|
-
test_files:
|
1234
|
-
- spec/controllers/alchemy/admin/attachments_controller_spec.rb
|
1235
|
-
- spec/controllers/alchemy/admin/base_controller_spec.rb
|
1236
|
-
- spec/controllers/alchemy/admin/clipboard_controller_spec.rb
|
1237
|
-
- spec/controllers/alchemy/admin/contents_controller_spec.rb
|
1238
|
-
- spec/controllers/alchemy/admin/dashboard_controller_spec.rb
|
1239
|
-
- spec/controllers/alchemy/admin/elements_controller_spec.rb
|
1240
|
-
- spec/controllers/alchemy/admin/essence_files_controller_spec.rb
|
1241
|
-
- spec/controllers/alchemy/admin/essence_pictures_controller_spec.rb
|
1242
|
-
- spec/controllers/alchemy/admin/languages_controller_spec.rb
|
1243
|
-
- spec/controllers/alchemy/admin/layoutpages_controller_spec.rb
|
1244
|
-
- spec/controllers/alchemy/admin/pages_controller_spec.rb
|
1245
|
-
- spec/controllers/alchemy/admin/pictures_controller_spec.rb
|
1246
|
-
- spec/controllers/alchemy/admin/resources_controller_spec.rb
|
1247
|
-
- spec/controllers/alchemy/admin/tags_controller_spec.rb
|
1248
|
-
- spec/controllers/alchemy/admin/trash_controller_spec.rb
|
1249
|
-
- spec/controllers/alchemy/api/contents_controller_spec.rb
|
1250
|
-
- spec/controllers/alchemy/api/elements_controller_spec.rb
|
1251
|
-
- spec/controllers/alchemy/api/pages_controller_spec.rb
|
1252
|
-
- spec/controllers/alchemy/attachments_controller_spec.rb
|
1253
|
-
- spec/controllers/alchemy/base_controller_spec.rb
|
1254
|
-
- spec/controllers/alchemy/elements_controller_spec.rb
|
1255
|
-
- spec/controllers/alchemy/messages_controller_spec.rb
|
1256
|
-
- spec/controllers/alchemy/on_page_layout_mixin_spec.rb
|
1257
|
-
- spec/controllers/alchemy/pages_controller_spec.rb
|
1258
|
-
- spec/controllers/alchemy/pictures_controller_spec.rb
|
1259
|
-
- spec/dummy/Rakefile
|
1260
|
-
- spec/dummy/app/assets/javascripts/application.js
|
1261
|
-
- spec/dummy/app/assets/stylesheets/application.css
|
1262
|
-
- spec/dummy/app/controllers/admin/events_controller.rb
|
1263
|
-
- spec/dummy/app/controllers/application_controller.rb
|
1264
|
-
- spec/dummy/app/controllers/login_controller.rb
|
1265
|
-
- spec/dummy/app/helpers/application_helper.rb
|
1266
|
-
- spec/dummy/app/mailers/.gitkeep
|
1267
|
-
- spec/dummy/app/models/ability.rb
|
1268
|
-
- spec/dummy/app/models/dummy_model.rb
|
1269
|
-
- spec/dummy/app/models/dummy_user.rb
|
1270
|
-
- spec/dummy/app/models/event.rb
|
1271
|
-
- spec/dummy/app/models/location.rb
|
1272
|
-
- spec/dummy/app/views/alchemy/elements/_all_you_can_eat_editor.html.erb
|
1273
|
-
- spec/dummy/app/views/alchemy/elements/_all_you_can_eat_view.html.erb
|
1274
|
-
- spec/dummy/app/views/alchemy/elements/_article_editor.html.erb
|
1275
|
-
- spec/dummy/app/views/alchemy/elements/_article_view.html.erb
|
1276
|
-
- spec/dummy/app/views/alchemy/elements/_bild_editor.html.erb
|
1277
|
-
- spec/dummy/app/views/alchemy/elements/_bild_view.html.erb
|
1278
|
-
- spec/dummy/app/views/alchemy/elements/_contactform_editor.html.erb
|
1279
|
-
- spec/dummy/app/views/alchemy/elements/_contactform_view.html.erb
|
1280
|
-
- spec/dummy/app/views/alchemy/elements/_download_editor.html.erb
|
1281
|
-
- spec/dummy/app/views/alchemy/elements/_download_view.html.erb
|
1282
|
-
- spec/dummy/app/views/alchemy/elements/_erb_element_editor.html.erb
|
1283
|
-
- spec/dummy/app/views/alchemy/elements/_erb_element_view.html.erb
|
1284
|
-
- spec/dummy/app/views/alchemy/elements/_header_editor.html.erb
|
1285
|
-
- spec/dummy/app/views/alchemy/elements/_header_view.html.erb
|
1286
|
-
- spec/dummy/app/views/alchemy/elements/_headline_editor.html.erb
|
1287
|
-
- spec/dummy/app/views/alchemy/elements/_headline_view.html.erb
|
1288
|
-
- spec/dummy/app/views/alchemy/elements/_news_editor.html.erb
|
1289
|
-
- spec/dummy/app/views/alchemy/elements/_news_view.html.erb
|
1290
|
-
- spec/dummy/app/views/alchemy/elements/_search_editor.html.erb
|
1291
|
-
- spec/dummy/app/views/alchemy/elements/_search_view.html.erb
|
1292
|
-
- spec/dummy/app/views/alchemy/elements/_slide_editor.html.erb
|
1293
|
-
- spec/dummy/app/views/alchemy/elements/_slide_view.html.erb
|
1294
|
-
- spec/dummy/app/views/alchemy/elements/_slider_editor.html.erb
|
1295
|
-
- spec/dummy/app/views/alchemy/elements/_slider_view.html.erb
|
1296
|
-
- spec/dummy/app/views/alchemy/elements/_text_editor.html.erb
|
1297
|
-
- spec/dummy/app/views/alchemy/elements/_text_view.html.erb
|
1298
|
-
- spec/dummy/app/views/alchemy/page_layouts/_standard.html.erb
|
1299
|
-
- spec/dummy/app/views/layouts/application.html.erb
|
1300
|
-
- spec/dummy/bin/bundle
|
1301
|
-
- spec/dummy/bin/rails
|
1302
|
-
- spec/dummy/bin/rake
|
1303
|
-
- spec/dummy/config.ru
|
1304
|
-
- spec/dummy/config/alchemy/cells.yml
|
1305
|
-
- spec/dummy/config/alchemy/elements.yml
|
1306
|
-
- spec/dummy/config/alchemy/page_layouts.yml
|
1307
|
-
- spec/dummy/config/application.rb
|
1308
|
-
- spec/dummy/config/boot.rb
|
1309
|
-
- spec/dummy/config/database.yml
|
1310
|
-
- spec/dummy/config/environment.rb
|
1311
|
-
- spec/dummy/config/environments/development.rb
|
1312
|
-
- spec/dummy/config/environments/production.rb
|
1313
|
-
- spec/dummy/config/environments/test.rb
|
1314
|
-
- spec/dummy/config/initializers/alchemy.rb
|
1315
|
-
- spec/dummy/config/initializers/assets.rb
|
1316
|
-
- spec/dummy/config/initializers/backtrace_silencers.rb
|
1317
|
-
- spec/dummy/config/initializers/cookies_serializer.rb
|
1318
|
-
- spec/dummy/config/initializers/filter_parameter_logging.rb
|
1319
|
-
- spec/dummy/config/initializers/inflections.rb
|
1320
|
-
- spec/dummy/config/initializers/mime_types.rb
|
1321
|
-
- spec/dummy/config/initializers/secret_token.rb
|
1322
|
-
- spec/dummy/config/initializers/session_store.rb
|
1323
|
-
- spec/dummy/config/initializers/wrap_parameters.rb
|
1324
|
-
- spec/dummy/config/locales/kl.yml
|
1325
|
-
- spec/dummy/config/routes.rb
|
1326
|
-
- spec/dummy/config/secrets.yml
|
1327
|
-
- spec/dummy/db/migrate/20121026104128_create_events.rb
|
1328
|
-
- spec/dummy/db/migrate/20130328101418_create_locations.rb
|
1329
|
-
- spec/dummy/db/migrate/20130827094554_alchemy_two_point_six.rb
|
1330
|
-
- spec/dummy/db/migrate/20130828121054_remove_do_not_index_from_alchemy_essence_texts.rb
|
1331
|
-
- spec/dummy/db/migrate/20130828121120_remove_do_not_index_from_alchemy_essence_richtexts.rb
|
1332
|
-
- spec/dummy/db/migrate/20130918201742_add_published_at_to_alchemy_pages.rb
|
1333
|
-
- spec/dummy/db/migrate/20131209225243_create_dummy_users.rb
|
1334
|
-
- spec/dummy/db/migrate/20150122213511_acts_as_taggable_on_migration.acts_as_taggable_on_engine.rb
|
1335
|
-
- spec/dummy/db/migrate/20150122213512_add_missing_unique_indices.acts_as_taggable_on_engine.rb
|
1336
|
-
- spec/dummy/db/migrate/20150122213513_add_taggings_counter_cache_to_tags.acts_as_taggable_on_engine.rb
|
1337
|
-
- spec/dummy/db/migrate/20150122213514_add_missing_taggable_index.acts_as_taggable_on_engine.rb
|
1338
|
-
- spec/dummy/db/migrate/20150412103152_create_dummy_model.rb
|
1339
|
-
- spec/dummy/db/migrate/20150608204610_add_parent_element_id_to_alchemy_elements.rb
|
1340
|
-
- spec/dummy/db/migrate/20150729151825_add_link_text_to_alchemy_essence_files.rb
|
1341
|
-
- spec/dummy/db/migrate/20150906195818_add_locale_to_alchemy_languages.rb
|
1342
|
-
- spec/dummy/db/schema.rb
|
1343
|
-
- spec/dummy/db/seeds.rb
|
1344
|
-
- spec/dummy/lib/assets/.gitkeep
|
1345
|
-
- spec/dummy/public/404.html
|
1346
|
-
- spec/dummy/public/422.html
|
1347
|
-
- spec/dummy/public/500.html
|
1348
|
-
- spec/dummy/public/favicon.ico
|
1349
|
-
- spec/dummy/spec/javascripts
|
1350
|
-
- spec/factories.rb
|
1351
|
-
- spec/features/admin/admin_layout_spec.rb
|
1352
|
-
- spec/features/admin/dashboard_spec.rb
|
1353
|
-
- spec/features/admin/edit_elements_feature_spec.rb
|
1354
|
-
- spec/features/admin/language_tree_feature_spec.rb
|
1355
|
-
- spec/features/admin/languages_features_spec.rb
|
1356
|
-
- spec/features/admin/legacy_page_url_management_spec.rb
|
1357
|
-
- spec/features/admin/link_overlay_spec.rb
|
1358
|
-
- spec/features/admin/locale_select_feature_spec.rb
|
1359
|
-
- spec/features/admin/modules_integration_spec.rb
|
1360
|
-
- spec/features/admin/navigation_feature_spec.rb
|
1361
|
-
- spec/features/admin/page_creation_feature_spec.rb
|
1362
|
-
- spec/features/admin/page_editing_feature_spec.rb
|
1363
|
-
- spec/features/admin/picture_library_integration_spec.rb
|
1364
|
-
- spec/features/admin/resources_integration_spec.rb
|
1365
|
-
- spec/features/admin/site_select_feature_spec.rb
|
1366
|
-
- spec/features/admin/tinymce_feature_spec.rb
|
1367
|
-
- spec/features/navigation_spec.rb
|
1368
|
-
- spec/features/page_feature_spec.rb
|
1369
|
-
- spec/features/page_redirects_spec.rb
|
1370
|
-
- spec/features/picture_security_spec.rb
|
1371
|
-
- spec/features/security_spec.rb
|
1372
|
-
- spec/features/translation_integration_spec.rb
|
1373
|
-
- spec/fixtures/500x500.png
|
1374
|
-
- spec/fixtures/80x60.png
|
1375
|
-
- spec/fixtures/animated.gif
|
1376
|
-
- spec/fixtures/image with spaces.png
|
1377
|
-
- spec/fixtures/image.png
|
1378
|
-
- spec/fixtures/image2.PNG
|
1379
|
-
- spec/fixtures/image3.jpeg
|
1380
|
-
- spec/helpers/alchemy/admin/attachments_helper_spec.rb
|
1381
|
-
- spec/helpers/alchemy/admin/base_helper_spec.rb
|
1382
|
-
- spec/helpers/alchemy/admin/contents_helper_spec.rb
|
1383
|
-
- spec/helpers/alchemy/admin/elements_helper_spec.rb
|
1384
|
-
- spec/helpers/alchemy/admin/essences_helper_spec.rb
|
1385
|
-
- spec/helpers/alchemy/admin/navigation_helper_spec.rb
|
1386
|
-
- spec/helpers/alchemy/admin/pages_helper_spec.rb
|
1387
|
-
- spec/helpers/alchemy/admin/pictures_helper_spec.rb
|
1388
|
-
- spec/helpers/alchemy/admin/tags_helper_spec.rb
|
1389
|
-
- spec/helpers/alchemy/base_helper_spec.rb
|
1390
|
-
- spec/helpers/alchemy/elements_block_helper_spec.rb
|
1391
|
-
- spec/helpers/alchemy/elements_helper_spec.rb
|
1392
|
-
- spec/helpers/alchemy/essences_helper_spec.rb
|
1393
|
-
- spec/helpers/alchemy/pages_helper_spec.rb
|
1394
|
-
- spec/helpers/alchemy/picture_url_helpers_spec.rb
|
1395
|
-
- spec/helpers/alchemy/url_helper_spec.rb
|
1396
|
-
- spec/javascripts/alchemy/dialog_spec.coffee
|
1397
|
-
- spec/javascripts/alchemy/link_overlay_spec.coffee
|
1398
|
-
- spec/javascripts/alchemy_integration_spec.coffee
|
1399
|
-
- spec/javascripts/fixtures/select.html
|
1400
|
-
- spec/javascripts/helpers/mock-ajax.js
|
1401
|
-
- spec/javascripts/helpers/test_responses/test_responses.js
|
1402
|
-
- spec/javascripts/support/jasmine.yml
|
1403
|
-
- spec/libraries/auth_accessors_spec.rb
|
1404
|
-
- spec/libraries/config_spec.rb
|
1405
|
-
- spec/libraries/controller_actions_spec.rb
|
1406
|
-
- spec/libraries/i18n_spec.rb
|
1407
|
-
- spec/libraries/kaminari/scoped_pagination_url_helper_spec.rb
|
1408
|
-
- spec/libraries/modules_spec.rb
|
1409
|
-
- spec/libraries/mount_point_spec.rb
|
1410
|
-
- spec/libraries/page_layout_spec.rb
|
1411
|
-
- spec/libraries/paths_spec.rb
|
1412
|
-
- spec/libraries/permissions_spec.rb
|
1413
|
-
- spec/libraries/resource_spec.rb
|
1414
|
-
- spec/libraries/resources_helper_spec.rb
|
1415
|
-
- spec/libraries/shell_spec.rb
|
1416
|
-
- spec/libraries/template_tracker_spec.rb
|
1417
|
-
- spec/libraries/tinymce_spec.rb
|
1418
|
-
- spec/libraries/userstamp_spec.rb
|
1419
|
-
- spec/mailers/alchemy/messages_spec.rb
|
1420
|
-
- spec/models/alchemy/attachment_spec.rb
|
1421
|
-
- spec/models/alchemy/cell_spec.rb
|
1422
|
-
- spec/models/alchemy/content_spec.rb
|
1423
|
-
- spec/models/alchemy/element_spec.rb
|
1424
|
-
- spec/models/alchemy/element_to_page_spec.rb
|
1425
|
-
- spec/models/alchemy/essence_boolean_spec.rb
|
1426
|
-
- spec/models/alchemy/essence_date_spec.rb
|
1427
|
-
- spec/models/alchemy/essence_file_spec.rb
|
1428
|
-
- spec/models/alchemy/essence_html_spec.rb
|
1429
|
-
- spec/models/alchemy/essence_link_spec.rb
|
1430
|
-
- spec/models/alchemy/essence_picture_spec.rb
|
1431
|
-
- spec/models/alchemy/essence_richtext_spec.rb
|
1432
|
-
- spec/models/alchemy/essence_select_spec.rb
|
1433
|
-
- spec/models/alchemy/essence_text_spec.rb
|
1434
|
-
- spec/models/alchemy/language_spec.rb
|
1435
|
-
- spec/models/alchemy/legacy_page_url_spec.rb
|
1436
|
-
- spec/models/alchemy/message_spec.rb
|
1437
|
-
- spec/models/alchemy/page_spec.rb
|
1438
|
-
- spec/models/alchemy/picture_spec.rb
|
1439
|
-
- spec/models/alchemy/site_spec.rb
|
1440
|
-
- spec/models/alchemy/tag_spec.rb
|
1441
|
-
- spec/models/dummy_model_spec.rb
|
1442
|
-
- spec/requests/alchemy/admin/resources_requests_spec.rb
|
1443
|
-
- spec/requests/alchemy/admin/site_requests_spec.rb
|
1444
|
-
- spec/requests/alchemy/site_requests_spec.rb
|
1445
|
-
- spec/requests/alchemy/sitemap_spec.rb
|
1446
|
-
- spec/routing/api_routing_spec.rb
|
1447
|
-
- spec/routing/routing_spec.rb
|
1448
|
-
- spec/spec_helper.rb
|
1449
|
-
- spec/support/ci/install_phantomjs
|
1450
|
-
- spec/support/hint_examples.rb
|
1451
|
-
- spec/support/test_tweaks.rb
|
1452
|
-
- spec/support/transformation_examples.rb
|
1453
|
-
- spec/tasks/helpers_spec.rb
|
1454
|
-
- spec/views/admin/pictures/show_spec.rb
|
1455
|
-
- spec/views/essences/essence_boolean_editor_spec.rb
|
1456
|
-
- spec/views/essences/essence_boolean_view_spec.rb
|
1457
|
-
- spec/views/essences/essence_date_view_spec.rb
|
1458
|
-
- spec/views/essences/essence_file_editor_spec.rb
|
1459
|
-
- spec/views/essences/essence_file_view_spec.rb
|
1460
|
-
- spec/views/essences/essence_html_view_spec.rb
|
1461
|
-
- spec/views/essences/essence_link_view_spec.rb
|
1462
|
-
- spec/views/essences/essence_picture_editor_spec.rb
|
1463
|
-
- spec/views/essences/essence_picture_view_spec.rb
|
1464
|
-
- spec/views/essences/essence_richtext_view_spec.rb
|
1465
|
-
- spec/views/essences/essence_select_view_spec.rb
|
1466
|
-
- spec/views/essences/essence_text_view_spec.rb
|
1001
|
+
test_files: []
|
1467
1002
|
has_rdoc:
|