ChiliProject plugin that fixes plugin asset links to contain proper asset ids for sub URI deployments
Ruby JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
assets
lib
test
COPYRIGHT.txt
GPL.txt
README.rdoc
init.rb

README.rdoc

Proper Plugin Assets

This Plugin fixes plugin asset links to contain proper asset ids for sub URI deployments. The engines plugin, that is currently used in ChiliProject, does not handle this well at the moment.

This is especially important, when you're configuring you web server to send long-in-the-future cache expiry headers to reliably reduce page loading times for returning visitors while avoiding negative side-effects.

Requirements

This plugin aims to be compatible with

  • ChiliProject 1.x

  • ChiliProject 2.x

It may also work for Redmine 1.x release, though this was not tested.

If you are running into compatibility issues, please report a bug in the project's issue tracker.

Installation

Please follow the default plugin installation instructions for ChiliProject. This plugin does not contain any migrations.

Deinstallation

Remove the Plugin from vendor/plugins

rm -r vendor/plugins/chiliproject_proper_plugin_assets

Development

To execute plugin's tests, run the following command from Rails.root

rake test:plugins PLUGIN=chiliproject_proper_plugin_assets

When you are running into bugs or want to extend the functionality of this plugin with new features, feel free to fork this repository and send pull requests.

License

© 2011 - Gregor Schmidt - Finn GmbH

This plugin is licensed under the GNU GPL v2. See COPYRIGHT.txt and GPL.txt for details.