Philipp Rothmann
1e63c59a8a
fix: loading trix editor overwrite in production
2023-08-23 12:17:32 +02:00
Philipp Rothmann
bcf47ec92b
feat(messages): add max file size for attachments
2023-08-04 12:48:15 +02:00
Philipp Rothmann
ef6d6aa368
feat(messages): use trix editor in messages
2023-08-04 12:48:15 +02:00
Philipp Rothmann
c4a53caf52
feat: add actiontext and trix editor
2023-08-04 12:48:15 +02:00
Philipp Rothmann
e80ec9c1ce
change tests to use assert_select
2023-07-14 10:27:20 +02:00
Philipp Rothmann
7f23b4784c
feat(finance): show sum of ordergroup balances
2023-07-14 10:27:20 +02:00
Philipp Rothmann
33034e66b8
fix: add null checks for articles convert_units
...
Prevents division by zero exception because of a unit beeing 0.
A Unit becomes also zero e.g. when a comma symbol is used Unit.new("0,9kg") == 0
fixes #1014
2023-06-22 22:49:22 +02:00
Philipp Rothmann
a1682932ac
fix: price_markup with value nil gives exception
...
fixes #1011
2023-06-16 13:20:33 +02:00
Philipp Rothmann
026c3a6285
introduce importmaps ( #983 )
...
* introduce importmaps
This commit introduces importmaps. They allow to use modern javacript ESM within rails without webpack, yarn etc.
see https://github.com/rails/importmap-rails for more details.
Co-authored-by: Philipp Rothmann <philipprothmann@posteo.de>
Co-authored-by: FGU <fgu@pragma-shift.net>
* fix: rubocop violations
---------
Co-authored-by: FGU <fgu@pragma-shift.net>
2023-06-14 13:29:31 +02:00
kidhab
e4f91ef67a
Fill availability column at article export
...
closes #884
2023-06-10 10:47:47 +02:00
kidhab
c50ba6eda5
feat: Disable member list via configuration ( #990 )
2023-06-10 10:32:16 +02:00
kidhab
075f3cfa1a
Make date configurable via locales ( #997 )
2023-06-10 10:31:22 +02:00
Philipp Rothmann
285441cb4b
fix group order matrix pdf
2023-06-09 17:35:05 +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
45ae192891
move BigDecimal.new to BigDecimal()
2023-06-09 17:35:05 +02:00
808baa5a98
change .search to .ransack for updated ransack gem
2023-06-09 17:35:05 +02:00
Philipp Rothmann
5cbe8dd968
fix database_config
2023-06-09 17:35:05 +02:00
50bf879fbf
resolve zeitwerk issues
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
nurp
f2d5936cf0
Turkish language support added ( #995 )
...
* Added Turkish translation with help of ChatGPT
* Changed 'article' and 'item' to 'ürün' and addedtranslations for messages plugin
* added translation for the rest of plugins
* merge conflicts
* fix tr.yml in messages plugin
* Corrected more translations
---------
Co-authored-by: Nurp <>
2023-04-12 21:42:03 +02:00
kidhab
c01c16ecdb
Specify an URL to redirect after logout via settings ( #989 )
2023-03-30 10:05:47 +02:00
kidhab
8420323c92
Show a foodcoop's name as subtitle at login screen ( #957 )
2023-03-29 16:01:00 +02:00
kidhab
e0f63eebdc
Open external websites in new browser window ( #981 )
...
Usually the Foodcoop's website and the help pages are external
resources. If they load in the same window one could forget to logout
from the Foodsoft.
2023-03-29 16:00:18 +02:00
kidhab
a7a0830d43
Show order note as tooltip ( #965 )
2023-03-29 15:15:59 +02:00
Philipp Rothmann
503ed6c379
Add home controller test ( #972 )
...
Co-authored-by: viehlieb <pf@pragma-shift.net>
Co-authored-by: Tobias Kneuker <tk@pragma-shift.net>
2023-03-25 18:20:13 +01:00
Florian Lentsch
ec6d69c27f
Allow entering decimals ( #830 , PR #868 )
2022-12-14 10:17:40 +01:00
3ffdb424d5
replace deprecated update_attributes with update
2022-10-26 13:19:27 +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
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
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
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
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
kidhab
64ab699047
Allow longer passwords ( #923 )
2022-02-16 18:13:08 +01:00
kidhab
7574f4eb07
Add validation of more article fields (PR #917 )
...
If one adds a some text that is longer than 255 characters into these articles fields the browser shows an unspecific error messages. With this validation an understandable message will be shown.
2022-01-26 09:22:41 +01:00
kidhab
4306389f93
Enable to configure feedback recipient address (PR #901 )
2021-12-28 19:40:26 +01:00
twothreenine
b2a6c198ac
Improve invoice and supplier show views ( #840 )
2021-03-24 21:29:44 +01:00
Patrick Gansterer
d48320f9e0
Add CSV download for User
2021-03-08 17:28:08 +01:00
Patrick Gansterer
47d9c79617
Use ActiveJob instead of Resque directly
...
This allows us to directly pass entities to the job.
2021-03-08 12:30:58 +01:00
Patrick Gansterer
4b7cbf111f
Fix small issues after 401c8f5
and 67ad202
2021-03-05 14:14:56 +01:00
Patrick Gansterer
ea2862fdef
Run rubocop --fix-layout and remove encoding comments
2021-03-02 09:12:19 +01:00