Patrick Gansterer
04a833a5f5
Allow ERB syntax in the app_config.yml
...
This change allows us to refer to envrionment variables in the yml file.
This is helpful if passwords are passed as environment variables in
Docker installations to avoid plain passwords in configuration files.
2017-03-04 13:17:22 +01:00
Patrick Gansterer
56d121e02e
Fix FoodsoftConfig.each_coop after 4e35e2d
2017-02-15 09:52:37 +01:00
Patrick Gansterer
4e35e2d58e
Add handling for message reply via email
...
If the reply_email_domain configuration is set the messages plugin will
use unique Reply-To addresses for every email. They contain enough
information to reconstruct the message context and a hash to avoid
user forgery and spam.
A mail transfer agent must be configured to call the new rake task
foodsoft:parse_reply_email for incoming mails. The rake task requires
the receipt of the mail in the RECIPIENT variable and the raw message
via standard input. An example invocation would look like:
rake foodsoft:parse_reply_email RECIPIENT=f.1.1.HASH < test.eml
2016-03-04 18:11:27 +01:00
wvengen
6bf693e0ee
Fix lingering buglet (would not even run with Array)
2015-11-14 17:07:44 +01:00
wvengen
118886344a
Use boolean comparators where it makes sense
2015-01-14 21:17:00 +01:00
wvengen
f6c008c79c
Allow configuration of task periods
2014-11-23 01:34:51 +01:00
wvengen
6e990fed4c
Upgrade to rails 4.1
2014-11-21 14:37:56 +01:00
wvengen
a594dffed2
disable config validation (closes foodcoops#313)
2014-09-30 15:09:47 +02:00
wvengen
8b83787252
simplify config loading
2014-09-11 16:40:21 +02:00
wvengen
92b6e6e28e
fix encoding issue (for Ruby 1.9)
2014-09-11 14:46:50 +02:00
wvengen
1c878c3c13
fix config issue with nested hash
2014-09-02 16:19:08 +02:00
wvengen
10a193add3
make nested properties work better
2014-09-02 15:02:26 +02:00
wvengen
68ccc19c70
allow to configure currency (closes foodcoops#258)
2014-09-02 15:02:25 +02:00
wvengen
f09ef892dc
add foodsoft_config protection whitelisting
2014-09-02 15:02:25 +02:00
wvengen
daae87f6d5
fix deprecation warning
2014-09-02 14:21:32 +02:00
wvengen
6115979bae
allow protected keys to be set/unset + config_db tests
2014-09-02 14:21:32 +02:00
wvengen
34e8901d04
let plugins define their own foodcoop-config defaults
2014-09-02 14:21:32 +02:00
wvengen
429e111db4
hide protected keys from config
2014-09-02 14:21:32 +02:00
wvengen
90f60595e6
don't fail in foodsoft_config without database,
...
and use proper config defaults so that configuration editing has
sensible default values
2014-09-02 14:21:32 +02:00
wvengen
7b000c39eb
add foodcoop configuration screen
2014-09-02 14:21:32 +02:00
wvengen
dd3ac0971c
allow to put foodcoop config in database
2014-09-02 14:21:32 +02:00
wvengen
6466ea9653
revamp footer
2014-06-23 17:51:20 +02:00
wvengen
34f85895c5
make multicoops:run also work on single coop
2014-05-30 12:13:09 +02:00
wvengen
83738c8383
set config defaults for multicoops
2014-05-13 17:01:27 +02:00
wvengen
6d98be6d22
reload app config before each test
...
(complements 21bef8e304d05025b72b39e790abc7e8a4f4f5e1)
2014-05-13 17:01:26 +02:00
wvengen
ed439d0b08
use minimal app_config for tests
2014-05-13 17:01:26 +02:00
wvengen
0ed867b991
optional database overrides in multicoop app_config
2014-05-13 17:01:26 +02:00
wvengen
3f032e5dd9
make apple points optional
...
a next step would be to move this to a plugin
2014-05-13 17:01:25 +02:00
wvengen
e4f0a1e3ed
start of making nickname optional
2013-09-20 22:40:13 +02:00
benni
ea547c84f0
Added rake task to execute every rake task for every foodcoop.
2012-08-27 08:24:25 +02:00
benni
ec2e761e7f
Fixed multi coop routing and changed config accessors.
2012-08-24 19:52:38 +02:00