Matt-Yorkley
f07c2dcd84
Add inverse_of for associations involved in cart processing
...
7bac3e7b2c
and
61bd5446e1
2021-01-08 15:42:58 +00:00
Pau Pérez Fabregat
27e83392bf
Merge pull request #6536 from coopdevs/enable-new-customer-balance-to-core-team
...
Enable new customer balance for the beta testers
2021-01-08 11:24:23 +01:00
Andy Brett
d78e8acee7
Merge pull request #6619 from luisramos0/remove_oj
...
Remove unused dependency
2021-01-07 12:43:09 -08:00
Andy Brett
3073a9b588
Merge pull request #6618 from luisramos0/byebug
...
Upgrade pry
2021-01-07 12:41:43 -08:00
Andy Brett
0bb92e04b5
Merge pull request #6621 from openfoodfoundation/dependabot/bundler/bugsnag-6.19.0
...
Bump bugsnag from 6.18.0 to 6.19.0
2021-01-07 12:35:51 -08:00
Pau Pérez Fabregat
ca84e3eafb
Merge pull request #6610 from openfoodfoundation/dependabot/bundler/stripe-5.29.0
...
Bump stripe from 5.28.0 to 5.29.0
2021-01-07 16:58:02 +01:00
Matt-Yorkley
d27900d5fb
Merge pull request #6525 from openfoodfoundation/transifex
...
Transifex
2021-01-07 16:54:22 +01:00
Pau Pérez Fabregat
7f3c4f2433
Merge pull request #6551 from coopdevs/track-request-queuing
...
Track request queuing in Datadog
2021-01-07 16:34:42 +01:00
dependabot[bot]
0fdf398dd0
Bump bugsnag from 6.18.0 to 6.19.0
...
Bumps [bugsnag](https://github.com/bugsnag/bugsnag-ruby ) from 6.18.0 to 6.19.0.
- [Release notes](https://github.com/bugsnag/bugsnag-ruby/releases )
- [Changelog](https://github.com/bugsnag/bugsnag-ruby/blob/master/CHANGELOG.md )
- [Commits](https://github.com/bugsnag/bugsnag-ruby/compare/v6.18.0...v6.19.0 )
Signed-off-by: dependabot[bot] <support@github.com >
2021-01-07 05:42:58 +00:00
Luis Ramos
ea29c62c5e
Remove unused dependency
2021-01-06 22:50:55 +00:00
Luis Ramos
18b84fc850
Upgrade pry
2021-01-06 22:41:20 +00:00
Matt-Yorkley
a8d07a7e80
Merge pull request #6602 from openfoodfoundation/dependabot/bundler/awesome_nested_set-3.3.1
...
Bump awesome_nested_set from 3.2.1 to 3.3.1
2021-01-06 21:43:12 +01:00
Matt-Yorkley
0fbf3d6cd9
Merge pull request #6555 from filipefurtad0/tax_rates_spec
...
Extends spec coverage of Tax Rates settings - CRUD operations
2021-01-06 19:16:14 +01:00
Matt-Yorkley
019f4dfa24
Merge pull request #6605 from PauloVilarinho/refactor-pagination-data
...
Refactor pagination data
2021-01-06 19:06:23 +01:00
Matt-Yorkley
7beba3debf
Merge pull request #6609 from openfoodfoundation/dependabot/bundler/rubocop-rails-2.9.1
...
Bump rubocop-rails from 2.5.2 to 2.9.1
2021-01-06 17:46:50 +01:00
filipefurtad0
3c123bb947
Simplified the delete test-case
...
Using :xpath may compromise the stability of the test, and make it break upon slight changes to the page.
2021-01-06 16:23:46 +00:00
filipefurtad0
fc062a04a4
Updated the assertion/error to consider PR #6545
2021-01-06 16:23:46 +00:00
filipefurtad0
7f658d4c46
Removed the "_id" ending from objects
...
Renamed objects ":zone_id" and ":tax_category_id" into ":zone" and ":tax_category," as these are full objects and not just ids.
2021-01-06 16:23:46 +00:00
filipefurtad0
8a453abd26
Adding "frozen_string_literal" back to the file
...
Mistakenly removed the line "# frozen_string_literal: true". This commit adds it back in.
2021-01-06 16:23:46 +00:00
filipefurtad0
3edf5fd6d9
Extends spec coverage of Tax Rates settings - CRUD operations
2021-01-06 16:23:46 +00:00
Andy Brett
381d5a5e37
Merge pull request #6599 from openfoodfoundation/dependabot/bundler/capybara-3.32.2
...
Bump capybara from 3.15.1 to 3.32.2
2021-01-06 07:40:39 -08:00
dependabot[bot]
491dc387d7
Bump stripe from 5.28.0 to 5.29.0
...
Bumps [stripe](https://github.com/stripe/stripe-ruby ) from 5.28.0 to 5.29.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.28.0...v5.29.0 )
Signed-off-by: dependabot[bot] <support@github.com >
2021-01-06 05:31:08 +00:00
dependabot[bot]
02c63519c7
Bump rubocop-rails from 2.5.2 to 2.9.1
...
Bumps [rubocop-rails](https://github.com/rubocop-hq/rubocop-rails ) from 2.5.2 to 2.9.1.
- [Release notes](https://github.com/rubocop-hq/rubocop-rails/releases )
- [Changelog](https://github.com/rubocop-hq/rubocop-rails/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rubocop-hq/rubocop-rails/compare/v2.5.2...v2.9.1 )
Signed-off-by: dependabot[bot] <support@github.com >
2021-01-06 05:28:02 +00:00
Andy Brett
e58cd8a043
overwrite existing field value
2021-01-05 16:01:04 -08:00
Andy Brett
67bf6bb5fc
Merge pull request #6604 from openfoodfoundation/dependabot/bundler/webdrivers-4.4.2
...
Bump webdrivers from 4.2.0 to 4.4.2
2021-01-05 14:55:03 -08:00
Matt-Yorkley
540aa913a3
Tidy up Api::OrderController#index
2021-01-05 21:08:02 +00:00
Matt-Yorkley
fe0a0395d8
Remove DEFAULT_PAGE constants
2021-01-05 19:07:46 +00:00
Matt-Yorkley
4bb2653306
Tidy up pagination in Api::ProductsController#overridable and Angular PagedFetcher service
...
Refactors away some unnecessary mess and unblocks the last remaining issue in upgrading the Kaminari gem (deprecated calls to #num_pages method)
2021-01-05 18:57:08 +00:00
Matt-Yorkley
47f9a3f08a
Add guard clause and remove conditionals
...
Sometimes the objects are not paginated. In this case we need to avoid trying to render pagination data, as it will throw an error. This guard clause also means we can remove messy conditionals from several controllers.
2021-01-05 18:51:24 +00:00
Paulo Vilarinho
f53089c16c
fix products controller spec erros
2021-01-05 15:11:26 -03:00
dependabot[bot]
811480c8e0
Bump awesome_nested_set from 3.2.1 to 3.3.1
...
Bumps [awesome_nested_set](https://github.com/collectiveidea/awesome_nested_set ) from 3.2.1 to 3.3.1.
- [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.2.1...v3.3.1 )
Signed-off-by: dependabot[bot] <support@github.com >
2021-01-05 16:56:21 +00:00
Pau Pérez Fabregat
dae065324d
Merge pull request #6600 from openfoodfoundation/dependabot/bundler/shoulda-matchers-4.4.1
...
Bump shoulda-matchers from 4.0.1 to 4.4.1
2021-01-05 17:54:47 +01:00
Pau Pérez Fabregat
a14750933c
Merge pull request #6592 from openfoodfoundation/dependabot/bundler/rubocop-1.7.0
...
Bump rubocop from 0.81.0 to 1.7.0
2021-01-05 17:54:22 +01:00
Pau Pérez Fabregat
20fd85786c
Merge pull request #6603 from openfoodfoundation/dependabot/bundler/rack-mini-profiler-2.3.0
...
Bump rack-mini-profiler from 2.0.2 to 2.3.0
2021-01-05 16:48:56 +01:00
Paulo Vilarinho
c99b250a5f
refactor pagination data removing default_per_page parameter
2021-01-05 12:18:47 -03:00
Paulo Vilarinho
4d217c9e9d
refactor render paginated products
2021-01-05 12:04:59 -03:00
Paulo Vilarinho
9a62ba8ed5
remove hound errors
2021-01-05 11:59:49 -03:00
Paulo Vilarinho
81c3c1cf32
remove default page
2021-01-05 11:57:54 -03:00
Paulo Vilarinho
330d42ea98
change inclue position to start of class
2021-01-05 11:48:02 -03:00
dependabot[bot]
381880d281
Bump webdrivers from 4.2.0 to 4.4.2
...
Bumps [webdrivers](https://github.com/titusfortner/webdrivers ) from 4.2.0 to 4.4.2.
- [Release notes](https://github.com/titusfortner/webdrivers/releases )
- [Changelog](https://github.com/titusfortner/webdrivers/blob/master/CHANGELOG.md )
- [Commits](https://github.com/titusfortner/webdrivers/compare/v4.2.0...v4.4.2 )
Signed-off-by: dependabot[bot] <support@github.com >
2021-01-05 12:07:15 +00:00
dependabot[bot]
87c9ec32e6
Bump shoulda-matchers from 4.0.1 to 4.4.1
...
Bumps [shoulda-matchers](https://github.com/thoughtbot/shoulda-matchers ) from 4.0.1 to 4.4.1.
- [Release notes](https://github.com/thoughtbot/shoulda-matchers/releases )
- [Changelog](https://github.com/thoughtbot/shoulda-matchers/blob/master/CHANGELOG.md )
- [Commits](https://github.com/thoughtbot/shoulda-matchers/compare/v4.0.1...v4.4.1 )
Signed-off-by: dependabot[bot] <support@github.com >
2021-01-05 12:04:57 +00:00
dependabot[bot]
ba867e53d0
Bump rack-mini-profiler from 2.0.2 to 2.3.0
...
Bumps [rack-mini-profiler](https://github.com/MiniProfiler/rack-mini-profiler ) from 2.0.2 to 2.3.0.
- [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.0.2...v2.3.0 )
Signed-off-by: dependabot[bot] <support@github.com >
2021-01-05 12:01:20 +00:00
Paulo Vilarinho
efd4b97f5c
fix depracation warnings from kaminary
2021-01-05 00:33:29 -03:00
Paulo Vilarinho
ccac16c5b2
fix orders controllers specs errors
2021-01-05 00:07:38 -03:00
Paulo Vilarinho
ab586f58b1
apply pagination data concern to bulk line items controller
2021-01-04 20:22:58 -03:00
Paulo Vilarinho
3f324537a5
apply pagination data concern to exchange products controller
2021-01-04 20:22:43 -03:00
Paulo Vilarinho
1c5f6e7222
apply pagination data concern to orders controller
2021-01-04 20:22:14 -03:00
Paulo Vilarinho
9bb7096be1
apply pagination data concern to products_controller
2021-01-04 20:21:39 -03:00
Paulo Vilarinho
0f00107de1
add pagination data concern
2021-01-04 20:21:24 -03:00
Andy Brett
2085e183d4
Merge pull request #6601 from openfoodfoundation/dependabot/bundler/spring-2.1.1
...
Bump spring from 2.0.2 to 2.1.1
2021-01-04 12:37:59 -08:00