Rachel Arnould
2652bc086a
Merge pull request #9755 from cillian/order-cycle-payment-methods
...
Let people choose which payment methods are available to customers on order cycles
2022-10-26 20:10:34 +02:00
Konrad
e8425c5805
Merge pull request #9792 from vsmay98/6531-remove-user-registrations-controller
...
Remove spree user registrations controller file
2022-10-25 11:52:34 +02:00
Maikel
55ef4dfe0d
Merge pull request #8809 from Matt-Yorkley/dead-code-variants-check
...
Remove dead code: Product#variants?
2022-10-25 10:49:01 +11:00
Konrad
4a7ac45dba
Merge pull request #9830 from jibees/9821-remove-report_inverse_columns_logic-feature-toggle
...
Remove `report_inverse_columns_logic` feature toggle
2022-10-25 00:23:31 +02:00
Konrad
84bf38ce4d
Merge pull request #9791 from vsmay98/8250-fix-snail-for-all-enterprise-fee
...
Fix snail issue for all enterprise fees
2022-10-24 21:49:45 +02:00
Rachel Arnould
3c9b7a10f4
Merge pull request #9058 from Matt-Yorkley/oidc-redux
...
Add OIDC authentication for Les Communs
2022-10-24 13:18:36 +02:00
Jean-Baptiste Bellet
e2441cdcf6
Use the report type or subtype as the title
2022-10-24 11:12:22 +02:00
Jean-Baptiste Bellet
6dec80aaaf
Links only on right side
2022-10-24 11:12:22 +02:00
Jean-Baptiste Bellet
1c349049d1
Remove report description when they are useless
2022-10-24 11:12:22 +02:00
Jean-Baptiste Bellet
edc667a336
By default, some columns are hidden.
2022-10-24 11:12:22 +02:00
Jean-Baptiste Bellet
02787e668f
Remove report_inverse_columns_logic feature toggle
...
Co-Authored-By: Maikel <maikel@email.org.au >
2022-10-24 11:12:22 +02:00
Maikel
627b8af37b
Merge pull request #9828 from mkllnk/authorize-api-key
...
Prevent users from changing API keys for others
2022-10-24 11:22:35 +11:00
Cillian O'Ruanaidh
eb72ec8e13
An order cycle isn't ready for checkout if a tag rule means no payment/shipping methods are available to the customer
2022-10-21 17:21:31 +01:00
Cillian O'Ruanaidh
7458dccea6
Call @order_cycles.count instead of #size because TagRuleApplicator doesn't return Relation anymore
...
In March 2020 this was changed to use :size instead of :count because TagRuleApplicator returned an ActiveRecord::Relation, see:
d2eee1dafd
However in October 2020 TagRuleApplicator was changed to always return an Array so this is no longer needed, see:
7e606471e4
2022-10-21 17:21:31 +01:00
Cillian O'Ruanaidh
3e24b7ba6b
Assign variable across two lines so Rubocop override comment isn't needed in OrderCycleClone
...
Co-authored-by: Maikel <maikel@email.org.au >
2022-10-21 17:21:31 +01:00
Cillian O'Ruanaidh
f5bd23b4d8
Remove unused Spree::Order#available_payment_methods method
...
This was introduced in 47d2f698ef but we are using OrderAvailablePaymentMethods now.
2022-10-21 17:21:31 +01:00
Cillian O'Ruanaidh
2c14aecf4f
Extract a OrderCycleClone service
...
Before it was giving a Rubocop error, probably not a bad idea anyway.
2022-10-21 17:21:31 +01:00
Cillian O'Ruanaidh
4e6d64c0a1
Let people choose which payment methods are available to customers on order cycles
2022-10-21 17:21:31 +01:00
Cillian O'Ruanaidh
5423c1c02e
Resolve conflict in db/schema.rb
2022-10-21 17:21:24 +01:00
jibees
48e18b016a
Merge pull request #9756 from vsmay98/8249-fix-snail-for-all-shipping-method-fee
...
Fix snail issue for all shipping method fees
2022-10-20 17:31:24 +02:00
jibees
da851079f4
Merge pull request #9776 from abdellani/product-creation-minor-improvements
...
Product creation minor improvements
2022-10-20 17:30:47 +02:00
jibees
1d265d19ce
Merge pull request #8872 from Matt-Yorkley/bugsnag-data
...
Update Bugsnag error data
2022-10-20 17:30:14 +02:00
jibees
fdc362cb44
Merge pull request #9806 from mkllnk/feature-constraint
...
Generalise feature toggle constraint
2022-10-20 17:27:46 +02:00
Vishal Jain
8d3845508c
remove check_permissions method
2022-10-20 19:54:23 +05:30
Vishal Jain
952b6039f9
Remove spree user registrations controller file
2022-10-20 19:54:23 +05:30
Maikel Linke
fc79612f26
Prevent users from changing API keys for others
...
It was checking for the permission to create a user which everyone can
do. Now it's checking for updating that particular user and doesn't
allow generating new keys for other users any more.
This would have been an inconvenience but not a big security issue
because you can't view the key of another user.
2022-10-20 17:56:46 +11:00
Vishal Jain
755107ec9f
Fix snail issue for all enterprise fees
2022-10-20 12:15:21 +05:30
Matt-Yorkley
0ca86344d2
Update use of deprecated #add_tab method to #add_metadata
2022-10-19 17:36:53 +11:00
Matt-Yorkley
980f004b83
Update Bugsnag error data
2022-10-19 17:36:52 +11:00
Matt-Yorkley
c0ee72319f
Remove dead code: Product#variants?
...
This only makes sense in the context of Products which only have "master" variants, and we removed that option a while back.
Remove #variants? check from ProductStock concern
2022-10-19 16:30:12 +11:00
Vinicius Uehara
7772c01e16
Add pointer cursor when hovering a clickable product description
2022-10-18 23:11:56 -03:00
Maikel Linke
f00aeb006e
Allow enterprise users to authorize via OIDC
2022-10-18 11:32:14 +11:00
Matt-Yorkley
66c3ba3bba
Remove default omniauth link
2022-10-18 11:32:14 +11:00
Matt-Yorkley
b322df8515
Generate devise links view
2022-10-18 11:32:14 +11:00
Matt-Yorkley
617164684c
Configure OIDC
2022-10-18 11:32:14 +11:00
Filipe
d5c3edc8fa
Merge pull request #9749 from drummer83/master
...
Fix layout of 'Create a new product' button in dashboard overview
2022-10-17 13:45:37 +01:00
Maikel
c83eb5d5dc
Merge pull request #9768 from ashwini-seshadri/admin_permissions_granting_permission_to_a_shop_displays_it_in_producers_list_as_if_it_was_a_supplier
...
Fix for: [Admin][Permissions] Granting permission to a shop displays it in "Producers" list as if it was a supplier #9589
2022-10-17 09:58:03 +11:00
Mohamed ABDELLANI
6a8c7b15dc
fix product category errors message in the form
2022-10-14 03:26:40 +01:00
Mohamed ABDELLANI
955492bfdd
show the error message when the variant unit is not selected
2022-10-14 03:26:40 +01:00
Mohamed ABDELLANI
0000faab91
render the error message when the unit value is not set
2022-10-14 03:26:40 +01:00
Mohamed ABDELLANI
e3f157ebdd
remove empty option from unit size
2022-10-14 03:26:40 +01:00
Mohamed ABDELLANI
f8af84d9d4
remove red start from tax category form
2022-10-14 03:26:40 +01:00
Mohamed ABDELLANI
bddbb36813
remove red star from supplier
2022-10-14 03:26:40 +01:00
jibees
cd641cc5d6
Merge pull request #9714 from openfoodfoundation/dependabot/npm_and_yarn/tom-select-2.2.1
...
Bump tom-select from 2.1.0 to 2.2.1
2022-10-13 11:30:13 +02:00
Ashwini Seshadri
1596649034
Merge branch 'master' into admin_permissions_granting_permission_to_a_shop_displays_it_in_producers_list_as_if_it_was_a_supplier
2022-10-13 06:48:40 +02:00
Maikel Linke
81461684f3
Generalise feature toggle constraint
...
Now we can re-use it for any feature.
2022-10-13 10:42:20 +11:00
Maikel
d33cdd1327
Merge pull request #9706 from jibees/9625-create-a-component-to-display-hide-columns-for-report
...
Create a component to display/hide columns for report
2022-10-13 10:05:27 +11:00
Jean-Baptiste Bellet
14a258c661
Attempt: externalize ofn-drop-down-v2 selector
...
+ add class `redesigned-checkbox` on `input`
Move `input.redesigned-input` definition outside dropdown definition
--> more generic
2022-10-12 09:28:50 +02:00
Maikel Linke
46fde6bd40
Remove now unused scope
2022-10-12 16:48:32 +11:00
Ashwini Seshadri
590a09f069
Fixed the permissions relationship, so the shop displays only suppliers and does not display distributors in producers list
...
and updated relevant tests
2022-10-12 16:48:31 +11:00