Ahmed Ejaz
a71bb21789
11068: update confirm_button_color to confirm_button_class
2023-12-20 12:54:54 +05:00
Ahmed Ejaz
d8eace8dff
#11068 : remove product_actions_controller.js
2023-12-20 12:54:54 +05:00
Ahmed Ejaz
05e7674805
#11068 : add delete variant and product reflexes
2023-12-20 12:54:54 +05:00
Ahmed Ejaz
eca83eeec3
#11068 , update delete links for uniq modal ids
2023-12-20 12:54:54 +05:00
Ahmed Ejaz
5d90993f21
11068, apply delete_modals partial
2023-12-20 12:54:54 +05:00
Ahmed Ejaz
c202324cb0
#11068 : add product_v3 delete_modals partial
2023-12-20 12:54:54 +05:00
Ahmed Ejaz
0efd78b979
#11068 : update confirm_modal_component to accept controller values
2023-12-20 12:54:54 +05:00
Ahmed Ejaz
d1224ea022
#11068 , resolve conflicts
2023-12-20 12:54:54 +05:00
Ahmed Ejaz
d7f2cbf882
11068, revert controller changes
2023-12-20 12:54:54 +05:00
Ahmed Ejaz
2f0965aa62
#11068 , add product_actions_controller
2023-12-20 12:54:54 +05:00
Ahmed Ejaz
bf0943e655
#11068 , add ProductDeleter
2023-12-20 12:54:54 +05:00
Ahmed Ejaz
4f76478619
#11068 , add delete modals
2023-12-20 12:54:54 +05:00
Ahmed Ejaz
5d490ded15
#11068 , update ConfirmModalComponent to take more options
2023-12-20 12:54:54 +05:00
Ahmed Ejaz
0ff1067bc6
#11068 , add delete option for product variant
2023-12-20 12:54:54 +05:00
Ahmed Ejaz
39de2f704f
#11068 , add delete dropdown option
...
# Conflicts:
# app/views/admin/products_v3/components/_product_actions.html.haml
2023-12-20 12:54:54 +05:00
Maikel
6d5f07c6a0
Merge pull request #11945 from openfoodfoundation/dependabot/bundler/rubocop-rails-2.23.0
...
Bump rubocop-rails from 2.22.2 to 2.23.0
2023-12-20 13:58:33 +11:00
Maikel
70a2a05a8d
Merge pull request #11953 from openfoodfoundation/dependabot/bundler/combine_pdf-1.0.25
...
Bump combine_pdf from 1.0.24 to 1.0.25
2023-12-20 13:58:16 +11:00
Maikel Linke
89ef62d341
Update Rubocop config todo
...
[skip ci]
2023-12-20 13:57:06 +11:00
Konrad
4973b5c07c
Merge pull request #11789 from duleorlovic/11784_contact_tab
...
Fix open Contact tab from "customers only" message
2023-12-19 15:05:41 +01:00
dependabot[bot]
632291e8c7
Bump combine_pdf from 1.0.24 to 1.0.25
...
Bumps [combine_pdf](https://github.com/boazsegev/combine_pdf ) from 1.0.24 to 1.0.25.
- [Release notes](https://github.com/boazsegev/combine_pdf/releases )
- [Changelog](https://github.com/boazsegev/combine_pdf/blob/master/CHANGELOG.md )
- [Commits](https://github.com/boazsegev/combine_pdf/compare/v1.0.24...v1.0.25 )
---
updated-dependencies:
- dependency-name: combine_pdf
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-12-19 09:07:11 +00:00
Rachel Arnould
2b749714bd
Merge pull request #11927 from drummer83/Dashboard
...
Show Dashboard header in the header area for multi-enterprise users
2023-12-18 17:49:49 +01:00
dependabot[bot]
4551a9b689
Bump rubocop-rails from 2.22.2 to 2.23.0
...
Bumps [rubocop-rails](https://github.com/rubocop/rubocop-rails ) from 2.22.2 to 2.23.0.
- [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.22.2...v2.23.0 )
---
updated-dependencies:
- dependency-name: rubocop-rails
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-12-18 09:18:45 +00:00
Maikel
080086aa38
Merge pull request #11943 from openfoodfoundation/dependabot/bundler/stripe-10.3.0
...
Bump stripe from 10.2.0 to 10.3.0
2023-12-18 14:46:40 +11:00
Maikel Linke
317d492873
Test Stripe with real API
2023-12-18 14:06:38 +11:00
Maikel
b52b0c0413
Merge pull request #11937 from mkllnk/dfc-app
...
Add new enterprise settings tab Connected Apps
2023-12-18 13:37:26 +11:00
Dusan Orlovic
120e299653
Use activate instead of changeActivePanel/ChangeActiveTab
...
Remove shop-tabs controllers since we can listen on `"data-action":
"orderCycleSelected@window->tabs-and-panels#activateDefaultPanel"`
Test for cases:
* activate by clicking on tab
* activateDefaultPanel on orderCycleSelected event
* activateFromWindowLocationOrDefaultPanelTarget to activate tab based
on achor in URL
2023-12-16 10:00:17 +01:00
Dusan Orlovic
ba7ffc25fe
Add data-action=tabs-and-panels
2023-12-15 23:00:13 +01:00
dependabot[bot]
7f0a461385
Bump stripe from 10.2.0 to 10.3.0
...
Bumps [stripe](https://github.com/stripe/stripe-ruby ) from 10.2.0 to 10.3.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.2.0...v10.3.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-12-15 09:11:11 +00:00
Maikel Linke
f758daadc0
Use common colours in old and new design
2023-12-15 16:21:43 +11:00
Maikel Linke
35ca66cbb7
Respond fast by rendering only partial
2023-12-15 12:34:40 +11:00
Maikel Linke
1d7f96e965
Broadcast connected app to all user tabs
2023-12-15 12:34:40 +11:00
Maikel Linke
e1730f25d6
Show app connection state and update link
2023-12-15 12:34:40 +11:00
Maikel Linke
12e5a0d1e1
Query webhook to connect app
2023-12-15 11:50:04 +11:00
Maikel Linke
4eb273b06e
Create ConnectedApp with a reflex
...
I would have like to use a standard form to submit to the reflex but the
whole enterprise settings tab is in a form already and HTML doesn't
allow nested forms. While it does still work in browsers, it would have
added much more HTML to set up a form with a hidden input field instead
of just one additional data attribute.
The whole page is rendered by the controller again but the reflex root
attribute ensures that only parts of this tab are replaced. Otherwise
unsaved data on other tabs could be replaced and the page actually
becomes blank because AngularJS doesn't play well with the morph.
2023-12-15 11:50:04 +11:00
Maikel Linke
2346f03b6f
Add ConnectedApp model
2023-12-15 11:50:04 +11:00
Maikel Linke
ca7b02d3ee
Add basic description of Discover Regen app
2023-12-15 11:50:04 +11:00
Maikel Linke
d4ce3965b1
Connected apps can be enabled per user or enterprise
2023-12-15 11:22:15 +11:00
Maikel Linke
af2b65256f
Add new enterprise settings tab Connected Apps
2023-12-15 11:22:15 +11:00
Rachel Arnould
97985dbe8f
Merge pull request #11805 from abdellani/fix-shipping-method-category-on-invoices-v3
...
[Invoices] Display the shipping category.
2023-12-14 17:09:39 +01:00
Mohamed ABDELLANI
2b1d7923da
remove ':' after the shipping category on the invoice template
2023-12-14 16:42:24 +01:00
Mohamed ABDELLANI
82d50f58f3
remove raw from shipping method name
2023-12-14 16:36:36 +01:00
Mohamed ABDELLANI
db653fc945
render the shipping category in the invoice.
2023-12-14 16:36:36 +01:00
Rachel Arnould
9d87449730
Merge pull request #11704 from abdellani/add-reference-to-previous-invoices
...
a new invoice should refer the latest invoice.
2023-12-14 16:05:08 +01:00
Gaetan Craig-Riou
b8e24918fc
Merge pull request #11933 from openfoodfoundation/dependabot/bundler/rubocop-1.59.0
...
Bump rubocop from 1.58.0 to 1.59.0
2023-12-14 11:42:17 +11:00
Rachel Arnould
329ad1ddb2
Merge pull request #11874 from dacook/buu-success-message-11517
...
[BUU] Flash message redesign
2023-12-13 11:59:19 +01:00
David Cook
f99b0b19e7
Disable another OutputSafety warning
...
This one is a little more concerning: what if a model error message includes the user-submitted value? But this is for the admin interface only, and I'm not sure if we have model error messages that do that. So it's probably fine (it's certainly been like this a long time already).
2023-12-13 14:21:27 +11:00
David Cook
0e95b3211b
Disable most OutputSafety warnings
...
These all seem to require html_safe/raw, so we'll permit it.
Some of the spree code is a bit strange and could probably be improved, but I think it's ok for now.
2023-12-13 14:19:19 +11:00
David Cook
dc9fd669a2
Remove unnecessary html_safe calls
...
The tag generator methods should already be returning html_safe strings.
2023-12-13 14:11:02 +11:00
Maikel
55ff376193
Merge pull request #11924 from filipefurtad0/stripe_sca_vcr_spec
...
Replaces Stripe Stubs with VCR calls
2023-12-13 11:53:15 +11:00
filipefurtad0
0f41d900df
DRYes card and payment intent let groups
...
Fixes typo on capture_amount declaration
2023-12-12 13:18:17 +00:00