Patrick Gansterer
38d49dedb8
Make usage of Docker for development easier by avoiding COPY operations
2021-03-05 11:33:28 +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
Patrick Gansterer
4752a0aaa9
Add method to parse bank transactions as JSON
...
This implements parsing of the Account Information Service format as
defined in the Berlin Group Group NextGenPSD2 XS2A Framework, which
is widely used across various European banks.
This is a first step to replace the current bank import features with
a standardized JSON interface.
2021-02-24 14:59:55 +01:00
Patrick Gansterer
1656efd845
Add transport to OrderPDF
2021-02-12 15:18:03 +01:00
Patrick Gansterer
ca0398632b
Improve parsing of BankTransactionReference
...
Allow more characters before and after the actual reference.
Also use the correct matching method during testing.
2021-02-12 15:17:45 +01:00
Patrick Gansterer
26a91ec957
Avoid page breaks during tables in OrderPdf
2021-02-12 14:56:21 +01:00
Patrick Gansterer
9f2e630266
Add CSV downloads for BankTransaction and Invoice
2021-02-12 14:55:59 +01:00
Patrick Gansterer
8fd484eda5
Use ordergroup_name instead of ordergroup.name in FinancialTransactionsCsv
2021-02-08 01:05:04 +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
67ab647eb0
Remove number_display.rb
2020-08-03 15:31:34 +02:00
Patrick Gansterer
75129b52c6
Add set_balance_as_sum and wait_with_text to BankAccountConnector
2020-07-29 19:19:27 +02:00
Patrick Gansterer
e16f03eebf
Add reference_calculator
2020-07-29 11:02:58 +02:00
Patrick Gansterer
5a9cc811c9
Add download for articles
2020-06-22 16:35:22 +02:00
Patrick Gansterer
b45e48e4c9
Fix missing stock group orders in PDFs
2020-03-23 16:26:06 +01:00
Patrick Gansterer
6486f56b0d
Use function as argument for validate in date_time_attribute
...
Passing the name of the function as string is deprecated.
2020-03-23 16:15:42 +01:00
Patrick Gansterer
5d84156bd8
Add BankAccountConnector to implement bank import methods in plugins
2020-02-24 14:30:03 +01:00
Patrick Gansterer
241d504a76
Add ExceptionNotifier to multicoops:run task
2019-11-04 12:01:05 +01:00
Patrick Gansterer
9fc51bdce8
Add rake task to import bank_transactions
2019-10-29 18:06:53 +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
Tom Carchrae
7050137c68
Fix group and matrix PDFs ( fixes #648 )
2019-04-03 16:58:27 +00:00
Patrick Gansterer
d925533366
Fix rendering of stock order in OrderByGroups
2019-02-05 23:31:45 +01:00
Patrick Gansterer
a2188cb6b8
Add financial_transaction_type to CSV ( fixes #578 )
2019-01-15 05:27:45 +01:00
Patrick Gansterer
d67bbe447f
Do not raise Encoding::UndefinedConversionError during CSV rendering
...
Use replacement characters instead of exceptions.
2019-01-15 05:23:34 +01:00
Patrick Gansterer
71fd6f2a24
Add CSV download for ordergroups
2019-01-15 04:50:32 +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
wvengen
fd96b6ccc1
Prepare for API v1 (PR #570 )
2018-10-13 20:16:35 +02:00
Patrick Gansterer
5408c08b58
Refactor FoodsoftFile to reuse the code later
2018-10-11 21:56:27 +02:00
Patrick Gansterer
209ad615b4
Add view to sort orders by pickup day
2017-12-09 12:56:34 +01:00
Patrick Gansterer
3e156bbbf3
Rewrite OrderPdfs to support multiple orders at once
2017-12-09 12:22:37 +01:00
wvengen
f5bea41ccf
Remove Capistrano ( #491 , PR #521 )
2017-10-28 19:50:02 +02:00
Patrick Gansterer
564492afe4
Add an option to automatically finish an order
2017-10-12 21:14:29 +02:00
Patrick Gansterer
e9b346f02c
Use Rails.logger for the SMTP server too
2017-10-09 16:42:01 +02:00
Patrick Gansterer
a6dd7c731a
Use only one thread for receiving mails to avoid concurrency problems
2017-10-09 16:41:09 +02:00
Patrick Gansterer
08ac3aa539
Log problems with RCPT TO commands when receiving mails
2017-10-09 16:39:07 +02:00
Patrick Gansterer
8111e3cc59
Call the ExceptionNotifier for erros in FoodsoftMailReceiver
2017-10-09 10:32:32 +02:00
Patrick Gansterer
b35357d4b3
Do not accept invalid addresses in SMTP RCPT TO
...
This gives the MTA the chance to inform the original sender
about the transmission error via a delivery report.
2017-10-05 10:14:49 +02:00
Patrick Gansterer
e017a1196e
Improve the interface of FoodsoftMailReceiver
2017-10-03 17:26:33 +02:00
wvengen
0363f2dadc
Improve Docker setup (PR #497 )
2017-10-01 13:57:36 +02:00
Patrick Gansterer
7d594bf391
Move SMTP server from messages plugin into core
2017-09-30 13:44:04 +02:00
Patrick Gansterer
2264351cf5
Remove code duplication for catching errors when sending mails
2017-09-30 12:20:17 +02:00
Patrick Gansterer
43c1833cd7
Set ActionMailer configuration in FoodsoftConfig
2017-09-30 12:14:15 +02:00
Patrick Gansterer
e6e8c845cd
Cleanup notify_users_of_weekly_task
2017-09-30 12:11:44 +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
57bfd542b4
Fix create_upcoming_periodic_tasks after 9ae7c05
2017-02-15 09:52:16 +01:00