alchemy_cms 5.1.0.beta1 → 5.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/ci.yml +126 -0
- data/CHANGELOG.md +29 -1
- data/Gemfile +2 -2
- data/README.md +1 -1
- data/alchemy_cms.gemspec +1 -1
- data/app/assets/javascripts/alchemy/admin.js +0 -1
- data/app/assets/javascripts/alchemy/alchemy.element_editors.js.coffee +1 -4
- data/app/assets/javascripts/alchemy/alchemy.preview.js.coffee +0 -3
- data/app/assets/javascripts/alchemy/alchemy.preview_window.js.coffee +29 -4
- data/app/assets/stylesheets/alchemy/_variables.scss +7 -0
- data/app/assets/stylesheets/alchemy/admin.scss +0 -1
- data/app/assets/stylesheets/alchemy/buttons.scss +26 -15
- data/app/assets/stylesheets/alchemy/elements.scss +58 -19
- data/app/assets/stylesheets/alchemy/frame.scss +0 -1
- data/app/assets/stylesheets/alchemy/hints.scss +2 -1
- data/app/assets/stylesheets/alchemy/search.scss +1 -1
- data/app/assets/stylesheets/alchemy/selects.scss +26 -20
- data/app/assets/stylesheets/alchemy/tables.scss +38 -9
- data/app/controllers/alchemy/admin/pages_controller.rb +58 -8
- data/app/decorators/alchemy/element_editor.rb +1 -0
- data/app/models/alchemy/legacy_page_url.rb +1 -1
- data/app/models/alchemy/page.rb +8 -0
- data/app/models/alchemy/site/layout.rb +30 -2
- data/app/serializers/alchemy/page_tree_serializer.rb +4 -4
- data/app/views/alchemy/admin/elements/_element_toolbar.html.erb +1 -1
- data/app/views/alchemy/admin/elements/publish.js.erb +1 -0
- data/app/views/alchemy/admin/pages/_create_language_form.html.erb +19 -29
- data/app/views/alchemy/admin/pages/_new_page_form.html.erb +10 -1
- data/app/views/alchemy/admin/pages/_page_layout_filter.html.erb +29 -0
- data/app/views/alchemy/admin/pages/_table.html.erb +27 -0
- data/app/views/alchemy/admin/pages/_table_row.html.erb +107 -0
- data/app/views/alchemy/admin/pages/_toolbar.html.erb +77 -0
- data/app/views/alchemy/admin/pages/edit.html.erb +9 -1
- data/app/views/alchemy/admin/pages/index.html.erb +41 -74
- data/app/views/alchemy/admin/pages/list/_table.html.erb +31 -0
- data/app/views/alchemy/admin/pages/unlock.js.erb +2 -2
- data/app/views/alchemy/admin/pages/update.js.erb +19 -10
- data/app/views/alchemy/admin/resources/_filter_bar.html.erb +13 -11
- data/config/locales/alchemy.en.yml +6 -4
- data/lib/alchemy.rb +66 -0
- data/lib/alchemy/admin/preview_url.rb +2 -0
- data/lib/alchemy/engine.rb +0 -4
- data/lib/alchemy/permissions.rb +1 -0
- data/lib/alchemy/test_support/integration_helpers.rb +0 -7
- data/lib/alchemy/version.rb +1 -1
- data/lib/alchemy_cms.rb +2 -4
- data/vendor/assets/javascripts/jquery_plugins/select2.js +3729 -0
- data/vendor/assets/stylesheets/alchemy_admin/select2.scss +740 -0
- metadata +30 -29
- data/.travis.yml +0 -48
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: 5.1.
|
4
|
+
version: 5.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Thomas von Deyen
|
@@ -10,10 +10,10 @@ authors:
|
|
10
10
|
- Hendrik Mans
|
11
11
|
- Carsten Fregin
|
12
12
|
- Martin Meyerhoff
|
13
|
-
autorequire:
|
13
|
+
autorequire:
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
|
-
date:
|
16
|
+
date: 2021-01-26 00:00:00.000000000 Z
|
17
17
|
dependencies:
|
18
18
|
- !ruby/object:Gem::Dependency
|
19
19
|
name: active_model_serializers
|
@@ -335,26 +335,6 @@ dependencies:
|
|
335
335
|
- - "~>"
|
336
336
|
- !ruby/object:Gem::Version
|
337
337
|
version: '2.1'
|
338
|
-
- !ruby/object:Gem::Dependency
|
339
|
-
name: select2-rails
|
340
|
-
requirement: !ruby/object:Gem::Requirement
|
341
|
-
requirements:
|
342
|
-
- - ">="
|
343
|
-
- !ruby/object:Gem::Version
|
344
|
-
version: 3.5.9.1
|
345
|
-
- - "<"
|
346
|
-
- !ruby/object:Gem::Version
|
347
|
-
version: '4.0'
|
348
|
-
type: :runtime
|
349
|
-
prerelease: false
|
350
|
-
version_requirements: !ruby/object:Gem::Requirement
|
351
|
-
requirements:
|
352
|
-
- - ">="
|
353
|
-
- !ruby/object:Gem::Version
|
354
|
-
version: 3.5.9.1
|
355
|
-
- - "<"
|
356
|
-
- !ruby/object:Gem::Version
|
357
|
-
version: '4.0'
|
358
338
|
- !ruby/object:Gem::Dependency
|
359
339
|
name: simple_form
|
360
340
|
requirement: !ruby/object:Gem::Requirement
|
@@ -583,6 +563,20 @@ dependencies:
|
|
583
563
|
- - "~>"
|
584
564
|
- !ruby/object:Gem::Version
|
585
565
|
version: '4.0'
|
566
|
+
- !ruby/object:Gem::Dependency
|
567
|
+
name: timecop
|
568
|
+
requirement: !ruby/object:Gem::Requirement
|
569
|
+
requirements:
|
570
|
+
- - "~>"
|
571
|
+
- !ruby/object:Gem::Version
|
572
|
+
version: '0.9'
|
573
|
+
type: :development
|
574
|
+
prerelease: false
|
575
|
+
version_requirements: !ruby/object:Gem::Requirement
|
576
|
+
requirements:
|
577
|
+
- - "~>"
|
578
|
+
- !ruby/object:Gem::Version
|
579
|
+
version: '0.9'
|
586
580
|
description: Alchemy is a powerful, userfriendly and flexible Rails CMS.
|
587
581
|
email:
|
588
582
|
- hello@alchemy-cms.com
|
@@ -596,13 +590,13 @@ files:
|
|
596
590
|
- ".github/ISSUE_TEMPLATE/Bug_report.md"
|
597
591
|
- ".github/ISSUE_TEMPLATE/Feature_request.md"
|
598
592
|
- ".github/PULL_REQUEST_TEMPLATE.md"
|
593
|
+
- ".github/workflows/ci.yml"
|
599
594
|
- ".github/workflows/stale.yml"
|
600
595
|
- ".gitignore"
|
601
596
|
- ".hound.yml"
|
602
597
|
- ".localeapp/config.rb"
|
603
598
|
- ".prettierrc"
|
604
599
|
- ".rubocop.yml"
|
605
|
-
- ".travis.yml"
|
606
600
|
- ".yardopts"
|
607
601
|
- CHANGELOG.md
|
608
602
|
- CODE_OF_CONDUCT.md
|
@@ -928,10 +922,14 @@ files:
|
|
928
922
|
- app/views/alchemy/admin/pages/_new_page_form.html.erb
|
929
923
|
- app/views/alchemy/admin/pages/_page.html.erb
|
930
924
|
- app/views/alchemy/admin/pages/_page_infos.html.erb
|
925
|
+
- app/views/alchemy/admin/pages/_page_layout_filter.html.erb
|
931
926
|
- app/views/alchemy/admin/pages/_page_status.html.erb
|
932
927
|
- app/views/alchemy/admin/pages/_publication_fields.html.erb
|
933
928
|
- app/views/alchemy/admin/pages/_sitemap.html.erb
|
929
|
+
- app/views/alchemy/admin/pages/_table.html.erb
|
930
|
+
- app/views/alchemy/admin/pages/_table_row.html.erb
|
934
931
|
- app/views/alchemy/admin/pages/_tinymce_custom_config.html.erb
|
932
|
+
- app/views/alchemy/admin/pages/_toolbar.html.erb
|
935
933
|
- app/views/alchemy/admin/pages/configure.html.erb
|
936
934
|
- app/views/alchemy/admin/pages/edit.html.erb
|
937
935
|
- app/views/alchemy/admin/pages/flush.js.erb
|
@@ -939,6 +937,7 @@ files:
|
|
939
937
|
- app/views/alchemy/admin/pages/index.html.erb
|
940
938
|
- app/views/alchemy/admin/pages/info.html.erb
|
941
939
|
- app/views/alchemy/admin/pages/link.html.erb
|
940
|
+
- app/views/alchemy/admin/pages/list/_table.html.erb
|
942
941
|
- app/views/alchemy/admin/pages/locked.html.erb
|
943
942
|
- app/views/alchemy/admin/pages/new.html.erb
|
944
943
|
- app/views/alchemy/admin/pages/show.html.erb
|
@@ -1077,6 +1076,7 @@ files:
|
|
1077
1076
|
- db/migrate/20200519073500_remove_visible_from_alchemy_pages.rb
|
1078
1077
|
- db/migrate/20200617110713_create_alchemy_picture_thumbs.rb
|
1079
1078
|
- db/migrate/20200907111332_remove_tri_state_booleans.rb
|
1079
|
+
- lib/alchemy.rb
|
1080
1080
|
- lib/alchemy/ability_helper.rb
|
1081
1081
|
- lib/alchemy/admin/locale.rb
|
1082
1082
|
- lib/alchemy/admin/preview_url.rb
|
@@ -1216,10 +1216,12 @@ files:
|
|
1216
1216
|
- vendor/assets/javascripts/jquery_plugins/jquery.scrollTo.min.js
|
1217
1217
|
- vendor/assets/javascripts/jquery_plugins/jquery.ui.nestedSortable.js
|
1218
1218
|
- vendor/assets/javascripts/jquery_plugins/jquery.ui.tabspaging.js
|
1219
|
+
- vendor/assets/javascripts/jquery_plugins/select2.js
|
1219
1220
|
- vendor/assets/javascripts/keymaster.js
|
1220
1221
|
- vendor/assets/javascripts/requestAnimationFrame.js
|
1221
1222
|
- vendor/assets/javascripts/tinymce/license.txt
|
1222
1223
|
- vendor/assets/javascripts/tinymce/tinymce.min.js
|
1224
|
+
- vendor/assets/stylesheets/alchemy_admin/select2.scss
|
1223
1225
|
- vendor/assets/stylesheets/fontawesome/_animated.scss
|
1224
1226
|
- vendor/assets/stylesheets/fontawesome/_bordered-pulled.scss
|
1225
1227
|
- vendor/assets/stylesheets/fontawesome/_core.scss
|
@@ -1271,14 +1273,13 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
1271
1273
|
version: 2.3.0
|
1272
1274
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
1273
1275
|
requirements:
|
1274
|
-
- - "
|
1276
|
+
- - ">="
|
1275
1277
|
- !ruby/object:Gem::Version
|
1276
|
-
version:
|
1278
|
+
version: '0'
|
1277
1279
|
requirements:
|
1278
1280
|
- ImageMagick (libmagick), v6.6 or greater.
|
1279
|
-
rubygems_version: 3.
|
1280
|
-
signing_key:
|
1281
|
+
rubygems_version: 3.1.4
|
1282
|
+
signing_key:
|
1281
1283
|
specification_version: 4
|
1282
1284
|
summary: A powerful, userfriendly and flexible CMS for Rails
|
1283
1285
|
test_files: []
|
1284
|
-
...
|
data/.travis.yml
DELETED
@@ -1,48 +0,0 @@
|
|
1
|
-
language: ruby
|
2
|
-
os: linux
|
3
|
-
dist: bionic
|
4
|
-
services:
|
5
|
-
- mysql
|
6
|
-
addons:
|
7
|
-
postgresql: "10"
|
8
|
-
cache:
|
9
|
-
bundler: true
|
10
|
-
yarn: true
|
11
|
-
directories:
|
12
|
-
- /home/travis/.webdrivers/
|
13
|
-
rvm:
|
14
|
-
- 2.6.6
|
15
|
-
- 2.7.1
|
16
|
-
|
17
|
-
before_script:
|
18
|
-
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
|
19
|
-
- chmod +x ./cc-test-reporter
|
20
|
-
- ./cc-test-reporter before-build
|
21
|
-
- nvm use 12
|
22
|
-
|
23
|
-
script: bundle exec rake
|
24
|
-
|
25
|
-
after_script:
|
26
|
-
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
|
27
|
-
|
28
|
-
jobs:
|
29
|
-
include:
|
30
|
-
- language: node_js
|
31
|
-
node_js: 12
|
32
|
-
install: yarn install
|
33
|
-
script: yarn jest --coverage
|
34
|
-
env: NODE_ENV=test
|
35
|
-
before_script: skip
|
36
|
-
after_script: skip
|
37
|
-
|
38
|
-
env:
|
39
|
-
global:
|
40
|
-
CC_TEST_REPORTER_ID=bca4349e32f97919210ac8a450b04904b90683fcdd57d65a22c0f5065482bc22
|
41
|
-
jobs:
|
42
|
-
- DB=mysql RAILS_VERSION=5.2
|
43
|
-
- DB=mysql RAILS_VERSION=6.0
|
44
|
-
- DB=postgresql RAILS_VERSION=5.2
|
45
|
-
- DB=postgresql RAILS_VERSION=6.0
|
46
|
-
notifications:
|
47
|
-
slack:
|
48
|
-
secure: QzOFw1Ph69pzwWBFgtIVkOnjbcRxB9HPRQ+RYjK+2tg+fsbiTJ+wYgHcZL49tPYcLAls4kymkFWzWBF3PCAXJMfKgUCqXzdQ2FuJC/JoVRTLll4wDnZFPG33jsm5tVznmycZ3ma4+ZWfJQ+C+elEBOba6v1kG9eGIy6sH2cvXfE=
|