owen2345 / camaleon-cms Goto Github PK
View Code? Open in Web Editor NEWCamaleon CMS is a dynamic and advanced content management system based on Ruby on Rails
Home Page: https://camaleon.website
License: MIT License
Camaleon CMS is a dynamic and advanced content management system based on Ruby on Rails
Home Page: https://camaleon.website
License: MIT License
Forgot to add backtrace in previous message, sorry about that.
/home/ozgun/.rvm/gems/ruby-2.1.1@camaleon_cms/gems/activerecord-4.2.4/lib/active_record/connection_adapters/connection_specification.rb:177:in `rescue in spec': Specified 'mysql2' for database adapter, but the gem is not loaded. Add `gem 'mysql2'` to your Gemfile (and ensure its version is at the minimum required by ActiveRecord). (Gem::LoadError)
from /home/ozgun/.rvm/gems/ruby-2.1.1@camaleon_cms/gems/activerecord-4.2.4/lib/active_record/connection_adapters/connection_specification.rb:174:in `spec'
from /home/ozgun/.rvm/gems/ruby-2.1.1@camaleon_cms/gems/activerecord-4.2.4/lib/active_record/connection_handling.rb:50:in `establish_connection'
from /home/ozgun/.rvm/gems/ruby-2.1.1@camaleon_cms/gems/activerecord-4.2.4/lib/active_record/railtie.rb:120:in `block (2 levels) in <class:Railtie>'
from /home/ozgun/.rvm/gems/ruby-2.1.1@camaleon_cms/gems/activesupport-4.2.4/lib/active_support/lazy_load_hooks.rb:38:in `instance_eval'
from /home/ozgun/.rvm/gems/ruby-2.1.1@camaleon_cms/gems/activesupport-4.2.4/lib/active_support/lazy_load_hooks.rb:38:in `execute_hook'
from /home/ozgun/.rvm/gems/ruby-2.1.1@camaleon_cms/gems/activesupport-4.2.4/lib/active_support/lazy_load_hooks.rb:45:in `block in run_load_hooks'
from /home/ozgun/.rvm/gems/ruby-2.1.1@camaleon_cms/gems/activesupport-4.2.4/lib/active_support/lazy_load_hooks.rb:44:in `each'
from /home/ozgun/.rvm/gems/ruby-2.1.1@camaleon_cms/gems/activesupport-4.2.4/lib/active_support/lazy_load_hooks.rb:44:in `run_load_hooks'
from /home/ozgun/.rvm/gems/ruby-2.1.1@camaleon_cms/gems/activerecord-4.2.4/lib/active_record/base.rb:315:in `<module:ActiveRecord>'
from /home/ozgun/.rvm/gems/ruby-2.1.1@camaleon_cms/gems/activerecord-4.2.4/lib/active_record/base.rb:26:in `<top (required)>'
from /home/ozgun/.rvm/gems/ruby-2.1.1@camaleon_cms/gems/camaleon_cms-0.2.1/config/initializers/active_record_extension.rb:32:in `<top (required)>'
from /home/ozgun/.rvm/gems/ruby-2.1.1@camaleon_cms/gems/activesupport-4.2.4/lib/active_support/dependencies.rb:268:in `load'
from /home/ozgun/.rvm/gems/ruby-2.1.1@camaleon_cms/gems/activesupport-4.2.4/lib/active_support/dependencies.rb:268:in `block in load'
from /home/ozgun/.rvm/gems/ruby-2.1.1@camaleon_cms/gems/activesupport-4.2.4/lib/active_support/dependencies.rb:240:in `load_dependency'
from /home/ozgun/.rvm/gems/ruby-2.1.1@camaleon_cms/gems/activesupport-4.2.4/lib/active_support/dependencies.rb:268:in `load'
from /home/ozgun/.rvm/gems/ruby-2.1.1@camaleon_cms/gems/railties-4.2.4/lib/rails/engine.rb:652:in `block in load_config_initializer'
from /home/ozgun/.rvm/gems/ruby-2.1.1@camaleon_cms/gems/activesupport-4.2.4/lib/active_support/notifications.rb:166:in `instrument'
from /home/ozgun/.rvm/gems/ruby-2.1.1@camaleon_cms/gems/railties-4.2.4/lib/rails/engine.rb:651:in `load_config_initializer'
from /home/ozgun/.rvm/gems/ruby-2.1.1@camaleon_cms/gems/railties-4.2.4/lib/rails/engine.rb:616:in `block (2 levels) in <class:Engine>'
from /home/ozgun/.rvm/gems/ruby-2.1.1@camaleon_cms/gems/railties-4.2.4/lib/rails/engine.rb:615:in `each'
from /home/ozgun/.rvm/gems/ruby-2.1.1@camaleon_cms/gems/railties-4.2.4/lib/rails/engine.rb:615:in `block in <class:Engine>'
from /home/ozgun/.rvm/gems/ruby-2.1.1@camaleon_cms/gems/railties-4.2.4/lib/rails/initializable.rb:30:in `instance_exec'
from /home/ozgun/.rvm/gems/ruby-2.1.1@camaleon_cms/gems/railties-4.2.4/lib/rails/initializable.rb:30:in `run'
from /home/ozgun/.rvm/gems/ruby-2.1.1@camaleon_cms/gems/railties-4.2.4/lib/rails/initializable.rb:55:in `block in run_initializers'
from /home/ozgun/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/tsort.rb:226:in `block in tsort_each'
from /home/ozgun/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/tsort.rb:348:in `block (2 levels) in each_strongly_connected_component'
from /home/ozgun/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/tsort.rb:418:in `block (2 levels) in each_strongly_connected_component_from'
from /home/ozgun/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/tsort.rb:427:in `each_strongly_connected_component_from'
from /home/ozgun/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/tsort.rb:417:in `block in each_strongly_connected_component_from'
from /home/ozgun/.rvm/gems/ruby-2.1.1@camaleon_cms/gems/railties-4.2.4/lib/rails/initializable.rb:44:in `each'
from /home/ozgun/.rvm/gems/ruby-2.1.1@camaleon_cms/gems/railties-4.2.4/lib/rails/initializable.rb:44:in `tsort_each_child'
from /home/ozgun/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/tsort.rb:411:in `call'
from /home/ozgun/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/tsort.rb:411:in `each_strongly_connected_component_from'
from /home/ozgun/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/tsort.rb:347:in `block in each_strongly_connected_component'
from /home/ozgun/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/tsort.rb:345:in `each'
from /home/ozgun/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/tsort.rb:345:in `call'
from /home/ozgun/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/tsort.rb:345:in `each_strongly_connected_component'
from /home/ozgun/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/tsort.rb:224:in `tsort_each'
from /home/ozgun/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/tsort.rb:205:in `tsort_each'
from /home/ozgun/.rvm/gems/ruby-2.1.1@camaleon_cms/gems/railties-4.2.4/lib/rails/initializable.rb:54:in `run_initializers'
from /home/ozgun/.rvm/gems/ruby-2.1.1@camaleon_cms/gems/railties-4.2.4/lib/rails/application.rb:352:in `initialize!'
from /home/ozgun/Workspace/cms_cameleon_project/config/environment.rb:5:in `<top (required)>'
from /home/ozgun/.rvm/gems/ruby-2.1.1@camaleon_cms/gems/spring-1.3.6/lib/spring/application.rb:92:in `require'
from /home/ozgun/.rvm/gems/ruby-2.1.1@camaleon_cms/gems/spring-1.3.6/lib/spring/application.rb:92:in `preload'
from /home/ozgun/.rvm/gems/ruby-2.1.1@camaleon_cms/gems/spring-1.3.6/lib/spring/application.rb:143:in `serve'
from /home/ozgun/.rvm/gems/ruby-2.1.1@camaleon_cms/gems/spring-1.3.6/lib/spring/application.rb:131:in `block in run'
from /home/ozgun/.rvm/gems/ruby-2.1.1@camaleon_cms/gems/spring-1.3.6/lib/spring/application.rb:125:in `loop'
from /home/ozgun/.rvm/gems/ruby-2.1.1@camaleon_cms/gems/spring-1.3.6/lib/spring/application.rb:125:in `run'
from /home/ozgun/.rvm/gems/ruby-2.1.1@camaleon_cms/gems/spring-1.3.6/lib/spring/application/boot.rb:18:in `<top (required)>'
from /home/ozgun/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /home/ozgun/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from -e:1:in `<main>'
Gemfile is:
source 'https://rubygems.org'
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'rails', '4.2.4'
# Use mysql as the database for Active Record
gem 'mysql2'
# Use SCSS for stylesheets
gem 'sass-rails', '~> 5.0'
# Use Uglifier as compressor for JavaScript assets
gem 'uglifier', '>= 1.3.0'
# Use CoffeeScript for .coffee assets and views
gem 'coffee-rails', '~> 4.1.0'
# See https://github.com/rails/execjs#readme for more supported runtimes
# gem 'therubyracer', platforms: :ruby
# Use jquery as the JavaScript library
gem 'jquery-rails'
# Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks
gem 'turbolinks'
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
gem 'jbuilder', '~> 2.0'
# bundle exec rake doc:rails generates the API under doc/api.
gem 'sdoc', '~> 0.4.0', group: :doc
# Use ActiveModel has_secure_password
# gem 'bcrypt', '~> 3.1.7'
# Use Unicorn as the app server
# gem 'unicorn'
# Use Capistrano for deployment
# gem 'capistrano-rails', group: :development
group :development, :test do
# Call 'byebug' anywhere in the code to stop execution and get a debugger console
gem 'byebug'
end
group :development do
# Access an IRB console on exception pages or by using <%= console %> in views
gem 'web-console', '~> 2.0'
# Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
gem 'spring'
end
gem 'camaleon_cms'
Why are the thin and tzinfo-data gems only used on the Windows platform? They should work on every platform.
Hi :)
I've found a problem in production with rake assets:precompile
using the sass
syntax. This can be reproduced locally with https://github.com/delphaber/camaleon-test-sass and rake assets:precompile
$ rake assets:precompile
rake aborted!
Sass::SyntaxError: Undefined variable: "$red".
/Users/faber/Repos/blog/app/apps/themes/puppa/assets/css/_base.css.sass:2
-e:1:in `<main>'
Tasks: TOP => assets:precompile
(See full trace by running task with --trace)
Sprockets tries to compile _base.css.sass
but can't find the variable defined in _colors.css.sass
.
I think this happens because /config/initializers/assets.rb
tells sprockets to compile any .css
(so, .sass
too) separately. Sprocket should compile only main.css.sass
which imports the other two files.
I tried to remove any .css
related rule in /config/initializers/assets.rb
and I was able to rake assets:precompile
successfully.
Any clue? :)
Is it possible to make asset paths in SASS files shorter?
I would want to use asset-url('images/image.png')
instead of asset-url('themes/my-theme/assets/images/image.png')
The initialism for the GNU Affero General Public License version 3 is generally AGPLv3, not GPLv3. I can see in a couple places that GPLv3 is being used to refer to AGPLv3, notably in license.txt. This can cause some confusion as to what license the work is under.
Where exactly would a theme_layout call go for changing a specific post/page layout?
Would it go in post_<post.id>.html.erb
/page_<page.id>.html.erb
?
Hi!
I installed the gem with a clean application and when I entered in /admin/plugins this happened.
Asset filtered out and will not be served: add `Rails.application.config.assets.precompile += %w( plugins/contact_form/assets/docs/index.html )` to `config/initializers/assets.rb` and restart your server
I changed the gem file: config/initializers/assets.rb adding this line in the bottom:
Rails.application.config.assets.precompile += %w( plugins/*/assets/docs/* )
It's correct? Do you need a Pull Request?
Thx!
When creating/editing a post type, the options
section is really confusing.
What exactly does this section do? It seems like it enables these options for that post type. Maybe there should be some help text.
Also, shouldn't an option be permanently enabled? It seems that disabling an option would break plugins when the plugin requires an option to be enabled.
running
$ rails g ctheme my_theme_name
the result is
/Users/my_user/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/fileutils.rb:1386:in `copy': unknown file type: /application_path/lib/generators/ctheme_template/app (RuntimeError)
from /Users/my_user/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/fileutils.rb:471:in `block in copy_entry'
from /Users/my_user/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/fileutils.rb:1497:in `call'
from /Users/my_user/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/fileutils.rb:1497:in `wrap_traverse'
from /Users/my_user/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/fileutils.rb:468:in `copy_entry'
from /Users/my_user/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/fileutils.rb:443:in `block in cp_r'
from /Users/my_user/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/fileutils.rb:1570:in `block in fu_each_src_dest'
from /Users/my_user/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/fileutils.rb:1586:in `fu_each_src_dest0'
from /Users/my_user/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/fileutils.rb:1568:in `fu_each_src_dest'
from /Users/my_user/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/fileutils.rb:442:in `cp_r'
from /Users/my_user/Development/camaleon-cms/lib/generators/ctheme_generator.rb:26:in `create_initializer_file'
from /Users/my_user/.rvm/gems/ruby-2.2.3@gemset_name/gems/thor-0.19.1/lib/thor/command.rb:27:in `run'
from /Users/my_user/.rvm/gems/ruby-2.2.3@gemset_name/gems/thor-0.19.1/lib/thor/invocation.rb:126:in `invoke_command'
from /Users/my_user/.rvm/gems/ruby-2.2.3@gemset_name/gems/thor-0.19.1/lib/thor/invocation.rb:133:in `block in invoke_all'
from /Users/my_user/.rvm/gems/ruby-2.2.3@gemset_name/gems/thor-0.19.1/lib/thor/invocation.rb:133:in `each'
from /Users/my_user/.rvm/gems/ruby-2.2.3@gemset_name/gems/thor-0.19.1/lib/thor/invocation.rb:133:in `map'
from /Users/my_user/.rvm/gems/ruby-2.2.3@gemset_name/gems/thor-0.19.1/lib/thor/invocation.rb:133:in `invoke_all'
from /Users/my_user/.rvm/gems/ruby-2.2.3@gemset_name/gems/thor-0.19.1/lib/thor/group.rb:232:in `dispatch'
from /Users/my_user/.rvm/gems/ruby-2.2.3@gemset_name/gems/thor-0.19.1/lib/thor/base.rb:440:in `start'
from /Users/my_user/.rvm/gems/ruby-2.2.3@gemset_name/gems/railties-4.2.4/lib/rails/generators.rb:157:in `invoke'
from /Users/my_user/.rvm/gems/ruby-2.2.3@gemset_name/gems/railties-4.2.4/lib/rails/commands/generate.rb:13:in `<top (required)>'
from /Users/my_user/.rvm/gems/ruby-2.2.3@gemset_name/gems/activesupport-4.2.4/lib/active_support/dependencies.rb:274:in `require'
from /Users/my_user/.rvm/gems/ruby-2.2.3@gemset_name/gems/activesupport-4.2.4/lib/active_support/dependencies.rb:274:in `block in require'
from /Users/my_user/.rvm/gems/ruby-2.2.3@gemset_name/gems/activesupport-4.2.4/lib/active_support/dependencies.rb:240:in `load_dependency'
from /Users/my_user/.rvm/gems/ruby-2.2.3@gemset_name/gems/activesupport-4.2.4/lib/active_support/dependencies.rb:274:in `require'
from /Users/my_user/.rvm/gems/ruby-2.2.3@gemset_name/gems/railties-4.2.4/lib/rails/commands/commands_tasks.rb:123:in `require_command!'
from /Users/my_user/.rvm/gems/ruby-2.2.3@gemset_name/gems/railties-4.2.4/lib/rails/commands/commands_tasks.rb:130:in `generate_or_destroy'
from /Users/my_user/.rvm/gems/ruby-2.2.3@gemset_name/gems/railties-4.2.4/lib/rails/commands/commands_tasks.rb:50:in `generate'
from /Users/my_user/.rvm/gems/ruby-2.2.3@gemset_name/gems/railties-4.2.4/lib/rails/commands/commands_tasks.rb:39:in `run_command!'
from /Users/my_user/.rvm/gems/ruby-2.2.3@gemset_name/gems/railties-4.2.4/lib/rails/commands.rb:17:in `<top (required)>'
from ./bin/rails:4:in `require'
from ./bin/rails:4:in `<main>'
I'm using RVM with ruby 2.2.3.
I've replaced the my application path with 'application_path' in the output above.
Hi!
I'm working to deploy camaleon-cms on amazon Elastic Beanstalk.
I'm doing a little guide to do it. Exists any type of wiki, or file to include this guide?
I have to run rake update:bin
to run the application on OS X. I think they shebang line should be changed back to #!/usr/bin/env ruby
and Windows users should compensate in their Ruby installation.
Can the suffix of the slug for pages/posts be removed/changed, e.g., /test
instead of /test.html
?
Is there a way for me to use this gem alongside another app?
I want to be able to use Camaleon as a fully featured blog rather than a CMS.
From the admin dashboard.. if you delete the footer in the custom fields, and later try to re-add it. It will no longer show up in the general site > themes area.
Footer appears to be permanently deleted
Can't install with the latest jruby as native extensions are required.
Any plans for some better support for migrations inside of plugins?
Basically, how are migrations handled when we add/update/remove fields to a plugin for a new version?
NoMethodError (undefined method translate' for 333:Fixnum): app/decorators/application_decorator.rb:18:in
the_keywords'
app/decorators/application_decorator.rb:49:in the_seo' app/helpers/frontend/seo_helper.rb:11:in
init_seo'
app/controllers/frontend_controller.rb:136:in render_post' app/controllers/frontend_controller.rb:105:in
post'
Rendered /home/shaiju/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.3/lib/action_dispatch/middleware/templates/rescues/_source.erb (7.2ms)
Rendered /home/shaiju/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.3/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.2ms)
Rendered /home/shaiju/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.3ms)
Rendered /home/shaiju/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.3/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (29.2ms)
Is there any plan to make importing from wordpress automated?
Hi!
I'm working in a mandrill plugin.
Is there any way to override the html_mailer.rb?
I'm thinking in a way to override it only if mandrill plugin is enabled.
Any ideas?
Are you opposed to using a bootstrap navbar in the admin area?
I see there are some bootstrap elements mixed with a custom header. I think this could be simplified by using bootstrap's navbar.
I'm trying to use an image from the images folder inside of my theme but it doesn't work.
Any ideas?
image_tag 'my-image.png'
Hi!
I'm trying to create an free shipment method but when go to checkout view an "Not Found Shipping Methods by Products" message appear.
The problem:
<select class="form-control" name="order[payment][shipping_method]" id="shipping_methods" >
<% current_site.shipping_methods.each do |m|
price = m.get_price_from_weight(total_weight)
if price.to_i > 0
exist_shipping_method = true
weight_price = price unless weight_price.to_i > 0
%>
<option value="<%= m.id %>" data-price="<%= price %>"><%= m.name %> <%= current_site.current_unit %> <%= price %></option>
<% end
end %>
</select>
<% warning << "Not Found Shipping Methods by Products" unless exist_shipping_method %>
Must be:
if price.to_i >= 0
Exists repository for this plugin?
When running the initial migration it fails because there is no definition for the sites table.
== 20150611161134 PostTableIntoUtf8: migrating ================================
-- create_table("users")
rake aborted!
StandardError: An error has occurred, this and all later migrations canceled:
PG::UndefinedTable: ERROR: relation "sites" does not exist
: ALTER TABLE "users" ADD CONSTRAINT "fk_rails_1901bc9cf9"
FOREIGN KEY ("site_id")
REFERENCES "sites" ("id")
/Users/atbyrd/dev/camaleon-cms/db/migrate/20150611161134_post_table_into_utf8.rb:3:in `change'
ActiveRecord::StatementInvalid: PG::UndefinedTable: ERROR: relation "sites" does not exist
: ALTER TABLE "users" ADD CONSTRAINT "fk_rails_1901bc9cf9"
FOREIGN KEY ("site_id")
REFERENCES "sites" ("id")
/Users/atbyrd/dev/camaleon-cms/db/migrate/20150611161134_post_table_into_utf8.rb:3:in `change'
PG::UndefinedTable: ERROR: relation "sites" does not exist
/Users/atbyrd/dev/camaleon-cms/db/migrate/20150611161134_post_table_into_utf8.rb:3:in `change'
Tasks: TOP => db:migrate
(See full trace by running task with --trace)
There was an issue building your app. This can mean your app.json's project is not a valid Heroku application. Please ensure your app is deployable to Heroku and try again.
I tried to set it up with Postgres instead of MySql, and it threw and error, is there a way to make it work with Postgres?
ruby 2.2.2p95
Rails 4.2.3
I tried to install camaleonCMS on my UbuntuServer, but the command "rails generate camaleon_cms:install" seems to have issues, it never exits.
After I cancel the process with "ctrl + c", it responds with : /home/vagrant/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/spring-1.3.6/lib/spring/client/run.rb:98:in gets': Interrupt from /home/vagrant/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/spring-1.3.6/lib/spring/client/run.rb:98:in
verify_server_version'
from /home/vagrant/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/spring-1.3.6/lib/spring/client/run.rb:56:in run' from /home/vagrant/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/spring-1.3.6/lib/spring/client/run.rb:37:in
warm_run'
from /home/vagrant/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/spring-1.3.6/lib/spring/client/run.rb:26:in call' from /home/vagrant/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/spring-1.3.6/lib/spring/client/command.rb:7:in
call'
from /home/vagrant/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/spring-1.3.6/lib/spring/client/rails.rb:24:in call' from /home/vagrant/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/spring-1.3.6/lib/spring/client/command.rb:7:in
call'
from /home/vagrant/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/spring-1.3.6/lib/spring/client.rb:26:in run' from /home/vagrant/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/spring-1.3.6/bin/spring:48:in
<top (required)>'
from /home/vagrant/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/spring-1.3.6/lib/spring/binstub.rb:11:in load' from /home/vagrant/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/spring-1.3.6/lib/spring/binstub.rb:11:in
<top (required)>'
from /home/vagrant/.rbenv/versions/2.2.2/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in require' from /home/vagrant/.rbenv/versions/2.2.2/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in
require'
It will be great if we can implement Right To Left orientation support. I used to have this requiremt when i was doing Project with Arabic language support
I think plugins (really anything with a separate Gemfile) should be isolated so the gems in it don't conflict. For example, adding slim to a plugin and to the main Rails application causes bundler warnings.
Hi!
I've created a new plugin for Google Analytics.
I've created a new repository (https://github.com/raulanatol/camaleon-google_analytic).
Regards
Hi,
I found the following error when trying to reorder custom fields groups through the admin panel:
Started POST "/admin/api/reorder?model=field_groups" for ::1 at 2015-08-21 13:22:10 +0200
AbstractController::ActionNotFound (The action 'api' could not be found for AdminController):
actionpack (4.2.3) lib/abstract_controller/base.rb:132:in `process'
actionview (4.2.3) lib/action_view/rendering.rb:30:in `process'
actionpack (4.2.3) lib/action_controller/metal.rb:196:in `dispatch'
actionpack (4.2.3) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
actionpack (4.2.3) lib/action_controller/metal.rb:237:in `block in action'
actionpack (4.2.3) lib/action_dispatch/routing/route_set.rb:76:in `call'
actionpack (4.2.3) lib/action_dispatch/routing/route_set.rb:76:in `dispatch'
actionpack (4.2.3) lib/action_dispatch/routing/route_set.rb:45:in `serve'
actionpack (4.2.3) lib/action_dispatch/journey/router.rb:43:in `block in serve'
actionpack (4.2.3) lib/action_dispatch/journey/router.rb:30:in `each'
actionpack (4.2.3) lib/action_dispatch/journey/router.rb:30:in `serve'
actionpack (4.2.3) lib/action_dispatch/routing/route_set.rb:821:in `call'
Is there any support for changing a page's layout from the admin? For example, what if I want an About page that uses a 1-column layout but I want all other pages to use a 2-column layout?
How would a site running camaleon be upgraded to the latest release of camaleon?
It seems like it would a tedious task to upgrade a site to the latest release since camaleon isn't a Rails engine or gem.
Hi!
I'm working in a plugin for integrate with Mailchimp but I need to append an extra parameter in the user's entity for save if the user is newsletter enabled or no.
I do this (custom_models.rb file)
User.class_eval do
attr_accessible :newsletter_subscribed
end
But it's not possible access to this parameter. The class_eval method works fine because I created an extra method and it works fine.
Thx!
Is there any way to drop the /plugin
part of a route exposed by a plugin?
Suppose I have a plugin called About
. Can I have the frontend use /about/something/list
?
Hi!
Exists any way to disable the captcha in the registration process?
I'm thinking to create an new settings parameter to do it.
Thx!
I think we should move the user profile information from the left sidebar and put it in the navbar.
Thoughts?
Any plans to move away from using protected_attributes
and using strong parameters instead of attr_accessible
et. al.?
Is there any plan to make AWS s3 sync for media files?
Hi!
When the project was changed to gem the ecommerce plugin was erased.
Last plugin update: 99b04f7
Are you going to remove this plugin?
I'm thinking to restore the plugin code.
Any ideas?
Thanks!
Bootstrap colors and styles are being overridden inside of theme-default.scss
. You could actually change this in SASS to override the variables within variables.css.scss
or variables.css.sass
.
N.B. I believe the .css
portion has been optional for awhile now.
Is there a way to use elfinder
inside of a camaleon plugin?
Is it possible to locate TinyMCE with the language setting of Camaleon CMS ? When I change the language of the CMS, the language of TinyMCE doesn't change
Hi;
i'm getting this error just after putting site name
No such file or directory @ rb_sysopen camaleon-cms/app/apps/../../config/system.json
def self.system_info_set(key, val)
ff = File.read(File.join(apps_dir, "..", '..', "config", "system.json"))
File.open(File.join(apps_dir, "..", '..', "config", "system.json"), "w") do |f|
f.write(ff.sub(/"#{key}": ?"(.*)"/, ""#{key}": "#{val}""))
end
A lot of the admin pages take a long time to load.
I notice some cached queries but a lot of the time is actually spent in the views.
I think it's something to investigate but it could just be the asset pipeline, etc while running in development mode.
Any plans on adding a test suite?
Hi!
I'm working in a plugin (media_aws_s3) to permit upload all media to s3.
I created an elFinder gem to connect with S3 (not stable yet).
I'm testing the new gem like camaleon plugin and works fine but I have a problem with
the fix_ssl.rb initializer, because when I make a request to S3 (using aws-sdk gem) this
initializer use the certificate (lib/ca-bundle.crt) and the http connection response:
SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed
I changed this initializer:
def use_ssl=(flag)
self.verify_mode = OpenSSL::SSL::VERIFY_PEER
self.original_use_ssl = flag
if @address.to_s.include? "amazonaws.com"
self.ca_file = nil
self.ca_path = nil
self.cert_store = nil
else
self.ca_file = Rails.root.join('lib/ca-bundle.crt').to_s
end
end
And it works but I think that isn't elegant.
Any idea?
Is there a way to get rid of .html from URLs?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.