Commit graph

2413 commits

Author SHA1 Message Date
Philipp Rothmann
e7281b56af wip: Add controller tests
Co-authored-by: viehlieb <pf@pragma-shift.net>
Co-authored-by: Tobias Kneuker <tk@pragma-shift.net>
2022-12-05 16:43:25 +01:00
Philipp Rothmann
26e5d0a9bf Add home controller test
Co-authored-by: viehlieb <pf@pragma-shift.net>
Co-authored-by: Tobias Kneuker <tk@pragma-shift.net>
2022-12-05 16:26:06 +01:00
kidhab
427561e5ae Add sd_notify. Puma supports systemd's Type=notify and watchdog service 2022-10-26 20:06:41 +02:00
3ffdb424d5 replace deprecated update_attributes with update 2022-10-26 13:19:27 +02:00
dependabot[bot]
eb45a2bf21
Bump nokogiri from 1.13.8 to 1.13.9 (#958)
Bumps [nokogiri](https://github.com/sparklemotion/nokogiri) from 1.13.8 to 1.13.9.
- [Release notes](https://github.com/sparklemotion/nokogiri/releases)
- [Changelog](https://github.com/sparklemotion/nokogiri/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sparklemotion/nokogiri/compare/v1.13.8...v1.13.9)

---
updated-dependencies:
- dependency-name: nokogiri
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-22 20:31:22 +02:00
Philipp Rothmann
0c5ff5b41d Add test to delete article 2022-10-09 13:24:29 +02:00
Patrick Gansterer
3a388596ea Bundle update 2022-10-09 13:24:14 +02:00
Patrick Gansterer
a81bb25512 Bundle update rubocop and auto correct style issues 2022-10-08 16:03:19 +02:00
Harald Reingruber
f7f8774c43 [Readme.md] Fix Gitpod link pointing to original repo
The "Open in Gitpod" link in the Readme.md was pointing to a fork, so that the .gitpod.yml is picked up when opening the link.
Now that it's merged to master (#916), it should of course point to the main repo.
2022-05-29 11:07:15 +02:00
Patrick Gansterer
0db3452f97 Bundle update 2022-05-27 23:10:07 +02:00
Patrick Gansterer
9c9ebdf557 Bundle update rubocop and auto correct style issues 2022-05-27 23:10:07 +02:00
Patrick Gansterer
22fd814193 Add a script to read all databases with a prefix from the database server
When passing a value via the FOODSOFT_DB_PREFIX environment variable the
FOODSOFT_FOODCOOPS environment variable will be overwritten with a list
of databases starting with the given prefix.

This can be used to dynamically generate the app_config.yml in a multicoop
installation and avoid listing all instances manually.
2022-05-27 23:10:07 +02:00
Patrick Gansterer
a40934dd5a Fix missing I18n in messages plugin 2022-05-27 23:10:07 +02:00
Patrick Gansterer
f7311d25f6 Remove deprecated test_files attributes from gemspec files 2022-05-27 22:41:18 +02:00
Patrick Gansterer
754099999e Add requeue action for printer jobs 2022-05-27 22:41:18 +02:00
Patrick Gansterer
3a25a50d8d Small improvements and style fixes in BankAccountInformationImporter 2022-05-27 22:41:08 +02:00
Patrick Gansterer
bc5bc2d5ac Refactor LocalizeInput to reuse parse functionality 2022-05-27 17:24:57 +02:00
Patrick Gansterer
6a3636d8cb Move code from localize_input gem into Foodsoft 2022-05-27 17:24:57 +02:00
Patrick Gansterer
c59715381e Configure base_controller of Doorkeeper 2022-05-27 17:20:13 +02:00
Mob-Programming Meetup Austria
c32bcc8dcb
One-click development environment via Gitpod.io (browser-based VSCode with cloud backend) 2022-05-27 17:18:17 +02:00
Harald Reingruber
0a6345c60b
Make columns of user and ordergroup lists sortable
This commit implements the sort functionality for the user lists (by name, email, last_activity) and ordergroup lists (by name).
It is a first attempt addressing issue #560.
2022-05-27 17:06:25 +02:00
wvengen
8f94403ccf Fix rubocop 2022-04-25 14:19:34 +02:00
mjavurek
68c158c93e
Neue Kontotransaktion: fehlendes Zeichen (PR #937) 2022-04-25 14:03:52 +02:00
dependabot[bot]
793da37cff
Bump puma from 5.6.2 to 5.6.4 (PR #936)
Bumps [puma](https://github.com/puma/puma) from 5.6.2 to 5.6.4.
- [Release notes](https://github.com/puma/puma/releases)
- [Changelog](https://github.com/puma/puma/blob/master/History.md)
- [Commits](https://github.com/puma/puma/compare/v5.6.2...v5.6.4)

---
updated-dependencies:
- dependency-name: puma
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-25 14:02:30 +02:00
kidhab
8ebf122707
Fix Typo (PR #938) 2022-04-25 14:02:11 +02:00
dependabot[bot]
d92edf4dc6
Bump nokogiri from 1.13.1 to 1.13.4 (PR #940)
Bumps [nokogiri](https://github.com/sparklemotion/nokogiri) from 1.13.1 to 1.13.4.
- [Release notes](https://github.com/sparklemotion/nokogiri/releases)
- [Changelog](https://github.com/sparklemotion/nokogiri/blob/v1.13.4/CHANGELOG.md)
- [Commits](https://github.com/sparklemotion/nokogiri/compare/v1.13.1...v1.13.4)

---
updated-dependencies:
- dependency-name: nokogiri
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-25 13:58:50 +02:00
kidhab
216fb9b3cf
Enabled systemd socket activation (PR #942)
With this [configuration](https://github.com/puma/puma/blob/master/docs/systemd.md) puma automatically binds to all systemd activated sockets. With socket activation systemd opens the listening socket(s) in advance and provides them to the Puma master process on startup. This keeps listening sockets open across puma restarts and achieves graceful restarts.
2022-04-25 12:41:40 +02:00
Harald Reingruber
e8a28d7fee
Add table_print for debugging ActiveRecord queries in the console 2022-03-11 22:43:43 +01:00
Harald Reingruber
15e715c9f3
Fix filtering of active ordergroups 2022-03-08 00:11:06 +01:00
mariandl
708f85a839
Add admin UI for SupplierCategories 2022-02-20 16:43:20 +01:00
Patrick Gansterer
7e8c1d041d Auto correct rubocop style issues 2022-02-20 16:28:54 +01:00
Patrick Gansterer
f260e607bf Fix Dockerfile with Debian bullseye 2022-02-20 04:13:36 +01:00
Patrick Gansterer
83e3590c88 Add missing nodejs dependecy to Dockerfile-dev 2022-02-19 20:53:58 +01:00
decentral1se
16eb9888a6
Also note login details in docker development docs 2022-02-18 16:15:59 +01:00
twothreenine
f3493b3242 charge transport cost as well when accounting order (fix #861 after f7c7b56) 2022-02-18 13:27:09 +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
093313f0f3 Add small improvements for BankTransactions 2022-02-18 12:55:02 +01:00
Patrick Gansterer
6d71bd2c2f Fix active ordergroup 2022-02-18 12:54:07 +01:00
Patrick Gansterer
cdc9e91d26 Add supplier_categories to BankAccount 2022-02-18 12:47:09 +01:00
Patrick Gansterer
8f92915818 Allow minimal password length of 5 characters 2022-02-18 12:47:09 +01:00
Patrick Gansterer
1798aad5e2 Use decimal to store number of billed/received units 2022-02-18 12:46:31 +01:00
Patrick Gansterer
79fdb4dafb Add admin UI for BankGateway 2022-02-18 10:09:15 +01:00
Patrick Gansterer
87fe9ccdb1 Add model for BankGateway 2022-02-18 10:09:15 +01:00
Patrick Gansterer
7e60ce6ce2 Add BankAccount to SupplierCategory 2022-02-18 10:09:15 +01:00
Patrick Gansterer
06b035f2ea Add Rails 6 backport for ActiveRecord
This fixes the "can't create Thread: Resource temporarily unavailable" error.
2022-02-18 10:04:17 +01:00
mjavurek
0d6a3c14e9
fix translation missing: xxx.orders.state.received (#927) 2022-02-16 21:02:22 +01:00
kidhab
64ab699047
Allow longer passwords (#923) 2022-02-16 18:13:08 +01:00
mjavurek
daccf91ab6
Invoice: change label "delivery" to "stock delivery" (#922) 2022-02-16 18:11:34 +01:00
Patrick Gansterer
5b1552945b Bundle update 2022-02-16 18:00:12 +01:00
Patrick Gansterer
ae99619bf5 Bundle update rubocop 2022-02-16 17:59:52 +01:00