trusty-cms 4.1.8 → 4.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/Gemfile.lock +121 -121
- data/INSTALL.md +2 -0
- data/LICENSE.md +1 -1
- data/app/assets/javascripts/admin/custom_file_upload.js +7 -0
- data/app/controllers/admin/pages_controller.rb +1 -1
- data/app/controllers/admin/preferences_controller.rb +1 -1
- data/app/controllers/admin/resource_controller.rb +1 -1
- data/app/controllers/admin/users_controller.rb +1 -1
- data/app/helpers/admin/node_helper.rb +1 -1
- data/app/models/asset.rb +3 -3
- data/app/models/page.rb +3 -3
- data/app/models/standard_tags.rb +3 -3
- data/app/models/user.rb +1 -1
- data/app/views/admin/assets/new.html.haml +2 -0
- data/config/database.mysql.yml +10 -2
- data/config/environments/development.rb +2 -0
- data/db/migrate/20210331134718_create_active_storage_tables.active_storage.rb +36 -0
- data/lib/generators/extension/USAGE +30 -0
- data/lib/generators/extension/extension_generator.rb +97 -0
- data/lib/generators/extension/templates/README.md +6 -0
- data/lib/generators/extension/templates/RSpecRakefile +109 -0
- data/lib/generators/extension/templates/Rakefile +25 -0
- data/lib/generators/extension/templates/cucumber.yml +1 -0
- data/lib/generators/extension/templates/cucumber_env.rb +11 -0
- data/lib/generators/extension/templates/cucumber_paths.rb +22 -0
- data/lib/generators/extension/templates/en.yml +3 -0
- data/lib/generators/extension/templates/extension.rb +21 -0
- data/lib/generators/extension/templates/functional_test.rb +15 -0
- data/lib/generators/extension/templates/gemspec.rb +29 -0
- data/lib/generators/extension/templates/lib.rb +8 -0
- data/lib/generators/extension/templates/migration.rb +9 -0
- data/lib/generators/extension/templates/radiant_config.rb +3 -0
- data/lib/generators/extension/templates/routes.rb +5 -0
- data/lib/generators/extension/templates/spec.opts +6 -0
- data/lib/generators/extension/templates/spec_helper.rb +42 -0
- data/lib/generators/extension/templates/tasks.rake +47 -0
- data/lib/generators/extension/templates/test_helper.rb +24 -0
- data/lib/generators/extension_controller/USAGE +36 -0
- data/lib/generators/extension_controller/extension_controller_generator.rb +84 -0
- data/lib/generators/extension_controller/templates/controller.rb +10 -0
- data/lib/generators/extension_controller/templates/controller_spec.rb +23 -0
- data/lib/generators/extension_controller/templates/functional_test.rb +11 -0
- data/lib/generators/extension_controller/templates/helper.rb +2 -0
- data/lib/generators/extension_controller/templates/helper_spec.rb +11 -0
- data/lib/generators/extension_controller/templates/helper_test.rb +4 -0
- data/lib/generators/extension_controller/templates/view.html.erb +2 -0
- data/lib/generators/extension_controller/templates/view_spec.rb +12 -0
- data/lib/generators/extension_mailer/USAGE +17 -0
- data/lib/generators/extension_mailer/extension_mailer_generator.rb +68 -0
- data/lib/generators/extension_mailer/templates/fixture.erb +3 -0
- data/lib/generators/extension_mailer/templates/mailer.rb +15 -0
- data/lib/generators/extension_mailer/templates/unit_test.rb +21 -0
- data/lib/generators/extension_mailer/templates/view.erb +3 -0
- data/lib/generators/extension_migration/USAGE +34 -0
- data/lib/generators/extension_migration/extension_migration_generator.rb +25 -0
- data/lib/generators/extension_migration/templates/migration.rb +11 -0
- data/lib/generators/extension_model/USAGE +35 -0
- data/lib/generators/extension_model/extension_model_generator.rb +68 -0
- data/lib/generators/extension_model/templates/fixtures.yml +19 -0
- data/lib/generators/extension_model/templates/migration.rb +16 -0
- data/lib/generators/extension_model/templates/model.rb +2 -0
- data/lib/generators/extension_model/templates/model_spec.rb +11 -0
- data/lib/generators/extension_model/templates/unit_test.rb +8 -0
- data/lib/generators/generator_base_extension.rb +18 -0
- data/lib/generators/instance/instance_generator.rb +148 -0
- data/lib/generators/instance/templates/databases/db2.yml +40 -0
- data/lib/generators/instance/templates/databases/mysql.yml +47 -0
- data/lib/generators/instance/templates/databases/postgresql.yml +44 -0
- data/lib/generators/instance/templates/databases/sqlite3.yml +16 -0
- data/lib/generators/instance/templates/databases/sqlserver.yml +21 -0
- data/lib/generators/instance/templates/instance_boot.rb +122 -0
- data/lib/generators/instance/templates/instance_config.ru +2 -0
- data/lib/generators/instance/templates/instance_environment.rb +93 -0
- data/lib/generators/instance/templates/instance_gemfile +78 -0
- data/lib/generators/instance/templates/instance_generate +6 -0
- data/lib/generators/instance/templates/instance_radiant_config.rb +16 -0
- data/lib/generators/instance/templates/instance_rakefile +3 -0
- data/lib/generators/instance/templates/instance_routes.rb +1 -0
- data/lib/generators/language_extension/USAGE +27 -0
- data/lib/generators/language_extension/language_extension_generator.rb +71 -0
- data/lib/generators/language_extension/templates/README +3 -0
- data/lib/generators/language_extension/templates/RSpecRakefile +123 -0
- data/lib/generators/language_extension/templates/Rakefile +25 -0
- data/lib/generators/language_extension/templates/available_tags.yml +553 -0
- data/lib/generators/language_extension/templates/cucumber.yml +1 -0
- data/lib/generators/language_extension/templates/cucumber_env.rb +16 -0
- data/lib/generators/language_extension/templates/cucumber_paths.rb +14 -0
- data/lib/generators/language_extension/templates/extension.rb +12 -0
- data/lib/generators/language_extension/templates/functional_test.rb +15 -0
- data/lib/generators/language_extension/templates/gemspec.rb +24 -0
- data/lib/generators/language_extension/templates/lang.yml +181 -0
- data/lib/generators/language_extension/templates/lib.rb +8 -0
- data/lib/generators/language_extension/templates/spec.opts +6 -0
- data/lib/generators/language_extension/templates/spec_helper.rb +36 -0
- data/lib/generators/language_extension/templates/tasks.rake +28 -0
- data/lib/generators/language_extension/templates/test_helper.rb +26 -0
- data/lib/generators/trusty_cms/USAGE +8 -0
- data/lib/generators/trusty_cms/templates/Rakefile.erb +7 -0
- data/lib/generators/trusty_cms/templates/application.rb.erb +149 -0
- data/lib/generators/trusty_cms/templates/boot.rb.erb +9 -0
- data/lib/generators/trusty_cms/templates/config.ru.erb +4 -0
- data/lib/generators/trusty_cms/templates/database.yml.erb +28 -0
- data/lib/generators/trusty_cms/templates/environment.rb.erb +5 -0
- data/lib/generators/trusty_cms/templates/environments/development.rb.erb +24 -0
- data/lib/generators/trusty_cms/templates/environments/production.rb.erb +26 -0
- data/lib/generators/trusty_cms/templates/environments/test.rb.erb +35 -0
- data/lib/generators/trusty_cms/templates/initializers/secret_token.rb.erb +13 -0
- data/lib/generators/trusty_cms/templates/initializers/session_store.rb.erb +8 -0
- data/lib/generators/trusty_cms/templates/initializers/trusty_cms_config.rb.erb +16 -0
- data/lib/generators/trusty_cms/templates/preinitializer.rb.erb +18 -0
- data/lib/generators/trusty_cms/templates/routes.rb.erb +0 -0
- data/lib/generators/trusty_cms/trusty_cms_generator.rb +32 -0
- data/lib/login_system.rb +1 -1
- data/lib/trusty_cms.rb +1 -1
- data/lib/trusty_cms/setup.rb +8 -8
- data/spec/dummy/config/database.yml +6 -2
- data/trusty_cms.gemspec +5 -6
- data/vendor/extensions/clipped-extension/lib/asset_tags.rb +4 -4
- data/yarn.lock +6 -6
- metadata +487 -118
- data/spec/spec/dummy/node_modules/yaml/browser/dist/tags/core.js +0 -126
- data/spec/spec/dummy/node_modules/yaml/browser/dist/tags/failsafe/index.js +0 -4
- data/spec/spec/dummy/node_modules/yaml/browser/dist/tags/failsafe/map.js +0 -56
- data/spec/spec/dummy/node_modules/yaml/browser/dist/tags/failsafe/seq.js +0 -43
- data/spec/spec/dummy/node_modules/yaml/browser/dist/tags/failsafe/string.js +0 -28
- data/spec/spec/dummy/node_modules/yaml/browser/dist/tags/index.js +0 -36
- data/spec/spec/dummy/node_modules/yaml/browser/dist/tags/json.js +0 -76
- data/spec/spec/dummy/node_modules/yaml/browser/dist/tags/options.js +0 -23
- data/spec/spec/dummy/node_modules/yaml/browser/dist/tags/yaml-1.1/binary.js +0 -87
- data/spec/spec/dummy/node_modules/yaml/browser/dist/tags/yaml-1.1/index.js +0 -157
- data/spec/spec/dummy/node_modules/yaml/browser/dist/tags/yaml-1.1/omap.js +0 -142
- data/spec/spec/dummy/node_modules/yaml/browser/dist/tags/yaml-1.1/pairs.js +0 -81
- data/spec/spec/dummy/node_modules/yaml/browser/dist/tags/yaml-1.1/set.js +0 -114
- data/spec/spec/dummy/node_modules/yaml/browser/dist/tags/yaml-1.1/timestamp.js +0 -97
- data/spec/spec/dummy/node_modules/yaml/dist/tags/core.js +0 -114
- data/spec/spec/dummy/node_modules/yaml/dist/tags/failsafe/index.js +0 -17
- data/spec/spec/dummy/node_modules/yaml/dist/tags/failsafe/map.js +0 -37
- data/spec/spec/dummy/node_modules/yaml/dist/tags/failsafe/seq.js +0 -34
- data/spec/spec/dummy/node_modules/yaml/dist/tags/failsafe/string.js +0 -40
- data/spec/spec/dummy/node_modules/yaml/dist/tags/index.js +0 -62
- data/spec/spec/dummy/node_modules/yaml/dist/tags/json.js +0 -60
- data/spec/spec/dummy/node_modules/yaml/dist/tags/options.js +0 -35
- data/spec/spec/dummy/node_modules/yaml/dist/tags/yaml-1.1/binary.js +0 -97
- data/spec/spec/dummy/node_modules/yaml/dist/tags/yaml-1.1/index.js +0 -131
- data/spec/spec/dummy/node_modules/yaml/dist/tags/yaml-1.1/omap.js +0 -105
- data/spec/spec/dummy/node_modules/yaml/dist/tags/yaml-1.1/pairs.js +0 -80
- data/spec/spec/dummy/node_modules/yaml/dist/tags/yaml-1.1/set.js +0 -91
- data/spec/spec/dummy/node_modules/yaml/dist/tags/yaml-1.1/timestamp.js +0 -93
@@ -0,0 +1,9 @@
|
|
1
|
+
require 'rubygems'
|
2
|
+
# Don't change this file!
|
3
|
+
# Configure your app in config/environment.rb and config/environments/*.rb
|
4
|
+
|
5
|
+
|
6
|
+
# Set up gems listed in the Gemfile.
|
7
|
+
ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
|
8
|
+
|
9
|
+
require 'bundler/setup' if File.exists?(ENV['BUNDLE_GEMFILE'])
|
@@ -0,0 +1,28 @@
|
|
1
|
+
#
|
2
|
+
# This is only an example configuration. Please see the Rails
|
3
|
+
# documentation for more details.
|
4
|
+
#
|
5
|
+
|
6
|
+
development:
|
7
|
+
adapter: mysql2
|
8
|
+
database: <%= project_name%>_blank_dev
|
9
|
+
username:
|
10
|
+
password:
|
11
|
+
host: localhost
|
12
|
+
|
13
|
+
test: &TEST
|
14
|
+
adapter: mysql2
|
15
|
+
database: <%= project_name%>_blank_test
|
16
|
+
username:
|
17
|
+
password:
|
18
|
+
host:
|
19
|
+
|
20
|
+
production:
|
21
|
+
adapter: mysql2
|
22
|
+
database: <%= project_name%>_blank_live
|
23
|
+
username:
|
24
|
+
password:
|
25
|
+
socket: /tmp/mysql.sock
|
26
|
+
|
27
|
+
cucumber:
|
28
|
+
<<: *TEST
|
@@ -0,0 +1,24 @@
|
|
1
|
+
TrustyCms::Application.configure do
|
2
|
+
# Settings specified here will take precedence over those in config/environment.rb
|
3
|
+
|
4
|
+
# In the development environment your application's code is reloaded on
|
5
|
+
# every request. This slows down response time but is perfect for development
|
6
|
+
# since you don't have to restart the webserver when you make code changes.
|
7
|
+
config.cache_classes = false
|
8
|
+
|
9
|
+
# Log error messages when you accidentally call methods on nil.
|
10
|
+
config.whiny_nils = true
|
11
|
+
|
12
|
+
# Show full error reports and caching is turned off
|
13
|
+
config.consider_all_requests_local = true
|
14
|
+
#config.action_view.debug_rjs = true
|
15
|
+
config.action_controller.perform_caching = false
|
16
|
+
|
17
|
+
# Don't care if the mailer can't send
|
18
|
+
config.action_mailer.raise_delivery_errors = false
|
19
|
+
config.domain = ".local"
|
20
|
+
|
21
|
+
config.after_initialize do
|
22
|
+
SiteController.cache_timeout = 0.minutes
|
23
|
+
end
|
24
|
+
end
|
@@ -0,0 +1,26 @@
|
|
1
|
+
TrustyCms::Application.configure do
|
2
|
+
# Settings specified here will take precedence over those in config/environment.rb
|
3
|
+
|
4
|
+
# The production environment is meant for finished, "live" apps.
|
5
|
+
# Code is not reloaded between requests
|
6
|
+
config.cache_classes = true
|
7
|
+
|
8
|
+
# Use a different logger for distributed setups
|
9
|
+
# config.logger = SyslogLogger.new
|
10
|
+
|
11
|
+
|
12
|
+
# Full error reports are disabled and caching is on
|
13
|
+
config.action_controller.consider_all_requests_local = false
|
14
|
+
config.action_controller.perform_caching = true
|
15
|
+
|
16
|
+
# Enable serving of images, stylesheets, and javascripts from an asset server
|
17
|
+
# config.action_controller.asset_host = "http://assets.example.com"
|
18
|
+
|
19
|
+
# Disable delivery errors if you bad email addresses should just be ignored
|
20
|
+
# config.action_mailer.raise_delivery_errors = false
|
21
|
+
|
22
|
+
# Cache your content for a longer time, the default is 5.minutes
|
23
|
+
# config.after_initialize do
|
24
|
+
# SiteController.cache_timeout = 12.hours
|
25
|
+
# end
|
26
|
+
end
|
@@ -0,0 +1,35 @@
|
|
1
|
+
TrustyCms::Application.configure do
|
2
|
+
# Settings specified here will take precedence over those in config/environment.rb
|
3
|
+
|
4
|
+
# The test environment is used exclusively to run your application's
|
5
|
+
# test suite. You never need to work with it otherwise. Remember that
|
6
|
+
# your test database is "scratch space" for the test suite and is wiped
|
7
|
+
# and recreated between test runs. Don't rely on the data there!
|
8
|
+
config.cache_classes = true
|
9
|
+
|
10
|
+
# ensure test extensions are loaded
|
11
|
+
# test_extension_dir = File.join(File.expand_path(RADIANT_ROOT), 'test', 'fixtures', 'extensions')
|
12
|
+
# config.extension_paths.unshift test_extension_dir
|
13
|
+
# config.extension_paths.uniq!
|
14
|
+
# if !config.extensions.include?(:all)
|
15
|
+
# config.extensions.concat(Dir["#{test_extension_dir}/*"].sort.map {|x| File.basename(x).sub(/^\d+_/,'')})
|
16
|
+
# config.extensions.uniq!
|
17
|
+
# end
|
18
|
+
|
19
|
+
# Log error messages when you accidentally call methods on nil.
|
20
|
+
config.whiny_nils = true
|
21
|
+
config.domain = ".local"
|
22
|
+
|
23
|
+
# Show full error reports and disable caching
|
24
|
+
config.action_controller.consider_all_requests_local = true
|
25
|
+
config.action_controller.perform_caching = false
|
26
|
+
|
27
|
+
# Disable request forgery protection in test environment
|
28
|
+
config.action_controller.allow_forgery_protection = false
|
29
|
+
|
30
|
+
# Tell ActionMailer not to deliver emails to the real world.
|
31
|
+
# The :test delivery method accumulates sent emails in the
|
32
|
+
# ActionMailer::Base.deliveries array.
|
33
|
+
config.action_mailer.delivery_method = :test
|
34
|
+
end
|
35
|
+
|
@@ -0,0 +1,13 @@
|
|
1
|
+
# config/initializers/secret_token.rb
|
2
|
+
|
3
|
+
# Be sure to restart your server when you modify this file.
|
4
|
+
|
5
|
+
# Your secret key for verifying the integrity of signed cookies.
|
6
|
+
# If you change this key, all old signed cookies will become invalid!
|
7
|
+
# Make sure the secret is at least 30 characters and all random,
|
8
|
+
# no regular words or you'll be exposed to dictionary attacks.
|
9
|
+
TrustyCms::Application.config.secret_token = if Rails.env.development? or Rails.env.test?
|
10
|
+
('x' * 30) # meets minimum requirement of 30 chars long
|
11
|
+
else
|
12
|
+
ENV['SECRET_TOKEN']
|
13
|
+
end
|
@@ -0,0 +1,8 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
|
3
|
+
TrustyCms::Application.config.session_store :cookie_store, :key => "_<%= project_name %>_session"
|
4
|
+
|
5
|
+
# Use the database for sessions instead of the cookie-based default,
|
6
|
+
# which shouldn't be used to store highly confidential information
|
7
|
+
# (create the session table with "rails generate session_migration")
|
8
|
+
# TestTrusty::Application.config.session_store :active_record_store
|
@@ -0,0 +1,16 @@
|
|
1
|
+
TrustyCms::Application.config do |config|
|
2
|
+
# this file can be used to set defaults, options and validation rules for local configuration settings.
|
3
|
+
# core settings are defined in RADIANT_ROOT/config/initializers/radiant_config.rb and by the corresponding
|
4
|
+
# file in each radiant extension. You probably don't need to add anything here, but in case you do:
|
5
|
+
|
6
|
+
# config.define 'site.show_footer?', :default => "true"
|
7
|
+
# config.define 'S3.bucket', :default => "key", :allow_change => false
|
8
|
+
|
9
|
+
# you can also use this file to set config values (by environment, for example):
|
10
|
+
|
11
|
+
# if RAILS_ENV == 'production'
|
12
|
+
# config['cache.duration'] = 86400
|
13
|
+
# else
|
14
|
+
# config['cache.duration'] = 0
|
15
|
+
# end
|
16
|
+
end
|
@@ -0,0 +1,18 @@
|
|
1
|
+
ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
|
2
|
+
# Lessens Debians need to edit.
|
3
|
+
require "rubygems" rescue nil
|
4
|
+
|
5
|
+
# Since Bundler is not really a 'must have' for Rails development just send off
|
6
|
+
# a warning and see if the sytem continues to load, the user can optionally use
|
7
|
+
# RADIANT_NOWARNINGS to disable it.
|
8
|
+
|
9
|
+
if File.file?(ENV['BUNDLE_GEMFILE'])
|
10
|
+
begin
|
11
|
+
require 'bundler/setup'
|
12
|
+
rescue LoadError
|
13
|
+
unless ENV['RADIANT_NOWARNINGS'] == true
|
14
|
+
$stderr.puts 'WARNING: It seems you do not have Bundler installed.'
|
15
|
+
$stderr.puts 'WARNING: You can install it by doing `gem install bundler`'
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
File without changes
|
@@ -0,0 +1,32 @@
|
|
1
|
+
class TrustyCmsGenerator < Rails::Generators::Base
|
2
|
+
source_root File.expand_path('../templates', __FILE__)
|
3
|
+
argument :project_name, type: :string, default: "trusty"
|
4
|
+
|
5
|
+
def generate_config
|
6
|
+
|
7
|
+
template "Rakefile.erb", "Rakefile"
|
8
|
+
template "config.ru.erb", "config.ru"
|
9
|
+
|
10
|
+
template "boot.rb.erb", "config/boot.rb"
|
11
|
+
template "environment.rb.erb", "config/environment.rb"
|
12
|
+
template "application.rb.erb", "config/application.rb"
|
13
|
+
template "preinitializer.rb.erb", "config/preinitializer.rb"
|
14
|
+
template "routes.rb.erb", "config/routes.rb"
|
15
|
+
template "database.yml.erb", "config/database.yml"
|
16
|
+
|
17
|
+
template "environments/development.rb.erb", "config/environments/development.rb"
|
18
|
+
template "environments/test.rb.erb", "config/environments/test.rb"
|
19
|
+
template "environments/production.rb.erb", "config/environments/production.rb"
|
20
|
+
|
21
|
+
template "initializers/trusty_cms_config.rb.erb", "config/initializers/trusty_cms_config.rb"
|
22
|
+
template "initializers/secret_token.rb.erb", "config/initializers/secret_token.rb"
|
23
|
+
template "initializers/session_store.rb.erb", "config/initializers/session_store.rb"
|
24
|
+
|
25
|
+
remove_file 'app/controllers/application_controller.rb'
|
26
|
+
remove_file 'app/helpers/application_helper.rb'
|
27
|
+
remove_file 'app/assets/javascripts/application.js'
|
28
|
+
remove_file 'app/views/layouts/application.html.erb'
|
29
|
+
|
30
|
+
end
|
31
|
+
|
32
|
+
end
|
data/lib/login_system.rb
CHANGED
@@ -116,7 +116,7 @@ module LoginSystem
|
|
116
116
|
permissions = controller_permissions[action.to_s.intern]
|
117
117
|
if allowed_roles = permissions[:when]
|
118
118
|
allowed_roles = [allowed_roles].flatten
|
119
|
-
user.present? ? allowed_roles.any? { |role| user.
|
119
|
+
user.present? ? allowed_roles.any? { |role| user.role?(role) } : false
|
120
120
|
elsif condition_method = permissions[:if]
|
121
121
|
instance.send(condition_method)
|
122
122
|
else
|
data/lib/trusty_cms.rb
CHANGED
data/lib/trusty_cms/setup.rb
CHANGED
@@ -29,16 +29,16 @@ module TrustyCms
|
|
29
29
|
password ||= prompt_for_admin_password
|
30
30
|
end
|
31
31
|
attributes = {
|
32
|
-
|
33
|
-
|
32
|
+
first_name: name,
|
33
|
+
email: username,
|
34
34
|
password: password,
|
35
35
|
password_confirmation: password,
|
36
36
|
}
|
37
|
-
admin = User.find_by(
|
37
|
+
admin = User.find_by(email: username)
|
38
38
|
admin ||= User.new
|
39
|
-
admin.
|
39
|
+
admin.update(attributes)
|
40
40
|
admin.admin = true
|
41
|
-
admin.save
|
41
|
+
admin.save!
|
42
42
|
admin
|
43
43
|
end
|
44
44
|
|
@@ -98,17 +98,17 @@ module TrustyCms
|
|
98
98
|
end
|
99
99
|
|
100
100
|
def prompt_for_admin_username
|
101
|
-
username = ask('Username (admin): ', String) do |q|
|
101
|
+
username = ask('Username (admin@trustarts.org): ', String) do |q|
|
102
102
|
q.validate = /^(|.{3,40})$/
|
103
103
|
q.responses[:not_valid] = 'Invalid username. Must be at least 3 characters long.'
|
104
104
|
q.whitespace = :strip
|
105
105
|
end
|
106
|
-
username = 'admin' if username.blank?
|
106
|
+
username = 'admin@trustarts.org' if username.blank?
|
107
107
|
username
|
108
108
|
end
|
109
109
|
|
110
110
|
def prompt_for_admin_password
|
111
|
-
default_password = '
|
111
|
+
default_password = 'Trusty123456@!'
|
112
112
|
password = ask("Password (#{default_password}): ", String) do |q|
|
113
113
|
q.echo = false unless defined?(::JRuby) # JRuby doesn't support stty interaction
|
114
114
|
q.validate = /^(|.{5,40})$/
|
@@ -14,8 +14,12 @@ test: &TEST
|
|
14
14
|
adapter: mysql2
|
15
15
|
database: trusty_cms_test
|
16
16
|
username: root
|
17
|
-
password:
|
18
|
-
host:
|
17
|
+
password: ''
|
18
|
+
host: '127.0.0.1'
|
19
|
+
port: 3306
|
20
|
+
encoding: utf8mb4
|
21
|
+
charset: utf8mb4
|
22
|
+
collation: utf8mb4_bin
|
19
23
|
|
20
24
|
production:
|
21
25
|
adapter: mysql2
|
data/trusty_cms.gemspec
CHANGED
@@ -24,18 +24,17 @@ a general purpose content managment system--not merely a blogging engine.'
|
|
24
24
|
s.test_files = Dir['spec/**/*']
|
25
25
|
|
26
26
|
s.add_dependency 'acts_as_list', '>= 0.9.5', '< 1.1.0'
|
27
|
-
s.add_dependency 'acts_as_tree', '>= 2.6.1', '< 2.
|
28
|
-
s.add_dependency 'ckeditor', '>= 4.2.2', '< 4.
|
27
|
+
s.add_dependency 'acts_as_tree', '>= 2.6.1', '< 2.10.0'
|
28
|
+
s.add_dependency 'ckeditor', '>= 4.2.2', '< 4.4.0'
|
29
29
|
s.add_dependency 'delocalize', '>= 0.2', '< 2.0'
|
30
30
|
s.add_dependency 'devise'
|
31
31
|
s.add_dependency 'execjs', '~> 2.7'
|
32
|
-
s.add_dependency 'haml'
|
33
|
-
s.add_dependency 'haml-rails', '~>
|
32
|
+
s.add_dependency 'haml'
|
33
|
+
s.add_dependency 'haml-rails', '~> 2.0'
|
34
34
|
s.add_dependency 'highline', '>= 1.7.8', '< 2.1.0'
|
35
35
|
s.add_dependency 'kraken-io'
|
36
36
|
s.add_dependency 'mini_racer'
|
37
37
|
s.add_dependency 'mysql2'
|
38
|
-
s.add_dependency 'paperclip', '> 5.2'
|
39
38
|
s.add_dependency 'rack', '>= 2.0.1', '< 2.3.0'
|
40
39
|
s.add_dependency 'rack-cache', '~> 1.7'
|
41
40
|
s.add_dependency 'radius', '~> 0.7'
|
@@ -44,7 +43,7 @@ a general purpose content managment system--not merely a blogging engine.'
|
|
44
43
|
s.add_dependency 'rdoc', '>= 5.1', '< 7.0'
|
45
44
|
s.add_dependency 'RedCloth', '4.3.2'
|
46
45
|
s.add_dependency 'roadie-rails'
|
47
|
-
s.add_dependency '
|
46
|
+
s.add_dependency 'sass-rails'
|
48
47
|
s.add_dependency 'stringex', '>= 2.7.1', '< 2.9.0'
|
49
48
|
s.add_dependency 'tzinfo', '>= 1.2.3', '< 2.1.0'
|
50
49
|
s.add_dependency 'uglifier', '>= 3.2', '< 5.0'
|
@@ -125,7 +125,7 @@ module AssetTags
|
|
125
125
|
asset, options = asset_and_options(tag)
|
126
126
|
raise TagError, "'container' attribute required" unless options['container']
|
127
127
|
size = options['size'] ? options.delete('size') : 'icon'
|
128
|
-
raise TagError, "asset #{tag.locals.asset.title} has no '#{size}' thumbnail" unless tag.locals.asset.
|
128
|
+
raise TagError, "asset #{tag.locals.asset.title} has no '#{size}' thumbnail" unless tag.locals.asset.style?(size)
|
129
129
|
container = options.delete('container')
|
130
130
|
((container.to_i - asset.height(size).to_i)/2).to_s
|
131
131
|
end
|
@@ -152,7 +152,7 @@ module AssetTags
|
|
152
152
|
tag 'asset:orientation' do |tag|
|
153
153
|
asset, options = asset_and_options(tag)
|
154
154
|
size = options['size'] ? options.delete('size') : 'original'
|
155
|
-
raise TagError, "asset #{tag.locals.asset.title} has no '#{size}' thumbnail" unless tag.locals.asset.
|
155
|
+
raise TagError, "asset #{tag.locals.asset.title} has no '#{size}' thumbnail" unless tag.locals.asset.style?(size)
|
156
156
|
asset.orientation(size)
|
157
157
|
end
|
158
158
|
|
@@ -162,7 +162,7 @@ module AssetTags
|
|
162
162
|
tag 'asset:aspect' do |tag|
|
163
163
|
asset, options = asset_and_options(tag)
|
164
164
|
size = options['size'] ? options.delete('size') : 'original'
|
165
|
-
raise TagError, "asset #{tag.locals.asset.title} has no '#{size}' thumbnail" unless tag.locals.asset.
|
165
|
+
raise TagError, "asset #{tag.locals.asset.title} has no '#{size}' thumbnail" unless tag.locals.asset.style?(size)
|
166
166
|
asset.aspect(size)
|
167
167
|
end
|
168
168
|
|
@@ -217,7 +217,7 @@ module AssetTags
|
|
217
217
|
tag 'asset:image' do |tag|
|
218
218
|
tag.locals.asset, options = asset_and_options(tag)
|
219
219
|
size = options.delete('size') || 'original'
|
220
|
-
raise TagError, "asset #{tag.locals.asset.title} has no '#{size}' thumbnail" unless tag.locals.asset.
|
220
|
+
raise TagError, "asset #{tag.locals.asset.title} has no '#{size}' thumbnail" unless tag.locals.asset.style?(size)
|
221
221
|
options['alt'] ||= tag.locals.asset.title
|
222
222
|
url = tag.locals.asset.thumbnail(size)
|
223
223
|
ActionController::Base.helpers.image_tag(url, options)
|
data/yarn.lock
CHANGED
@@ -754,9 +754,9 @@ has-flag@^4.0.0:
|
|
754
754
|
integrity sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==
|
755
755
|
|
756
756
|
hosted-git-info@^2.1.4:
|
757
|
-
version "2.8.
|
758
|
-
resolved "https://registry.yarnpkg.com/hosted-git-info/-/hosted-git-info-2.8.
|
759
|
-
integrity sha512-
|
757
|
+
version "2.8.9"
|
758
|
+
resolved "https://registry.yarnpkg.com/hosted-git-info/-/hosted-git-info-2.8.9.tgz#dffc0bf9a21c02209090f2aa69429e1414daf3f9"
|
759
|
+
integrity sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==
|
760
760
|
|
761
761
|
html-tags@^3.1.0:
|
762
762
|
version "3.1.0"
|
@@ -1011,9 +1011,9 @@ locate-path@^5.0.0:
|
|
1011
1011
|
p-locate "^4.1.0"
|
1012
1012
|
|
1013
1013
|
lodash@^4.17.11, lodash@^4.17.13, lodash@^4.17.14, lodash@^4.17.15:
|
1014
|
-
version "4.17.
|
1015
|
-
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.
|
1016
|
-
integrity sha512-
|
1014
|
+
version "4.17.21"
|
1015
|
+
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c"
|
1016
|
+
integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==
|
1017
1017
|
|
1018
1018
|
log-symbols@^2.2.0:
|
1019
1019
|
version "2.2.0"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: trusty-cms
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.
|
4
|
+
version: 4.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- TrustyCms CMS dev team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-05-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: acts_as_list
|
@@ -39,7 +39,7 @@ dependencies:
|
|
39
39
|
version: 2.6.1
|
40
40
|
- - "<"
|
41
41
|
- !ruby/object:Gem::Version
|
42
|
-
version: 2.
|
42
|
+
version: 2.10.0
|
43
43
|
type: :runtime
|
44
44
|
prerelease: false
|
45
45
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -49,7 +49,7 @@ dependencies:
|
|
49
49
|
version: 2.6.1
|
50
50
|
- - "<"
|
51
51
|
- !ruby/object:Gem::Version
|
52
|
-
version: 2.
|
52
|
+
version: 2.10.0
|
53
53
|
- !ruby/object:Gem::Dependency
|
54
54
|
name: ckeditor
|
55
55
|
requirement: !ruby/object:Gem::Requirement
|
@@ -59,7 +59,7 @@ dependencies:
|
|
59
59
|
version: 4.2.2
|
60
60
|
- - "<"
|
61
61
|
- !ruby/object:Gem::Version
|
62
|
-
version: 4.
|
62
|
+
version: 4.4.0
|
63
63
|
type: :runtime
|
64
64
|
prerelease: false
|
65
65
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -69,7 +69,7 @@ dependencies:
|
|
69
69
|
version: 4.2.2
|
70
70
|
- - "<"
|
71
71
|
- !ruby/object:Gem::Version
|
72
|
-
version: 4.
|
72
|
+
version: 4.4.0
|
73
73
|
- !ruby/object:Gem::Dependency
|
74
74
|
name: delocalize
|
75
75
|
requirement: !ruby/object:Gem::Requirement
|
@@ -122,30 +122,30 @@ dependencies:
|
|
122
122
|
name: haml
|
123
123
|
requirement: !ruby/object:Gem::Requirement
|
124
124
|
requirements:
|
125
|
-
- - "
|
125
|
+
- - ">="
|
126
126
|
- !ruby/object:Gem::Version
|
127
|
-
version: '
|
127
|
+
version: '0'
|
128
128
|
type: :runtime
|
129
129
|
prerelease: false
|
130
130
|
version_requirements: !ruby/object:Gem::Requirement
|
131
131
|
requirements:
|
132
|
-
- - "
|
132
|
+
- - ">="
|
133
133
|
- !ruby/object:Gem::Version
|
134
|
-
version: '
|
134
|
+
version: '0'
|
135
135
|
- !ruby/object:Gem::Dependency
|
136
136
|
name: haml-rails
|
137
137
|
requirement: !ruby/object:Gem::Requirement
|
138
138
|
requirements:
|
139
139
|
- - "~>"
|
140
140
|
- !ruby/object:Gem::Version
|
141
|
-
version:
|
141
|
+
version: '2.0'
|
142
142
|
type: :runtime
|
143
143
|
prerelease: false
|
144
144
|
version_requirements: !ruby/object:Gem::Requirement
|
145
145
|
requirements:
|
146
146
|
- - "~>"
|
147
147
|
- !ruby/object:Gem::Version
|
148
|
-
version:
|
148
|
+
version: '2.0'
|
149
149
|
- !ruby/object:Gem::Dependency
|
150
150
|
name: highline
|
151
151
|
requirement: !ruby/object:Gem::Requirement
|
@@ -208,20 +208,6 @@ dependencies:
|
|
208
208
|
- - ">="
|
209
209
|
- !ruby/object:Gem::Version
|
210
210
|
version: '0'
|
211
|
-
- !ruby/object:Gem::Dependency
|
212
|
-
name: paperclip
|
213
|
-
requirement: !ruby/object:Gem::Requirement
|
214
|
-
requirements:
|
215
|
-
- - ">"
|
216
|
-
- !ruby/object:Gem::Version
|
217
|
-
version: '5.2'
|
218
|
-
type: :runtime
|
219
|
-
prerelease: false
|
220
|
-
version_requirements: !ruby/object:Gem::Requirement
|
221
|
-
requirements:
|
222
|
-
- - ">"
|
223
|
-
- !ruby/object:Gem::Version
|
224
|
-
version: '5.2'
|
225
211
|
- !ruby/object:Gem::Dependency
|
226
212
|
name: rack
|
227
213
|
requirement: !ruby/object:Gem::Requirement
|
@@ -347,7 +333,7 @@ dependencies:
|
|
347
333
|
- !ruby/object:Gem::Version
|
348
334
|
version: '0'
|
349
335
|
- !ruby/object:Gem::Dependency
|
350
|
-
name:
|
336
|
+
name: sass-rails
|
351
337
|
requirement: !ruby/object:Gem::Requirement
|
352
338
|
requirements:
|
353
339
|
- - ">="
|
@@ -589,6 +575,7 @@ files:
|
|
589
575
|
- app/assets/javascripts/admin/assets.js
|
590
576
|
- app/assets/javascripts/admin/assets_admin.js
|
591
577
|
- app/assets/javascripts/admin/autopopulate-breadcrumb.js
|
578
|
+
- app/assets/javascripts/admin/custom_file_upload.js
|
592
579
|
- app/assets/javascripts/admin/datecheck.js
|
593
580
|
- app/assets/javascripts/admin/dropdown.js
|
594
581
|
- app/assets/javascripts/admin/jquery.cookie.js
|
@@ -803,6 +790,7 @@ files:
|
|
803
790
|
- config/application.rb
|
804
791
|
- config/boot.rb
|
805
792
|
- config/database.mysql.yml
|
793
|
+
- config/database.yml
|
806
794
|
- config/environment.rb
|
807
795
|
- config/environments/development.rb
|
808
796
|
- config/environments/production.rb
|
@@ -820,6 +808,36 @@ files:
|
|
820
808
|
- config/locales/en_available_tags.yml
|
821
809
|
- config/routes.rb
|
822
810
|
- config/trustygems.yml
|
811
|
+
- coverage/assets/0.12.3/DataTables-1.10.20/images/sort_asc.png
|
812
|
+
- coverage/assets/0.12.3/DataTables-1.10.20/images/sort_asc_disabled.png
|
813
|
+
- coverage/assets/0.12.3/DataTables-1.10.20/images/sort_both.png
|
814
|
+
- coverage/assets/0.12.3/DataTables-1.10.20/images/sort_desc.png
|
815
|
+
- coverage/assets/0.12.3/DataTables-1.10.20/images/sort_desc_disabled.png
|
816
|
+
- coverage/assets/0.12.3/application.css
|
817
|
+
- coverage/assets/0.12.3/application.js
|
818
|
+
- coverage/assets/0.12.3/colorbox/border.png
|
819
|
+
- coverage/assets/0.12.3/colorbox/controls.png
|
820
|
+
- coverage/assets/0.12.3/colorbox/loading.gif
|
821
|
+
- coverage/assets/0.12.3/colorbox/loading_background.png
|
822
|
+
- coverage/assets/0.12.3/favicon_green.png
|
823
|
+
- coverage/assets/0.12.3/favicon_red.png
|
824
|
+
- coverage/assets/0.12.3/favicon_yellow.png
|
825
|
+
- coverage/assets/0.12.3/images/ui-bg_flat_0_aaaaaa_40x100.png
|
826
|
+
- coverage/assets/0.12.3/images/ui-bg_flat_75_ffffff_40x100.png
|
827
|
+
- coverage/assets/0.12.3/images/ui-bg_glass_55_fbf9ee_1x400.png
|
828
|
+
- coverage/assets/0.12.3/images/ui-bg_glass_65_ffffff_1x400.png
|
829
|
+
- coverage/assets/0.12.3/images/ui-bg_glass_75_dadada_1x400.png
|
830
|
+
- coverage/assets/0.12.3/images/ui-bg_glass_75_e6e6e6_1x400.png
|
831
|
+
- coverage/assets/0.12.3/images/ui-bg_glass_95_fef1ec_1x400.png
|
832
|
+
- coverage/assets/0.12.3/images/ui-bg_highlight-soft_75_cccccc_1x100.png
|
833
|
+
- coverage/assets/0.12.3/images/ui-icons_222222_256x240.png
|
834
|
+
- coverage/assets/0.12.3/images/ui-icons_2e83ff_256x240.png
|
835
|
+
- coverage/assets/0.12.3/images/ui-icons_454545_256x240.png
|
836
|
+
- coverage/assets/0.12.3/images/ui-icons_888888_256x240.png
|
837
|
+
- coverage/assets/0.12.3/images/ui-icons_cd0a0a_256x240.png
|
838
|
+
- coverage/assets/0.12.3/loading.gif
|
839
|
+
- coverage/assets/0.12.3/magnify.png
|
840
|
+
- coverage/index.html
|
823
841
|
- db/migrate/001_create_trusty_tables.rb
|
824
842
|
- db/migrate/002_insert_initial_data.rb
|
825
843
|
- db/migrate/004_rename_filter_column.rb
|
@@ -866,10 +884,106 @@ files:
|
|
866
884
|
- db/migrate/20160527141249_add_password_reset_to_users.rb
|
867
885
|
- db/migrate/20161027141250_add_position_to_pages.rb
|
868
886
|
- db/migrate/20200117141251_create_admin_users.rb
|
887
|
+
- db/migrate/20210331134718_create_active_storage_tables.active_storage.rb
|
869
888
|
- db/schema.rb
|
870
889
|
- lib/active_record_extensions/active_record_extensions.rb
|
871
890
|
- lib/annotatable.rb
|
872
891
|
- lib/configuration_extensions/configuration_extensions.rb
|
892
|
+
- lib/generators/extension/USAGE
|
893
|
+
- lib/generators/extension/extension_generator.rb
|
894
|
+
- lib/generators/extension/templates/README.md
|
895
|
+
- lib/generators/extension/templates/RSpecRakefile
|
896
|
+
- lib/generators/extension/templates/Rakefile
|
897
|
+
- lib/generators/extension/templates/cucumber.yml
|
898
|
+
- lib/generators/extension/templates/cucumber_env.rb
|
899
|
+
- lib/generators/extension/templates/cucumber_paths.rb
|
900
|
+
- lib/generators/extension/templates/en.yml
|
901
|
+
- lib/generators/extension/templates/extension.rb
|
902
|
+
- lib/generators/extension/templates/functional_test.rb
|
903
|
+
- lib/generators/extension/templates/gemspec.rb
|
904
|
+
- lib/generators/extension/templates/lib.rb
|
905
|
+
- lib/generators/extension/templates/migration.rb
|
906
|
+
- lib/generators/extension/templates/radiant_config.rb
|
907
|
+
- lib/generators/extension/templates/routes.rb
|
908
|
+
- lib/generators/extension/templates/spec.opts
|
909
|
+
- lib/generators/extension/templates/spec_helper.rb
|
910
|
+
- lib/generators/extension/templates/tasks.rake
|
911
|
+
- lib/generators/extension/templates/test_helper.rb
|
912
|
+
- lib/generators/extension_controller/USAGE
|
913
|
+
- lib/generators/extension_controller/extension_controller_generator.rb
|
914
|
+
- lib/generators/extension_controller/templates/controller.rb
|
915
|
+
- lib/generators/extension_controller/templates/controller_spec.rb
|
916
|
+
- lib/generators/extension_controller/templates/functional_test.rb
|
917
|
+
- lib/generators/extension_controller/templates/helper.rb
|
918
|
+
- lib/generators/extension_controller/templates/helper_spec.rb
|
919
|
+
- lib/generators/extension_controller/templates/helper_test.rb
|
920
|
+
- lib/generators/extension_controller/templates/view.html.erb
|
921
|
+
- lib/generators/extension_controller/templates/view_spec.rb
|
922
|
+
- lib/generators/extension_mailer/USAGE
|
923
|
+
- lib/generators/extension_mailer/extension_mailer_generator.rb
|
924
|
+
- lib/generators/extension_mailer/templates/fixture.erb
|
925
|
+
- lib/generators/extension_mailer/templates/mailer.rb
|
926
|
+
- lib/generators/extension_mailer/templates/unit_test.rb
|
927
|
+
- lib/generators/extension_mailer/templates/view.erb
|
928
|
+
- lib/generators/extension_migration/USAGE
|
929
|
+
- lib/generators/extension_migration/extension_migration_generator.rb
|
930
|
+
- lib/generators/extension_migration/templates/migration.rb
|
931
|
+
- lib/generators/extension_model/USAGE
|
932
|
+
- lib/generators/extension_model/extension_model_generator.rb
|
933
|
+
- lib/generators/extension_model/templates/fixtures.yml
|
934
|
+
- lib/generators/extension_model/templates/migration.rb
|
935
|
+
- lib/generators/extension_model/templates/model.rb
|
936
|
+
- lib/generators/extension_model/templates/model_spec.rb
|
937
|
+
- lib/generators/extension_model/templates/unit_test.rb
|
938
|
+
- lib/generators/generator_base_extension.rb
|
939
|
+
- lib/generators/instance/instance_generator.rb
|
940
|
+
- lib/generators/instance/templates/databases/db2.yml
|
941
|
+
- lib/generators/instance/templates/databases/mysql.yml
|
942
|
+
- lib/generators/instance/templates/databases/postgresql.yml
|
943
|
+
- lib/generators/instance/templates/databases/sqlite3.yml
|
944
|
+
- lib/generators/instance/templates/databases/sqlserver.yml
|
945
|
+
- lib/generators/instance/templates/instance_boot.rb
|
946
|
+
- lib/generators/instance/templates/instance_config.ru
|
947
|
+
- lib/generators/instance/templates/instance_environment.rb
|
948
|
+
- lib/generators/instance/templates/instance_gemfile
|
949
|
+
- lib/generators/instance/templates/instance_generate
|
950
|
+
- lib/generators/instance/templates/instance_radiant_config.rb
|
951
|
+
- lib/generators/instance/templates/instance_rakefile
|
952
|
+
- lib/generators/instance/templates/instance_routes.rb
|
953
|
+
- lib/generators/language_extension/USAGE
|
954
|
+
- lib/generators/language_extension/language_extension_generator.rb
|
955
|
+
- lib/generators/language_extension/templates/README
|
956
|
+
- lib/generators/language_extension/templates/RSpecRakefile
|
957
|
+
- lib/generators/language_extension/templates/Rakefile
|
958
|
+
- lib/generators/language_extension/templates/available_tags.yml
|
959
|
+
- lib/generators/language_extension/templates/cucumber.yml
|
960
|
+
- lib/generators/language_extension/templates/cucumber_env.rb
|
961
|
+
- lib/generators/language_extension/templates/cucumber_paths.rb
|
962
|
+
- lib/generators/language_extension/templates/extension.rb
|
963
|
+
- lib/generators/language_extension/templates/functional_test.rb
|
964
|
+
- lib/generators/language_extension/templates/gemspec.rb
|
965
|
+
- lib/generators/language_extension/templates/lang.yml
|
966
|
+
- lib/generators/language_extension/templates/lib.rb
|
967
|
+
- lib/generators/language_extension/templates/spec.opts
|
968
|
+
- lib/generators/language_extension/templates/spec_helper.rb
|
969
|
+
- lib/generators/language_extension/templates/tasks.rake
|
970
|
+
- lib/generators/language_extension/templates/test_helper.rb
|
971
|
+
- lib/generators/trusty_cms/USAGE
|
972
|
+
- lib/generators/trusty_cms/templates/Rakefile.erb
|
973
|
+
- lib/generators/trusty_cms/templates/application.rb.erb
|
974
|
+
- lib/generators/trusty_cms/templates/boot.rb.erb
|
975
|
+
- lib/generators/trusty_cms/templates/config.ru.erb
|
976
|
+
- lib/generators/trusty_cms/templates/database.yml.erb
|
977
|
+
- lib/generators/trusty_cms/templates/environment.rb.erb
|
978
|
+
- lib/generators/trusty_cms/templates/environments/development.rb.erb
|
979
|
+
- lib/generators/trusty_cms/templates/environments/production.rb.erb
|
980
|
+
- lib/generators/trusty_cms/templates/environments/test.rb.erb
|
981
|
+
- lib/generators/trusty_cms/templates/initializers/secret_token.rb.erb
|
982
|
+
- lib/generators/trusty_cms/templates/initializers/session_store.rb.erb
|
983
|
+
- lib/generators/trusty_cms/templates/initializers/trusty_cms_config.rb.erb
|
984
|
+
- lib/generators/trusty_cms/templates/preinitializer.rb.erb
|
985
|
+
- lib/generators/trusty_cms/templates/routes.rb.erb
|
986
|
+
- lib/generators/trusty_cms/trusty_cms_generator.rb
|
873
987
|
- lib/inheritable_class_attributes.rb
|
874
988
|
- lib/local_time.rb
|
875
989
|
- lib/login_system.rb
|
@@ -5130,6 +5244,7 @@ files:
|
|
5130
5244
|
- node_modules/lodash/_baseToNumber.js
|
5131
5245
|
- node_modules/lodash/_baseToPairs.js
|
5132
5246
|
- node_modules/lodash/_baseToString.js
|
5247
|
+
- node_modules/lodash/_baseTrim.js
|
5133
5248
|
- node_modules/lodash/_baseUnary.js
|
5134
5249
|
- node_modules/lodash/_baseUniq.js
|
5135
5250
|
- node_modules/lodash/_baseUnset.js
|
@@ -5293,6 +5408,7 @@ files:
|
|
5293
5408
|
- node_modules/lodash/_stringToPath.js
|
5294
5409
|
- node_modules/lodash/_toKey.js
|
5295
5410
|
- node_modules/lodash/_toSource.js
|
5411
|
+
- node_modules/lodash/_trimmedEndIndex.js
|
5296
5412
|
- node_modules/lodash/_unescapeHtmlChar.js
|
5297
5413
|
- node_modules/lodash/_unicodeSize.js
|
5298
5414
|
- node_modules/lodash/_unicodeToArray.js
|
@@ -5374,6 +5490,8 @@ files:
|
|
5374
5490
|
- node_modules/lodash/findLastIndex.js
|
5375
5491
|
- node_modules/lodash/findLastKey.js
|
5376
5492
|
- node_modules/lodash/first.js
|
5493
|
+
- node_modules/lodash/flake.lock
|
5494
|
+
- node_modules/lodash/flake.nix
|
5377
5495
|
- node_modules/lodash/flatMap.js
|
5378
5496
|
- node_modules/lodash/flatMapDeep.js
|
5379
5497
|
- node_modules/lodash/flatMapDepth.js
|
@@ -5942,6 +6060,7 @@ files:
|
|
5942
6060
|
- node_modules/lodash/reduce.js
|
5943
6061
|
- node_modules/lodash/reduceRight.js
|
5944
6062
|
- node_modules/lodash/reject.js
|
6063
|
+
- node_modules/lodash/release.md
|
5945
6064
|
- node_modules/lodash/remove.js
|
5946
6065
|
- node_modules/lodash/repeat.js
|
5947
6066
|
- node_modules/lodash/replace.js
|
@@ -8408,11 +8527,165 @@ files:
|
|
8408
8527
|
- spec/dummy/config/routes.rb
|
8409
8528
|
- spec/dummy/config/secrets.yml
|
8410
8529
|
- spec/dummy/db/schema.rb
|
8530
|
+
- spec/dummy/log/development.log
|
8531
|
+
- spec/dummy/log/test.log
|
8532
|
+
- spec/dummy/node_modules/jquery-ui-bundle/AUTHORS.txt
|
8533
|
+
- spec/dummy/node_modules/jquery-ui-bundle/LICENSE.txt
|
8534
|
+
- spec/dummy/node_modules/jquery-ui-bundle/external/jquery/jquery.js
|
8535
|
+
- spec/dummy/node_modules/jquery-ui-bundle/images/ui-icons_444444_256x240.png
|
8536
|
+
- spec/dummy/node_modules/jquery-ui-bundle/images/ui-icons_555555_256x240.png
|
8537
|
+
- spec/dummy/node_modules/jquery-ui-bundle/images/ui-icons_777620_256x240.png
|
8538
|
+
- spec/dummy/node_modules/jquery-ui-bundle/images/ui-icons_777777_256x240.png
|
8539
|
+
- spec/dummy/node_modules/jquery-ui-bundle/images/ui-icons_cc0000_256x240.png
|
8540
|
+
- spec/dummy/node_modules/jquery-ui-bundle/images/ui-icons_ffffff_256x240.png
|
8541
|
+
- spec/dummy/node_modules/jquery-ui-bundle/index.html
|
8542
|
+
- spec/dummy/node_modules/jquery-ui-bundle/jquery-ui.css
|
8543
|
+
- spec/dummy/node_modules/jquery-ui-bundle/jquery-ui.js
|
8544
|
+
- spec/dummy/node_modules/jquery-ui-bundle/jquery-ui.min.css
|
8545
|
+
- spec/dummy/node_modules/jquery-ui-bundle/jquery-ui.min.js
|
8546
|
+
- spec/dummy/node_modules/jquery-ui-bundle/jquery-ui.structure.css
|
8547
|
+
- spec/dummy/node_modules/jquery-ui-bundle/jquery-ui.structure.min.css
|
8548
|
+
- spec/dummy/node_modules/jquery-ui-bundle/jquery-ui.theme.css
|
8549
|
+
- spec/dummy/node_modules/jquery-ui-bundle/jquery-ui.theme.min.css
|
8550
|
+
- spec/dummy/node_modules/jquery-ui-bundle/package.json
|
8551
|
+
- spec/dummy/node_modules/jquery-ujs/CONTRIBUTING.md
|
8552
|
+
- spec/dummy/node_modules/jquery-ujs/MIT-LICENSE
|
8553
|
+
- spec/dummy/node_modules/jquery-ujs/README.md
|
8554
|
+
- spec/dummy/node_modules/jquery-ujs/RELEASE.md
|
8555
|
+
- spec/dummy/node_modules/jquery-ujs/bower.json
|
8556
|
+
- spec/dummy/node_modules/jquery-ujs/package.json
|
8557
|
+
- spec/dummy/node_modules/jquery-ujs/src/rails.js
|
8558
|
+
- spec/dummy/node_modules/jquery/AUTHORS.txt
|
8559
|
+
- spec/dummy/node_modules/jquery/LICENSE.txt
|
8560
|
+
- spec/dummy/node_modules/jquery/README.md
|
8561
|
+
- spec/dummy/node_modules/jquery/bower.json
|
8562
|
+
- spec/dummy/node_modules/jquery/dist/jquery.js
|
8563
|
+
- spec/dummy/node_modules/jquery/dist/jquery.min.js
|
8564
|
+
- spec/dummy/node_modules/jquery/dist/jquery.min.map
|
8565
|
+
- spec/dummy/node_modules/jquery/dist/jquery.slim.js
|
8566
|
+
- spec/dummy/node_modules/jquery/dist/jquery.slim.min.js
|
8567
|
+
- spec/dummy/node_modules/jquery/dist/jquery.slim.min.map
|
8568
|
+
- spec/dummy/node_modules/jquery/external/sizzle/LICENSE.txt
|
8569
|
+
- spec/dummy/node_modules/jquery/external/sizzle/dist/sizzle.js
|
8570
|
+
- spec/dummy/node_modules/jquery/external/sizzle/dist/sizzle.min.js
|
8571
|
+
- spec/dummy/node_modules/jquery/external/sizzle/dist/sizzle.min.map
|
8572
|
+
- spec/dummy/node_modules/jquery/package.json
|
8573
|
+
- spec/dummy/node_modules/jquery/src/ajax.js
|
8574
|
+
- spec/dummy/node_modules/jquery/src/ajax/jsonp.js
|
8575
|
+
- spec/dummy/node_modules/jquery/src/ajax/load.js
|
8576
|
+
- spec/dummy/node_modules/jquery/src/ajax/script.js
|
8577
|
+
- spec/dummy/node_modules/jquery/src/ajax/var/location.js
|
8578
|
+
- spec/dummy/node_modules/jquery/src/ajax/var/nonce.js
|
8579
|
+
- spec/dummy/node_modules/jquery/src/ajax/var/rquery.js
|
8580
|
+
- spec/dummy/node_modules/jquery/src/ajax/xhr.js
|
8581
|
+
- spec/dummy/node_modules/jquery/src/attributes.js
|
8582
|
+
- spec/dummy/node_modules/jquery/src/attributes/attr.js
|
8583
|
+
- spec/dummy/node_modules/jquery/src/attributes/classes.js
|
8584
|
+
- spec/dummy/node_modules/jquery/src/attributes/prop.js
|
8585
|
+
- spec/dummy/node_modules/jquery/src/attributes/support.js
|
8586
|
+
- spec/dummy/node_modules/jquery/src/attributes/val.js
|
8587
|
+
- spec/dummy/node_modules/jquery/src/callbacks.js
|
8588
|
+
- spec/dummy/node_modules/jquery/src/core.js
|
8589
|
+
- spec/dummy/node_modules/jquery/src/core/DOMEval.js
|
8590
|
+
- spec/dummy/node_modules/jquery/src/core/access.js
|
8591
|
+
- spec/dummy/node_modules/jquery/src/core/camelCase.js
|
8592
|
+
- spec/dummy/node_modules/jquery/src/core/init.js
|
8593
|
+
- spec/dummy/node_modules/jquery/src/core/isAttached.js
|
8594
|
+
- spec/dummy/node_modules/jquery/src/core/nodeName.js
|
8595
|
+
- spec/dummy/node_modules/jquery/src/core/parseHTML.js
|
8596
|
+
- spec/dummy/node_modules/jquery/src/core/parseXML.js
|
8597
|
+
- spec/dummy/node_modules/jquery/src/core/ready-no-deferred.js
|
8598
|
+
- spec/dummy/node_modules/jquery/src/core/ready.js
|
8599
|
+
- spec/dummy/node_modules/jquery/src/core/readyException.js
|
8600
|
+
- spec/dummy/node_modules/jquery/src/core/stripAndCollapse.js
|
8601
|
+
- spec/dummy/node_modules/jquery/src/core/support.js
|
8602
|
+
- spec/dummy/node_modules/jquery/src/core/toType.js
|
8603
|
+
- spec/dummy/node_modules/jquery/src/core/var/rsingleTag.js
|
8604
|
+
- spec/dummy/node_modules/jquery/src/css.js
|
8605
|
+
- spec/dummy/node_modules/jquery/src/css/addGetHookIf.js
|
8606
|
+
- spec/dummy/node_modules/jquery/src/css/adjustCSS.js
|
8607
|
+
- spec/dummy/node_modules/jquery/src/css/curCSS.js
|
8608
|
+
- spec/dummy/node_modules/jquery/src/css/finalPropName.js
|
8609
|
+
- spec/dummy/node_modules/jquery/src/css/hiddenVisibleSelectors.js
|
8610
|
+
- spec/dummy/node_modules/jquery/src/css/showHide.js
|
8611
|
+
- spec/dummy/node_modules/jquery/src/css/support.js
|
8612
|
+
- spec/dummy/node_modules/jquery/src/css/var/cssExpand.js
|
8613
|
+
- spec/dummy/node_modules/jquery/src/css/var/getStyles.js
|
8614
|
+
- spec/dummy/node_modules/jquery/src/css/var/isHiddenWithinTree.js
|
8615
|
+
- spec/dummy/node_modules/jquery/src/css/var/rboxStyle.js
|
8616
|
+
- spec/dummy/node_modules/jquery/src/css/var/rnumnonpx.js
|
8617
|
+
- spec/dummy/node_modules/jquery/src/css/var/swap.js
|
8618
|
+
- spec/dummy/node_modules/jquery/src/data.js
|
8619
|
+
- spec/dummy/node_modules/jquery/src/data/Data.js
|
8620
|
+
- spec/dummy/node_modules/jquery/src/data/var/acceptData.js
|
8621
|
+
- spec/dummy/node_modules/jquery/src/data/var/dataPriv.js
|
8622
|
+
- spec/dummy/node_modules/jquery/src/data/var/dataUser.js
|
8623
|
+
- spec/dummy/node_modules/jquery/src/deferred.js
|
8624
|
+
- spec/dummy/node_modules/jquery/src/deferred/exceptionHook.js
|
8625
|
+
- spec/dummy/node_modules/jquery/src/deprecated.js
|
8626
|
+
- spec/dummy/node_modules/jquery/src/deprecated/ajax-event-alias.js
|
8627
|
+
- spec/dummy/node_modules/jquery/src/deprecated/event.js
|
8628
|
+
- spec/dummy/node_modules/jquery/src/dimensions.js
|
8629
|
+
- spec/dummy/node_modules/jquery/src/effects.js
|
8630
|
+
- spec/dummy/node_modules/jquery/src/effects/Tween.js
|
8631
|
+
- spec/dummy/node_modules/jquery/src/effects/animatedSelector.js
|
8632
|
+
- spec/dummy/node_modules/jquery/src/event.js
|
8633
|
+
- spec/dummy/node_modules/jquery/src/event/focusin.js
|
8634
|
+
- spec/dummy/node_modules/jquery/src/event/support.js
|
8635
|
+
- spec/dummy/node_modules/jquery/src/event/trigger.js
|
8636
|
+
- spec/dummy/node_modules/jquery/src/exports/amd.js
|
8637
|
+
- spec/dummy/node_modules/jquery/src/exports/global.js
|
8638
|
+
- spec/dummy/node_modules/jquery/src/jquery.js
|
8639
|
+
- spec/dummy/node_modules/jquery/src/manipulation.js
|
8640
|
+
- spec/dummy/node_modules/jquery/src/manipulation/_evalUrl.js
|
8641
|
+
- spec/dummy/node_modules/jquery/src/manipulation/buildFragment.js
|
8642
|
+
- spec/dummy/node_modules/jquery/src/manipulation/getAll.js
|
8643
|
+
- spec/dummy/node_modules/jquery/src/manipulation/setGlobalEval.js
|
8644
|
+
- spec/dummy/node_modules/jquery/src/manipulation/support.js
|
8645
|
+
- spec/dummy/node_modules/jquery/src/manipulation/var/rscriptType.js
|
8646
|
+
- spec/dummy/node_modules/jquery/src/manipulation/var/rtagName.js
|
8647
|
+
- spec/dummy/node_modules/jquery/src/manipulation/wrapMap.js
|
8648
|
+
- spec/dummy/node_modules/jquery/src/offset.js
|
8649
|
+
- spec/dummy/node_modules/jquery/src/queue.js
|
8650
|
+
- spec/dummy/node_modules/jquery/src/queue/delay.js
|
8651
|
+
- spec/dummy/node_modules/jquery/src/selector-native.js
|
8652
|
+
- spec/dummy/node_modules/jquery/src/selector-sizzle.js
|
8653
|
+
- spec/dummy/node_modules/jquery/src/selector.js
|
8654
|
+
- spec/dummy/node_modules/jquery/src/serialize.js
|
8655
|
+
- spec/dummy/node_modules/jquery/src/traversing.js
|
8656
|
+
- spec/dummy/node_modules/jquery/src/traversing/findFilter.js
|
8657
|
+
- spec/dummy/node_modules/jquery/src/traversing/var/dir.js
|
8658
|
+
- spec/dummy/node_modules/jquery/src/traversing/var/rneedsContext.js
|
8659
|
+
- spec/dummy/node_modules/jquery/src/traversing/var/siblings.js
|
8660
|
+
- spec/dummy/node_modules/jquery/src/var/ObjectFunctionString.js
|
8661
|
+
- spec/dummy/node_modules/jquery/src/var/arr.js
|
8662
|
+
- spec/dummy/node_modules/jquery/src/var/class2type.js
|
8663
|
+
- spec/dummy/node_modules/jquery/src/var/document.js
|
8664
|
+
- spec/dummy/node_modules/jquery/src/var/documentElement.js
|
8665
|
+
- spec/dummy/node_modules/jquery/src/var/flat.js
|
8666
|
+
- spec/dummy/node_modules/jquery/src/var/fnToString.js
|
8667
|
+
- spec/dummy/node_modules/jquery/src/var/getProto.js
|
8668
|
+
- spec/dummy/node_modules/jquery/src/var/hasOwn.js
|
8669
|
+
- spec/dummy/node_modules/jquery/src/var/indexOf.js
|
8670
|
+
- spec/dummy/node_modules/jquery/src/var/isFunction.js
|
8671
|
+
- spec/dummy/node_modules/jquery/src/var/isWindow.js
|
8672
|
+
- spec/dummy/node_modules/jquery/src/var/pnum.js
|
8673
|
+
- spec/dummy/node_modules/jquery/src/var/push.js
|
8674
|
+
- spec/dummy/node_modules/jquery/src/var/rcheckableType.js
|
8675
|
+
- spec/dummy/node_modules/jquery/src/var/rcssNum.js
|
8676
|
+
- spec/dummy/node_modules/jquery/src/var/rnothtmlwhite.js
|
8677
|
+
- spec/dummy/node_modules/jquery/src/var/slice.js
|
8678
|
+
- spec/dummy/node_modules/jquery/src/var/support.js
|
8679
|
+
- spec/dummy/node_modules/jquery/src/var/toString.js
|
8680
|
+
- spec/dummy/node_modules/jquery/src/wrap.js
|
8411
8681
|
- spec/dummy/package.json
|
8412
8682
|
- spec/dummy/public/404.html
|
8413
8683
|
- spec/dummy/public/422.html
|
8414
8684
|
- spec/dummy/public/500.html
|
8415
8685
|
- spec/dummy/public/favicon.ico
|
8686
|
+
- spec/dummy/tmp/cache/747/A70/TrustyCms%3A%3AConfig
|
8687
|
+
- spec/dummy/tmp/cache/85C/FA0/TrustyCms.cache_mtime
|
8688
|
+
- spec/dummy/tmp/trusty_config_cache.txt
|
8416
8689
|
- spec/dummy/yarn.lock
|
8417
8690
|
- spec/factories/layout.rb
|
8418
8691
|
- spec/factories/page.rb
|
@@ -8424,38 +8697,8 @@ files:
|
|
8424
8697
|
- spec/fixtures/users.yml
|
8425
8698
|
- spec/models/layout_spec.rb
|
8426
8699
|
- spec/rails_helper.rb
|
8427
|
-
- spec/spec/dummy/node_modules/yaml/browser/dist/tags/core.js
|
8428
|
-
- spec/spec/dummy/node_modules/yaml/browser/dist/tags/failsafe/index.js
|
8429
|
-
- spec/spec/dummy/node_modules/yaml/browser/dist/tags/failsafe/map.js
|
8430
|
-
- spec/spec/dummy/node_modules/yaml/browser/dist/tags/failsafe/seq.js
|
8431
|
-
- spec/spec/dummy/node_modules/yaml/browser/dist/tags/failsafe/string.js
|
8432
|
-
- spec/spec/dummy/node_modules/yaml/browser/dist/tags/index.js
|
8433
|
-
- spec/spec/dummy/node_modules/yaml/browser/dist/tags/json.js
|
8434
|
-
- spec/spec/dummy/node_modules/yaml/browser/dist/tags/options.js
|
8435
|
-
- spec/spec/dummy/node_modules/yaml/browser/dist/tags/yaml-1.1/binary.js
|
8436
|
-
- spec/spec/dummy/node_modules/yaml/browser/dist/tags/yaml-1.1/index.js
|
8437
|
-
- spec/spec/dummy/node_modules/yaml/browser/dist/tags/yaml-1.1/omap.js
|
8438
|
-
- spec/spec/dummy/node_modules/yaml/browser/dist/tags/yaml-1.1/pairs.js
|
8439
|
-
- spec/spec/dummy/node_modules/yaml/browser/dist/tags/yaml-1.1/set.js
|
8440
|
-
- spec/spec/dummy/node_modules/yaml/browser/dist/tags/yaml-1.1/timestamp.js
|
8441
|
-
- spec/spec/dummy/node_modules/yaml/dist/tags/core.js
|
8442
|
-
- spec/spec/dummy/node_modules/yaml/dist/tags/failsafe/index.js
|
8443
|
-
- spec/spec/dummy/node_modules/yaml/dist/tags/failsafe/map.js
|
8444
|
-
- spec/spec/dummy/node_modules/yaml/dist/tags/failsafe/seq.js
|
8445
|
-
- spec/spec/dummy/node_modules/yaml/dist/tags/failsafe/string.js
|
8446
|
-
- spec/spec/dummy/node_modules/yaml/dist/tags/index.js
|
8447
|
-
- spec/spec/dummy/node_modules/yaml/dist/tags/json.js
|
8448
|
-
- spec/spec/dummy/node_modules/yaml/dist/tags/options.js
|
8449
|
-
- spec/spec/dummy/node_modules/yaml/dist/tags/yaml-1.1/binary.js
|
8450
|
-
- spec/spec/dummy/node_modules/yaml/dist/tags/yaml-1.1/index.js
|
8451
|
-
- spec/spec/dummy/node_modules/yaml/dist/tags/yaml-1.1/omap.js
|
8452
|
-
- spec/spec/dummy/node_modules/yaml/dist/tags/yaml-1.1/pairs.js
|
8453
|
-
- spec/spec/dummy/node_modules/yaml/dist/tags/yaml-1.1/set.js
|
8454
|
-
- spec/spec/dummy/node_modules/yaml/dist/tags/yaml-1.1/timestamp.js
|
8455
8700
|
- spec/spec_helper.rb
|
8456
8701
|
- spec/support/custom_actions.rb
|
8457
|
-
- tmp/unused/term-matches-31cbc83eb20adeaff4320af0977dd4bf.csv
|
8458
|
-
- tmp/unused/term-matches-b1e3e0562ba17efa3f2e73c9246c5612.csv
|
8459
8702
|
- trusty_cms.gemspec
|
8460
8703
|
- vendor/extensions/clipped-extension/clipped_extension.rb
|
8461
8704
|
- vendor/extensions/clipped-extension/lib/admin/assets_helper.rb
|
@@ -8551,85 +8794,211 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
8551
8794
|
- !ruby/object:Gem::Version
|
8552
8795
|
version: 1.3.1
|
8553
8796
|
requirements: []
|
8554
|
-
rubygems_version: 3.
|
8797
|
+
rubygems_version: 3.2.15
|
8555
8798
|
signing_key:
|
8556
8799
|
specification_version: 4
|
8557
8800
|
summary: A no-fluff content management system designed for small teams.
|
8558
8801
|
test_files:
|
8559
|
-
- spec/
|
8802
|
+
- spec/ci/database.mysql.yml
|
8803
|
+
- spec/controllers/application_controller_spec.rb
|
8804
|
+
- spec/controllers/users_controller_spec.rb
|
8805
|
+
- spec/dummy/README.rdoc
|
8806
|
+
- spec/dummy/Rakefile
|
8560
8807
|
- spec/dummy/app/assets/config/manifest.js
|
8561
|
-
- spec/dummy/bin/rake
|
8562
|
-
- spec/dummy/bin/setup
|
8563
8808
|
- spec/dummy/bin/bundle
|
8564
8809
|
- spec/dummy/bin/rails
|
8565
|
-
- spec/dummy/
|
8566
|
-
- spec/dummy/
|
8567
|
-
- spec/dummy/config/locales/en.yml
|
8568
|
-
- spec/dummy/config/environments/production.rb
|
8569
|
-
- spec/dummy/config/environments/development.rb
|
8570
|
-
- spec/dummy/config/environments/test.rb
|
8571
|
-
- spec/dummy/config/environment.rb
|
8810
|
+
- spec/dummy/bin/rake
|
8811
|
+
- spec/dummy/bin/setup
|
8572
8812
|
- spec/dummy/config/application.rb
|
8573
|
-
- spec/dummy/config/database.yml
|
8574
8813
|
- spec/dummy/config/boot.rb
|
8575
|
-
- spec/dummy/config/
|
8814
|
+
- spec/dummy/config/database.yml
|
8815
|
+
- spec/dummy/config/environment.rb
|
8816
|
+
- spec/dummy/config/environments/development.rb
|
8817
|
+
- spec/dummy/config/environments/production.rb
|
8818
|
+
- spec/dummy/config/environments/test.rb
|
8819
|
+
- spec/dummy/config/initializers/assets.rb
|
8576
8820
|
- spec/dummy/config/initializers/backtrace_silencers.rb
|
8577
|
-
- spec/dummy/config/initializers/
|
8821
|
+
- spec/dummy/config/initializers/cookies_serializer.rb
|
8578
8822
|
- spec/dummy/config/initializers/filter_parameter_logging.rb
|
8823
|
+
- spec/dummy/config/initializers/inflections.rb
|
8824
|
+
- spec/dummy/config/initializers/mime_types.rb
|
8579
8825
|
- spec/dummy/config/initializers/session_store.rb
|
8826
|
+
- spec/dummy/config/initializers/trusty_cms_config.rb
|
8580
8827
|
- spec/dummy/config/initializers/wrap_parameters.rb
|
8581
|
-
- spec/dummy/config/
|
8582
|
-
- spec/dummy/config/
|
8583
|
-
- spec/dummy/config/
|
8828
|
+
- spec/dummy/config/locales/en.yml
|
8829
|
+
- spec/dummy/config/routes.rb
|
8830
|
+
- spec/dummy/config/secrets.yml
|
8584
8831
|
- spec/dummy/config.ru
|
8585
|
-
- spec/dummy/
|
8586
|
-
- spec/dummy/
|
8587
|
-
- spec/dummy/
|
8832
|
+
- spec/dummy/db/schema.rb
|
8833
|
+
- spec/dummy/log/development.log
|
8834
|
+
- spec/dummy/log/test.log
|
8835
|
+
- spec/dummy/node_modules/jquery/AUTHORS.txt
|
8836
|
+
- spec/dummy/node_modules/jquery/LICENSE.txt
|
8837
|
+
- spec/dummy/node_modules/jquery/README.md
|
8838
|
+
- spec/dummy/node_modules/jquery/bower.json
|
8839
|
+
- spec/dummy/node_modules/jquery/dist/jquery.js
|
8840
|
+
- spec/dummy/node_modules/jquery/dist/jquery.min.js
|
8841
|
+
- spec/dummy/node_modules/jquery/dist/jquery.min.map
|
8842
|
+
- spec/dummy/node_modules/jquery/dist/jquery.slim.js
|
8843
|
+
- spec/dummy/node_modules/jquery/dist/jquery.slim.min.js
|
8844
|
+
- spec/dummy/node_modules/jquery/dist/jquery.slim.min.map
|
8845
|
+
- spec/dummy/node_modules/jquery/external/sizzle/LICENSE.txt
|
8846
|
+
- spec/dummy/node_modules/jquery/external/sizzle/dist/sizzle.js
|
8847
|
+
- spec/dummy/node_modules/jquery/external/sizzle/dist/sizzle.min.js
|
8848
|
+
- spec/dummy/node_modules/jquery/external/sizzle/dist/sizzle.min.map
|
8849
|
+
- spec/dummy/node_modules/jquery/package.json
|
8850
|
+
- spec/dummy/node_modules/jquery/src/ajax/jsonp.js
|
8851
|
+
- spec/dummy/node_modules/jquery/src/ajax/load.js
|
8852
|
+
- spec/dummy/node_modules/jquery/src/ajax/script.js
|
8853
|
+
- spec/dummy/node_modules/jquery/src/ajax/var/location.js
|
8854
|
+
- spec/dummy/node_modules/jquery/src/ajax/var/nonce.js
|
8855
|
+
- spec/dummy/node_modules/jquery/src/ajax/var/rquery.js
|
8856
|
+
- spec/dummy/node_modules/jquery/src/ajax/xhr.js
|
8857
|
+
- spec/dummy/node_modules/jquery/src/ajax.js
|
8858
|
+
- spec/dummy/node_modules/jquery/src/attributes/attr.js
|
8859
|
+
- spec/dummy/node_modules/jquery/src/attributes/classes.js
|
8860
|
+
- spec/dummy/node_modules/jquery/src/attributes/prop.js
|
8861
|
+
- spec/dummy/node_modules/jquery/src/attributes/support.js
|
8862
|
+
- spec/dummy/node_modules/jquery/src/attributes/val.js
|
8863
|
+
- spec/dummy/node_modules/jquery/src/attributes.js
|
8864
|
+
- spec/dummy/node_modules/jquery/src/callbacks.js
|
8865
|
+
- spec/dummy/node_modules/jquery/src/core/DOMEval.js
|
8866
|
+
- spec/dummy/node_modules/jquery/src/core/access.js
|
8867
|
+
- spec/dummy/node_modules/jquery/src/core/camelCase.js
|
8868
|
+
- spec/dummy/node_modules/jquery/src/core/init.js
|
8869
|
+
- spec/dummy/node_modules/jquery/src/core/isAttached.js
|
8870
|
+
- spec/dummy/node_modules/jquery/src/core/nodeName.js
|
8871
|
+
- spec/dummy/node_modules/jquery/src/core/parseHTML.js
|
8872
|
+
- spec/dummy/node_modules/jquery/src/core/parseXML.js
|
8873
|
+
- spec/dummy/node_modules/jquery/src/core/ready-no-deferred.js
|
8874
|
+
- spec/dummy/node_modules/jquery/src/core/ready.js
|
8875
|
+
- spec/dummy/node_modules/jquery/src/core/readyException.js
|
8876
|
+
- spec/dummy/node_modules/jquery/src/core/stripAndCollapse.js
|
8877
|
+
- spec/dummy/node_modules/jquery/src/core/support.js
|
8878
|
+
- spec/dummy/node_modules/jquery/src/core/toType.js
|
8879
|
+
- spec/dummy/node_modules/jquery/src/core/var/rsingleTag.js
|
8880
|
+
- spec/dummy/node_modules/jquery/src/core.js
|
8881
|
+
- spec/dummy/node_modules/jquery/src/css/addGetHookIf.js
|
8882
|
+
- spec/dummy/node_modules/jquery/src/css/adjustCSS.js
|
8883
|
+
- spec/dummy/node_modules/jquery/src/css/curCSS.js
|
8884
|
+
- spec/dummy/node_modules/jquery/src/css/finalPropName.js
|
8885
|
+
- spec/dummy/node_modules/jquery/src/css/hiddenVisibleSelectors.js
|
8886
|
+
- spec/dummy/node_modules/jquery/src/css/showHide.js
|
8887
|
+
- spec/dummy/node_modules/jquery/src/css/support.js
|
8888
|
+
- spec/dummy/node_modules/jquery/src/css/var/cssExpand.js
|
8889
|
+
- spec/dummy/node_modules/jquery/src/css/var/getStyles.js
|
8890
|
+
- spec/dummy/node_modules/jquery/src/css/var/isHiddenWithinTree.js
|
8891
|
+
- spec/dummy/node_modules/jquery/src/css/var/rboxStyle.js
|
8892
|
+
- spec/dummy/node_modules/jquery/src/css/var/rnumnonpx.js
|
8893
|
+
- spec/dummy/node_modules/jquery/src/css/var/swap.js
|
8894
|
+
- spec/dummy/node_modules/jquery/src/css.js
|
8895
|
+
- spec/dummy/node_modules/jquery/src/data/Data.js
|
8896
|
+
- spec/dummy/node_modules/jquery/src/data/var/acceptData.js
|
8897
|
+
- spec/dummy/node_modules/jquery/src/data/var/dataPriv.js
|
8898
|
+
- spec/dummy/node_modules/jquery/src/data/var/dataUser.js
|
8899
|
+
- spec/dummy/node_modules/jquery/src/data.js
|
8900
|
+
- spec/dummy/node_modules/jquery/src/deferred/exceptionHook.js
|
8901
|
+
- spec/dummy/node_modules/jquery/src/deferred.js
|
8902
|
+
- spec/dummy/node_modules/jquery/src/deprecated/ajax-event-alias.js
|
8903
|
+
- spec/dummy/node_modules/jquery/src/deprecated/event.js
|
8904
|
+
- spec/dummy/node_modules/jquery/src/deprecated.js
|
8905
|
+
- spec/dummy/node_modules/jquery/src/dimensions.js
|
8906
|
+
- spec/dummy/node_modules/jquery/src/effects/Tween.js
|
8907
|
+
- spec/dummy/node_modules/jquery/src/effects/animatedSelector.js
|
8908
|
+
- spec/dummy/node_modules/jquery/src/effects.js
|
8909
|
+
- spec/dummy/node_modules/jquery/src/event/focusin.js
|
8910
|
+
- spec/dummy/node_modules/jquery/src/event/support.js
|
8911
|
+
- spec/dummy/node_modules/jquery/src/event/trigger.js
|
8912
|
+
- spec/dummy/node_modules/jquery/src/event.js
|
8913
|
+
- spec/dummy/node_modules/jquery/src/exports/amd.js
|
8914
|
+
- spec/dummy/node_modules/jquery/src/exports/global.js
|
8915
|
+
- spec/dummy/node_modules/jquery/src/jquery.js
|
8916
|
+
- spec/dummy/node_modules/jquery/src/manipulation/_evalUrl.js
|
8917
|
+
- spec/dummy/node_modules/jquery/src/manipulation/buildFragment.js
|
8918
|
+
- spec/dummy/node_modules/jquery/src/manipulation/getAll.js
|
8919
|
+
- spec/dummy/node_modules/jquery/src/manipulation/setGlobalEval.js
|
8920
|
+
- spec/dummy/node_modules/jquery/src/manipulation/support.js
|
8921
|
+
- spec/dummy/node_modules/jquery/src/manipulation/var/rscriptType.js
|
8922
|
+
- spec/dummy/node_modules/jquery/src/manipulation/var/rtagName.js
|
8923
|
+
- spec/dummy/node_modules/jquery/src/manipulation/wrapMap.js
|
8924
|
+
- spec/dummy/node_modules/jquery/src/manipulation.js
|
8925
|
+
- spec/dummy/node_modules/jquery/src/offset.js
|
8926
|
+
- spec/dummy/node_modules/jquery/src/queue/delay.js
|
8927
|
+
- spec/dummy/node_modules/jquery/src/queue.js
|
8928
|
+
- spec/dummy/node_modules/jquery/src/selector-native.js
|
8929
|
+
- spec/dummy/node_modules/jquery/src/selector-sizzle.js
|
8930
|
+
- spec/dummy/node_modules/jquery/src/selector.js
|
8931
|
+
- spec/dummy/node_modules/jquery/src/serialize.js
|
8932
|
+
- spec/dummy/node_modules/jquery/src/traversing/findFilter.js
|
8933
|
+
- spec/dummy/node_modules/jquery/src/traversing/var/dir.js
|
8934
|
+
- spec/dummy/node_modules/jquery/src/traversing/var/rneedsContext.js
|
8935
|
+
- spec/dummy/node_modules/jquery/src/traversing/var/siblings.js
|
8936
|
+
- spec/dummy/node_modules/jquery/src/traversing.js
|
8937
|
+
- spec/dummy/node_modules/jquery/src/var/ObjectFunctionString.js
|
8938
|
+
- spec/dummy/node_modules/jquery/src/var/arr.js
|
8939
|
+
- spec/dummy/node_modules/jquery/src/var/class2type.js
|
8940
|
+
- spec/dummy/node_modules/jquery/src/var/document.js
|
8941
|
+
- spec/dummy/node_modules/jquery/src/var/documentElement.js
|
8942
|
+
- spec/dummy/node_modules/jquery/src/var/flat.js
|
8943
|
+
- spec/dummy/node_modules/jquery/src/var/fnToString.js
|
8944
|
+
- spec/dummy/node_modules/jquery/src/var/getProto.js
|
8945
|
+
- spec/dummy/node_modules/jquery/src/var/hasOwn.js
|
8946
|
+
- spec/dummy/node_modules/jquery/src/var/indexOf.js
|
8947
|
+
- spec/dummy/node_modules/jquery/src/var/isFunction.js
|
8948
|
+
- spec/dummy/node_modules/jquery/src/var/isWindow.js
|
8949
|
+
- spec/dummy/node_modules/jquery/src/var/pnum.js
|
8950
|
+
- spec/dummy/node_modules/jquery/src/var/push.js
|
8951
|
+
- spec/dummy/node_modules/jquery/src/var/rcheckableType.js
|
8952
|
+
- spec/dummy/node_modules/jquery/src/var/rcssNum.js
|
8953
|
+
- spec/dummy/node_modules/jquery/src/var/rnothtmlwhite.js
|
8954
|
+
- spec/dummy/node_modules/jquery/src/var/slice.js
|
8955
|
+
- spec/dummy/node_modules/jquery/src/var/support.js
|
8956
|
+
- spec/dummy/node_modules/jquery/src/var/toString.js
|
8957
|
+
- spec/dummy/node_modules/jquery/src/wrap.js
|
8958
|
+
- spec/dummy/node_modules/jquery-ui-bundle/AUTHORS.txt
|
8959
|
+
- spec/dummy/node_modules/jquery-ui-bundle/LICENSE.txt
|
8960
|
+
- spec/dummy/node_modules/jquery-ui-bundle/external/jquery/jquery.js
|
8961
|
+
- spec/dummy/node_modules/jquery-ui-bundle/images/ui-icons_444444_256x240.png
|
8962
|
+
- spec/dummy/node_modules/jquery-ui-bundle/images/ui-icons_555555_256x240.png
|
8963
|
+
- spec/dummy/node_modules/jquery-ui-bundle/images/ui-icons_777620_256x240.png
|
8964
|
+
- spec/dummy/node_modules/jquery-ui-bundle/images/ui-icons_777777_256x240.png
|
8965
|
+
- spec/dummy/node_modules/jquery-ui-bundle/images/ui-icons_cc0000_256x240.png
|
8966
|
+
- spec/dummy/node_modules/jquery-ui-bundle/images/ui-icons_ffffff_256x240.png
|
8967
|
+
- spec/dummy/node_modules/jquery-ui-bundle/index.html
|
8968
|
+
- spec/dummy/node_modules/jquery-ui-bundle/jquery-ui.css
|
8969
|
+
- spec/dummy/node_modules/jquery-ui-bundle/jquery-ui.js
|
8970
|
+
- spec/dummy/node_modules/jquery-ui-bundle/jquery-ui.min.css
|
8971
|
+
- spec/dummy/node_modules/jquery-ui-bundle/jquery-ui.min.js
|
8972
|
+
- spec/dummy/node_modules/jquery-ui-bundle/jquery-ui.structure.css
|
8973
|
+
- spec/dummy/node_modules/jquery-ui-bundle/jquery-ui.structure.min.css
|
8974
|
+
- spec/dummy/node_modules/jquery-ui-bundle/jquery-ui.theme.css
|
8975
|
+
- spec/dummy/node_modules/jquery-ui-bundle/jquery-ui.theme.min.css
|
8976
|
+
- spec/dummy/node_modules/jquery-ui-bundle/package.json
|
8977
|
+
- spec/dummy/node_modules/jquery-ujs/CONTRIBUTING.md
|
8978
|
+
- spec/dummy/node_modules/jquery-ujs/MIT-LICENSE
|
8979
|
+
- spec/dummy/node_modules/jquery-ujs/README.md
|
8980
|
+
- spec/dummy/node_modules/jquery-ujs/RELEASE.md
|
8981
|
+
- spec/dummy/node_modules/jquery-ujs/bower.json
|
8982
|
+
- spec/dummy/node_modules/jquery-ujs/package.json
|
8983
|
+
- spec/dummy/node_modules/jquery-ujs/src/rails.js
|
8984
|
+
- spec/dummy/package.json
|
8985
|
+
- spec/dummy/public/404.html
|
8588
8986
|
- spec/dummy/public/422.html
|
8589
8987
|
- spec/dummy/public/500.html
|
8590
|
-
- spec/dummy/public/
|
8591
|
-
- spec/dummy/
|
8592
|
-
- spec/dummy/
|
8593
|
-
- spec/dummy/
|
8594
|
-
- spec/
|
8595
|
-
- spec/features/config_spec.rb
|
8596
|
-
- spec/features/pages_spec.rb
|
8597
|
-
- spec/features/layouts_spec.rb
|
8598
|
-
- spec/spec/dummy/node_modules/yaml/dist/tags/yaml-1.1/pairs.js
|
8599
|
-
- spec/spec/dummy/node_modules/yaml/dist/tags/yaml-1.1/binary.js
|
8600
|
-
- spec/spec/dummy/node_modules/yaml/dist/tags/yaml-1.1/index.js
|
8601
|
-
- spec/spec/dummy/node_modules/yaml/dist/tags/yaml-1.1/omap.js
|
8602
|
-
- spec/spec/dummy/node_modules/yaml/dist/tags/yaml-1.1/set.js
|
8603
|
-
- spec/spec/dummy/node_modules/yaml/dist/tags/yaml-1.1/timestamp.js
|
8604
|
-
- spec/spec/dummy/node_modules/yaml/dist/tags/core.js
|
8605
|
-
- spec/spec/dummy/node_modules/yaml/dist/tags/options.js
|
8606
|
-
- spec/spec/dummy/node_modules/yaml/dist/tags/index.js
|
8607
|
-
- spec/spec/dummy/node_modules/yaml/dist/tags/failsafe/index.js
|
8608
|
-
- spec/spec/dummy/node_modules/yaml/dist/tags/failsafe/string.js
|
8609
|
-
- spec/spec/dummy/node_modules/yaml/dist/tags/failsafe/seq.js
|
8610
|
-
- spec/spec/dummy/node_modules/yaml/dist/tags/failsafe/map.js
|
8611
|
-
- spec/spec/dummy/node_modules/yaml/dist/tags/json.js
|
8612
|
-
- spec/spec/dummy/node_modules/yaml/browser/dist/tags/yaml-1.1/pairs.js
|
8613
|
-
- spec/spec/dummy/node_modules/yaml/browser/dist/tags/yaml-1.1/binary.js
|
8614
|
-
- spec/spec/dummy/node_modules/yaml/browser/dist/tags/yaml-1.1/index.js
|
8615
|
-
- spec/spec/dummy/node_modules/yaml/browser/dist/tags/yaml-1.1/omap.js
|
8616
|
-
- spec/spec/dummy/node_modules/yaml/browser/dist/tags/yaml-1.1/set.js
|
8617
|
-
- spec/spec/dummy/node_modules/yaml/browser/dist/tags/yaml-1.1/timestamp.js
|
8618
|
-
- spec/spec/dummy/node_modules/yaml/browser/dist/tags/core.js
|
8619
|
-
- spec/spec/dummy/node_modules/yaml/browser/dist/tags/options.js
|
8620
|
-
- spec/spec/dummy/node_modules/yaml/browser/dist/tags/index.js
|
8621
|
-
- spec/spec/dummy/node_modules/yaml/browser/dist/tags/failsafe/index.js
|
8622
|
-
- spec/spec/dummy/node_modules/yaml/browser/dist/tags/failsafe/string.js
|
8623
|
-
- spec/spec/dummy/node_modules/yaml/browser/dist/tags/failsafe/seq.js
|
8624
|
-
- spec/spec/dummy/node_modules/yaml/browser/dist/tags/failsafe/map.js
|
8625
|
-
- spec/spec/dummy/node_modules/yaml/browser/dist/tags/json.js
|
8626
|
-
- spec/models/layout_spec.rb
|
8627
|
-
- spec/support/custom_actions.rb
|
8628
|
-
- spec/factories/page.rb
|
8988
|
+
- spec/dummy/public/favicon.ico
|
8989
|
+
- spec/dummy/tmp/cache/747/A70/TrustyCms%3A%3AConfig
|
8990
|
+
- spec/dummy/tmp/cache/85C/FA0/TrustyCms.cache_mtime
|
8991
|
+
- spec/dummy/tmp/trusty_config_cache.txt
|
8992
|
+
- spec/dummy/yarn.lock
|
8629
8993
|
- spec/factories/layout.rb
|
8994
|
+
- spec/factories/page.rb
|
8630
8995
|
- spec/factories/page_part.rb
|
8631
8996
|
- spec/factories/user.rb
|
8997
|
+
- spec/features/config_spec.rb
|
8998
|
+
- spec/features/layouts_spec.rb
|
8999
|
+
- spec/features/pages_spec.rb
|
8632
9000
|
- spec/fixtures/users.yml
|
8633
|
-
- spec/
|
8634
|
-
- spec/controllers/application_controller_spec.rb
|
9001
|
+
- spec/models/layout_spec.rb
|
8635
9002
|
- spec/rails_helper.rb
|
9003
|
+
- spec/spec_helper.rb
|
9004
|
+
- spec/support/custom_actions.rb
|