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
Maikel
8d1e1e6e04
Merge pull request #9322 from mkllnk/fix-schema
...
Remove accidental modification of the db schema
2022-06-22 11:23:54 +10: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
d78cbce4f3
Remove accidental modification of the db schema
...
fa74dae99c changed the schema file even
though the migration doesn't touch the database structure. A previous
development version of the migration did this but the finally merged
version didn't. So this schema is not valid. Let's hope that nobody set
up a new instance with the changed schema and we just fix it to what it
was before.
2022-06-20 14:47:29 +10: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
Matt-Yorkley
4f5c266356
Add migration unit test
2021-11-04 11:48:30 +00:00
Matt-Yorkley
6f5cd98b1b
Migrate preference to enterprises table
2021-11-04 11:48:30 +00:00
Matt-Yorkley
cf64128d54
Update db/migrate/20211029174211_drop_source_columns.rb
...
Co-authored-by: Maikel <maikel@email.org.au >
2021-11-03 09:26:47 +00:00
Matt-Yorkley
1007d7afdf
Drop source_id and source_type columns from spree_adjustments
...
These are no longer used
2021-10-29 18:46:53 +01:00
Nihal Mohammed
e3307fd341
Migration to add business_address_id to enterpries
2021-10-06 15:06:50 +05:30
Nihal
2ad234d5aa
Migrate Migs to Check
2021-09-27 21:10:57 +05:30
Nihal M. Kelanthodika
f170b4241d
Merge pull request #8168 from apricot12/7799-Enterprise-Fee-Report
2021-09-22 20:39:06 +05:30
Maikel
a3c31f7d86
Revert "Kill stripe connect"
2021-09-20 08:39:34 +10:00
Nihal
757b7513ef
Migrate Pin gateway peyments to check
2021-09-11 16:52:32 +05:30
Nihal Mohammed
98ff3980f8
Migration of StripeConnect to StripeSCA
2021-09-10 14:43:34 +05:30
Matt-Yorkley
886e03af2f
Merge pull request #7805 from Matt-Yorkley/adjustments-admin
...
[Adjustments] Admin adjustments
2021-07-27 12:23:29 +02:00
Matt-Yorkley
ca6979e394
Extract call to Spree::TaxRate.match to a separate method and update tests
2021-07-25 22:47:40 +01:00
Matt-Yorkley
8f62ccb9b7
Match tax rates using rates applicable to the order
2021-07-25 22:47:40 +01:00
Mathieu Lovato Stumpf Guntz
89f97ba0ec
integrate db/schema.rb changes
2021-07-13 16:43:55 +02:00
Matt-Yorkley
77e4a6c465
Migrate admin adjustment tax amounts
2021-07-09 21:50:12 +01:00