d059b736a6
test branch for rails up
2022-10-13 17:43:00 +02:00
Patrick Gansterer
9c9ebdf557
Bundle update rubocop and auto correct style issues
2022-05-27 23:10:07 +02:00
Patrick Gansterer
7e8c1d041d
Auto correct rubocop style issues
2022-02-20 16:28:54 +01:00
kidhab
eacbabbfdb
Add default time_zone (PR #912 , #908 )
...
There is no default time zone setting in newly created Foodsoft instances.
2022-01-21 15:12:22 +01:00
Patrick Gansterer
ea2862fdef
Run rubocop --fix-layout and remove encoding comments
2021-03-02 09:12:19 +01:00
wvengen
db5a499e4c
Fix (non-background) mailing for single coop installs (PR #841 , #788 )
2021-02-26 15:24:33 +01:00
lentschi
45a8911ca6
Add option to ignore delivered amounts in order group distribution ( #765 )
2021-02-05 16:19:05 +01:00
Patrick Gansterer
91eeac6c40
Set the common ActionMailer default_url_options only once
...
There is no need to set options other than the foodcoop during every
change of the scope. This also makes sure that the correct options will
be loaded during testing to fix problems with newer rails versions.
2019-10-29 13:40:45 +01:00
Tom Carchrae
31689dfb75
allow override of default limit (<200) on articles on shared suppliers ( #609 )
2019-01-15 02:55:12 +01:00
wvengen
9c5a5d9492
API v1 config endpoint
2018-10-13 20:41:47 +02:00
Patrick Gansterer
43c1833cd7
Set ActionMailer configuration in FoodsoftConfig
2017-09-30 12:14:15 +02:00
Patrick Gansterer
52dc7b1387
Raise a RoutingError for unknown foodcoop in multi_coop_installs
...
This gives the correct error code for request to files in the root
folder (e.g. /apple-touch-icon.png), which do not exist.
2017-09-25 10:16:03 +02:00
Patrick Gansterer
f8662c9184
Redirect to root_url of default_scope when no slug is given
2017-08-29 23:40:48 +02:00
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