Commit graph

2275 commits

Author SHA1 Message Date
Martin Meyerhoff
a45fd38e37 Remove `config.mass_assignment_sanitizer from development.rb sample
This configuration option has been removed in Rails 4; I've only found
references to it from people running Rails 3.
2019-11-12 13:11:14 +01:00
Martin Meyerhoff
5d82f16c70 Lock SQLite3 to < 1.4 2019-11-12 06:51:24 +01:00
Harald Reingruber
9897c1056f Add warning about Windows line-endings issues to docs 2019-11-11 15:48:04 +01:00
Patrick Gansterer
9babb6cfe9 Fix rendering of financial transaction types sums 2019-11-11 13:57:06 +01:00
Martin Meyerhoff
54503f2dc4 Add .ruby-version file
I use the `rbenv` Ruby version manager, and adding this file makes that
work.
2019-11-11 11:54:14 +01:00
Patrick Gansterer
9757e7a216 Fix Mailer.upcoming_tasks 2019-11-11 11:26:55 +01:00
Patrick Gansterer
de94220758 Add FoodsoftConfig.scope to ExceptionNotifier.notify_exception 2019-11-11 11:18:51 +01:00
Patrick Gansterer
db4c29ff1b Make the uniqueness of the name of a group expicit in the model 2019-11-11 11:12:27 +01:00
Patrick Gansterer
eb8241cf04 Fix rescue in Admin::MailDeliveryStatusController#destroy 2019-11-11 11:11:33 +01:00
Patrick Gansterer
1d9856ff93 Handle nil values correctly in User.authenticateUser 2019-11-11 11:10:26 +01:00
Patrick Gansterer
241d504a76 Add ExceptionNotifier to multicoops:run task 2019-11-04 12:01:05 +01:00
Patrick Gansterer
e498f9cb58 Add default roles for users
Some foodcoops want to give some roles to every member by default,
without adding every users to a workgroup.
2019-11-04 11:39:33 +01:00
Patrick Gansterer
ff76fa60c0 Allow deletion of financial transactions 2019-11-01 20:56:00 +01:00
Patrick Gansterer
260ef90f6b Add option to create a financial_link when creating financial_transaction
If multiple financial transaction belong to a bank transaction, it
is sometimes easier to create them as a collection and add the bank
transaction instead of adding all financial transaction to a link
created via a bank transaction.
2019-10-30 22:27:18 +01:00
wvengen
ef613300e0
Reduce integration spec error rate (#686, PR #693) 2019-10-30 15:56:53 +00:00
Patrick Gansterer
7875eeff2c Fix link for creation of financial link on bank transaction page 2019-10-30 12:44:29 +01:00
Patrick Gansterer
d89254c42b Show attachment and note in the unpaid invoices overview 2019-10-30 12:43:23 +01:00
Patrick Gansterer
c559a31a9e Fix and clean up bank account translations for English and German 2019-10-30 12:42:41 +01:00
Patrick Gansterer
0564b18e22 Fix message plugin after f8148e7d30 2019-10-30 12:02:00 +01:00
Patrick Gansterer
30c53746fc Replace custom search placeholder with ui.search_placeholder 2019-10-30 12:00:46 +01:00
Patrick Gansterer
1550eedb5a Add additional eager loading annotations 2019-10-30 11:53:44 +01:00
Patrick Gansterer
39aff78f11 Remove protected_attributes gem
We do not enforce the rules, so removing it and switching the existing
annotations to strong_parameters does not make our situation worse.
2019-10-29 18:09:24 +01:00
Patrick Gansterer
9fc51bdce8 Add rake task to import bank_transactions 2019-10-29 18:06:53 +01:00
Patrick Gansterer
d4ab0a055f Fix "Cannot infer root key from collection type." in UserController 2019-10-29 17:46:04 +01:00
Patrick Gansterer
1773018191 Use class Rack::Cors instead of string to fix rails 5 warnings 2019-10-29 17:45:37 +01:00
Patrick Gansterer
8e2ca5e7d7 Add automatic generation of financial transactions and links 2019-10-29 13:52:56 +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
Patrick Gansterer
722bb474d1 Show private messages in foodsofts index pages (fixes #106) 2019-10-29 13:40:11 +01:00
Patrick Gansterer
f8148e7d30 Store message receivers in a new table instead of in a serializied value 2019-10-29 13:40:11 +01:00
Harald Reingruber
1cb7f888b7 Fix Gemfile.lock write permission for Docker dev build 2019-10-29 13:39:34 +01:00
Patrick Gansterer
2100c738af Change deprecated *_filter methods to *_action 2019-10-29 09:41:01 +01:00
Patrick Gansterer
bee671c90e Remove deprecated and obsolete quiet_assets gem
As of sprockets-rails version 3.1.0 the same functionality can be
enabled via config.assets.quiet.
2019-10-29 09:40:22 +01:00
Patrick Gansterer
a0d4fad4d8 Add multi_coop configuration via environment variable in docker setup
If the file app_config.defaults.yml exists in the working directory,
the content will be written to the config/app_config.yml and appended
by a configuration entry for every foodcoop in the space separated
environment variable FOODSOFT_FOODCOOPS.
2019-10-28 19:01:02 +01:00
Patrick Gansterer
ae11931ca5 Create database.yml via Dockerfile 2019-10-28 19:01:02 +01:00
wvengen
6d9c35db20 Move to apparition for integration tests 2019-10-28 17:58:14 +00:00
wvengen
8823ca2060 Bundle update (except capybara) 2019-10-28 17:58:14 +00:00
wvengen
84319d2c1a Update midi-smtp-server and silence test messages 2019-10-28 17:58:14 +00:00
wvengen
f2cb17bcd6 Upgrade factory_bot, faker 2019-10-28 17:58:14 +00:00
wvengen
e6a1bfcb45 Add command to update translations 2019-10-26 21:30:51 +02:00
wvengen
9840803a9f Crowdin roundtrip 2019-10-26 21:24:46 +02:00
wvengen
d4d82846e1 Update Crowdin configuration
This makes the Crowdin CLI work, when you set CROWDIN_API_KEY.
2019-10-26 21:03:08 +02:00
wvengen
132b9765ed Move translations to printer plugin 2019-10-21 17:42:25 +00:00
wvengen
3cbb5783d4 Move translations to wiki plugin 2019-10-21 17:42:25 +00:00
wvengen
ca76de8a5b Move translations to messages plugin 2019-10-21 17:42:25 +00:00
wvengen
4366a9b2bb Move translations to documents plugin 2019-10-21 17:42:25 +00:00
wvengen
f3ffcdaf6a Move translations to discourse plugin 2019-10-21 17:42:25 +00:00
wvengen
c03bd5996c Move translations to current_orders plugin 2019-10-21 17:42:25 +00:00
Rolf Schröder
7f963b43dc Make DE translations consistent (PR #678) 2019-10-15 15:35:51 +00:00
JuliusR
71bdf3bfcc Allow to copy articles (PR #673, #541) 2019-10-14 07:25:34 +00:00
JuliusR
3ade87167a Allow Wiki links to pages that have number signs in title 2019-10-14 07:24:53 +00:00