camaleon_cms 2.7.4 → 2.8.0

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 (76) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +20 -20
  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/_posttype.js +7 -6
  16. data/app/assets/javascripts/camaleon_cms/admin/admin-basic-manifest.js +2 -2
  17. data/app/assets/javascripts/camaleon_cms/admin/admin-manifest.js +1 -1
  18. data/app/assets/javascripts/camaleon_cms/admin/nav_menu.js +20 -29
  19. data/app/assets/javascripts/camaleon_cms/admin/tinymce/langs/de.js +2 -2
  20. data/app/assets/javascripts/camaleon_cms/admin/tinymce/langs/en.js +2 -2
  21. data/app/assets/javascripts/camaleon_cms/admin/tinymce/langs/fr.js +2 -2
  22. data/app/assets/javascripts/camaleon_cms/admin/tinymce/langs/it.js +2 -2
  23. data/app/assets/javascripts/camaleon_cms/admin/tinymce/langs/nl.js +1 -1
  24. data/app/assets/javascripts/camaleon_cms/admin/tinymce/langs/pt-BR.js +2 -2
  25. data/app/assets/javascripts/camaleon_cms/admin/tinymce/langs/ru.js +2 -2
  26. data/app/assets/javascripts/camaleon_cms/admin/tinymce/langs/uk.js +2 -2
  27. data/app/assets/javascripts/camaleon_cms/admin/tinymce/langs/zh-CN.js +1 -1
  28. data/app/assets/javascripts/camaleon_cms/admin/uploader/_media_manager.js +2 -2
  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 +6 -19
  32. data/app/controllers/camaleon_cms/admin/settings_controller.rb +3 -2
  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 +3 -2
  36. data/app/decorators/camaleon_cms/post_decorator.rb +5 -5
  37. data/app/decorators/camaleon_cms/post_type_decorator.rb +5 -4
  38. data/app/decorators/camaleon_cms/site_decorator.rb +2 -1
  39. data/app/decorators/camaleon_cms/term_taxonomy_decorator.rb +1 -1
  40. data/app/helpers/camaleon_cms/admin/category_helper.rb +1 -1
  41. data/app/helpers/camaleon_cms/frontend/nav_menu_helper.rb +12 -11
  42. data/app/helpers/camaleon_cms/html_helper.rb +6 -6
  43. data/app/helpers/camaleon_cms/plugins_helper.rb +1 -1
  44. data/app/helpers/camaleon_cms/session_helper.rb +1 -1
  45. data/app/helpers/camaleon_cms/short_code_helper.rb +1 -1
  46. data/app/helpers/camaleon_cms/site_helper.rb +1 -1
  47. data/app/helpers/camaleon_cms/theme_helper.rb +1 -1
  48. data/app/helpers/camaleon_cms/uploader_helper.rb +10 -5
  49. data/app/mailers/camaleon_cms/html_mailer.rb +5 -2
  50. data/app/models/camaleon_cms/ability.rb +1 -1
  51. data/app/models/camaleon_cms/custom_field_group.rb +2 -2
  52. data/app/models/camaleon_cms/nav_menu.rb +1 -1
  53. data/app/models/camaleon_cms/post.rb +1 -1
  54. data/app/models/camaleon_cms/post_default.rb +1 -1
  55. data/app/models/camaleon_cms/post_type.rb +8 -8
  56. data/app/models/camaleon_cms/site.rb +1 -1
  57. data/app/models/camaleon_cms/term_taxonomy.rb +13 -0
  58. data/app/models/concerns/camaleon_cms/custom_fields_read.rb +11 -22
  59. data/app/models/concerns/camaleon_cms/site_default_settings.rb +1 -1
  60. data/app/uploaders/camaleon_cms_uploader.rb +5 -0
  61. data/app/validators/camaleon_cms/post_uniq_validator.rb +15 -15
  62. data/app/validators/camaleon_cms/uniq_validator.rb +9 -3
  63. data/app/validators/camaleon_cms/user_url_validator.rb +207 -0
  64. data/app/views/camaleon_cms/admin/media/index.html.erb +1 -1
  65. data/app/views/camaleon_cms/admin/settings/_email_settings.html.erb +2 -2
  66. data/app/views/camaleon_cms/default_theme/index.html.erb +4 -4
  67. data/app/views/camaleon_cms/default_theme/sitemap.xml.builder +3 -3
  68. data/app/views/layouts/camaleon_cms/admin/_footer.html.erb +1 -1
  69. data/config/initializers/custom_initializers.rb +14 -0
  70. data/config/locales/camaleon_cms/admin/en.yml +11 -1
  71. data/lib/camaleon_cms/engine.rb +1 -1
  72. data/lib/camaleon_cms/version.rb +1 -1
  73. data/lib/ext/hash.rb +1 -1
  74. data/lib/ext/string.rb +2 -2
  75. data/lib/generators/camaleon_cms/theme_template/assets/js/main.js +1 -1
  76. metadata +50 -7
@@ -10,5 +10,5 @@
10
10
  // Read Sprockets README (https://github.com/sstephenson/sprockets#sprockets-directives) for details
11
11
  // about supported directives.
12
12
  //
13
- //= require jquery.js
13
+ //= require jquery2
14
14
  //= require camaleon_cms/bootstrap.min.js
metadata CHANGED
@@ -1,15 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: camaleon_cms
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.7.4
4
+ version: 2.8.0
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-04-11 00:00:00.000000000 Z
11
+ date: 2024-07-26 00:00:00.000000000 Z
12
12
  dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: addressable
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
13
27
  - !ruby/object:Gem::Dependency
14
28
  name: bcrypt
15
29
  requirement: !ruby/object:Gem::Requirement
@@ -86,6 +100,20 @@ dependencies:
86
100
  - - ">="
87
101
  - !ruby/object:Gem::Version
88
102
  version: '0'
103
+ - !ruby/object:Gem::Dependency
104
+ name: ipaddress
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'
89
117
  - !ruby/object:Gem::Dependency
90
118
  name: jquery-rails
91
119
  requirement: !ruby/object:Gem::Requirement
@@ -156,6 +184,20 @@ dependencies:
156
184
  - - ">="
157
185
  - !ruby/object:Gem::Version
158
186
  version: '0'
187
+ - !ruby/object:Gem::Dependency
188
+ name: sprockets-rails
189
+ requirement: !ruby/object:Gem::Requirement
190
+ requirements:
191
+ - - ">="
192
+ - !ruby/object:Gem::Version
193
+ version: 3.5.1
194
+ type: :runtime
195
+ prerelease: false
196
+ version_requirements: !ruby/object:Gem::Requirement
197
+ requirements:
198
+ - - ">="
199
+ - !ruby/object:Gem::Version
200
+ version: 3.5.1
159
201
  - !ruby/object:Gem::Dependency
160
202
  name: tinymce-rails
161
203
  requirement: !ruby/object:Gem::Requirement
@@ -766,6 +808,7 @@ files:
766
808
  - app/uploaders/camaleon_cms_uploader.rb
767
809
  - app/validators/camaleon_cms/post_uniq_validator.rb
768
810
  - app/validators/camaleon_cms/uniq_validator.rb
811
+ - app/validators/camaleon_cms/user_url_validator.rb
769
812
  - app/views/camaleon_cms/404.html.erb
770
813
  - app/views/camaleon_cms/500.html.erb
771
814
  - app/views/camaleon_cms/_flash_messages.html.erb
@@ -1081,7 +1124,7 @@ files:
1081
1124
  - lib/plugin_routes.rb
1082
1125
  - lib/tasks/camaleon_cms/camaleon_tasks.rake
1083
1126
  - lib/tasks/camaleon_cms/rspec_test.rake
1084
- homepage: http://camaleon.tuzitio.com
1127
+ homepage: https://camaleon.website
1085
1128
  licenses:
1086
1129
  - MIT
1087
1130
  metadata: {}
@@ -1093,17 +1136,17 @@ required_ruby_version: !ruby/object:Gem::Requirement
1093
1136
  requirements:
1094
1137
  - - ">="
1095
1138
  - !ruby/object:Gem::Version
1096
- version: '2.7'
1139
+ version: '3.0'
1097
1140
  required_rubygems_version: !ruby/object:Gem::Requirement
1098
1141
  requirements:
1099
1142
  - - ">="
1100
1143
  - !ruby/object:Gem::Version
1101
1144
  version: '0'
1102
1145
  requirements:
1103
- - rails >= 6.0
1104
- - ruby >= 2.7
1146
+ - rails >= 6.1
1147
+ - ruby >= 3.0
1105
1148
  - imagemagick
1106
- rubygems_version: 3.4.10
1149
+ rubygems_version: 3.5.11
1107
1150
  signing_key:
1108
1151
  specification_version: 4
1109
1152
  summary: Camaleon is a CMS for Ruby on Rails as an alternative to Wordpress.