olivermrbl
15a43c1cc0
chore(release): v1.8.0-rc.3
2023-03-29 13:42:11 +02:00
Oliver Windall Juhl
693015fde3
chore(medusa): EOL causing logging to hang ( #3622 )
...
* chore(medusa): EOL causing logging to hang
* Create .changeset/new-pans-explain.md
2023-03-29 13:34:09 +02:00
Adrien de Peretti
d886430bf8
fix(medusa): Rounding issues on line item adjustments ( #3446 )
...
* chores(medusa): Attempt to fix discount rounding issues
* add migration
* update entities
* apply multipler factor properly
* fix discount service
* WIP
* fix rounding issues in discounts
* fix some tests
* Exclude raw_discount_total from responses
* fix adjustments
* cleanup response
* fix
* fix draft order integration
* fix order integration
* fix order integration
* address feedback
* fix test
* Create .changeset/polite-llamas-sit.md
* remove comment
---------
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com >
2023-03-29 11:04:41 +02:00
Adrien de Peretti
7f120e576b
chore: Merge master to develop and manage conflict ( #3570 )
2023-03-29 10:11:32 +02:00
Philip Korsholm
0695ff642b
fix(medusa, admin-ui): List all inventory levels ( #3552 )
...
* ensure that all levels are listed
* add changeset
* remove count from config
* update changeset version bump
---------
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com >
2023-03-29 08:54:49 +02:00
Kasper Fabricius Kristensen
cd54c7dca9
fix(medusa-cli): add semver dependency ( #3603 )
...
* add direct dependency on semver to CLI
* add changeset
2023-03-29 08:48:39 +02:00
Carlos R. L. Rodrigues
55e94d0b45
fix(modules-sdk): check if dependency is registered ( #3620 )
...
* fix: check if dependency is registered
* changeset
2023-03-29 08:47:12 +02:00
olivermrbl
8ddb3952c0
chore(release): v1.8.0-rc.2
2023-03-28 21:04:57 +02:00
olivermrbl
990c79d2d5
chore(release): v1.8.0-rc.1
2023-03-28 19:32:36 +02:00
Rares Stefan
345005573a
fix(admin-ui): Update order edit variants table to fit longer content ( #3608 )
...
* Fix stock cell check, update table columns to fit longer content
* Create nine-planes-kneel.md
* Update check
Co-authored-by: Carlos R. L. Rodrigues <37986729+carlos-r-l-rodrigues@users.noreply.github.com >
---------
Co-authored-by: Carlos R. L. Rodrigues <37986729+carlos-r-l-rodrigues@users.noreply.github.com >
2023-03-28 19:21:40 +02:00
Adrien de Peretti
b9c6c3d059
fix(medusa-payment-paypal): Missing typescript dev dependency ( #3609 )
2023-03-28 19:20:39 +02:00
Philip Korsholm
d1a6aa5a90
fix(admin-ui): Create fulfillment ( #3607 )
...
* fix for create-fulfillment
* remove ff check
* add changeset
* Disable Create fulfillment button if no quantities fulfilled
---------
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com >
Co-authored-by: Rares Capilnar <rares.capilnar@gmail.com >
2023-03-28 19:04:35 +02:00
Carlos R. L. Rodrigues
bca1f80dd5
chore(medusa, modules-sdk): default module error message ( #3605 )
...
* default module error message
* changeset
* unit test
2023-03-28 17:43:20 +02:00
Frane Polić
91f0e01d0f
fix(admin-ui): disallow creating OE if there is no changes ( #3604 )
...
* wip: fix modal
* refactor: revert log
---------
Co-authored-by: fPolic <frane@medusajs.com >
2023-03-28 14:56:07 +02:00
Adrien de Peretti
5307408894
feat(medusa-payment-paypal): Migrate to the new payment processor API ( #3414 )
...
* feat(medusa-payment-paypal): Migrate to the new payment processor API
* WIP
* WIP
* WIP unit tests
* WIP
* unit tests
* fix package.json
* yarn
* cleanup
* address feedback 1/2
* Start to implement a new Paypal SDK
* cleanup
* finalise sdk
* cleanup
* fix push missing file
* rename sdk methods
* unit test the http client
* WIP
* fix http client
* Create .changeset/empty-melons-eat.md
* refactor tests
* fix quote
* fix options
* cleanup
* do not retry auth
* WIP
* retry mechanism max attempts
* use both old and new options
* fix capture
* remove totals fields
* add missing method
* cleanup
* fix current tests
* authorize should update the data with the fresh order
* remove comments
* fix tests
* Update packages/medusa-payment-paypal/src/core/paypal-http-client.ts
Co-authored-by: Riqwan Thamir <rmthamir@gmail.com >
* fix unit tests
* update changeset
---------
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com >
Co-authored-by: Riqwan Thamir <rmthamir@gmail.com >
2023-03-28 13:49:09 +02:00
Riqwan Thamir
5f41cd9a67
feat(medusa): Categories - Adds indexes + remove soft delete ( #3589 )
...
* chore: added indexes for category properties
* chore: added changset
* chore: test changeset pre
* chore: undo pre release
* chore: remove soft delete from categories (#3590 )
* chore: remove soft delete from categories
* chore: remove delete indexes and columns
* chore: drop safely + changeset
* chore: fix slipped deleted_at
* chore: removes extra changeset
* chore: redraw indexes
* chore: redraw indexes
* chore: drop records before dropping column for delete
---------
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com >
2023-03-28 12:43:15 +02:00
Philip Korsholm
e359d3f85b
fix(medusa): Include inventory quantity when listing products ( #3586 )
...
* initial inclusion of quantities when listing admin prices
* add changeset
* rename variable
* add inventory service check when listing products
* update changeset version bump
2023-03-28 12:42:26 +02:00
IgorKhomenko
b6c08cbbfe
fix(medusa-file-s3): Update key formation to use timestamp ( #3601 )
...
* Update medusa-file-s3 key formation to use timestamp
* added missing import
---------
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com >
2023-03-28 12:23:44 +02:00
Frane Polić
1ce3cc5ae4
feat(medusa): invalidate price selection caching within update request ( #3553 )
...
* feat: invalidate price selection caching on update
* feat: add `onVariantsPricesUpdate` to PriceSelectionStrategy
* fix: update units
* fix: import
* Create .changeset/tame-pillows-heal.md
* fix: address feedback
* refactor: make `onVariantsPricesUpdate` optional
---------
Co-authored-by: fPolic <frane@medusajs.com >
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com >
2023-03-28 11:18:13 +02:00
github-actions[bot]
577098a4db
chore(docs): Removed Docs Announcement Bar (automated) ( #3598 )
...
Co-authored-by: shahednasser <shahednasser@users.noreply.github.com >
2023-03-28 10:41:44 +03:00
Rares Stefan
455c56c4b3
fix(admin-ui): Hide inventory quantity field in variant stock form if SL module enabled ( #3592 )
...
* Hide inventory stock field if stock locations module enabled
* Create purple-cats-brake.md
---------
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com >
2023-03-27 20:49:31 +02:00
Rares Stefan
95c9fbfdd5
fix(admin-ui): Fix effect check in inventory table and overflow UI ( #3577 )
...
* Fix effect check in inventory table and overflow UI
* Create ten-berries-rest.md
* Fix edit stock&inventory modal to use the right form
* Fix faulty merge conflict resolution
* Fix inventory item creation
* Add redirect to locations tab if no locations, toast
* Revert redirect and toast, add message in table
---------
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com >
2023-03-27 20:48:47 +02:00
Philip Korsholm
feaf8d2e19
feat(admin-ui, medusa): Improve fulfillment validation ( #3541 )
...
* validate that an inventory level exists as well
* improve create-fulfillment handling in admin
* pass along location id rather than inventory level id
* add changeset
* remove dependency
2023-03-27 20:36:59 +02:00
Patrick
53c4a43ca2
feat(oas:cli): output better error when no command is provided ( #3559 )
...
* feat(oas:cli): output better error when no command is provided
* chore(changeset): patch
---------
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com >
2023-03-26 11:59:52 +02:00
Frane Polić
bd199d7f44
fix(admin): OrderEdit display of difference due with refund ( #3487 )
...
**What**
- fix `difference_due` in the OE modal to show the correct difference a user has to pay
- fix Timeline crashing due to returned line item being `undefined `(deleted after OE confirmation)
**Why**
We were taking into account `refunded_amount` when calculating "Difference Due" and used the following formula:
`orderEdit.total - paidTotal + refundedTotal`.
The issue here is that `orderEdit.total` is "overpriced" for the amount of items that are returned/refunded already (i.e. we are charging the user again for the returned items).
The straightforward solution would be to subtract `refunded_total` from the `orderEdit.total` to get the total cost of items the user is actually getting after the edit.
`difference_due = (orderEdit.total - refundedTotal) - (paidTotal - refundedTotal ) = orderEdit.total - paidTotal`
But if we have partially refunded returns, we would have the same problem of returned items priced into the total.
In that case, general solution should be something like:
`diff_due_display = orderEdit_total_of_items_user_is_getting - paid_total + refunded_total`
Would like to hear what you guys think!
---
FIXES CORE-1246
2023-03-24 16:59:15 +00:00
Philip Korsholm
284578a67a
Fix(admin-ui): multi warehouse minor fixes ( #3540 )
...
**What**
1. Enable the "create location" button in "create stock location" when a field has changed
2. Remove the "successful delete" toast when cancelling stock location creation
3. Properly update available and reserved when editing stock levels for variant
4. invalidate inventoryItemList queryKeys when changing location levels
**Why**
- we had the same bug with form validation when creating location levels as we had when editing them (1)
- when updating location levels, listing inventory items wouldn't show the newly added location levels (4)
- fixing ui bugs (2, 4)
2023-03-24 14:11:40 +00:00
Philip Korsholm
332a9b686b
Feat(admin-ui): Request return flow warnings and errors ( #3473 )
...
**What**
- Add warning to request-return modal if no inventory level exists for the combination of items that is being requested
- Block receive return at location with the same condition
2023-03-24 14:01:31 +00:00
Adrien de Peretti
4a7bdc917a
fix(event-bus-local): Error handling ( #3575 )
...
**What**
The error handling was applied on the emit, which always succeed. On the other hand, the `on` which calls the handler, was not handling any errors and therefore crashed the server
2023-03-24 13:49:29 +00:00
olivermrbl
b57ea22461
chore: Enter pre-release mode and version packages
2023-03-24 10:16:11 +01:00
Oliver Windall Juhl
fa0d2e3639
chore(workflows): Enable manual workflow in pre-release mode ( #3566 )
2023-03-24 10:01:10 +01:00
olivermrbl
3b917b469a
chore: Bump module versions
2023-03-24 10:00:28 +01:00
Oliver Windall Juhl
e892816307
chore(workflows): Enable manual workflow in pre-release mode ( #3566 )
2023-03-24 09:55:06 +01:00
olivermrbl
333c5af47f
chore: Fix wrong package name in changeset
2023-03-24 08:53:23 +01:00
Shahed Nasser
3afdc4bb5e
docs: fixes to next.js deployment guide to vercel ( #3562 )
2023-03-23 17:46:31 +02:00
Kasper Fabricius Kristensen
d7ac88a3a5
fix(admin-ui): Explicitly add add moment dependency ( #3560 )
2023-03-23 15:58:47 +01:00
Shahed Nasser
d9678486a2
docs: added a deploy guide for next.js storefront ( #3558 )
...
* docs: added a deploy next.js guide
* docs: fix image zoom
2023-03-23 16:34:53 +02:00
Carlos R. L. Rodrigues
4e9d257d3b
Chore(medusa,utils,types,inventory,stock-location): remove core dependency modules ( #3531 )
2023-03-23 08:07:32 -03:00
Kasper Fabricius Kristensen
bfef22b33e
fix(admin-ui): Gift Card manage page ( #3532 )
...
**What**
- Updates GC manage page to use product page sections
- Revamps Denomination section
- Updates the location of several components to reflect that they are now shared between the GC and products domain


Resolves CORE-1089
2023-03-23 08:29:29 +00:00
Shahed Nasser
95232e7ac9
chore: updated READMEs of plugins ( #3546 )
...
* chore: updated READMEs of plugins
* added notice to plugins
2023-03-23 09:43:17 +02:00
Philip Korsholm
3171b0e518
feat(medusa): add if statement to idempotency-key initialize ( #3555 )
...
* add if statement to idempotency-key initialize
* add changeset
2023-03-22 21:34:50 +01:00
Oliver Windall Juhl
74bc4b16a0
feat(medusa-plugin-algolia): Revamp Algolia search plugin ( #3510 )
2023-03-22 12:55:26 +01:00
Oliver Windall Juhl
ef5ef9f5a2
feat(medusa,event-bus-local,event-bus-redis): Event Bus modules ( #2599 )
2023-03-22 10:26:21 +01:00
github-actions[bot]
6e0b9c3991
chore(docs): Generated Services Reference (automated) ( #3551 )
...
Automated changes by [create-pull-request](https://github.com/peter-evans/create-pull-request ) GitHub action
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com >
2023-03-22 09:07:06 +00:00
github-actions[bot]
dafdd3f46d
chore(docs): Generated Docs Announcement Bar (automated) ( #3550 )
...
Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com >
2023-03-22 10:06:11 +01:00
olivermrbl
a4575c3911
chore(release): v1.7.15
2023-03-22 09:49:19 +01:00
Shahed Nasser
c1efb03956
docs: fix admin redirects ( #3548 )
2023-03-22 10:10:40 +02:00
Riqwan Thamir
7408111d11
chore: Cleanup changesets and group fixes ( #3543 )
...
* cleanup changeset and group fixes
* chore: merge more fixes
* chore: merge more changesets
* chore: fix issue with naming
2023-03-21 18:45:39 +01:00
Adrien de Peretti
98fe8fd00a
fix(medusa): Variant update should include the id for the listeners to be able to identify the entity ( #3539 )
...
* fix(medusa): Variant update should include the id for the listeners to be able to identify the entity
* fix unit tests
* Create brave-seahorses-film.md
2023-03-21 16:15:05 +01:00
Frane Polić
f831b7db37
fix(admin-ui): show failure reason for batch jobs ( #3526 )
...
* fix: display error messages for batch jobs
* feat: add changesets
* feat: tooltip size, load more jobs
---------
Co-authored-by: fPolic <frane@medusajs.com >
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com >
2023-03-21 16:13:39 +01:00
Riqwan Thamir
7f2223b650
fix(medusa): fix bug with parent not being saved correctly ( #3534 )
...
What:
- Parent was being updated incorrectly because of a weird typeorm issue, making the rank pick up the wrong entity's rank. This PR fixes that issue by passing in an ID and letting the service take care of fetching the parent.
RESOLVES CORE-1274
2023-03-21 08:37:13 +00:00