Commit graph

239 commits

Author SHA1 Message Date
Philipp Rothmann
a96f21134e feat(messages): attachment retention task 2023-08-04 12:48:15 +02:00
Philipp Rothmann
fb2b4d8a8a chore: rubocop
chore: fix api test conventions

chore: rubocop -A spec/

chore: more rubocop -A

fix failing test

rubocop fixes

removes helper methods that are in my opinion dead code

more rubocop fixes

rubocop -a --auto-gen-config
2023-06-09 17:35:05 +02:00
Philipp Rothmann
a7775f5a98 add setup_storage to stock_config 2023-06-09 17:35:05 +02:00
4ff44aed4c mv lib to app/lib due to upgrade 2023-06-09 17:35:05 +02:00
Patrick Gansterer
a81bb25512 Bundle update rubocop and auto correct style issues 2022-10-08 16:03:19 +02:00
Patrick Gansterer
9c9ebdf557 Bundle update rubocop and auto correct style issues 2022-05-27 23:10:07 +02:00
Patrick Gansterer
3a25a50d8d Small improvements and style fixes in BankAccountInformationImporter 2022-05-27 22:41:08 +02:00
Patrick Gansterer
7e8c1d041d Auto correct rubocop style issues 2022-02-20 16:28:54 +01:00
Patrick Gansterer
052d297bff Add expected_amount to Invoice
expected_amount returns the sum of all associated orders together with
the transport costs.
2022-02-18 13:12:27 +01:00
Patrick Gansterer
bca29bea70 Bundle update midi-smtp-server 2022-02-16 17:56:04 +01:00
Patrick Gansterer
19efd68c5f
Add support for ActiveStorage (PR #852) 2022-01-31 08:44:53 +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
d48320f9e0 Add CSV download for User 2021-03-08 17:28:08 +01:00
Patrick Gansterer
07c8393c8c Add availability_short header to ArticlesCsv (fixes #854) 2021-03-08 12:05:34 +01:00
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