camaleon_cms 2.7.5 → 2.8.1

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of camaleon_cms might be problematic. Click here for more details.

Files changed (77) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +20 -27
  3. data/app/apps/plugins/attack/config/config.json +2 -2
  4. data/app/apps/plugins/front_cache/admin_controller.rb +4 -6
  5. data/app/apps/plugins/front_cache/config/config.json +1 -1
  6. data/app/apps/plugins/front_cache/config/locales/translation.yml +1 -1
  7. data/app/apps/plugins/front_cache/front_cache_helper.rb +3 -3
  8. data/app/apps/plugins/visibility_post/config/config.json +2 -2
  9. data/app/apps/themes/camaleon_first/assets/js/main.js +1 -1
  10. data/app/apps/themes/camaleon_first/views/index.html.erb +1 -1
  11. data/app/apps/themes/default/assets/js/main.js +1 -1
  12. data/app/apps/themes/new/assets/js/main.js +1 -1
  13. data/app/apps/themes/new/views/index.html.erb +4 -4
  14. data/app/apps/themes/new/views/layouts/_footer.html.erb +2 -2
  15. data/app/assets/javascripts/camaleon_cms/admin/admin-basic-manifest.js +2 -2
  16. data/app/assets/javascripts/camaleon_cms/admin/admin-manifest.js +1 -1
  17. data/app/assets/javascripts/camaleon_cms/admin/tinymce/langs/de.js +2 -2
  18. data/app/assets/javascripts/camaleon_cms/admin/tinymce/langs/en.js +2 -2
  19. data/app/assets/javascripts/camaleon_cms/admin/tinymce/langs/fr.js +2 -2
  20. data/app/assets/javascripts/camaleon_cms/admin/tinymce/langs/it.js +2 -2
  21. data/app/assets/javascripts/camaleon_cms/admin/tinymce/langs/nl.js +1 -1
  22. data/app/assets/javascripts/camaleon_cms/admin/tinymce/langs/pt-BR.js +2 -2
  23. data/app/assets/javascripts/camaleon_cms/admin/tinymce/langs/ru.js +2 -2
  24. data/app/assets/javascripts/camaleon_cms/admin/tinymce/langs/uk.js +2 -2
  25. data/app/assets/javascripts/camaleon_cms/admin/tinymce/langs/zh-CN.js +1 -1
  26. data/app/assets/javascripts/camaleon_cms/admin/uploader/_media_manager.js +2 -2
  27. data/app/assets/stylesheets/camaleon_cms/admin/admin-manifest.css +2 -1
  28. data/app/assets/stylesheets/camaleon_cms/admin/{colorpicker.css.scss → colorpicker.css} +5 -5
  29. data/app/controllers/camaleon_cms/admin/appearances/nav_menus_controller.rb +15 -10
  30. data/app/controllers/camaleon_cms/admin/installers_controller.rb +1 -1
  31. data/app/controllers/camaleon_cms/admin/media_controller.rb +12 -9
  32. data/app/controllers/camaleon_cms/admin/settings_controller.rb +1 -1
  33. data/app/controllers/camaleon_cms/camaleon_controller.rb +8 -2
  34. data/app/decorators/camaleon_cms/application_decorator.rb +8 -0
  35. data/app/decorators/camaleon_cms/category_decorator.rb +1 -1
  36. data/app/decorators/camaleon_cms/post_decorator.rb +5 -5
  37. data/app/decorators/camaleon_cms/post_type_decorator.rb +3 -3
  38. data/app/decorators/camaleon_cms/term_taxonomy_decorator.rb +1 -1
  39. data/app/helpers/camaleon_cms/admin/category_helper.rb +1 -1
  40. data/app/helpers/camaleon_cms/frontend/nav_menu_helper.rb +12 -11
  41. data/app/helpers/camaleon_cms/html_helper.rb +7 -7
  42. data/app/helpers/camaleon_cms/plugins_helper.rb +1 -1
  43. data/app/helpers/camaleon_cms/session_helper.rb +1 -1
  44. data/app/helpers/camaleon_cms/short_code_helper.rb +1 -1
  45. data/app/helpers/camaleon_cms/site_helper.rb +1 -1
  46. data/app/helpers/camaleon_cms/theme_helper.rb +1 -1
  47. data/app/helpers/camaleon_cms/uploader_helper.rb +60 -17
  48. data/app/models/camaleon_cms/ability.rb +1 -1
  49. data/app/models/camaleon_cms/custom_field_group.rb +3 -6
  50. data/app/models/camaleon_cms/nav_menu.rb +1 -1
  51. data/app/models/camaleon_cms/post.rb +1 -1
  52. data/app/models/camaleon_cms/post_default.rb +1 -1
  53. data/app/models/camaleon_cms/post_type.rb +8 -8
  54. data/app/models/camaleon_cms/site.rb +1 -1
  55. data/app/models/camaleon_cms/term_taxonomy.rb +13 -0
  56. data/app/models/concerns/camaleon_cms/custom_fields_read.rb +11 -22
  57. data/app/models/concerns/camaleon_cms/site_default_settings.rb +1 -1
  58. data/app/uploaders/camaleon_cms_aws_uploader.rb +3 -3
  59. data/app/uploaders/camaleon_cms_local_uploader.rb +10 -4
  60. data/app/uploaders/camaleon_cms_uploader.rb +13 -0
  61. data/app/validators/camaleon_cms/post_uniq_validator.rb +11 -12
  62. data/app/validators/camaleon_cms/uniq_validator.rb +9 -3
  63. data/app/views/camaleon_cms/admin/media/index.html.erb +1 -1
  64. data/app/views/camaleon_cms/admin/settings/_email_settings.html.erb +2 -2
  65. data/app/views/camaleon_cms/admin/settings/custom_fields/_get_items.html.erb +1 -2
  66. data/app/views/camaleon_cms/admin/settings/custom_fields/_render.html.erb +2 -2
  67. data/app/views/camaleon_cms/default_theme/index.html.erb +4 -4
  68. data/app/views/camaleon_cms/default_theme/sitemap.xml.builder +3 -3
  69. data/app/views/layouts/camaleon_cms/admin/_footer.html.erb +1 -1
  70. data/config/initializers/custom_initializers.rb +14 -0
  71. data/config/initializers/sass.rb +12 -16
  72. data/lib/camaleon_cms/engine.rb +2 -2
  73. data/lib/camaleon_cms/version.rb +1 -1
  74. data/lib/ext/hash.rb +1 -1
  75. data/lib/ext/string.rb +2 -2
  76. data/lib/generators/camaleon_cms/theme_template/assets/js/main.js +1 -1
  77. metadata +53 -39
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: camaleon_cms
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.7.5
4
+ version: 2.8.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Owen Peredo Diaz
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-12-22 00:00:00.000000000 Z
11
+ date: 2024-08-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable
@@ -52,6 +52,34 @@ dependencies:
52
52
  - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: cama_contact_form
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: 0.1.0
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: 0.1.0
69
+ - !ruby/object:Gem::Dependency
70
+ name: cama_meta_tag
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :runtime
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
55
83
  - !ruby/object:Gem::Dependency
56
84
  name: cancancan
57
85
  requirement: !ruby/object:Gem::Requirement
@@ -72,6 +100,20 @@ dependencies:
72
100
  - - "<"
73
101
  - !ruby/object:Gem::Version
74
102
  version: '4'
103
+ - !ruby/object:Gem::Dependency
104
+ name: dartsass-sprockets
105
+ requirement: !ruby/object:Gem::Requirement
106
+ requirements:
107
+ - - ">="
108
+ - !ruby/object:Gem::Version
109
+ version: '0'
110
+ type: :runtime
111
+ prerelease: false
112
+ version_requirements: !ruby/object:Gem::Requirement
113
+ requirements:
114
+ - - ">="
115
+ - !ruby/object:Gem::Version
116
+ version: '0'
75
117
  - !ruby/object:Gem::Dependency
76
118
  name: draper
77
119
  requirement: !ruby/object:Gem::Requirement
@@ -171,19 +213,19 @@ dependencies:
171
213
  - !ruby/object:Gem::Version
172
214
  version: '2.0'
173
215
  - !ruby/object:Gem::Dependency
174
- name: sass-rails
216
+ name: sprockets-rails
175
217
  requirement: !ruby/object:Gem::Requirement
176
218
  requirements:
177
219
  - - ">="
178
220
  - !ruby/object:Gem::Version
179
- version: '0'
221
+ version: 3.5.1
180
222
  type: :runtime
181
223
  prerelease: false
182
224
  version_requirements: !ruby/object:Gem::Requirement
183
225
  requirements:
184
226
  - - ">="
185
227
  - !ruby/object:Gem::Version
186
- version: '0'
228
+ version: 3.5.1
187
229
  - !ruby/object:Gem::Dependency
188
230
  name: tinymce-rails
189
231
  requirement: !ruby/object:Gem::Requirement
@@ -226,34 +268,6 @@ dependencies:
226
268
  - - ">="
227
269
  - !ruby/object:Gem::Version
228
270
  version: '0'
229
- - !ruby/object:Gem::Dependency
230
- name: cama_contact_form
231
- requirement: !ruby/object:Gem::Requirement
232
- requirements:
233
- - - "~>"
234
- - !ruby/object:Gem::Version
235
- version: 0.1.0
236
- type: :runtime
237
- prerelease: false
238
- version_requirements: !ruby/object:Gem::Requirement
239
- requirements:
240
- - - "~>"
241
- - !ruby/object:Gem::Version
242
- version: 0.1.0
243
- - !ruby/object:Gem::Dependency
244
- name: cama_meta_tag
245
- requirement: !ruby/object:Gem::Requirement
246
- requirements:
247
- - - ">="
248
- - !ruby/object:Gem::Version
249
- version: '0'
250
- type: :runtime
251
- prerelease: false
252
- version_requirements: !ruby/object:Gem::Requirement
253
- requirements:
254
- - - ">="
255
- - !ruby/object:Gem::Version
256
- version: '0'
257
271
  - !ruby/object:Gem::Dependency
258
272
  name: aws-sdk-s3
259
273
  requirement: !ruby/object:Gem::Requirement
@@ -630,7 +644,7 @@ files:
630
644
  - app/assets/stylesheets/camaleon_cms/admin/_jquery.tagsinput.css
631
645
  - app/assets/stylesheets/camaleon_cms/admin/admin-basic-manifest.css
632
646
  - app/assets/stylesheets/camaleon_cms/admin/admin-manifest.css
633
- - app/assets/stylesheets/camaleon_cms/admin/colorpicker.css.scss
647
+ - app/assets/stylesheets/camaleon_cms/admin/colorpicker.css
634
648
  - app/assets/stylesheets/camaleon_cms/admin/img/bg.png
635
649
  - app/assets/stylesheets/camaleon_cms/admin/img/colorpicker/alpha.png
636
650
  - app/assets/stylesheets/camaleon_cms/admin/img/colorpicker/hue.png
@@ -1110,7 +1124,7 @@ files:
1110
1124
  - lib/plugin_routes.rb
1111
1125
  - lib/tasks/camaleon_cms/camaleon_tasks.rake
1112
1126
  - lib/tasks/camaleon_cms/rspec_test.rake
1113
- homepage: http://camaleon.tuzitio.com
1127
+ homepage: https://camaleon.website
1114
1128
  licenses:
1115
1129
  - MIT
1116
1130
  metadata: {}
@@ -1122,17 +1136,17 @@ required_ruby_version: !ruby/object:Gem::Requirement
1122
1136
  requirements:
1123
1137
  - - ">="
1124
1138
  - !ruby/object:Gem::Version
1125
- version: '2.7'
1139
+ version: '3.0'
1126
1140
  required_rubygems_version: !ruby/object:Gem::Requirement
1127
1141
  requirements:
1128
1142
  - - ">="
1129
1143
  - !ruby/object:Gem::Version
1130
1144
  version: '0'
1131
1145
  requirements:
1132
- - rails >= 6.0
1133
- - ruby >= 2.7
1146
+ - rails >= 6.1
1147
+ - ruby >= 3.0
1134
1148
  - imagemagick
1135
- rubygems_version: 3.5.1
1149
+ rubygems_version: 3.5.11
1136
1150
  signing_key:
1137
1151
  specification_version: 4
1138
1152
  summary: Camaleon is a CMS for Ruby on Rails as an alternative to Wordpress.