Maikel Linke
a64d146bb1
Update translations
2022-10-06 12:31:39 +11:00
Maikel
a43d31a9d5
Merge pull request #9711 from dacook/translation-cleanup
...
Translation cleanup
2022-10-06 09:51:28 +11:00
Maikel
db2b381c3f
Merge pull request #9718 from mkllnk/style
...
Use standard ApplicationRecord in task class
2022-10-06 09:42:29 +11:00
Konrad
9f0c0208dd
Merge branch 'master' into style
2022-10-05 19:59:10 +02:00
Maikel
8072e97579
Merge pull request #9721 from filipefurtad0/fix_flaky_shopping_spec
...
Addresses flakyness in shopping_spec.rb
2022-10-05 13:19:23 +11:00
filipefurtad0
977916cb11
Adds 2 sec sleep time on other flaky examples
2022-10-04 20:58:30 +01:00
filipefurtad0
f4edfcefa2
Adds 2 sec sleep time
2022-10-04 20:17:14 +01:00
Rachel Arnould
b078d3e0cc
Merge pull request #9719 from mkllnk/secrets-config
...
Simplify config of secret token
2022-10-04 20:36:03 +02:00
Rachel Arnould
611475c48a
Merge pull request #9448 from binarygit/cancel-orders-in-bulk
...
Cancel Orders in Bulk
2022-10-04 19:48:59 +02:00
Rachel Arnould
21ecec894f
Merge pull request #9688 from binarygit/order-cycle-closes-during-checkout
...
Redirect to shopfront when OC closes during checkout
2022-10-04 19:46:38 +02:00
David Cook
0fc8c719fe
Scope Enterprise side menu translations
...
And removed some now-unused global translations, yay! I searched for these in the codebase, eg with regex:
/\bt[\( ]["':]shop_preferences/
2022-10-04 19:39:29 +02:00
David Cook
4c3e20d25a
Scope Enterprise form legend translations
2022-10-04 19:39:29 +02:00
David Cook
13d95ecf1d
Scope Enterprise Group side menu translations
...
With it's own lazy scope, we no longer need to define labels separately.
2022-10-04 19:39:29 +02:00
David Cook
7803e5d4ff
Scope Enterprise Group form legend translations
...
Using lazy-lookup builtin scopes, instead of sharing the global translations, as per our guidelines.
2022-10-04 19:39:29 +02:00
David Cook
2e2ff25ef7
DRY up code
...
Slightly. If we upgrade to Ruby 3.1 with hash value omission, this would be neater.
If we could set a scope in the controller (https://stackoverflow.com/questions/6137960/rails-i18n-default-scope ) it would be even neater.
2022-10-04 19:39:29 +02:00
David Cook
3a61cf05ad
Remove unused locale message
...
I can't find any reference to this in the code. The wiki says maybe it's looked up with a variable, but I don't see how it could be used unless this string is defined in code somewhere (we wouldn't translate data from the database, would we?).
Maybe it's used in a gem? In that case, hopefully CI will pick up the error.
2022-10-04 19:39:29 +02:00
Maikel Linke
ef80c3358d
Explain how to easily configure other environments locally
2022-10-04 19:35:40 +02:00
Maikel Linke
57a70455a8
Simplify setting of secret token
...
We define it in the dotenv files already which has the advantage of
being overridable. I adjusted the dotenv files to have the same value as
was set before, 30 times `x`.
2022-10-04 19:35:40 +02:00
Maikel Linke
885e67a39b
Ignore Rails secrets
...
These files are only used in production but sometimes we want to test
production execution on our dev machines, too.
2022-10-04 19:35:40 +02:00
binarygit
25ae10dbe8
Create bulk orders cancellation feature
2022-10-04 16:57:31 +02:00
filipefurtad0
7b592fd80b
Adds assertion after page visit to promote page loading
2022-10-04 12:27:58 +01:00
jibees
4b6aced962
Merge pull request #9732 from openfoodfoundation/dependabot/bundler/test-unit-3.5.5
...
Bump test-unit from 3.5.3 to 3.5.5
2022-10-04 12:15:55 +02:00
dependabot[bot]
e32ad0b436
Bump test-unit from 3.5.3 to 3.5.5
...
Bumps [test-unit](https://github.com/test-unit/test-unit ) from 3.5.3 to 3.5.5.
- [Release notes](https://github.com/test-unit/test-unit/releases )
- [Commits](https://github.com/test-unit/test-unit/compare/3.5.3...3.5.5 )
---
updated-dependencies:
- dependency-name: test-unit
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-10-04 09:19:10 +00:00
binarygit
930721bea6
Redirect to shop front when OC closes during checkout
2022-10-03 20:51:41 +02:00
filipefurtad0
8e6f828f66
Splits it cases into respective contexts
2022-10-03 19:30:57 +01:00
filipefurtad0
fa05327342
Adds assertions on clearing searches
...
Asserts on page contents
2022-10-03 19:12:27 +01:00
filipefurtad0
cafa17ec13
Splits test into two assertions
2022-10-03 19:12:27 +01:00
jibees
b3449137e0
Merge pull request #9728 from openfoodfoundation/dependabot/npm_and_yarn/js-big-decimal-1.3.10
...
Bump js-big-decimal from 1.3.5 to 1.3.10
2022-10-03 14:56:33 +02:00
dependabot[bot]
da6af22d03
Bump js-big-decimal from 1.3.5 to 1.3.10
...
Bumps [js-big-decimal](https://github.com/royNiladri/js-big-decimal ) from 1.3.5 to 1.3.10.
- [Release notes](https://github.com/royNiladri/js-big-decimal/releases )
- [Commits](https://github.com/royNiladri/js-big-decimal/compare/v1.3.5...v1.3.10 )
---
updated-dependencies:
- dependency-name: js-big-decimal
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-10-03 09:05:41 +00:00
Jean-Baptiste Bellet
0468d46241
Update all locales with the latest Transifex translations
2022-09-30 16:37:59 +02:00
jibees
0c64720a9e
Merge pull request #9710 from mkllnk/9002-customer-association-updates
...
Associate and update customer records when ordering
2022-09-30 16:36:01 +02:00
Filipe
4b279d28dd
Merge pull request #9262 from cillian/order-cycle-shipping-methods
...
Let people customise which shipping methods are available to customers on order cycles
2022-09-30 14:36:37 +01:00
Cillian O'Ruanaidh
acd4706890
Set closing time correctly in order_cycles/complex_creating_specific_time_spec.rb
2022-09-30 14:22:11 +01:00
Filipe
f7d21406a1
Merge pull request #9702 from ashwini-seshadri/master
...
Fix for new subscription dialog
2022-09-30 13:32:42 +01:00
Cillian O'Ruanaidh
f9e29f3a78
Fix Metrics/AbcSize violation in order_cycles/complex_creating_specific_time_spec.rb
2022-09-30 13:13:39 +01:00
Cillian O'Ruanaidh
def87485c0
Don't delete schedules on the order_cycles#update action just because the :schedule_ids was not specified in the parameters
...
Before this schedules were being deleted when the Checkout Options step of editing order cycles was saved because this step wasn't sending the :schedule_ids parameter. It's more awkard for API users if they always need to explicity send the :schedule_ids parameter even if they don't want to add/remove any of the schedules, for example if they just want to update an order cycle name.
2022-09-30 13:13:39 +01:00
Cillian O'Ruanaidh
6542b47e72
Adjust order_cycles/complex_creating_specific_time_spec to take into account that DistributorShippingMethods instead of ShippingMethods are connected to OrderCycles now
2022-09-30 13:13:39 +01:00
Cillian O'Ruanaidh
2827e07da6
Define :oc with let so it is available globally to other methods such as :expect_fees_saved
2022-09-30 13:13:39 +01:00
Cillian O'Ruanaidh
23f6901fb4
Adjust order_cycles/simple_spec.rb to take new Checkout Options step into account
...
Note, this doesn't test checking/unchecking some distributor shipping methods and not others because that is tested in order_cycles/complex_creating_time_specific_spec.rb.
2022-09-30 13:13:39 +01:00
Cillian O'Ruanaidh
db92e9d91c
Fix error from OrderCycle#distributor_shipping methods return ActiveRecord::Relation sometimes and Array other times
...
Now it will return ActiveRecord::Relation consistently.
2022-09-30 13:13:39 +01:00
Cillian O'Ruanaidh
5207dbf8c6
OrderCycle#distributor_shipping_methods should return all attachable ones by default per distributor, not per all distributors
2022-09-30 13:13:39 +01:00
Cillian O'Ruanaidh
7e40ad39cb
Bring back select all checkboxes on order cycle checkout options form.
2022-09-30 13:13:39 +01:00
Cillian O'Ruanaidh
a53a3259a8
Connect DistributorShippingMethods to OrderCycles instead of Spree::ShippingMethods
...
Before if a shipping method was shared between multiple distributors it could only be disabled/enabled on that order cycle for all the distributors which have that shipping method e.g. you couldn't select that shipping method for one distributor but disable it for another.
2022-09-30 13:13:39 +01:00
Cillian O'Ruanaidh
8c483f2eab
Change join table in migration from order cycles to distributor shipping methods instead of order cycles to shipping methods
2022-09-30 13:13:39 +01:00
Cillian O'Ruanaidh
65ee9e1486
Implement new design with shipping and payment methods on different rows instead of same one, the select all checkboxes still need to be added back later
...
This is the new design from https://github.com/openfoodfoundation/openfoodnetwork/pull/9262#issuecomment-1206673689
2022-09-30 13:13:39 +01:00
Cillian O'Ruanaidh
a73b608f8a
Remove 'shared' shipping method sections from order cycle checkout options form, any shared shipping methods are to be displayed for each distributor e.g. if they belong to multiple distributors they will be displayed multiple times
2022-09-30 13:13:39 +01:00
Cillian O'Ruanaidh
4b0b4ad991
Revert "Use a more simple layout on the order cycle checkout options form"
...
This reverts commit 0dddaa6c2b9f1925adca6ff8deac8181691ae119.
2022-09-30 13:13:39 +01:00
Cillian O'Ruanaidh
32d16eacd2
Fix Rubocop Metrics/AbcSize and Layout/LineLength errors in complex_creating_specific_time_spec.rb
...
Not sure if this is correct but it removes the Rubocop violations.
2022-09-30 13:13:39 +01:00
Cillian O'Ruanaidh
8e47949260
Check 'Select all' checkboxes on page load if all its checkboxes are checked
...
This means the code to set the initial value in the view template isn't needed.
2022-09-30 13:13:39 +01:00
Maikel Linke
512394862b
Wait for input field before filling it
...
The spec was failing from time to time. I hope that this will fix it.
```
Failures:
1)
As an administrator
I want to create/update complex order cycles with a specific time
creating an order cycle with full interface
Failure/Error: fill_in 'order_cycle_outgoing_exchange_0_pickup_time', with: 'pickup time'
Capybara::ElementNotFound:
Unable to find field "order_cycle_outgoing_exchange_0_pickup_time" that is not disabled
# ./spec/system/admin/order_cycles/complex_creating_specific_time_spec.rb:138:in `add_distributor_with_fees'
# ./spec/system/admin/order_cycles/complex_creating_specific_time_spec.rb:66:in `block (2 levels) in <main>'
# ./spec/system/support/cuprite_setup.rb:39:in `block (2 levels) in <main>'
# -e:1:in `<main>'
```
2022-09-30 13:13:39 +01:00
Maikel Linke
195f1e1237
Make "Select all" translatable
2022-09-30 13:13:39 +01:00
Maikel Linke
26d5ea6cdc
Remove unused input name
2022-09-30 13:13:39 +01:00
Maikel Linke
3518d1ba92
Spec "Select all" shipping methods field
2022-09-30 13:13:39 +01:00
Maikel Linke
c5bb2f52e1
Check "Select all" to start with
...
Reflect the state of the shipping method checkboxes.
2022-09-30 13:13:39 +01:00
Maikel Linke
758030e81a
Test with readable labels instead of ids
2022-09-30 13:13:39 +01:00
Maikel Linke
da2ef3fae2
Give order cycle spec some structure
2022-09-30 13:13:39 +01:00
Cillian O'Ruanaidh
87431c188e
Use ShippingMethod :frontend method and drop :backend to avoid ClassLength Rubocop error
2022-09-30 13:13:39 +01:00
Cillian O'Ruanaidh
0673f9a5ae
Use a more simple layout on the order cycle checkout options form
...
Before there was a row for each distributor and a 'shared' row for shipping methods which were shared among more than one distributor. This layout displays a single list of shipping methods with the distributor or distributors it belongs to beside it as suggested by @lin-d-hop
2022-09-30 13:13:39 +01:00
Cillian O'Ruanaidh
8cb2767f9a
The no shipping/payment method warnings on order cycle checkout options looks better left aligned
2022-09-30 13:13:39 +01:00
Cillian O'Ruanaidh
1a70cc0c4c
Don't display no shipping/payment method warnings on order cycle checkout options if the distributor has some that are shared with other distributors
2022-09-30 13:13:39 +01:00
Cillian O'Ruanaidh
464a9b95a4
On order cycle checkout options shipping methods shared between distributors should be checked by default too
2022-09-30 13:13:39 +01:00
Cillian O'Ruanaidh
8b59b7a796
Use if exclude instead of if !include in OrderCycleForm
...
Co-authored-by: Maikel <maikel@email.org.au >
2022-09-30 13:13:39 +01:00
Cillian O'Ruanaidh
ad51b41bb3
Use :belongs_to instead of :references in :order_cycles_shipping_methods
...
Also fix migration class name.
2022-09-30 13:13:39 +01:00
Cillian O'Ruanaidh
472bd150bb
For consistency with other '<em>' don't strip whitespace.
...
Although both '%em' and '%em>' are rendering the same markup, perhaps because the tag is on it's own new line.
Co-authored-by: Maikel <maikel@email.org.au >
2022-09-30 13:13:39 +01:00
Cillian O'Ruanaidh
af87943fd0
Change 'if !' to 'unless' in OrderCyclesList
...
Co-authored-by: Maikel <maikel@email.org.au >
2022-09-30 13:13:39 +01:00
Cillian O'Ruanaidh
efb1a326b4
Fix line length in OrderCycleForm spec for Rubocop
2022-09-30 13:13:39 +01:00
Cillian O'Ruanaidh
94b96e18ed
Remove OrderCycleForm specs that are no longer necessary
...
These were added for a previous approach which is no longer used.
2022-09-30 13:13:39 +01:00
Cillian O'Ruanaidh
80b7a5d39a
Remove OrderCycleShippingMethod model and use a :has_and_belongs_to_many association instead
...
Before the OrderCycleShippingMethod had a validation which checked the shipping method belonged to the order cycle distributor. Instead of this validation this just ignores shipping methods which don't belong to one of the order cycle's distributors when they are being attached in the OrderCycleForm service. This pattern is already being used in the OrderCycleForm service for ignoring Schedules that the person doesn't own.
Co-authored-by: Maikel <maikel@email.org.au >
2022-09-30 13:13:39 +01:00
Cillian O'Ruanaidh
61bbf0714e
Remove flag argument anti-pattern from Shop::OrderCyclesList
...
Co-authored-by: Maikel <maikel@email.org.au >
2022-09-30 13:13:39 +01:00
Cillian O'Ruanaidh
da3eea6005
Fetch shared shipping/payment methods for order cycle checkout options in single query
2022-09-30 13:13:39 +01:00
Cillian O'Ruanaidh
6453bbcc1c
Fix :selected_shipping_method_ids param for shared shipping methods.
2022-09-30 13:13:39 +01:00
Cillian O'Ruanaidh
541a340dcf
If an OrderCycle or Spree::ShippingMethod is destroyed then remove it's associated OrderCycleShippingMethod records too
2022-09-30 13:13:39 +01:00
Cillian O'Ruanaidh
593da4996f
A shop won't be shown as open if it doesn't have useable shipping method so these shipping method validations are really necessary
2022-09-30 13:13:39 +01:00
Cillian O'Ruanaidh
a3a52a07b7
Build shipping method with a category so it's valid in the test
2022-09-30 13:13:39 +01:00
Cillian O'Ruanaidh
ed13ee6cbc
Fix association alignment in OrderCycle
2022-09-30 13:13:39 +01:00
Cillian O'Ruanaidh
564e4d802c
Don't use :html_safe with payment method name in checkout options in case it contains something malicious
...
Co-authored-by: Maikel <maikel@email.org.au >
2022-09-30 13:13:39 +01:00
Cillian O'Ruanaidh
747c88fb35
Update the Shop::OrderCyclesList service so it's clearer what kind of order cycles are being fetched
...
Before the Shop::OrderCyclesList service would return order cycles even if they are not ready for checkout and we had a check before calling the service in BaseController which would return OrderCycle.where('false'). It seems like this check should be part of the service too.
2022-09-30 13:13:39 +01:00
Cillian O'Ruanaidh
f4a4f7c9ff
Remove validations checking order cycle has shipping methods
...
Instead we will make sure the order cycle is not available on the shopfront if it is doesn't have valid shipping methods. This will preven the issue where if one distributor deletes their shipping method, we don't want to invalidate the order cycle for all other distributors.
Co-authored-by: Maikel <maikel@email.org.au >
2022-09-30 13:13:39 +01:00
Cillian O'Ruanaidh
81730f725d
Enterprises shouldn't be considered ready for checkout if it only has backend shipping methods
2022-09-30 13:13:39 +01:00
Cillian O'Ruanaidh
7bd56007bd
Don't use :html_safe in case shipping method name contains something malicious in app/views/admin/order_cycles/checkout_options.html.haml
...
Co-authored-by: Maikel <maikel@email.org.au >
2022-09-30 13:13:39 +01:00
Cillian O'Ruanaidh
d9de35799d
Array difference operator is neater than reject in app/views/admin/order_cycles/checkout_options.html.haml
...
Co-authored-by: Maikel <maikel@email.org.au >
2022-09-30 13:13:39 +01:00
Cillian O'Ruanaidh
67d4c38550
Rename :preferred_shipping_methods to :selected_shipping_methods on OrderCycle
...
It's a clearer name because 'preferred' implies there could be other unpreferred shipping methods available as well.
Co-authored-by: Maikel <maikel@email.org.au >
2022-09-30 13:13:39 +01:00
Cillian O'Ruanaidh
cc5daf51b1
Expect to be_valid instead of checking presence of specific error spec/models/spree/shipping_method_spec.rb
...
Co-authored-by: Maikel <maikel@email.org.au >
2022-09-30 13:13:39 +01:00
Cillian O'Ruanaidh
f25de984d2
Use .empty? instead of !exists? in app/models/order_cycle_shipping_method.rb
...
Co-authored-by: Maikel <maikel@email.org.au >
2022-09-30 13:13:39 +01:00
Cillian O'Ruanaidh
9a511e9e94
Rubocop adjustments
2022-09-30 13:13:39 +01:00
Cillian O'Ruanaidh
0671e52a29
Undo changes to tests, now that order cycle returns all shipping methods by default and doesn't explicitly require OrderCycleShippingMethods anymore
2022-09-30 13:13:39 +01:00
Cillian O'Ruanaidh
9296686384
Make backend, frontend scopes on Spree::ShippingMethod neater
...
Co-authored-by: Co-authored-by: Maikel <maikel@email.org.au >
2022-09-30 13:13:39 +01:00
Cillian O'Ruanaidh
f6c754839b
Make OrderCycleShippingMethod inherit from ApplicationRecord
2022-09-30 13:13:39 +01:00
Cillian O'Ruanaidh
fc4f951a1a
Only require OrderCycleShippingMethod records if people want to override the default shipping methods
...
It makes things much simpler if we return all shipping methods by default without needing OrderCycleShippingMethod records to be added to the database.
Co-authored-by: Maikel <maikel@email.org.au >
2022-09-30 13:13:39 +01:00
Cillian O'Ruanaidh
4e0bf75ecf
Get tests broken because of new order cycle shipping method validations working again
2022-09-30 13:13:39 +01:00
Cillian O'Ruanaidh
a46b77d10c
Ensure hack for showing products on a shop with closed order cycles also works if an order cycle has no shipping methods
...
If a distributor order cycle has no shipping methods it will be invalid. This is a bit confusing because adding a check for :invalid seems like it would be better if it was done in the Shop::OrderCyclesList service but the hack doesn't work if you put it in there, it seems like something needs a refactor.
2022-09-30 13:13:39 +01:00
Cillian O'Ruanaidh
5a4bc79c74
Update sample data task so distributor order cycles have shipping methods attached i.e. are valid
2022-09-30 13:13:39 +01:00
Cillian O'Ruanaidh
bff7650b35
Change :available_shipping_methods helper to use new OrderAvailableShippingMethods service.
2022-09-30 13:13:39 +01:00
Cillian O'Ruanaidh
855ec1a708
Add new 'Checkout options' step to the edit order cycle form so people can attach shipping methods
2022-09-30 13:13:39 +01:00
Cillian O'Ruanaidh
1e817af5aa
Validate deleting a shipping method or switching it to backoffice only doesn't invalidate any order cycles
2022-09-30 13:13:39 +01:00
Cillian O'Ruanaidh
48c2e48b24
Update the OrderCycleForm service so it supports attaching shipping methods
2022-09-30 13:13:39 +01:00
Cillian O'Ruanaidh
ca97a7f52d
Add :shipping_methods association to OrderCyle and validations
2022-09-30 13:13:39 +01:00
Cillian O'Ruanaidh
9a6e8a1113
Add an OrderCycleShippingMethod model to handle attaching shipping methods to order cycles
2022-09-30 13:13:39 +01:00
Cillian O'Ruanaidh
94d71b8dce
Remove extra unnecessary :display_on_checkout scope and reuse :frontend scope instead
2022-09-30 13:13:39 +01:00
Cillian O'Ruanaidh
a5daee39e3
Extract out a DISPLAY_ON_OPTIONS constant in Spree::ShippingMethod instead of magic strings
2022-09-30 13:13:39 +01:00
Cillian O'Ruanaidh
37617f63ea
Remove non-functional :backend scope from Spree::ShippingRate
...
It finds shipping methods where 'display_on != front_end' but :front_end values were removed in a1317be19b/db/migrate/20200508101630_convert_frontend_shipping_method_to_both.rb so it will always return true.
2022-09-30 13:13:39 +01:00
Cillian O'Ruanaidh
9b5f743fa5
Extract out a OrderCycle#simple? method so it can be used in models
2022-09-30 13:13:39 +01:00
Filipe
e85dd99e04
Merge pull request #9633 from binarygit/add-stimulus-reflex
...
Add StimulusReflex
2022-09-29 17:11:18 +01:00
binarygit
ebe4a3d6ab
Add StimulusReflex
2022-09-29 16:03:45 +02:00
jibees
382f8c38f6
Merge pull request #9712 from jibees/solve-uglifier-error
...
Remove now unnecessary uglifier gem
2022-09-29 16:02:14 +02:00
Jean-Baptiste Bellet
a024d0e5ac
Remove uglifier
2022-09-29 15:24:31 +02:00
Rachel Arnould
f8f778eaa1
Merge pull request #9686 from jibees/9684-fix-search-customer-in-order-creation-for-super-admin
...
Admin, New Order, Search customer: As a super admin, search for customer within all enterprises
2022-09-29 14:35:18 +02:00
Maikel Linke
8011d85968
Clarify updating only pre-existing customers
2022-09-29 12:06:06 +02:00
Maikel Linke
a7de56460d
Further simplify Order by outsourcing to service class
2022-09-29 12:06:06 +02:00
Maikel Linke
1f19642dad
Simplify Order by outsourcing to service class
...
This is work in progress and calling the service will be simplified in a
few commits.
2022-09-29 12:06:06 +02:00
Maikel Linke
33d6454dd3
Simplify with guard clause
2022-09-29 12:06:06 +02:00
Maikel Linke
a0260c4ff7
Move customer update logic to own service file
...
The Order class is too big already. We can move more code in the next
commits.
2022-09-29 12:06:06 +02:00
Maikel Linke
cec81a3ae6
Clarify condition to create customer record
2022-09-29 12:06:06 +02:00
Maikel Linke
37eac5ed49
Remove dead code branch in customer check
...
We only try to create a customer when none is present. So the check for
validating the customer always returned false because we didn't have a
customer.
2022-09-29 12:06:06 +02:00
Maikel Linke
b232fa3d0c
Deal with conflicting customer entries
2022-09-29 12:06:06 +02:00
Maikel Linke
f6ac02dce5
Update customer's email after user changed it
...
This may fail if there's already a customer record with the same email
address for the same enterprise. I will fix that in the next commit.
2022-09-29 12:06:06 +02:00
Maikel Linke
9dbba35019
Find customers by user id as well as email
...
Also fixing up a spec which became brittle due to too much mocking.
2022-09-29 12:06:06 +02:00
Maikel Linke
cf634d8d9b
Simplify customer association
2022-09-29 12:06:06 +02:00
Maikel Linke
5fefd3b14b
Remove useless customer loading and clarify name
...
The method `associate_customer` only loads a customer but doesn't
actually associate one. So the deleted line doesn't have any effect.
The intention was to reset the customer after switching shops but the
before_validation logic on the order model takes care of that already.
I'm renaming this private method here for clarity.
2022-09-29 12:06:06 +02:00
Maikel Linke
93da64f466
Spec for duplicate customers after changing email
2022-09-29 12:06:06 +02:00
Maikel Linke
0d1f48ac0d
Simplify order-customer logic
2022-09-29 12:06:06 +02:00
Maikel Linke
ccbf20a73b
Replace spec of customer's internal logic
...
Specs should test public methods. Private methods should be able to
change without specs breaking.
The specs were also just mirroring the code and didn't really have any
meaning. So I wrote new ones which are hopefully clearer.
There's actually a case which I don't quite understand. Why don't we
require a customer for a new complete order? It means that we don't have
a customer creating it but then it's added when updating the order.
Seems inconsistent.
2022-09-29 12:06:06 +02:00
jibees
5dc4a859f7
Merge pull request #9717 from openfoodfoundation/dependabot/bundler/view_component-2.74.0
...
Bump view_component from 2.73.0 to 2.74.0
2022-09-29 10:19:23 +02:00
jibees
9323931a21
Merge pull request #9715 from openfoodfoundation/dependabot/npm_and_yarn/babel/preset-env-7.19.3
...
Bump @babel/preset-env from 7.19.1 to 7.19.3
2022-09-29 09:33:28 +02:00
Maikel Linke
d81037d658
Simplify branching logic in SearchesController
2022-09-29 09:30:21 +02:00
Maikel Linke
12d7db3dd6
More efficient enterprise access check
2022-09-29 09:30:21 +02:00
Jean-Baptiste Bellet
cdf71b419f
Search within all enterprises if user is the super admin
2022-09-29 09:30:21 +02:00
dependabot[bot]
6f6b1ce9e6
Bump view_component from 2.73.0 to 2.74.0
...
Bumps [view_component](https://github.com/viewcomponent/view_component ) from 2.73.0 to 2.74.0.
- [Release notes](https://github.com/viewcomponent/view_component/releases )
- [Changelog](https://github.com/ViewComponent/view_component/blob/main/docs/CHANGELOG.md )
- [Commits](https://github.com/viewcomponent/view_component/compare/v2.73.0...v2.74.0 )
---
updated-dependencies:
- dependency-name: view_component
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-09-29 07:02:17 +00:00
Maikel
2c2d244c56
Merge pull request #9716 from filipefurtad0/fix_reports_spec
...
Fixes invert columns logic on reports spec
2022-09-29 17:00:38 +10:00
Maikel Linke
c8cfbbb0b2
Use standard ApplicationRecord in task class
...
It's best practice to use the ApplicationRecord. But when Rake is
loaded, our application is not loaded yet and the ApplicationRecord
class wasn't available yet. Requiring within the task solves the problem
because Rake loads the Rails environment before executing this task.
I also removed the unused highline loading.
2022-09-29 11:56:10 +10:00
Maikel
c000c0dd5d
Merge pull request #9709 from openfoodfoundation/dependabot/bundler/view_component-2.73.0
...
Bump view_component from 2.72.0 to 2.73.0
2022-09-29 08:23:09 +10:00
Filipe
958c6fe8f3
Merge pull request #9685 from filipefurtad0/remove_js_tracking_code
...
Removes matomo JS tracking code
2022-09-28 23:15:23 +01:00
Filipe
9cc2d30920
Merge pull request #9642 from mkllnk/9002-customer-association
...
Delete duplicate customer entries
2022-09-28 17:17:23 +01:00
filipefurtad0
e00a59212c
Fixes invert columns logic on reports spec
2022-09-28 11:49:20 +01:00
dependabot[bot]
e783594385
Bump @babel/preset-env from 7.19.1 to 7.19.3
...
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env ) from 7.19.1 to 7.19.3.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.19.3/packages/babel-preset-env )
---
updated-dependencies:
- dependency-name: "@babel/preset-env"
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-09-28 09:03:57 +00:00
Ashwini Seshadri
edee5c693b
Changed new subscription dialog to use tom-select from select2
...
fixed z-index, text-alignment in the dropdown menu to left in new subscription modal, replaced click_link with page.find().click in subscription specs, removed href in subscription index
2022-09-28 10:47:39 +02:00
dependabot[bot]
fea78884e7
Bump view_component from 2.72.0 to 2.73.0
...
Bumps [view_component](https://github.com/viewcomponent/view_component ) from 2.72.0 to 2.73.0.
- [Release notes](https://github.com/viewcomponent/view_component/releases )
- [Changelog](https://github.com/ViewComponent/view_component/blob/main/docs/CHANGELOG.md )
- [Commits](https://github.com/viewcomponent/view_component/compare/v2.72.0...v2.73.0 )
---
updated-dependencies:
- dependency-name: view_component
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-09-28 07:23:18 +00:00
jibees
4f290b5bc5
Merge pull request #9707 from filipefurtad0/remove_visible_true_label
...
Removes "visible: true" from system specs
2022-09-28 09:21:19 +02:00
Maikel
52c38428e8
Merge pull request #9624 from filipefurtad0/add_vcr_to_the_stack
...
Add VCR to the stack
2022-09-28 10:48:59 +10:00
filipefurtad0
538844a1fb
Removes _visible: true_ from system specs
2022-09-27 17:32:25 +01:00
filipefurtad0
4690cb102b
Adds sets-up the cassettes correctly and other configs
...
deletes unecessary files
Reverts helper option to turn VCR off
2022-09-27 07:26:26 +01:00
Maikel Linke
4e33bd2713
Avoid trying to delete address referenced elsewhere
2022-09-27 13:14:51 +10:00
Maikel Linke
286dade66f
Don't enforce ApplicationRecord in migrations
...
We shouldn't use app code in migrations because app code changes while
migrations should always do the same to enable old servers to upgrade.
We have some existing migrations which use ApplicationRecord but I found
that changing them retrospectively breaks them already. So let's leave
them alone.
2022-09-27 13:14:51 +10:00
Maikel Linke
591f901935
Delete duplicate customer entries
2022-09-27 13:14:49 +10:00
Maikel Linke
aec28e0807
Simplify customer model requiring enterprise
2022-09-27 13:14:18 +10:00
Maikel Linke
be31b9a897
Document purpose of customer model
2022-09-27 13:14:18 +10:00
Maikel
6783e7f74c
Fix typo
2022-09-27 12:37:08 +10:00
Maikel
19c9eccffe
Merge pull request #9704 from openfoodfoundation/dependabot/bundler/geocoder-1.8.1
...
Bump geocoder from 1.8.0 to 1.8.1
2022-09-27 12:09:12 +10:00
Maikel
561aa0e291
Merge pull request #9701 from sashashura/patch-6
...
GitHub Workflows security hardening
2022-09-27 11:56:25 +10:00
dependabot[bot]
e45decf14e
Bump geocoder from 1.8.0 to 1.8.1
...
Bumps [geocoder](https://github.com/alexreisner/geocoder ) from 1.8.0 to 1.8.1.
- [Release notes](https://github.com/alexreisner/geocoder/releases )
- [Changelog](https://github.com/alexreisner/geocoder/blob/master/CHANGELOG.md )
- [Commits](https://github.com/alexreisner/geocoder/compare/v1.8.0...v1.8.1 )
---
updated-dependencies:
- dependency-name: geocoder
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-09-26 09:32:31 +00:00
jibees
b851aba81a
Merge pull request #9699 from filipefurtad0/localization_number_settings
...
Adds tests to decimal, thousands and localization number settings
2022-09-26 10:57:28 +02:00
jibees
45040ca702
Merge pull request #9696 from openfoodfoundation/dependabot/npm_and_yarn/hotwired/turbo-7.2.0
...
Bump @hotwired/turbo from 7.1.0 to 7.2.0
2022-09-26 10:56:55 +02:00
jibees
126da75167
Merge pull request #9694 from openfoodfoundation/dependabot/bundler/spring-4.1.0
...
Bump spring from 4.0.0 to 4.1.0
2022-09-26 10:55:51 +02:00
jibees
71b24ef8b9
Merge pull request #9690 from openfoodfoundation/dependabot/bundler/sidekiq-6.5.7
...
Bump sidekiq from 6.5.6 to 6.5.7
2022-09-26 10:54:42 +02:00
jibees
4ae93113f0
Merge pull request #9670 from dacook/generate-erd
...
Script to generate ERD
2022-09-26 10:33:06 +02:00
Alex
8ce82a9ad6
build: harden mapi.yml permissions
...
Signed-off-by: Alex <aleksandrosansan@gmail.com >
2022-09-23 22:52:16 +02:00
Alex
bd6bf9315a
build: harden linters.yml permissions
...
Signed-off-by: Alex <aleksandrosansan@gmail.com >
2022-09-23 22:51:33 +02:00
filipefurtad0
7b33405530
Replaces translation with actual string
...
DRY: creates update_and_assert_message
2022-09-23 13:00:39 +01:00
filipefurtad0
6e3c0858c1
Adds decimal and thousands separator test
2022-09-23 12:47:18 +01:00
filipefurtad0
fb8d2827d2
Adds number localization preferences test
2022-09-23 12:03:18 +01:00
dependabot[bot]
ae8d505367
Bump @hotwired/turbo from 7.1.0 to 7.2.0
...
Bumps [@hotwired/turbo](https://github.com/hotwired/turbo ) from 7.1.0 to 7.2.0.
- [Release notes](https://github.com/hotwired/turbo/releases )
- [Commits](https://github.com/hotwired/turbo/compare/v7.1.0...v7.2.0 )
---
updated-dependencies:
- dependency-name: "@hotwired/turbo"
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-09-23 09:03:43 +00:00
Jean-Baptiste Bellet
cba9779168
Update all locales with the latest Transifex translations
2022-09-22 16:35:32 +02:00
dependabot[bot]
17e9dbc0f7
Bump spring from 4.0.0 to 4.1.0
...
Bumps [spring](https://github.com/rails/spring ) from 4.0.0 to 4.1.0.
- [Release notes](https://github.com/rails/spring/releases )
- [Changelog](https://github.com/rails/spring/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rails/spring/compare/v4.0.0...v4.1.0 )
---
updated-dependencies:
- dependency-name: spring
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-09-22 09:16:42 +00:00
filipefurtad0
e798277cbf
Adds real requests with concealed secret key
2022-09-21 12:32:49 +01:00
filipefurtad0
3e97433920
Adds VCR config file into support folder
...
...with additional options to vcr_setup
2022-09-21 12:32:49 +01:00
filipefurtad0
038b93fdf6
Adds VCR to the stack
...
...And sets gems in alphabetical order
2022-09-21 12:32:49 +01:00
Rachel Arnould
e98d4af630
Merge pull request #9659 from saunmanoj888/fix-bulk-product-update-unit-value
...
Allow to change unit value for numbers with a comma separator on bulk product update
2022-09-21 13:04:08 +02:00
dependabot[bot]
79374ce5d7
Bump sidekiq from 6.5.6 to 6.5.7
...
Bumps [sidekiq](https://github.com/mperham/sidekiq ) from 6.5.6 to 6.5.7.
- [Release notes](https://github.com/mperham/sidekiq/releases )
- [Changelog](https://github.com/mperham/sidekiq/blob/main/Changes.md )
- [Commits](https://github.com/mperham/sidekiq/compare/v6.5.6...v6.5.7 )
---
updated-dependencies:
- dependency-name: sidekiq
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-09-21 09:07:14 +00:00
jibees
e0aa94e6af
Merge pull request #9689 from openfoodfoundation/dependabot/npm_and_yarn/floating-ui/dom-1.0.2
...
Bump @floating-ui/dom from 1.0.1 to 1.0.2
2022-09-21 09:21:46 +02:00
Maikel
a4de128a76
Merge pull request #9674 from filipefurtad0/wicked_pdf_config
...
Makes wicked-pdf config ENV-dependent
2022-09-21 13:16:41 +10:00
David Cook
96d1616b70
Update for compatibility with macOS (BSD grep)
...
The --max-count option tells grep to stop reading lines after the first matching line. We're looking for the line AFTER the first matching line.
2022-09-21 12:22:21 +10:00
David Cook
086cde83db
Script to easily generate ERD
...
The generated date is included for reference.
Stored in new 'doc/' directory.
2022-09-21 12:21:49 +10:00
David Cook
4abe677cc6
Add rails-erd gem
...
Only in development environment.
2022-09-21 12:21:46 +10:00
Maikel
fe2e510fdc
Merge pull request #9621 from filipefurtad0/invoice_spec_to_account_for_tax_ordering
...
Invoice spec to account for tax ordering
2022-09-21 10:14:07 +10:00
dependabot[bot]
ae152fd94f
Bump @floating-ui/dom from 1.0.1 to 1.0.2
...
Bumps [@floating-ui/dom](https://github.com/floating-ui/floating-ui/tree/HEAD/packages/dom ) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/floating-ui/floating-ui/releases )
- [Commits](https://github.com/floating-ui/floating-ui/commits/@floating-ui/dom@1.0.2/packages/dom )
---
updated-dependencies:
- dependency-name: "@floating-ui/dom"
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-09-20 09:04:55 +00:00
Maikel
5173ddb7a0
Merge pull request #9675 from filipefurtad0/split_build_consumer_tests
...
Makes build run all specs; fixes failing specs
2022-09-20 11:20:52 +10:00
Filipe
bd698f5d81
Merge pull request #9683 from filipefurtad0/customer_query_superadmin_spec
...
Spec reproducing failing customer query, as superadmin
2022-09-19 15:53:07 +01:00
filipefurtad0
136a4df4d9
Removes matomo JS tracking code
2022-09-19 15:26:07 +01:00
filipefurtad0
7e168fad02
Spec reproduing failing customer query, as superadmin
2022-09-19 14:11:13 +01:00
jibees
c574b2d8ba
Merge pull request #9634 from binarygit/remove-angular-from-shipping-methods
...
Remove shipping methods controller
2022-09-19 14:16:07 +02:00
jibees
502abfdfce
Merge pull request #9681 from openfoodfoundation/dependabot/bundler/rubocop-rails-2.16.1
...
Bump rubocop-rails from 2.16.0 to 2.16.1
2022-09-19 14:13:22 +02:00
jibees
c714204877
Merge pull request #9673 from openfoodfoundation/dependabot/npm_and_yarn/babel/preset-env-7.19.1
...
Bump @babel/preset-env from 7.19.0 to 7.19.1
2022-09-19 14:13:08 +02:00
dependabot[bot]
cb84f6671a
Bump @babel/preset-env from 7.19.0 to 7.19.1
...
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env ) from 7.19.0 to 7.19.1.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.19.1/packages/babel-preset-env )
---
updated-dependencies:
- dependency-name: "@babel/preset-env"
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-09-19 08:38:38 +00:00
jibees
20c393e4e9
Merge pull request #9680 from openfoodfoundation/dependabot/bundler/shoulda-matchers-5.2.0
...
Bump shoulda-matchers from 5.1.0 to 5.2.0
2022-09-19 10:38:01 +02:00
jibees
8e3cd4653d
Merge pull request #9669 from openfoodfoundation/dependabot/npm_and_yarn/storybook/addon-docs-6.5.12
...
Bump @storybook/addon-docs from 6.5.10 to 6.5.12
2022-09-19 10:33:59 +02:00
jibees
b4deb19d8e
Merge pull request #9667 from openfoodfoundation/dependabot/npm_and_yarn/storybook/addon-controls-6.5.12
...
Bump @storybook/addon-controls from 6.5.10 to 6.5.12
2022-09-19 10:33:41 +02:00
dependabot[bot]
e30ebd3671
Bump rubocop-rails from 2.16.0 to 2.16.1
...
Bumps [rubocop-rails](https://github.com/rubocop/rubocop-rails ) from 2.16.0 to 2.16.1.
- [Release notes](https://github.com/rubocop/rubocop-rails/releases )
- [Changelog](https://github.com/rubocop/rubocop-rails/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rubocop/rubocop-rails/compare/v2.16.0...v2.16.1 )
---
updated-dependencies:
- dependency-name: rubocop-rails
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-09-19 07:58:34 +00:00
dependabot[bot]
b7f8422f30
Bump shoulda-matchers from 5.1.0 to 5.2.0
...
Bumps [shoulda-matchers](https://github.com/thoughtbot/shoulda-matchers ) from 5.1.0 to 5.2.0.
- [Release notes](https://github.com/thoughtbot/shoulda-matchers/releases )
- [Changelog](https://github.com/thoughtbot/shoulda-matchers/blob/main/CHANGELOG.md )
- [Commits](https://github.com/thoughtbot/shoulda-matchers/compare/v5.1.0...v5.2.0 )
---
updated-dependencies:
- dependency-name: shoulda-matchers
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-09-19 07:56:59 +00:00
dependabot[bot]
b3d628551e
Bump @storybook/addon-controls from 6.5.10 to 6.5.12
...
Bumps [@storybook/addon-controls](https://github.com/storybookjs/storybook/tree/HEAD/addons/controls ) from 6.5.10 to 6.5.12.
- [Release notes](https://github.com/storybookjs/storybook/releases )
- [Changelog](https://github.com/storybookjs/storybook/blob/v6.5.12/CHANGELOG.md )
- [Commits](https://github.com/storybookjs/storybook/commits/v6.5.12/addons/controls )
---
updated-dependencies:
- dependency-name: "@storybook/addon-controls"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-09-19 07:55:08 +00:00
dependabot[bot]
70e39174d2
Bump @storybook/addon-docs from 6.5.10 to 6.5.12
...
Bumps [@storybook/addon-docs](https://github.com/storybookjs/storybook/tree/HEAD/addons/docs ) from 6.5.10 to 6.5.12.
- [Release notes](https://github.com/storybookjs/storybook/releases )
- [Changelog](https://github.com/storybookjs/storybook/blob/v6.5.12/CHANGELOG.md )
- [Commits](https://github.com/storybookjs/storybook/commits/v6.5.12/addons/docs )
---
updated-dependencies:
- dependency-name: "@storybook/addon-docs"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-09-19 07:54:54 +00:00
jibees
b03cfa163a
Merge pull request #9672 from openfoodfoundation/dependabot/bundler/view_component-2.72.0
...
Bump view_component from 2.71.0 to 2.72.0
2022-09-19 09:54:38 +02:00
jibees
4c32548e83
Merge pull request #9668 from openfoodfoundation/dependabot/npm_and_yarn/storybook/server-6.5.12
...
Bump @storybook/server from 6.5.10 to 6.5.12
2022-09-19 09:53:47 +02:00
Jean-Baptiste Bellet
7186526dc6
Fix block too long warnings
2022-09-19 09:26:34 +02:00
filipefurtad0
8c8b262ea1
Sets examples pending and dry running with xit
2022-09-16 15:24:51 +01:00
filipefurtad0
6ae741936f
Scrolls down the page to enable finding element
2022-09-16 15:24:39 +01:00
Jean-Baptiste Bellet
cf8bab97e8
Fix spec by not raising the error image not found
...
`GET http://localhost:3000/throbber.gif 404 (Not Found)`
In the meantime, open an issue to remove jquery.jstree from this page: 9677
2022-09-16 11:04:08 +02:00
Jean-Baptiste Bellet
ba2ad4a0c4
Since #9126 , replacing Paperclip with ActiveStorage, some methods changed
2022-09-16 10:51:04 +02:00
Jean-Baptiste Bellet
4a8dc37b40
Since #9087 , we don't use a boolean but an enum, 'public' or 'hidden'
2022-09-16 10:02:27 +02:00
Jean-Baptiste Bellet
3942c4d808
Fix failing spec: since #9606 we use tom-select
2022-09-16 09:32:34 +02:00
filipefurtad0
ba8162c1d0
Splits consumer specs into two parallel runs
2022-09-15 17:34:01 +01:00
filipefurtad0
bf1fc736b9
Removes _spec.rb ending from admin specs on build.yml
2022-09-15 17:32:48 +01:00
filipefurtad0
bc1ae01eb6
Updates invoice_spec to A3 page size setting
...
Separates display_as in assertion to prevent line break failures
2022-09-15 14:34:15 +01:00
filipefurtad0
e4cceffd5c
Makes wicked-pdf config env dependent
2022-09-15 12:12:47 +01:00
Maikel Linke
887f886110
Update translations
2022-09-15 16:25:33 +10:00
dependabot[bot]
78fa44739f
Bump view_component from 2.71.0 to 2.72.0
...
Bumps [view_component](https://github.com/viewcomponent/view_component ) from 2.71.0 to 2.72.0.
- [Release notes](https://github.com/viewcomponent/view_component/releases )
- [Changelog](https://github.com/ViewComponent/view_component/blob/main/docs/CHANGELOG.md )
- [Commits](https://github.com/viewcomponent/view_component/compare/v2.71.0...v2.72.0 )
---
updated-dependencies:
- dependency-name: view_component
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-09-15 06:22:01 +00:00
Maikel
1f00ddeb3b
Merge pull request #9654 from openfoodfoundation/dependabot/bundler/rswag-specs-2.6.0
...
Bump rswag-specs from 2.5.1 to 2.6.0
2022-09-15 16:17:41 +10:00
dependabot[bot]
46c19580bc
Bump @storybook/server from 6.5.10 to 6.5.12
...
Bumps [@storybook/server](https://github.com/storybookjs/storybook/tree/HEAD/app/server ) from 6.5.10 to 6.5.12.
- [Release notes](https://github.com/storybookjs/storybook/releases )
- [Changelog](https://github.com/storybookjs/storybook/blob/v6.5.12/CHANGELOG.md )
- [Commits](https://github.com/storybookjs/storybook/commits/v6.5.12/app/server )
---
updated-dependencies:
- dependency-name: "@storybook/server"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-09-14 09:04:51 +00:00
filipefurtad0
e54acf3ca0
Changes tax parcels into the correct order
...
This should fail now, adding pending example on next commit
Wraps failing assertions around pending block
Addresses rubocop Style/LineEndConcatenation convention
Removes pending blocks
2022-09-14 08:02:45 +01:00
saunmanoj888
498d003684
Add unit specs for the js changes for unit_value
2022-09-13 23:28:27 +05:30
binarygit
90f4b1328b
Remove angular from shipping methods tab in enterprise/edit
2022-09-13 15:20:33 +05:45
dependabot[bot]
0c81ec0202
Bump rswag-specs from 2.5.1 to 2.6.0
...
Bumps [rswag-specs](https://github.com/rswag/rswag ) from 2.5.1 to 2.6.0.
- [Release notes](https://github.com/rswag/rswag/releases )
- [Changelog](https://github.com/rswag/rswag/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rswag/rswag/compare/2.5.1...2.6.0 )
---
updated-dependencies:
- dependency-name: rswag-specs
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-09-13 00:44:05 +00:00
Maikel
584430d64b
Merge pull request #9655 from openfoodfoundation/dependabot/bundler/rswag-ui-2.6.0
...
Bump rswag-ui from 2.5.1 to 2.6.0
2022-09-13 10:42:41 +10:00
Maikel
8334923a5c
Merge pull request #9653 from openfoodfoundation/dependabot/bundler/rswag-api-2.6.0
...
Bump rswag-api from 2.5.1 to 2.6.0
2022-09-13 10:42:00 +10:00
Maikel
61784ed174
Merge pull request #9656 from openfoodfoundation/dependabot/bundler/rubocop-rails-2.16.0
...
Bump rubocop-rails from 2.15.2 to 2.16.0
2022-09-13 10:40:00 +10:00
Maikel
906bfc5ae8
Merge pull request #9657 from openfoodfoundation/dependabot/bundler/rails-6.1.7
...
Bump rails from 6.1.6.1 to 6.1.7
2022-09-13 10:37:32 +10:00
jibees
5a4b38ec55
Merge pull request #9536 from jibees/9145-Splitcheckout,-add-error-message-when-no-shipping-methods-are-available-to-the-customer
...
Split Checkout: add error message when no shipping methods are available to the customer
2022-09-12 15:22:11 +02:00
saunmanoj888
6917125173
Allow to change unit value for numbers with a comma separator
2022-09-12 15:55:03 +05:30
dependabot[bot]
65506769ab
Bump rails from 6.1.6.1 to 6.1.7
...
Bumps [rails](https://github.com/rails/rails ) from 6.1.6.1 to 6.1.7.
- [Release notes](https://github.com/rails/rails/releases )
- [Commits](https://github.com/rails/rails/compare/v6.1.6.1...v6.1.7 )
---
updated-dependencies:
- dependency-name: rails
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-09-12 09:17:01 +00:00
dependabot[bot]
9909e84cb9
Bump rubocop-rails from 2.15.2 to 2.16.0
...
Bumps [rubocop-rails](https://github.com/rubocop/rubocop-rails ) from 2.15.2 to 2.16.0.
- [Release notes](https://github.com/rubocop/rubocop-rails/releases )
- [Changelog](https://github.com/rubocop/rubocop-rails/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rubocop/rubocop-rails/compare/v2.15.2...v2.16.0 )
---
updated-dependencies:
- dependency-name: rubocop-rails
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-09-12 09:16:36 +00:00
dependabot[bot]
e00ee364ea
Bump rswag-ui from 2.5.1 to 2.6.0
...
Bumps [rswag-ui](https://github.com/rswag/rswag ) from 2.5.1 to 2.6.0.
- [Release notes](https://github.com/rswag/rswag/releases )
- [Changelog](https://github.com/rswag/rswag/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rswag/rswag/compare/2.5.1...2.6.0 )
---
updated-dependencies:
- dependency-name: rswag-ui
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-09-12 09:16:16 +00:00
dependabot[bot]
479c895a59
Bump rswag-api from 2.5.1 to 2.6.0
...
Bumps [rswag-api](https://github.com/rswag/rswag ) from 2.5.1 to 2.6.0.
- [Release notes](https://github.com/rswag/rswag/releases )
- [Changelog](https://github.com/rswag/rswag/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rswag/rswag/compare/2.5.1...2.6.0 )
---
updated-dependencies:
- dependency-name: rswag-api
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-09-12 09:14:43 +00:00
Jean-Baptiste Bellet
86cb86e8b5
Add a flash error where no available shipping methods to the customer
...
+ update specs as well
2022-09-12 09:42:26 +02:00
Jean-Baptiste Bellet
9dd3a8bc5a
Store all distributors shipping methods to one array
2022-09-12 09:42:26 +02:00
Maikel
68256346e7
Merge pull request #9644 from filipefurtad0/fix_flaky_search
...
Splits tests into existing/non-existing shops
2022-09-12 14:05:49 +10:00
Maikel
44bf63137a
Merge pull request #9606 from binarygit/remove-angular-from-address
...
Remove Angular from Address Tab
2022-09-12 13:49:54 +10:00
Maikel
e9ad573bcd
Merge pull request #9641 from mkllnk/prod-schema
...
Synchronise db schema with (AU) production
2022-09-12 13:40:57 +10:00
filipefurtad0
215f3e97ad
Splits tests into existing/non-existing shops
...
Sets failing tests as pending for issues #9649 and #5467
2022-09-09 13:08:45 +01:00
Jean-Baptiste Bellet
49f78f3706
Update all locales with the latest Transifex translations
2022-09-08 16:40:17 +02:00
jibees
9563dd6c51
Merge pull request #9497 from jibees/9493-fix-issues-around-rounding-in-imperial-metric-system
...
Avoid floating rounded errors when using imperial or metric system
2022-09-08 16:34:12 +02:00
Rachel Arnould
aa36986d66
Merge pull request #9521 from jibees/create-new-report-revenues-by-hub
...
Create a new report that shows revenues (incl. or excl. taxes) by hub only available for super-admin
2022-09-08 16:10:14 +02:00
jibees
9843e0e450
Merge pull request #9640 from openfoodfoundation/dependabot/npm_and_yarn/babel/preset-env-7.19.0
...
Bump @babel/preset-env from 7.18.10 to 7.19.0
2022-09-08 09:07:02 +02:00
Jean-Baptiste Bellet
53978de632
Create a new report that show revenues (incl. or excl. taxes) by hub
...
+ Create spec
2022-09-08 09:04:44 +02:00
Maikel
d9f5f7995d
Merge pull request #9611 from mkllnk/9605-tax-total
...
Index tax totals correctly for invoice display
2022-09-08 12:04:19 +10:00
Maikel
f201b9fd11
Merge pull request #9631 from mkllnk/9153-tax-recalculation
...
[Split Checkout] Recalculate tax on summary step
2022-09-08 11:39:44 +10:00
Jean-Baptiste Bellet
d53b2b94b9
When creating new product via /admin/products/new use BigDecimal
...
to avoid bad rounded multiplication
example here:
700*0.001 = 0.7000000000000001
+ update specs as well
2022-09-07 09:17:46 +02:00
Jean-Baptiste Bellet
4452ad2c51
Use BigDecimal to avoir multiplication/division floating errors
...
Like 28.35 * 12 / 12 = 28.350000000000005
+ in js, use parseFloat() to format `12.00` as `12`
2022-09-07 09:17:46 +02:00
Jean-Baptiste Bellet
6594419b22
Add js-big-decimal to work with division and multiplication
...
Use a lib instead of Math.round((value*100)/100)
2022-09-07 09:17:46 +02:00
Maikel Linke
4ba008f31b
Synchronise db schema with production
...
Rails seems to have changed the options in schema.rb at some point to
include more specifics but we didn't record this in our tracked
schema.rb. As a result, production shows changes in that file after
running migrations.
Sometimes I also use production dumps in development, for example to
test migrations. Then the schema is changed for the migration and for
these syntax changes. Synching the schema with migration should
standardise all our setups and and make git diffs clearer.
2022-09-07 16:02:51 +10:00
Maikel
dd2e77a244
Merge pull request #9557 from jibees/9555-update-the-build-env
...
Update the build env. from ubuntu-18.04 to ubuntu-20.04
2022-09-07 13:43:42 +10:00
dependabot[bot]
be561d1032
Bump @babel/preset-env from 7.18.10 to 7.19.0
...
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env ) from 7.18.10 to 7.19.0.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.19.0/packages/babel-preset-env )
---
updated-dependencies:
- dependency-name: "@babel/preset-env"
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-09-06 09:04:41 +00:00
Jean-Baptiste Bellet
24fc941b4c
Update the build env. from ubuntu-18.04 to ubuntu-20.04
2022-09-06 10:28:26 +02:00
Maikel
21054c1a8a
Merge pull request #9594 from binarygit/remove-angular-from-primary-details
...
Remove Angular from Primary Details Tab
2022-09-06 10:17:14 +10:00
Maikel
0778c5f550
Merge pull request #9607 from openfoodfoundation/dependabot/bundler/sidekiq-6.5.6
...
Bump sidekiq from 6.5.4 to 6.5.6
2022-09-06 10:16:39 +10:00
Maikel Linke
1d04510365
Update totals on summary step
2022-09-05 15:54:33 +10:00
Maikel Linke
6c7a089527
Recalculate tax on summary step
2022-09-05 15:14:08 +10:00
binarygit
abbb61b943
Remove country controller from enterprises/new and Business Details tab
2022-09-05 09:52:27 +05:45
binarygit
36b5cb3b49
Replace country controller with dependent select in address tab
2022-09-05 09:52:27 +05:45
binarygit
0cfe842bd6
Fix typo: dependant to dependent in dependent-select controller
2022-09-05 09:52:27 +05:45
Maikel Linke
eaca953106
Create only required test data for speed
...
It reduced the execution time by 5% on my machine (2-3 seconds).
2022-09-05 13:42:47 +10:00
Maikel Linke
cc5125f49e
Apply related db assertions in tax spec
...
Somehow the helper methods were testing two different orders even though
each spec is using only one order, the one which is currently being
checked out by the user.
So I brought the code closer into the example to easier see what is
related and tested.
I also changed the assertions for the pending spec but can't really
verify them yet until I have completely working code.
2022-09-05 11:40:47 +10:00
Maikel Linke
3f2b3b88eb
Re-use in-memory test objects
...
And reduce code by referring to objects instead of just ids.
2022-09-05 10:59:15 +10:00
Maikel
7101bacc8c
Merge pull request #9620 from openfoodfoundation/dependabot/bundler/rubocop-1.36.0
...
Bump rubocop from 1.35.1 to 1.36.0
2022-09-05 10:30:05 +10:00
Maikel
d76b274d25
Merge pull request #9617 from openfoodfoundation/dependabot/bundler/view_component-2.71.0
...
Bump view_component from 2.69.0 to 2.71.0
2022-09-02 16:56:59 +10:00
dependabot[bot]
8d7f39941a
Bump view_component from 2.69.0 to 2.71.0
...
Bumps [view_component](https://viewcomponent.org ) from 2.69.0 to 2.71.0.
---
updated-dependencies:
- dependency-name: view_component
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-09-02 06:33:40 +00:00
Maikel
95839f88f2
Merge pull request #9623 from mkllnk/fix-storybook
...
Load storybook only in development
2022-09-02 16:32:19 +10:00
Maikel Linke
728eee6d3f
Load storybook after view_component has been loaded automatically
2022-09-02 16:10:19 +10:00
Maikel Linke
7089bd597e
Avoid loading view_component engine manually
...
We load view_component in the application config and it should be
automatic anyway.
2022-09-02 16:08:09 +10:00
Maikel Linke
2aade10aaf
Load storybook only in development
...
The gem is not available in other environments an the app fails to boot.
2022-09-02 16:07:25 +10:00
Maikel
4057df5b93
Merge pull request #9586 from openfoodfoundation/dependabot/bundler/stripe-7.1.0
...
Bump stripe from 7.0.0 to 7.1.0
2022-09-02 13:34:11 +10:00
Filipe
8270a3f386
Merge pull request #9513 from filipefurtad0/matomo_tag_on_register_page
...
Add matomo_tag to /register pages
2022-09-01 10:19:54 +01:00
dependabot[bot]
a2aa5f2607
Bump rubocop from 1.35.1 to 1.36.0
...
Bumps [rubocop](https://github.com/rubocop/rubocop ) from 1.35.1 to 1.36.0.
- [Release notes](https://github.com/rubocop/rubocop/releases )
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rubocop/rubocop/compare/v1.35.1...v1.36.0 )
---
updated-dependencies:
- dependency-name: rubocop
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-09-01 09:07:43 +00:00
Maikel Linke
30a9e80024
Update translations
2022-09-01 11:55:03 +10:00
Maikel
612001fc3f
Merge pull request #9600 from mkllnk/rubocop
...
Update rubocop config to avoid deprecation
2022-09-01 11:42:15 +10:00
Maikel
2a93968370
Merge pull request #9599 from mkllnk/load-storybook
...
Avoid storybook deprecation warning
2022-09-01 11:41:27 +10:00
Maikel
b0a4fcdc26
Merge pull request #9598 from mkllnk/spec-typos
...
Correct typo in spec which lead to flakiness
2022-09-01 11:39:38 +10:00
Maikel Linke
326b0af35f
Sort tax total by percentage on invoice
2022-09-01 11:19:02 +10:00
Maikel Linke
91eaa522cf
Simplify tax totals helper
2022-08-31 16:47:04 +10:00
Maikel Linke
2a57dc9766
Index tax totals correctly for invoice display
2022-08-31 16:47:04 +10:00
Maikel Linke
f37b681fac
Allow more tax data in the summary
...
I converted the value to a hash so that we can put all information in
there and we won't need the current hash key as percentage any more.
2022-08-31 16:47:04 +10:00
Maikel Linke
f4466b1aad
Spec problem with tax rate summary display
2022-08-31 16:47:04 +10:00
Maikel Linke
33feb7f63f
Test for explicit values, not reusing faulty code
2022-08-31 16:47:04 +10:00
binarygit
02e3184945
Replace angular tooltips in Primary Details tab
2022-08-31 11:51:51 +05:45
Maikel
04778c6fa8
Merge pull request #9597 from saunmanoj888/fix-account-setting-headers-alignment
...
Fix alignment for header Developer settings under Accounts settings
2022-08-31 16:01:41 +10:00
binarygit
8861b6d077
Replace permalinks angular ctrl with stimulus
2022-08-31 10:06:51 +05:45
binarygit
52b1f40acb
Replace select2 with tom-select in primary details tab
2022-08-31 10:06:51 +05:45
Filipe
8ace56956b
Merge pull request #9560 from binarygit/replace-tooltip
...
Replace tooltip on Enterprise Settings /contact page
2022-08-30 16:23:09 +01:00
dependabot[bot]
7718f7c0fc
Bump sidekiq from 6.5.4 to 6.5.6
...
Bumps [sidekiq](https://github.com/mperham/sidekiq ) from 6.5.4 to 6.5.6.
- [Release notes](https://github.com/mperham/sidekiq/releases )
- [Changelog](https://github.com/mperham/sidekiq/blob/main/Changes.md )
- [Commits](https://github.com/mperham/sidekiq/compare/v6.5.4...v6.5.6 )
---
updated-dependencies:
- dependency-name: sidekiq
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-08-30 09:04:24 +00:00
Maikel
b74c368de2
Merge pull request #9602 from filipefurtad0/fix_flaky_invoice_spec
...
Adds specific tax rates to each type of cost
2022-08-30 09:47:53 +10:00
filipefurtad0
e0a20bf8af
Adds specific tax rates to each type of cost
2022-08-29 17:36:39 +01:00
Maikel Linke
17afdb5912
Update rubocop config to avoid deprecation
2022-08-29 15:31:18 +10:00
Maikel Linke
d55a43d4b1
Avoid storybook deprecation warning
...
Loading the engine directly is deprecated and I followed the current
documentation to load storybook in the app. This avoids a warning:
> DEPRECATION WARNING: This manually engine loading is deprecated and will be removed in v1.0.0. Remove `require "view_component/storybook/engine"`. (called from <top (required)> at config/application.rb:30)
2022-08-29 14:57:14 +10:00
Maikel Linke
bf3da0531e
Correct grammar in spec description
2022-08-29 14:43:43 +10:00
Maikel Linke
3a365b6dc6
Remove useless braces
2022-08-29 14:42:11 +10:00
Maikel Linke
ee7dc821ca
Correct typo in spec which lead to flakiness
...
I'm not sure why this spec passed on CI when it was retried but it was
obviously wrong. Correcting that copy&paste error seems to make the spec
pass.
2022-08-29 14:39:43 +10:00
Maikel
07018370e0
Merge pull request #9595 from openfoodfoundation/dependabot/bundler/jwt-2.5.0
...
Bump jwt from 2.4.1 to 2.5.0
2022-08-29 11:43:27 +10:00
Maikel
bba665e2e1
Merge pull request #9577 from filipefurtad0/invoice-spec
...
Moves invoice_spec.rb into /system; sets :rack_test as webdriver
2022-08-29 11:34:20 +10:00
saunmanoj888
5e69320ff5
Fix header alignmnet
2022-08-27 15:31:19 +05:30
dependabot[bot]
d0242d28d2
Bump jwt from 2.4.1 to 2.5.0
...
Bumps [jwt](https://github.com/jwt/ruby-jwt ) from 2.4.1 to 2.5.0.
- [Release notes](https://github.com/jwt/ruby-jwt/releases )
- [Changelog](https://github.com/jwt/ruby-jwt/blob/master/CHANGELOG.md )
- [Commits](https://github.com/jwt/ruby-jwt/compare/v2.4.1...v2.5.0 )
---
updated-dependencies:
- dependency-name: jwt
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-08-26 09:04:29 +00:00
Maikel
9dbdcc9181
Merge pull request #9592 from openfoodfoundation/dependabot/bundler/redis-4.8.0
...
Bump redis from 4.7.1 to 4.8.0
2022-08-25 09:55:45 +10:00
Maikel
7819495d57
Merge pull request #9590 from openfoodfoundation/dependabot/bundler/puma-5.6.5
...
Bump puma from 5.6.4 to 5.6.5
2022-08-25 09:54:50 +10:00
Maikel
8723520848
Merge pull request #9585 from mkllnk/revert-stripe-update
...
Restore ability to check out with Stripe while storing a new card
2022-08-25 09:51:59 +10:00
binarygit
b76d9045ce
Replace power-tip in enterprises/edit/<name>/contact with floatingUI
2022-08-24 13:31:45 +05:45
Maikel
b42d6cf2ac
Merge pull request #9587 from openfoodfoundation/dependabot/bundler/valid_email2-4.0.4
...
Bump valid_email2 from 4.0.3 to 4.0.4
2022-08-24 16:52:13 +10:00
Maikel
f78e72af0d
Merge pull request #9588 from openfoodfoundation/dependabot/bundler/rubocop-1.35.1
...
Bump rubocop from 1.35.0 to 1.35.1
2022-08-24 16:51:14 +10:00
dependabot[bot]
5e021b76b5
Bump valid_email2 from 4.0.3 to 4.0.4
...
Bumps [valid_email2](https://github.com/micke/valid_email2 ) from 4.0.3 to 4.0.4.
- [Release notes](https://github.com/micke/valid_email2/releases )
- [Changelog](https://github.com/micke/valid_email2/blob/master/CHANGELOG.md )
- [Commits](https://github.com/micke/valid_email2/compare/v4.0.3...v4.0.4 )
---
updated-dependencies:
- dependency-name: valid_email2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-08-24 06:50:55 +00:00
Maikel
d03a5458ff
Merge pull request #9582 from openfoodfoundation/dependabot/bundler/view_component-2.69.0
...
Bump view_component from 2.68.0 to 2.69.0
2022-08-24 16:49:45 +10:00
dependabot[bot]
3aef0b4029
Bump stripe from 7.0.0 to 7.1.0
...
Bumps [stripe](https://github.com/stripe/stripe-ruby ) from 7.0.0 to 7.1.0.
- [Release notes](https://github.com/stripe/stripe-ruby/releases )
- [Changelog](https://github.com/stripe/stripe-ruby/blob/master/CHANGELOG.md )
- [Commits](https://github.com/stripe/stripe-ruby/compare/v7.0.0...v7.1.0 )
---
updated-dependencies:
- dependency-name: stripe
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-08-24 06:48:28 +00:00
Maikel
cd5a83e814
Merge pull request #9581 from openfoodfoundation/dependabot/bundler/webmock-3.18.1
...
Bump webmock from 3.17.1 to 3.18.1
2022-08-24 16:47:45 +10:00
dependabot[bot]
a943d2fee6
Bump redis from 4.7.1 to 4.8.0
...
Bumps [redis](https://github.com/redis/redis-rb ) from 4.7.1 to 4.8.0.
- [Release notes](https://github.com/redis/redis-rb/releases )
- [Changelog](https://github.com/redis/redis-rb/blob/master/CHANGELOG.md )
- [Commits](https://github.com/redis/redis-rb/compare/v4.7.1...v4.8.0 )
---
updated-dependencies:
- dependency-name: redis
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-08-24 06:47:28 +00:00
Maikel
b016ebd5b4
Merge pull request #9567 from openfoodfoundation/dependabot/bundler/bullet-7.0.3
...
Bump bullet from 7.0.2 to 7.0.3
2022-08-24 16:47:07 +10:00
Maikel
314459df92
Merge pull request #9566 from openfoodfoundation/dependabot/bundler/test-prof-1.0.10
...
Bump test-prof from 1.0.9 to 1.0.10
2022-08-24 16:46:29 +10:00
dependabot[bot]
eb0051c033
Bump puma from 5.6.4 to 5.6.5
...
Bumps [puma](https://github.com/puma/puma ) from 5.6.4 to 5.6.5.
- [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.4...v5.6.5 )
---
updated-dependencies:
- dependency-name: puma
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-08-23 09:04:05 +00:00
dependabot[bot]
ca9a7d255e
Bump rubocop from 1.35.0 to 1.35.1
...
Bumps [rubocop](https://github.com/rubocop/rubocop ) from 1.35.0 to 1.35.1.
- [Release notes](https://github.com/rubocop/rubocop/releases )
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rubocop/rubocop/compare/v1.35.0...v1.35.1 )
---
updated-dependencies:
- dependency-name: rubocop
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-08-22 09:06:17 +00:00
Maikel Linke
7cb74f2452
Revert "Merge pull request #9456 from openfoodfoundation/dependabot/bundler/activemerchant-1.126.0"
...
This reverts commit 82f38c9aea , reversing
changes made to 689720b749 .
2022-08-22 15:31:57 +10:00
dependabot[bot]
8f42c6fbed
Bump view_component from 2.68.0 to 2.69.0
...
Bumps [view_component](https://viewcomponent.org ) from 2.68.0 to 2.69.0.
---
updated-dependencies:
- dependency-name: view_component
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-08-19 09:05:47 +00:00
dependabot[bot]
bb233c5656
Bump webmock from 3.17.1 to 3.18.1
...
Bumps [webmock](https://github.com/bblimke/webmock ) from 3.17.1 to 3.18.1.
- [Release notes](https://github.com/bblimke/webmock/releases )
- [Changelog](https://github.com/bblimke/webmock/blob/master/CHANGELOG.md )
- [Commits](https://github.com/bblimke/webmock/compare/v3.17.1...v3.18.1 )
---
updated-dependencies:
- dependency-name: webmock
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-08-19 09:05:12 +00:00
filipefurtad0
be021f4697
Removes spec/features from the build-run 🎉
2022-08-17 23:25:02 +01:00
filipefurtad0
f47d86c15b
Sets cuprite as default; sets rack_test in before/after blocks
2022-08-17 23:25:02 +01:00
Filipe
ae391f8af4
Merge pull request #9414 from Philwi/user-generates-api-key
...
Let users view and regenerates api key
2022-08-17 21:36:13 +01:00
Filipe
f28c52342c
Merge pull request #9532 from jibees/9492-translate-404,-500,-422-errors-pages
...
Translate 404, 500, 422 errors pages
2022-08-17 21:12:04 +01:00
Filipe
d3f1d4a5f9
Merge pull request #9529 from Philwi/make-the-shop-url-clickable
...
Make the shop url clickable
2022-08-17 20:47:07 +01:00
Filipe
cedfa35a98
Merge pull request #9341 from jibees/9336-redirect-to-login_path-if-user-is-disabled
...
Disabled_at logic: redirect to login path if user is disabled
2022-08-17 20:33:57 +01:00
Filipe
c11b7ed268
Merge pull request #9407 from Philwi/handle-for-invalid-referer-for-embedded-page-service
...
Handle for invalid referer for embedded page service
2022-08-17 18:40:43 +01:00
Filipe
b992daa1d8
Merge pull request #9510 from binarygit/convert-enterprises/edit-page-to-stimulus
...
Convert enterprises/edit page to stimulus
2022-08-17 18:11:59 +01:00
Filipe
10aa534f52
Merge pull request #9554 from apricot12/9179-Note-on-invoices
...
Add order note at the end of both invoices following current UI patterns.
2022-08-17 17:41:23 +01:00
Filipe
de990b906d
Merge pull request #9563 from aintluks/bulk-coop-report-csv
...
Disable header row bulk_coop report
2022-08-17 16:43:37 +01:00
Maikel Linke
41ef2a4ea5
Run invoice spec as feature spec
2022-08-17 16:30:57 +10:00
filipefurtad0
077479346e
Moves invoice_print_spec into system
2022-08-17 16:21:54 +10:00
binarygit
19c33e4050
Add floating UI
2022-08-17 11:39:13 +05:45
Maikel
1ff3d4a534
Merge pull request #9571 from openfoodfoundation/dependabot/bundler/view_component-2.68.0
...
Bump view_component from 2.64.0 to 2.68.0
2022-08-17 15:06:46 +10:00
dependabot[bot]
8ae6a36b33
Bump bullet from 7.0.2 to 7.0.3
...
Bumps [bullet](https://github.com/flyerhzm/bullet ) from 7.0.2 to 7.0.3.
- [Release notes](https://github.com/flyerhzm/bullet/releases )
- [Changelog](https://github.com/flyerhzm/bullet/blob/master/CHANGELOG.md )
- [Commits](https://github.com/flyerhzm/bullet/compare/7.0.2...7.0.3 )
---
updated-dependencies:
- dependency-name: bullet
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-08-17 04:59:40 +00:00
dependabot[bot]
d8687f30cd
Bump test-prof from 1.0.9 to 1.0.10
...
Bumps [test-prof](https://github.com/test-prof/test-prof ) from 1.0.9 to 1.0.10.
- [Release notes](https://github.com/test-prof/test-prof/releases )
- [Changelog](https://github.com/test-prof/test-prof/blob/master/CHANGELOG.md )
- [Commits](https://github.com/test-prof/test-prof/compare/v1.0.9...v1.0.10 )
---
updated-dependencies:
- dependency-name: test-prof
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-08-17 04:58:49 +00:00
Maikel
bff2ddb8db
Merge pull request #9565 from openfoodfoundation/dependabot/bundler/rubocop-1.35.0
...
Bump rubocop from 1.33.0 to 1.35.0
2022-08-17 14:56:36 +10:00
Lucas da Costa
2a9db0eea4
Disable header row bulk_coop report
2022-08-16 16:32:19 -03:00
Filipe
5c41022f76
Merge pull request #9165 from filipefurtad0/tax_split_checkout
...
[Split Checkout] Adds spec to test Tax charges (repoducing issue #9153 )
2022-08-16 19:30:32 +01:00
dependabot[bot]
a9dec41cc1
Bump view_component from 2.64.0 to 2.68.0
...
Bumps [view_component](https://viewcomponent.org ) from 2.64.0 to 2.68.0.
---
updated-dependencies:
- dependency-name: view_component
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-08-16 09:04:18 +00:00
Maikel
918cbb8d92
Merge pull request #9570 from mkllnk/bundle-lock
...
Clean up Gemfile.lock after manual change
2022-08-16 16:16:19 +10:00
Maikel Linke
7cc7de7a5f
Clean up Gemfile.lock
...
It was manually edited before which introduced a couple inconsistencies.
I'm fixing this up here by running `bundle` and restoring the bundler
version.
2022-08-16 16:10:30 +10:00
Maikel Linke
56d8d1eaf7
Scope helper methods to relevant test cases
...
Global methods are usually not a good idea.
2022-08-15 17:34:21 +01:00
dependabot[bot]
b57685e9d5
Bump rubocop from 1.33.0 to 1.35.0
...
Bumps [rubocop](https://github.com/rubocop/rubocop ) from 1.33.0 to 1.35.0.
- [Release notes](https://github.com/rubocop/rubocop/releases )
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rubocop/rubocop/compare/v1.33.0...v1.35.0 )
---
updated-dependencies:
- dependency-name: rubocop
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-08-15 07:36:07 +00:00
Maikel
a3fa4a0d3e
Merge pull request #9543 from filipefurtad0/remove_selenium_webdriver
...
Removes selenium-webdriver and webdriver gems; updates spec_helper
2022-08-15 17:34:46 +10:00
Maikel Linke
d86aeaa22a
Remove unnecessary after-spec code
2022-08-15 16:51:53 +10:00
filipefurtad0
97f18d7b86
Changes names from helpers to prevent leak between specs
2022-08-15 16:13:37 +10:00
filipefurtad0
bded15a869
Updates spec for inclusive; adds pending related to epic 7540
2022-08-15 16:13:37 +10:00
filipefurtad0
fff5927cdf
Changes pick-up into delivery shipping method
...
On line 62 we set the dependency on the shipping address to calculate taxes. Therefore, we might be better off mocking a delivery-shipping method instead of a pick-up shipping method and assuring the customers shipping address is used for this accordingly.
2022-08-15 16:13:37 +10:00
filipefurtad0
f9881b9af5
Removes if blocks from assert_db_
...
Initianlly, I thought it would be agood idea to have both setups - for included and added tax - in the same file. Hence, the private section would need to cover all cases. The PR has now two separate files, each one for the two tax types, so it seems unecessary to have these if blocks there. I think it is more readable this way.
2022-08-15 16:13:37 +10:00
filipefurtad0
79182a2d32
Removes test on 9131; moves test on 9153 into respective context
2022-08-15 16:13:37 +10:00
Jean-Baptiste Bellet
77eec6e6f3
Check step params and redirect if step is inconsistent to order state
2022-08-15 16:13:37 +10:00
filipefurtad0
a6e3f43344
Adds bug reproducing steps
2022-08-15 16:13:36 +10:00
filipefurtad0
f525a9f5da
Adds inclusive tax-spec
2022-08-15 16:13:36 +10:00
filipefurtad0
2427bfa6ea
Spec tax charging on legacy and split checkout
2022-08-15 16:13:36 +10:00
Maikel Linke
7eea4fdd1c
Adds zone_with_state_member to zone factory
...
And make zone factories more flexible.
2022-08-15 16:13:36 +10:00
Filipe
dde4bd39b2
Merge pull request #9351 from vsmay98/9338-redirect-disabled-user-to-homepage
...
Redirect to homepage with flash error when disabled user trying to access any page
2022-08-12 13:52:19 +01:00
Maikel Linke
091c271237
Spec API key changes more precisely
2022-08-12 15:44:59 +10:00
Philipp Winkler
141a2a507d
Make shop url clickable
2022-08-11 22:14:51 +02:00
Jean-Baptiste Bellet
36aabbb5b6
Update all locales with the latest Transifex translations
2022-08-11 18:14:48 +02:00
Filipe
82f38c9aea
Merge pull request #9456 from openfoodfoundation/dependabot/bundler/activemerchant-1.126.0
...
Bump activemerchant from 1.123.0 to 1.126.0
2022-08-11 17:10:31 +01:00
Filipe
689720b749
Merge pull request #9437 from jibees/8897-preselect-default-card-and-do-not-allow-to-charge-if-no-card-is-marked-as-default
...
User account, Credit cards: Do not allow to check "Allow charges" if no credit cards marked as default
2022-08-11 16:34:42 +01:00
Filipe
50600b9d00
Merge pull request #9462 from openfoodfoundation/dependabot/bundler/pagy-5.10.1
...
Bump pagy from 5.1.2 to 5.10.1
2022-08-11 16:20:03 +01:00
filipefurtad0
232088f3a2
Adds the tag matomo code to the darkswarm template
2022-08-11 15:40:15 +01:00
filipefurtad0
66b9679a7c
Adds matomo_tag to /register pages template
2022-08-11 14:07:02 +01:00
filipefurtad0
42753d85c7
Creates new file for matomo tag code
2022-08-11 14:07:02 +01:00
filipefurtad0
3eca13e2bc
Renames general tracking code file; updates darkswarm
2022-08-11 14:07:02 +01:00
Rachel Arnould
abdef21381
Update FUNDING.yml
2022-08-11 14:45:42 +02:00
filipefurtad0
1fd09617cb
Changes cookies_spec from feature to system spec
2022-08-11 10:44:22 +01:00
filipefurtad0
e5eb74f077
Updates spec_helper
2022-08-11 10:44:22 +01:00
Jean-Baptiste Bellet
f474947d2d
Do not remove 500.html file since it is used by nxginx
...
in case of critical problems when application cannot respond
2022-08-11 11:41:39 +02:00
filipefurtad0
d1b90193a4
Removes selenium-webdriver & webdrivers gems
2022-08-11 10:34:24 +01:00
Nihal Mohammed
53ee5c32eb
Add order note at the end of both invoices following current UI patterns
...
Add translation for note title in invoice
Update invoice spec to also test for order note
2022-08-10 23:02:13 +05:30
binarygit
79ba223e12
Delete angular code for side_menu
2022-08-10 15:14:15 +05:45
binarygit
27552c99b8
Render enterprise groups #edit and #new page using stimulus
2022-08-10 15:14:09 +05:45
binarygit
6b56a8df0a
Display/hide side-menu items when values in primary details change
2022-08-10 15:11:53 +05:45
binarygit
e18a242b90
Render admin/enterprises/<name>/edit page using stimulus
2022-08-10 15:08:59 +05:45
jibees
4a3bd510a7
Merge pull request #9544 from jibees/upgrade-yarn-
...
Upgrade `yarn.lock` since it seemed to be derived
2022-08-10 09:06:16 +02:00
jibees
bb85473eba
Merge pull request #9550 from openfoodfoundation/dependabot/bundler/webmock-3.17.1
...
Bump webmock from 3.17.0 to 3.17.1
2022-08-10 08:57:39 +02:00
jibees
d5fa5e298e
Merge pull request #9551 from openfoodfoundation/dependabot/bundler/debug-1.6.2
...
Bump debug from 1.6.1 to 1.6.2
2022-08-10 08:57:08 +02:00
Jean-Baptiste Bellet
dab4939819
Upgrade yarn.lock since it seemed to be derived
2022-08-10 08:45:24 +02:00
jibees
43b29af922
Merge pull request #9545 from Philwi/control-capybara-headless-mode-via-environment-variable
...
Control capybara headless mode for testing via environment variable
2022-08-10 08:05:26 +02:00
dependabot[bot]
2c1acc14e6
Bump debug from 1.6.1 to 1.6.2
...
Bumps [debug](https://github.com/ruby/debug ) from 1.6.1 to 1.6.2.
- [Release notes](https://github.com/ruby/debug/releases )
- [Commits](https://github.com/ruby/debug/compare/v1.6.1...v1.6.2 )
---
updated-dependencies:
- dependency-name: debug
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-08-10 06:02:35 +00:00
dependabot[bot]
84f9da4a23
Bump webmock from 3.17.0 to 3.17.1
...
Bumps [webmock](https://github.com/bblimke/webmock ) from 3.17.0 to 3.17.1.
- [Release notes](https://github.com/bblimke/webmock/releases )
- [Changelog](https://github.com/bblimke/webmock/blob/master/CHANGELOG.md )
- [Commits](https://github.com/bblimke/webmock/compare/v3.17.0...v3.17.1 )
---
updated-dependencies:
- dependency-name: webmock
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-08-10 06:00:05 +00:00
jibees
d817319aa4
Merge pull request #9539 from openfoodfoundation/dependabot/bundler/sidekiq-6.5.4
...
Bump sidekiq from 6.5.3 to 6.5.4
2022-08-10 07:58:25 +02:00
Philipp Winkler
093b851395
Control headless mode for testing via environment variable
2022-08-09 20:57:52 +02:00
Filipe
e3a150226e
Merge pull request #9507 from openfoodfoundation/dependabot/bundler/stripe-7.0.0
...
Bump stripe from 5.42.0 to 7.0.0
2022-08-09 12:33:36 +01:00
Rachel Arnould
5122ed9af4
Update FUNDING.yml
2022-08-09 10:11:17 +02:00
Rachel Arnould
ac5a3beb15
Update FUNDING.yml
2022-08-09 10:10:44 +02:00
dependabot[bot]
19481fc55e
Bump sidekiq from 6.5.3 to 6.5.4
...
Bumps [sidekiq](https://github.com/mperham/sidekiq ) from 6.5.3 to 6.5.4.
- [Release notes](https://github.com/mperham/sidekiq/releases )
- [Changelog](https://github.com/mperham/sidekiq/blob/main/Changes.md )
- [Commits](https://github.com/mperham/sidekiq/compare/v6.5.3...v6.5.4 )
---
updated-dependencies:
- dependency-name: sidekiq
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-08-09 06:48:01 +00:00
Maikel Linke
c8cab8aae5
Update mocked responses to get a ListObject
2022-08-09 15:13:16 +10:00
dependabot[bot]
d7428015ac
Bump stripe from 5.42.0 to 7.0.0
...
Bumps [stripe](https://github.com/stripe/stripe-ruby ) from 5.42.0 to 7.0.0.
- [Release notes](https://github.com/stripe/stripe-ruby/releases )
- [Changelog](https://github.com/stripe/stripe-ruby/blob/master/CHANGELOG.md )
- [Commits](https://github.com/stripe/stripe-ruby/compare/v5.42.0...v7.0.0 )
---
updated-dependencies:
- dependency-name: stripe
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-08-09 15:13:16 +10:00
Maikel
700f91efb5
Merge pull request #9449 from filipefurtad0/packing_report
...
Updates specs on Packing and Payment Reports
2022-08-09 14:56:22 +10:00
Maikel
43e4047447
Merge pull request #9495 from filipefurtad0/invoice_print_spec
...
Invoice print spec: added tax
2022-08-09 14:54:23 +10:00
Maikel
892e843e9e
Merge pull request #9533 from filipefurtad0/remove_bye_bug
...
Removes byebug and pry-byebug; keeps pry 🧹
2022-08-09 10:39:21 +10:00
filipefurtad0
85904f57b8
Removes byebug and pry-byebug; keeps pry
2022-08-08 15:22:45 +01:00
Jean-Baptiste Bellet
60a5bf682b
Handle errors page through controller ErrorsController
2022-08-08 15:36:46 +02:00
Jean-Baptiste Bellet
47c07831c1
Create an ErrorsController that handle errors thrown application
2022-08-08 15:36:23 +02:00
jibees
b5e23717f2
Merge pull request #9531 from mkllnk/awesome-print
...
Remove unnecessary awesome_print gem
2022-08-08 14:21:11 +02:00
jibees
d8d99c930e
Merge pull request #9530 from openfoodfoundation/dependabot/bundler/webmock-3.17.0
...
Bump webmock from 3.15.0 to 3.17.0
2022-08-08 14:09:48 +02:00
filipefurtad0
ce96094f49
Adds around block with time.freeze
2022-08-08 12:23:11 +01:00
Maikel Linke
6c655e6fbc
Remove unnecessary awesome_print gem
...
Most people don't know it and it has now been superseeded by new
versions of irb and debug.
2022-08-08 15:39:59 +10:00
Maikel Linke
2d1483febb
Remove misleading comment
...
That comment was in the original commit of this source code and was
related to another gem which has long been removed.
2022-08-08 15:38:30 +10:00
Maikel
42d7383ff0
Merge pull request #9446 from jibees/add-prettier
...
Add prettier linter for stimulusjs files
2022-08-08 14:41:47 +10:00
Maikel Linke
df4ddf45c4
Only check, not fix in pre-commit hook
2022-08-08 14:40:58 +10:00
Jean-Baptiste Bellet
e0b40222dd
add pre-commit hook
...
with husky and pretty-quick
2022-08-08 14:40:58 +10:00
Jean-Baptiste Bellet
61928cbc05
Run prettier formatter
2022-08-08 14:40:58 +10:00
Jean-Baptiste Bellet
c6884f96e1
Add prettier as a GH action
2022-08-08 14:40:58 +10:00
Jean-Baptiste Bellet
f0b5a04f6b
Ignore everything but js files related to stimulusjs
2022-08-08 14:40:58 +10:00
Jean-Baptiste Bellet
b8ffddb533
Add prettier to our stack
2022-08-08 14:40:58 +10:00
dependabot[bot]
71536767b5
Bump webmock from 3.15.0 to 3.17.0
...
Bumps [webmock](https://github.com/bblimke/webmock ) from 3.15.0 to 3.17.0.
- [Release notes](https://github.com/bblimke/webmock/releases )
- [Changelog](https://github.com/bblimke/webmock/blob/master/CHANGELOG.md )
- [Commits](https://github.com/bblimke/webmock/compare/v3.15.0...v3.17.0 )
---
updated-dependencies:
- dependency-name: webmock
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-08-08 04:18:03 +00:00
Maikel
938056d1d8
Merge pull request #9453 from openfoodfoundation/dependabot/bundler/angular_rails_csrf-5.0.0
...
Bump angular_rails_csrf from 4.5.0 to 5.0.0
2022-08-08 14:16:56 +10:00
Maikel
63d2d69d08
Clarify copying of test build URL
...
And removing an unused translation step
2022-08-08 12:47:28 +10:00
Maikel
78ec086111
Merge pull request #9501 from Michaelcode2/master
...
Added file "uk.yml" to directory openfoodnetwork/config/locales/
2022-08-08 12:34:01 +10:00
Philipp Winkler
bf53a02270
Add api key toggle view checkbox
2022-08-07 09:48:49 +02:00
filipefurtad0
2aded5b459
Clarifies pending examples
2022-08-05 17:43:02 +01:00
filipefurtad0
5aa6b14756
Fixes tax values
2022-08-05 16:41:35 +01:00
filipefurtad0
07bd84ffbb
Tests added tax - legacy and alternative invoices
2022-08-05 16:41:35 +01:00
filipefurtad0
d2794f328f
Tests included tax - legacy and alternative invoices
2022-08-05 16:41:35 +01:00
filipefurtad0
8b146fc72a
Adds included_in_price trait on broken specs
2022-08-05 16:41:35 +01:00
filipefurtad0
0c491a6651
Adds test case for added tax
2022-08-05 16:41:35 +01:00
filipefurtad0
e8529754f1
Updates order and product factory to consider added tax
2022-08-05 16:41:35 +01:00
dependabot[bot]
d95dc84c34
Bump pagy from 5.1.2 to 5.10.1
...
Bumps [pagy](https://github.com/ddnexus/pagy ) from 5.1.2 to 5.10.1.
- [Release notes](https://github.com/ddnexus/pagy/releases )
- [Changelog](https://github.com/ddnexus/pagy/blob/master/CHANGELOG.md )
- [Commits](https://github.com/ddnexus/pagy/compare/5.1.2...5.10.1 )
---
updated-dependencies:
- dependency-name: pagy
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-08-05 14:59:59 +00:00
Filipe
b61ee0211f
Merge pull request #9525 from filipefurtad0/adds_debug_gem
...
Adds debug gem to the stack
2022-08-05 15:58:45 +01:00
filipefurtad0
c777a00874
Adds debug gem to the stack, bundled with 2.1.4
2022-08-05 14:01:47 +01:00
jibees
a0a2dab44f
Merge pull request #9523 from openfoodfoundation/dependabot/bundler/sidekiq-6.5.3
...
Bump sidekiq from 6.5.1 to 6.5.3
2022-08-05 11:31:58 +02:00
jibees
f0aa7f44a5
Merge pull request #9524 from openfoodfoundation/dependabot/bundler/rubocop-1.33.0
...
Bump rubocop from 1.32.0 to 1.33.0
2022-08-05 11:31:18 +02:00
dependabot[bot]
a51940937a
Bump rubocop from 1.32.0 to 1.33.0
...
Bumps [rubocop](https://github.com/rubocop/rubocop ) from 1.32.0 to 1.33.0.
- [Release notes](https://github.com/rubocop/rubocop/releases )
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rubocop/rubocop/compare/v1.32.0...v1.33.0 )
---
updated-dependencies:
- dependency-name: rubocop
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-08-05 09:06:01 +00:00
dependabot[bot]
f1e401070a
Bump sidekiq from 6.5.1 to 6.5.3
...
Bumps [sidekiq](https://github.com/mperham/sidekiq ) from 6.5.1 to 6.5.3.
- [Release notes](https://github.com/mperham/sidekiq/releases )
- [Changelog](https://github.com/mperham/sidekiq/blob/main/Changes.md )
- [Commits](https://github.com/mperham/sidekiq/compare/v6.5.1...v6.5.3 )
---
updated-dependencies:
- dependency-name: sidekiq
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-08-05 09:05:41 +00:00
Jean-Baptiste Bellet
999b04ef99
Update all locales with the latest Transifex translations
2022-08-05 09:18:05 +02:00
Maikel
da5e8fcb9f
Merge pull request #9130 from georgethoppil/remove-from-customerlist
...
Update orders and delete subscriptions when customer deleted
2022-08-05 10:35:07 +10:00
Rachel Arnould
e22b9997fe
Update README.md
2022-08-04 16:58:51 +02:00
dependabot[bot]
609cbe2893
Bump angular_rails_csrf from 4.5.0 to 5.0.0
...
Bumps [angular_rails_csrf](https://github.com/jsanders/angular_rails_csrf ) from 4.5.0 to 5.0.0.
- [Release notes](https://github.com/jsanders/angular_rails_csrf/releases )
- [Changelog](https://github.com/jsanders/angular_rails_csrf/blob/master/CHANGELOG.md )
- [Commits](https://github.com/jsanders/angular_rails_csrf/compare/v4.5.0...v5.0.0 )
---
updated-dependencies:
- dependency-name: angular_rails_csrf
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-08-04 12:15:53 +00:00
jibees
425970aba2
Merge pull request #9519 from openfoodfoundation/dependabot/bundler/view_component-2.64.0
...
Bump view_component from 2.63.0 to 2.64.0
2022-08-04 14:14:32 +02:00
jibees
ace5151afa
Merge pull request #9518 from openfoodfoundation/dependabot/npm_and_yarn/storybook/addon-docs-6.5.10
...
Bump @storybook/addon-docs from 6.5.9 to 6.5.10
2022-08-04 14:14:14 +02:00
jibees
3b652581b5
Merge pull request #9517 from openfoodfoundation/dependabot/npm_and_yarn/storybook/server-6.5.10
...
Bump @storybook/server from 6.5.9 to 6.5.10
2022-08-04 14:14:06 +02:00
jibees
17692e722a
Merge pull request #9516 from openfoodfoundation/dependabot/npm_and_yarn/storybook/addon-controls-6.5.10
...
Bump @storybook/addon-controls from 6.5.9 to 6.5.10
2022-08-04 14:13:56 +02:00
jibees
a2826b0fdf
Merge pull request #9515 from openfoodfoundation/dependabot/bundler/angular-rails-templates-1.2.0
...
Bump angular-rails-templates from 1.1.0 to 1.2.0
2022-08-04 14:13:43 +02:00
dependabot[bot]
d766f6c0b2
Bump view_component from 2.63.0 to 2.64.0
...
Bumps [view_component](https://github.com/github/view_component ) from 2.63.0 to 2.64.0.
- [Release notes](https://github.com/github/view_component/releases )
- [Changelog](https://github.com/github/view_component/blob/main/docs/CHANGELOG.md )
- [Commits](https://github.com/github/view_component/compare/v2.63.0...v2.64.0 )
---
updated-dependencies:
- dependency-name: view_component
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-08-04 09:06:59 +00:00
dependabot[bot]
0f715e531c
Bump @storybook/addon-docs from 6.5.9 to 6.5.10
...
Bumps [@storybook/addon-docs](https://github.com/storybookjs/storybook/tree/HEAD/addons/docs ) from 6.5.9 to 6.5.10.
- [Release notes](https://github.com/storybookjs/storybook/releases )
- [Changelog](https://github.com/storybookjs/storybook/blob/v6.5.10/CHANGELOG.md )
- [Commits](https://github.com/storybookjs/storybook/commits/v6.5.10/addons/docs )
---
updated-dependencies:
- dependency-name: "@storybook/addon-docs"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-08-04 09:05:54 +00:00
dependabot[bot]
fba83f847b
Bump @storybook/server from 6.5.9 to 6.5.10
...
Bumps [@storybook/server](https://github.com/storybookjs/storybook/tree/HEAD/app/server ) from 6.5.9 to 6.5.10.
- [Release notes](https://github.com/storybookjs/storybook/releases )
- [Changelog](https://github.com/storybookjs/storybook/blob/v6.5.10/CHANGELOG.md )
- [Commits](https://github.com/storybookjs/storybook/commits/v6.5.10/app/server )
---
updated-dependencies:
- dependency-name: "@storybook/server"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-08-04 09:05:41 +00:00
dependabot[bot]
5603745744
Bump @storybook/addon-controls from 6.5.9 to 6.5.10
...
Bumps [@storybook/addon-controls](https://github.com/storybookjs/storybook/tree/HEAD/addons/controls ) from 6.5.9 to 6.5.10.
- [Release notes](https://github.com/storybookjs/storybook/releases )
- [Changelog](https://github.com/storybookjs/storybook/blob/v6.5.10/CHANGELOG.md )
- [Commits](https://github.com/storybookjs/storybook/commits/v6.5.10/addons/controls )
---
updated-dependencies:
- dependency-name: "@storybook/addon-controls"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-08-04 09:05:26 +00:00
dependabot[bot]
2b2f9c205e
Bump angular-rails-templates from 1.1.0 to 1.2.0
...
Bumps [angular-rails-templates](https://github.com/pitr/angular-rails-templates ) from 1.1.0 to 1.2.0.
- [Release notes](https://github.com/pitr/angular-rails-templates/releases )
- [Changelog](https://github.com/pitr/angular-rails-templates/blob/master/CHANGELOG.md )
- [Commits](https://github.com/pitr/angular-rails-templates/compare/v1.1.0...v1.2.0 )
---
updated-dependencies:
- dependency-name: angular-rails-templates
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-08-04 09:05:14 +00:00
jibees
feff2b726b
Merge pull request #9430 from openfoodfoundation/dependabot/bundler/rspec-rails-5.1.2
...
Bump rspec-rails from 5.0.2 to 5.1.2
2022-08-04 09:51:54 +02:00
Maikel Linke
8b3d513aa2
Don't upgrade rspec-mocks which seems to be buggy
...
One of our specs failed even though it was correct:
- spec/controllers/spree/admin/base_controller_spec.rb
2022-08-04 15:54:43 +10:00
Filipe
dd17f98edb
Merge pull request #9196 from jibees/8912-change-order-creation-form-steps-order
...
Admin, Order creation: Change steps ordering
2022-08-03 09:09:43 +01:00
Maikel
c9adcd1479
Merge pull request #9406 from filipefurtad0/oaf_reports_specs
...
Orders and fulfilments report specs improvement (cont. #9350 )
2022-08-03 15:25:38 +10:00
jibees
29c8b0b1a5
Merge pull request #9504 from openfoodfoundation/dependabot/npm_and_yarn/babel/preset-env-7.18.10
...
Bump @babel/preset-env from 7.18.9 to 7.18.10
2022-08-02 15:13:04 +02:00
jibees
6404c7427c
Merge pull request #9503 from openfoodfoundation/dependabot/bundler/webmock-3.15.0
...
Bump webmock from 3.14.0 to 3.15.0
2022-08-02 15:12:39 +02:00
jibees
85eab5b436
Merge pull request #9502 from openfoodfoundation/dependabot/bundler/view_component-2.63.0
...
Bump view_component from 2.62.0 to 2.63.0
2022-08-02 15:12:08 +02:00
Michael
912713a0c9
added Ukrainian lang. file uk.yml, corrected uk:Ukrainian
2022-08-02 13:22:17 +03:00
dependabot[bot]
ca3b9f8085
Bump @babel/preset-env from 7.18.9 to 7.18.10
...
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env ) from 7.18.9 to 7.18.10.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.18.10/packages/babel-preset-env )
---
updated-dependencies:
- dependency-name: "@babel/preset-env"
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-08-02 09:08:43 +00:00
dependabot[bot]
ac00a20639
Bump webmock from 3.14.0 to 3.15.0
...
Bumps [webmock](https://github.com/bblimke/webmock ) from 3.14.0 to 3.15.0.
- [Release notes](https://github.com/bblimke/webmock/releases )
- [Changelog](https://github.com/bblimke/webmock/blob/master/CHANGELOG.md )
- [Commits](https://github.com/bblimke/webmock/compare/v3.14.0...v3.15.0 )
---
updated-dependencies:
- dependency-name: webmock
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-08-02 09:07:46 +00:00
dependabot[bot]
139c994e06
Bump view_component from 2.62.0 to 2.63.0
...
Bumps [view_component](https://github.com/github/view_component ) from 2.62.0 to 2.63.0.
- [Release notes](https://github.com/github/view_component/releases )
- [Changelog](https://github.com/github/view_component/blob/main/docs/CHANGELOG.md )
- [Commits](https://github.com/github/view_component/compare/v2.62.0...v2.63.0 )
---
updated-dependencies:
- dependency-name: view_component
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-08-02 09:05:18 +00:00
Michael
3621616f7c
Delete en_UA.yml
2022-08-02 11:53:17 +03:00
Michael
41ddd653a0
Added file "uk.yml" to openfoodnetwork/config/locales/
...
Added file "uk.yml" to directory openfoodnetwork/config/locales/
Ukrainian language translation (UA)
2022-08-02 11:52:36 +03:00
Michael
d8c7c0141a
added Ukrainian translation file en_UA.yml
2022-08-02 11:34:12 +03:00
Rachel Arnould
3fa2dd4772
Merge pull request #9496 from saunmanoj888/change-translation-calculator-to-fees
...
Change translation for calculator section from Calculator to Fees
2022-08-02 10:10:23 +02:00
Rachel Arnould
cf26c465cc
Merge pull request #9390 from binarygit/feature/update-orders-table
...
Feature/update orders table
2022-08-02 10:10:03 +02:00
Rachel Arnould
1bc50fd7cb
Merge pull request #9404 from jibees/9384-reports-format-all-money-as-number
...
Admin, Reports: format all currency columns as numerical values (and no as currency value)
2022-08-02 10:09:22 +02:00
Maikel
719724de0b
Merge pull request #9440 from mkllnk/webp
...
Support WEBP images again
2022-08-02 17:19:24 +10:00
saunmanoj888
804ed81acb
Change translation for calculator section from Calculator to Fees
2022-07-31 01:04:02 +05:30
jibees
e980f8882c
Merge pull request #9476 from openfoodfoundation/dependabot/bundler/bootsnap-1.13.0
...
Bump bootsnap from 1.12.0 to 1.13.0
2022-07-29 17:07:40 +02:00
dependabot[bot]
73f910e90c
Bump bootsnap from 1.12.0 to 1.13.0
...
Bumps [bootsnap](https://github.com/Shopify/bootsnap ) from 1.12.0 to 1.13.0.
- [Release notes](https://github.com/Shopify/bootsnap/releases )
- [Changelog](https://github.com/Shopify/bootsnap/blob/main/CHANGELOG.md )
- [Commits](https://github.com/Shopify/bootsnap/compare/v1.12.0...v1.13.0 )
---
updated-dependencies:
- dependency-name: bootsnap
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-07-29 09:03:09 +00:00
jibees
5135d32cd8
Merge pull request #9472 from openfoodfoundation/dependabot/bundler/dotenv-rails-2.8.1
...
Bump dotenv-rails from 2.7.6 to 2.8.1
2022-07-28 15:12:19 +02:00
jibees
91d87c887b
Merge pull request #9469 from openfoodfoundation/dependabot/bundler/pdf-reader-2.10.0
...
Bump pdf-reader from 2.5.0 to 2.10.0
2022-07-28 15:10:52 +02:00
georgethoppil
786fe55fc8
Removing dependent destroy on order
2022-07-28 13:41:15 +02:00
georgethoppil
b202678a6b
Delete proxy orders when subscription is deleted
2022-07-28 13:41:14 +02:00
GeorgeThoppil
0e8d2d307b
Clearer translation wording for has_associated_subscriptions
2022-07-28 13:41:14 +02:00
GeorgeThoppil
832b8caa8b
Update spec when deleting customer with subscription and remove unused translation key
2022-07-28 13:41:14 +02:00
GeorgeThoppil
a50b75659f
Update orders and delete subscriptions when customer deleted
2022-07-28 13:41:14 +02:00
dependabot[bot]
df44898557
Bump dotenv-rails from 2.7.6 to 2.8.1
...
Bumps [dotenv-rails](https://github.com/bkeepers/dotenv ) from 2.7.6 to 2.8.1.
- [Release notes](https://github.com/bkeepers/dotenv/releases )
- [Changelog](https://github.com/bkeepers/dotenv/blob/master/Changelog.md )
- [Commits](https://github.com/bkeepers/dotenv/compare/v2.7.6...v2.8.1 )
---
updated-dependencies:
- dependency-name: dotenv-rails
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-07-28 09:04:46 +00:00
dependabot[bot]
5a70985e0e
Bump rspec-rails from 5.0.2 to 5.1.2
...
Bumps [rspec-rails](https://github.com/rspec/rspec-rails ) from 5.0.2 to 5.1.2.
- [Release notes](https://github.com/rspec/rspec-rails/releases )
- [Changelog](https://github.com/rspec/rspec-rails/blob/main/Changelog.md )
- [Commits](https://github.com/rspec/rspec-rails/compare/v5.0.2...v5.1.2 )
---
updated-dependencies:
- dependency-name: rspec-rails
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-07-28 08:50:45 +00:00
Jean-Baptiste Bellet
4791b570e4
Update specs ; Expect customer creation later when creating order
...
The terms are a bit confusing. Updating "Customer Details" updates attributes of the order which will later be used to create a customer.
Customers are not created while the order is in `cart` state. That happens later when the order advances automatically.
2022-07-28 09:52:37 +02:00
Jean-Baptiste Bellet
f087b7184c
Update specs to reflect order steps changes
2022-07-28 09:31:42 +02:00
Jean-Baptiste Bellet
fa9c2b24f2
Select Customer Details as step title for Set Distribution step
2022-07-28 09:31:42 +02:00
Jean-Baptiste Bellet
e3683d25ca
Change second step order: Customer Details instead of Order Details
...
This second step comes from a first one, which is Set Distribution
2022-07-28 09:31:42 +02:00
dependabot[bot]
21c0baa965
Bump activemerchant from 1.123.0 to 1.126.0
...
Bumps [activemerchant](https://github.com/activemerchant/active_merchant ) from 1.123.0 to 1.126.0.
- [Release notes](https://github.com/activemerchant/active_merchant/releases )
- [Changelog](https://github.com/activemerchant/active_merchant/blob/master/CHANGELOG )
- [Commits](https://github.com/activemerchant/active_merchant/compare/v1.123.0...v1.126.0 )
---
updated-dependencies:
- dependency-name: activemerchant
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-07-28 01:10:42 +00:00
Maikel Linke
75a8d9caf0
Update translations
2022-07-28 11:09:29 +10:00
Maikel
1089a66fff
Merge pull request #9465 from openfoodfoundation/dependabot/bundler/rails-6.1.6.1
...
Bump rails from 6.1.6 to 6.1.6.1
2022-07-28 11:08:39 +10:00
jibees
1feb7b4065
Merge pull request #9457 from openfoodfoundation/dependabot/bundler/i18n-1.12.0
...
Bump i18n from 1.8.10 to 1.12.0
2022-07-27 16:12:45 +02:00
dependabot[bot]
e7cbcf2b51
Bump pdf-reader from 2.5.0 to 2.10.0
...
Bumps [pdf-reader](https://github.com/yob/pdf-reader ) from 2.5.0 to 2.10.0.
- [Release notes](https://github.com/yob/pdf-reader/releases )
- [Changelog](https://github.com/yob/pdf-reader/blob/main/CHANGELOG )
- [Commits](https://github.com/yob/pdf-reader/compare/v2.5.0...v2.10.0 )
---
updated-dependencies:
- dependency-name: pdf-reader
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-07-27 14:12:07 +00:00
jibees
7b7c6ec7d7
Merge pull request #9467 from openfoodfoundation/dependabot/bundler/combine_pdf-1.0.22
...
Bump combine_pdf from 1.0.21 to 1.0.22
2022-07-27 16:09:38 +02:00
jibees
db99ecf255
Merge pull request #9466 from openfoodfoundation/dependabot/bundler/json-2.6.2
...
Bump json from 2.6.1 to 2.6.2
2022-07-27 16:09:23 +02:00
dependabot[bot]
87846529a2
Bump combine_pdf from 1.0.21 to 1.0.22
...
Bumps [combine_pdf](https://github.com/boazsegev/combine_pdf ) from 1.0.21 to 1.0.22.
- [Release notes](https://github.com/boazsegev/combine_pdf/releases )
- [Changelog](https://github.com/boazsegev/combine_pdf/blob/master/CHANGELOG.md )
- [Commits](https://github.com/boazsegev/combine_pdf/compare/v1.0.21...v1.0.22 )
---
updated-dependencies:
- dependency-name: combine_pdf
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-07-27 13:01:48 +00:00
dependabot[bot]
e50f298a0a
Bump i18n from 1.8.10 to 1.12.0
...
Bumps [i18n](https://github.com/ruby-i18n/i18n ) from 1.8.10 to 1.12.0.
- [Release notes](https://github.com/ruby-i18n/i18n/releases )
- [Changelog](https://github.com/ruby-i18n/i18n/blob/master/CHANGELOG.md )
- [Commits](https://github.com/ruby-i18n/i18n/compare/v1.8.10...v1.12.0 )
---
updated-dependencies:
- dependency-name: i18n
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-07-27 13:00:22 +00:00
dependabot[bot]
bbc54d4467
Bump json from 2.6.1 to 2.6.2
...
Bumps [json](https://github.com/flori/json ) from 2.6.1 to 2.6.2.
- [Release notes](https://github.com/flori/json/releases )
- [Changelog](https://github.com/flori/json/blob/master/CHANGES.md )
- [Commits](https://github.com/flori/json/compare/v2.6.1...v2.6.2 )
---
updated-dependencies:
- dependency-name: json
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-07-27 13:00:22 +00:00
Jean-Baptiste Bellet
006bcd2cf8
Add Symbol class allowed for YAML deserialization
2022-07-27 15:00:19 +02:00
jibees
e56c803610
Merge pull request #9464 from openfoodfoundation/dependabot/bundler/bootsnap-1.12.0
...
Bump bootsnap from 1.10.1 to 1.12.0
2022-07-27 14:58:56 +02:00
jibees
5a9ff58bcf
Merge pull request #9463 from openfoodfoundation/dependabot/bundler/active_storage_validations-0.9.8
...
Bump active_storage_validations from 0.9.7 to 0.9.8
2022-07-27 11:27:48 +02:00
Jean-Baptiste Bellet
7747f2592e
Add BigDecimal classe allowed for YAML deserialization
...
The soft enforcement of the Rails 6.1.6.1 security update in picked up
one more classes that were serialized in the database with YAML: BigDecimal
2022-07-27 11:26:42 +02:00
dependabot[bot]
59504c3d84
Bump rails from 6.1.6 to 6.1.6.1
...
Bumps [rails](https://github.com/rails/rails ) from 6.1.6 to 6.1.6.1.
- [Release notes](https://github.com/rails/rails/releases )
- [Commits](https://github.com/rails/rails/compare/v6.1.6...v6.1.6.1 )
---
updated-dependencies:
- dependency-name: rails
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-07-27 07:29:49 +00:00
dependabot[bot]
57535af982
Bump bootsnap from 1.10.1 to 1.12.0
...
Bumps [bootsnap](https://github.com/Shopify/bootsnap ) from 1.10.1 to 1.12.0.
- [Release notes](https://github.com/Shopify/bootsnap/releases )
- [Changelog](https://github.com/Shopify/bootsnap/blob/main/CHANGELOG.md )
- [Commits](https://github.com/Shopify/bootsnap/compare/v1.10.1...v1.12.0 )
---
updated-dependencies:
- dependency-name: bootsnap
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-07-27 07:29:10 +00:00
dependabot[bot]
66358240dc
Bump active_storage_validations from 0.9.7 to 0.9.8
...
Bumps [active_storage_validations](https://github.com/igorkasyanchuk/active_storage_validations ) from 0.9.7 to 0.9.8.
- [Release notes](https://github.com/igorkasyanchuk/active_storage_validations/releases )
- [Changelog](https://github.com/igorkasyanchuk/active_storage_validations/blob/master/CHANGES.md )
- [Commits](https://github.com/igorkasyanchuk/active_storage_validations/commits/0.9.8 )
---
updated-dependencies:
- dependency-name: active_storage_validations
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-07-27 07:28:51 +00:00
jibees
a283a7fe49
Merge pull request #9451 from openfoodfoundation/dependabot/bundler/rubocop-1.32.0
...
Bump rubocop from 1.22.2 to 1.32.0
2022-07-27 09:27:23 +02:00
jibees
42cdfe3c1e
Merge pull request #9455 from openfoodfoundation/dependabot/bundler/test-unit-3.5.3
...
Bump test-unit from 3.5.0 to 3.5.3
2022-07-27 09:26:52 +02:00
jibees
806dd6254b
Merge pull request #9461 from openfoodfoundation/dependabot/bundler/valid_email2-4.0.3
...
Bump valid_email2 from 4.0.0 to 4.0.3
2022-07-27 09:26:34 +02:00
jibees
40b53442a8
Merge pull request #9460 from openfoodfoundation/dependabot/bundler/capybara-3.37.1
...
Bump capybara from 3.36.0 to 3.37.1
2022-07-27 09:26:01 +02:00
dependabot[bot]
7662d3fd6a
Bump rubocop from 1.22.2 to 1.32.0
...
Bumps [rubocop](https://github.com/rubocop/rubocop ) from 1.22.2 to 1.32.0.
- [Release notes](https://github.com/rubocop/rubocop/releases )
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rubocop/rubocop/compare/v1.22.2...v1.32.0 )
---
updated-dependencies:
- dependency-name: rubocop
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-07-27 06:29:18 +00:00
dependabot[bot]
e4ea9d8cd1
Bump test-unit from 3.5.0 to 3.5.3
...
Bumps [test-unit](https://github.com/test-unit/test-unit ) from 3.5.0 to 3.5.3.
- [Release notes](https://github.com/test-unit/test-unit/releases )
- [Commits](https://github.com/test-unit/test-unit/compare/3.5.0...3.5.3 )
---
updated-dependencies:
- dependency-name: test-unit
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-07-27 06:29:16 +00:00
dependabot[bot]
c6374555b9
Bump valid_email2 from 4.0.0 to 4.0.3
...
Bumps [valid_email2](https://github.com/micke/valid_email2 ) from 4.0.0 to 4.0.3.
- [Release notes](https://github.com/micke/valid_email2/releases )
- [Changelog](https://github.com/micke/valid_email2/blob/master/CHANGELOG.md )
- [Commits](https://github.com/micke/valid_email2/compare/v4.0.0...v4.0.3 )
---
updated-dependencies:
- dependency-name: valid_email2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-07-27 06:28:36 +00:00
dependabot[bot]
bda5ca33d9
Bump capybara from 3.36.0 to 3.37.1
...
Bumps [capybara](https://github.com/teamcapybara/capybara ) from 3.36.0 to 3.37.1.
- [Release notes](https://github.com/teamcapybara/capybara/releases )
- [Changelog](https://github.com/teamcapybara/capybara/blob/master/History.md )
- [Commits](https://github.com/teamcapybara/capybara/compare/3.36.0...3.37.1 )
---
updated-dependencies:
- dependency-name: capybara
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-07-27 06:28:11 +00:00
jibees
7a10037de8
Merge pull request #9459 from openfoodfoundation/dependabot/bundler/rubocop-rails-2.15.2
...
Bump rubocop-rails from 2.13.2 to 2.15.2
2022-07-27 08:27:58 +02:00
jibees
a8d5fede17
Merge pull request #9458 from openfoodfoundation/dependabot/bundler/view_component-2.62.0
...
Bump view_component from 2.57.1 to 2.62.0
2022-07-27 08:27:01 +02:00
dependabot[bot]
daa2bd5127
Bump rubocop-rails from 2.13.2 to 2.15.2
...
Bumps [rubocop-rails](https://github.com/rubocop/rubocop-rails ) from 2.13.2 to 2.15.2.
- [Release notes](https://github.com/rubocop/rubocop-rails/releases )
- [Changelog](https://github.com/rubocop/rubocop-rails/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rubocop/rubocop-rails/compare/v2.13.2...v2.15.2 )
---
updated-dependencies:
- dependency-name: rubocop-rails
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-07-27 02:08:59 +00:00
dependabot[bot]
506574aefd
Bump view_component from 2.57.1 to 2.62.0
...
Bumps [view_component](https://github.com/github/view_component ) from 2.57.1 to 2.62.0.
- [Release notes](https://github.com/github/view_component/releases )
- [Changelog](https://github.com/github/view_component/blob/main/docs/CHANGELOG.md )
- [Commits](https://github.com/github/view_component/compare/v2.57.1...v2.62.0 )
---
updated-dependencies:
- dependency-name: view_component
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-07-27 02:08:12 +00:00
Maikel
4f099da58f
Merge pull request #9452 from openfoodfoundation/dependabot/bundler/rswag-specs-2.5.1
...
Bump rswag-specs from 2.4.0 to 2.5.1
2022-07-27 12:06:50 +10:00
Maikel Linke
59c9f0957b
Simplify default card logic
2022-07-27 11:14:18 +10:00
jibees
6baa36cdaa
Merge pull request #9454 from openfoodfoundation/dependabot/bundler/rails-i18n-7.0.5
...
Bump rails-i18n from 7.0.1 to 7.0.5
2022-07-26 17:15:10 +02:00
jibees
e0a8b320a9
Merge pull request #9450 from openfoodfoundation/dependabot/bundler/timecop-0.9.5
...
Bump timecop from 0.9.4 to 0.9.5
2022-07-26 17:12:24 +02:00
filipefurtad0
116f503cf6
Updates Payments reports spec
2022-07-26 16:07:29 +01:00
filipefurtad0
023ebe1909
Asserts on pre-filling of dates; removes manual date selection
2022-07-26 16:07:29 +01:00
dependabot[bot]
d54eb48662
Bump rswag-specs from 2.4.0 to 2.5.1
...
Bumps [rswag-specs](https://github.com/rswag/rswag ) from 2.4.0 to 2.5.1.
- [Release notes](https://github.com/rswag/rswag/releases )
- [Changelog](https://github.com/rswag/rswag/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rswag/rswag/compare/2.4.0...2.5.1 )
---
updated-dependencies:
- dependency-name: rswag-specs
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-07-26 14:13:06 +00:00
dependabot[bot]
542e8e22bf
Bump rails-i18n from 7.0.1 to 7.0.5
...
Bumps [rails-i18n](https://github.com/svenfuchs/rails-i18n ) from 7.0.1 to 7.0.5.
- [Release notes](https://github.com/svenfuchs/rails-i18n/releases )
- [Changelog](https://github.com/svenfuchs/rails-i18n/blob/master/CHANGELOG.md )
- [Commits](https://github.com/svenfuchs/rails-i18n/commits/v7.0.5 )
---
updated-dependencies:
- dependency-name: rails-i18n
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-07-26 14:12:46 +00:00
dependabot[bot]
e0426d6dc0
Bump timecop from 0.9.4 to 0.9.5
...
Bumps [timecop](https://github.com/travisjeffery/timecop ) from 0.9.4 to 0.9.5.
- [Release notes](https://github.com/travisjeffery/timecop/releases )
- [Changelog](https://github.com/travisjeffery/timecop/blob/master/History.md )
- [Commits](https://github.com/travisjeffery/timecop/compare/v0.9.4...v0.9.5 )
---
updated-dependencies:
- dependency-name: timecop
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-07-26 14:10:19 +00:00
jibees
a09900c98d
Merge pull request #9433 from openfoodfoundation/dependabot/bundler/rswag-api-2.5.1
...
Bump rswag-api from 2.4.0 to 2.5.1
2022-07-26 16:10:15 +02:00
jibees
f563fcad7f
Merge pull request #9434 from openfoodfoundation/dependabot/bundler/letter_opener-1.8.1
...
Bump letter_opener from 1.7.0 to 1.8.1
2022-07-26 16:09:56 +02:00
jibees
34b76f8683
Merge pull request #9401 from openfoodfoundation/dependabot/bundler/selenium-webdriver-4.3.0
...
Bump selenium-webdriver from 4.0.3 to 4.3.0
2022-07-26 16:09:42 +02:00
jibees
ec82bdda97
Merge pull request #9376 from openfoodfoundation/dependabot/bundler/jwt-2.4.1
...
Bump jwt from 2.3.0 to 2.4.1
2022-07-26 16:09:32 +02:00
jibees
e4c2df4989
Merge pull request #9326 from openfoodfoundation/dependabot/bundler/sidekiq-6.5.1
...
Bump sidekiq from 6.3.1 to 6.5.1
2022-07-26 16:09:22 +02:00
jibees
a1f577dc01
Merge pull request #9400 from openfoodfoundation/dependabot/bundler/rswag-ui-2.5.1
...
Bump rswag-ui from 2.4.0 to 2.5.1
2022-07-26 16:09:11 +02:00
jibees
edbf92424d
Merge pull request #9377 from openfoodfoundation/dependabot/bundler/paranoia-2.6.0
...
Bump paranoia from 2.4.3 to 2.6.0
2022-07-26 16:08:58 +02:00
jibees
35c18664fc
Merge pull request #9389 from jibees/9388-handle-plural-in-order-selection-component
...
Handle plural (and 0) on orders selection component
2022-07-26 15:57:58 +02:00
jibees
be568cdfa6
Update config/locales/en.yml
...
Co-authored-by: Maikel <maikel@email.org.au >
2022-07-26 14:42:55 +02:00
Jean-Baptiste Bellet
0bb90d764c
Allow charges is disabled if no saved cards marked as default
2022-07-26 14:42:55 +02:00
Jean-Baptiste Bellet
34c8748b9c
Mark the next credit cards with payment profile as default
2022-07-26 14:42:55 +02:00
Jean-Baptiste Bellet
875c22346e
Add a tooltip on <td /> when input is disabled, ie no default saved cards
...
Co-Authored-By: Maikel <maikel@email.org.au >
2022-07-26 14:42:54 +02:00
filipefurtad0
c57d5a2408
Updates spec to smoke-test Pack by Product
2022-07-26 12:49:08 +01:00
Maikel
825058472b
Merge pull request #9425 from openfoodfoundation/dependabot/npm_and_yarn/stimulus-3.1.0
...
Bump stimulus from 3.0.1 to 3.1.0
2022-07-26 16:49:33 +10:00
Maikel Linke
b419f063dc
Support WEBP images again
...
We introduced a list of formats we support and forgot to add webp. Now I
added that as allowed format again and modified the error message.
I removed the first sentence from the error message because it's very
similar to the default error which is shown as well.
2022-07-26 11:09:41 +10:00
Maikel Linke
0ebc803e22
Simplify reports SQL query
2022-07-26 11:05:41 +10:00
dependabot[bot]
cd2119707a
Bump rswag-ui from 2.4.0 to 2.5.1
...
Bumps [rswag-ui](https://github.com/rswag/rswag ) from 2.4.0 to 2.5.1.
- [Release notes](https://github.com/rswag/rswag/releases )
- [Changelog](https://github.com/rswag/rswag/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rswag/rswag/compare/2.4.0...2.5.1 )
---
updated-dependencies:
- dependency-name: rswag-ui
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-07-25 14:56:05 +00:00
dependabot[bot]
8c27406a7a
Bump paranoia from 2.4.3 to 2.6.0
...
Bumps [paranoia](https://github.com/rubysherpas/paranoia ) from 2.4.3 to 2.6.0.
- [Release notes](https://github.com/rubysherpas/paranoia/releases )
- [Changelog](https://github.com/rubysherpas/paranoia/blob/core/CHANGELOG.md )
- [Commits](https://github.com/rubysherpas/paranoia/compare/2.4.3...v2.6.0 )
---
updated-dependencies:
- dependency-name: paranoia
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-07-25 14:55:49 +00:00
dependabot[bot]
b6defc76a8
Bump jwt from 2.3.0 to 2.4.1
...
Bumps [jwt](https://github.com/jwt/ruby-jwt ) from 2.3.0 to 2.4.1.
- [Release notes](https://github.com/jwt/ruby-jwt/releases )
- [Changelog](https://github.com/jwt/ruby-jwt/blob/master/CHANGELOG.md )
- [Commits](https://github.com/jwt/ruby-jwt/compare/v2.3.0...v2.4.1 )
---
updated-dependencies:
- dependency-name: jwt
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-07-25 14:55:29 +00:00
dependabot[bot]
50529d7ab3
Bump sidekiq from 6.3.1 to 6.5.1
...
Bumps [sidekiq](https://github.com/mperham/sidekiq ) from 6.3.1 to 6.5.1.
- [Release notes](https://github.com/mperham/sidekiq/releases )
- [Changelog](https://github.com/mperham/sidekiq/blob/main/Changes.md )
- [Commits](https://github.com/mperham/sidekiq/compare/v6.3.1...v6.5.1 )
---
updated-dependencies:
- dependency-name: sidekiq
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-07-25 14:55:12 +00:00
dependabot[bot]
b695f3d47f
Bump selenium-webdriver from 4.0.3 to 4.3.0
...
Bumps [selenium-webdriver](https://github.com/SeleniumHQ/selenium ) from 4.0.3 to 4.3.0.
- [Release notes](https://github.com/SeleniumHQ/selenium/releases )
- [Changelog](https://github.com/SeleniumHQ/selenium/blob/trunk/rb/CHANGES )
- [Commits](https://github.com/SeleniumHQ/selenium/commits/selenium-4.3.0 )
---
updated-dependencies:
- dependency-name: selenium-webdriver
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-07-25 14:54:43 +00:00
dependabot[bot]
90ce61fa47
Bump letter_opener from 1.7.0 to 1.8.1
...
Bumps [letter_opener](https://github.com/ryanb/letter_opener ) from 1.7.0 to 1.8.1.
- [Release notes](https://github.com/ryanb/letter_opener/releases )
- [Changelog](https://github.com/ryanb/letter_opener/blob/master/CHANGELOG.md )
- [Commits](https://github.com/ryanb/letter_opener/compare/v1.7.0...v1.8.1 )
---
updated-dependencies:
- dependency-name: letter_opener
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-07-25 14:13:23 +00:00
dependabot[bot]
7c2352f2d6
Bump rswag-api from 2.4.0 to 2.5.1
...
Bumps [rswag-api](https://github.com/rswag/rswag ) from 2.4.0 to 2.5.1.
- [Release notes](https://github.com/rswag/rswag/releases )
- [Changelog](https://github.com/rswag/rswag/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rswag/rswag/compare/2.4.0...2.5.1 )
---
updated-dependencies:
- dependency-name: rswag-api
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-07-25 14:13:07 +00:00
dependabot[bot]
ef7194af85
Bump stimulus from 3.0.1 to 3.1.0
...
Bumps [stimulus](https://github.com/stimulusjs/stimulus ) from 3.0.1 to 3.1.0.
- [Release notes](https://github.com/stimulusjs/stimulus/releases )
- [Changelog](https://github.com/hotwired/stimulus/blob/main/CHANGELOG.md )
- [Commits](https://github.com/stimulusjs/stimulus/compare/v3.0.1...v3.1.0 )
---
updated-dependencies:
- dependency-name: stimulus
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-07-25 14:12:14 +00:00
Jean-Baptiste Bellet
09adc8f690
In Enterprise Fees Summary report, SUM column should be numeric
...
+ update specs as well
2022-07-25 15:08:39 +02:00
filipefurtad0
86b448445f
Adds test cases on Distributor Totals by Supplier
2022-07-22 14:05:33 +01:00
filipefurtad0
ba9ba7da95
Adds test cases to OC Supplier Totals by Distributor
2022-07-22 14:05:33 +01:00
filipefurtad0
f02e1ea04a
Adds test cases to Order Cycle Supplier Totals
2022-07-22 14:05:33 +01:00
filipefurtad0
f88b31ec67
Adds assertion on table headers for different sub-report types
2022-07-22 14:05:33 +01:00
filipefurtad0
6906dd47e8
Changes I18n to strings and cleans up Order Cycle Customer Totals
2022-07-22 14:04:58 +01:00
Jean-Baptiste Bellet
2a35c48498
Do not format price as currency, but as number
...
for all the `Packing Reports`, ie
Pack By Customer
Pack By Supplier
Pack By Product
2022-07-22 09:28:36 +02:00
Jean-Baptiste Bellet
ce0031934a
Do not format sum_total as currency, but as number
...
For the `Bulk Co-op Supplier Report` report
2022-07-22 09:27:52 +02:00
Jean-Baptiste Bellet
4766c7a00b
Update all locales with the latest Transifex translations
2022-07-21 17:42:52 +02:00
jibees
9d470c7a18
Merge pull request #9416 from aintluks/fix-label-button-terms-of-service
...
Fix button labels on terms of service
2022-07-21 17:38:28 +02:00
jibees
9cb0d66f39
Merge pull request #9426 from openfoodfoundation/dependabot/npm_and_yarn/babel/preset-env-7.18.9
...
Bump @babel/preset-env from 7.18.6 to 7.18.9
2022-07-21 17:38:07 +02:00
dependabot[bot]
7ba6f8c04b
Bump @babel/preset-env from 7.18.6 to 7.18.9
...
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env ) from 7.18.6 to 7.18.9.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.18.9/packages/babel-preset-env )
---
updated-dependencies:
- dependency-name: "@babel/preset-env"
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-07-21 15:03:18 +00:00
jibees
19ff6d011a
Merge pull request #9415 from saunmanoj888/fix-for-shipping-method-radio-button
...
Fix text alignment for category radio button under shipping method
2022-07-21 17:02:29 +02:00
jibees
9b1dcdcc78
Merge pull request #9412 from binarygit/optimize-notes-and-tracking-workflow
...
Optimize notes and tracking workflow
2022-07-21 17:02:03 +02:00
jibees
5eb3c486b2
Merge pull request #9383 from jibees/9382-can-send-invoice-if-ABN-is-not-required
...
Can send invoice if ABN is not required
2022-07-21 17:01:41 +02:00
jibees
20ee0d5009
Merge pull request #9301 from mkllnk/3975-unsupported-image
...
Allow SVG images for products and show errors when uploading unsupported file
2022-07-21 16:56:11 +02:00
Jean-Baptiste Bellet
a3cb1e6ecc
Can Allow charges only if one card is marked as default
2022-07-21 14:42:36 +02:00
jibees
89d68c7708
Merge pull request #9374 from openfoodfoundation/dependabot/bundler/spring-4.0.0
...
Bump spring from 3.0.0 to 4.0.0
2022-07-21 08:56:33 +02:00
jibees
371d517436
Merge pull request #9432 from mkllnk/mayhem
...
Run Mayhem for API only when triggered manually
2022-07-21 08:51:12 +02:00
jibees
17a016eca5
Merge pull request #9431 from mkllnk/roo
...
Bump roo from old master to 2.9.0
2022-07-21 08:46:06 +02:00
Jean-Baptiste Bellet
2b67a0fa80
Specify a list of content-types
...
Then remove specific image format that aren't handled by a web browser (such as `image/x+xcf)`
+ List allowed image formats for enterprises and groups
2022-07-21 08:42:17 +02:00
Maikel Linke
84fcc8f1ac
Upgrade spring binstubs
...
I ran `bundle exec spring binstub --all` after reading about the update
in the changelog.
2022-07-21 10:55:31 +10:00
Maikel
baefe37d0b
Merge pull request #9367 from openfoodfoundation/dependabot/bundler/activerecord-import-1.4.0
...
Bump activerecord-import from 1.3.0 to 1.4.0
2022-07-21 10:45:56 +10:00
Maikel Linke
1e13d579ba
Run Mayhem for API only when triggered manually
...
It currently always fails and we are not using it. We may use it in the
future though and the results can be interesting. So I'm keeping it but
it's not triggered on every pull request. How to trigger:
https://docs.github.com/en/actions/managing-workflow-runs/manually-running-a-workflow#running-a-workflow
2022-07-21 10:37:58 +10:00
Maikel Linke
becfb09b3c
Bump roo from old master to 2.9.0
...
This release doesn't include the latest two pull requests but we don't
need those features and it's an upgrade already. Dependabot will now
pick up new releases instead of every new commit to the master branch of
the gem source. That should be less work for us.
2022-07-21 10:29:45 +10:00
Filipe
4767030035
Merge pull request #9429 from filipefurtad0/matomo_tag_change
...
Adds js window element to container code
2022-07-20 10:27:16 +01:00
filipefurtad0
b20385db95
Moves matomo tag to upper position within head section
2022-07-20 09:38:37 +01:00
jibees
019911068a
Merge pull request #9402 from openfoodfoundation/dependabot/bundler/oauth2-1.4.10
...
Bump oauth2 from 1.4.7 to 1.4.10
2022-07-20 09:36:19 +02:00
jibees
da266fed40
Merge pull request #9428 from openfoodfoundation/dependabot/npm_and_yarn/terser-4.8.1
...
Bump terser from 4.8.0 to 4.8.1
2022-07-20 09:35:39 +02:00
Maikel Linke
dd6c066f5a
DRY view with JS translation
2022-07-20 17:01:10 +10:00
dependabot[bot]
9de939c1b1
Bump terser from 4.8.0 to 4.8.1
...
Bumps [terser](https://github.com/terser/terser ) from 4.8.0 to 4.8.1.
- [Release notes](https://github.com/terser/terser/releases )
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md )
- [Commits](https://github.com/terser/terser/commits )
---
updated-dependencies:
- dependency-name: terser
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-07-20 05:48:56 +00:00
Lucas da Costa
35030bfd02
Fix button labels on terms of service
2022-07-19 22:53:30 -03:00
Maikel
3833fb6e52
Merge pull request #9394 from jibees/9167-api-v1,-customers-endpoint-region-and-country-as-object
...
API v1: Provide customer address with region and country objects including id code
2022-07-20 09:41:11 +10:00
filipefurtad0
0a03c0a0fb
Adds js window element to container code
2022-07-19 19:29:02 +01:00
binarygit
0599acbcb8
Refactor shipments.js
2022-07-19 13:37:05 +05:45
binarygit
97dcd44662
Display alert box before deleting note/tracking info
2022-07-19 13:37:05 +05:45
binarygit
1165c997bc
Add styles on notes/tracking info when hoving over their delete buttons
2022-07-19 13:36:58 +05:45
binarygit
1d54777d72
Replace view with status column in past orders table
2022-07-19 13:30:11 +05:45
Maikel
0144e940c4
Remove release step to merge Transifex PR
2022-07-19 17:38:37 +10:00
Jean-Baptiste Bellet
753a643bf1
Simplify main method by creating two private methods
...
Include some unit tests
2022-07-19 09:50:06 +10:00
Maikel Linke
19018c2564
Split address transformation for easier reading
2022-07-19 09:49:42 +10:00
Maikel Linke
c8a65d2fac
Simplify with customer accessor
2022-07-19 09:49:42 +10:00
Maikel Linke
6c0d4cffe5
Allow customer's address update with country code
...
The customer endpoint now serves 2-letter ISO codes for countries and
accepts these for updates. It also serves and accepts region codes
(abbreviations) like VIC for Victoria.
Updates treat these fields as case-insensitive and either code or name
have to be present.
This commit also updates the Swagger documentation.
2022-07-19 09:49:42 +10:00
binarygit
6b042e4a17
Display notes field in admin/orders/new only after an item has been added
2022-07-18 16:15:37 +05:45
binarygit
ae2c56b29d
Omit tracking info row from shipping email when empty
2022-07-18 14:55:36 +05:45
saunmanoj888
55feb7648d
Fix text alignment for category radio button under shipping method
2022-07-16 23:17:06 +05:30
Jean-Baptiste Bellet
cc135c8190
API V1, Customer endpoint: region and country as object
2022-07-15 14:54:33 +02:00
binarygit
2f01351ad2
Enable users to delete only non-empty tracking info/notes
2022-07-15 11:34:37 +05:45
Maikel Linke
3d6842db80
Update translations
2022-07-14 11:54:23 +10:00
Maikel
e1dd92b406
Merge pull request #9395 from openfoodfoundation/transifex
...
Transifex
2022-07-14 11:50:18 +10:00
Maikel
a8160aac8a
Merge pull request #9399 from binarygit/feature/update-note/tracking
...
Update note and tracking fields workflow
2022-07-14 11:49:09 +10:00
binarygit
5e7bfc05d2
Remove link from order number in open/past orders table
2022-07-13 20:10:45 +05:45
binarygit
3c741f0686
Add flash after an order is cancelled
2022-07-13 18:45:43 +05:45
Jean-Baptiste Bellet
afa40ea82f
Authorize product and not @product
2022-07-13 14:26:11 +02:00
Transifex-Openfoodnetwork
6a9fcd0b30
Updating translations for config/locales/en_GB.yml
2022-07-13 04:17:52 +10:00
Jean-Baptiste Bellet
a80cf37fa6
Handle errors message formatting
2022-07-12 18:29:28 +02:00
Jean-Baptiste Bellet
073bad2118
Allow svg images to be resized/cropped
2022-07-12 15:53:32 +02:00
binarygit
6ad0749ce8
Refactor: create parent_node var to find child elements
2022-07-12 14:11:53 +05:45
Transifex-Openfoodnetwork
5a40ccb7df
Updating translations for config/locales/it.yml
2022-07-12 18:07:07 +10:00
binarygit
a56375eaf8
Spec: can delete note/tracking info on an order
2022-07-12 13:33:34 +05:45
Philipp Winkler
6291e3c587
Handle invalid referer for embedded page service
2022-07-11 22:07:00 +02:00
Transifex-Openfoodnetwork
5221e776da
Updating translations for config/locales/de_DE.yml
2022-07-11 20:44:12 +10:00
Transifex-Openfoodnetwork
a290779ef7
Updating translations for config/locales/en_FR.yml
2022-07-11 19:31:07 +10:00
Transifex-Openfoodnetwork
ac2b8e1ebe
Updating translations for config/locales/fr.yml
2022-07-11 19:28:51 +10:00
jibees
a1adcadd6c
Merge pull request #9371 from openfoodfoundation/dependabot/bundler/devise-4.8.1
...
Bump devise from 4.8.0 to 4.8.1
2022-07-11 11:26:43 +02:00
dependabot[bot]
4a53c818fd
Bump oauth2 from 1.4.7 to 1.4.10
...
Bumps [oauth2](https://github.com/oauth-xx/oauth2 ) from 1.4.7 to 1.4.10.
- [Release notes](https://github.com/oauth-xx/oauth2/releases )
- [Changelog](https://github.com/oauth-xx/oauth2/blob/master/CHANGELOG.md )
- [Commits](https://github.com/oauth-xx/oauth2/compare/v1.4.7...v1.4.10 )
---
updated-dependencies:
- dependency-name: oauth2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-07-11 09:06:54 +00:00
dependabot[bot]
fa59117fd5
Bump devise from 4.8.0 to 4.8.1
...
Bumps [devise](https://github.com/heartcombo/devise ) from 4.8.0 to 4.8.1.
- [Release notes](https://github.com/heartcombo/devise/releases )
- [Changelog](https://github.com/heartcombo/devise/blob/main/CHANGELOG.md )
- [Commits](https://github.com/heartcombo/devise/compare/v4.8.0...v4.8.1 )
---
updated-dependencies:
- dependency-name: devise
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-07-11 08:52:18 +00:00
jibees
3b6b2ea936
Merge pull request #9372 from openfoodfoundation/dependabot/bundler/rack-timeout-0.6.3
...
Bump rack-timeout from 0.6.0 to 0.6.3
2022-07-11 10:51:00 +02:00
jibees
ef4a71c048
Merge pull request #9375 from openfoodfoundation/dependabot/bundler/redis-4.7.1
...
Bump redis from 4.7.0 to 4.7.1
2022-07-11 10:50:35 +02:00
jibees
bc82401c24
Merge pull request #9393 from openfoodfoundation/dependabot/bundler/awesome_nested_set-3.5.0
...
Bump awesome_nested_set from 3.4.0 to 3.5.0
2022-07-11 10:49:54 +02:00
jibees
849ceeaa96
Merge pull request #9392 from openfoodfoundation/dependabot/npm_and_yarn/moment-2.29.4
...
Bump moment from 2.29.3 to 2.29.4
2022-07-11 10:49:35 +02:00
jibees
77bac0c24e
Merge pull request #9396 from openfoodfoundation/dependabot/npm_and_yarn/tom-select-2.1.0
...
Bump tom-select from 2.0.3 to 2.1.0
2022-07-11 09:17:15 +02:00
binarygit
227220e2a6
Add focus to tracking when edit tracking is clicked
2022-07-09 14:40:04 +05:45
binarygit
b88c85555e
Add delete tracking feature
2022-07-09 14:39:20 +05:45
binarygit
b7a49ced39
Add focus to note when edit note is clicked
2022-07-09 14:33:01 +05:45
binarygit
dc31ebebb1
Add delete note feature
2022-07-09 13:23:38 +05:45
Filipe
2f550725e3
Merge pull request #9368 from jibees/9178-add-note-on-order
...
Admin, Edit order: Can add note on order
2022-07-08 12:13:18 +01:00
Filipe
3834724d45
Merge pull request #9236 from AgriculturaFamiliar/add-map-whatsapp-link
...
Show whatsapp link on contact modal on map
2022-07-08 12:10:18 +01:00
dependabot[bot]
ce39f3c119
Bump tom-select from 2.0.3 to 2.1.0
...
Bumps [tom-select](https://github.com/orchidjs/tom-select ) from 2.0.3 to 2.1.0.
- [Release notes](https://github.com/orchidjs/tom-select/releases )
- [Commits](https://github.com/orchidjs/tom-select/compare/v2.0.3...v2.1.0 )
---
updated-dependencies:
- dependency-name: tom-select
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-07-08 09:05:33 +00:00
Transifex-Openfoodnetwork
7aaa31b137
Updating translations for config/locales/en_FR.yml
2022-07-08 11:27:15 +10:00
Transifex-Openfoodnetwork
656143db48
Updating translations for config/locales/fr.yml
2022-07-08 11:24:09 +10:00
Filipe
decfbc9658
Merge pull request #9356 from jibees/9248-add-tags-to-a-producer-only-order-cycle
...
Add tags to producer-only order cycle interface
2022-07-07 23:45:02 +01:00
Filipe
e91a87d83b
Merge pull request #9295 from filipefurtad0/destroy_order_state_confirmation
...
Restarts checkout flow, when emptying the cart
2022-07-07 22:47:44 +01:00
Filipe
040422c6c0
Merge pull request #9380 from jibees/9068-bulk-product-update-creating-new-on_demand-variant
...
Admin, Products list: fix variant creation when unit is not well formatted and on_demand is checked or on_hand is filled
2022-07-07 22:39:23 +01:00
dependabot[bot]
7535883416
Bump moment from 2.29.3 to 2.29.4
...
Bumps [moment](https://github.com/moment/moment ) from 2.29.3 to 2.29.4.
- [Release notes](https://github.com/moment/moment/releases )
- [Changelog](https://github.com/moment/moment/blob/develop/CHANGELOG.md )
- [Commits](https://github.com/moment/moment/compare/2.29.3...2.29.4 )
---
updated-dependencies:
- dependency-name: moment
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-07-07 08:10:37 +00:00
Jean-Baptiste Bellet
f71c84cea5
Handle save method as it should be: return false if any errors occurs
2022-07-07 09:56:14 +02:00
Maikel Linke
1586320115
Update translations
2022-07-07 13:56:55 +10:00
Maikel
13f81ca20e
Merge pull request #9350 from filipefurtad0/adds_reports_specs
...
Adds system specs on orders and fulfillment reports
2022-07-07 13:51:12 +10:00
dependabot[bot]
25b5b66ae1
Bump awesome_nested_set from 3.4.0 to 3.5.0
...
Bumps [awesome_nested_set](https://github.com/collectiveidea/awesome_nested_set ) from 3.4.0 to 3.5.0.
- [Release notes](https://github.com/collectiveidea/awesome_nested_set/releases )
- [Changelog](https://github.com/collectiveidea/awesome_nested_set/blob/master/CHANGELOG )
- [Commits](https://github.com/collectiveidea/awesome_nested_set/compare/v3.4.0...v3.5.0 )
---
updated-dependencies:
- dependency-name: awesome_nested_set
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-07-07 03:45:48 +00:00
dependabot[bot]
f2b02f6c6b
Bump activerecord-import from 1.3.0 to 1.4.0
...
Bumps [activerecord-import](https://github.com/zdennis/activerecord-import ) from 1.3.0 to 1.4.0.
- [Release notes](https://github.com/zdennis/activerecord-import/releases )
- [Changelog](https://github.com/zdennis/activerecord-import/blob/master/CHANGELOG.md )
- [Commits](https://github.com/zdennis/activerecord-import/compare/v1.3.0...v1.4.0 )
---
updated-dependencies:
- dependency-name: activerecord-import
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-07-07 03:45:13 +00:00
dependabot[bot]
3139ba7ad0
Bump rack-timeout from 0.6.0 to 0.6.3
...
Bumps [rack-timeout](https://github.com/zombocom/rack-timeout ) from 0.6.0 to 0.6.3.
- [Release notes](https://github.com/zombocom/rack-timeout/releases )
- [Changelog](https://github.com/zombocom/rack-timeout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/zombocom/rack-timeout/compare/v0.6.0...v0.6.3 )
---
updated-dependencies:
- dependency-name: rack-timeout
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-07-07 03:45:12 +00:00
Maikel
1ab1e20bb7
Merge pull request #9378 from openfoodfoundation/dependabot/bundler/rails-6.1.6
...
Bump rails from 6.1.4.4 to 6.1.6
2022-07-07 13:43:58 +10:00
Maikel
f3806ea5ea
Merge pull request #9381 from openfoodfoundation/transifex
...
Transifex
2022-07-07 13:39:23 +10:00
Maikel
182a7f0f93
Merge pull request #9352 from filipefurtad0/price_breakdown_spec
...
Adds price breakdown assertion
2022-07-07 13:36:45 +10:00
Jean-Baptiste Bellet
6f228781d4
Check for product_set errors
...
+ update specs: can't save variant that is not well filled. Now display errors (instead of a generic one)
2022-07-06 10:46:54 +02:00
Jean-Baptiste Bellet
c39b00b6c2
do not set on_demand and on_hand if variant has errors
...
+ update specs
Co-Authored-By: Maikel <maikel@email.org.au >
2022-07-06 10:46:54 +02:00
Jean-Baptiste Bellet
06b1c9aa40
Handle plural (and 0) on orders selection component
2022-07-06 09:48:12 +02:00
lauriewayne
75b71738df
Update FUNDING.yml
...
took away @
2022-07-05 07:02:03 -07:00
lauriewayne
8cb07c4a37
Update FUNDING.yml
2022-07-05 06:59:27 -07:00
lauriewayne
4cbd520cb9
Create FUNDING.yml
...
added @ofnusa to Open Collective line
2022-07-05 06:56:44 -07:00
Jean-Baptiste Bellet
b2a0310e6f
Handle the case when errors is a string
2022-07-05 15:48:31 +02:00
jibees
d71994189c
Creating new variants specs
...
Co-Authored-By: Filipe <49817236+filipefurtad0@users.noreply.github.com >
2022-07-05 10:21:48 +02:00
Jean-Baptiste Bellet
89809aed5f
Add counter on note input
2022-07-05 10:09:20 +02:00
Jean-Baptiste Bellet
de8c71d098
Create a controller that handle a counter for an input text
2022-07-05 10:09:20 +02:00
Jean-Baptiste Bellet
576faff3d7
Spec: can edit/save note on an order
2022-07-05 10:09:20 +02:00
Jean-Baptiste Bellet
90af6bd22d
Handle note saving with a new action on existing API controller
2022-07-05 10:09:20 +02:00
Jean-Baptiste Bellet
3f1099d968
Add edit note line on an order
2022-07-05 10:09:20 +02:00
Jean-Baptiste Bellet
7fbe893927
Add note to spree_orders object
2022-07-05 10:09:20 +02:00
Transifex-Openfoodnetwork
c6ab9f8a6a
Updating translations for config/locales/it.yml
2022-07-05 16:42:36 +10:00
Vishal Jain
3143cc9d92
skip disabled user check for session controller
2022-07-05 11:35:11 +05:30
Jean-Baptiste Bellet
e4be757d96
use the can_invoice method that check both ABN and configuration boolean
...
+ specs Specify an empty ABN number
+ update specs
2022-07-04 15:35:49 +02:00
filipefurtad0
e44845c327
Creates system spec for orders and fulfilment report; adds existing test cases to this file
2022-07-04 11:08:54 +01:00
filipefurtad0
c8cab86b0c
Stubs order and adds assertions
2022-07-04 11:07:00 +01:00
Transifex-Openfoodnetwork
a3cbe8e878
Updating translations for config/locales/en_FR.yml
2022-07-04 19:52:28 +10:00
Transifex-Openfoodnetwork
727c74907d
Updating translations for config/locales/fr.yml
2022-07-04 19:51:29 +10:00
Transifex-Openfoodnetwork
04c38a3c1d
Updating translations for config/locales/de_DE.yml
2022-07-02 08:22:44 +10:00
Jean-Baptiste Bellet
9b51f85e9a
Create a context around "creating new variants"
...
Reproducing bug #9068
2022-07-01 16:42:04 +02:00
Jean-Baptiste Bellet
90fe3fc66c
Update all locales with the latest Transifex translations
2022-07-01 14:26:24 +02:00
Filipe
5a2aee6d79
Merge pull request #9349 from openfoodfoundation/transifex
...
Transifex
2022-07-01 12:06:53 +01:00
dependabot[bot]
544377a624
Bump rails from 6.1.4.4 to 6.1.6
...
Bumps [rails](https://github.com/rails/rails ) from 6.1.4.4 to 6.1.6.
- [Release notes](https://github.com/rails/rails/releases )
- [Commits](https://github.com/rails/rails/compare/v6.1.4.4...v6.1.6 )
---
updated-dependencies:
- dependency-name: rails
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-07-01 11:06:24 +00:00
Filipe
2a49b91a8b
Merge pull request #9347 from openfoodfoundation/dependabot/bundler/view_component-2.57.1
...
Bump view_component from 2.41.0 to 2.57.1
2022-07-01 12:05:42 +01:00
Filipe
8abd636b68
Merge pull request #9342 from openfoodfoundation/dependabot/bundler/view_component_storybook-0.11.1
...
Bump view_component_storybook from 0.10.1 to 0.11.1
2022-07-01 12:05:28 +01:00
Filipe
244cce7392
Merge pull request #9365 from mkllnk/ch
...
Add Swiss language files
2022-07-01 12:04:57 +01:00
Filipe
9d39efdd7b
Merge pull request #9318 from saunmanoj888/translation-missing-order-cycle-status
...
Add translation for order-cycle-status on new order creation from admin
2022-07-01 12:03:45 +01:00
Filipe
a0531ca356
Merge pull request #9332 from openfoodfoundation/dependabot/bundler/geocoder-1.8.0
...
Bump geocoder from 1.7.0 to 1.8.0
2022-07-01 12:00:02 +01:00
Filipe
8cac98ceb4
Merge pull request #9321 from leopengilley/master
...
Styled text colour of admin order dropdown menu #9296
2022-07-01 10:48:11 +01:00
Filipe
3d5d9d1191
Merge pull request #9353 from saunmanoj888/fix-password-prefilled-issue
...
Disable auto fill option for password on /admin/users/[ID] page
2022-07-01 10:41:29 +01:00
dependabot[bot]
a5f6773a4d
Bump redis from 4.7.0 to 4.7.1
...
Bumps [redis](https://github.com/redis/redis-rb ) from 4.7.0 to 4.7.1.
- [Release notes](https://github.com/redis/redis-rb/releases )
- [Changelog](https://github.com/redis/redis-rb/blob/master/CHANGELOG.md )
- [Commits](https://github.com/redis/redis-rb/compare/v4.7.0...v4.7.1 )
---
updated-dependencies:
- dependency-name: redis
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-07-01 09:34:11 +00:00
Filipe
e563de0248
Merge pull request #9330 from openfoodfoundation/dependabot/bundler/roadie-rails-3.0.0
...
Bump roadie-rails from 2.2.0 to 3.0.0
2022-07-01 10:33:11 +01:00
Filipe
81d2e63d6f
Merge pull request #9357 from jibees/9180-close-mobile-menu-on-click-anywhere
...
Close menu on click outside the menu and outside the hamburger icon
2022-07-01 10:16:43 +01:00
dependabot[bot]
43b09640a9
Bump spring from 3.0.0 to 4.0.0
...
Bumps [spring](https://github.com/rails/spring ) from 3.0.0 to 4.0.0.
- [Release notes](https://github.com/rails/spring/releases )
- [Changelog](https://github.com/rails/spring/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rails/spring/compare/v3.0.0...v4.0.0 )
---
updated-dependencies:
- dependency-name: spring
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-07-01 08:47:51 +00:00
Filipe
9b2ae41392
Merge pull request #9359 from openfoodfoundation/dependabot/bundler/sidekiq-scheduler-4.0.2
...
Bump sidekiq-scheduler from 3.1.0 to 4.0.2
2022-07-01 09:46:00 +01:00
Arthur Vieira
066879fe62
Add icons to whatsapp links
...
Uses the font awesome 4 WhatsApp icon in .svg format (which is under the
Open Font License) in the pages where an enterprise's WhatsApp number
appears as an hyperlink.
2022-06-30 19:19:10 -03:00
Arthur
54ec4e5016
Update app/views/shopping_shared/tabs/_contact.html.haml
...
Co-authored-by: Maikel <maikel@email.org.au >
2022-06-30 19:19:10 -03:00
Arthur Vieira
e483ef8ccd
Fix whatsapp phone tooltip in registration
...
The tooltip on the contact step of the registration form now displays
the proper text, which has been added in the source language file.
2022-06-30 19:19:10 -03:00
Arthur Vieira
0deb3cd782
Replace url generation with 'whatsapp_url' method
...
As suggested by mkllnk's following comment:
1eda7d8a4c (r890656117)
2022-06-30 19:19:10 -03:00
Arthur Vieira
624485ff25
Add whatsapp link to contact tab view
2022-06-30 19:19:10 -03:00
Arthur Vieira
cace62a718
Add producer whatsapp link to producers list
...
Adds WhatsApp number with wa.me link between phone number and e-mail
address in the producers list profile.
2022-06-30 19:19:10 -03:00
Arthur Vieira
77360f41af
Show WhatsApp link on contact modal on map
...
Strips '+' and ' ' characters from the phone number for the generated
link, but doesn't guarantee the link is valid because the number
registered isn't validated for now.
2022-06-30 19:19:10 -03:00
Arthur Vieira
79e762a815
Add whatsapp number to registration form
...
Creates a field on the contact step of the enterprise registration form
to create an enterprise with a WhatsApp phone number, with corresponding
i18n keys for the field's name and placeholder text.
2022-06-30 19:19:10 -03:00
Arthur Vieira
62ee3c2de1
Add admin view field for whatsapp number
...
Creates a field and tooltip in
/admin/enterprises/<enterprise>/edit#!/contact for updating the
enterprise's WhatsApp phone number, with corresponding i18n keys for the
name of the field, placeholder and tooltip text.
2022-06-30 19:19:10 -03:00
Arthur Vieira
b565b6ba4d
Add whatsapp_phone to permitted attributes
...
Allows creating and updating the enterprise's WhatsApp phone number in
the registration form and contact edit views.
2022-06-30 19:19:10 -03:00
Arthur Vieira
a2bc61475b
Add whatsapp_phone column to enterprises
2022-06-30 19:19:06 -03:00
Transifex-Openfoodnetwork
8052e8b775
Updating translations for config/locales/en_FR.yml
2022-06-30 17:39:47 +10:00
Transifex-Openfoodnetwork
e4d290d59c
Updating translations for config/locales/fr.yml
2022-06-30 17:39:36 +10:00
jibees
96df2cb307
Merge pull request #9370 from openfoodfoundation/dependabot/bundler/rack-mini-profiler-2.3.4
...
Bump rack-mini-profiler from 2.3.3 to 2.3.4
2022-06-30 08:34:18 +02:00
Maikel
1bc13215a2
Merge pull request #9360 from openfoodfoundation/dependabot/bundler/aws-sdk-s3-1.114.0
...
Bump aws-sdk-s3 from 1.113.0 to 1.114.0
2022-06-30 11:45:05 +10:00
dependabot[bot]
a09b1ce54c
Bump rack-mini-profiler from 2.3.3 to 2.3.4
...
Bumps [rack-mini-profiler](https://github.com/MiniProfiler/rack-mini-profiler ) from 2.3.3 to 2.3.4.
- [Release notes](https://github.com/MiniProfiler/rack-mini-profiler/releases )
- [Changelog](https://github.com/MiniProfiler/rack-mini-profiler/blob/master/CHANGELOG.md )
- [Commits](https://github.com/MiniProfiler/rack-mini-profiler/compare/v2.3.3...v2.3.4 )
---
updated-dependencies:
- dependency-name: rack-mini-profiler
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-06-29 18:22:46 +00:00
Filipe
122421be0f
Merge pull request #9340 from openfoodfoundation/dependabot/bundler/wicked_pdf-2.6.3
...
Bump wicked_pdf from 2.1.0 to 2.6.3
2022-06-29 19:21:35 +01:00
Filipe
899a796896
Merge pull request #9348 from jibees/9315-add-boolean-to-set-enterprise-phone-number-mandatory-or-not
...
Add boolean to specify if enterprise number (ABN, GST, SIRET, ...) is mandatory or not to generate invoices
2022-06-29 19:07:55 +01:00
Filipe
deb22d788f
Merge pull request #9363 from jibees/9316-new-action-dropdown-for-bulk-invoice-printing
...
Admin, Orders list: new actions dropdown for bulk invoice printing
2022-06-29 18:20:32 +01:00
Jean-Baptiste Bellet
77d12a3e54
Can add tags on simple order_cycle: specs
...
Simple order cycle: enterprise users selling only their own produce
2022-06-29 09:51:15 +02:00
jibees
d245609b16
Merge pull request #9366 from openfoodfoundation/dependabot/bundler/shoulda-matchers-5.1.0
...
Bump shoulda-matchers from 5.0.0 to 5.1.0
2022-06-29 08:49:06 +02:00
dependabot[bot]
b806e08624
Bump shoulda-matchers from 5.0.0 to 5.1.0
...
Bumps [shoulda-matchers](https://github.com/thoughtbot/shoulda-matchers ) from 5.0.0 to 5.1.0.
- [Release notes](https://github.com/thoughtbot/shoulda-matchers/releases )
- [Changelog](https://github.com/thoughtbot/shoulda-matchers/blob/main/CHANGELOG.md )
- [Commits](https://github.com/thoughtbot/shoulda-matchers/compare/v5.0.0...v5.1.0 )
---
updated-dependencies:
- dependency-name: shoulda-matchers
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-06-29 03:54:32 +00:00
Maikel
b902de652a
Merge pull request #9358 from openfoodfoundation/dependabot/bundler/redis-4.7.0
...
Bump redis from 4.5.1 to 4.7.0
2022-06-29 13:53:33 +10:00
Maikel Linke
0afd0fe2f1
Add Swiss language files
...
We usually don't do this manually but these files haven't been
completely translated yet and Mikel is keen to use them.
2022-06-29 10:49:49 +10:00
Jean-Baptiste Bellet
8ba59079b3
Reverse per_page and actions components left <-> right
2022-06-28 18:12:47 +02:00
Jean-Baptiste Bellet
8d66f33230
per_page control can now be set on the right of the page
2022-06-28 18:12:20 +02:00
Jean-Baptiste Bellet
77e384ab71
Replace button by a drop-down
...
+ update specs as well
2022-06-28 17:39:41 +02:00
Jean-Baptiste Bellet
7a1bd660c4
Prepare ofn-drop-down to have a "disabled" state and a "prepend" element
2022-06-28 17:39:41 +02:00
jibees
0ed56a46af
Merge pull request #9362 from openfoodfoundation/dependabot/npm_and_yarn/babel/preset-env-7.18.6
...
Bump @babel/preset-env from 7.18.2 to 7.18.6
2022-06-28 15:23:01 +02:00
Jean-Baptiste Bellet
fdba33baa3
Pass the form, and re-init() on object change
...
I can't make angularjs directive synchronized to scope object, this seems to be a hack, but it works.
Also add form in the scope (which was not added...)
2022-06-28 15:05:11 +02:00
Jean-Baptiste Bellet
6f303a5244
Add tags interface for a producer only order cycle
...
Add tags for first (and unique) outgoing exchange for a simple OC
Order Cycle can have tags
2022-06-28 15:05:11 +02:00
Transifex-Openfoodnetwork
850ad5165c
Updating translations for config/locales/ko.yml
2022-06-28 21:25:14 +10:00
dependabot[bot]
85e3111e75
Bump @babel/preset-env from 7.18.2 to 7.18.6
...
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env ) from 7.18.2 to 7.18.6.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.18.6/packages/babel-preset-env )
---
updated-dependencies:
- dependency-name: "@babel/preset-env"
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-06-28 09:04:51 +00:00
Jean-Baptiste Bellet
5ad09a6fab
Check if user can/can't print invoice in case of company number mandatory or present
2022-06-28 09:58:34 +02:00
Jean-Baptiste Bellet
bb6298d06d
Check for enterprise_number_required_on_invoices boolean
...
if true, then can edit invoice ;
if false, then print a confirm alert popup to specify that a enterprise number must be set for this enterprise
2022-06-28 09:53:46 +02:00
Jean-Baptiste Bellet
3a1fde40c5
Add a Spree config option: enterprise_number_required_on_invoices
2022-06-28 09:50:12 +02:00
filipefurtad0
43b6ab5dc5
Updates spec after merging #9325
2022-06-28 07:37:08 +01:00
Maikel
ee464ca457
Merge pull request #9334 from openfoodfoundation/dependabot/bundler/bullet-7.0.2
...
Bump bullet from 6.1.5 to 7.0.2
2022-06-28 12:25:53 +10:00
dependabot[bot]
c27f35ee6e
Bump aws-sdk-s3 from 1.113.0 to 1.114.0
...
Bumps [aws-sdk-s3](https://github.com/aws/aws-sdk-ruby ) from 1.113.0 to 1.114.0.
- [Release notes](https://github.com/aws/aws-sdk-ruby/releases )
- [Changelog](https://github.com/aws/aws-sdk-ruby/blob/version-3/gems/aws-sdk-s3/CHANGELOG.md )
- [Commits](https://github.com/aws/aws-sdk-ruby/commits )
---
updated-dependencies:
- dependency-name: aws-sdk-s3
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-06-28 02:25:51 +00:00
Maikel
79cc8b6f3e
Merge pull request #9331 from openfoodfoundation/dependabot/bundler/devise-i18n-1.10.2
...
Bump devise-i18n from 1.10.0 to 1.10.2
2022-06-28 12:24:59 +10:00
dependabot[bot]
1676dba9da
Bump sidekiq-scheduler from 3.1.0 to 4.0.2
...
Bumps [sidekiq-scheduler](https://github.com/moove-it/sidekiq-scheduler ) from 3.1.0 to 4.0.2.
- [Release notes](https://github.com/moove-it/sidekiq-scheduler/releases )
- [Changelog](https://github.com/sidekiq-scheduler/sidekiq-scheduler/blob/master/CHANGELOG.md )
- [Commits](https://github.com/moove-it/sidekiq-scheduler/compare/v3.1.0...v4.0.2 )
---
updated-dependencies:
- dependency-name: sidekiq-scheduler
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-06-28 02:02:17 +00:00
dependabot[bot]
e26e6bb855
Bump redis from 4.5.1 to 4.7.0
...
Bumps [redis](https://github.com/redis/redis-rb ) from 4.5.1 to 4.7.0.
- [Release notes](https://github.com/redis/redis-rb/releases )
- [Changelog](https://github.com/redis/redis-rb/blob/master/CHANGELOG.md )
- [Commits](https://github.com/redis/redis-rb/compare/v4.5.1...v4.7.0 )
---
updated-dependencies:
- dependency-name: redis
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-06-28 02:01:57 +00:00
Maikel
c2c8e8dfcd
Merge pull request #9343 from openfoodfoundation/dependabot/bundler/arel-helpers-2.14.0
...
Bump arel-helpers from 2.12.1 to 2.14.0
2022-06-28 12:01:33 +10:00
Maikel
61f0b433aa
Merge pull request #9345 from openfoodfoundation/dependabot/bundler/test-prof-1.0.9
...
Bump test-prof from 1.0.7 to 1.0.9
2022-06-28 12:01:05 +10:00
Jean-Baptiste Bellet
e2e455533e
Close menu on click outside the menu and outside the hambuger icon
2022-06-27 18:57:40 +02:00
filipefurtad0
2ba9d250f2
Adds assertion on price breakdown modal
2022-06-27 11:24:57 +01:00
Maikel
79bf8f0053
Merge pull request #9354 from mkllnk/time-spec
...
Fix time in reports spec
2022-06-27 17:41:20 +10:00
Maikel Linke
721fc0fd3f
Fix time in reports spec
...
Some specs were starting to fail because I created an order in the past
while the default report is for the last month only. It didn't include
that order any more.
I now defined the dates everywhere to remove this variable of the
current date.
2022-06-27 17:07:56 +10:00
Maikel
6a80cb8bfa
Merge pull request #9313 from filipefurtad0/some_clean_ups_on_report_specs
...
Updating system specs after reports overhaul
2022-06-27 16:33:56 +10:00
saunmanoj888
8d5616b351
Disable auto fill option for password on /admin/users/[ID] page
2022-06-26 23:45:18 +05:30
Filipe
45214ed923
Merge pull request #9325 from jibees/8899-shopfront-display-fee-name-in-the-tooltip-of-a-price-product-
...
In the shopfront, display fee name in the tooltip of a price product breakdown
2022-06-24 20:49:32 +01:00
Vishal Jain
84b711e130
redirect disabled user to homepage
2022-06-24 18:09:15 +05:30
Transifex-Openfoodnetwork
e28905b176
Updating translations for config/locales/en_GB.yml
2022-06-24 05:24:50 +10:00
filipefurtad0
d63aca3129
Removes 'pending' after #9229 merge
2022-06-23 10:40:11 +01:00
filipefurtad0
be7d44a603
Updates payments_report_spec.rb
2022-06-23 10:24:20 +01:00
filipefurtad0
98eecb1b3e
Updates packing report spec
2022-06-23 10:24:20 +01:00
filipefurtad0
db8eb52359
Updates enterprise_summary_fee spec
2022-06-23 10:24:20 +01:00
filipefurtad0
b0d29c6dbc
Updates spec settings to address timeout error
2022-06-23 10:24:20 +01:00
filipefurtad0
54bcd75f3f
Corrects namespace; adds pending on failing examples - payment_r
2022-06-23 10:24:20 +01:00
filipefurtad0
32e247bf75
Removes spree namespace; adds pending on failing examples - packing_r
2022-06-23 10:24:20 +01:00
filipefurtad0
5892eab4e3
Removes spree namespace; adds pending on failing examples - enterprise_fee_r
2022-06-23 10:24:20 +01:00
dependabot[bot]
9da7bcb134
Bump view_component from 2.41.0 to 2.57.1
...
Bumps [view_component](https://github.com/github/view_component ) from 2.41.0 to 2.57.1.
- [Release notes](https://github.com/github/view_component/releases )
- [Changelog](https://github.com/github/view_component/blob/main/docs/CHANGELOG.md )
- [Commits](https://github.com/github/view_component/compare/v2.41.0...v2.57.1 )
---
updated-dependencies:
- dependency-name: view_component
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-06-23 04:11:33 +00:00
Maikel
0ce5718b2b
Merge pull request #9329 from openfoodfoundation/dependabot/bundler/web-console-4.2.0
...
Bump web-console from 4.1.0 to 4.2.0
2022-06-23 14:10:25 +10:00
dependabot[bot]
d12754fe83
Bump roadie-rails from 2.2.0 to 3.0.0
...
Bumps [roadie-rails](https://github.com/Mange/roadie-rails ) from 2.2.0 to 3.0.0.
- [Release notes](https://github.com/Mange/roadie-rails/releases )
- [Changelog](https://github.com/Mange/roadie-rails/blob/master/Changelog.md )
- [Commits](https://github.com/Mange/roadie-rails/compare/v2.2.0...v3.0.0 )
---
updated-dependencies:
- dependency-name: roadie-rails
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-06-23 03:58:49 +00:00
dependabot[bot]
00f3a698f4
Bump test-prof from 1.0.7 to 1.0.9
...
Bumps [test-prof](https://github.com/test-prof/test-prof ) from 1.0.7 to 1.0.9.
- [Release notes](https://github.com/test-prof/test-prof/releases )
- [Changelog](https://github.com/test-prof/test-prof/blob/master/CHANGELOG.md )
- [Commits](https://github.com/test-prof/test-prof/compare/v1.0.7...v1.0.9 )
---
updated-dependencies:
- dependency-name: test-prof
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-06-23 03:30:07 +00:00
saunmanoj888
12eff626f4
Add translation for statuses in order_controller.js.coffee
2022-06-23 01:33:51 +05:30
dependabot[bot]
eee7075d9d
Bump arel-helpers from 2.12.1 to 2.14.0
...
Bumps [arel-helpers](https://github.com/camertron/arel-helpers ) from 2.12.1 to 2.14.0.
- [Release notes](https://github.com/camertron/arel-helpers/releases )
- [Changelog](https://github.com/camertron/arel-helpers/blob/master/CHANGELOG.md )
- [Commits](https://github.com/camertron/arel-helpers/commits )
---
updated-dependencies:
- dependency-name: arel-helpers
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-06-22 13:55:57 +00:00
dependabot[bot]
f12d62604b
Bump view_component_storybook from 0.10.1 to 0.11.1
...
Bumps [view_component_storybook](https://github.com/jonspalmer/view_component_storybook ) from 0.10.1 to 0.11.1.
- [Release notes](https://github.com/jonspalmer/view_component_storybook/releases )
- [Changelog](https://github.com/jonspalmer/view_component_storybook/blob/main/docs/CHANGELOG.md )
- [Commits](https://github.com/jonspalmer/view_component_storybook/commits )
---
updated-dependencies:
- dependency-name: view_component_storybook
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-06-22 13:55:25 +00:00
Jean-Baptiste Bellet
4007b17b1e
Redirect to login path also if user is disabled
...
+ update spec as well
2022-06-22 15:51:11 +02:00
dependabot[bot]
d77c693829
Bump wicked_pdf from 2.1.0 to 2.6.3
...
Bumps [wicked_pdf](https://github.com/mileszs/wicked_pdf ) from 2.1.0 to 2.6.3.
- [Release notes](https://github.com/mileszs/wicked_pdf/releases )
- [Changelog](https://github.com/mileszs/wicked_pdf/blob/master/CHANGELOG.md )
- [Commits](https://github.com/mileszs/wicked_pdf/compare/2.1.0...2.6.3 )
---
updated-dependencies:
- dependency-name: wicked_pdf
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-06-22 09:02:28 +00:00
dependabot[bot]
5e5ade9681
Bump bullet from 6.1.5 to 7.0.2
...
Bumps [bullet](https://github.com/flyerhzm/bullet ) from 6.1.5 to 7.0.2.
- [Release notes](https://github.com/flyerhzm/bullet/releases )
- [Changelog](https://github.com/flyerhzm/bullet/blob/master/CHANGELOG.md )
- [Commits](https://github.com/flyerhzm/bullet/compare/6.1.5...7.0.2 )
---
updated-dependencies:
- dependency-name: bullet
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-06-22 01:27:27 +00:00
dependabot[bot]
4c0d7c039f
Bump geocoder from 1.7.0 to 1.8.0
...
Bumps [geocoder](https://github.com/alexreisner/geocoder ) from 1.7.0 to 1.8.0.
- [Release notes](https://github.com/alexreisner/geocoder/releases )
- [Changelog](https://github.com/alexreisner/geocoder/blob/master/CHANGELOG.md )
- [Commits](https://github.com/alexreisner/geocoder/compare/v1.7.0...v1.8.0 )
---
updated-dependencies:
- dependency-name: geocoder
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-06-21 16:35:04 +00:00
dependabot[bot]
5da9ec7dc2
Bump devise-i18n from 1.10.0 to 1.10.2
...
Bumps [devise-i18n](https://github.com/tigrish/devise-i18n ) from 1.10.0 to 1.10.2.
- [Release notes](https://github.com/tigrish/devise-i18n/releases )
- [Changelog](https://github.com/tigrish/devise-i18n/blob/master/CHANGELOG.md )
- [Commits](https://github.com/tigrish/devise-i18n/compare/v1.10.0...v1.10.2 )
---
updated-dependencies:
- dependency-name: devise-i18n
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-06-21 16:34:22 +00:00
dependabot[bot]
edf1dd52eb
Bump web-console from 4.1.0 to 4.2.0
...
Bumps [web-console](https://github.com/rails/web-console ) from 4.1.0 to 4.2.0.
- [Release notes](https://github.com/rails/web-console/releases )
- [Changelog](https://github.com/rails/web-console/blob/master/CHANGELOG.markdown )
- [Commits](https://github.com/rails/web-console/compare/v4.1.0...v4.2.0 )
---
updated-dependencies:
- dependency-name: web-console
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-06-21 16:33:16 +00:00
Jean-Baptiste Bellet
400a490ec5
Display fee name instead of fee type
...
+ update specs as well
2022-06-21 16:08:45 +02:00
Jean-Baptiste Bellet
3c05fc3c80
Add fees name for a variant to its serializer
2022-06-21 14:42:22 +02:00
Jean-Baptiste Bellet
976e326bbd
Add method fees_name_by_type_for that returns fees name for a variant
2022-06-21 14:20:59 +02:00
LioPeng
fd4409c24d
Styled text colour of admin order dropdown menu
2022-06-20 12:15:13 +10:00
saunmanoj888
85a1a3627a
Add translation for order-cycle-status on new order creation from admin
2022-06-16 23:28:11 +05:30
filipefurtad0
9ab672d0b1
Restarts checkout flow for state 'confirmation'
2022-06-15 10:35:40 +01:00
filipefurtad0
f3ff835902
Adds a spec to assert on the order state change
2022-06-14 08:58:54 +01:00
Maikel Linke
004c7eef9e
Show SVG product images
2022-06-14 15:35:55 +10:00
Maikel Linke
f3f0a84915
Display image upload error as alert
...
Not the nicest UX but better than nothing.
2022-06-14 15:11:26 +10:00
Maikel Linke
5f11b6a650
Respond with errors if image upload fails
2022-06-14 15:06:17 +10:00
Maikel Linke
6b733ad7e2
Increase readability of image controller spec
...
Best viewed without whitespace changes.
- Decrease indent.
- Move `let` to top like in other specs.
- Avoid `let!` to speed up the specs.
2022-06-14 14:56:40 +10:00
Maikel Linke
831aa3aae0
Simplify ProductImagesController
2022-06-14 14:50:55 +10:00