foodsoft/plugins/documents
nurp f2d5936cf0
Turkish language support added (#995)
* Added Turkish translation with help of ChatGPT

* Changed 'article' and 'item' to 'ürün' and addedtranslations for messages plugin

* added translation for the rest of plugins

* merge conflicts

* fix tr.yml in messages plugin

* Corrected more translations

---------

Co-authored-by: Nurp <>
2023-04-12 21:42:03 +02:00
..
app Run rubocop --fix-layout and remove encoding comments 2021-03-02 09:12:19 +01:00
config Turkish language support added (#995) 2023-04-12 21:42:03 +02:00
db/migrate Add Rails release to ActiveRecord::Migration 2020-09-05 14:40:11 +02:00
lib Run rubocop --fix-layout and remove encoding comments 2021-03-02 09:12:19 +01:00
foodsoft_documents.gemspec Remove deprecated test_files attributes from gemspec files 2022-05-27 22:41:18 +02:00
Rakefile Auto correct rubocop style issues 2022-02-20 16:28:54 +01:00
README.md Switch license to AGPL (fixes #496, PR #513) 2017-11-10 17:02:35 +01:00

FoodsoftDocuments

This plugin adds documents to foodsoft. A new 'Documents' menu entry is added below the 'Foodcoops' menu in the navigation bar.

This plugin is not enabled by default. To install it, add uncomment the corresponding line in the Gemfile, or add:

gem 'foodsoft_documents', path: 'lib/foodsoft_documents'

Then activate the plugin (explained here):

bundle install
rake railties:install:migrations
rake db:migrate

This plugin introduces the foodcoop config option use_documents, which can be set to true to enable documents. May be useful in multicoop deployments.

Notes

This plugin may have some issues on certain installations:

  • Files are stored in the database (up to 16MB per file). If your database has size limitations, you may want to consider how to use them.

  • Members can upload any filetypes and filenames, which means there is no protection against files with viruses, or executable files.

Before this plugin would be enabled by default, at least the latter would need to be solved.

This plugin is part of the foodsoft package and uses the AGPL-3 license (see foodsoft's LICENSE for the full license text).