Luis Ramos
|
1666ffb191
|
Remove try_spree_current_user
This can be done because the method is defined in OFN's ApplicationController, so spree_current_user is available in all controllers
|
2020-07-15 14:53:35 +01:00 |
|
Luis Ramos
|
144811268e
|
Adapt require statements to new undecorated classes
|
2020-07-15 14:53:35 +01:00 |
|
Luis Ramos
|
d2e52f3136
|
Update rubocop manual todo
|
2020-07-15 14:53:35 +01:00 |
|
Luis Ramos
|
046c5f6585
|
Fix easy rubocop issues
|
2020-07-15 14:53:08 +01:00 |
|
Luis Ramos
|
97f00153ad
|
Bring controller_helpers/ssl.rb from spree
|
2020-07-15 14:53:08 +01:00 |
|
Luis Ramos
|
643a82c73c
|
Fix easy rubocop issues, some early returns make the indentation changes
|
2020-07-15 14:53:08 +01:00 |
|
Luis Ramos
|
a3ea4b757d
|
Merge decorator into the class brought from spree
|
2020-07-15 14:53:08 +01:00 |
|
Luis Ramos
|
1167a1a9bb
|
Bring ControllerHelpers respond_with from spree
|
2020-07-15 14:53:08 +01:00 |
|
Luis Ramos
|
20f610fbee
|
Merge controller_helpers/order with decorator
|
2020-07-15 14:53:08 +01:00 |
|
Luis Ramos
|
d5744572f7
|
Fix easy rubocop issues
|
2020-07-15 14:53:08 +01:00 |
|
Luis Ramos
|
23ff9d6fbb
|
Bring controller_helpers/order to OFN
|
2020-07-15 14:53:08 +01:00 |
|
Luis Ramos
|
10849504c3
|
Fix easy rubocop issues
|
2020-07-15 14:53:08 +01:00 |
|
Luis Ramos
|
2452202e92
|
Move lib/spree/core/controller_helpers/common.rb from spree
|
2020-07-15 14:53:08 +01:00 |
|
Luis Ramos
|
96839a03aa
|
Move lib/spree/core/controller_helpers.rb from spree
|
2020-07-15 14:53:08 +01:00 |
|
Luis Ramos
|
4ee30d7cac
|
Remove spree.root route and respective controller. Also move
unauthorized route to main app.
This route is no longer used in OFN
|
2020-07-15 14:53:08 +01:00 |
|
Luis Ramos
|
7e75581da6
|
Merge class brought from spree with decorator
|
2020-07-15 14:53:08 +01:00 |
|
Luis Ramos
|
c8dd841c48
|
Fix some rubocop issues
|
2020-07-15 14:53:08 +01:00 |
|
Luis Ramos
|
2ea026ea31
|
Bring controller helper auth from spree
|
2020-07-15 14:53:08 +01:00 |
|
Pau Pérez Fabregat
|
d4fea5223d
|
Merge pull request #5762 from openfoodfoundation/dependabot/bundler/oj-3.10.7
Bump oj from 3.10.6 to 3.10.7
|
2020-07-15 10:13:19 +02:00 |
|
dependabot-preview[bot]
|
f4cb14ab1a
|
Bump oj from 3.10.6 to 3.10.7
Bumps [oj](https://github.com/ohler55/oj) from 3.10.6 to 3.10.7.
- [Release notes](https://github.com/ohler55/oj/releases)
- [Changelog](https://github.com/ohler55/oj/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/ohler55/oj/compare/v3.10.6...v3.10.7)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
|
2020-07-14 00:10:40 +00:00 |
|
Luis Ramos
|
9c8318d828
|
Merge pull request #5613 from luisramos0/calculators
Move all Calculators from spree to OFN and out of the Spree namespace
|
2020-07-13 15:16:15 +01:00 |
|
Luis Ramos
|
d536cc8108
|
Merge pull request #5755 from Matt-Yorkley/groups-images
Fix StrongParameters for groups images
|
2020-07-13 14:50:24 +01:00 |
|
Matt-Yorkley
|
f450c21308
|
Merge pull request #5759 from luisramos0/vo_spec
Comment very flaky spec
|
2020-07-10 21:44:03 +02:00 |
|
Luis Ramos
|
eb4d648a23
|
Comment this very flaky spec for now
|
2020-07-10 19:27:31 +01:00 |
|
Maikel
|
c1d700196b
|
Merge pull request #5739 from Matt-Yorkley/flaky-spec-complex-oc
Flaky spec order_cycles/complex_updating_specific_time
|
2020-07-10 14:59:59 +10:00 |
|
Luis Ramos
|
cc3361aaac
|
Merge pull request #5659 from dmarcoux/issue-5555
Filter orders on inclusive dates in admin/orders
|
2020-07-09 20:40:45 +01:00 |
|
Luis Ramos
|
ed915006fa
|
Merge pull request #5738 from openfoodfoundation/dependabot/bundler/wicked_pdf-2.1.0
Bump wicked_pdf from 1.4.0 to 2.1.0
|
2020-07-09 20:40:11 +01:00 |
|
Matt-Yorkley
|
1a132924d2
|
Fix StrongParameters for groups images
|
2020-07-09 10:00:02 +02:00 |
|
Luis Ramos
|
fabddbd1c0
|
Merge pull request #5746 from coopdevs/remove-specs-dead-code
Remove dead specs helper method
|
2020-07-08 12:38:24 +01:00 |
|
Matt-Yorkley
|
a763a5ee0b
|
Update all locales with the latest Transifex translations
v3.1.0
|
2020-07-08 12:49:20 +02:00 |
|
Matt-Yorkley
|
d718eb9a23
|
Merge pull request #5726 from openfoodfoundation/transifex
Transifex
|
2020-07-08 12:33:09 +02:00 |
|
Matt-Yorkley
|
d78db16abe
|
Merge pull request #5718 from Matt-Yorkley/available-locales-bug
Available locales bug
|
2020-07-08 12:30:18 +02:00 |
|
Matt-Yorkley
|
e742069959
|
Refactor UI interactions for opening exchange product tabs in OC edit
|
2020-07-08 11:11:39 +02:00 |
|
Matt-Yorkley
|
c8254b8338
|
Adjust exchange_row assertion to use slightly more specific criteria
|
2020-07-08 11:11:39 +02:00 |
|
Matt-Yorkley
|
be1e39f0cb
|
Ensure next page has loaded before interacting with form elements
|
2020-07-08 11:11:39 +02:00 |
|
Pau Perez
|
a1e8c8ad03
|
Remove dead specs helper method
I found it while reviewing
https://github.com/openfoodfoundation/openfoodnetwork/pull/5718#discussion_r451390809.
|
2020-07-08 10:59:13 +02:00 |
|
Luis Ramos
|
312e78ba61
|
Merge pull request #5742 from Matt-Yorkley/flaky-spec-shopping
Fix flaky shopping_spec
|
2020-07-07 18:11:00 +01:00 |
|
Luis Ramos
|
207c6bc205
|
Merge pull request #5741 from Matt-Yorkley/flaky-spec-exchange-renderer
Re-enable and fix flaky exchange products renderer spec
|
2020-07-07 18:09:02 +01:00 |
|
Luis Ramos
|
f8f7b30095
|
Merge pull request #5716 from openfoodfoundation/dependabot/bundler/database_cleaner-1.8.5
Bump database_cleaner from 1.7.0 to 1.8.5
|
2020-07-07 17:29:10 +01:00 |
|
Luis Ramos
|
ebc1ab4469
|
Merge pull request #5710 from openfoodfoundation/dependabot/bundler/mini_racer-0.2.15
Bump mini_racer from 0.2.14 to 0.2.15
|
2020-07-07 17:28:33 +01:00 |
|
Luis Ramos
|
5e6739c9f7
|
Fix long lines in new spec
|
2020-07-07 17:26:24 +01:00 |
|
Luis Ramos
|
99e12b6f07
|
Convert calculators in new spec
|
2020-07-07 17:26:24 +01:00 |
|
Luis Ramos
|
0b79e7c48c
|
Fix rubucop issue in enterprise_fee model
|
2020-07-07 17:26:24 +01:00 |
|
Luis Ramos
|
d92f97716a
|
Extract compute_for and thus resolve the rubocop complexity issue
|
2020-07-07 17:26:24 +01:00 |
|
Luis Ramos
|
68359d4d1a
|
Remove unnecessary variable (this sum and += come from the original
spree code and is not necessary here now)
|
2020-07-07 17:26:24 +01:00 |
|
Luis Ramos
|
70432e301d
|
Early exit if max is zero to make method shorted
|
2020-07-07 17:26:24 +01:00 |
|
Luis Ramos
|
fbe0a3246d
|
Extract applicable_rate? and thus resolve rubocop complexity issue
|
2020-07-07 17:26:24 +01:00 |
|
Luis Ramos
|
b096717172
|
Extract per_order_fees_total out of compute_order
|
2020-07-07 17:26:24 +01:00 |
|
Luis Ramos
|
21120dd6ab
|
Extract per_item_fees_total out of compute_order
|
2020-07-07 17:26:24 +01:00 |
|
Luis Ramos
|
4b12a5f592
|
Extract line_items_total from compute_order
|
2020-07-07 17:26:24 +01:00 |
|