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
dependabot[bot]
5460fc9152
Bump rubocop from 0.81.0 to 1.7.0
...
Bumps [rubocop](https://github.com/rubocop-hq/rubocop ) from 0.81.0 to 1.7.0.
- [Release notes](https://github.com/rubocop-hq/rubocop/releases )
- [Changelog](https://github.com/rubocop-hq/rubocop/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rubocop-hq/rubocop/compare/v0.81.0...v1.7.0 )
Signed-off-by: dependabot[bot] <support@github.com >
2021-01-04 20:14:06 +00:00
dependabot[bot]
7ee8385902
Bump capybara from 3.15.1 to 3.32.2
...
Bumps [capybara](https://github.com/teamcapybara/capybara ) from 3.15.1 to 3.32.2.
- [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.15.1...3.32.2 )
Signed-off-by: dependabot[bot] <support@github.com >
2021-01-04 20:14:05 +00:00
Andy Brett
a749bb602a
Merge pull request #6589 from openfoodfoundation/dependabot/bundler/ffaker-2.16.0
...
Bump ffaker from 2.11.0 to 2.16.0
2021-01-04 12:13:06 -08:00
Andy Brett
749c7f4193
Merge pull request #6585 from openfoodfoundation/dependabot/bundler/fuubar-2.5.1
...
Bump fuubar from 2.5.0 to 2.5.1
2021-01-04 12:11:52 -08:00
dependabot[bot]
343d8d2686
Bump spring from 2.0.2 to 2.1.1
...
Bumps [spring](https://github.com/rails/spring ) from 2.0.2 to 2.1.1.
- [Release notes](https://github.com/rails/spring/releases )
- [Changelog](https://github.com/rails/spring/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rails/spring/compare/v2.0.2...v2.1.1 )
Signed-off-by: dependabot[bot] <support@github.com >
2021-01-04 18:58:40 +00:00
Andy Brett
59c981e14d
Merge pull request #6591 from openfoodfoundation/dependabot/bundler/test-prof-0.11.3
...
Bump test-prof from 0.7.5 to 0.11.3
2021-01-04 10:55:47 -08:00
dependabot[bot]
b8f7ef27a6
Bump fuubar from 2.5.0 to 2.5.1
...
Bumps [fuubar](https://github.com/thekompanee/fuubar ) from 2.5.0 to 2.5.1.
- [Release notes](https://github.com/thekompanee/fuubar/releases )
- [Changelog](https://github.com/thekompanee/fuubar/blob/master/CHANGELOG.md )
- [Commits](https://github.com/thekompanee/fuubar/compare/releases/v2.5.0...releases/2.5.1 )
Signed-off-by: dependabot[bot] <support@github.com >
2021-01-04 18:34:00 +00:00
dependabot[bot]
22d2b078e8
Bump ffaker from 2.11.0 to 2.16.0
...
Bumps [ffaker](https://github.com/ffaker/ffaker ) from 2.11.0 to 2.16.0.
- [Release notes](https://github.com/ffaker/ffaker/releases )
- [Changelog](https://github.com/ffaker/ffaker/blob/master/Changelog.md )
- [Commits](https://github.com/ffaker/ffaker/commits/v2.16.0 )
Signed-off-by: dependabot[bot] <support@github.com >
2021-01-04 17:53:45 +00:00
Pau Pérez Fabregat
bfbad0ae81
Merge pull request #6560 from openfoodfoundation/dependabot/bundler/unicorn-5.8.0
...
Bump unicorn from 5.7.0 to 5.8.0
2021-01-04 18:07:54 +01:00
dependabot[bot]
b49a773bca
Bump test-prof from 0.7.5 to 0.11.3
...
Bumps [test-prof](https://github.com/test-prof/test-prof ) from 0.7.5 to 0.11.3.
- [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/v0.7.5...v0.11.3 )
Signed-off-by: dependabot[bot] <support@github.com >
2021-01-04 17:07:30 +00:00
Pau Pérez Fabregat
ca7548e8f4
Merge pull request #6573 from openfoodfoundation/dependabot/bundler/test-unit-3.3.9
...
Bump test-unit from 3.3.7 to 3.3.9
2021-01-04 18:06:07 +01:00
Pau Pérez Fabregat
258b25b453
Merge pull request #6596 from openfoodfoundation/dependabot/bundler/simplecov-0.18.5
...
Bump simplecov from 0.17.1 to 0.18.5
2021-01-04 18:05:03 +01:00
Pau Pérez Fabregat
1d28e7add3
Merge pull request #6588 from openfoodfoundation/dependabot/bundler/pry-byebug-3.8.0
...
Bump pry-byebug from 3.7.0 to 3.8.0
2021-01-04 18:02:17 +01:00
dependabot[bot]
b84820ad93
Bump simplecov from 0.17.1 to 0.18.5
...
Bumps [simplecov](https://github.com/simplecov-ruby/simplecov ) from 0.17.1 to 0.18.5.
- [Release notes](https://github.com/simplecov-ruby/simplecov/releases )
- [Changelog](https://github.com/simplecov-ruby/simplecov/blob/main/CHANGELOG.md )
- [Commits](https://github.com/simplecov-ruby/simplecov/compare/v0.17.1...v0.18.5 )
Signed-off-by: dependabot[bot] <support@github.com >
2021-01-03 10:38:35 +00:00
Andy Brett
8452f174a1
Merge pull request #6575 from PauloVilarinho/remove-choose-currency-from-admin-general-settings
...
remove choose currency from admin general settings
2021-01-02 21:25:47 -08:00
dependabot[bot]
cf485266fe
Bump pry-byebug from 3.7.0 to 3.8.0
...
Bumps [pry-byebug](https://github.com/deivid-rodriguez/pry-byebug ) from 3.7.0 to 3.8.0.
- [Release notes](https://github.com/deivid-rodriguez/pry-byebug/releases )
- [Changelog](https://github.com/deivid-rodriguez/pry-byebug/blob/master/CHANGELOG.md )
- [Commits](https://github.com/deivid-rodriguez/pry-byebug/compare/v3.7.0...v3.8.0 )
Signed-off-by: dependabot[bot] <support@github.com >
2021-01-02 23:12:57 +00:00
Andy Brett
180a49b501
Merge pull request #6590 from openfoodfoundation/dependabot/bundler/byebug-11.1.3
...
Bump byebug from 11.0.1 to 11.1.3
2021-01-02 15:11:38 -08:00
Andy Brett
115d3d0bfe
Merge pull request #6587 from andrewpbrett/comment-out-oc-spec
...
Comment out flaky spec for complex order cycle updating
2021-01-02 15:03:20 -08:00
Paulo Vilarinho
4839b7bd63
remove choose currency from admin general settings
2021-01-02 15:00:15 -08:00
Andy Brett
3d8c7cc9f0
Merge pull request #6522 from arku/feat/stripe-credit-card-removal
...
Extract Stripe credit card deletion logic to a service object
2021-01-02 14:56:00 -08:00
Andy Brett
1e9b2b34f7
Merge pull request #6545 from PauloVilarinho/add-internationalization-to-included_price_validation
...
adds translation key to the included in price validation
2021-01-02 14:55:16 -08:00
Andy Brett
042b4faf1e
comment out flaky spec
2021-01-02 14:53:55 -08:00
Andy Brett
97f1c586e1
Merge pull request #6595 from arku/chore/jsonp-format-handler-removal
...
Remove jsonp request handling logic
2021-01-02 14:51:30 -08:00