Maikel
4e52fc28ef
Merge pull request #11756 from rioug/11712_DFC_add_image_to_product
...
[DFC API] add image to product
2023-11-09 09:37:06 +11:00
Maikel Linke
d0dd6e57ca
Replace variable values with fixed values in Swagger doc
2023-11-08 17:12:42 +11:00
Gaetan Craig-Riou
f76bdf0c6f
Fix rubocop warning
2023-11-08 13:57:35 +11:00
Gaetan Craig-Riou
11ee4b30c2
Update Swagger documentation to include ofn:image
2023-11-08 13:57:35 +11:00
Gaetan Craig-Riou
7987967824
Check product image url is present on supplied product endpoint
2023-11-08 13:57:35 +11:00
Gaetan Craig-Riou
12c6257a0f
Pass the image url to DfcProvider::SuppliedProduct
2023-11-08 13:57:35 +11:00
Gaetan Craig-Riou
424954ec54
Add ofn:image to SuppliedProduct
...
Temporary solution as we wait for the DFC connector to be updated
to support "dfc_b:image" for SuppliedProduct
2023-11-08 13:57:35 +11:00
Maikel
cbc2ef54c8
Merge pull request #11778 from openfoodfoundation/dependabot/bundler/bullet-7.1.3
...
chore(deps-dev): bump bullet from 7.1.2 to 7.1.3
2023-11-08 13:57:04 +11:00
Maikel
13e7448739
Merge pull request #11777 from openfoodfoundation/dependabot/bundler/cuprite-0.15
...
chore(deps-dev): bump cuprite from 0.14.3 to 0.15
2023-11-08 13:56:28 +11:00
Maikel
3eb9cf994b
Merge pull request #11758 from openfoodfoundation/dependabot/bundler/stripe-10.1.0
...
chore(deps): bump stripe from 10.0.0 to 10.1.0
2023-11-08 13:49:19 +11:00
Maikel
dd1f358d36
Merge pull request #11757 from dacook/buu-disabled-button
...
[BUU] Grey out disabled button
2023-11-08 13:48:23 +11:00
David Cook
9172c87fce
Merge pull request #11701 from macanudo527/remove_bogus_gateways
...
Remove bogus gateways
2023-11-08 09:36:36 +11:00
Neal Chambers
af764bd38e
Move payment_intent to Helper
2023-11-07 16:30:50 +09:00
Neal Chambers
31fda7169d
Delete Bogus and BogusSimple Gateways from Locales
2023-11-07 11:19:26 +09:00
Neal Chambers
1456f3b7db
Remove Bogus Gateway from Sample Data
2023-11-07 11:19:26 +09:00
Neal Chambers
3ddf3c05ae
Remove References to Bogus in Pending Specs
2023-11-07 11:19:26 +09:00
Neal Chambers
6ba8c88ea7
Rewrite Specs to Use Paypal or Stripe Gateway instead of Bogus
2023-11-07 11:19:26 +09:00
Neal Chambers
0663f04535
Remove Simple References to Bogus Gateway
2023-11-07 11:19:26 +09:00
Neal Chambers
74870ff0ad
Delete Bogus Gateway Files
2023-11-07 11:19:23 +09:00
dependabot[bot]
1c878e7fa9
chore(deps-dev): bump bullet from 7.1.2 to 7.1.3
...
Bumps [bullet](https://github.com/flyerhzm/bullet ) from 7.1.2 to 7.1.3.
- [Changelog](https://github.com/flyerhzm/bullet/blob/main/CHANGELOG.md )
- [Commits](https://github.com/flyerhzm/bullet/compare/7.1.2...7.1.3 )
---
updated-dependencies:
- dependency-name: bullet
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-11-06 10:00:55 +00:00
dependabot[bot]
19a385b4eb
chore(deps-dev): bump cuprite from 0.14.3 to 0.15
...
Bumps [cuprite](https://github.com/rubycdp/cuprite ) from 0.14.3 to 0.15.
- [Release notes](https://github.com/rubycdp/cuprite/releases )
- [Changelog](https://github.com/rubycdp/cuprite/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rubycdp/cuprite/compare/v0.14.3...v0.15 )
---
updated-dependencies:
- dependency-name: cuprite
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-11-06 09:56:52 +00:00
Rachel Arnould
1e15d32a24
Merge pull request #11679 from abdellani/new_and_unique_invoice_template
...
New and unique invoice template
2023-11-03 16:49:19 +01:00
dependabot[bot]
01b24a8383
chore(deps): bump stripe from 10.0.0 to 10.1.0
...
Bumps [stripe](https://github.com/stripe/stripe-ruby ) from 10.0.0 to 10.1.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/v10.0.0...v10.1.0 )
---
updated-dependencies:
- dependency-name: stripe
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-11-03 09:30:15 +00:00
Sigmund Petersen
40c14c6ae3
Merge pull request #11749 from mkllnk/cuprite
...
Clarify cuprite driver configuration
2023-11-03 09:59:36 +01:00
David Cook
f9fc1657a8
Grey out disabled button
...
It looks like the disabled-bg colour was being used for pagination, but I can't see where. This way we should be able to apply the styles more consistently in the future.
2023-11-03 17:28:20 +11:00
David Cook
38296eb967
Merge pull request #11755 from mkllnk/cleaning
...
Remove orphaned JSON data in admin pages
2023-11-03 16:02:10 +11:00
Maikel
eef7df8ce3
Merge pull request #11750 from dacook/buu-editing-part5c-show-summary-11059
...
[BUU] Showing error summary at top of form
2023-11-03 15:45:24 +11:00
Maikel Linke
f6903518c3
Remove orphaned JSON data in admin pages
...
This was left over data from commit:
- 79ba223e12
2023-11-03 15:16:22 +11:00
David Cook
7fe6f3fe89
Disable form elements in a disabled-section
...
I chose to use the 'elements' collection rather than choosing which elements to include (ie this supports inputs, textareas, buttons and anything else I didn't think of). It could be a bit simpler if we assume the element is a form. Even simpler if it's a fieldset (that has a disabled property). But I didn't want to limit it too much.
Unfortunately JS is quite ugly compared to Ruby. And 'prettier' made it uglier in my opinion.
2023-11-03 14:32:58 +11:00
David Cook
f63f37fd3b
Wrap form element in a form
...
This makes it easier to control in the next commit.
2023-11-03 14:32:58 +11:00
David Cook
d0abbc5d2c
Ensure error summary always shows when error
...
Best viewed with whitespace ignored.
2023-11-03 14:32:58 +11:00
David Cook
41cf0bedfc
Fix: Handle missing attributes
2023-11-03 14:32:58 +11:00
David Cook
f05d27b58b
Show error message summary at top of form
2023-11-03 14:32:58 +11:00
David Cook
a94c50f0c1
Count updated products
...
Ignoring variants for now.
2023-11-03 14:32:58 +11:00
David Cook
de915e8bd7
Capture variant errors when updating
2023-11-03 14:32:55 +11:00
Maikel Linke
d64b311230
Update all locales with the latest Transifex translations
v4.4.18
2023-11-03 12:56:16 +11:00
Filipe
771bd93f5f
Merge pull request #11677 from rioug/11359-vouchers-fix-tax-moving-back-in-checkout
...
[vouchers] fix tax calculation when moving back in the checkout process
2023-11-02 17:02:08 +00:00
David Cook
1d5ec6b8d2
Spec for updating products with variants
...
Trying to cover it more comprehensively, and revealing we have a lot of behaviour to update.
Products and their variants should always get saved (or not saved) together. This is considered the most intuitive behaviour.
There's still duplication with the "variant has error" context, but I try to avoid nesting shared_examples, it starts to get ugly. Happy to discuss though.
2023-11-02 15:42:40 +11:00
Maikel
eea08ac0a1
Merge pull request #11745 from openfoodfoundation/dependabot/bundler/sidekiq-7.2.0
...
chore(deps): bump sidekiq from 7.1.6 to 7.2.0
2023-11-02 15:33:53 +11:00
Maikel Linke
c4c5c97270
Clarify cuprite driver configuration
...
Rails is registering a driver called `cuprite`. And when we did that as
well the driver got registered three times somehow. It looked like our
driver options were used in the end but just to clarify I gave it a
unique name.
This was inspired by:
* https://github.com/ViewComponent/view_component/pull/1877
It suggests that it may avoid dead browser errors on CI. We'll see.
2023-11-02 14:07:33 +11:00
David Cook
e651e3cd5e
Tiny spec refactor
...
I found this in my stashes
2023-11-02 11:05:45 +11:00
David Cook
39eeb0e917
Add spec for truthiness
...
It's generally expected that a #save method will return true on succes, and false on failure.
2023-11-02 11:05:45 +11:00
dependabot[bot]
744b0799a6
chore(deps): bump sidekiq from 7.1.6 to 7.2.0
...
Bumps [sidekiq](https://github.com/sidekiq/sidekiq ) from 7.1.6 to 7.2.0.
- [Changelog](https://github.com/sidekiq/sidekiq/blob/main/Changes.md )
- [Commits](https://github.com/sidekiq/sidekiq/compare/v7.1.6...v7.2.0 )
---
updated-dependencies:
- dependency-name: sidekiq
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-11-01 09:26:51 +00:00
David Cook
d8cc45c5c3
Merge pull request #11742 from filipefurtad0/vcr_payment_intent_validator_spec
...
Replaces mocks with VCR calls
2023-11-01 17:04:00 +11:00
David Cook
031abd6546
Merge pull request #11743 from openfoodfoundation/revert-11708-test-redis-5
...
Revert "replace hiredis gem with hiredis-client"
2023-11-01 16:08:49 +11:00
Maikel
6a236a8678
Revert "replace hiredis gem with hiredis-client"
2023-11-01 15:16:57 +11:00
Maikel
8e88ef021f
Merge pull request #11738 from openfoodfoundation/dependabot/bundler/bootsnap-1.17.0
...
chore(deps): bump bootsnap from 1.16.0 to 1.17.0
2023-11-01 14:40:29 +11:00
Maikel
a1c6a43954
Merge pull request #11740 from openfoodfoundation/dependabot/bundler/newrelic_rpm-9.6.0
...
chore(deps): bump newrelic_rpm from 9.5.0 to 9.6.0
2023-11-01 14:00:16 +11:00
Maikel
512fee2a9b
Merge pull request #11739 from openfoodfoundation/dependabot/bundler/view_component-3.7.0
...
chore(deps): bump view_component from 3.6.0 to 3.7.0
2023-11-01 13:59:02 +11:00
Maikel
e6e2f27ed4
Merge pull request #11736 from dacook/registration-noindex
...
Print robots tag for registration layout
2023-11-01 13:53:07 +11:00