push_type
push_type copied to clipboard
PushType is a modern, open source content management system for Ruby on Rails.
This PR fixes #49. I faced the same issue with Rails 5.2 and push_type 0.12.1. Upon checking the parameters sent to `PushType::Admin::AssetsController#upload` I found that `authenticity_token` field was missing. [https://discuss.pushtype.org/t/unprocessable-entity-upon-an-asset-upload/349](Forum...
After upgrading to Rails 5.2, media are no longer able to be uploaded. Oddly, it raises an InvalidAuthenticityToken. Steps to reproduce: 1. Create a fresh Rails 5.1.5 app and install...
Matrix fields with relation sub fields that allow multiple values do not seem to be working properly. Create a Relation, for e.g. ``` class Note < PushType::Node has_child_nodes :false field...
This fixes a bug where when selecting the permalink value to copy into the address bar, it would place spaces after the forward slashes and result in having to manually...
If routes are being pulled in via another Engine, the `map_app.url_for` can fail resulting in a `ActionController::UrlGenerationError` error
I'm unable to initialize a new database in an app when PushType is installed. This occurs with Rails 5.2; I haven't tried it yet with 5.1 Environment: - ruby '2.4.1'...
I've just ran into an issue where a user was making changes to a ton of pages but didn't think about changing the slug as well so we had a...
To make it easier to integrate PushType with own user and authentication setups, there should be a configuration options for the user class. ```ruby # config/initializers/push_type.rb config.user_class = PushType::User ```...
The bug tracker on one of our sites is being flooded with requests similar to: /media/image_path.jpg?style=245x320# UNION ALL SELECT NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL-- ggwd Resulting in params: { "style": "245x320# UNION ALL SELECT...
When PushType can't find a node, it [raises `ActiveRecord::RecordNotFound`](https://github.com/pushtype/push_type/blob/master/core/app/controllers/front_end_controller.rb#L41). I realised that I can add a `rescue_from` handler to my `ApplicationController` in order to handle this gracefully, but this isn't...