trusty-cms 7.0.49 → 7.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (44) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +1 -1
  3. data/app/assets/builds/trusty_cms/ckeditor5.css +459 -81
  4. data/app/assets/builds/trusty_cms/ckeditor5.css.map +3 -3
  5. data/app/assets/builds/trusty_cms/ckeditor5.js +11247 -7722
  6. data/app/assets/builds/trusty_cms/ckeditor5.js.map +4 -4
  7. data/app/assets/stylesheets/admin/assets.scss +5 -0
  8. data/app/controllers/admin/assets_controller.rb +7 -14
  9. data/app/javascript/plugins/asset_tags/asset_tag_builder.js +7 -2
  10. data/app/models/asset.rb +144 -48
  11. data/app/models/asset_type.rb +29 -25
  12. data/app/views/admin/assets/_search_results.html.haml +2 -3
  13. data/app/views/admin/assets/edit.html.haml +2 -2
  14. data/app/views/admin/assets/remove.html.haml +1 -1
  15. data/app/views/admin/configuration/_clipped_edit.html.haml +1 -0
  16. data/app/views/admin/configuration/_clipped_show.html.haml +2 -0
  17. data/config/database.yml +30 -0
  18. data/config/initializers/trusty_cms_config.rb +3 -50
  19. data/config/locales/en.yml +6 -1
  20. data/config/routes.rb +0 -2
  21. data/db/migrate/20110606111250_update_configuration.rb +0 -16
  22. data/lib/trusty_cms/geometry.rb +117 -0
  23. data/lib/trusty_cms/version.rb +1 -1
  24. data/spec/dummy/log/development.log +345 -0
  25. data/spec/dummy/log/test.log +0 -0
  26. data/spec/dummy/tmp/cache/747/A70/TrustyCms%3A%3AConfig +0 -0
  27. data/spec/dummy/tmp/cache/85C/FA0/TrustyCms.cache_mtime +0 -0
  28. data/spec/dummy/tmp/local_secret.txt +1 -0
  29. data/spec/dummy/tmp/trusty_config_cache.txt +0 -0
  30. data/spec/lib/trusty_cms/geometry_spec.rb +28 -0
  31. data/spec/models/asset_spec.rb +235 -12
  32. data/trusty_cms.gemspec +1 -1
  33. data/vendor/extensions/clipped-extension/clipped_extension.rb +4 -9
  34. data/vendor/extensions/clipped-extension/lib/asset_tags.rb +10 -4
  35. data/vendor/extensions/clipped-extension/lib/generators/templates/clipped_config.rb +11 -35
  36. data/vendor/extensions/clipped-extension/lib/tasks/active_storage_tasks.rake +66 -0
  37. data/vendor/extensions/clipped-extension/lib/tasks/clipped_extension_tasks.rake +5 -2
  38. data/vendor/extensions/clipped-extension/lib/trusty_cms_clipped_extension/cloud.rb +32 -27
  39. data/yarn.lock +9 -9
  40. metadata +21 -8
  41. data/lib/trusty_cms/deprecation.rb +0 -15
  42. data/vendor/extensions/clipped-extension/lib/paperclip/frame_grab.rb +0 -73
  43. data/vendor/extensions/clipped-extension/lib/paperclip/geometry_transformation.rb +0 -80
  44. data/vendor/extensions/clipped-extension/lib/tasks/paperclip_tasks.rake +0 -79
@@ -17,54 +17,6 @@ Rails.application.reloader.to_prepare do
17
17
  end
18
18
 
19
19
  TrustyCms.config do |config|
20
- config.namespace 'paperclip' do |pc|
21
- pc.define 'url', default: '/system/:attachment/:id/:style/:basename:no_original_style.:extension', allow_change: true
22
- pc.define 'path', default: ':rails_root/public/system/:attachment/:id/:style/:basename:no_original_style.:extension', allow_change: true
23
- pc.define 'skip_filetype_validation', default: true, type: :boolean
24
- pc.define 'storage', default: 'filesystem',
25
- select_from: {
26
- 'File System' => 'filesystem',
27
- 'Amazon S3' => 'fog',
28
- 'Google Storage' => 'fog',
29
- 'Rackspace Cloud Files' => 'fog',
30
- },
31
- allow_blank: false,
32
- allow_display: false
33
-
34
- pc.namespace 'fog' do |fog|
35
- fog.define 'provider', select_from: {
36
- 'Amazon S3' => 'AWS',
37
- 'Google Storage' => 'Google',
38
- 'Rackspace Cloud Files' => 'Rackspace',
39
- }
40
- fog.define 'directory'
41
- fog.define 'public?', default: true
42
- fog.define 'host'
43
- end
44
-
45
- pc.namespace 'google_storage' do |gs|
46
- gs.define 'access_key_id'
47
- gs.define 'secret_access_key'
48
- end
49
-
50
- pc.namespace 'rackspace' do |rs|
51
- rs.define 'username'
52
- rs.define 'api_key'
53
- end
54
-
55
- pc.namespace 's3' do |s3|
56
- s3.define 'key'
57
- s3.define 'secret'
58
- s3.define 'region', select_from: {
59
- 'Asia North East' => 'ap-northeast-1',
60
- 'Asia South East' => 'ap-southeast-1',
61
- 'EU West' => 'eu-west-1',
62
- 'US East' => 'us-east-1',
63
- 'US West' => 'us-west-1',
64
- }
65
- end
66
- end
67
-
68
20
  config.namespace 'assets', allow_display: false do |assets|
69
21
  assets.define 'create_image_thumbnails?', default: 'true'
70
22
  assets.define 'create_video_thumbnails?', default: 'true'
@@ -77,7 +29,8 @@ Rails.application.reloader.to_prepare do
77
29
  thumbs.define 'pdf', default: 'normal:size=640x640>,format=jpg|small:size=320x320>,format=jpg'
78
30
  end
79
31
 
80
- assets.define 'max_asset_size', default: 5, type: :integer, units: 'MB'
32
+ assets.define 'max_asset_size', default: 10, type: :integer, units: 'MB'
33
+ assets.define 'max_video_size', default: 50, type: :integer, units: 'MB'
81
34
  assets.define 'display_size', default: 'normal', allow_blank: true
82
35
  assets.define 'insertion_size', default: 'normal', allow_blank: true
83
36
  end
@@ -89,4 +42,4 @@ Rails.application.reloader.to_prepare do
89
42
 
90
43
  Admin::LayoutsController.send :helper, MultiSite::SiteChooserHelper
91
44
  Admin::SnippetsController.send :helper, MultiSite::SiteChooserHelper
92
- end
45
+ end
@@ -17,6 +17,10 @@ en:
17
17
  attributes:
18
18
  asset:
19
19
  blank: 'You must choose a file to upload!'
20
+ content_type: '%{filename} is not a supported file type.'
21
+ max_size_error: 'File is too large (maximum is %{max_size}).'
22
+ min_size_error: 'File is too small (minimum is %{min_size}).'
23
+ wrong_size_error: 'File size must be between 1 byte and %{limit_mb} MB'
20
24
  page:
21
25
  attributes:
22
26
  slug:
@@ -109,7 +113,7 @@ en:
109
113
  remove_from_page: 'Remove from page'
110
114
  reorder: 'Reorder'
111
115
  remove: 'Remove'
112
- refresh_assets_rake_task: 'For better results please log into your server and run <code>rake paperclip:refresh class=Asset</code>.'
116
+ refresh_assets_rake_task: 'For better results please log into your server and run <code>rake active_storage:refresh class=Asset</code>.'
113
117
  replace_file: 'Replace File'
114
118
  save_and_upload: 'Save and Upload'
115
119
  search_assets: 'Search for assets'
@@ -134,6 +138,7 @@ en:
134
138
  display_size: 'Display Size'
135
139
  insertion_size: 'Insertion Size'
136
140
  max_asset_size: 'Max Asset Size'
141
+ max_video_size: 'Max Video Size'
137
142
  path: 'Path'
138
143
  s3:
139
144
  bucket: 'Bucket'
data/config/routes.rb CHANGED
@@ -27,8 +27,6 @@ TrustyCms::Application.routes.draw do
27
27
 
28
28
  resources :assets do
29
29
  get :remove, on: :member
30
- get :refresh, on: :collection
31
- put :refresh, on: :member
32
30
  collection do
33
31
  post :uploader
34
32
  end
@@ -2,22 +2,6 @@ class UpdateConfiguration < ActiveRecord::Migration[5.2]
2
2
  def self.up
3
3
  if TrustyCms.config.table_exists?
4
4
 
5
- puts "Importing paperclip configuration"
6
- %w{url path skip_filetype_validation storage}.select{|k| !!TrustyCms.config["assets.#{k}"] }.each do |k|
7
- begin
8
- TrustyCms.config["paperclip.#{k}"] = TrustyCms.config["assets.#{k}"]
9
- rescue ActiveRecord::RecordInvalid => e
10
- print "Oops! There was trouble setting #{k} to '#{TrustyCms.config["assets.#{k}"]}'"
11
- print "\nSetting it to 'fog'. Please see the clipped extension README for more details."
12
- TrustyCms.config["paperclip.#{k}"] = 'fog'
13
- end
14
- end
15
-
16
- puts "Importing s3 storage configuration"
17
- %w{bucket key secret host_alias}.select{|k| !!TrustyCms.config["assets.s3.#{k}"] }.each do |k|
18
- TrustyCms.config["paperclip.s3.#{k}"] = TrustyCms.config["assets.s3.#{k}"]
19
- end
20
-
21
5
  puts "Importing thumbnail configuration"
22
6
  if thumbnails = TrustyCms.config["assets.additional_thumbnails"]
23
7
  old_styles = thumbnails.to_s.gsub(' ','').split(',').collect{|s| s.split('=')}.inject({}) {|ha, (k, v)| ha[k.to_sym] = v; ha}
@@ -0,0 +1,117 @@
1
+ module TrustyCms
2
+ class StyleError < StandardError; end
3
+ class TransformationError < StandardError; end
4
+
5
+ class Geometry
6
+ attr_reader :width, :height, :modifier
7
+
8
+ def self.parse(value)
9
+ return value if value.is_a?(Geometry)
10
+
11
+ match = value.to_s.strip.match(/\A(\d*)x(\d*)([%<>#^!@])?\z/)
12
+ raise StyleError, "Unrecognized geometry: #{value.inspect}" unless match
13
+
14
+ width = match[1].to_s.empty? ? 0 : match[1].to_i
15
+ height = match[2].to_s.empty? ? 0 : match[2].to_i
16
+ modifier = match[3]
17
+ new(width, height, modifier)
18
+ end
19
+
20
+ def initialize(width, height = nil, modifier = nil)
21
+ @width = width.to_i
22
+ @height = height.to_i
23
+ @modifier = modifier
24
+ end
25
+
26
+ def without_modifier
27
+ Geometry.new(width, height)
28
+ end
29
+
30
+ def transformed_by(other)
31
+ other = Geometry.parse(other)
32
+ return other.without_modifier if self =~ other || ['#', '!', '^'].include?(other.modifier)
33
+
34
+ raise TransformationError, 'geometry is not transformable without both width and height' if height.zero? || width.zero?
35
+
36
+ case other.modifier
37
+ when '>'
38
+ (other.width < width || other.height < height) ? scaled_to_fit(other) : self
39
+ when '<'
40
+ (other.width > width && other.height > height) ? scaled_to_fit(other) : self
41
+ when '%'
42
+ scaled_by(other)
43
+ when '@'
44
+ scaled_by((other.width * 100).fdiv(width * height))
45
+ else
46
+ scaled_to_fit(other)
47
+ end
48
+ end
49
+ alias * transformed_by
50
+
51
+ def ==(other)
52
+ to_s == other.to_s
53
+ end
54
+
55
+ def =~(other)
56
+ height.to_i == other.height.to_i && width.to_i == other.width.to_i
57
+ end
58
+
59
+ def scaled_to_fit(other)
60
+ if other.width.positive? && other.height.zero?
61
+ Geometry.new(other.width, height * other.width / width)
62
+ elsif other.width.zero? && other.height.positive?
63
+ Geometry.new(width * other.height / height, other.height)
64
+ else
65
+ product_width = other.width * height
66
+ product_height = other.height * width
67
+ if product_width == product_height
68
+ other.without_modifier
69
+ elsif product_width > product_height
70
+ scaled_width = (width * other.height.fdiv(height)).round
71
+ Geometry.new(scaled_width, other.height)
72
+ else
73
+ scaled_height = (height * other.width.fdiv(width)).round
74
+ Geometry.new(other.width, scaled_height)
75
+ end
76
+ end
77
+ end
78
+
79
+ def scaled_by(other)
80
+ if other.is_a?(Numeric)
81
+ scaled_width = (width * other.fdiv(100)).round
82
+ scaled_height = (height * other.fdiv(100)).round
83
+ return Geometry.new(scaled_width, scaled_height)
84
+ end
85
+
86
+ other = Geometry.new("#{other}%") unless other.is_a?(Geometry)
87
+ if other.height.positive?
88
+ Geometry.new(width * other.width / 100, height * other.height / 100)
89
+ else
90
+ Geometry.new(width * other.width / 100, height * other.width / 100)
91
+ end
92
+ end
93
+
94
+ def aspect
95
+ return nil if width.to_f == 0.0 || height.to_f == 0.0
96
+
97
+ width.to_f / height.to_f
98
+ end
99
+
100
+ def square?
101
+ width.to_i == height.to_i
102
+ end
103
+
104
+ def vertical?
105
+ height.to_i > width.to_i
106
+ end
107
+
108
+ def horizontal?
109
+ width.to_i > height.to_i
110
+ end
111
+
112
+ def to_s
113
+ suffix = modifier.to_s
114
+ "#{width}x#{height}#{suffix}"
115
+ end
116
+ end
117
+ end
@@ -1,3 +1,3 @@
1
1
  module TrustyCms
2
- VERSION = '7.0.49'.freeze
2
+ VERSION = '7.1.1'.freeze
3
3
  end
@@ -0,0 +1,345 @@
1
+  (0.5ms) CREATE DATABASE `trusty_cms_dev` DEFAULT CHARACTER SET `utf8mb4`
2
+  (15.0ms) CREATE DATABASE `trusty_cms_test` DEFAULT COLLATE `utf8mb4_bin`
3
+  (40.9ms) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL PRIMARY KEY)
4
+  (14.6ms) CREATE TABLE `ar_internal_metadata` (`key` varchar(255) NOT NULL PRIMARY KEY, `value` varchar(255), `created_at` datetime(6) NOT NULL, `updated_at` datetime(6) NOT NULL)
5
+  (0.7ms) SELECT GET_LOCK('6658685849647950510', 0)
6
+ ActiveRecord::SchemaMigration Load (12.3ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` ORDER BY `schema_migrations`.`version` ASC
7
+ ActiveRecord::InternalMetadata Load (1.8ms) SELECT * FROM `ar_internal_metadata` WHERE `ar_internal_metadata`.`key` = 'environment' ORDER BY `ar_internal_metadata`.`key` ASC LIMIT 1
8
+ ActiveRecord::InternalMetadata Create (1.5ms) INSERT INTO `ar_internal_metadata` (`key`, `value`, `created_at`, `updated_at`) VALUES ('environment', 'development', '2026-04-20 21:10:45.666344', '2026-04-20 21:10:45.666346')
9
+  (0.2ms) SELECT RELEASE_LOCK('6658685849647950510')
10
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` ORDER BY `schema_migrations`.`version` ASC
11
+  (13.1ms) DROP TABLE `ar_internal_metadata`
12
+  (13.9ms) DROP TABLE `schema_migrations`
13
+  (13.9ms) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL PRIMARY KEY)
14
+  (8.6ms) CREATE TABLE `ar_internal_metadata` (`key` varchar(255) NOT NULL PRIMARY KEY, `value` varchar(255), `created_at` datetime(6) NOT NULL, `updated_at` datetime(6) NOT NULL)
15
+  (0.1ms) SELECT GET_LOCK('6658685849647950510', 0)
16
+ ActiveRecord::SchemaMigration Load (0.8ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` ORDER BY `schema_migrations`.`version` ASC
17
+ ActiveRecord::InternalMetadata Load (0.9ms) SELECT * FROM `ar_internal_metadata` WHERE `ar_internal_metadata`.`key` = 'environment' ORDER BY `ar_internal_metadata`.`key` ASC LIMIT 1
18
+ ActiveRecord::InternalMetadata Create (1.0ms) INSERT INTO `ar_internal_metadata` (`key`, `value`, `created_at`, `updated_at`) VALUES ('environment', 'development', '2026-04-20 21:11:12.190041', '2026-04-20 21:11:12.190057')
19
+ Migrating to CreateTrustyTables (20260420211055)
20
+  (2.1ms) DROP TABLE IF EXISTS `config`
21
+  (12.9ms) CREATE TABLE `config` (`id` bigint NOT NULL AUTO_INCREMENT PRIMARY KEY, `key` varchar(40) DEFAULT '' NOT NULL, `value` varchar(255) DEFAULT '')
22
+  (12.8ms) CREATE UNIQUE INDEX `key` ON `config` (`key`)
23
+  (1.3ms) DROP TABLE IF EXISTS `pages`
24
+  (14.3ms) CREATE TABLE `pages` (`id` bigint NOT NULL AUTO_INCREMENT PRIMARY KEY, `title` varchar(255), `slug` varchar(100), `breadcrumb` varchar(160), `class_name` varchar(25), `status_id` int DEFAULT 1 NOT NULL, `parent_id` int, `layout_id` int, `created_at` datetime, `updated_at` datetime, `published_at` datetime, `created_by` int, `updated_by` int)
25
+  (1.2ms) DROP TABLE IF EXISTS `page_parts`
26
+  (16.2ms) CREATE TABLE `page_parts` (`id` bigint NOT NULL AUTO_INCREMENT PRIMARY KEY, `name` varchar(100), `filter` varchar(25), `content` text, `page_id` int)
27
+  (1.1ms) DROP TABLE IF EXISTS `snippets`
28
+  (16.8ms) CREATE TABLE `snippets` (`id` bigint NOT NULL AUTO_INCREMENT PRIMARY KEY, `name` varchar(100) DEFAULT '' NOT NULL, `filter` varchar(25), `content` text, `created_at` datetime, `updated_at` datetime, `created_by` int, `updated_by` int)
29
+  (15.8ms) CREATE UNIQUE INDEX `name` ON `snippets` (`name`)
30
+  (0.9ms) DROP TABLE IF EXISTS `layouts`
31
+  (13.8ms) CREATE TABLE `layouts` (`id` bigint NOT NULL AUTO_INCREMENT PRIMARY KEY, `name` varchar(100), `content` text, `created_at` datetime, `updated_at` datetime, `created_by` int, `updated_by` int)
32
+  (8.7ms) DROP TABLE IF EXISTS `users`
33
+  (14.6ms) CREATE TABLE `users` (`id` bigint NOT NULL AUTO_INCREMENT PRIMARY KEY, `name` varchar(100), `email` varchar(255), `login` varchar(40) DEFAULT '' NOT NULL, `password` varchar(40), `admin` tinyint(1) DEFAULT FALSE NOT NULL, `developer` tinyint(1) DEFAULT FALSE NOT NULL, `created_at` datetime, `updated_at` datetime, `created_by` int, `updated_by` int, `salt` varchar(255))
34
+  (13.0ms) CREATE UNIQUE INDEX `login` ON `users` (`login`)
35
+ ActiveRecord::SchemaMigration Create (1.3ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20260420211055')
36
+ Migrating to InsertInitialData (20260420211056)
37
+ ActiveRecord::SchemaMigration Create (6.9ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20260420211056')
38
+ Migrating to RenameFilterColumn (20260420211057)
39
+  (16.8ms) ALTER TABLE `page_parts` RENAME COLUMN `filter` TO `filter_id`
40
+  (6.2ms) ALTER TABLE `snippets` RENAME COLUMN `filter` TO `filter_id`
41
+ ActiveRecord::SchemaMigration Create (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20260420211057')
42
+ Migrating to AddVirtualColumnToPage (20260420211058)
43
+  (19.3ms) ALTER TABLE `pages` ADD `virtual` tinyint(1) DEFAULT FALSE NOT NULL
44
+ ActiveRecord::SchemaMigration Create (0.7ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20260420211058')
45
+ Migrating to RemoveUserLoginIndex (20260420211059)
46
+  (3.7ms) DROP INDEX `login` ON `users`
47
+ ActiveRecord::SchemaMigration Create (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20260420211059')
48
+ Migrating to RemoveVirtualColumnFromPage (20260420211060)
49
+  (17.9ms) ALTER TABLE `pages` DROP COLUMN `virtual`
50
+ ActiveRecord::SchemaMigration Create (0.5ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20260420211060')
51
+ Migrating to AddVirtualColumnToPageAgain (20260420211061)
52
+  (12.8ms) ALTER TABLE `pages` ADD `virtual` tinyint(1) DEFAULT FALSE NOT NULL
53
+ ActiveRecord::SchemaMigration Create (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20260420211061')
54
+ Migrating to AddContentTypeFieldToLayout (20260420211062)
55
+  (20.6ms) ALTER TABLE `layouts` ADD `content_type` varchar(40)
56
+ ActiveRecord::SchemaMigration Create (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20260420211062')
57
+ Migrating to CreateSites (20260420211063)
58
+  (5.4ms) CREATE TABLE `sites` (`id` bigint NOT NULL AUTO_INCREMENT PRIMARY KEY, `name` varchar(255), `domain` varchar(255), `homepage_id` int)
59
+ ActiveRecord::SchemaMigration Create (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20260420211063')
60
+ Migrating to AddOrderToSites (20260420211064)
61
+  (17.9ms) ALTER TABLE `sites` ADD `position` int DEFAULT 0
62
+ ActiveRecord::SchemaMigration Create (0.6ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20260420211064')
63
+ Migrating to CreateExtensionMeta (20260420211065)
64
+  (0.4ms) DROP TABLE IF EXISTS `extension_meta`
65
+  (6.0ms) CREATE TABLE `extension_meta` (`id` bigint NOT NULL AUTO_INCREMENT PRIMARY KEY, `name` varchar(255), `schema_version` int DEFAULT 0, `enabled` tinyint(1) DEFAULT TRUE)
66
+ ActiveRecord::SchemaMigration Create (0.6ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20260420211065')
67
+ Migrating to AddNotesFieldToUser (20260420211066)
68
+  (32.5ms) ALTER TABLE `users` ADD `notes` text
69
+ ActiveRecord::SchemaMigration Create (0.5ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20260420211066')
70
+ Migrating to RenameConfigDefaultPartsKey (20260420211067)
71
+ TrustyCms::Config Load (0.2ms) SELECT `config`.* FROM `config` WHERE `config`.`key` = 'default.parts' LIMIT 1
72
+ ActiveRecord::SchemaMigration Create (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20260420211067')
73
+ Migrating to AddOptimisticLocking (20260420211068)
74
+  (22.6ms) ALTER TABLE `pages` ADD `lock_version` int DEFAULT 0
75
+  (61.6ms) ALTER TABLE `layouts` ADD `lock_version` int DEFAULT 0
76
+  (53.1ms) ALTER TABLE `snippets` ADD `lock_version` int DEFAULT 0
77
+  (94.7ms) ALTER TABLE `users` ADD `lock_version` int DEFAULT 0
78
+ ActiveRecord::SchemaMigration Create (0.5ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20260420211068')
79
+ Migrating to AddSessions (20260420211069)
80
+  (47.7ms) CREATE TABLE `sessions` (`id` bigint NOT NULL AUTO_INCREMENT PRIMARY KEY, `session_id` varchar(255), `data` text, `updated_at` datetime)
81
+  (8.7ms) CREATE INDEX `index_sessions_on_session_id` ON `sessions` (`session_id`)
82
+  (8.0ms) CREATE INDEX `index_sessions_on_updated_at` ON `sessions` (`updated_at`)
83
+ ActiveRecord::SchemaMigration Create (1.1ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20260420211069')
84
+ Migrating to RenameCreatedByUpdatedByColumns (20260420211070)
85
+  (12.8ms) ALTER TABLE `pages` RENAME COLUMN `created_by` TO `created_by_id`
86
+  (7.3ms) ALTER TABLE `pages` RENAME COLUMN `updated_by` TO `updated_by_id`
87
+  (8.1ms) ALTER TABLE `snippets` RENAME COLUMN `created_by` TO `created_by_id`
88
+  (4.4ms) ALTER TABLE `snippets` RENAME COLUMN `updated_by` TO `updated_by_id`
89
+  (5.2ms) ALTER TABLE `layouts` RENAME COLUMN `created_by` TO `created_by_id`
90
+  (6.2ms) ALTER TABLE `layouts` RENAME COLUMN `updated_by` TO `updated_by_id`
91
+  (4.8ms) ALTER TABLE `users` RENAME COLUMN `created_by` TO `created_by_id`
92
+  (5.7ms) ALTER TABLE `users` RENAME COLUMN `updated_by` TO `updated_by_id`
93
+ ActiveRecord::SchemaMigration Create (0.7ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20260420211070')
94
+ Migrating to AddDescriptionAndKeywordsToPages (20260420211071)
95
+  (12.3ms) ALTER TABLE `pages` ADD `description` varchar(255)
96
+  (14.2ms) ALTER TABLE `pages` ADD `keywords` varchar(255)
97
+ ActiveRecord::SchemaMigration Create (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20260420211071')
98
+ Migrating to AddSessionInfoToUsers (20260420211072)
99
+  (10.7ms) ALTER TABLE `users` ADD `session_token` varchar(255)
100
+  (14.3ms) ALTER TABLE `users` ADD `session_expire` datetime
101
+ ActiveRecord::SchemaMigration Create (0.5ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20260420211072')
102
+ Migrating to RemoveSessionExpireFromUsers (20260420211073)
103
+  (11.1ms) ALTER TABLE `users` DROP COLUMN `session_expire`
104
+ ActiveRecord::SchemaMigration Create (0.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20260420211073')
105
+ Migrating to AddAdminFieldsToSites (20260420211074)
106
+  (5.5ms) ALTER TABLE `sites` ADD `created_by_id` int
107
+  (9.0ms) ALTER TABLE `sites` ADD `created_at` datetime
108
+  (17.4ms) ALTER TABLE `sites` ADD `updated_by_id` int
109
+  (8.1ms) ALTER TABLE `sites` ADD `updated_at` datetime
110
+  (4.3ms) ALTER TABLE `sites` ADD `subtitle` varchar(255)
111
+ ActiveRecord::SchemaMigration Create (0.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20260420211074')
112
+ Migrating to AddSites (20260420211075)
113
+  (8.1ms) ALTER TABLE `layouts` ADD `site_id` int
114
+  (7.3ms) ALTER TABLE `snippets` ADD `site_id` int
115
+  (5.9ms) ALTER TABLE `users` ADD `site_id` int
116
+ ActiveRecord::SchemaMigration Create (0.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20260420211075')
117
+ Migrating to SiteAbbreviation (20260420211076)
118
+  (7.3ms) ALTER TABLE `sites` ADD `abbreviation` varchar(255)
119
+ ActiveRecord::SchemaMigration Create (0.5ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20260420211076')
120
+ Migrating to RecreateNonUniqueIndexOnSnippetsName (20260420211077)
121
+  (3.4ms) DROP INDEX `name` ON `snippets`
122
+  (3.8ms) CREATE UNIQUE INDEX `name_site_id` ON `snippets` (`name`, `site_id`)
123
+ ActiveRecord::SchemaMigration Create (0.3ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20260420211077')
124
+ Migrating to AddSiteIdToPages (20260420211078)
125
+  (7.9ms) ALTER TABLE `pages` ADD `site_id` int
126
+  (3.0ms) CREATE INDEX `index_pages_on_site_id` ON `pages` (`site_id`)
127
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` ORDER BY position ASC
128
+ ActiveRecord::SchemaMigration Create (0.7ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20260420211078')
129
+ Migrating to AddBaseDomainToSites (20260420211079)
130
+  (10.7ms) ALTER TABLE `sites` ADD `base_domain` varchar(255)
131
+ ActiveRecord::SchemaMigration Create (0.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20260420211079')
132
+ Migrating to CreateAssets (20260420211080)
133
+  (1.7ms) CREATE TABLE `assets` (`id` bigint NOT NULL AUTO_INCREMENT PRIMARY KEY, `caption` varchar(255), `title` varchar(255))
134
+ ActiveRecord::SchemaMigration Create (0.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20260420211080')
135
+ Migrating to CreatePaperclipAttributes (20260420211081)
136
+  (8.9ms) ALTER TABLE `assets` ADD `asset_file_name` varchar(255)
137
+  (4.0ms) ALTER TABLE `assets` ADD `asset_content_type` varchar(255)
138
+  (3.6ms) ALTER TABLE `assets` ADD `asset_file_size` int
139
+ ActiveRecord::SchemaMigration Create (0.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20260420211081')
140
+ Migrating to CreateUserObserver (20260420211082)
141
+  (6.6ms) ALTER TABLE `assets` ADD `created_by` int
142
+  (7.2ms) ALTER TABLE `assets` ADD `updated_by` int
143
+  (6.8ms) ALTER TABLE `assets` ADD `created_at` datetime
144
+  (7.7ms) ALTER TABLE `assets` ADD `updated_at` datetime
145
+ ActiveRecord::SchemaMigration Create (0.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20260420211082')
146
+ Migrating to CreatePageAttachments (20260420211083)
147
+  (4.2ms) CREATE TABLE `page_attachments` (`id` bigint NOT NULL AUTO_INCREMENT PRIMARY KEY, `asset_id` int, `page_id` int, `position` int)
148
+ ActiveRecord::SchemaMigration Create (0.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20260420211083')
149
+ Migrating to RenameUsers (20260420211084)
150
+  (1.4ms) ALTER TABLE `assets` RENAME COLUMN `created_by` TO `created_by_id`
151
+  (1.3ms) ALTER TABLE `assets` RENAME COLUMN `updated_by` TO `updated_by_id`
152
+ ActiveRecord::SchemaMigration Create (0.3ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20260420211084')
153
+ Migrating to AddIndexes (20260420211085)
154
+  (2.3ms) CREATE INDEX `pages_class_name` ON `pages` (`class_name`)
155
+  (2.3ms) CREATE INDEX `pages_parent_id` ON `pages` (`parent_id`)
156
+  (2.0ms) CREATE INDEX `pages_child_slug` ON `pages` (`slug`, `parent_id`)
157
+  (1.8ms) CREATE INDEX `pages_published` ON `pages` (`virtual`, `status_id`)
158
+  (1.7ms) CREATE INDEX `parts_by_page` ON `page_parts` (`page_id`, `name`)
159
+ ActiveRecord::SchemaMigration Create (0.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20260420211085')
160
+ Migrating to AddUserLanguage (20260420211086)
161
+  (9.2ms) ALTER TABLE `users` ADD `language` varchar(255)
162
+ ActiveRecord::SchemaMigration Create (0.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20260420211086')
163
+ Migrating to RenameDeveloperRoleToDesigner (20260420211087)
164
+  (2.3ms) ALTER TABLE `users` RENAME COLUMN `developer` TO `designer`
165
+ ActiveRecord::SchemaMigration Create (0.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20260420211087')
166
+ Migrating to ChangeUserLanguageToLocale (20260420211088)
167
+  (2.7ms) ALTER TABLE `users` RENAME COLUMN `language` TO `locale`
168
+ ActiveRecord::SchemaMigration Create (0.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20260420211088')
169
+ Migrating to AddPageFields (20260420211089)
170
+  (1.8ms) CREATE TABLE `page_fields` (`id` bigint NOT NULL AUTO_INCREMENT PRIMARY KEY, `page_id` int, `name` varchar(255), `content` varchar(255))
171
+  (1.5ms) CREATE INDEX `index_page_fields_on_page_id` ON `page_fields` (`page_id`)
172
+ ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20260420211089')
173
+ Migrating to ConvertPageMetas (20260420211090)
174
+  (23.7ms) ALTER TABLE `pages` DROP COLUMN `keywords`
175
+  (150.1ms) ALTER TABLE `pages` DROP COLUMN `description`
176
+ ActiveRecord::SchemaMigration Create (0.7ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20260420211090')
177
+ Migrating to AddFieldNameIndex (20260420211091)
178
+  (4.4ms) DROP INDEX `index_page_fields_on_page_id` ON `page_fields`
179
+  (7.0ms) CREATE INDEX `index_page_fields_on_page_id_and_name_and_content` ON `page_fields` (`page_id`, `name`, `content`)
180
+ ActiveRecord::SchemaMigration Create (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20260420211091')
181
+ Migrating to AssetUuid (20260420211092)
182
+  (12.8ms) ALTER TABLE `assets` ADD `uuid` varchar(255)
183
+ Asset Load (0.4ms) SELECT `assets`.* FROM `assets` ORDER BY created_at DESC
184
+ ActiveRecord::SchemaMigration Create (0.5ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20260420211092')
185
+ Migrating to UpdateConfiguration (20260420211093)
186
+ TrustyCms::Config Load (0.1ms) SELECT `config`.* FROM `config`
187
+ ActiveRecord::SchemaMigration Create (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20260420211093')
188
+ Migrating to Dimensions (20260420211094)
189
+  (20.5ms) ALTER TABLE `assets` ADD `original_width` int
190
+  (26.6ms) ALTER TABLE `assets` ADD `original_height` int
191
+  (17.0ms) ALTER TABLE `assets` ADD `original_extension` varchar(255)
192
+ ActiveRecord::SchemaMigration Create (0.5ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20260420211094')
193
+ Migrating to AddAllowedChildrenCacheToPages (20260420211095)
194
+  (45.2ms) ALTER TABLE `pages` ADD `allowed_children_cache` text
195
+ ActiveRecord::SchemaMigration Create (0.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20260420211095')
196
+ Migrating to ExtendPagePartContentLimit (20260420211096)
197
+  (8.3ms) ALTER TABLE `page_parts` CHANGE `content` `content` mediumtext DEFAULT NULL
198
+ ActiveRecord::SchemaMigration Create (0.3ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20260420211096')
199
+ Migrating to ChangePagesAllowedChildrenCacheToText (20260420211097)
200
+  (2.1ms) ALTER TABLE `pages` CHANGE `allowed_children_cache` `allowed_children_cache` text DEFAULT NULL
201
+ ActiveRecord::SchemaMigration Create (0.3ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20260420211097')
202
+ Migrating to AddPasswordResetToUsers (20260420211098)
203
+  (6.4ms) ALTER TABLE `users` ADD `password_reset_token` varchar(255)
204
+  (4.7ms) ALTER TABLE `users` ADD `password_reset_sent_at` datetime
205
+ ActiveRecord::SchemaMigration Create (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20260420211098')
206
+ Migrating to AddPositionToPages (20260420211099)
207
+  (12.0ms) ALTER TABLE `pages` ADD `position` int
208
+ Page Load (0.3ms) SELECT `pages`.* FROM `pages` WHERE `pages`.`parent_id` IS NULL
209
+ ActiveRecord::SchemaMigration Create (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20260420211099')
210
+ Migrating to CreateAdminUsers (20260420211100)
211
+  (6.9ms) CREATE TABLE `admins` (`id` bigint NOT NULL AUTO_INCREMENT PRIMARY KEY, `email` varchar(255) DEFAULT '' NOT NULL, `encrypted_password` varchar(255) DEFAULT '' NOT NULL, `reset_password_token` varchar(255), `reset_password_sent_at` datetime, `remember_created_at` datetime, `sign_in_count` int DEFAULT 0 NOT NULL, `current_sign_in_at` datetime, `last_sign_in_at` datetime, `current_sign_in_ip` varchar(255), `last_sign_in_ip` varchar(255), `confirmation_token` varchar(255), `confirmed_at` datetime, `confirmation_sent_at` datetime, `unconfirmed_email` varchar(255), `failed_attempts` int DEFAULT 0 NOT NULL, `unlock_token` varchar(255), `locked_at` datetime, `first_name` varchar(255), `last_name` varchar(255), `admin` tinyint(1), `designer` tinyint(1), `content_editor` tinyint(1), `site_id` int, `updated_by_id` int, `notes` text, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL)
212
+ ActiveRecord::SchemaMigration Create (1.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20260420211100')
213
+ Migrating to CreateActiveStorageTables (20260420211101)
214
+  (6.7ms) CREATE TABLE `active_storage_blobs` (`id` bigint NOT NULL AUTO_INCREMENT PRIMARY KEY, `key` varchar(255) NOT NULL, `filename` varchar(255) NOT NULL, `content_type` varchar(255), `metadata` text, `service_name` varchar(255) NOT NULL, `byte_size` bigint NOT NULL, `checksum` varchar(255) NOT NULL, `created_at` datetime NOT NULL, UNIQUE INDEX `index_active_storage_blobs_on_key` (`key`))
215
+  (3.9ms) CREATE TABLE `active_storage_attachments` (`id` bigint NOT NULL AUTO_INCREMENT PRIMARY KEY, `name` varchar(255) NOT NULL, `record_type` varchar(255) NOT NULL, `record_id` bigint NOT NULL, `blob_id` bigint NOT NULL, `created_at` datetime NOT NULL, INDEX `index_active_storage_attachments_on_blob_id` (`blob_id`), UNIQUE INDEX `index_active_storage_attachments_uniqueness` (`record_type`, `record_id`, `name`, `blob_id`), CONSTRAINT `fk_rails_c3b3935057`
216
+ FOREIGN KEY (`blob_id`)
217
+ REFERENCES `active_storage_blobs` (`id`)
218
+ )
219
+  (4.0ms) CREATE TABLE `active_storage_variant_records` (`id` bigint NOT NULL AUTO_INCREMENT PRIMARY KEY, `blob_id` bigint NOT NULL, `variation_digest` varchar(255) NOT NULL, UNIQUE INDEX `index_active_storage_variant_records_uniqueness` (`blob_id`, `variation_digest`), CONSTRAINT `fk_rails_993965df05`
220
+ FOREIGN KEY (`blob_id`)
221
+ REFERENCES `active_storage_blobs` (`id`)
222
+ )
223
+ ActiveRecord::SchemaMigration Create (0.3ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20260420211101')
224
+ Migrating to CreateSiteUsers (20260420211102)
225
+  (4.7ms) CREATE TABLE `admins_sites` (`id` bigint NOT NULL AUTO_INCREMENT PRIMARY KEY, `admin_id` int NOT NULL, `site_id` int NOT NULL, INDEX `index_admins_sites_on_admin_id` (`admin_id`), INDEX `index_admins_sites_on_site_id` (`site_id`))
226
+ ActiveRecord::SchemaMigration Create (0.7ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20260420211102')
227
+ Migrating to CreateVersions (20260420211103)
228
+  (4.8ms) CREATE TABLE `versions` (`id` bigint NOT NULL AUTO_INCREMENT PRIMARY KEY, `whodunnit` varchar(255), `created_at` datetime(6), `item_id` bigint NOT NULL, `item_type` varchar(191) NOT NULL, `event` varchar(255) NOT NULL, `object` longtext) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci
229
+  (6.0ms) CREATE INDEX `index_versions_on_item_type_and_item_id` ON `versions` (`item_type`, `item_id`)
230
+ ActiveRecord::SchemaMigration Create (0.3ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20260420211103')
231
+ Migrating to CreateVersionAssociations (20260420211104)
232
+  (4.2ms) CREATE TABLE `version_associations` (`id` bigint NOT NULL AUTO_INCREMENT PRIMARY KEY, `version_id` int, `foreign_key_name` varchar(255) NOT NULL, `foreign_key_id` int, `foreign_type` varchar(255))
233
+  (5.4ms) CREATE INDEX `index_version_associations_on_version_id` ON `version_associations` (`version_id`)
234
+  (2.8ms) CREATE INDEX `index_version_associations_on_foreign_key` ON `version_associations` (`foreign_key_name`, `foreign_key_id`, `foreign_type`)
235
+ ActiveRecord::SchemaMigration Create (0.3ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20260420211104')
236
+ Migrating to AddTransactionIdColumnToVersions (20260420211105)
237
+  (7.6ms) ALTER TABLE `versions` ADD `transaction_id` int
238
+  (2.4ms) CREATE INDEX `index_versions_on_transaction_id` ON `versions` (`transaction_id`)
239
+ ActiveRecord::SchemaMigration Create (0.3ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20260420211105')
240
+ Migrating to AddDeviseTwoFactorToAdmins (20260420211106)
241
+  (6.8ms) ALTER TABLE `admins` ADD `otp_secret` varchar(255)
242
+  (5.8ms) ALTER TABLE `admins` ADD `consumed_timestep` int
243
+  (13.6ms) ALTER TABLE `admins` ADD `otp_required_for_login` tinyint(1)
244
+ ActiveRecord::SchemaMigration Create (0.3ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20260420211106')
245
+ Migrating to AddObjectChangesToVersions (20260420211107)
246
+  (7.7ms) ALTER TABLE `versions` ADD `object_changes` longtext
247
+ ActiveRecord::SchemaMigration Create (0.5ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20260420211107')
248
+  (0.1ms) SELECT RELEASE_LOCK('6658685849647950510')
249
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` ORDER BY `schema_migrations`.`version` ASC
250
+ TrustyCms::Config Load (0.1ms) SELECT `config`.* FROM `config` WHERE `config`.`key` = 'admin.title' ORDER BY `config`.`id` ASC LIMIT 1
251
+ TRANSACTION (0.0ms) BEGIN
252
+ TrustyCms::Config Create (2.1ms) INSERT INTO `config` (`key`, `value`) VALUES ('admin.title', 'TrustyCms CMS')
253
+ TrustyCms::Config Load (0.1ms) SELECT `config`.* FROM `config`
254
+ TRANSACTION (7.1ms) COMMIT
255
+ TrustyCms::Config Load (0.3ms) SELECT `config`.* FROM `config` WHERE `config`.`key` = 'defaults.page.parts' ORDER BY `config`.`id` ASC LIMIT 1
256
+ TRANSACTION (0.0ms) BEGIN
257
+ TrustyCms::Config Create (0.1ms) INSERT INTO `config` (`key`, `value`) VALUES ('defaults.page.parts', 'Body,Extended')
258
+ TrustyCms::Config Load (0.0ms) SELECT `config`.* FROM `config`
259
+ TRANSACTION (0.1ms) COMMIT
260
+ TrustyCms::Config Load (0.1ms) SELECT `config`.* FROM `config` WHERE `config`.`key` = 'defaults.page.status' ORDER BY `config`.`id` ASC LIMIT 1
261
+ TRANSACTION (0.0ms) BEGIN
262
+ TrustyCms::Config Create (0.1ms) INSERT INTO `config` (`key`, `value`) VALUES ('defaults.page.status', 'Draft')
263
+ TrustyCms::Config Load (0.1ms) SELECT `config`.* FROM `config`
264
+ TRANSACTION (0.1ms) COMMIT
265
+ TrustyCms::Config Load (0.0ms) SELECT `config`.* FROM `config` WHERE `config`.`key` = 'pagination.param_name' ORDER BY `config`.`id` ASC LIMIT 1
266
+ TRANSACTION (0.0ms) BEGIN
267
+ TrustyCms::Config Create (0.1ms) INSERT INTO `config` (`key`, `value`) VALUES ('pagination.param_name', 'page')
268
+ TrustyCms::Config Load (0.0ms) SELECT `config`.* FROM `config`
269
+ TRANSACTION (0.1ms) COMMIT
270
+ TrustyCms::Config Load (0.0ms) SELECT `config`.* FROM `config` WHERE `config`.`key` = 'pagination.per_page_param_name' ORDER BY `config`.`id` ASC LIMIT 1
271
+ TRANSACTION (0.0ms) BEGIN
272
+ TrustyCms::Config Create (0.1ms) INSERT INTO `config` (`key`, `value`) VALUES ('pagination.per_page_param_name', 'per_page')
273
+ TrustyCms::Config Load (0.0ms) SELECT `config`.* FROM `config`
274
+ TRANSACTION (0.1ms) COMMIT
275
+ TrustyCms::Config Load (0.1ms) SELECT `config`.* FROM `config` WHERE `config`.`key` = 'admin.pagination.per_page' ORDER BY `config`.`id` ASC LIMIT 1
276
+ TRANSACTION (0.0ms) BEGIN
277
+ TrustyCms::Config Create (0.4ms) INSERT INTO `config` (`key`, `value`) VALUES ('admin.pagination.per_page', '50')
278
+ TrustyCms::Config Load (0.0ms) SELECT `config`.* FROM `config`
279
+ TRANSACTION (0.1ms) COMMIT
280
+ TrustyCms::Config Load (0.1ms) SELECT `config`.* FROM `config` WHERE `config`.`key` = 'site.title' ORDER BY `config`.`id` ASC LIMIT 1
281
+ TRANSACTION (0.0ms) BEGIN
282
+ TrustyCms::Config Create (0.1ms) INSERT INTO `config` (`key`, `value`) VALUES ('site.title', 'Your site title')
283
+ TrustyCms::Config Load (0.0ms) SELECT `config`.* FROM `config`
284
+ TRANSACTION (0.2ms) COMMIT
285
+ TrustyCms::Config Load (0.0ms) SELECT `config`.* FROM `config` WHERE `config`.`key` = 'site.host' ORDER BY `config`.`id` ASC LIMIT 1
286
+ TRANSACTION (0.0ms) BEGIN
287
+ TrustyCms::Config Create (0.1ms) INSERT INTO `config` (`key`, `value`) VALUES ('site.host', 'www.example.com')
288
+ TrustyCms::Config Load (0.0ms) SELECT `config`.* FROM `config`
289
+ TRANSACTION (0.3ms) COMMIT
290
+ TrustyCms::Config Load (0.2ms) SELECT `config`.* FROM `config` WHERE `config`.`key` = 'session_timeout' ORDER BY `config`.`id` ASC LIMIT 1
291
+ TRANSACTION (0.1ms) BEGIN
292
+ TrustyCms::Config Create (0.5ms) INSERT INTO `config` (`key`, `value`) VALUES ('session_timeout', '1209600')
293
+ TrustyCms::Config Load (0.1ms) SELECT `config`.* FROM `config`
294
+ TRANSACTION (1.3ms) COMMIT
295
+ TrustyCms::Config Load (1.2ms) SELECT `config`.* FROM `config` WHERE `config`.`key` = 'assets.create_image_thumbnails?' ORDER BY `config`.`id` ASC LIMIT 1
296
+ TRANSACTION (0.4ms) BEGIN
297
+ TrustyCms::Config Create (1.2ms) INSERT INTO `config` (`key`, `value`) VALUES ('assets.create_image_thumbnails?', 'true')
298
+ TrustyCms::Config Load (5.6ms) SELECT `config`.* FROM `config`
299
+ TRANSACTION (0.3ms) COMMIT
300
+ TrustyCms::Config Load (0.2ms) SELECT `config`.* FROM `config` WHERE `config`.`key` = 'assets.create_video_thumbnails?' ORDER BY `config`.`id` ASC LIMIT 1
301
+ TRANSACTION (0.1ms) BEGIN
302
+ TrustyCms::Config Create (0.6ms) INSERT INTO `config` (`key`, `value`) VALUES ('assets.create_video_thumbnails?', 'true')
303
+ TrustyCms::Config Load (0.2ms) SELECT `config`.* FROM `config`
304
+ TRANSACTION (0.9ms) COMMIT
305
+ TrustyCms::Config Load (0.5ms) SELECT `config`.* FROM `config` WHERE `config`.`key` = 'assets.create_pdf_thumbnails?' ORDER BY `config`.`id` ASC LIMIT 1
306
+ TRANSACTION (0.0ms) BEGIN
307
+ TrustyCms::Config Create (0.2ms) INSERT INTO `config` (`key`, `value`) VALUES ('assets.create_pdf_thumbnails?', 'true')
308
+ TrustyCms::Config Load (0.3ms) SELECT `config`.* FROM `config`
309
+ TRANSACTION (0.6ms) COMMIT
310
+ TrustyCms::Config Load (0.5ms) SELECT `config`.* FROM `config` WHERE `config`.`key` = 'assets.thumbnails.image' ORDER BY `config`.`id` ASC LIMIT 1
311
+ TRANSACTION (0.1ms) BEGIN
312
+ TrustyCms::Config Create (0.2ms) INSERT INTO `config` (`key`, `value`) VALUES ('assets.thumbnails.image', 'normal:size=640x640>|small:size=320x320>')
313
+ TrustyCms::Config Load (0.1ms) SELECT `config`.* FROM `config`
314
+ TRANSACTION (0.5ms) COMMIT
315
+ TrustyCms::Config Load (0.2ms) SELECT `config`.* FROM `config` WHERE `config`.`key` = 'assets.thumbnails.video' ORDER BY `config`.`id` ASC LIMIT 1
316
+ TRANSACTION (0.0ms) BEGIN
317
+ TrustyCms::Config Create (0.2ms) INSERT INTO `config` (`key`, `value`) VALUES ('assets.thumbnails.video', 'normal:size=640x640>,format=jpg|small:size=320x320>,format=jpg')
318
+ TrustyCms::Config Load (0.1ms) SELECT `config`.* FROM `config`
319
+ TRANSACTION (0.4ms) COMMIT
320
+ TrustyCms::Config Load (0.1ms) SELECT `config`.* FROM `config` WHERE `config`.`key` = 'assets.thumbnails.pdf' ORDER BY `config`.`id` ASC LIMIT 1
321
+ TRANSACTION (0.1ms) BEGIN
322
+ TrustyCms::Config Create (0.2ms) INSERT INTO `config` (`key`, `value`) VALUES ('assets.thumbnails.pdf', 'normal:size=640x640>,format=jpg|small:size=320x320>,format=jpg')
323
+ TrustyCms::Config Load (0.1ms) SELECT `config`.* FROM `config`
324
+ TRANSACTION (0.2ms) COMMIT
325
+ TrustyCms::Config Load (0.1ms) SELECT `config`.* FROM `config` WHERE `config`.`key` = 'assets.max_asset_size' ORDER BY `config`.`id` ASC LIMIT 1
326
+ TRANSACTION (0.0ms) BEGIN
327
+ TrustyCms::Config Create (0.1ms) INSERT INTO `config` (`key`, `value`) VALUES ('assets.max_asset_size', '10')
328
+ TrustyCms::Config Load (0.1ms) SELECT `config`.* FROM `config`
329
+ TRANSACTION (0.2ms) COMMIT
330
+ TrustyCms::Config Load (0.1ms) SELECT `config`.* FROM `config` WHERE `config`.`key` = 'assets.max_video_size' ORDER BY `config`.`id` ASC LIMIT 1
331
+ TRANSACTION (0.0ms) BEGIN
332
+ TrustyCms::Config Create (0.2ms) INSERT INTO `config` (`key`, `value`) VALUES ('assets.max_video_size', '50')
333
+ TrustyCms::Config Load (0.1ms) SELECT `config`.* FROM `config`
334
+ TRANSACTION (0.2ms) COMMIT
335
+ TrustyCms::Config Load (0.1ms) SELECT `config`.* FROM `config` WHERE `config`.`key` = 'assets.display_size' ORDER BY `config`.`id` ASC LIMIT 1
336
+ TRANSACTION (0.0ms) BEGIN
337
+ TrustyCms::Config Create (0.1ms) INSERT INTO `config` (`key`, `value`) VALUES ('assets.display_size', 'normal')
338
+ TrustyCms::Config Load (0.1ms) SELECT `config`.* FROM `config`
339
+ TRANSACTION (0.2ms) COMMIT
340
+ TrustyCms::Config Load (0.1ms) SELECT `config`.* FROM `config` WHERE `config`.`key` = 'assets.insertion_size' ORDER BY `config`.`id` ASC LIMIT 1
341
+ TRANSACTION (0.0ms) BEGIN
342
+ TrustyCms::Config Create (0.1ms) INSERT INTO `config` (`key`, `value`) VALUES ('assets.insertion_size', 'normal')
343
+ TrustyCms::Config Load (0.1ms) SELECT `config`.* FROM `config`
344
+ TRANSACTION (0.3ms) COMMIT
345
+  (1.0ms) SELECT DISTINCT class_name FROM pages WHERE class_name <> '' AND class_name IS NOT NULL
File without changes
@@ -0,0 +1 @@
1
+ 1d9926ca1af1965414a2c8a3b0c301bcf1d26894000d2b3cc6a7b1c66edee3f4c759b8f792fdb3b3a8353464b39f53bfea2df3ea609a895b925602442d84a58a
File without changes