camaleon_cms 2.5.1 → 2.5.2
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.
- checksums.yaml +4 -4
- data/app/controllers/camaleon_cms/admin/sessions_controller.rb +1 -1
- data/app/helpers/camaleon_cms/admin/breadcrumb_helper.rb +1 -1
- data/lib/camaleon_cms/version.rb +1 -1
- data/lib/plugin_routes.rb +0 -25
- data/spec/dummy/log/development.log +21 -0
- data/spec/dummy/log/test.log +16 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 23925db19d917a23b292d2269b3105230ea7354e77158e18f9992cc15bcd42ce
|
4
|
+
data.tar.gz: 674f93d0665b27456c715989dac686049834a0c15505100384678c6cac598b12
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5d248db3b523eaf1f93f2b5f7d262a77d6a109b1ff1f7f0f0f704cd1e430fcf03a0f45e633157361f42a2dc65bd6fb35969fa1407d75df668f7c1410dff0d417
|
7
|
+
data.tar.gz: 7b019ada4cfb79b750dd0b44d9f9d3cf578546008443fc51132715a5e212b5414a0eeb00683d7df82c4780965de533c0d61efcfdabc09a6a6d5c21d0f196d8a1
|
@@ -65,7 +65,7 @@ class CamaleonCms::Admin::SessionsController < CamaleonCms::CamaleonController
|
|
65
65
|
@user = current_site.users.where(password_reset_token: params[:h]).first
|
66
66
|
if @user.nil?
|
67
67
|
flash[:error] = t('camaleon_cms.admin.login.message.forgot_url_incorrect')
|
68
|
-
redirect_to
|
68
|
+
redirect_to cama_admin_forgot_path
|
69
69
|
return
|
70
70
|
elsif @user.password_reset_sent_at < 2.hours.ago
|
71
71
|
flash[:error] = t('camaleon_cms.admin.login.message.forgot_expired')
|
@@ -2,7 +2,7 @@ module CamaleonCms::Admin::BreadcrumbHelper
|
|
2
2
|
# draw the title for the admin admin panel according the breadcrumb
|
3
3
|
def cama_admin_title_draw
|
4
4
|
res = [t("camaleon_cms.admin.sidebar_top.admin_panel")]
|
5
|
-
|
5
|
+
breadcrumbs.reverse.slice(0, 2).reverse.each{|b| res << (b.is_a?(Hash) ? b[:name] : b.name) }
|
6
6
|
res.join(" » ")
|
7
7
|
end
|
8
8
|
|
data/lib/camaleon_cms/version.rb
CHANGED
data/lib/plugin_routes.rb
CHANGED
@@ -412,28 +412,3 @@ class PluginRoutes
|
|
412
412
|
end
|
413
413
|
end
|
414
414
|
CamaManager = PluginRoutes
|
415
|
-
|
416
|
-
#********* fix missing helper method for breadcrumb on rails gem **********#
|
417
|
-
if PluginRoutes.isRails5?
|
418
|
-
module BreadcrumbsOnRails
|
419
|
-
module ActionController extend ActiveSupport::Concern
|
420
|
-
def self.included(base = nil, &block)
|
421
|
-
if base.nil?
|
422
|
-
@_included_block = block
|
423
|
-
else
|
424
|
-
super
|
425
|
-
end
|
426
|
-
end
|
427
|
-
|
428
|
-
included do |base|
|
429
|
-
extend ClassMethods
|
430
|
-
helper HelperMethods if respond_to? :helper
|
431
|
-
helper_method :add_breadcrumb, :breadcrumbs if respond_to? :helper_method
|
432
|
-
|
433
|
-
unless base.respond_to?(:before_action)
|
434
|
-
base.alias_method :before_action, :before_filter
|
435
|
-
end
|
436
|
-
end
|
437
|
-
end
|
438
|
-
end
|
439
|
-
end
|
@@ -231,3 +231,24 @@ Migrating to AdjustFieldLength (20180704211100)
|
|
231
231
|
[1m[35m (2.3ms)[0m [1m[36mcommit transaction[0m
|
232
232
|
[1m[35m (0.2ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
233
233
|
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
234
|
+
DEPRECATION WARNING: `.represent_boolean_as_integer=` is now always true, so setting this is deprecated and will be removed in Rails 6.1. (called from <top (required)> at /Volumes/DocumentsHD/www/rails/camaleon/camaleon-cms/config/initializers/active_record_extension.rb:23)
|
235
|
+
[1m[35m (1.8ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
236
|
+
[1m[36mCamaleonCms::Site Exists? (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "term_taxonomy" WHERE "term_taxonomy"."taxonomy" = ? LIMIT ?[0m [["taxonomy", "site"], ["LIMIT", 1]]
|
237
|
+
DEPRECATION WARNING: Initialization autoloaded the constants Plugins, Plugins::Attack, Plugins::Attack::Config, CamaleonCms::Metas, CamaleonCms::CustomFieldsRead, CamaleonCms::UniqValidator, CamaleonCms::TermTaxonomy, CamaleonCms::SiteDefaultSettings, CamaleonCms::Site, Plugins::FrontCache, Plugins::FrontCache::Config, CamaleonCms::PostDefault, CamaleonCms::CategoriesTagsForPosts, CamaleonCms::Post, CamaleonCms::PostUniqValidator, CamaleonCms::Category, CamaleonCms::PostTag, CamaleonCms::PostType, and CamaleonCms::TermRelationship.
|
238
|
+
|
239
|
+
Being able to do this is deprecated. Autoloading during initialization is going
|
240
|
+
to be an error condition in future versions of Rails.
|
241
|
+
|
242
|
+
Reloading does not reboot the application, and therefore code executed during
|
243
|
+
initialization does not run again. So, if you reload Plugins, for example,
|
244
|
+
the expected changes won't be reflected in that stale Module object.
|
245
|
+
|
246
|
+
These autoloaded constants have been unloaded.
|
247
|
+
|
248
|
+
Please, check the "Autoloading and Reloading Constants" guide for solutions.
|
249
|
+
(called from <top (required)> at /Volumes/DocumentsHD/www/rails/camaleon/camaleon-cms/spec/dummy/config/environment.rb:5)
|
250
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
251
|
+
[1m[36mCamaleonCms::Site Load (0.2ms)[0m [1m[34mSELECT "term_taxonomy".* FROM "term_taxonomy" WHERE "term_taxonomy"."taxonomy" = ? ORDER BY "term_taxonomy"."id" ASC LIMIT ?[0m [["taxonomy", "site"], ["LIMIT", 1]]
|
252
|
+
[1m[36mCamaleonCms::Site Load (0.2ms)[0m [1m[34mSELECT "term_taxonomy".* FROM "term_taxonomy" WHERE "term_taxonomy"."taxonomy" = ? ORDER BY "term_taxonomy"."term_group" DESC, "term_taxonomy"."id" ASC[0m [["taxonomy", "site"]]
|
253
|
+
DEPRECATION WARNING: Using `bin/rake routes` is deprecated and will be removed in Rails 6.1. Use `bin/rails routes` instead.
|
254
|
+
(called from load at /Users/owenperedo/.rvm/gems/ruby-2.5.3/bin/rake:23)
|
data/spec/dummy/log/test.log
CHANGED
@@ -46366,3 +46366,19 @@ CamaleonCms::HtmlMailer#sender: processed outbound mail in 7.4ms
|
|
46366
46366
|
[1m[35m (0.1ms)[0m [1m[34mSELECT "term_taxonomy"."slug", "term_taxonomy"."id" FROM "term_taxonomy" WHERE "term_taxonomy"."taxonomy" = ? AND "term_taxonomy"."parent_id" = ?[0m [["taxonomy", "post_type"], ["parent_id", 1]]
|
46367
46367
|
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
46368
46368
|
[1m[35m (1.5ms)[0m [1m[31mrollback transaction[0m
|
46369
|
+
[1m[35m (2.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
46370
|
+
[1m[36mCamaleonCms::Site Exists? (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "term_taxonomy" WHERE "term_taxonomy"."taxonomy" = ? LIMIT ?[0m [["taxonomy", "site"], ["LIMIT", 1]]
|
46371
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
46372
|
+
[1m[36mCamaleonCms::Site Load (0.2ms)[0m [1m[34mSELECT "term_taxonomy".* FROM "term_taxonomy" WHERE "term_taxonomy"."taxonomy" = ? ORDER BY "term_taxonomy"."id" ASC LIMIT ?[0m [["taxonomy", "site"], ["LIMIT", 1]]
|
46373
|
+
[1m[36mCamaleonCms::Site Load (0.2ms)[0m [1m[34mSELECT "term_taxonomy".* FROM "term_taxonomy" WHERE "term_taxonomy"."taxonomy" = ? ORDER BY "term_taxonomy"."term_group" DESC, "term_taxonomy"."id" ASC[0m [["taxonomy", "site"]]
|
46374
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
46375
|
+
[1m[35m (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "schema_sha1"]]
|
46376
|
+
[1m[35m (3.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
46377
|
+
[1m[36mCamaleonCms::Site Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "term_taxonomy" WHERE "term_taxonomy"."taxonomy" = ? LIMIT ?[0m [["taxonomy", "site"], ["LIMIT", 1]]
|
46378
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
46379
|
+
[1m[36mCamaleonCms::Site Load (0.1ms)[0m [1m[34mSELECT "term_taxonomy".* FROM "term_taxonomy" WHERE "term_taxonomy"."taxonomy" = ? ORDER BY "term_taxonomy"."id" ASC LIMIT ?[0m [["taxonomy", "site"], ["LIMIT", 1]]
|
46380
|
+
[1m[36mCamaleonCms::Site Load (0.2ms)[0m [1m[34mSELECT "term_taxonomy".* FROM "term_taxonomy" WHERE "term_taxonomy"."taxonomy" = ? ORDER BY "term_taxonomy"."term_group" DESC, "term_taxonomy"."id" ASC[0m [["taxonomy", "site"]]
|
46381
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
46382
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "environment"]]
|
46383
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
46384
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
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.5.
|
4
|
+
version: 2.5.2
|
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: 2020-
|
11
|
+
date: 2020-02-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bcrypt
|
@@ -1160,7 +1160,7 @@ requirements:
|
|
1160
1160
|
- ruby >= 2.2
|
1161
1161
|
- imagemagick
|
1162
1162
|
rubyforge_project:
|
1163
|
-
rubygems_version: 2.7.
|
1163
|
+
rubygems_version: 2.7.9
|
1164
1164
|
signing_key:
|
1165
1165
|
specification_version: 4
|
1166
1166
|
summary: Camaleon is a CMS for Ruby on Rails as an alternative to Wordpress.
|