Jean-Baptiste Bellet
92dcf926b5
Update all locales with the latest Transifex translations
2022-12-01 17:44:16 +01:00
jibees
1fcc98af80
Merge pull request #10026 from abdellani/make_default_time_at_00_00_instead_of_12_00
...
Make default time at 00 00 instead of 12 00
2022-12-01 17:43:08 +01:00
dependabot[bot]
67dbf552b1
Merge pull request #10078 from openfoodfoundation/dependabot/bundler/aws-sdk-s3-1.117.2
2022-12-01 09:54:36 +00:00
dependabot[bot]
899879b88d
Merge pull request #10077 from openfoodfoundation/dependabot/bundler/wkhtmltopdf-binary-0.12.6.6
2022-12-01 09:53:08 +00:00
dependabot[bot]
9a57935709
Bump aws-sdk-s3 from 1.117.1 to 1.117.2
...
Bumps [aws-sdk-s3](https://github.com/aws/aws-sdk-ruby ) from 1.117.1 to 1.117.2.
- [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-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-12-01 09:04:02 +00:00
dependabot[bot]
5de928f452
Bump wkhtmltopdf-binary from 0.12.6.5 to 0.12.6.6
...
Bumps [wkhtmltopdf-binary](https://github.com/zakird/wkhtmltopdf_binary_gem ) from 0.12.6.5 to 0.12.6.6.
- [Release notes](https://github.com/zakird/wkhtmltopdf_binary_gem/releases )
- [Changelog](https://github.com/zakird/wkhtmltopdf_binary_gem/blob/master/CHANGELOG.md )
- [Commits](https://github.com/zakird/wkhtmltopdf_binary_gem/commits )
---
updated-dependencies:
- dependency-name: wkhtmltopdf-binary
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-12-01 09:03:12 +00:00
Rachel Arnould
524d68496a
Merge pull request #10054 from jibees/10034-change-orders-page-colors
...
[WIP 🚧 ] Admin/Orders, behind feature toggle `admin_style_v2`: adjust colors
2022-11-30 10:58:14 +01:00
dependabot[bot]
b117608229
Merge pull request #10072 from openfoodfoundation/dependabot/npm_and_yarn/stimulus-3.2.1
2022-11-30 09:20:16 +00:00
dependabot[bot]
1ccd580c7b
Merge pull request #10073 from openfoodfoundation/dependabot/bundler/timecop-0.9.6
2022-11-30 09:18:51 +00:00
dependabot[bot]
bff38b2c5b
Bump timecop from 0.9.5 to 0.9.6
...
Bumps [timecop](https://github.com/travisjeffery/timecop ) from 0.9.5 to 0.9.6.
- [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.5...v0.9.6 )
---
updated-dependencies:
- dependency-name: timecop
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-11-30 09:03:43 +00:00
dependabot[bot]
eb911d9fe3
Bump stimulus from 3.2.0 to 3.2.1
...
Bumps [stimulus](https://github.com/stimulusjs/stimulus ) from 3.2.0 to 3.2.1.
- [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.2.0...v3.2.1 )
---
updated-dependencies:
- dependency-name: stimulus
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-11-30 09:01:01 +00:00
Sigmund Petersen
9fa46d378f
Merge pull request #10070 from filipefurtad0/fix_authentication_spec_#9913
...
Adds expectation to assure login was sucessful
2022-11-30 09:48:01 +01:00
filipefurtad0
3c4845813d
Adds expectation to assure login was sucessful
2022-11-29 16:45:01 +01:00
dependabot[bot]
7166fa6a25
Merge pull request #10068 from openfoodfoundation/dependabot/npm_and_yarn/stimulus-3.2.0
2022-11-29 14:28:33 +00:00
dependabot[bot]
9d36d1942e
Merge pull request #10067 from openfoodfoundation/dependabot/bundler/view_component-2.78.0
2022-11-29 11:27:23 +00:00
Mohamed ABDELLANI
9dc3f2d69e
add new parameter defaultDate to flatpickr to decide the default value when selector is opened
2022-11-29 11:12:33 +01:00
Filipe
7b07817bbf
Merge pull request #10065 from openfoodfoundation/revert-9927-lazy-load-product-images
...
Revert "Load product images in the shop lazily to improve performance"
2022-11-29 10:27:54 +01:00
dependabot[bot]
a36627927d
Merge pull request #10066 from openfoodfoundation/dependabot/bundler/bullet-7.0.4
2022-11-29 09:11:21 +00:00
dependabot[bot]
cc80949d56
Bump stimulus from 3.1.1 to 3.2.0
...
Bumps [stimulus](https://github.com/stimulusjs/stimulus ) from 3.1.1 to 3.2.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.1.1...v3.2.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-11-29 09:01:55 +00:00
dependabot[bot]
5c8bbb3a38
Bump view_component from 2.77.0 to 2.78.0
...
Bumps [view_component](https://github.com/viewcomponent/view_component ) from 2.77.0 to 2.78.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.77.0...v2.78.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-11-29 09:01:38 +00:00
dependabot[bot]
e8669f0178
Bump bullet from 7.0.3 to 7.0.4
...
Bumps [bullet](https://github.com/flyerhzm/bullet ) from 7.0.3 to 7.0.4.
- [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.3...7.0.4 )
---
updated-dependencies:
- dependency-name: bullet
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-11-29 09:01:23 +00:00
jibees
ef31e1d063
Revert "Load product images in the shop lazily to improve performance"
2022-11-29 09:55:39 +01:00
Jean-Baptiste Bellet
4ef5609b0e
This needs to be !important actually ;(
2022-11-28 14:36:51 +01:00
Jean-Baptiste Bellet
4e70a86fa9
Customize color for flatpickr
2022-11-28 14:36:51 +01:00
Jean-Baptiste Bellet
44f52c21db
This is not only available when open or active but also when closed
2022-11-28 14:36:51 +01:00
Jean-Baptiste Bellet
e8b8a8961e
Update links on the top to be blue as well
2022-11-28 14:36:51 +01:00
Jean-Baptiste Bellet
9a849bb2ee
Default rule: a element are blue and darker blue by default
2022-11-28 14:36:51 +01:00
Jean-Baptiste Bellet
9c8525b797
Change default body text color
2022-11-28 14:36:51 +01:00
Jean-Baptiste Bellet
a9edc0cb9c
Use the default blue for the link and a darker one when hovering
2022-11-28 14:36:51 +01:00
Jean-Baptiste Bellet
7556eee5d4
Do not display: flex; a td but its child
...
Actually, having `td.actions` with `display: flex;` cancel the `table-cell` height computation and it's then impossible to solve.
The solution here is to have a child (`div.flex`) that is `display: flex` and then the parent `td` can compute its height (as the same than its current row).
2022-11-28 14:36:51 +01:00
Filipe
44760ce8b6
Merge pull request #10014 from openfoodfoundation/dependabot/bundler/stripe-8.0.0
...
Bump stripe from 7.1.0 to 8.0.0
2022-11-28 12:03:33 +01:00
Jean-Baptiste Bellet
25ab334d73
Add box shadow on icon
2022-11-28 11:09:09 +01:00
dependabot[bot]
85dc32ffcb
Merge pull request #10061 from openfoodfoundation/dependabot/bundler/bootsnap-1.15.0
2022-11-28 09:30:09 +00:00
dependabot[bot]
763d922510
Bump bootsnap from 1.14.0 to 1.15.0
...
Bumps [bootsnap](https://github.com/Shopify/bootsnap ) from 1.14.0 to 1.15.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.14.0...v1.15.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-11-28 09:02:58 +00:00
jibees
a8bb05c575
Merge pull request #10058 from filipefurtad0/reduce_number_of_nodes
...
Removes the number of nodes for system specs
2022-11-28 08:38:36 +01:00
Konrad
0ce1ccf2d6
Merge pull request #10040 from abdellani/add_variant_sku_to_ocst_report
...
add variant sku to the OCST report
2022-11-27 21:28:07 +01:00
Konrad
e288c7a551
Merge pull request #9956 from jibees/9626-resize-and-crop-logo-instead-of-just-resizing-should-fit-into-a-square
...
Enterprise logo: Resize and crop logo instead of just resizing --> logo should fit into a square
2022-11-27 20:28:55 +01:00
Konrad
dc030182db
Merge pull request #10023 from abdellani/add-hub-filter-to-orders-and-distributors
...
Add filter by distributor in "Orders And Distributors" report
2022-11-27 19:52:19 +01:00
Konrad
ddd0b939fe
Merge pull request #9968 from openfoodfoundation/9964-xero-reports-bugnsag-error-missing-target-element-checkbox-for-csv-select-controller
...
Xero report: Avoid js error due to missing element, check it exists before setting any properties
2022-11-27 19:20:16 +01:00
filipefurtad0
a4b6c05d58
Removes the number of nodes for system specs
2022-11-27 16:49:23 +01:00
Jean-Baptiste Bellet
b3d0c0f2d5
Adjust bg color for items for multi selector
2022-11-25 16:56:15 +01:00
Jean-Baptiste Bellet
3afd8b7189
Adjust color, size and padding for one item selector
...
Unfortunately `!important` is necessary... 😭 😭 😭
2022-11-25 16:53:31 +01:00
Jean-Baptiste Bellet
7d51bd7b83
Add secondary button
2022-11-25 16:47:48 +01:00
Jean-Baptiste Bellet
974842300c
Prepare buttons to have a border
...
(and a background with the same color than the border)
2022-11-25 16:47:31 +01:00
Jean-Baptiste Bellet
9474b574ad
Do not apply button to td.actions icons
2022-11-25 16:45:21 +01:00
jibees
3a490a1f26
Merge pull request #10056 from filipefurtad0/remove_performance_spec
...
Removes performance spec and folder
2022-11-25 16:09:23 +01:00
filipefurtad0
fce3c46e55
Removes performance spec and folder
2022-11-25 15:40:36 +01:00
dependabot[bot]
a95bef141f
Merge pull request #10051 from openfoodfoundation/dependabot/npm_and_yarn/floating-ui/dom-1.0.7
2022-11-25 09:10:29 +00:00
David Cook
f25fb19fe8
Merge pull request #10053 from filipefurtad0/knapsackpro_api_key_engines
...
[knapsack] Updates subfolder syntax and adds separate API key for engine tests
2022-11-25 12:37:28 +11:00
David Cook
25ed405da7
Merge pull request #10052 from openfoodfoundation/dependabot/bundler/knapsack_pro-3.4.2
...
Bump knapsack_pro from 3.4.1 to 3.4.2
2022-11-25 11:14:18 +11:00
David Cook
00176b2b95
Merge pull request #10047 from filipefurtad0/fix_rspec_mocks_deprecation
...
Replaces stub with allow
2022-11-25 11:12:11 +11:00
David Cook
8f25718e62
Merge pull request #9973 from jibees/9972-remove-question-mark-from-capybara-saved-screenshots-in-order-to-save-it-through-ghactions
...
Sanitize `image_name` by removing all questions marks when saving any capybara screenshots
2022-11-25 09:51:56 +11:00
Jean-Baptiste Bellet
98b9395c31
Adjust table to reflect the new design
...
colors, size, border, padding/margin, ...
2022-11-24 16:46:22 +01:00
Jean-Baptiste Bellet
540c673924
Basically change colors for progress stuff
2022-11-24 16:45:45 +01:00
Jean-Baptiste Bellet
4149c14e8d
Basically change colors for button components
2022-11-24 16:45:31 +01:00
Jean-Baptiste Bellet
af43fe9a5b
Basically change colors for form inputs, fieldset
2022-11-24 16:45:03 +01:00
Jean-Baptiste Bellet
2a3c4d6649
Basically change colors for powertip component
2022-11-24 16:44:28 +01:00
Jean-Baptiste Bellet
c954187322
Basically change colors for select2 components
2022-11-24 16:44:09 +01:00
Jean-Baptiste Bellet
dbb7155114
Globally change body color
2022-11-24 16:43:33 +01:00
Jean-Baptiste Bellet
27b396cbc2
Add some colors and useful shadow
...
Will be used in the next coming commits
2022-11-24 16:43:02 +01:00
Jean-Baptiste Bellet
1abc406156
Do not ignore scss files in v2 folder
...
Starts with good habits.
2022-11-24 15:20:46 +01:00
Jean-Baptiste Bellet
5cab0f7f3d
Use a darker orange color for selected menu
2022-11-24 15:20:46 +01:00
Rachel Arnould
56ce4ab04f
Merge pull request #10025 from jibees/9998-new-admin-style
...
Admin, behind feature toggle `admin_style_v2`: new navigation menu
2022-11-24 14:59:04 +01:00
filipefurtad0
d351bf9a9a
Adds Dir.glob syntax to include subdirectories
2022-11-24 12:56:17 +01:00
filipefurtad0
b447e4052c
Removes empty spaces to comply to Dir.glob syntax
2022-11-24 12:07:16 +01:00
filipefurtad0
29196375f5
Adds separate API key for engine tests
2022-11-24 11:47:59 +01:00
Sigmund Petersen
23570be6a1
Merge pull request #10043 from filipefurtad0/flaky_complex_creating_specific
...
Adds retry: 3 to flaky example
2022-11-24 11:31:09 +01:00
dependabot[bot]
6652b7fe5c
Bump knapsack_pro from 3.4.1 to 3.4.2
...
Bumps [knapsack_pro](https://github.com/KnapsackPro/knapsack_pro-ruby ) from 3.4.1 to 3.4.2.
- [Release notes](https://github.com/KnapsackPro/knapsack_pro-ruby/releases )
- [Changelog](https://github.com/KnapsackPro/knapsack_pro-ruby/blob/master/CHANGELOG.md )
- [Commits](https://github.com/KnapsackPro/knapsack_pro-ruby/compare/v3.4.1...v3.4.2 )
---
updated-dependencies:
- dependency-name: knapsack_pro
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-11-24 09:06:09 +00:00
dependabot[bot]
6cb17905cd
Bump @floating-ui/dom from 1.0.6 to 1.0.7
...
Bumps [@floating-ui/dom](https://github.com/floating-ui/floating-ui/tree/HEAD/packages/dom ) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/floating-ui/floating-ui/releases )
- [Commits](https://github.com/floating-ui/floating-ui/commits/@floating-ui/dom@1.0.7/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-11-24 09:01:15 +00:00
dependabot[bot]
6aa449aacb
Merge pull request #10050 from openfoodfoundation/dependabot/npm_and_yarn/minimatch-3.1.2
2022-11-24 08:34:11 +00:00
Jean-Baptiste Bellet
c2f82202a6
sanitize image_name by removing all questions marks
...
Co-Authored-By: David Cook <david@redcliffs.net >
2022-11-24 07:49:14 +01:00
David Cook
6c219b31a3
Update all locales with the latest Transifex translations
2022-11-24 16:14:16 +11:00
dependabot[bot]
b889f31c1a
Bump minimatch from 3.0.4 to 3.1.2
...
Bumps [minimatch](https://github.com/isaacs/minimatch ) from 3.0.4 to 3.1.2.
- [Release notes](https://github.com/isaacs/minimatch/releases )
- [Commits](https://github.com/isaacs/minimatch/compare/v3.0.4...v3.1.2 )
---
updated-dependencies:
- dependency-name: minimatch
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-11-24 05:12:35 +00:00
David Cook
83c7764456
Merge pull request #9895 from filipefurtad0/adds_knapsack_pro
...
Adds knapsack_pro to the stack; updates configs
2022-11-24 16:11:19 +11:00
Konrad
23c3573b8f
Merge pull request #10032 from vviekk/viv/latlong
...
Removing 'required' tag for 'Latitude / Longitude' for Enterprises
2022-11-23 23:45:20 +01:00
Konrad
7c8a3bd7c9
Merge pull request #9955 from jibees/fix-deprecation-warning
...
Fix deprecation warnings around class loading during initialization
2022-11-23 20:16:15 +01:00
filipefurtad0
b66d263bc6
Replaces stub with allow
2022-11-23 15:12:09 +01:00
filipefurtad0
9afa75d91c
Adds retry: 3 to flaky example
2022-11-23 12:57:21 +01:00
Mohamed ABDELLANI
d15708d4e3
test if OCST report includes variant's sku
2022-11-23 09:51:26 +01:00
Mohamed ABDELLANI
dafbefe8e3
add sku to OCST report as hidden by default column
2022-11-23 09:50:34 +01:00
vviekk
9d33402d9e
Merge branch 'master' into viv/latlong
2022-11-22 16:38:19 +05:30
dependabot[bot]
abf8d44935
Merge pull request #10028 from openfoodfoundation/dependabot/bundler/bootsnap-1.14.0
2022-11-22 10:44:08 +00:00
dependabot[bot]
fb15b19e88
Merge pull request #10029 from openfoodfoundation/dependabot/bundler/rubocop-rails-2.17.3
2022-11-22 10:41:41 +00:00
dependabot[bot]
e5c6ff433c
Merge pull request #10037 from openfoodfoundation/dependabot/bundler/view_component-2.77.0
2022-11-22 09:37:48 +00:00
dependabot[bot]
bb35629960
Bump view_component from 2.76.0 to 2.77.0
...
Bumps [view_component](https://github.com/viewcomponent/view_component ) from 2.76.0 to 2.77.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.76.0...v2.77.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-11-22 09:09:25 +00:00
filipefurtad0
c4e75dc557
Removes knapsack non-pro
2022-11-21 15:04:47 +01:00
filipefurtad0
10d1d2066e
Merges separate knapsack_pro build files into one
...
Renames jobs
Includes jest and karma tests in build file
Renames jest karma job
Moves build setup into build.yml file
Changes job names
Re-distributes nodes according to run-time
2022-11-21 15:04:15 +01:00
filipefurtad0
3c53214daa
Enables fixed_queue_split
2022-11-21 10:02:14 +00:00
filipefurtad0
40a9c36c85
Increases nr of nodes for system specs
2022-11-21 10:02:14 +00:00
filipefurtad0
48ecbaaa16
Enables queue mode only for system tests
2022-11-21 10:02:14 +00:00
filipefurtad0
ef7684e079
Disables queue mode
2022-11-21 10:02:14 +00:00
filipefurtad0
04c3b8b9cf
Sets failing performance specs as pending
2022-11-21 10:02:14 +00:00
filipefurtad0
fd3a54a904
Creates key for test_the_rest specs
2022-11-21 10:02:14 +00:00
filipefurtad0
236abe485a
Splits test-the-rest specs
2022-11-21 10:02:14 +00:00
filipefurtad0
8fb11b9151
Increases ci_node_total for system specs
2022-11-21 10:02:14 +00:00
filipefurtad0
b9471d4f01
Sets same API key for models and engines
2022-11-21 10:02:14 +00:00
filipefurtad0
b5da120805
Splits engines
...
Keeps test-the-rest specs running without Knapsack
2022-11-21 10:02:14 +00:00
filipefurtad0
da5976d85d
Splits model specs
2022-11-21 10:02:14 +00:00
filipefurtad0
9e1047288f
Runs all the test-the-rest specs
2022-11-21 10:02:14 +00:00
filipefurtad0
ff9985dd88
Further splits the build
2022-11-21 10:02:14 +00:00
filipefurtad0
e62eca93c1
Simplifies settings
2022-11-21 10:02:14 +00:00
filipefurtad0
8d532ae262
Enables knapsack_pro by default
2022-11-21 10:02:14 +00:00
filipefurtad0
d2f28e2095
Makes API key public
2022-11-21 10:02:14 +00:00
filipefurtad0
dbd5186dfa
Enables slow file pattern to run on system specs
2022-11-21 10:02:14 +00:00
filipefurtad0
61cb7c4402
Removes knapsack_pro config from spec_helper.rb
2022-11-21 10:02:14 +00:00
filipefurtad0
ccfb83d2cd
Splits build into 50 jobs
2022-11-21 10:02:14 +00:00
filipefurtad0
d6aa0168b2
Creates fork disabling on forks
...
Changes run job to use bash file
2022-11-21 10:02:14 +00:00
filipefurtad0
2a8ef5a45e
Updates build.yml to run the build the first time with knapsack_pro
2022-11-21 10:02:14 +00:00
filipefurtad0
c423641102
Adds knapsack_pro to the stack; updates configs
2022-11-21 10:02:14 +00:00
vviekk
22559a755f
Removing 'required' tag for 'Latitude / Longitude' for Enterprises
...
Empty/Null values are valid in db and for existing use-cases
2022-11-21 15:19:28 +05:30
dependabot[bot]
e877f94e07
Bump rubocop-rails from 2.17.2 to 2.17.3
...
Bumps [rubocop-rails](https://github.com/rubocop/rubocop-rails ) from 2.17.2 to 2.17.3.
- [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.17.2...v2.17.3 )
---
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-11-21 09:08:43 +00:00
dependabot[bot]
820fff0528
Bump bootsnap from 1.13.0 to 1.14.0
...
Bumps [bootsnap](https://github.com/Shopify/bootsnap ) from 1.13.0 to 1.14.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.13.0...v1.14.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-11-21 09:04:43 +00:00
Jean-Baptiste Bellet
09bcc772ff
Remove useless line
...
Co-Authored-By: David Cook <david@redcliffs.net >
2022-11-21 09:49:06 +01:00
Jean-Baptiste Bellet
49e376f9b6
New design of the admin navigation menu!
2022-11-21 09:48:35 +01:00
Jean-Baptiste Bellet
85d3f5f9d7
Download OpenSans font also at 700 weight
...
needed in the navigation
2022-11-21 09:48:35 +01:00
Jean-Baptiste Bellet
9dd81604e9
Put navigation menu into span even if no icon next to it
2022-11-21 09:48:35 +01:00
Jean-Baptiste Bellet
61d3f79444
Add admin-v2 scss style file
2022-11-21 09:48:35 +01:00
dependabot[bot]
204295dc91
Merge pull request #10013 from openfoodfoundation/dependabot/bundler/rswag-ui-2.8.0
2022-11-18 13:50:23 +00:00
dependabot[bot]
4ed71f1883
Merge pull request #10015 from openfoodfoundation/dependabot/bundler/rswag-api-2.8.0
2022-11-18 13:49:55 +00:00
jibees
92585b65c5
Merge pull request #10002 from heroinedor/fix/ofn-install-ci-unlock
...
unlock the ofn-install installation process
2022-11-18 11:38:43 +01:00
Pipo Bimbo
099f75befb
pg_stat_statement extension already installed with ofn-install -> https://github.com/openfoodfoundation/ofn-install/blob/master/roles/datadog/tasks/pg_stats.yml#L2
2022-11-18 10:44:02 +01:00
Pipo Bimbo
2eaf79b149
missing dependency for ofn-install process
2022-11-18 10:44:02 +01:00
Jean-Baptiste Bellet
60f0a58508
Add admin-v2 on admin body if admin_style_v2 feature toggled on
2022-11-18 09:46:05 +01:00
Mohamed ABDELLANI
688020a304
test filtering by distributor (orders_and_distributors_report_spec)
2022-11-18 08:55:16 +01:00
Mohamed ABDELLANI
4b1bd362e0
[skip ci] add hub filter to the Order and Distributors report
2022-11-18 07:29:08 +01:00
Jean-Baptiste Bellet
23f9c41fec
Update all locales with the latest Transifex translations
2022-11-17 17:58:42 +01:00
Konrad
8510379178
Merge pull request #9985 from binarygit/add-spinner-when-enterprise-sells-changes
...
[Admin][Enterprise Settings] Show spinner when enterprise sells option changes
2022-11-17 16:59:55 +01:00
dependabot[bot]
4b3465de78
Bump rswag-api from 2.7.0 to 2.8.0
...
Bumps [rswag-api](https://github.com/rswag/rswag ) from 2.7.0 to 2.8.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.7.0...2.8.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-11-17 10:21:18 +00:00
dependabot[bot]
415f12c1bc
Merge pull request #10012 from openfoodfoundation/dependabot/bundler/rswag-specs-2.8.0
2022-11-17 10:07:13 +00:00
dependabot[bot]
e3821df73a
Merge pull request #10011 from openfoodfoundation/dependabot/bundler/view_component-2.76.0
2022-11-17 10:06:48 +00:00
dependabot[bot]
b358468952
Bump stripe from 7.1.0 to 8.0.0
...
Bumps [stripe](https://github.com/stripe/stripe-ruby ) from 7.1.0 to 8.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/v7.1.0...v8.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-11-17 09:03:39 +00:00
dependabot[bot]
c1c0a72184
Bump rswag-ui from 2.7.0 to 2.8.0
...
Bumps [rswag-ui](https://github.com/rswag/rswag ) from 2.7.0 to 2.8.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.7.0...2.8.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-11-17 09:03:22 +00:00
dependabot[bot]
b5a93a9a88
Bump rswag-specs from 2.7.0 to 2.8.0
...
Bumps [rswag-specs](https://github.com/rswag/rswag ) from 2.7.0 to 2.8.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.7.0...2.8.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-11-17 09:02:04 +00:00
dependabot[bot]
23cf18f9c4
Bump view_component from 2.75.0 to 2.76.0
...
Bumps [view_component](https://github.com/viewcomponent/view_component ) from 2.75.0 to 2.76.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.75.0...v2.76.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-11-17 09:01:12 +00:00
Sigmund Petersen
5cef0e1939
Merge pull request #9946 from filipefurtad0/fixes_minor_build_issues
...
Fixes minor issues in the build
2022-11-16 18:22:24 +01:00
Sigmund Petersen
7243e49f92
Merge pull request #9958 from filipefurtad0/fix_flaky_taxonomy
...
Fix flaky taxonomy spec by asserting on page redirect and adding retry: 3
2022-11-16 14:59:29 +01:00
jibees
f58a187c9f
Merge pull request #9986 from openfoodfoundation/dependabot/bundler/cuprite-0.14.3
...
Bump cuprite from 0.13 to 0.14.3
2022-11-16 14:55:41 +01:00
filipefurtad0
d728424859
Asserts on page redirect, after Update click
2022-11-16 12:19:02 +00:00
Sigmund Petersen
52487a270d
Merge pull request #9889 from mkllnk/dfc-products
...
Activate DfcProvider with feature toggle, not prod
2022-11-16 12:26:44 +01:00
dependabot[bot]
d9772cbe01
Bump cuprite from 0.13 to 0.14.3
...
Bumps [cuprite](https://github.com/rubycdp/cuprite ) from 0.13 to 0.14.3.
- [Release notes](https://github.com/rubycdp/cuprite/releases )
- [Commits](https://github.com/rubycdp/cuprite/compare/v0.13...v0.14.3 )
---
updated-dependencies:
- dependency-name: cuprite
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-11-16 10:42:14 +00:00
Sigmund Petersen
1688bf09e3
Merge pull request #9988 from filipefurtad0/bump_cuprite-0.14.3
...
Cuprite bump: Updates helper to click on css element...
2022-11-16 11:41:09 +01:00
dependabot[bot]
53b1b5c062
Merge pull request #9995 from openfoodfoundation/dependabot/bundler/paranoia-2.6.1
2022-11-16 10:23:01 +00:00
filipefurtad0
c3ff1f78ce
Updates GETTING_STARTED.md
2022-11-16 09:56:51 +00:00
filipefurtad0
487e2e4316
Deletes unused specs.rake file
2022-11-16 09:56:51 +00:00
filipefurtad0
05cae1cdf3
Removes obsolete/failing performance specs
2022-11-16 09:56:51 +00:00
filipefurtad0
50e9819a2a
Fixes build.yml to replace rake task syntax
2022-11-16 09:56:51 +00:00
filipefurtad0
bb838e5a5a
Moves flatpickr spec into admin folder
2022-11-16 09:56:51 +00:00
dependabot[bot]
cf5414dbfd
Merge pull request #9987 from openfoodfoundation/dependabot/bundler/rubocop-1.39.0
2022-11-16 09:41:01 +00:00
dependabot[bot]
fd68f91996
Merge pull request #9961 from openfoodfoundation/dependabot/bundler/rails-i18n-7.0.6
2022-11-16 09:40:26 +00:00
dependabot[bot]
927e131e87
Merge pull request #9996 from openfoodfoundation/dependabot/npm_and_yarn/floating-ui/dom-1.0.6
2022-11-16 09:25:20 +00:00
dependabot[bot]
3aa8a8510a
Merge pull request #9994 from openfoodfoundation/dependabot/npm_and_yarn/loader-utils-1.4.2
2022-11-16 09:09:36 +00:00
jibees
089c7b0011
Merge pull request #9940 from filipefurtad0/fix_developer_settings_spec
...
Clears Stripe settings after example run
2022-11-16 10:07:33 +01:00
dependabot[bot]
76d5abcf50
Bump @floating-ui/dom from 1.0.4 to 1.0.6
...
Bumps [@floating-ui/dom](https://github.com/floating-ui/floating-ui/tree/HEAD/packages/dom ) from 1.0.4 to 1.0.6.
- [Release notes](https://github.com/floating-ui/floating-ui/releases )
- [Commits](https://github.com/floating-ui/floating-ui/commits/@floating-ui/dom@1.0.6/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-11-16 09:02:05 +00:00
dependabot[bot]
6b6c5c03d6
Bump paranoia from 2.6.0 to 2.6.1
...
Bumps [paranoia](https://github.com/rubysherpas/paranoia ) from 2.6.0 to 2.6.1.
- [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/v2.6.0...v2.6.1 )
---
updated-dependencies:
- dependency-name: paranoia
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-11-16 09:01:40 +00:00
dependabot[bot]
d9003aeccf
Bump loader-utils from 1.4.1 to 1.4.2
...
Bumps [loader-utils](https://github.com/webpack/loader-utils ) from 1.4.1 to 1.4.2.
- [Release notes](https://github.com/webpack/loader-utils/releases )
- [Changelog](https://github.com/webpack/loader-utils/blob/v1.4.2/CHANGELOG.md )
- [Commits](https://github.com/webpack/loader-utils/compare/v1.4.1...v1.4.2 )
---
updated-dependencies:
- dependency-name: loader-utils
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-11-16 07:51:33 +00:00
filipefurtad0
1a3c4008fd
Applies helpers to relevant specs
2022-11-15 19:03:14 +00:00
filipefurtad0
4b067e2ece
Creates separate helpers for enabling Stripe and keys
2022-11-15 19:03:14 +00:00
Filipe
94db55dd43
Merge pull request #9993 from openfoodfoundation/revert-9926-cache-address
...
Revert "Cache address JSON to avoid database queries"
2022-11-15 10:18:51 +00:00
jibees
6dcc50ad15
Revert "Cache address JSON to avoid database queries"
2022-11-15 10:40:22 +01:00
filipefurtad0
760635da1f
Updates helper to click on css element...
...
...instead of passing empty_keys
2022-11-14 12:23:53 +00:00
dependabot[bot]
11480f20c5
Bump rubocop from 1.38.0 to 1.39.0
...
Bumps [rubocop](https://github.com/rubocop/rubocop ) from 1.38.0 to 1.39.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.38.0...v1.39.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-11-14 09:05:05 +00:00
jibees
911d816233
Merge pull request #9979 from filipefurtad0/fix_flaky_bom_3
...
[Flaky BOM] Bumps retry: 2 -> 3
2022-11-14 09:21:17 +01:00
binarygit
8fc721c651
[Admin, Enterprise Settings] Show spinner when enterprise sells changes
2022-11-13 16:24:35 +05:45
Konrad
c2d5ea4a5a
Merge pull request #9942 from mkllnk/taxonomies-spec
...
Avoid image load error and show errors in spec
2022-11-12 20:30:04 +01:00
Konrad
59d555165f
Merge pull request #9936 from dacook/minor-admin-updates
...
Code cleanup: admin interface
2022-11-12 19:43:44 +01:00
Konrad
2eca3d5ef8
Merge pull request #9914 from openfoodfoundation/dependabot/bundler/spreadsheet_architect-5.0.0
...
Bump spreadsheet_architect from 4.2.0 to 5.0.0
2022-11-11 22:49:17 +01:00
Konrad
5fc17b51d2
Merge pull request #9887 from openfoodfoundation/dependabot/bundler/aws-sdk-s3-1.117.1
...
Bump aws-sdk-s3 from 1.117.0 to 1.117.1
2022-11-11 21:15:58 +01:00
Konrad
c6178f5df9
Merge pull request #9877 from mkllnk/ignored-columns
...
Remove outdated ignoring of Paperclip columns
2022-11-11 21:08:42 +01:00
Sigmund Petersen
bd718406f4
Merge pull request #9980 from openfoodfoundation/filipefurtad0-add-knapsackpro-badge-to-readme
...
Adds KnapsackPro badge to enable unlimited plan use
2022-11-11 13:20:58 +01:00
Filipe
ca4d92bf99
Adds KnapsackPro badge to enable KnapsackPro use
...
As requested per email: "Please add the Knapsack Pro badge to your open source project readme"
2022-11-11 11:46:24 +00:00
filipefurtad0
2f7cb4d3ca
Bumps retry: 2 -> 3
2022-11-11 10:51:11 +00:00
David Cook
1e24988bd1
Remove label from bug report template
...
I accidentally added it last week.
2022-11-11 09:31:08 +11:00
Konrad
c44195c8a0
Merge pull request #9911 from viniciusueharaweb/9781-improve-shipping-category-not-found-error-message
...
[Product Import] Wrong error message when shipping category does not match predefined shipping categories
2022-11-10 22:48:25 +01:00
Konrad
5b44dc9609
Corrected missspelling of 'mispelling' in en.yml
2022-11-10 20:53:30 +01:00
Jean-Baptiste Bellet
dff9c6d333
Update all locales with the latest Transifex translations
2022-11-10 20:39:17 +01:00
Filipe
4b3184a6ef
Merge pull request #9923 from mkllnk/cache-country
...
Cache default country for an hour
2022-11-10 19:10:29 +00:00
Filipe
f1dd69a4f7
Merge pull request #9926 from mkllnk/cache-address
...
Cache address JSON to avoid database queries
2022-11-10 18:18:03 +00:00
Filipe
24eda1bfae
Merge pull request #9927 from mkllnk/lazy-load-product-images
...
Load product images in the shop lazily to improve performance
2022-11-10 18:11:56 +00:00
Konrad
ae09f7a415
Merge pull request #9869 from abdellani/fix-unit_value_with_description-calculation-on-products-page_admin_dashboard
...
use js-big-decimal to calculate unit_value_with_description in products page
2022-11-10 18:47:16 +01:00
dependabot[bot]
d8d1b38a4d
Merge pull request #9967 from openfoodfoundation/dependabot/npm_and_yarn/socket.io-parser-4.0.5
2022-11-10 10:09:27 +00:00
Filipe
a7353eb69f
Merge pull request #9575 from apricot12/9487-Dimensions-Packing-Reports
...
Added HEIGHT, WEIGHT, WIDTH, DEPTH columns to packing reports by customer.
2022-11-10 09:55:26 +00:00
jibees
8a702daccd
Merge pull request #9966 from filipefurtad0/fix_flaky_spec_9902_2
...
Increases retry option from 2 to 3
2022-11-10 10:05:05 +01:00
jibees
f4de39ae00
Merge pull request #9965 from filipefurtad0/adds_retry_to_BOM_spec
...
Adds retry option to flaky BOM spec
2022-11-10 10:04:33 +01:00
Jean-Baptiste Bellet
4f265eed2a
Check that target exists before setting properties
...
In case of Xero reports, there are no checkbox
2022-11-10 09:55:36 +01:00
Jean-Baptiste Bellet
bdf132a833
Format file according to our prettier configuration
2022-11-10 09:49:28 +01:00
dependabot[bot]
177e3d5885
Bump socket.io-parser from 4.0.4 to 4.0.5
...
Bumps [socket.io-parser](https://github.com/socketio/socket.io-parser ) from 4.0.4 to 4.0.5.
- [Release notes](https://github.com/socketio/socket.io-parser/releases )
- [Changelog](https://github.com/socketio/socket.io-parser/blob/main/CHANGELOG.md )
- [Commits](https://github.com/socketio/socket.io-parser/compare/4.0.4...4.0.5 )
---
updated-dependencies:
- dependency-name: socket.io-parser
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-11-09 22:15:43 +00:00
Filipe
b7fcc0b4fc
Merge pull request #9924 from jibees/9757-BOM-show-only-one-modal-when-changing-date-range-
...
BOM: Display confirm modal on date range change only one time
2022-11-09 18:42:28 +00:00
filipefurtad0
86d38bbaa5
Increases retry option from 2 to 3
2022-11-09 17:19:13 +00:00
filipefurtad0
36bc17c8b4
Adds retry option to flaky examples
2022-11-09 16:36:36 +00:00
dependabot[bot]
7c7e5aaa59
Bump rails-i18n from 7.0.5 to 7.0.6
...
Bumps [rails-i18n](https://github.com/svenfuchs/rails-i18n ) from 7.0.5 to 7.0.6.
- [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/compare/v7.0.5...v7.0.6 )
---
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-11-09 09:01:46 +00:00
Konrad
b22beea5fc
Merge pull request #9945 from jibees/9944-translate-columns-in-packing-and-xero-reports
...
Packing reports: translate columns name in the columns selector component
2022-11-09 09:55:21 +01:00
Jean-Baptiste Bellet
262b546836
Add some visual spacing
2022-11-08 14:59:23 +01:00
Jean-Baptiste Bellet
4bfd39caec
The info tip indicates image should be 100*100, so display it at 100*100 size
2022-11-08 14:54:47 +01:00
Jean-Baptiste Bellet
58c8eae08c
Enterprise logo: resize and crop at the center of image instead of just resize
...
Should fit in a square format
2022-11-08 14:54:11 +01:00
dependabot[bot]
2c17a2bafe
Merge pull request #9952 from openfoodfoundation/dependabot/npm_and_yarn/babel-loader-8.3.0
2022-11-08 09:35:27 +00:00
dependabot[bot]
c25375f00a
Merge pull request #9951 from openfoodfoundation/dependabot/npm_and_yarn/babel/preset-env-7.20.2
2022-11-08 09:34:45 +00:00
dependabot[bot]
7322362eea
Merge pull request #9949 from openfoodfoundation/dependabot/bundler/capybara-3.38.0
2022-11-08 09:34:21 +00:00
dependabot[bot]
94b14d16bf
Merge pull request #9950 from openfoodfoundation/dependabot/npm_and_yarn/husky-8.0.2
2022-11-08 09:33:39 +00:00
dependabot[bot]
116764166c
Merge pull request #9954 from openfoodfoundation/dependabot/bundler/sidekiq-6.5.8
2022-11-08 09:33:21 +00:00
dependabot[bot]
de807b1ee0
Merge pull request #9948 from openfoodfoundation/dependabot/npm_and_yarn/loader-utils-1.4.1
2022-11-08 09:32:05 +00:00
Mohamed ABDELLANI
70e47f3929
fix: convert @attrs[:units] to big decimal instead of float in the unit converter
2022-11-08 10:26:00 +01:00
Mohamed ABDELLANI
b203803eb9
fix test: change product_unit_value_with_description value to float (2 digits precision)
2022-11-08 10:26:00 +01:00
Mohamed ABDELLANI
44d719fcb5
use js-big-decimal to calculate unit_value_with_description
2022-11-08 10:26:00 +01:00
Jean-Baptiste Bellet
cb1b24695e
Fix deprecation warnings around class loading during initialization
...
```
Fix deprecation warnings around class loading during initialization
Thi2022-11-08T08:54:57.542Z pid=40093 tid=nl9 WARN: DEPRECATION WARNING: Initialization autoloaded the constants ReportsHelper, DateTimeStringValidator et IntegerArrayValidator.
Being able to do this is deprecated. Autoloading during initialization is going
to be an error condition in future versions of Rails.
Reloading does not reboot the application, and therefore code executed during
initialization does not run again. So, if you reload ReportsHelper, for example,
the expected changes won't be reflected in that stale Module object.
These autoloaded constants have been unloaded.
In order to autoload safely at boot time, please wrap your code in a reloader
callback this way:
Rails.application.reloader.to_prepare do
# Autoload classes and modules needed at boot time here.
end
That block runs when the application boots, and every time there is a reload.
For historical reasons, it may run twice, so it has to be idempotent.
Check the "Autoloading and Reloading Constants" guide to learn more about how
Rails autoloads and reloads.
```
2022-11-08 10:07:29 +01:00
dependabot[bot]
2a8731c8da
Bump sidekiq from 6.5.7 to 6.5.8
...
Bumps [sidekiq](https://github.com/mperham/sidekiq ) from 6.5.7 to 6.5.8.
- [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.7...v6.5.8 )
---
updated-dependencies:
- dependency-name: sidekiq
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-11-08 09:04:23 +00:00
dependabot[bot]
ed81ce8ada
Bump babel-loader from 8.2.5 to 8.3.0
...
Bumps [babel-loader](https://github.com/babel/babel-loader ) from 8.2.5 to 8.3.0.
- [Release notes](https://github.com/babel/babel-loader/releases )
- [Changelog](https://github.com/babel/babel-loader/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel-loader/compare/v8.2.5...v8.3.0 )
---
updated-dependencies:
- dependency-name: babel-loader
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-11-08 09:03:02 +00:00
dependabot[bot]
1c0132ca4d
Bump @babel/preset-env from 7.19.4 to 7.20.2
...
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env ) from 7.19.4 to 7.20.2.
- [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.20.2/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-11-08 09:02:37 +00:00
dependabot[bot]
c1cd524157
Bump husky from 8.0.1 to 8.0.2
...
Bumps [husky](https://github.com/typicode/husky ) from 8.0.1 to 8.0.2.
- [Release notes](https://github.com/typicode/husky/releases )
- [Commits](https://github.com/typicode/husky/compare/v8.0.1...v8.0.2 )
---
updated-dependencies:
- dependency-name: husky
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-11-08 09:02:01 +00:00
dependabot[bot]
2198f12922
Bump capybara from 3.37.1 to 3.38.0
...
Bumps [capybara](https://github.com/teamcapybara/capybara ) from 3.37.1 to 3.38.0.
- [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.37.1...3.38.0 )
---
updated-dependencies:
- dependency-name: capybara
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-11-08 09:01:35 +00:00
dependabot[bot]
d86498c81e
Bump loader-utils from 1.4.0 to 1.4.1
...
Bumps [loader-utils](https://github.com/webpack/loader-utils ) from 1.4.0 to 1.4.1.
- [Release notes](https://github.com/webpack/loader-utils/releases )
- [Changelog](https://github.com/webpack/loader-utils/blob/v1.4.1/CHANGELOG.md )
- [Commits](https://github.com/webpack/loader-utils/compare/v1.4.0...v1.4.1 )
---
updated-dependencies:
- dependency-name: loader-utils
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-11-08 08:36:50 +00:00
Jean-Baptiste Bellet
3e9647590d
Packing report don't need untranslated headers for xlxs, csv format
2022-11-07 15:53:39 +01:00
Jean-Baptiste Bellet
f4572cb8cb
nil is the value of :report_format when GETting a report page
...
This method is used in `custom_headers()` method that handle headers customization. Then, it's `@report.available_headers`
2022-11-07 11:44:01 +01:00
Maikel Linke
122fe8253e
Avoid image load error and show errors in spec
...
I stumbled across some spec code which was hiding an unexpected error. So I
fixed it properly. This code is to be replaced soon anyway and this is a tiny
step in that direction.
2022-11-07 16:07:41 +11:00
Maikel
85017893d3
Merge pull request #9939 from jibees/fix-flatpickr-system-spec
...
Fix flatpickr system spec: `spec/system/flatpickr_spec.rb`
2022-11-07 15:37:57 +11:00
Maikel
35a8f6be74
Merge pull request #9935 from dacook/update-transifex
...
Update Transifex config format for latest version
2022-11-07 15:28:08 +11:00
Jean-Baptiste Bellet
9464f49031
Fix flatpickr system spec
...
On `/admin/orders`, we now have a date range picker.
This spec seems to test only the behavior of flatpickr, which is an external dependencies ; we probably shouldn't test it since it's not our responsibilities. Leave the spec as it for now.
2022-11-04 15:29:36 +01:00
Jean-Baptiste Bellet
39e5613db8
When confirm modal is dismissed, reset daterange picker to previous values
...
+ update specs as well
2022-11-04 14:18:29 +01:00
David Cook
20c0449128
Remove unnecessary case
...
Seems cleaner to me.
Best viewed with whitespace ignored.
2022-11-04 14:26:41 +11:00
David Cook
5405d6f525
Ensure all text inputs have full width
...
I think `url` and `tel` are currently unused, but I think we should use them in the future.
2022-11-04 14:26:39 +11:00
David Cook
9ef07cb110
Update GETTING_STARTED.md
...
[doc] Link to info about loading sample data
[skip ci]
2022-11-04 14:20:48 +11:00
David Cook
8d49ad9d18
Update Transifex config for APIv3
...
I installed the latest version of the CLI client (1.4.1), and the old config no longer worked. This config contains:
- o: organisation
- p: project
- r: resource
You may need to upgrade your installation:
tx update
2022-11-04 09:46:11 +11:00
Jean-Baptiste Bellet
228e484f02
Flatpicker instance can now handle flatpickr:change event
...
With:
```
detail: {
startDate: "2022-10-02",
endDate: "2022-10-10"
}
```
2022-11-03 16:57:03 +01:00
Jean-Baptiste Bellet
66a684920a
allSaved() method from LineItems needs to be spy
2022-11-03 15:55:48 +01:00
Jean-Baptiste Bellet
1a241e4953
Only call confirmRefresh() on time, on date range change
...
Previously, when changing the date range, we had several modals that opened.
Now, the `confirmRefresh()` method should be open only one time.
Update specs as well:
- use the method `accept_confirm`
- Removing pending and sleep as the spec is now green
2022-11-03 15:55:48 +01:00
dependabot[bot]
74529cd595
Merge pull request #9930 from openfoodfoundation/dependabot/bundler/view_component-2.75.0
2022-11-03 13:50:27 +00:00
jibees
d69c2f8314
Merge pull request #9931 from filipefurtad0/fix_flaky_spec_9805_4
...
Sets retry: 3 on flaky example
2022-11-03 14:46:39 +01:00
jibees
3f00e523d3
Merge pull request #9932 from filipefurtad0/fix_flaky_bom_2
...
Sets retry: 3 for BOM spec
2022-11-03 14:45:51 +01:00
filipefurtad0
c10f5ce5df
Sets retry: 3 for BOM spec
2022-11-03 13:13:42 +00:00
filipefurtad0
6bf332ef20
Sets retry: 3 on flaky example
2022-11-03 12:48:22 +00:00
dependabot[bot]
ef27e4f241
Bump view_component from 2.74.1 to 2.75.0
...
Bumps [view_component](https://github.com/viewcomponent/view_component ) from 2.74.1 to 2.75.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.74.1...v2.75.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-11-03 09:03:30 +00:00
David Cook
af2c185f9f
Update release issue template
...
Fix link 😳
2022-11-03 17:59:46 +11:00
David Cook
d7558a9aea
Update release issue template
...
Add link to slack channel
2022-11-03 17:55:17 +11:00
David Cook
076244ee1c
Update translations
2022-11-03 17:30:01 +11:00
Maikel
2e2488a25e
Make Github expand the issue title on pull request
2022-11-03 14:11:51 +11:00
Maikel Linke
762beb7c1c
Load product images in the shop lazily
...
The browser decides when to load the image, usually when it's close to
the viewport.
2022-11-03 14:02:01 +11:00
Maikel Linke
118c1f7cbd
Cache address JSON to avoid database queries
...
We found that our database is quite busy querying the country all the
time. One source of these queries is the shop front which serializes
enterprises including their addresses. But addresses should be safe to
cache because:
- country records never change
- state records never change
- updating any other attribute changes the cache key
The caching was previously removed when the state_name attribute was
added. That is technically correct because it's possible to change a
state's name without updating the address. Then the cache would be out
of date. But we never update state names. And if we did, we would need
to invalidate the cache now.
2022-11-03 13:07:59 +11:00
Maikel Linke
8009b37723
Spec the AddressSerializer before changing it
2022-11-03 13:01:02 +11:00
dependabot[bot]
bf950d7c69
Merge pull request #9922 from openfoodfoundation/dependabot/npm_and_yarn/stimulus-3.1.1
2022-11-02 07:42:12 +00:00
Maikel Linke
a2c4242994
Simplify Address code
...
The DefaultCountry code has a fallback already.
2022-11-02 16:21:15 +11:00
Maikel Linke
392aeb7321
Remove unused method loading default country
...
And another unused method.
2022-11-02 16:21:15 +11:00
Maikel Linke
f971131888
Cache default country for an hour
...
The default country usually never changes after the initial setup of an
instance.
2022-11-02 15:33:43 +11:00
Maikel
257959448a
Merge pull request #9921 from openfoodfoundation/dependabot/bundler/rubocop-1.38.0
...
Bump rubocop from 1.37.1 to 1.38.0
2022-11-02 13:00:57 +11:00
Maikel
ba4e7e440d
Merge pull request #9896 from jibees/improve-reliability-of-specs
...
Flaky ; Add a `retry` on spec
2022-11-02 11:25:16 +11:00
Maikel
cb83069101
Merge pull request #9920 from filipefurtad0/webmock_do_not_always_require
...
Disables default loading of webmock and some seldom used gems
2022-11-02 11:10:05 +11:00
Maikel
456355da79
Merge pull request #9893 from jibees/small-improvments-on-script/rspec-slow-repeat-file
...
Small improvements on `script/rspec-slow-repeat` file
2022-11-02 11:01:04 +11:00
dependabot[bot]
2dc3c472c1
Bump stimulus from 3.1.0 to 3.1.1
...
Bumps [stimulus](https://github.com/stimulusjs/stimulus ) from 3.1.0 to 3.1.1.
- [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.1.0...v3.1.1 )
---
updated-dependencies:
- dependency-name: stimulus
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-11-01 09:30:31 +00:00
dependabot[bot]
dfec0c3caf
Bump rubocop from 1.37.1 to 1.38.0
...
Bumps [rubocop](https://github.com/rubocop/rubocop ) from 1.37.1 to 1.38.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.37.1...v1.38.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-11-01 09:30:16 +00:00
filipefurtad0
73596308ab
Disables default loading of some other seldom used gems
2022-10-31 22:10:58 +00:00
filipefurtad0
b736db0d7b
Disables default loading of webmock gem
2022-10-31 22:07:07 +00:00
Jean-Baptiste Bellet
3ff1cd0793
Prefer to killall descendants instead of just killing yes processes
2022-10-31 16:11:32 +01:00
Jean-Baptiste Bellet
b93f6dfdad
Add convenient logging when failing
2022-10-31 16:11:32 +01:00
Jean-Baptiste Bellet
9ba0695652
Trap CTRL+C to exit all yes commands
2022-10-31 16:11:31 +01:00
Jean-Baptiste Bellet
df42a88150
Retry specs as couldn't make it reliable
2022-10-31 15:34:04 +01:00
dependabot[bot]
8b73660d75
Merge pull request #9915 from openfoodfoundation/dependabot/npm_and_yarn/floating-ui/dom-1.0.4
2022-10-31 10:11:54 +00:00
dependabot[bot]
f214c1f14f
Merge pull request #9916 from openfoodfoundation/dependabot/bundler/active_storage_validations-1.0.3
2022-10-31 09:41:02 +00:00
Jean-Baptiste Bellet
0eff4d3906
Add some comment on the purpose
2022-10-31 10:19:36 +01:00
Jean-Baptiste Bellet
84831266f1
Remove useless information
2022-10-31 10:19:14 +01:00
dependabot[bot]
5e1d4892b1
Bump active_storage_validations from 1.0.2 to 1.0.3
...
Bumps [active_storage_validations](https://github.com/igorkasyanchuk/active_storage_validations ) from 1.0.2 to 1.0.3.
- [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/compare/1.0.2...1.0.3 )
---
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-10-31 09:05:49 +00:00
dependabot[bot]
7260bf1041
Bump @floating-ui/dom from 1.0.3 to 1.0.4
...
Bumps [@floating-ui/dom](https://github.com/floating-ui/floating-ui/tree/HEAD/packages/dom ) from 1.0.3 to 1.0.4.
- [Release notes](https://github.com/floating-ui/floating-ui/releases )
- [Commits](https://github.com/floating-ui/floating-ui/commits/@floating-ui/dom@1.0.4/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-10-31 09:04:17 +00:00
dependabot[bot]
ded0604d18
Bump spreadsheet_architect from 4.2.0 to 5.0.0
...
Bumps [spreadsheet_architect](https://github.com/westonganger/spreadsheet_architect ) from 4.2.0 to 5.0.0.
- [Release notes](https://github.com/westonganger/spreadsheet_architect/releases )
- [Changelog](https://github.com/westonganger/spreadsheet_architect/blob/master/CHANGELOG.md )
- [Commits](https://github.com/westonganger/spreadsheet_architect/compare/v4.2.0...v5.0.0 )
---
updated-dependencies:
- dependency-name: spreadsheet_architect
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-10-31 09:03:40 +00:00
Maikel
01a907de9f
Merge pull request #9907 from filipefurtad0/fix_flaky_spec_9805_2
...
Adds retry: 2 option
2022-10-31 11:46:53 +11:00
Maikel
5e0a08d99b
Merge pull request #9906 from filipefurtad0/fix_flaky_spec_9902
...
Wraps success message around within block; adds retry option
2022-10-31 11:45:49 +11:00
Vinicius Uehara
6da442eb97
Fix trailing whitespace
2022-10-30 21:42:48 -03:00
Maikel
7b5debb76b
Merge pull request #9904 from openfoodfoundation/dependabot/npm_and_yarn/js-big-decimal-1.3.12
...
Bump js-big-decimal from 1.3.10 to 1.3.12
2022-10-31 11:41:46 +11:00
Vinicius Uehara
f6cc9fca26
Prioritize attribute errors over product validations
...
With product validations being prioritized, custom and
insightful error messages were being overwriten by
general and ambiguous model validations, which
were confusing users
2022-10-30 20:02:08 -03:00
Vinicius Uehara
1f498e6052
Improve shipping category not found error message
2022-10-30 20:02:05 -03:00
filipefurtad0
32fb898962
Adds retry: 2 option
2022-10-28 18:32:21 +01:00
filipefurtad0
df8fd88682
Wraps success message around within block; adds retry option
2022-10-28 18:03:45 +01:00
Konrad
68b2e48fb3
Merge pull request #9900 from ijdershem/idersh/issue-9845
...
[9845] Make checkout terms and conditions label clickable
2022-10-28 14:28:06 +02:00
Konrad
0202bb40cf
Merge pull request #9827 from saunmanoj888/fix-vairant-unit-decimal-issue
...
Fix unit description UI issue on updating a Product having imperial weight (oz)
2022-10-28 13:52:00 +02:00
Filipe
f7c62dfe45
Merge pull request #9862 from drummer83/master
...
Format reports as list, even if only one sub-type available
2022-10-28 12:13:42 +01:00
Konrad
1c185c2ca4
Merge pull request #9823 from abdellani/fix-product-duplication
...
Fix product duplication
2022-10-28 12:51:01 +02:00
dependabot[bot]
883f01e3e6
Bump js-big-decimal from 1.3.10 to 1.3.12
...
Bumps [js-big-decimal](https://github.com/royNiladri/js-big-decimal ) from 1.3.10 to 1.3.12.
- [Release notes](https://github.com/royNiladri/js-big-decimal/releases )
- [Commits](https://github.com/royNiladri/js-big-decimal/compare/v1.3.10...v1.3.12 )
---
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-28 09:04:17 +00:00
jibees
8ccc88d770
Merge pull request #9897 from filipefurtad0/fix_flaky_spec_9805
...
Wraps expectation on within block
2022-10-28 10:47:04 +02:00
jibees
133512e4f4
Merge pull request #9898 from filipefurtad0/fix_flaky_spec_9894
...
Changes click method making it overlap-safe
2022-10-28 10:45:52 +02:00
dependabot[bot]
86b4570fc2
Merge pull request #9901 from openfoodfoundation/dependabot/bundler/test-prof-1.0.11
2022-10-28 07:45:14 +00:00
dependabot[bot]
3c996fdfb3
Bump test-prof from 1.0.10 to 1.0.11
...
Bumps [test-prof](https://github.com/test-prof/test-prof ) from 1.0.10 to 1.0.11.
- [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.10...v1.0.11 )
---
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-10-28 07:02:29 +00:00
dependabot[bot]
8048dc2c8b
Merge pull request #9891 from openfoodfoundation/dependabot/bundler/rubocop-rails-2.17.2
2022-10-28 07:01:20 +00:00
ijdershem-jf
0f9f4b07a8
[9845] Make checkout terms and conditions label clickable; associate label with input using correct for attribute
2022-10-27 20:30:42 -06:00
filipefurtad0
a6fdefff08
Changes click method making it overlap-safe
2022-10-27 21:25:45 +01:00
filipefurtad0
6a28918654
Wraps expectation on within block
2022-10-27 19:15:08 +01:00
Konrad
d544233bac
Merge pull request #9780 from jibees/9777-select-the-right-country
...
Admin, Enterprise Details: Fix country selection on business address panel
2022-10-27 14:32:52 +02:00
dependabot[bot]
d577d60de6
Bump rubocop-rails from 2.17.1 to 2.17.2
...
Bumps [rubocop-rails](https://github.com/rubocop/rubocop-rails ) from 2.17.1 to 2.17.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.17.1...v2.17.2 )
---
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-10-27 10:26:01 +00:00
Sigmund Petersen
473a35f330
Merge pull request #9892 from filipefurtad0/dependabot_exclude_push_from_build_double
...
Excludes build triggers using /** syntax for branch pushes
2022-10-27 12:24:40 +02:00
filipefurtad0
2fd8ffa413
Excludes build triggers using /** syntax for branch pushes
2022-10-27 11:00:39 +01:00
Jean-Baptiste Bellet
bbf400a83b
/proc/cpuinfo is not available on Darwin arch (ie. mac)
2022-10-27 11:19:55 +02:00
Maikel Linke
56667f6142
Simplify test setup with enabled features
...
If a feature is activated or not depends on the database which is reset
after each test scenario. So enabling a feature doesn't leak into other
scenarios.
Just enabling the feature is less code and more realistic than mocking a
method call.
2022-10-27 15:32:05 +11:00
Maikel Linke
f9246f1917
Remove unused/broken feature toggle helper
2022-10-27 15:25:33 +11:00
Maikel Linke
36c44a5487
Allow FeatureToggleConstraint to run w/o warden
...
Routing specs and controller specs don't set warden on the request
environment. While we could try to re-implement Warden/Devise logic
here, it's much easier to not rely on the environment to be set.
While I'm usually opposed to changing production code to make testing
easier, it does avoid a lot of complication in this case. And maybe it
would be handy in other circumstances to have a more defensive approach
to checking the logged in user.
2022-10-27 15:07:04 +11:00
Maikel Linke
d1cd1fdefe
Update translations
2022-10-27 11:00:42 +11:00
Maikel
df868d88d8
Merge pull request #9883 from filipefurtad0/dependabot_exclude_push_from_build
...
Adds ignore tag for pull_request dependabot branches
2022-10-27 10:45:04 +11:00
Maikel
da61fdbc2c
Merge pull request #9881 from openfoodfoundation/dependabot/bundler/pdf-reader-2.11.0
...
Bump pdf-reader from 2.10.0 to 2.11.0
2022-10-27 10:34:54 +11:00
dependabot[bot]
a07b72c3c9
Bump aws-sdk-s3 from 1.117.0 to 1.117.1
...
Bumps [aws-sdk-s3](https://github.com/aws/aws-sdk-ruby ) from 1.117.0 to 1.117.1.
- [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-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-10-26 22:55:37 +00:00
Maikel
54b0554bb4
Merge pull request #9831 from filipefurtad0/fix_flaky_spec_bom_9811
...
Brings back rspec_retry; Creates helper method for flaky spec #9811
2022-10-27 09:52:43 +11:00
Rachel Arnould
2652bc086a
Merge pull request #9755 from cillian/order-cycle-payment-methods
...
Let people choose which payment methods are available to customers on order cycles
2022-10-26 20:10:34 +02:00
filipefurtad0
f72e040a4d
Adds ignore tag for pull_request dependabot branches
2022-10-26 13:58:28 +01:00
dependabot[bot]
1546619718
Bump pdf-reader from 2.10.0 to 2.11.0
...
Bumps [pdf-reader](https://github.com/yob/pdf-reader ) from 2.10.0 to 2.11.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.10.0...v2.11.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-10-26 12:40:42 +00:00
dependabot[bot]
1c17c37915
Merge pull request #9879 from openfoodfoundation/dependabot/bundler/oauth2-1.4.11
2022-10-26 12:39:20 +00:00
dependabot[bot]
063e424bc0
Merge pull request #9878 from openfoodfoundation/dependabot/bundler/aws-sdk-s3-1.117.0
2022-10-26 12:36:25 +00:00
filipefurtad0
b53faceebb
Retries improved but still flaky examples
2022-10-26 13:26:21 +01:00
filipefurtad0
aebf84b53f
Brings back rspec-retry gem and configs
2022-10-26 13:26:21 +01:00
dependabot[bot]
9ce1c536e4
Merge pull request #9880 from openfoodfoundation/dependabot/bundler/rubocop-rails-2.17.1
2022-10-26 09:50:48 +00:00
Jean-Baptiste Bellet
edb2645af1
Add a country to test db and modify one spec
...
Check that businness address changes are ok
Test with another county since only one country and one state couldn't spot the fact that when changing country it needs to change also states selector
2022-10-26 11:21:44 +02:00
Jean-Baptiste Bellet
d797ef2b3a
As we are in the Business Address panel, use the business_address attr
...
Not the address one, which is different
Business address country could be null, so use an empty array
2022-10-26 11:21:44 +02:00
Jean-Baptiste Bellet
d46105ea90
Correct some input styling
2022-10-26 11:21:44 +02:00
Jean-Baptiste Bellet
151e71b4d9
Actually controller is named dependEnt-select
2022-10-26 11:21:44 +02:00
Jean-Baptiste Bellet
b6bc4c66a2
Specify the current value of country
2022-10-26 11:21:44 +02:00
dependabot[bot]
b8b50fa165
Bump rubocop-rails from 2.16.1 to 2.17.1
...
Bumps [rubocop-rails](https://github.com/rubocop/rubocop-rails ) from 2.16.1 to 2.17.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.1...v2.17.1 )
---
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-10-26 09:06:16 +00:00
dependabot[bot]
4d23113265
Bump oauth2 from 1.4.10 to 1.4.11
...
Bumps [oauth2](https://gitlab.com/oauth-xx/oauth2 ) from 1.4.10 to 1.4.11.
- [Release notes](https://gitlab.com/oauth-xx/oauth2/tags )
- [Changelog](https://gitlab.com/oauth-xx/oauth2/blob/main/CHANGELOG.md )
- [Commits](https://gitlab.com/oauth-xx/oauth2/compare/v1.4.10...v1.4.11 )
---
updated-dependencies:
- dependency-name: oauth2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-10-26 09:04:45 +00:00
dependabot[bot]
f909b742ce
Bump aws-sdk-s3 from 1.116.0 to 1.117.0
...
Bumps [aws-sdk-s3](https://github.com/aws/aws-sdk-ruby ) from 1.116.0 to 1.117.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-10-26 09:04:18 +00:00
Maikel Linke
6aefc23c35
Allow devs to lazy-load app with right dependency
2022-10-26 14:08:27 +11:00
Maikel Linke
7c562d321d
Activate DfcProvider with feature toggle, not prod
...
We want to test in dev and on staging, too.
2022-10-26 14:08:27 +11:00
Maikel
5a4727138c
Merge pull request #9875 from filipefurtad0/fix_flaky_spec_8701
...
Minor changes to improve flakyness
2022-10-26 14:00:08 +11:00
Maikel
fe05d17078
Merge pull request #9872 from jibees/update-actions/upload-artifact-to-lastest-version
...
Build: use the latest version of `actions/upload-artifact`
2022-10-26 13:58:48 +11:00
Maikel Linke
9f9d8020c1
Fix URL generation for report without subtype
...
The URL is generated in the partial and it just needs to know that
there's no subtype.
2022-10-26 11:53:25 +11:00
Maikel Linke
3ebd896c3e
Remove outdated ignoring of columns
...
Those columns have been removed from the database and don't need to be
ignored any more.
2022-10-26 10:42:19 +11:00
filipefurtad0
14955ac8ca
Minor changes to improve flakyness
2022-10-25 17:39:10 +01:00
dependabot[bot]
06c6853323
Merge pull request #9856 from openfoodfoundation/dependabot/npm_and_yarn/storybook/addon-docs-6.5.13
2022-10-25 14:08:01 +00:00
dependabot[bot]
4e0b206c7b
Merge pull request #9857 from openfoodfoundation/dependabot/npm_and_yarn/storybook/addon-controls-6.5.13
2022-10-25 13:59:39 +00:00
Konrad
3d003a735f
Merge pull request #9851 from openfoodfoundation/dependabot/bundler/aws-sdk-s3-1.116.0
...
Bump aws-sdk-s3 from 1.114.0 to 1.116.0
2022-10-25 15:52:34 +02:00
Jean-Baptiste Bellet
e16c8661a2
Use the same template even if there is no sub_report
2022-10-25 15:27:43 +02:00
dependabot[bot]
eaa6e9bc18
Bump @storybook/addon-docs from 6.5.12 to 6.5.13
...
Bumps [@storybook/addon-docs](https://github.com/storybookjs/storybook/tree/HEAD/addons/docs ) from 6.5.12 to 6.5.13.
- [Release notes](https://github.com/storybookjs/storybook/releases )
- [Changelog](https://github.com/storybookjs/storybook/blob/v6.5.13/CHANGELOG.md )
- [Commits](https://github.com/storybookjs/storybook/commits/v6.5.13/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-10-25 13:20:15 +00:00
dependabot[bot]
91652ba792
Bump @storybook/addon-controls from 6.5.12 to 6.5.13
...
Bumps [@storybook/addon-controls](https://github.com/storybookjs/storybook/tree/HEAD/addons/controls ) from 6.5.12 to 6.5.13.
- [Release notes](https://github.com/storybookjs/storybook/releases )
- [Changelog](https://github.com/storybookjs/storybook/blob/v6.5.13/CHANGELOG.md )
- [Commits](https://github.com/storybookjs/storybook/commits/v6.5.13/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-10-25 13:19:28 +00:00
dependabot[bot]
4bf640f0c4
Merge pull request #9866 from openfoodfoundation/dependabot/bundler/rubocop-1.37.1
2022-10-25 13:18:51 +00:00
jibees
cf489e809f
Merge pull request #9867 from openfoodfoundation/dependabot/bundler/rswag-specs-2.7.0
...
Bump rswag-specs from 2.6.0 to 2.7.0
2022-10-25 15:18:18 +02:00
jibees
35bb539271
Merge pull request #9855 from openfoodfoundation/dependabot/npm_and_yarn/hotwired/turbo-7.2.4
...
Bump @hotwired/turbo from 7.2.2 to 7.2.4
2022-10-25 15:17:25 +02:00
jibees
b3020a5573
Merge pull request #9854 from openfoodfoundation/dependabot/npm_and_yarn/floating-ui/dom-1.0.3
...
Bump @floating-ui/dom from 1.0.2 to 1.0.3
2022-10-25 15:17:05 +02:00
jibees
250b9bc3c0
Merge pull request #9853 from openfoodfoundation/dependabot/npm_and_yarn/storybook/server-6.5.13
...
Bump @storybook/server from 6.5.12 to 6.5.13
2022-10-25 15:16:30 +02:00
Jean-Baptiste Bellet
e58add6af0
Use the latest version of actions/upload-artifact
2022-10-25 15:00:14 +02:00
filipefurtad0
3447959a06
Adds click_on_select2 helper
2022-10-25 13:32:29 +01:00
Mohamed ABDELLANI
41440af533
test if product's variant is duplicated properly
2022-10-25 11:28:16 +01:00
Mohamed ABDELLANI
826b1e95ef
add a product variant.
2022-10-25 11:27:51 +01:00
Mohamed ABDELLANI
6cabbee1a2
rename new_variant double to new_master_variant
2022-10-25 11:27:14 +01:00
Mohamed ABDELLANI
11bc5c775c
rename the variant double to master_variant
2022-10-25 11:26:43 +01:00
Mohamed ABDELLANI
788093c7cf
implement variant duplication
2022-10-25 11:23:35 +01:00
Mohamed ABDELLANI
f44228eef7
extract variant duplication logic into a separated function
2022-10-25 11:23:35 +01:00
Konrad
62935f65a2
Merge pull request #9849 from openfoodfoundation/dependabot/bundler/active_storage_validations-1.0.2
...
Bump active_storage_validations from 1.0.0 to 1.0.2
2022-10-25 12:04:50 +02:00
Konrad
e8425c5805
Merge pull request #9792 from vsmay98/6531-remove-user-registrations-controller
...
Remove spree user registrations controller file
2022-10-25 11:52:34 +02:00
dependabot[bot]
31cde7e06e
Bump @hotwired/turbo from 7.2.2 to 7.2.4
...
Bumps [@hotwired/turbo](https://github.com/hotwired/turbo ) from 7.2.2 to 7.2.4.
- [Release notes](https://github.com/hotwired/turbo/releases )
- [Commits](https://github.com/hotwired/turbo/compare/v7.2.2...v7.2.4 )
---
updated-dependencies:
- dependency-name: "@hotwired/turbo"
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-10-25 09:31:08 +00:00
dependabot[bot]
f467efc42b
Bump @storybook/server from 6.5.12 to 6.5.13
...
Bumps [@storybook/server](https://github.com/storybookjs/storybook/tree/HEAD/app/server ) from 6.5.12 to 6.5.13.
- [Release notes](https://github.com/storybookjs/storybook/releases )
- [Changelog](https://github.com/storybookjs/storybook/blob/v6.5.13/CHANGELOG.md )
- [Commits](https://github.com/storybookjs/storybook/commits/v6.5.13/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-10-25 09:30:49 +00:00
dependabot[bot]
faa8888e2a
Bump @floating-ui/dom from 1.0.2 to 1.0.3
...
Bumps [@floating-ui/dom](https://github.com/floating-ui/floating-ui/tree/HEAD/packages/dom ) from 1.0.2 to 1.0.3.
- [Release notes](https://github.com/floating-ui/floating-ui/releases )
- [Commits](https://github.com/floating-ui/floating-ui/commits/@floating-ui/dom@1.0.3/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-10-25 09:30:47 +00:00
jibees
84f488917e
Merge pull request #9865 from jibees/sort-package.json-file
...
Sort package.json to avoid conflicts
2022-10-25 11:29:41 +02:00
dependabot[bot]
00c57fa06c
Bump rswag-specs from 2.6.0 to 2.7.0
...
Bumps [rswag-specs](https://github.com/rswag/rswag ) from 2.6.0 to 2.7.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.6.0...2.7.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-10-25 09:03:31 +00:00
dependabot[bot]
c4748104a0
Bump rubocop from 1.36.0 to 1.37.1
...
Bumps [rubocop](https://github.com/rubocop/rubocop ) from 1.36.0 to 1.37.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.36.0...v1.37.1 )
---
updated-dependencies:
- dependency-name: rubocop
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-10-25 09:02:59 +00:00
Jean-Baptiste Bellet
46bbf1b1ec
Sort package.json to avoid conflicts
2022-10-25 10:54:11 +02:00
Konrad
d12e99e363
Merge pull request #9808 from abdellani/sort_items_by_product_name_in_ocstd_report
...
add sort by product name to order_cycle_supplier_totals_by_distributo…
2022-10-25 10:34:22 +02:00
Jean-Baptiste Bellet
ede38a417f
Respect rubocop Metrics/AbcSize by extracting a method
2022-10-25 10:22:35 +02:00
Jean-Baptiste Bellet
23b5e73c97
Weight is computed with unit_value and product variant_unit_scale
2022-10-25 10:22:35 +02:00
Maikel Linke
7081e712e8
Flag style issue on todo list for later
...
The code needs some bigger refactoring to avoid this style issue.
2022-10-25 10:09:26 +02:00
Nihal Mohammed
5c0f3a2d4b
Add weight, height, width, depth fields to pack by customer reports
...
+ update specs by adding dimensions fields into reports specs
2022-10-25 10:09:26 +02:00
Nihal Mohammed
f8657aaf41
Copy dimensions from variants to line items before validation
2022-10-25 10:09:26 +02:00
Nihal Mohammed
f38661cdf1
Add weight, height, width, depth fields to line items
2022-10-25 10:09:26 +02:00
Maikel
85c8a0ac35
Merge pull request #9852 from openfoodfoundation/dependabot/bundler/rswag-api-2.7.0
...
Bump rswag-api from 2.6.0 to 2.7.0
2022-10-25 14:33:04 +11:00
Maikel
0e9869c4d3
Merge pull request #9848 from openfoodfoundation/dependabot/bundler/debug-1.6.3
...
Bump debug from 1.6.2 to 1.6.3
2022-10-25 14:02:17 +11:00
Maikel
a3416bcb80
Merge pull request #9790 from matisnape/update-docker-readme-for-m1-users-#8421
...
Update docker readme for M1 users [#8421 ]
2022-10-25 11:12:09 +11:00
Maikel
bf206dc4e6
Merge pull request #9858 from jibees/setup-redis-for-build
...
Setup redis on build
2022-10-25 11:11:08 +11:00
Maikel
55ef4dfe0d
Merge pull request #8809 from Matt-Yorkley/dead-code-variants-check
...
Remove dead code: Product#variants?
2022-10-25 10:49:01 +11:00
Konrad
3489f08ec5
Format reports as list, even if only one sub-type available
2022-10-25 00:31:00 +02:00
Konrad
4a7ac45dba
Merge pull request #9830 from jibees/9821-remove-report_inverse_columns_logic-feature-toggle
...
Remove `report_inverse_columns_logic` feature toggle
2022-10-25 00:23:31 +02:00
Konrad
df925d6412
Merge pull request #9737 from Laurel16/fix_issue#9559
...
Translate error messages when creating products
2022-10-24 23:17:32 +02:00
Konrad
84bf38ce4d
Merge pull request #9791 from vsmay98/8250-fix-snail-for-all-enterprise-fee
...
Fix snail issue for all enterprise fees
2022-10-24 21:49:45 +02:00
saunmanoj888
490c5afc59
Mock bigDecimal methods in specs
2022-10-25 00:05:31 +05:30
filipefurtad0
367f77f477
Replaces select2_select helper for find/click
2022-10-24 17:57:10 +01:00
Jean-Baptiste Bellet
892a020bcc
Setup redis on build
2022-10-24 17:01:12 +02:00
dependabot[bot]
1f5281ac1a
Bump rswag-api from 2.6.0 to 2.7.0
...
Bumps [rswag-api](https://github.com/rswag/rswag ) from 2.6.0 to 2.7.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.6.0...2.7.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-10-24 11:19:45 +00:00
Rachel Arnould
3c9b7a10f4
Merge pull request #9058 from Matt-Yorkley/oidc-redux
...
Add OIDC authentication for Les Communs
2022-10-24 13:18:36 +02:00
Jean-Baptiste Bellet
e2441cdcf6
Use the report type or subtype as the title
2022-10-24 11:12:22 +02:00
Jean-Baptiste Bellet
6dec80aaaf
Links only on right side
2022-10-24 11:12:22 +02:00
Jean-Baptiste Bellet
1c349049d1
Remove report description when they are useless
2022-10-24 11:12:22 +02:00
Jean-Baptiste Bellet
edc667a336
By default, some columns are hidden.
2022-10-24 11:12:22 +02:00
Jean-Baptiste Bellet
02787e668f
Remove report_inverse_columns_logic feature toggle
...
Co-Authored-By: Maikel <maikel@email.org.au >
2022-10-24 11:12:22 +02:00
dependabot[bot]
830a7c8f1d
Bump aws-sdk-s3 from 1.114.0 to 1.116.0
...
Bumps [aws-sdk-s3](https://github.com/aws/aws-sdk-ruby ) from 1.114.0 to 1.116.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-10-24 09:03:55 +00:00
dependabot[bot]
cd43bd4522
Bump active_storage_validations from 1.0.0 to 1.0.2
...
Bumps [active_storage_validations](https://github.com/igorkasyanchuk/active_storage_validations ) from 1.0.0 to 1.0.2.
- [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/compare/1.0.0...1.0.2 )
---
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-10-24 09:03:07 +00:00
dependabot[bot]
9dbc9f7272
Bump debug from 1.6.2 to 1.6.3
...
Bumps [debug](https://github.com/ruby/debug ) from 1.6.2 to 1.6.3.
- [Release notes](https://github.com/ruby/debug/releases )
- [Commits](https://github.com/ruby/debug/compare/v1.6.2...v1.6.3 )
---
updated-dependencies:
- dependency-name: debug
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-10-24 09:02:49 +00:00
Mohamed ABDELLANI
da9a4803ff
add it "lists products sorted by name" test
2022-10-24 09:01:42 +01:00
Mohamed ABDELLANI
732ebd8457
fix the expected table size in "generates the report" test
2022-10-24 09:01:42 +01:00
Mohamed ABDELLANI
39e567d386
set line_items_count to 3
2022-10-24 09:01:42 +01:00
Mohamed ABDELLANI
4740c2b0db
add sort by product name to order_cycle_supplier_totals_by_distributor report rules
2022-10-24 09:01:42 +01:00
jibees
ee70ab8adb
Merge pull request #9847 from mkllnk/stable-orders_and_fulfillment_spec
...
Expect report rows for same product in random order
2022-10-24 09:57:06 +02:00
Maikel
936a96bd6c
Merge pull request #9839 from openfoodfoundation/dependabot/bundler/rswag-ui-2.7.0
...
Bump rswag-ui from 2.6.0 to 2.7.0
2022-10-24 16:01:04 +11:00
Maikel
b3492981d3
Merge pull request #9832 from openfoodfoundation/dependabot/bundler/nokogiri-1.13.9
...
Bump nokogiri from 1.13.8 to 1.13.9
2022-10-24 15:58:57 +11:00
Maikel Linke
167ce0e53c
Expect report rows in random order
...
It's not deterministic which variant is shown first and therefore this
spec would fail from time to time.
2022-10-24 15:40:35 +11:00
Maikel
8f47d2b2be
Merge pull request #9820 from jibees/update-all-github-action-to-avoid-deprecated
...
Upgrade deprecated github/actions in our CI
2022-10-24 15:26:54 +11:00
Maikel
e873771f18
Merge pull request #9822 from filipefurtad0/redis_CannotConnectError
...
Extracts routing outside it block
2022-10-24 13:33:01 +11:00
Maikel
627b8af37b
Merge pull request #9828 from mkllnk/authorize-api-key
...
Prevent users from changing API keys for others
2022-10-24 11:22:35 +11:00
Cillian O'Ruanaidh
eb72ec8e13
An order cycle isn't ready for checkout if a tag rule means no payment/shipping methods are available to the customer
2022-10-21 17:21:31 +01:00
Cillian O'Ruanaidh
7458dccea6
Call @order_cycles.count instead of #size because TagRuleApplicator doesn't return Relation anymore
...
In March 2020 this was changed to use :size instead of :count because TagRuleApplicator returned an ActiveRecord::Relation, see:
d2eee1dafd
However in October 2020 TagRuleApplicator was changed to always return an Array so this is no longer needed, see:
7e606471e4
2022-10-21 17:21:31 +01:00
Cillian O'Ruanaidh
3e24b7ba6b
Assign variable across two lines so Rubocop override comment isn't needed in OrderCycleClone
...
Co-authored-by: Maikel <maikel@email.org.au >
2022-10-21 17:21:31 +01:00
Cillian O'Ruanaidh
62cd507fb9
Stub Spree::Config.stripe_connect_enabled instead of changing it before and back after tests
...
It's less code and sometimes there can be issues when config cache values are changed.
Co-authored-by: Maikel <maikel@email.org.au >
2022-10-21 17:21:31 +01:00
Cillian O'Ruanaidh
beba3c7684
Disable Metrics/ClassLength check for OrderCycleForm
2022-10-21 17:21:31 +01:00
Cillian O'Ruanaidh
f5bd23b4d8
Remove unused Spree::Order#available_payment_methods method
...
This was introduced in 47d2f698ef but we are using OrderAvailablePaymentMethods now.
2022-10-21 17:21:31 +01:00
Cillian O'Ruanaidh
2c14aecf4f
Extract a OrderCycleClone service
...
Before it was giving a Rubocop error, probably not a bad idea anyway.
2022-10-21 17:21:31 +01:00
Cillian O'Ruanaidh
4e6d64c0a1
Let people choose which payment methods are available to customers on order cycles
2022-10-21 17:21:31 +01:00
Cillian O'Ruanaidh
5718f9f00c
Create :order_cycles_distributor_payment_methods HABTM join table
2022-10-21 17:21:31 +01:00
Cillian O'Ruanaidh
5423c1c02e
Resolve conflict in db/schema.rb
2022-10-21 17:21:24 +01:00
saunmanoj888
ee8454bd2c
Use js-big-decimal package for calculation
2022-10-21 21:30:00 +05:30
dependabot[bot]
45c23a76ff
Bump rswag-ui from 2.6.0 to 2.7.0
...
Bumps [rswag-ui](https://github.com/rswag/rswag ) from 2.6.0 to 2.7.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.6.0...2.7.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-10-21 13:24:52 +00:00
Jean-Baptiste Bellet
5a1d9013c6
Update all locales with the latest Transifex translations
2022-10-20 23:12:32 +02:00
jibees
3a68e237de
Merge pull request #9772 from mkllnk/revenue-report-for-au
...
Add more fields to revenue report as used by Aus
2022-10-20 23:10:17 +02:00
Jean-Baptiste Bellet
87ed23211e
Use the last version of github/codeql-action/upload-sarif
2022-10-20 17:42:22 +02:00
jibees
48e18b016a
Merge pull request #9756 from vsmay98/8249-fix-snail-for-all-shipping-method-fee
...
Fix snail issue for all shipping method fees
2022-10-20 17:31:24 +02:00
jibees
da851079f4
Merge pull request #9776 from abdellani/product-creation-minor-improvements
...
Product creation minor improvements
2022-10-20 17:30:47 +02:00
jibees
1d265d19ce
Merge pull request #8872 from Matt-Yorkley/bugsnag-data
...
Update Bugsnag error data
2022-10-20 17:30:14 +02:00
jibees
9e4bd23332
Merge pull request #9738 from AthiraKadampatta/9726-remove-unused-paperclip-columns
...
Delete unused paperclip columns.
2022-10-20 17:29:44 +02:00
jibees
fdc362cb44
Merge pull request #9806 from mkllnk/feature-constraint
...
Generalise feature toggle constraint
2022-10-20 17:27:46 +02:00
Vishal Jain
8d3845508c
remove check_permissions method
2022-10-20 19:54:23 +05:30
Vishal Jain
952b6039f9
Remove spree user registrations controller file
2022-10-20 19:54:23 +05:30
Jean-Baptiste Bellet
053af8416b
Previous setup-ruby action was deprecated. Use ruby/setup-ruby@v1
2022-10-20 16:14:14 +02:00
dependabot[bot]
955b84ae6f
Bump nokogiri from 1.13.8 to 1.13.9
...
Bumps [nokogiri](https://github.com/sparklemotion/nokogiri ) from 1.13.8 to 1.13.9.
- [Release notes](https://github.com/sparklemotion/nokogiri/releases )
- [Changelog](https://github.com/sparklemotion/nokogiri/blob/main/CHANGELOG.md )
- [Commits](https://github.com/sparklemotion/nokogiri/compare/v1.13.8...v1.13.9 )
---
updated-dependencies:
- dependency-name: nokogiri
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-10-20 13:45:27 +00:00
jibees
2455ecabde
Merge pull request #9758 from openfoodfoundation/dependabot/bundler/activerecord-import-1.4.1
...
Bump activerecord-import from 1.4.0 to 1.4.1
2022-10-20 15:44:42 +02:00
Konrad
71037022ec
Merge pull request #9816 from viniciusueharaweb/9703-product-description-should-have-a-pointer-cursor
...
Add pointer cursor when hovering a clickable product description
2022-10-20 10:38:46 +02:00
Jean-Baptiste Bellet
7ffd4669be
Change node version to use the latest LTS
...
We probably need to modify our `ofn-install` build to also use the latest LTS
2022-10-20 10:20:09 +02:00
jibees
2b7b83ba37
Merge pull request #9826 from filipefurtad0/fix_flaky_spec_bom_9824
...
Clarifies contexts, cleans-up spec DRY
2022-10-20 09:55:33 +02:00
Maikel Linke
fc79612f26
Prevent users from changing API keys for others
...
It was checking for the permission to create a user which everyone can
do. Now it's checking for updating that particular user and doesn't
allow generating new keys for other users any more.
This would have been an inconvenience but not a big security issue
because you can't view the key of another user.
2022-10-20 17:56:46 +11:00
Vishal Jain
de28027623
add system spec
2022-10-20 12:15:22 +05:30
Vishal Jain
755107ec9f
Fix snail issue for all enterprise fees
2022-10-20 12:15:21 +05:30
saunmanoj888
b40cd579bc
Fix spec failure
2022-10-19 23:18:22 +05:30
saunmanoj888
8e45b758ba
Fix unit value UI issue
2022-10-19 22:59:28 +05:30
filipefurtad0
c4de247dd9
Clarifies contexts, cleans-up spec DRY
2022-10-19 16:56:04 +01:00
filipefurtad0
a244b34627
Extracts routing to context (DRY); creates context for separate it block
2022-10-19 11:15:15 +01:00
filipefurtad0
dabe37ebcb
Extracts routing outside it block
2022-10-19 11:01:56 +01:00
Jean-Baptiste Bellet
2fcbe437f2
Upgrade "actions/setup-node" to non-deprecated version
2022-10-19 11:31:47 +02:00
Jean-Baptiste Bellet
642938afe0
Upgrade "actions/checkout" to non-deprecated version
2022-10-19 11:28:31 +02:00
jibees
7b96a1fb5b
Merge pull request #9815 from mkllnk/bulk-product-spec
...
Stabilise spec by waiting for JS
2022-10-19 09:50:55 +02:00
Matt-Yorkley
0ca86344d2
Update use of deprecated #add_tab method to #add_metadata
2022-10-19 17:36:53 +11:00
Matt-Yorkley
980f004b83
Update Bugsnag error data
2022-10-19 17:36:52 +11:00
Matt-Yorkley
c0ee72319f
Remove dead code: Product#variants?
...
This only makes sense in the context of Products which only have "master" variants, and we removed that option a while back.
Remove #variants? check from ProductStock concern
2022-10-19 16:30:12 +11:00
Maikel
3d26b76d17
Merge pull request #9814 from filipefurtad0/fix_flaky_spec_bom_9809
...
Replaces js select2 methods by find/click methods
2022-10-19 14:41:55 +11:00
Vinicius Uehara
7772c01e16
Add pointer cursor when hovering a clickable product description
2022-10-18 23:11:56 -03:00
Maikel Linke
04921aeed4
Stabilise spec by waiting for JS
2022-10-19 09:59:51 +11:00
filipefurtad0
c71c5054e0
Replaces js select2 methods by find/click methods
2022-10-18 21:27:52 +01:00
Filipe
4015413d1d
Merge pull request #9813 from filipefurtad0/fix_flaky_spec_bom
...
Comments out and adds pending on flaky examples
2022-10-18 11:32:50 +01:00
filipefurtad0
b3059bbdbc
Comments out and adds pending on flaky examples
2022-10-18 10:28:44 +01:00
Maikel Linke
a35fab5e1f
Speed up spec by skipping a page
2022-10-18 14:27:18 +11:00
Maikel Linke
c22f6cb805
Add more fields to revenue report as used by Aus
...
We currently maintain our own CSV generation script which could be
replaced if we got all this information here.
2022-10-18 12:51:13 +11:00
Maikel Linke
f00aeb006e
Allow enterprise users to authorize via OIDC
2022-10-18 11:32:14 +11:00
Matt-Yorkley
66c3ba3bba
Remove default omniauth link
2022-10-18 11:32:14 +11:00
Matt-Yorkley
b322df8515
Generate devise links view
2022-10-18 11:32:14 +11:00
Matt-Yorkley
617164684c
Configure OIDC
2022-10-18 11:32:14 +11:00
Matt-Yorkley
b36fae1bbb
Add migration for omniauth attributes
2022-10-18 11:31:35 +11:00
Matt-Yorkley
3a5f263fb5
Add omniauth / OIDC gems
2022-10-18 11:31:35 +11:00
Filipe
d5c3edc8fa
Merge pull request #9749 from drummer83/master
...
Fix layout of 'Create a new product' button in dashboard overview
2022-10-17 13:45:37 +01:00
Laurel16
ec65e4dcaa
Fix: Missing translation in error messages issue#9559
...
Fix: changing local translation for variant_unit in spree/product en.yml
Fix: add unite_value key to en.yml
2022-10-17 15:32:04 +11:00
Maikel
c83eb5d5dc
Merge pull request #9768 from ashwini-seshadri/admin_permissions_granting_permission_to_a_shop_displays_it_in_producers_list_as_if_it_was_a_supplier
...
Fix for: [Admin][Permissions] Granting permission to a shop displays it in "Producers" list as if it was a supplier #9589
2022-10-17 09:58:03 +11:00
Anna Nowak
9a40329bd7
Update docker readme for m1 users [ #8421 ]
2022-10-15 18:29:51 +02:00
jibees
bf74612892
Merge pull request #9775 from openfoodfoundation/dependabot/npm_and_yarn/tom-select-2.2.2
...
Bump tom-select from 2.2.1 to 2.2.2
2022-10-14 09:27:06 +02:00
jibees
eae7d96b30
Merge pull request #9774 from openfoodfoundation/dependabot/npm_and_yarn/hotwired/turbo-7.2.2
...
Bump @hotwired/turbo from 7.2.0 to 7.2.2
2022-10-14 09:21:36 +02:00
Mohamed ABDELLANI
96c6f58ba2
fix test @/spec/system/admin/products_spec.rb:32
2022-10-14 03:26:40 +01:00
Mohamed ABDELLANI
6a8c7b15dc
fix product category errors message in the form
2022-10-14 03:26:40 +01:00
Mohamed ABDELLANI
955492bfdd
show the error message when the variant unit is not selected
2022-10-14 03:26:40 +01:00
Mohamed ABDELLANI
0000faab91
render the error message when the unit value is not set
2022-10-14 03:26:40 +01:00
Mohamed ABDELLANI
e3f157ebdd
remove empty option from unit size
2022-10-14 03:26:40 +01:00
Mohamed ABDELLANI
f8af84d9d4
remove red start from tax category form
2022-10-14 03:26:40 +01:00
Mohamed ABDELLANI
bddbb36813
remove red star from supplier
2022-10-14 03:26:40 +01:00
dependabot[bot]
78b73c988e
Bump tom-select from 2.2.1 to 2.2.2
...
Bumps [tom-select](https://github.com/orchidjs/tom-select ) from 2.2.1 to 2.2.2.
- [Release notes](https://github.com/orchidjs/tom-select/releases )
- [Commits](https://github.com/orchidjs/tom-select/compare/v2.2.1...v2.2.2 )
---
updated-dependencies:
- dependency-name: tom-select
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-10-13 09:41:37 +00:00
jibees
cd641cc5d6
Merge pull request #9714 from openfoodfoundation/dependabot/npm_and_yarn/tom-select-2.2.1
...
Bump tom-select from 2.1.0 to 2.2.1
2022-10-13 11:30:13 +02:00
dependabot[bot]
50555a3fe9
Bump @hotwired/turbo from 7.2.0 to 7.2.2
...
Bumps [@hotwired/turbo](https://github.com/hotwired/turbo ) from 7.2.0 to 7.2.2.
- [Release notes](https://github.com/hotwired/turbo/releases )
- [Commits](https://github.com/hotwired/turbo/compare/v7.2.0...v7.2.2 )
---
updated-dependencies:
- dependency-name: "@hotwired/turbo"
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-10-13 09:08:24 +00:00
jibees
7c6e220bf7
Merge pull request #9771 from mkllnk/rspec-slow
...
Add convencience script to test flaky specs
2022-10-13 10:44:00 +02:00
Maikel Linke
3496b57942
Add convencience script to test flaky specs
2022-10-13 16:28:09 +11:00
Maikel Linke
bc805d94d8
Update translations
2022-10-13 16:03:26 +11:00
Ashwini Seshadri
1596649034
Merge branch 'master' into admin_permissions_granting_permission_to_a_shop_displays_it_in_producers_list_as_if_it_was_a_supplier
2022-10-13 06:48:40 +02:00
Maikel Linke
81461684f3
Generalise feature toggle constraint
...
Now we can re-use it for any feature.
2022-10-13 10:42:20 +11:00
Maikel
d33cdd1327
Merge pull request #9706 from jibees/9625-create-a-component-to-display-hide-columns-for-report
...
Create a component to display/hide columns for report
2022-10-13 10:05:27 +11:00
jibees
daaff2f7e8
Merge pull request #9764 from mkllnk/simple-oc-spec
...
Stabilise spec by waiting for JS requests
2022-10-12 10:17:51 +02:00
Jean-Baptiste Bellet
4de0b9ad11
Avoid warning on compilation
2022-10-12 09:28:50 +02:00
Jean-Baptiste Bellet
14a258c661
Attempt: externalize ofn-drop-down-v2 selector
...
+ add class `redesigned-checkbox` on `input`
Move `input.redesigned-input` definition outside dropdown definition
--> more generic
2022-10-12 09:28:50 +02:00
jibees
3b3f9a7513
Merge pull request #9766 from openfoodfoundation/dependabot/npm_and_yarn/babel/preset-env-7.19.4
...
Bump @babel/preset-env from 7.19.3 to 7.19.4
2022-10-12 09:07:53 +02:00
Maikel
3e1b66fd01
Remove extra blank line from Gemfile
2022-10-12 17:15:12 +11:00
Maikel Linke
9da6f862cd
Stabilise pending spec
2022-10-12 16:49:29 +11:00
Maikel Linke
3eb597bff4
Fix specs which accidentally reversed relationships
2022-10-12 16:49:29 +11:00
Maikel Linke
46fde6bd40
Remove now unused scope
2022-10-12 16:48:32 +11:00
Ashwini Seshadri
590a09f069
Fixed the permissions relationship, so the shop displays only suppliers and does not display distributors in producers list
...
and updated relevant tests
2022-10-12 16:48:31 +11:00
Maikel
1d9fbbf69e
Merge pull request #9767 from jibees/fix-flaky-spec
...
BOM Specs, don't need to wait for UI feedback: only check on page content
2022-10-12 11:52:50 +11:00
Maikel
b378d7655f
Merge pull request #9762 from openfoodfoundation/dependabot/bundler/view_component-2.74.1
...
Bump view_component from 2.74.0 to 2.74.1
2022-10-12 11:24:11 +11:00
Rachel Arnould
617a417dc2
Merge pull request #9506 from binarygit/remove-angular-from-payment-methods
...
Remove angular from payment methods
2022-10-11 13:13:26 +02:00
Jean-Baptiste Bellet
bfbdb5f44b
Don't need to wait for UI feedback: only check on page content
...
ie. table content
2022-10-11 12:16:25 +02:00
Vishal Jain
e02de2b17d
Fix snail issue for all shipping method fees
2022-10-11 15:30:19 +05:30
dependabot[bot]
ae84dfe3cd
Bump @babel/preset-env from 7.19.3 to 7.19.4
...
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env ) from 7.19.3 to 7.19.4.
- [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.4/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-10-11 09:03:45 +00:00
Jean-Baptiste Bellet
8a6874326a
selected could be nil if no columns are selected
2022-10-11 10:05:06 +02:00
Jean-Baptiste Bellet
68de510c4e
Redesign checkboxes
2022-10-11 10:05:06 +02:00
Jean-Baptiste Bellet
230afd5024
Update multiple_checked_select_component.html.haml
2022-10-11 10:05:06 +02:00
Jean-Baptiste Bellet
41e696282c
Don't build inputs, but directly use input checkbox for each option
...
way simpler this way.
2022-10-11 10:05:06 +02:00
Jean-Baptiste Bellet
e655d5b188
Remove useless id attribute. Prefer to use data-value directly.
2022-10-11 10:05:06 +02:00
Jean-Baptiste Bellet
7d15baef9d
Do not use a variable filter_placeholder but translate it in the view
2022-10-11 10:05:06 +02:00
Jean-Baptiste Bellet
312f2544dd
Be sure that option key is a Symbol (it could be a String)
2022-10-11 10:05:06 +02:00
Jean-Baptiste Bellet
157bdd9f3d
Add a vertical scrolling
2022-10-11 10:05:06 +02:00
Jean-Baptiste Bellet
b4e041c7e9
Implements the ofn-drop-down-v2 design
2022-10-11 10:05:06 +02:00
Jean-Baptiste Bellet
23e2d28488
Implements the filter options feature
2022-10-11 10:05:06 +02:00
Jean-Baptiste Bellet
0f9ebfe34a
Use the MultipleCheckedSelectComponent
2022-10-11 10:05:06 +02:00
Jean-Baptiste Bellet
b7adc5f551
Create the MultipleCheckedComponent
...
+ Associate the StimulusController to this component
2022-10-11 10:05:06 +02:00
dependabot[bot]
7bb7391634
Bump activerecord-import from 1.4.0 to 1.4.1
...
Bumps [activerecord-import](https://github.com/zdennis/activerecord-import ) from 1.4.0 to 1.4.1.
- [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.4.0...v1.4.1 )
---
updated-dependencies:
- dependency-name: activerecord-import
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-10-11 07:35:27 +00:00
AthiraKadampatta
e5a136801d
9726 Remove attachment_width and attachment_height from spree_asset
2022-10-11 10:26:32 +05:30
AthiraKadampatta
addd2ea9ac
#9726 Add migration to remove unused paperclip columns
2022-10-11 10:26:32 +05:30
dependabot[bot]
7b0ce3272a
Bump view_component from 2.74.0 to 2.74.1
...
Bumps [view_component](https://github.com/viewcomponent/view_component ) from 2.74.0 to 2.74.1.
- [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.74.0...v2.74.1 )
---
updated-dependencies:
- dependency-name: view_component
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-10-11 04:19:01 +00:00
Maikel Linke
5bbbe4b67a
Stabilise spec by waiting for JS requests
...
Well, two seconds is just a guess. Ideally the page wouldn't display
until we have everything loaded. But this logic will be replaced when we
chuck out AngularJS.
This version passed over 100 runs with a busy CPU on my machine.
2022-10-11 14:57:59 +11:00
Maikel
4705d306b5
Merge pull request #9730 from AthiraKadampatta/9726-unused-paperclip-columns-ignored-list
...
Ignore paperclip columns to prepare for deletion
2022-10-11 11:44:42 +11:00
Maikel
2082404c87
Merge pull request #9752 from maniSHarma7575/9603-fix-order-cycle-fees-dropdown
...
Fixed same enterprise appear several times in the fee dropdown list
2022-10-11 09:41:02 +11:00
Maikel
c9a7230fe2
Merge pull request #9635 from mkllnk/stable-specs
...
Remove retries from test runs
2022-10-11 09:36:50 +11:00
Jean-Baptiste Bellet
1f329e85bc
Also include plugins
2022-10-10 17:15:46 +02:00
AthiraKadampatta
b2c778794d
9726 Remove safe navigation operator and simplify call to attachment file name
2022-10-10 16:52:02 +02:00
AthiraKadampatta
80eef9c302
9726 Add attachment_width and attachment_height to the list of ignored columns for spree images
2022-10-10 16:52:02 +02:00
AthiraKadampatta
f40b569a4a
9726 Use active storage filename instead of attachment_file_name of paperclip
2022-10-10 16:52:02 +02:00
AthiraKadampatta
1f161bee1f
Add paperclip columns to ignored columns list for enterprise, enterprise group, terms_of_service_file, spree/image models
2022-10-10 16:52:02 +02:00
Jean-Baptiste Bellet
4140e3d153
Import tom-select file directly
...
can't use "tom-select" anymore, due to a mis-configuration with babel I guess
2022-10-10 16:10:33 +02:00
Jean-Baptiste Bellet
db70c47a31
Specify IE 11 as a target
...
Comes from error using tom-select:
```
ERROR in ./node_modules/tom-select/dist/esm/tom-select.js
Module build failed (from ./node_modules/babel-loader/lib/index.js):
Error: /Users/jibees/dev/openfoodnetwork/node_modules/tom-select/dist/esm/tom-select.js: unknown Statement of type "ForOfStatement"
```
2022-10-10 16:09:43 +02:00
Manish Sharma
cd71233163
Fixed duplicates enterprises in order cycles
2022-10-10 14:30:58 +05:30
Maikel Linke
6ef0e04c18
Mark currently broken spec as pending
...
I thought it's better to progress with this PR before we break more
things.
2022-10-10 16:03:18 +11:00
Maikel Linke
87274bccc6
Remove retries from test runs
...
If a spec is flaky, we need to fix it. Retry is just hiding problems for
a while and is adding to execution time.
2022-10-10 14:09:18 +11:00
dependabot[bot]
981c306977
Bump tom-select from 2.1.0 to 2.2.1
...
Bumps [tom-select](https://github.com/orchidjs/tom-select ) from 2.1.0 to 2.2.1.
- [Release notes](https://github.com/orchidjs/tom-select/releases )
- [Commits](https://github.com/orchidjs/tom-select/compare/v2.1.0...v2.2.1 )
---
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-10-10 03:00:21 +00:00
Maikel
82e38d7b91
Merge pull request #9526 from jibees/6730-use-a-date-range-picker
...
Admin, List of Orders & Orders Bulk Management pages: use a date range picker
2022-10-10 13:59:37 +11:00
Maikel
5894246474
Merge pull request #9682 from binarygit/picked_up_email
...
Send picked up emails when orders are picked up
2022-10-10 13:15:24 +11:00
Maikel
058a45f4e5
Merge pull request #9442 from jibees/8904-display-fees-name-instead-of-type-on-invoices
...
Display fees name instead of type on invoices
2022-10-10 13:15:01 +11:00
Maikel
e5ccee42cc
Merge pull request #9725 from vsmay98/9468-hide-all-references-hub-from-producers-profile
...
[Shopfront] Hide hub with "hide all references" setup in producers profiles
2022-10-10 13:11:49 +11:00
Maikel
38f145549a
Merge pull request #9741 from mkllnk/empty-variant-param
...
Avoid error when sending empty variant attributes in bulk product edit
2022-10-10 11:43:10 +11:00
Maikel
f551bea00b
Merge pull request #9731 from mkllnk/features
...
Add used feature toggles to appear in the admin UI
2022-10-10 11:41:05 +11:00
Jean-Baptiste Bellet
f5ebc797c4
Send change event on flatpickr widget close
2022-10-08 16:36:26 +02:00
Jean-Baptiste Bellet
263b36d1d9
Confirm input changed by pressing enter key
2022-10-08 16:36:26 +02:00
Jean-Baptiste Bellet
ea76615763
Forward focus event on calendar open
2022-10-08 16:36:26 +02:00
Jean-Baptiste Bellet
e076e23064
Do not use ng-change on endDate but instead watch both start and end date
2022-10-08 16:36:26 +02:00
Jean-Baptiste Bellet
a272479483
When selecting date range picker, orders should load
2022-10-08 16:36:26 +02:00
Jean-Baptiste Bellet
6ec3e7ee0c
Only send event change on valid range (ie. both start and end date)
...
+ do not refresh data on start date change but only on end date change
2022-10-08 16:36:26 +02:00
Jean-Baptiste Bellet
ec4d091c2e
Remove the or label as it was unecessary
...
and actually, untranslated
2022-10-08 16:36:26 +02:00
Jean-Baptiste Bellet
eec117e769
Implements daterangepicker for /admin/orders/bulk_management
...
+ update specs as well
2022-10-08 16:36:26 +02:00
Jean-Baptiste Bellet
eb621cae35
Update spec to be more defensive
...
Actually, this one fail on master too (when changing month?)
2022-10-08 16:36:26 +02:00
Jean-Baptiste Bellet
73f55ae776
Implements daterangepicker for /admin/orders
...
+ update specs as well
2022-10-08 16:36:26 +02:00
Jean-Baptiste Bellet
19584ce6e0
flatpickr controller is now ready to be used in range mode
2022-10-08 16:36:26 +02:00
Jean-Baptiste Bellet
8942d3d17b
Clear date on custom event flatpickr_clear
2022-10-08 16:36:26 +02:00
Jean-Baptiste Bellet
ddfbcacd83
Include plugins
2022-10-08 16:36:26 +02:00
Jean-Baptiste Bellet
c3a7acf9ad
import locale
2022-10-08 16:36:26 +02:00
Jean-Baptiste Bellet
fb0d922d73
Remove datetimepicker directive + default values
2022-10-08 16:36:26 +02:00
Jean-Baptiste Bellet
5c83a3277e
Replace datetimepicker by flatpickr stimulus controller
2022-10-08 16:36:26 +02:00
Jean-Baptiste Bellet
c6332ab306
Remove datepicker instance
2022-10-08 16:36:26 +02:00
Jean-Baptiste Bellet
6b7030a6a8
Don't use directive, but the flatpickr stimulusjs controller
2022-10-08 16:36:26 +02:00
Jean-Baptiste Bellet
b1fd6d9541
Create the flatpickr date|datetime controller
2022-10-08 16:36:26 +02:00
Jean-Baptiste Bellet
d73d6dcdb6
Do not import flatpickr via this require
...
as now flatpickr is managed by yarn and should be imported when module need it, via import
2022-10-08 16:36:26 +02:00
Jean-Baptiste Bellet
792d6d9569
Add stimulus flatpickr
...
Update yarn.lock
2022-10-08 16:36:26 +02:00
Maikel Linke
1137e6890b
Supply feature mock with default value
...
Otherwise Rspec complains about receiving another argument which is not
the one we defined here before.
2022-10-08 16:23:17 +02:00
Maikel Linke
52e934ec2b
Consistently use our FeatureToggle module
...
Direct calls to Flipper have the downside that we can't add any new
functionality like storing the feature in the database when used.
2022-10-08 16:23:17 +02:00
Maikel Linke
bc26a3aa07
Add used feature toggles to appear in the admin UI
...
The admin UI shows only features which were added to the database. We
always had to look up a feature's name add it manually before we could
enable it. Now it will appear in the UI after some code asked if it was
enabled.
This only adds a database query once when the feature doesn't exist yet.
The `feature.exist?` call only performs an in-memory lookup in the
memoizer.
2022-10-08 16:23:17 +02:00
binarygit
01c477f2cb
Remove angular from Payment Methods
2022-10-08 14:20:54 +02:00
binarygit
8335594351
Add different subject for picked up email
2022-10-08 12:31:26 +02:00
binarygit
44db511e66
Send a picked up email (rather than shipped email) when orders are picked up by customers
2022-10-08 12:31:26 +02:00
Jean-Baptiste Bellet
8b89c901ef
Do not display "Admin and Handling" ie. fees total
2022-10-08 10:00:57 +02:00
Jean-Baptiste Bellet
7b57f2358c
Create a new key instead of modifying the old one
...
it could lead to issues when key is not updated and we should avoid that kind of issue.
2022-10-08 10:00:57 +02:00
Maikel Linke
b297299838
Simplify test of adjustments
2022-10-08 10:00:57 +02:00
Maikel Linke
52843de1da
Test against unique fee name
...
The adjustment factory calls everything "Shipping" by default. This was
confusing here because we were explicitely looking at a non-shipping
fee.
2022-10-08 10:00:57 +02:00
Jean-Baptiste Bellet
77e644e3d4
Get adjustment which is not the shipping one
2022-10-08 10:00:57 +02:00
Jean-Baptiste Bellet
72df2867d4
Remove admin_and_handling merging
...
+ update specs as well
2022-10-08 10:00:57 +02:00
Jean-Baptiste Bellet
0cc8349c71
Use fee name for the adjustment label instead of type
...
+ update specs as well
2022-10-08 10:00:57 +02:00
Maikel Linke
47ac118cf7
Simplify ProductSet by using Rails changes feature
...
I added a line to this class before and that made it too long. Now I
removed a line again to keep code quality up.
2022-10-08 09:03:38 +02:00
Maikel Linke
95d68b98a9
Spec both cases of removing variants from order cycles
...
The spec tested only the removal but not he keeping of variants.
I want to change this in the next commit to simplify the class.
2022-10-08 09:03:38 +02:00
Maikel Linke
47a43163d8
Avoid error on empty variant attributes
...
In 2019 Pau observed an error where an empty attributes hash was passed
to the bulk product update method. He added an automated test but wasn't
able to reproduce the error.
A recent change in logic made the spec fail but rspec-retry hid that
fail because it would succeed on a second try (not sure why). I now
changed the logic to ignore empty attributes properly and avoid an error
trying to create a new variant when no attributes are given.
* f940397781 Pau's spec
* 6f228781d4 Fixing error detection
2022-10-08 09:03:38 +02:00
Konrad
52c6f5a222
Fix layout of 'Create a new product' button in dashboard overview
2022-10-07 12:37:45 +02:00
Vishal Jain
b582b61414
add specs to not include hidden hubs
2022-10-07 11:24:32 +02:00
Vishal Jain
6ead127b5c
add not hidden scope to hide hidden hub from producers profile
2022-10-07 11:24:32 +02:00
jibees
22cf05ad94
Merge pull request #9742 from openfoodfoundation/dependabot/bundler/active_storage_validations-1.0.0
...
Bump active_storage_validations from 0.9.8 to 1.0.0
2022-10-07 09:12:47 +02:00
jibees
a2e68026e5
Merge pull request #9743 from openfoodfoundation/dependabot/bundler/sidekiq-scheduler-4.0.3
...
Bump sidekiq-scheduler from 4.0.2 to 4.0.3
2022-10-07 09:09:04 +02:00
dependabot[bot]
c9419d3437
Bump sidekiq-scheduler from 4.0.2 to 4.0.3
...
Bumps [sidekiq-scheduler](https://github.com/moove-it/sidekiq-scheduler ) from 4.0.2 to 4.0.3.
- [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/v4.0.2...v4.0.3 )
---
updated-dependencies:
- dependency-name: sidekiq-scheduler
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-10-06 09:02:55 +00:00
dependabot[bot]
c1f34bc680
Bump active_storage_validations from 0.9.8 to 1.0.0
...
Bumps [active_storage_validations](https://github.com/igorkasyanchuk/active_storage_validations ) from 0.9.8 to 1.0.0.
- [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/compare/0.9.8...1.0.0 )
---
updated-dependencies:
- dependency-name: active_storage_validations
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-10-06 09:02:40 +00:00