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
v4.2.14
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
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
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