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
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
Nihal Mohammed
f38661cdf1
Add weight, height, width, depth fields to line items
2022-10-25 10:09:26 +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
Cillian O'Ruanaidh
5718f9f00c
Create :order_cycles_distributor_payment_methods HABTM join table
2022-10-21 17:21:31 +01:00
Cillian O'Ruanaidh
5423c1c02e
Resolve conflict in db/schema.rb
2022-10-21 17:21:24 +01:00
Matt-Yorkley
b36fae1bbb
Add migration for omniauth attributes
2022-10-18 11:31:35 +11:00
AthiraKadampatta
e5a136801d
9726 Remove attachment_width and attachment_height from spree_asset
2022-10-11 10:26:32 +05:30
AthiraKadampatta
addd2ea9ac
#9726 Add migration to remove unused paperclip columns
2022-10-11 10:26:32 +05:30
Cillian O'Ruanaidh
8c483f2eab
Change join table in migration from order cycles to distributor shipping methods instead of order cycles to shipping methods
2022-09-30 13:13:39 +01:00
Cillian O'Ruanaidh
ad51b41bb3
Use :belongs_to instead of :references in :order_cycles_shipping_methods
...
Also fix migration class name.
2022-09-30 13:13:39 +01:00
Cillian O'Ruanaidh
80b7a5d39a
Remove OrderCycleShippingMethod model and use a :has_and_belongs_to_many association instead
...
Before the OrderCycleShippingMethod had a validation which checked the shipping method belonged to the order cycle distributor. Instead of this validation this just ignores shipping methods which don't belong to one of the order cycle's distributors when they are being attached in the OrderCycleForm service. This pattern is already being used in the OrderCycleForm service for ignoring Schedules that the person doesn't own.
Co-authored-by: Maikel <maikel@email.org.au >
2022-09-30 13:13:39 +01:00
Cillian O'Ruanaidh
fc4f951a1a
Only require OrderCycleShippingMethod records if people want to override the default shipping methods
...
It makes things much simpler if we return all shipping methods by default without needing OrderCycleShippingMethod records to be added to the database.
Co-authored-by: Maikel <maikel@email.org.au >
2022-09-30 13:13:39 +01:00
Cillian O'Ruanaidh
9a6e8a1113
Add an OrderCycleShippingMethod model to handle attaching shipping methods to order cycles
2022-09-30 13:13:39 +01:00
Maikel Linke
4e33bd2713
Avoid trying to delete address referenced elsewhere
2022-09-27 13:14:51 +10:00
Maikel Linke
591f901935
Delete duplicate customer entries
2022-09-27 13:14:49 +10:00
Philipp Winkler
bf53a02270
Add api key toggle view checkbox
2022-08-07 09:48:49 +02:00
Filipe
2f550725e3
Merge pull request #9368 from jibees/9178-add-note-on-order
...
Admin, Edit order: Can add note on order
2022-07-08 12:13:18 +01:00
Jean-Baptiste Bellet
7fbe893927
Add note to spree_orders object
2022-07-05 10:09:20 +02:00
Arthur Vieira
a2bc61475b
Add whatsapp_phone column to enterprises
2022-06-30 19:19:06 -03:00
François Turbelin
76ea7089d9
Implement suggestions
2022-06-21 10:08:12 +02:00
François Turbelin
39a6b5d20f
Add disabled_at logic on spree users
2022-06-21 10:08:12 +02:00
Maikel Linke
d27d98419f
Fix typo in address migration
2022-06-09 20:54:46 +05:30
Nihal Mohammed
870eb8961e
Update migration
2022-06-09 20:54:46 +05:30
Nihal Mohammed
b6b81a38d9
Migration to nullify spree_users_bill_address_id_fk foreign key on delete and remove addresses with empty phone.
2022-06-09 20:54:34 +05:30
Maikel Linke
076efd653d
Correct checksum of big files stored on AWS S3
2022-06-02 12:28:52 +10:00
Maikel Linke
ce0e33fffa
Install Active Storage database tables
2022-04-25 13:00:30 +10:00
GeorgeThoppil
898c470c00
Change enterprise visibility scope
2022-04-21 20:27:28 -04:00
Maikel Linke
2e989083bd
Remove unused icons from Spree:Taxon
...
The icons are not used any more and the default icon file never existed
in our code base (only in Spree when we depended on that).
And it's better to remove this clutter before migrating those files to
Active Storage.
We are keeping the icon files in storage as a backup. The whole folder
`/spree/taxons` can be deleted when desired. But storage is cheap.
2022-04-15 16:50:28 +10:00
Nihal Mohammed
b0fd333126
Added migration to update display_on column in spree_payment_methods table where string is 'front_end' to NULL
2022-03-07 17:32:23 +05:30
Maikel Linke
a6dee77071
Style
2022-02-16 10:33:49 +11:00
Matt-Yorkley
4c50ca69ea
Improve data migration logic and add test coverage
2022-02-16 10:23:24 +11:00
Matt-Yorkley
feaa92406a
Split migration into two parts for easier testing
2022-02-16 10:23:24 +11:00
Maikel Linke
68193efcf6
Keep old customers.name column for compatibilty
...
Our app code will try to access the old attribute while the migration is
running. That would lead to errors during checkout.
2022-02-16 10:23:24 +11:00
François Turbelin
9a12957e27
Handle the empty-space name on customers
2022-02-16 10:23:23 +11:00
François Turbelin
de4d074cb3
Remove bill_address fetching logic
2022-02-16 10:23:23 +11:00
François Turbelin
5c9dd81595
Deal with nil attirubtes on bill_address
2022-02-16 10:23:23 +11:00
François Turbelin
50302163c0
Update migration with better logic and cosmetics
2022-02-16 10:23:23 +11:00
François Turbelin
9682b9256b
Arrange classes loading for good migration
2022-02-16 10:23:23 +11:00
François Turbelin
d016c47789
Refactor data migration to use data sets
2022-02-16 10:23:23 +11:00
François Turbelin
b8afb7ec4d
Add default values for new fields
2022-02-16 10:23:23 +11:00
François Turbelin
7c25127ab6
Improve first_name and last_name setup
2022-02-16 10:23:22 +11:00
Adrien Chauve
d0f347efaa
Add migration to split Customers.name into first and last names
2022-02-16 10:23:22 +11:00
Maikel Linke
9abacf9047
Upgrade old StripeConnect payment methods to SCA
...
StripeConnect has been replaced by StripeSCA. But we still have some
StripeConnect payment methods in our production databases. We need to
convert them to StripeSCA methods before we can remove the related
code and clean up. Otherwise our code would raise errors when
encountering an old StripeConnect method, not knowing what that is.
2022-01-24 12:35:45 +11:00
Matt-Yorkley
534354a177
Add data migration
2022-01-14 11:23:41 +00:00
Matt-Yorkley
8f825a709c
Add mails_sent column to order cycles
2022-01-12 10:34:47 +00:00
Matt-Yorkley
492325b74a
Add automatic_notifications column to order_cycles table
2021-12-23 20:41:49 +01:00
Matt-Yorkley
17a112907c
Add processed_at column to order_cycles table
2021-12-23 20:41:42 +01:00
Cillian O'Ruanaidh
84eaafb822
Add a :captured_at column on payments to store when they are captured
...
Fixes #8611 .
2021-12-17 14:45:47 +00:00
Matt-Yorkley
21bf5797ac
Improve data migration
2021-11-04 11:48:30 +00:00