Philipp Rothmann
4bfa87d258
move CORS setup to initializer
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
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
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
Patrick Gansterer
9c9ebdf557
Bundle update rubocop and auto correct style issues
2022-05-27 23:10:07 +02:00
Patrick Gansterer
c59715381e
Configure base_controller of Doorkeeper
2022-05-27 17:20:13 +02:00
Patrick Gansterer
7e8c1d041d
Auto correct rubocop style issues
2022-02-20 16:28:54 +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
Patrick Gansterer
19efd68c5f
Add support for ActiveStorage (PR #852 )
2022-01-31 08:44:53 +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
ea2862fdef
Run rubocop --fix-layout and remove encoding comments
2021-03-02 09:12:19 +01:00
wvengen
e1d50e5b9c
API v1 group_order_articles endpoints
2021-02-17 17:07:39 +01:00
wvengen
127ae83f04
API v1 orders endpoints
2021-02-17 17:07:39 +01:00
Patrick Gansterer
899a83bec4
Rails 5.2
2020-09-05 14:40:11 +02:00
Patrick Gansterer
4642eb6c54
Rails 5.1
2020-09-05 14:40:11 +02:00
Patrick Gansterer
44a198c7bc
Adopt Rails 5 belongs_to_required_by_default
2020-09-05 14:40:11 +02:00
Patrick Gansterer
2557645f4f
Rails 5.0
2020-09-05 14:40:11 +02:00
Patrick Gansterer
67ab647eb0
Remove number_display.rb
2020-08-03 15:31:34 +02:00
wvengen
ef1903381b
Improve testing on docker
2020-07-27 18:17:30 +02:00
wvengen
b96ce06d94
API v1 financial_transactions endpoints ( #627 )
2020-07-25 14:18:59 +00: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
wvengen
e9be38b3e9
Add OAuth scopes
...
https://github.com/foodcoops/foodsoft/issues/582#issuecomment-442513237
2019-04-03 17:20:44 +00:00
Tom Carchrae
a524dd0325
use a sensible default if no redis.
2019-03-26 18:59:34 +00:00
wvengen
110c7cc3e9
API v1 user 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
9cd3c800bd
Use ExceptionNotification via generator generated code
...
Ensure that FoodsoftConfig is loaded before running the initalizers.
This also enables notifaction for Resque.
2017-10-09 10:32:32 +02:00
Patrick Gansterer
578e929e0d
Add handling for bounce mails
2017-10-02 16:02:39 +02:00
wvengen
0363f2dadc
Improve Docker setup (PR #497 )
2017-10-01 13:57:36 +02:00
Patrick Gansterer
ba052efe5e
Set the path of the _foodsoft_session cookie to the slug
...
This allows the usage of different foodcoops at the same time.
2017-09-29 00:47:00 +02:00
wvengen
4f30248a49
Allow to run without Redis in development
2017-04-01 19:11:52 +02:00
wvengen
77ee8ee2f1
Disable error page for development
2015-09-05 15:04:56 +02:00
wvengen
9efa9d5d43
Handle errors using Gaffe
2015-07-21 00:08:17 +02:00
wvengen
c388b4e410
Merge branch 'dockerization'
2015-05-08 13:06:15 +02:00
Benjamin Meichsner
83dd18eaa7
Added Dockersupport. See README_DOCKER.md for further instructions.
2015-04-26 15:20:05 +02:00
wvengen
d953ee6242
Silence Prawn PDF UTF-8 warning
2015-04-25 18:18:11 +02:00
wvengen
8777830029
Add unit: bag
2015-01-02 17:11:02 +01:00
wvengen
12bf2198e5
fix simple_form deprecations
2014-12-10 22:04:32 +01:00
wvengen
6e990fed4c
Upgrade to rails 4.1
2014-11-21 14:37:56 +01:00
wvengen
03b307d359
fix more sensible mailer option defaults
2014-09-03 11:43:15 +02:00
wvengen
68ccc19c70
allow to configure currency (closes foodcoops#258)
2014-09-02 15:02:25 +02:00
wvengen
ae392ad861
fix number display
2014-06-23 17:51:20 +02:00
wvengen
a43020463d
normalize article and category attributes (closes foodcoops#294)
2014-06-23 17:51:19 +02:00
wvengen
99301a0576
make Redis a softer dependency
...
(closes foodcoops#288)
2014-06-23 17:51:18 +02:00
wvengen
d7938b752c
fix simple_navigation ids
2014-05-13 17:01:26 +02:00
wvengen
c25d4d3f4f
use ruby-units for unit parsing ( closes foodcoops/foodsoft#200 )
...
Conflicts:
Gemfile
Gemfile.lock
2014-05-13 17:01:25 +02:00
wvengen
ab514d7eb6
use encrypted cookies on new installations
2014-02-24 12:46:28 +01:00
wvengen
7841245795
migrate to Rails 4.0 (closes foodcoops#214)
...
Conflicts:
Gemfile.lock
2014-02-24 12:46:28 +01:00