Commit graph

203 commits

Author SHA1 Message Date
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
Patrick Gansterer
294d14624c Count only undeleted users for the user_count expansion varibale 2016-03-04 20:47:49 +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
Patrick Gansterer
9ae7c05a89 Create next tasks directly after creating a periodic task 2016-03-04 17:13:16 +01:00
wvengen
6bf693e0ee Fix lingering buglet (would not even run with Array) 2015-11-14 17:07:44 +01:00
wvengen
c1413ff817 Allow clearing default order schedule 2015-10-23 14:53:01 +02:00
Mike iLL Kilmer
7abaa1ac92 Add more concise prompt for database configuration process. 2015-08-11 21:18:43 -05:00
Benjamin Meichsner
342b916ce6 Use OpenSans TTF for better utf-8 compability in prawn documents. 2015-06-12 17:03:22 +02:00
wvengen
c388b4e410 Merge branch 'dockerization' 2015-05-08 13:06:15 +02:00
wvengen
27050f8b02 Make rake setup task work with Docker 2015-05-02 14:34:13 +02:00
wvengen
26e7012ef0 Fix import options and add tests 2015-04-11 02:52:57 +02:00
wvengen
07ba6f0535 Import multiple spreadsheet formats. Make upload work like sync. 2015-04-11 02:52:57 +02:00
wvengen
15ac566ece Add help page for Foodsoft variables 2015-03-20 16:32:58 +01:00
wvengen
9df483cf4e Add foodsoft expansion variables for wiki 2015-02-28 14:50:25 +01:00
wvengen
be128243fc Cleanup wiki plugin a bit 2015-02-28 14:50:25 +01:00
wvengen
118886344a Use boolean comparators where it makes sense 2015-01-14 21:17:00 +01:00
wvengen
2687da357a Fix mailer warnings 2015-01-13 18:02:30 +01:00
wvengen
cfdfe5f23e Improve header+footer in PDFs 2015-01-03 00:24:33 +01:00
wvengen
d1ece157c6 Get rid of last empty page in PDFs 2015-01-03 00:24:33 +01:00
wvengen
3e6a882268 Don't provide default date when schedule is unset 2014-12-31 14:24:55 +01:00
wvengen
cee2ac8f9f Merge pull request #331 from foodcoops/feature/configure-upfront-tasks
Configure upfront tasks
2014-12-06 14:35:22 +01:00
wvengen
a278004c11 Merge pull request #330 from foodcoops/feature/plugin-move
Move plugins to separate directory.
2014-12-02 23:37:22 +01:00
wvengen
f6c008c79c Allow configuration of task periods 2014-11-23 01:34:51 +01:00