alchemy_cms 8.4.4 → 8.4.5
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.
- checksums.yaml +4 -4
- data/app/assets/builds/alchemy/admin/page-select.css +1 -1
- data/app/assets/builds/alchemy/admin/tags-autocomplete.css +1 -1
- data/app/assets/builds/alchemy/admin.css +1 -1
- data/app/components/alchemy/admin/dashboard/widgets/attachment_counts.rb +1 -1
- data/app/components/alchemy/admin/dashboard/widgets/picture_counts.rb +1 -1
- data/app/components/alchemy/admin/uploader_button.rb +22 -13
- data/app/models/alchemy/ingredient_definition.rb +3 -4
- data/app/models/alchemy/page.rb +1 -1
- data/app/models/alchemy/storage_adapter/active_storage.rb +10 -0
- data/app/models/alchemy/storage_adapter/dragonfly.rb +31 -0
- data/app/models/alchemy/storage_adapter.rb +2 -0
- data/app/stylesheets/alchemy/admin/_tom-select.scss +11 -0
- data/app/stylesheets/alchemy/admin/upload.scss +11 -0
- data/app/views/alchemy/admin/attachments/_replace_button.html.erb +4 -4
- data/app/views/alchemy/admin/tinymce/_setup.html.erb +5 -3
- data/lib/alchemy/config_missing.rb +2 -0
- data/lib/alchemy/engine.rb +12 -4
- data/lib/alchemy/tinymce.rb +25 -0
- data/lib/alchemy/version.rb +1 -1
- data/lib/alchemy_cms.rb +55 -3
- data/vendor/javascript/shoelace.min.js +6 -6
- metadata +1 -2
- data/lib/alchemy.rb +0 -56
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: alchemy_cms
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 8.4.
|
|
4
|
+
version: 8.4.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Thomas von Deyen
|
|
@@ -1351,7 +1351,6 @@ files:
|
|
|
1351
1351
|
- db/migrate/20260702090038_add_index_to_elements_pages_join_table.rb
|
|
1352
1352
|
- db/migrate/20260727120000_add_permitted_roles_to_alchemy_pages.rb
|
|
1353
1353
|
- db/migrate/20260820120000_add_cached_tag_list_to_taggables.rb
|
|
1354
|
-
- lib/alchemy.rb
|
|
1355
1354
|
- lib/alchemy/auth_accessors.rb
|
|
1356
1355
|
- lib/alchemy/cache_digests/template_tracker.rb
|
|
1357
1356
|
- lib/alchemy/config_missing.rb
|
data/lib/alchemy.rb
DELETED
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
require "importmap-rails"
|
|
4
|
-
require "alchemy/configurations/main"
|
|
5
|
-
require "alchemy/config_missing"
|
|
6
|
-
|
|
7
|
-
module Alchemy
|
|
8
|
-
include Alchemy::ConfigMissing
|
|
9
|
-
extend Alchemy::ConfigMissing
|
|
10
|
-
|
|
11
|
-
YAML_PERMITTED_CLASSES = %w[Symbol Date Regexp]
|
|
12
|
-
|
|
13
|
-
# JS Importmap instance
|
|
14
|
-
singleton_class.attr_accessor :importmap
|
|
15
|
-
self.importmap = Importmap::Map.new
|
|
16
|
-
|
|
17
|
-
mattr_accessor :storage_adapter
|
|
18
|
-
|
|
19
|
-
class << self
|
|
20
|
-
def config
|
|
21
|
-
@_config ||= Alchemy::Configurations::Main.new
|
|
22
|
-
end
|
|
23
|
-
delegate :configure, to: :config
|
|
24
|
-
|
|
25
|
-
enable_searchable_deprecation_msg = "Use `Alchemy.config.show_page_searchable_checkbox` instead."
|
|
26
|
-
def enable_searchable = config.show_page_searchable_checkbox
|
|
27
|
-
deprecate :enable_searchable= => enable_searchable_deprecation_msg, :deprecator => Alchemy::Deprecation
|
|
28
|
-
|
|
29
|
-
def enable_searchable=(other)
|
|
30
|
-
config.show_page_searchable_checkbox = other
|
|
31
|
-
end
|
|
32
|
-
deprecate enable_searchable: enable_searchable_deprecation_msg, deprecator: Alchemy::Deprecation
|
|
33
|
-
|
|
34
|
-
delegate :preview_sources, to: :config
|
|
35
|
-
delegate :preview_sources=, to: :config
|
|
36
|
-
deprecate preview_sources: "Use `Alchemy.config.preview_sources` instead.", deprecator: Alchemy::Deprecation
|
|
37
|
-
deprecate :preview_sources= => "Use `Alchemy.config.preview_sources=` instead.", :deprecator => Alchemy::Deprecation
|
|
38
|
-
|
|
39
|
-
delegate :admin_js_imports, to: :config
|
|
40
|
-
delegate :admin_js_imports=, to: :config
|
|
41
|
-
deprecate admin_js_imports: "Use `Alchemy.config.admin_js_imports` instead", deprecator: Alchemy::Deprecation
|
|
42
|
-
deprecate :admin_js_imports= => "Use `Alchemy.config.admin_js_imports=` instead", :deprecator => Alchemy::Deprecation
|
|
43
|
-
|
|
44
|
-
delegate :admin_importmaps, to: :config
|
|
45
|
-
deprecate admin_importmaps: "Use Alchemy.config.admin_importmaps instead", deprecator: Alchemy::Deprecation
|
|
46
|
-
|
|
47
|
-
delegate :admin_stylesheets, to: :config
|
|
48
|
-
deprecate admin_stylesheets: "Use Alchemy.config.admin_stylesheets instead", deprecator: Alchemy::Deprecation
|
|
49
|
-
|
|
50
|
-
delegate :publish_targets, to: :config
|
|
51
|
-
deprecate publish_targets: "Use Alchemy.config.publish_targets instead", deprecator: Alchemy::Deprecation
|
|
52
|
-
|
|
53
|
-
delegate :link_dialog_tabs, to: :config
|
|
54
|
-
deprecate link_dialog_tabs: "Use Alchemy.config.link_dialog_tabs instead", deprecator: Alchemy::Deprecation
|
|
55
|
-
end
|
|
56
|
-
end
|