5fb10ec686
make foodsoft run for dev on rails 7 and ruby 2.7
2023-06-09 17:35:05 +02:00
50bf879fbf
resolve zeitwerk issues
2023-06-09 17:35:05 +02:00
ea248a5f28
removing concerns from autoload path
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
3d81dd6b57
rails up to 7.0and ruby to 2.7.2
2023-06-09 17:35:05 +02:00
Philipp Rothmann
c67e9b5be8
Replace apivore with rswag for api tests ( #969 )
...
* Replace apivore api tests with rswag
* move to OpenAPI Spec 3.0.1
* a swagger UI is now reachable at http://localhost:3000/api-docs/index.html
* swagger file is generated by running `RAILS_ENV=test rails rswag`
and it was moved from /docs/swagger.v1.yml to /swagger/v1/swagger.yml
---------
Co-authored-by: viehlieb <pf@pragma-shift.net>
2023-05-12 11:11:48 +02:00
hamaryns
8604e27fe9
Spelfouten, maar ook verbeteringen in Nederlands ( #954 )
...
* Spelfouten, maar ook verbeteringen in Nederlands
Correct spelling errors and improvements of Dutch
* Update nl.yml
* Update nl.yml
some more Dutch improvements
2023-04-21 18:58:06 +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
dependabot[bot]
67d0492ac4
Bump rack from 2.2.4 to 2.2.6.4 ( #986 )
...
Bumps [rack](https://github.com/rack/rack ) from 2.2.4 to 2.2.6.4.
- [Release notes](https://github.com/rack/rack/releases )
- [Changelog](https://github.com/rack/rack/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rack/rack/compare/2.2.4...v2.2.6.4 )
---
updated-dependencies:
- dependency-name: rack
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-29 17:37:04 +02:00
dependabot[bot]
5f00a39841
Bump globalid from 1.0.0 to 1.0.1 ( #978 )
...
Bumps [globalid](https://github.com/rails/globalid ) from 1.0.0 to 1.0.1.
- [Release notes](https://github.com/rails/globalid/releases )
- [Commits](https://github.com/rails/globalid/compare/v1.0.0...v1.0.1 )
---
updated-dependencies:
- dependency-name: globalid
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-29 17:34:38 +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
decentral1se
debce2a635
docs: roadmap & call ( #984 )
...
Co-authored-by: decentral1se <cellarspoon@riseup.net>
2023-03-05 14:07:49 +01:00
dependabot[bot]
1c2ca42dda
Bump rails-html-sanitizer from 1.4.3 to 1.4.4 ( #975 )
...
Bumps [rails-html-sanitizer](https://github.com/rails/rails-html-sanitizer ) from 1.4.3 to 1.4.4.
- [Release notes](https://github.com/rails/rails-html-sanitizer/releases )
- [Changelog](https://github.com/rails/rails-html-sanitizer/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rails/rails-html-sanitizer/compare/v1.4.3...v1.4.4 )
---
updated-dependencies:
- dependency-name: rails-html-sanitizer
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-12-20 18:59:26 +01:00
dependabot[bot]
460a3e4285
Bump loofah from 2.19.0 to 2.19.1 ( #974 )
...
Bumps [loofah](https://github.com/flavorjones/loofah ) from 2.19.0 to 2.19.1.
- [Release notes](https://github.com/flavorjones/loofah/releases )
- [Changelog](https://github.com/flavorjones/loofah/blob/main/CHANGELOG.md )
- [Commits](https://github.com/flavorjones/loofah/compare/v2.19.0...v2.19.1 )
---
updated-dependencies:
- dependency-name: loofah
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-12-14 10:21:36 +01:00
Florian Lentsch
ec6d69c27f
Allow entering decimals ( #830 , PR #868 )
2022-12-14 10:17:40 +01:00
dependabot[bot]
d0110a767c
Bump nokogiri from 1.13.9 to 1.13.10 ( #973 )
...
Bumps [nokogiri](https://github.com/sparklemotion/nokogiri ) from 1.13.9 to 1.13.10.
- [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.9...v1.13.10 )
---
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-12-12 15:24:21 +01:00
kidhab
e8a04e61ca
Update link to forum (PR #963 )
...
* Update link to forum
* Replace link to mailinglist with link to forum
2022-12-12 15:15:54 +01:00
dependabot[bot]
ecaa14dfd2
Bump sinatra from 3.0.2 to 3.0.4 ( #971 )
...
Bumps [sinatra](https://github.com/sinatra/sinatra ) from 3.0.2 to 3.0.4.
- [Release notes](https://github.com/sinatra/sinatra/releases )
- [Changelog](https://github.com/sinatra/sinatra/blob/master/CHANGELOG.md )
- [Commits](https://github.com/sinatra/sinatra/compare/v3.0.2...v3.0.4 )
---
updated-dependencies:
- dependency-name: sinatra
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-12-12 15:15:02 +01:00
wvengen
095ff8ef0e
Fix typo in i18n source string
2022-12-06 18:05:36 +01:00
Philipp Rothmann
c6560e0cea
Add additional model and integration tests
...
This commit adds new tests for a better coverage.
integration/
* home
* supplier
models/
* article
* delivery
* group_order_article
* supplier
also adds a new factory for delivery
Co-authored-by: viehlieb <pf@pragma-shift.net>
Co-authored-by: Tobias Kneuker <tk@pragma-shift.net>
2022-11-27 12:39:57 +01:00
wvengen
9a46640d3b
Update Crowdin settings
...
So that it works with the Crowdin CLI.
Also remove now broken update script.
Use instead: crowdin pull -b master
2022-11-14 21:38:52 +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