alchemy_cms 6.0.0.pre.rc3 → 6.0.0.pre.rc6
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.
Potentially problematic release.
This version of alchemy_cms might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/.github/workflows/ci.yml +0 -7
- data/CHANGELOG.md +26 -0
- data/alchemy_cms.gemspec +1 -1
- data/app/assets/javascripts/alchemy/admin.js +0 -2
- data/app/assets/javascripts/alchemy/alchemy.dialog.js.coffee +6 -1
- data/app/assets/javascripts/alchemy/alchemy.gui.js.coffee +2 -2
- data/app/assets/stylesheets/alchemy/_extends.scss +4 -4
- data/app/assets/stylesheets/alchemy/flatpickr.scss +182 -232
- data/app/assets/stylesheets/alchemy/sitemap.scss +7 -1
- data/app/controllers/alchemy/admin/base_controller.rb +9 -3
- data/app/controllers/alchemy/admin/pages_controller.rb +1 -3
- data/app/models/alchemy/page.rb +9 -3
- data/app/services/alchemy/tag_validations.rb +21 -0
- data/app/views/alchemy/admin/pages/_sitemap.html.erb +8 -8
- data/app/views/alchemy/admin/pages/edit.html.erb +1 -1
- data/app/views/alchemy/admin/pages/fold.js.erb +1 -1
- data/app/views/alchemy/admin/pages/update.js.erb +0 -5
- data/config/locales/alchemy.en.yml +0 -1
- data/config/routes.rb +0 -1
- data/db/migrate/20200226213334_alchemy_four_point_four.rb +30 -30
- data/db/migrate/20200423073425_create_alchemy_essence_nodes.rb +1 -1
- data/db/migrate/20200504210159_remove_site_id_from_nodes.rb +1 -1
- data/db/migrate/20200505215518_add_language_id_foreign_key_to_alchemy_pages.rb +1 -1
- data/db/migrate/20200511113603_add_menu_type_to_alchemy_nodes.rb +1 -1
- data/db/migrate/20200514091507_make_page_layoutpage_null_false.rb +1 -1
- data/db/migrate/20200519073500_remove_visible_from_alchemy_pages.rb +1 -1
- data/db/migrate/20200617110713_create_alchemy_picture_thumbs.rb +1 -1
- data/db/migrate/20200907111332_remove_tri_state_booleans.rb +1 -1
- data/db/migrate/20201207131309_create_page_versions.rb +1 -1
- data/db/migrate/20201207135820_add_page_version_id_to_alchemy_elements.rb +1 -1
- data/lib/alchemy/engine.rb +5 -4
- data/lib/alchemy/error_tracking.rb +14 -0
- data/lib/alchemy/version.rb +1 -1
- data/lib/alchemy_cms.rb +1 -0
- data/package/admin.js +7 -1
- data/package/src/datepicker.js +39 -0
- data/package/src/page_publication_fields.js +27 -0
- data/package/src/sitemap.js +133 -0
- data/package.json +2 -1
- metadata +11 -8
- data/app/assets/javascripts/alchemy/alchemy.datepicker.js.coffee +0 -29
- data/app/assets/javascripts/alchemy/alchemy.sitemap.js.coffee +0 -119
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b2c4b9cbf469cb88a351047757a38e9ab434cd67006b0390170e22dd5b64d0a8
|
4
|
+
data.tar.gz: 48d6dec7c669c2f854ac0414e16801236cace3a6cef2eef5fb07fa4e509ef996
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9b290944338b8ca490e0472fa886c8f4b09d47bd957a7d45c014ab328c81a9545cc74196a69eda2969dcf2e5fb0af3bad4bfc9d5079e45c645a51d41582b4137
|
7
|
+
data.tar.gz: 67c3a355c1df19256609680c562d0ae0c2bd76811daee6ea930b1425e85e3ff2087313e3a2d5d203523320f0da20d643d79b11badd1700912930e3209dfb2ddd
|
data/.github/workflows/ci.yml
CHANGED
@@ -72,13 +72,6 @@ jobs:
|
|
72
72
|
sudo apt update -qq
|
73
73
|
sudo apt install -qq --fix-missing libmysqlclient-dev -o dir::cache::archives="/home/runner/apt/cache"
|
74
74
|
sudo chown -R runner /home/runner/apt/cache
|
75
|
-
- name: Install bundler
|
76
|
-
run: |
|
77
|
-
gem install bundler
|
78
|
-
- name: Install bundle
|
79
|
-
timeout-minutes: 10
|
80
|
-
run: |
|
81
|
-
bundle install --jobs 4 --retry 3
|
82
75
|
- name: Restore node modules cache
|
83
76
|
id: yarn-cache
|
84
77
|
uses: actions/cache@v2.1.3
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,29 @@
|
|
1
|
+
## 6.0.0-rc6 (2022-03-05)
|
2
|
+
|
3
|
+
- Rework sitemap JS [#2249](https://github.com/AlchemyCMS/alchemy_cms/pull/2249) ([tvdeyen](https://github.com/tvdeyen))
|
4
|
+
- Remove old page layout change code from update action [#2248](https://github.com/AlchemyCMS/alchemy_cms/pull/2248) ([tvdeyen](https://github.com/tvdeyen))
|
5
|
+
- Fix rendering errors in page configure overlay [#2247](https://github.com/AlchemyCMS/alchemy_cms/pull/2247) ([tvdeyen](https://github.com/tvdeyen))
|
6
|
+
- Fix copying page with descendants to a different language [#2243](https://github.com/AlchemyCMS/alchemy_cms/pull/2243) ([dbwinger](https://github.com/dbwinger))
|
7
|
+
- Handle copying/pasting global pages [#2241](https://github.com/AlchemyCMS/alchemy_cms/pull/2241) ([dbwinger](https://github.com/dbwinger))
|
8
|
+
|
9
|
+
## 6.0.0-rc5 (2022-02-24)
|
10
|
+
|
11
|
+
### Changes
|
12
|
+
|
13
|
+
- Change database version to 6.0 [#2239](https://github.com/AlchemyCMS/alchemy_cms/pull/2239) ([tvdeyen](https://github.com/tvdeyen))
|
14
|
+
- Remove unused route [#2238](https://github.com/AlchemyCMS/alchemy_cms/pull/2238) ([phantomwhale](https://github.com/phantomwhale))
|
15
|
+
- Add custom gutentag tag validations class [#2232](https://github.com/AlchemyCMS/alchemy_cms/pull/2232) ([tvdeyen](https://github.com/tvdeyen))
|
16
|
+
- Touch nodes and all ancestors on page update [#2226](https://github.com/AlchemyCMS/alchemy_cms/pull/2226) ([tvdeyen](https://github.com/tvdeyen))
|
17
|
+
- Extract Airbrake error handler into extension [#2221](https://github.com/AlchemyCMS/alchemy_cms/pull/2221) ([tvdeyen](https://github.com/tvdeyen))
|
18
|
+
|
19
|
+
## 6.0.0-rc4 (2022-01-16)
|
20
|
+
|
21
|
+
### Changes
|
22
|
+
|
23
|
+
- Allow ransack 2.5.0 [#2223](https://github.com/AlchemyCMS/alchemy_cms/pull/2223) ([depfu](https://github.com/apps/depfu))
|
24
|
+
- make the admin error tracker customizable [#2220](https://github.com/AlchemyCMS/alchemy_cms/pull/2220) ([DarkSwoop](https://github.com/DarkSwoop))
|
25
|
+
- Update Flatpickr to 4.6.9 [#2197](https://github.com/AlchemyCMS/alchemy_cms/pull/2197) ([tvdeyen](https://github.com/tvdeyen))
|
26
|
+
|
1
27
|
## 6.0.0-rc3 (2021-11-24)
|
2
28
|
|
3
29
|
### Changes
|
data/alchemy_cms.gemspec
CHANGED
@@ -46,7 +46,7 @@ Gem::Specification.new do |gem|
|
|
46
46
|
gem.add_runtime_dependency "kaminari", ["~> 1.1"]
|
47
47
|
gem.add_runtime_dependency "originator", ["~> 3.1"]
|
48
48
|
gem.add_runtime_dependency "non-stupid-digest-assets", ["~> 1.0.8"]
|
49
|
-
gem.add_runtime_dependency "ransack", [">= 1.8", "
|
49
|
+
gem.add_runtime_dependency "ransack", [">= 1.8", "<= 2.5.0"] # 2.4.2 dropped Ruby 2.5 support in a patch level release
|
50
50
|
gem.add_runtime_dependency "request_store", ["~> 1.2"]
|
51
51
|
gem.add_runtime_dependency "responders", [">= 2.0", "< 4.0"]
|
52
52
|
gem.add_runtime_dependency "sassc-rails", ["~> 2.1"]
|
@@ -22,7 +22,6 @@
|
|
22
22
|
//= require alchemy/alchemy.dialog
|
23
23
|
//= require alchemy/alchemy.char_counter
|
24
24
|
//= require alchemy/alchemy.confirm_dialog
|
25
|
-
//= require alchemy/alchemy.datepicker
|
26
25
|
//= require alchemy/alchemy.dirty
|
27
26
|
//= require alchemy/alchemy.dragndrop
|
28
27
|
//= require alchemy/alchemy.element_editors
|
@@ -39,7 +38,6 @@
|
|
39
38
|
//= require alchemy/alchemy.page_sorter
|
40
39
|
//= require alchemy/alchemy.uploader
|
41
40
|
//= require alchemy/alchemy.preview_window
|
42
|
-
//= require alchemy/alchemy.sitemap
|
43
41
|
//= require alchemy/alchemy.spinner
|
44
42
|
//= require alchemy/alchemy.tinymce
|
45
43
|
//= require alchemy/alchemy.tooltips
|
@@ -82,7 +82,12 @@ class window.Alchemy.Dialog
|
|
82
82
|
@dialog_body.hide()
|
83
83
|
@dialog_body.html(data)
|
84
84
|
@init()
|
85
|
-
@dialog.
|
85
|
+
@dialog[0].dispatchEvent(new CustomEvent(
|
86
|
+
"DialogReady.Alchemy",
|
87
|
+
bubbles: true
|
88
|
+
detail:
|
89
|
+
body: @dialog_body[0]
|
90
|
+
))
|
86
91
|
if @options.ready?
|
87
92
|
@options.ready(@dialog_body)
|
88
93
|
@dialog_body.show('fade', 200)
|
@@ -6,7 +6,7 @@ Alchemy.GUI =
|
|
6
6
|
# Initializes all Alchemy GUI elements in given scope
|
7
7
|
init: (scope) ->
|
8
8
|
Alchemy.SelectBox(scope)
|
9
|
-
Alchemy.Datepicker(scope)
|
9
|
+
Alchemy.Datepicker(scope && scope.selector)
|
10
10
|
Alchemy.Tooltips(scope)
|
11
11
|
Alchemy.Buttons.observe(scope)
|
12
12
|
# Dialog links use event delegation and therefore do not
|
@@ -21,7 +21,7 @@ Alchemy.GUI =
|
|
21
21
|
|
22
22
|
initElement: ($el) ->
|
23
23
|
Alchemy.ElementDirtyObserver($el)
|
24
|
-
Alchemy.GUI.init($el)
|
24
|
+
Alchemy.GUI.init($el && $el.selector)
|
25
25
|
Alchemy.ImageLoader($el[0])
|
26
26
|
Alchemy.fileEditors($el.find(".essence_file, .essence_video, .essence_audio, .ingredient-editor.file, .ingredient-editor.audio, .ingredient-editor.video").selector)
|
27
27
|
Alchemy.pictureEditors($el.find(".essence_picture, .ingredient-editor.picture").selector)
|
@@ -37,8 +37,8 @@
|
|
37
37
|
|
38
38
|
&[disabled],
|
39
39
|
&.disabled,
|
40
|
-
|
41
|
-
|
40
|
+
&:not(.flatpickr-input)[readonly],
|
41
|
+
&:not(.flatpickr-input).readonly {
|
42
42
|
color: $form-field-disabled-text-color;
|
43
43
|
background-color: $form-field-disabled-bg-color;
|
44
44
|
cursor: default;
|
@@ -49,8 +49,8 @@
|
|
49
49
|
cursor: not-allowed;
|
50
50
|
}
|
51
51
|
|
52
|
-
|
53
|
-
|
52
|
+
&:not(.flatpickr-input)[readonly],
|
53
|
+
&:not(.flatpickr-input).readonly {
|
54
54
|
pointer-events: none;
|
55
55
|
}
|
56
56
|
}
|