Jean-Baptiste Bellet
f8ec71d0d8
Update all locales with the latest Transifex translations
2022-12-16 09:34:23 +01:00
Filipe
006ad6be73
Merge pull request #9929 from abdellani/fix-available-shipping-payment-methods-dont-respect-oc-setting
...
fix payment methods loading on multi-distributor order cycle checkout page
2022-12-15 17:05:03 +00:00
Filipe
d995e7630c
Merge pull request #10076 from abdellani/fix-available-shipping-methods-dont-respect-oc-setting
...
Fix available shipping methods dont respect oc setting
2022-12-15 16:52:16 +00:00
dependabot[bot]
36b3cbb300
Merge pull request #10162 from openfoodfoundation/dependabot/bundler/test-unit-3.5.7
2022-12-15 14:56:56 +00:00
dependabot[bot]
0a5eb9386c
Bump test-unit from 3.5.5 to 3.5.7
...
Bumps [test-unit](https://github.com/test-unit/test-unit ) from 3.5.5 to 3.5.7.
- [Release notes](https://github.com/test-unit/test-unit/releases )
- [Commits](https://github.com/test-unit/test-unit/compare/3.5.5...3.5.7 )
---
updated-dependencies:
- dependency-name: test-unit
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-12-15 09:04:54 +00:00
Filipe
d801b6e970
Merge pull request #10102 from binarygit/enable-save-btn-after-removing-fee
...
[Admin][Order Cycle] Enable save btn after removing fee
2022-12-14 17:13:32 +00:00
Filipe
7fe7a672ae
Merge pull request #9990 from abdellani/get_producer_and_product_taxt_status_in_OCSTR
...
add producer and product tax category tax status to the OCSTs report
2022-12-14 15:25:22 +00:00
Rachel Arnould
fd95970774
Merge pull request #8996 from jibees/introduce-backoffice-ui-uplift
...
Introduce backoffice UI uplift
2022-12-14 14:20:43 +01:00
dependabot[bot]
a046d0538b
Merge pull request #10158 from openfoodfoundation/dependabot/bundler/rails-html-sanitizer-1.4.4
2022-12-14 08:16:38 +00:00
dependabot[bot]
9cd35ddd65
Bump rails-html-sanitizer from 1.4.3 to 1.4.4
...
Bumps [rails-html-sanitizer](https://github.com/rails/rails-html-sanitizer ) from 1.4.3 to 1.4.4.
- [Release notes](https://github.com/rails/rails-html-sanitizer/releases )
- [Changelog](https://github.com/rails/rails-html-sanitizer/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rails/rails-html-sanitizer/compare/v1.4.3...v1.4.4 )
---
updated-dependencies:
- dependency-name: rails-html-sanitizer
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-12-14 07:59:16 +00:00
dependabot[bot]
ac87daab4b
Merge pull request #10155 from openfoodfoundation/dependabot/bundler/loofah-2.19.1
2022-12-14 07:58:33 +00:00
dependabot[bot]
bd0b251724
Bump loofah from 2.19.0 to 2.19.1
...
Bumps [loofah](https://github.com/flavorjones/loofah ) from 2.19.0 to 2.19.1.
- [Release notes](https://github.com/flavorjones/loofah/releases )
- [Changelog](https://github.com/flavorjones/loofah/blob/main/CHANGELOG.md )
- [Commits](https://github.com/flavorjones/loofah/compare/v2.19.0...v2.19.1 )
---
updated-dependencies:
- dependency-name: loofah
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-12-13 20:38:27 +00:00
Rachel Arnould
f3d82b41ad
Merge pull request #10108 from binarygit/transparent-bg-in-ff
...
Fix: Transparent background of 'Complete Order' area on Firefox mobile
2022-12-13 17:34:52 +01:00
dependabot[bot]
a1d939af24
Merge pull request #10153 from openfoodfoundation/dependabot/bundler/view_component-2.79.0
2022-12-13 09:21:38 +00:00
dependabot[bot]
eeacdb676e
Bump view_component from 2.78.0 to 2.79.0
...
Bumps [view_component](https://github.com/viewcomponent/view_component ) from 2.78.0 to 2.79.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.78.0...v2.79.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-12-13 09:04:37 +00:00
jibees
21366f8109
Merge pull request #10127 from filipefurtad0/split_system_tests
...
Splits admin and consumer system tests into two runner machines
2022-12-12 16:14:56 +01:00
jibees
e4bfe7fac6
Merge pull request #10057 from filipefurtad0/fix_rspec_mocks_deprecation_2
...
Updates syntax to remove depracation warnings
2022-12-12 16:02:52 +01:00
Jean-Baptiste Bellet
a8278446b3
Simplify the way we render the name column
2022-12-12 15:20:30 +01:00
Jean-Baptiste Bellet
10bfe00123
Rename column "Name"
2022-12-12 15:20:30 +01:00
dependabot[bot]
e790fc2b7b
Merge pull request #10140 from openfoodfoundation/dependabot/bundler/knapsack_pro-3.6.0
2022-12-12 13:52:50 +00:00
dependabot[bot]
deff728ca8
Merge pull request #10138 from openfoodfoundation/dependabot/npm_and_yarn/floating-ui/dom-1.0.10
2022-12-12 13:51:59 +00:00
dependabot[bot]
064e97d7ee
Bump knapsack_pro from 3.5.0 to 3.6.0
...
Bumps [knapsack_pro](https://github.com/KnapsackPro/knapsack_pro-ruby ) from 3.5.0 to 3.6.0.
- [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.5.0...v3.6.0 )
---
updated-dependencies:
- dependency-name: knapsack_pro
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-12-12 09:05:44 +00:00
dependabot[bot]
3003ba0fc0
Bump @floating-ui/dom from 1.0.9 to 1.0.10
...
Bumps [@floating-ui/dom](https://github.com/floating-ui/floating-ui/tree/HEAD/packages/dom ) from 1.0.9 to 1.0.10.
- [Release notes](https://github.com/floating-ui/floating-ui/releases )
- [Commits](https://github.com/floating-ui/floating-ui/commits/@floating-ui/dom@1.0.10/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-12-12 09:02:19 +00:00
Mohamed ABDELLANI
9fbdb311b0
Update app/services/order_available_payment_methods.rb
...
Co-authored-by: jibees <jb.bellet@gmail.com >
2022-12-10 11:51:35 +01:00
Rachel Arnould
5ed6e5599d
Merge pull request #9943 from mkllnk/dfc-provider-test
...
DFC 1.6 prototype
2022-12-09 19:35:49 +01:00
filipefurtad0
900ff6d053
Enables queue mode for system/admin and system/consumer
2022-12-08 20:50:44 +00:00
filipefurtad0
4d605c7060
Splits admin and consumer system tests
...
Disables queue mode for system tests
2022-12-08 20:50:44 +00:00
Jean-Baptiste Bellet
ffba628691
Update all locales with the latest Transifex translations
2022-12-08 21:36:51 +01:00
Filipe
8b416a8eda
Merge pull request #10106 from openfoodfoundation/dependabot/bundler/knapsack_pro-3.5.0
...
Bump knapsack_pro from 3.4.2 to 3.5.0
2022-12-08 19:27:04 +00:00
filipefurtad0
2c18e97fb8
Fixes deprecation warnings on authorizer_spec
2022-12-08 18:42:48 +00:00
dependabot[bot]
e11d644a95
Merge pull request #10122 from openfoodfoundation/dependabot/npm_and_yarn/floating-ui/dom-1.0.9
2022-12-08 11:09:34 +00:00
dependabot[bot]
26131d105e
Merge pull request #10121 from openfoodfoundation/dependabot/bundler/rubocop-1.40.0
2022-12-08 11:08:50 +00:00
dependabot[bot]
cfa0a502f1
Bump @floating-ui/dom from 1.0.8 to 1.0.9
...
Bumps [@floating-ui/dom](https://github.com/floating-ui/floating-ui/tree/HEAD/packages/dom ) from 1.0.8 to 1.0.9.
- [Release notes](https://github.com/floating-ui/floating-ui/releases )
- [Commits](https://github.com/floating-ui/floating-ui/commits/@floating-ui/dom@1.0.9/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-12-08 09:02:00 +00:00
dependabot[bot]
869a6b42d3
Bump rubocop from 1.39.0 to 1.40.0
...
Bumps [rubocop](https://github.com/rubocop/rubocop ) from 1.39.0 to 1.40.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.39.0...v1.40.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-12-08 09:01:46 +00:00
dependabot[bot]
fdf3a0d7b7
Merge pull request #10118 from openfoodfoundation/dependabot/bundler/nokogiri-1.13.10
2022-12-08 07:48:22 +00:00
Mohamed ABDELLANI
d5c9c53d8b
fix the failing test
2022-12-08 08:32:11 +01:00
dependabot[bot]
1f98ef5074
Bump nokogiri from 1.13.9 to 1.13.10
...
Bumps [nokogiri](https://github.com/sparklemotion/nokogiri ) from 1.13.9 to 1.13.10.
- [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.9...v1.13.10 )
---
updated-dependencies:
- dependency-name: nokogiri
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-12-08 04:08:49 +00:00
Filipe
996d3afe4f
Merge pull request #9983 from cillian/remove-exchange-tags-n1-query
...
Remove N+1 query loading tags for each order cycle exchange
2022-12-07 17:38:41 +00:00
Jean-Baptiste Bellet
500c4e8a2f
Already handled by app/webpacker/controllers/index.js
...
Controller were instanced twice.
2022-12-07 15:38:20 +01:00
Jean-Baptiste Bellet
5002870b39
Add missing i18n translation for PaginationComponent
2022-12-07 15:08:54 +01:00
Jean-Baptiste Bellet
d97e9ae824
Remove white space
2022-12-07 15:08:54 +01:00
Jean-Baptiste Bellet
f0e0bac3b5
As components: key already exists, use it!
...
(this key was added during the development of the PR)
2022-12-07 15:08:54 +01:00
Jean-Baptiste Bellet
ec31d63c58
Do not import/initialize twice
...
Already done in "controllers"
2022-12-07 15:08:54 +01:00
Jean-Baptiste Bellet
9dfc22451e
Selectors are close by default
2022-12-07 15:08:54 +01:00
Jean-Baptiste Bellet
3cf01623da
Handle filtering on js controller for SelectorWithFilter
2022-12-07 15:08:54 +01:00
Jean-Baptiste Bellet
274ee2c6f6
Toggle is now controlled by the browser (and don't requires a reflex)
2022-12-07 15:08:54 +01:00
Jean-Baptiste Bellet
940b554d23
Toggle is now controlled by the browser (and don't requires a reflex)
2022-12-07 15:08:54 +01:00
Jean-Baptiste Bellet
91d1ecea2e
Click the whole Selector instead of arrow only
2022-12-07 15:08:54 +01:00
Jean-Baptiste Bellet
fbf2315a93
Rename SuperSelector to SelectorWithFilter
2022-12-07 15:08:53 +01:00
Jean-Baptiste Bellet
428256a323
Exclude products_table_component from Metrics/ClassLength rubocop rule
2022-12-07 15:08:53 +01:00
Jean-Baptiste Bellet
20218c00ab
Manage i18n for ProductsTable component
2022-12-07 15:08:53 +01:00
Jean-Baptiste Bellet
18adcb7fa4
Handle i18n for SuperSelector component
2022-12-07 15:08:53 +01:00
Jean-Baptiste Bellet
56b94342eb
Manage i18n for SearchInput component
2022-12-07 15:08:53 +01:00
Jean-Baptiste Bellet
758c40c646
Manage i18n for Products page
2022-12-07 15:08:53 +01:00
Jean-Baptiste Bellet
98391b60c6
Use CSS vars to match linter
2022-12-07 15:08:53 +01:00
Jean-Baptiste Bellet
3e03208cf5
Add loading state for ProductsTable component
2022-12-07 15:08:53 +01:00
Jean-Baptiste Bellet
3ae5db907a
Create js controller for ProductsTable component
...
Handle before/after reflex lifecycle methods on client side
Add 'loading" class on products-table component
2022-12-07 15:08:53 +01:00
Jean-Baptiste Bellet
27c1fe2f06
Add search query input to search for product by name
2022-12-07 15:08:53 +01:00
Jean-Baptiste Bellet
122677bc7a
Create SearchInput component
2022-12-07 15:08:53 +01:00
Jean-Baptiste Bellet
22d13621f4
Only send close reflex if element is actually visible
2022-12-07 15:08:53 +01:00
Jean-Baptiste Bellet
265b4823a7
Add static var + freeze
2022-12-07 15:08:53 +01:00
Jean-Baptiste Bellet
5e689fcce3
No need to fetch as it's done inside beforeReflex lifecycle method
2022-12-07 15:08:53 +01:00
Jean-Baptiste Bellet
e801bb5e40
some CSS linter
2022-12-07 15:08:53 +01:00
Jean-Baptiste Bellet
d75c62a621
Add TableHeader component and better columns implementation
2022-12-07 15:08:53 +01:00
Jean-Baptiste Bellet
1de7fb6fe8
Create TableHeader component
2022-12-07 15:08:53 +01:00
Jean-Baptiste Bellet
d37cd09c84
Use the reflex_data_attributes helper method
2022-12-07 15:08:53 +01:00
Jean-Baptiste Bellet
cb24efbc4a
Some styling improvments
2022-12-07 15:08:53 +01:00
Jean-Baptiste Bellet
c23d4f63ed
Add pagination to ProductsTable component
2022-12-07 15:08:53 +01:00
Jean-Baptiste Bellet
c7197364d1
Add a pagination component that handle pagy
2022-12-07 15:08:53 +01:00
Jean-Baptiste Bellet
069b314ae7
Add producer and category to a product in the table
...
+ refactor and automatize optional column rendered
2022-12-07 15:08:53 +01:00
Jean-Baptiste Bellet
7716d2734e
Title of the items per page selector is clearer
2022-12-07 15:08:53 +01:00
Jean-Baptiste Bellet
8adcdf14a7
Include search by category and producer
...
+ use ransack (not sur this one is relevant)
+ fetch_products in the `before_render` lifecycle method
2022-12-07 15:08:52 +01:00
Jean-Baptiste Bellet
224daf2591
Factorize js controller between Selectore and SuperSelector components
...
+ add a computeItemsHeight on afterReflex callback
2022-12-07 15:08:52 +01:00
Jean-Baptiste Bellet
4fa88b9c18
Fatorize CSS between Selector and SuperSelector components
2022-12-07 15:08:52 +01:00
Jean-Baptiste Bellet
1adb22be71
Create SelectorWithFilter component
2022-12-07 15:08:52 +01:00
Jean-Baptiste Bellet
d4cfa7b368
Add header to the table
2022-12-07 15:08:52 +01:00
Jean-Baptiste Bellet
5c5a0c98f1
Rename selected to columns_selected
2022-12-07 15:08:52 +01:00
Jean-Baptiste Bellet
8ce3c9f449
Introduce a new selector: # of results per page
2022-12-07 15:08:52 +01:00
Jean-Baptiste Bellet
5ea7bea9b8
Selector now handle {label, value} instead of only string
2022-12-07 15:08:52 +01:00
Jean-Baptiste Bellet
461d31bef1
Create ProductsTable component that handle the table + all filters
2022-12-07 15:08:52 +01:00
Jean-Baptiste Bellet
8758a2701c
Configure CSS for VC components
...
Move CSS for components in the component directory
2022-12-07 15:08:52 +01:00
Jean-Baptiste Bellet
2b7bccf890
Create Selector component
...
Add a onClickOutside behavior that close the component if clicked outside
Selector component doesn't handle its state but receive props from parent
u
2022-12-07 15:08:52 +01:00
Jean-Baptiste Bellet
7692cebbd3
Create Product component
...
Update product_component.html.haml
2022-12-07 15:08:52 +01:00
Jean-Baptiste Bellet
1869536529
Install view_component_reflex + cable_ready
...
+ Add stimulus reflex in the admin section
+ log stimulusreflex
+ Create channel and connection
+ Some logging options
+ Create application_controller each stimulus reflex controller should inherits from this one
2022-12-07 15:08:52 +01:00
Jean-Baptiste Bellet
d7d29e3654
Create a new controller for new products page
...
Controller is constrained by FeatureToggle
- new_products_page
- and available on '/new_products'
Add simple view for new products page and a product
Add new products page as a new entry in the menu
2022-12-07 15:08:52 +01:00
dependabot[bot]
2aea5d4957
Merge pull request #10111 from openfoodfoundation/dependabot/npm_and_yarn/express-4.18.2
2022-12-07 14:02:04 +00:00
dependabot[bot]
a328888fc2
Bump express from 4.17.1 to 4.18.2
...
Bumps [express](https://github.com/expressjs/express ) from 4.17.1 to 4.18.2.
- [Release notes](https://github.com/expressjs/express/releases )
- [Changelog](https://github.com/expressjs/express/blob/master/History.md )
- [Commits](https://github.com/expressjs/express/compare/4.17.1...4.18.2 )
---
updated-dependencies:
- dependency-name: express
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-12-07 13:47:24 +00:00
jibees
c33c4860c8
Merge pull request #10110 from jibees/remove-test-prof
...
Remove `test-prof` as no longer required
2022-12-07 14:47:02 +01:00
jibees
efe8030786
Merge pull request #10071 from filipefurtad0/knapsack_fine_tuning
...
Simplifies build.yml syntax
2022-12-07 14:46:48 +01:00
Jean-Baptiste Bellet
76412bfcae
Remove test-prof as no longer required
2022-12-07 14:29:58 +01:00
Jean-Baptiste Bellet
69faf590b0
Create a spy obj for order_cycle_form as required now by removeCoordinatorFee()
...
Based on `spec/javascripts/unit/admin/order_cycles/controllers/order_cycle_exchanges_controller_spec.js.coffee`
2022-12-07 09:37:31 +01:00
binarygit
2f037c3965
Fix: Transparent background of 'Complete Order' area on Firefox mobile
2022-12-07 12:21:03 +05:45
filipefurtad0
70193539b2
Fixes deprecation warnings on parameters_spec
2022-12-06 15:49:28 +00:00
filipefurtad0
8ee5050a49
Fixes deprecation warnings on tax_rate_spec
2022-12-06 15:49:28 +00:00
filipefurtad0
2e4a8f8ae8
Fixes deprecation warnings on payment_spec
2022-12-06 15:49:19 +00:00
dependabot[bot]
8ee05789ef
Merge pull request #10105 from openfoodfoundation/dependabot/bundler/json-2.6.3
2022-12-06 09:40:21 +00:00
dependabot[bot]
e2a8ab16b4
Merge pull request #10104 from openfoodfoundation/dependabot/npm_and_yarn/floating-ui/dom-1.0.8
2022-12-06 09:39:49 +00:00
dependabot[bot]
6fb337b81c
Bump knapsack_pro from 3.4.2 to 3.5.0
...
Bumps [knapsack_pro](https://github.com/KnapsackPro/knapsack_pro-ruby ) from 3.4.2 to 3.5.0.
- [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.2...v3.5.0 )
---
updated-dependencies:
- dependency-name: knapsack_pro
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-12-06 09:04:54 +00:00
dependabot[bot]
387a46e1db
Bump json from 2.6.2 to 2.6.3
...
Bumps [json](https://github.com/flori/json ) from 2.6.2 to 2.6.3.
- [Release notes](https://github.com/flori/json/releases )
- [Changelog](https://github.com/flori/json/blob/master/CHANGES.md )
- [Commits](https://github.com/flori/json/compare/v2.6.2...v2.6.3 )
---
updated-dependencies:
- dependency-name: json
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-12-06 09:02:33 +00:00
dependabot[bot]
1db85e295b
Bump @floating-ui/dom from 1.0.7 to 1.0.8
...
Bumps [@floating-ui/dom](https://github.com/floating-ui/floating-ui/tree/HEAD/packages/dom ) from 1.0.7 to 1.0.8.
- [Release notes](https://github.com/floating-ui/floating-ui/releases )
- [Commits](https://github.com/floating-ui/floating-ui/commits/@floating-ui/dom@1.0.8/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-12-06 09:01:30 +00:00
binarygit
7df2ad13c6
[Admin][Order Cycle] Enable save btn after removing fee
2022-12-06 10:22:10 +05:45
dependabot[bot]
fee99a95f8
Merge pull request #10086 from openfoodfoundation/dependabot/bundler/bugsnag-6.25.0
2022-12-05 14:00:17 +00:00
dependabot[bot]
ab70a85866
Merge pull request #10095 from openfoodfoundation/dependabot/npm_and_yarn/js-big-decimal-1.3.13
2022-12-05 10:03:54 +00:00
dependabot[bot]
d31c2d95b3
Merge pull request #10096 from openfoodfoundation/dependabot/bundler/debug-1.7.0
2022-12-05 10:03:38 +00:00
dependabot[bot]
44af982b3e
Merge pull request #10094 from openfoodfoundation/dependabot/bundler/digest-3.1.1
2022-12-05 10:02:51 +00:00
dependabot[bot]
2ea22248e0
Bump digest from 3.1.0 to 3.1.1
...
Bumps [digest](https://github.com/ruby/digest ) from 3.1.0 to 3.1.1.
- [Release notes](https://github.com/ruby/digest/releases )
- [Commits](https://github.com/ruby/digest/compare/v3.1.0...v3.1.1 )
---
updated-dependencies:
- dependency-name: digest
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-12-05 09:49:09 +00:00
dependabot[bot]
9d58f16012
Bump debug from 1.6.3 to 1.7.0
...
Bumps [debug](https://github.com/ruby/debug ) from 1.6.3 to 1.7.0.
- [Release notes](https://github.com/ruby/debug/releases )
- [Commits](https://github.com/ruby/debug/compare/v1.6.3...v1.7.0 )
---
updated-dependencies:
- dependency-name: debug
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-12-05 09:48:38 +00:00
dependabot[bot]
f2838105fe
Bump js-big-decimal from 1.3.12 to 1.3.13
...
Bumps [js-big-decimal](https://github.com/royNiladri/js-big-decimal ) from 1.3.12 to 1.3.13.
- [Release notes](https://github.com/royNiladri/js-big-decimal/releases )
- [Commits](https://github.com/royNiladri/js-big-decimal/compare/v1.3.12...v1.3.13 )
---
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-12-05 09:48:27 +00:00
Mohamed ABDELLANI
500c23ce27
fix failing tests after replacing "" with none
2022-12-05 10:03:56 +01:00
Mohamed ABDELLANI
fac8926396
map nil to "none" in format cell
2022-12-05 08:57:07 +01:00
Mohamed ABDELLANI
bd4b3110c1
test OrderCycleSupplierTotals with different combination: product with/without tax category, supplier enabled/disabled vat
2022-12-05 08:57:02 +01:00
Mohamed ABDELLANI
f7cd168f6d
define producer_charges_sales_tax && product_tax_category as new hidden by default columns
2022-12-05 08:44:33 +01:00
Konrad
07c29df801
Merge pull request #10039 from abdellani/fix_missing_products_in_bulk_coop_packing_sheets_report
...
fix Missing products in Bulk co-op Packing Sheets report
2022-12-02 18:19:47 +01:00
Konrad
6ac21eaab4
Merge pull request #9999 from abdellani/add-ability-to-save-rendering-options-per-report
...
Add ability to save rendering options per report
2022-12-02 14:33:37 +01:00
dependabot[bot]
ff0b84c9c0
Merge pull request #10084 from openfoodfoundation/dependabot/npm_and_yarn/storybook/addon-controls-6.5.14
2022-12-02 10:27:52 +00:00
dependabot[bot]
26f40dea6f
Merge pull request #10085 from openfoodfoundation/dependabot/npm_and_yarn/storybook/addon-docs-6.5.14
2022-12-02 10:27:32 +00:00
dependabot[bot]
188a0f5d25
Merge pull request #10087 from openfoodfoundation/dependabot/npm_and_yarn/decode-uri-component-0.2.2
2022-12-02 09:41:01 +00:00
dependabot[bot]
454c3d6e31
Bump @storybook/addon-docs from 6.5.13 to 6.5.14
...
Bumps [@storybook/addon-docs](https://github.com/storybookjs/storybook/tree/HEAD/addons/docs ) from 6.5.13 to 6.5.14.
- [Release notes](https://github.com/storybookjs/storybook/releases )
- [Changelog](https://github.com/storybookjs/storybook/blob/v6.5.14/CHANGELOG.md )
- [Commits](https://github.com/storybookjs/storybook/commits/v6.5.14/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-12-02 09:30:22 +00:00
dependabot[bot]
f76f885ffa
Bump @storybook/addon-controls from 6.5.13 to 6.5.14
...
Bumps [@storybook/addon-controls](https://github.com/storybookjs/storybook/tree/HEAD/addons/controls ) from 6.5.13 to 6.5.14.
- [Release notes](https://github.com/storybookjs/storybook/releases )
- [Changelog](https://github.com/storybookjs/storybook/blob/v6.5.14/CHANGELOG.md )
- [Commits](https://github.com/storybookjs/storybook/commits/v6.5.14/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-12-02 09:30:01 +00:00
dependabot[bot]
f654e52fbb
Bump decode-uri-component from 0.2.0 to 0.2.2
...
Bumps [decode-uri-component](https://github.com/SamVerschueren/decode-uri-component ) from 0.2.0 to 0.2.2.
- [Release notes](https://github.com/SamVerschueren/decode-uri-component/releases )
- [Commits](https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.0...v0.2.2 )
---
updated-dependencies:
- dependency-name: decode-uri-component
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-12-02 09:29:54 +00:00
dependabot[bot]
b8400e3655
Merge pull request #10083 from openfoodfoundation/dependabot/npm_and_yarn/storybook/server-6.5.14
2022-12-02 09:29:23 +00:00
dependabot[bot]
8168f122a0
Bump bugsnag from 6.24.2 to 6.25.0
...
Bumps [bugsnag](https://github.com/bugsnag/bugsnag-ruby ) from 6.24.2 to 6.25.0.
- [Release notes](https://github.com/bugsnag/bugsnag-ruby/releases )
- [Changelog](https://github.com/bugsnag/bugsnag-ruby/blob/master/CHANGELOG.md )
- [Commits](https://github.com/bugsnag/bugsnag-ruby/compare/v6.24.2...v6.25.0 )
---
updated-dependencies:
- dependency-name: bugsnag
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-12-02 09:04:18 +00:00
dependabot[bot]
7a2084e4e7
Bump @storybook/server from 6.5.13 to 6.5.14
...
Bumps [@storybook/server](https://github.com/storybookjs/storybook/tree/HEAD/app/server ) from 6.5.13 to 6.5.14.
- [Release notes](https://github.com/storybookjs/storybook/releases )
- [Changelog](https://github.com/storybookjs/storybook/blob/v6.5.14/CHANGELOG.md )
- [Commits](https://github.com/storybookjs/storybook/commits/v6.5.14/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-12-02 09:01:21 +00:00
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
Mohamed ABDELLANI
2fa05ae248
test the case where 2 PR supports 2 SM, and only one SM is checked for a distributor in the OC
2022-11-30 12:43:23 +01:00
Mohamed ABDELLANI
ca795fcf6e
fix OrderAvailableShippingMethods to load the select shipping methods only
2022-11-30 12:42:12 +01: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
2e5f0d302f
Removes unecessary syntax
2022-11-30 09:05:19 +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
Mohamed ABDELLANI
005d5cafde
test if the rendering options are stored for every reports seperately and if they persiste after logout
2022-11-28 11:35:00 +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
Mohamed ABDELLANI
e20e519201
test when two distributors support the same PMs, and only one PM is checked for a distributor in the OC
2022-11-25 10:04:29 +01:00
Mohamed ABDELLANI
c35c003e5a
load exclusively the payment methods that are available on the distributor
2022-11-25 09:23:39 +01:00
Mohamed ABDELLANI
e25f4b1daa
integrate ReportRenderingOptions in the View/Controller
2022-11-25 09:10:53 +01:00
David Cook
7b965718aa
Authorise based on user's UID
...
And test to make sure the wrong user is not selected.
2022-11-25 16:14:25 +11:00
David Cook
61e7b59437
Refactor spec
...
Ready to expand in the next commit.
2022-11-25 16:14:20 +11:00
David Cook
ff9544e08b
Allow AuthorizationControl to run without Warden
...
As explained in 36c44a5487 , it's not normally good to change production code to make testing easier.
But this tiny change makes it more robust, and enables much simpler specs.
2022-11-25 16:01:42 +11:00
Maikel Linke
029c0afaa9
Verify token signature for authenticated login
...
We were just logging in any user without password or other verification
before. Now we verify the Keycloak signature and know that the person is
indeed logged in.
2022-11-25 14:49:36 +11:00
Maikel Linke
33ee03388f
Add DFC product update action, not implemented
2022-11-25 14:49:36 +11:00
Maikel Linke
4d49266f0f
Allow updates just with auth token
...
Rails usually requires an additional CSRF protection token but when it's
not present we ignore the user's session and use only the OIDC auth
token.
2022-11-25 14:49:36 +11:00
Maikel Linke
aea6f864d9
Update to DFC v1.6
...
I just replaced dfc: with dfc-b: where I found this key used in the
prototype. We may need to change more.
2022-11-25 14:49:36 +11:00
Maikel Linke
4cdb224434
Add missing rdfs prefix to DFC context
2022-11-25 14:49:36 +11:00
Maikel Linke
8d6615aa6b
Start to spec DFC auth control
2022-11-25 14:49:36 +11:00
Maikel Linke
b0aa7b7b55
Use Rspec's http matcher for better fail output
...
The previous version would just say that it expected true and got false.
The specific matcher tells us which code it expected and which code it
found.
2022-11-25 14:49:36 +11:00
Maikel Linke
c90d2c7f9a
Spec DFC authorisation with real token
...
Our code doesn't actually verify the token yet but at least we are not
mocking it all anymore.
2022-11-25 14:49:36 +11:00
Maikel Linke
63c1cd7bff
Remove invalid id attribute from DFC offer
...
This one is a bit confusing. The attribute changes throughout the
different versions of the ontology and the DFC examples are not in line
with the specification. WIP I guess.
The previous nil attribute failed JSON-LD validation and DFC examples
just contain the reference as I did it now. But I think that we will
need to update it again vor DFC-v1.7.
2022-11-25 14:49:36 +11:00
Maikel Linke
ee3ec15bc4
Update URL to DFC ontology
2022-11-25 14:49:36 +11:00
Maikel Linke
b9a43df7fe
Include DFC version in API URL
...
And let the OFN app decide under which name to mount the DFC engine.
It simplifies the code and will make it more flexible to introduce other
versions in the future.
2022-11-25 14:49:36 +11:00
Maikel Linke
fd274447fe
Simplify DFC authentication code
2022-11-25 14:49:36 +11:00
Maikel Linke
52a98989e0
Allow logged in users to access DFC API
...
It makes testing in development so much easier.
2022-11-25 14:49:36 +11:00
Maikel Linke
96193a27a4
Simplify DFC authorisation control
...
I want to add other ways to authenticate for easier testing and possibly
more integrations. It will be easier to just test if we got a user or
not instead of testing pre-conditions to that as well.
2022-11-25 14:49:36 +11:00
Maikel Linke
2630fde763
Update dfc_provider for Active Storage images
2022-11-25 14:49:36 +11:00
Maikel Linke
a501bc9687
Encapsulate dfc_provider in api routing
...
Move /api/v0/dfc_provider to /api/dfc_provider. Before it got redirected
to v0 which caused some errors.
2022-11-25 14:49:36 +11: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
Mohamed ABDELLANI
845133d3f6
group line_items by [customer,variant] in bulk/coop/packing_sheets
2022-11-24 11:06:09 +01:00
Mohamed ABDELLANI
b6a7ca3047
create ReportRenderingOptions model
2022-11-24 10:25:59 +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
Cillian O'Ruanaidh
b33d382069
Order BatchTaggableTagsQuery by name for consistency and to avoid flakey test failure
2022-11-18 15:05:03 +00:00
Cillian O'Ruanaidh
a8816b3788
Remove debugging code left in by accident
2022-11-18 14:40:30 +00: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
Cillian O'Ruanaidh
fbe6dcba7a
Remove N+1 query loading tags for each order cycle exchange
2022-11-11 17:01:46 +00: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
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
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
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 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
Jean-Baptiste Bellet
e16c8661a2
Use the same template even if there is no sub_report
2022-10-25 15:27:43 +02: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
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
Konrad
3489f08ec5
Format reports as list, even if only one sub-type available
2022-10-25 00:31:00 +02:00
saunmanoj888
490c5afc59
Mock bigDecimal methods in specs
2022-10-25 00:05:31 +05:30
saunmanoj888
ee8454bd2c
Use js-big-decimal package for calculation
2022-10-21 21:30:00 +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