Skip to content
wvengen edited this page May 6, 2016 · 38 revisions

Some features are only interesting for a number of foodcoops (like online payments); and some functionality is independent of the rest of foodsoft, but would be nice to have (like a wiki). These are candidates for foodsoft plugins.

Bundled plugins

  • wiki - foodsoft's wiki pages (enabled by default)
  • messages - foodsoft's messaging system (enabled by default)
  • current_orders - new screens working on all "current" orders as if they were one.
  • uservoice - Uservoice integration
  • documents - sharing files and documents

External plugins

  • mollie - online payment for Dutch banks using iDEAL
  • adyen - self-service online payment, as well as PIN payment using Adyen app and shuttle
  • signup - allow prospective members to signup for an account, which needs to be approved to become a full member
  • userinfo - Simple component to use foodsoft authentication in other systems (phpBB provided).
  • mailall - Adds a button on the user admin page to mail all users or a selection, and download a CSV.

External scripts

Plugins in development

  • vokomokum - integration with Vokomokum accounts and finances
  • payorder - allow members to pay directly after they've placed their order

Installing a plugin

  • Add the plugin to your Gemfile
    gem 'foodsoft_sayhi', path: 'path/to/foodsoft_sayhi'
    
  • Run bundle install to make sure new dependencies are installed
  • Import database migrations: rake railties:install:migrations (RoR guide)
  • Run database migrations: rake db:migrate
  • Review the plugin's README, you may want to add foodcoop configuration options.

Updating

When you've updated a foodsoft plugin, you need to run the following commands:

  • bundle install
  • rake railties:install:migrations (extra step for plugins)
  • rake db:migrate
  • in production, with plugins using deface, you may want to precompile templates for performance

Creating a new plugin

This is explained in Plugin development.