Carlos R. L. Rodrigues
d4fe2daa57
fix(core-flow): request item return reason ( #8152 )
2024-07-17 09:35:33 +01:00
Harminder Virk
f579f0b3be
feat: restructure events payload ( #8143 )
...
* refactor: restructure events payload
Breaking change: This PR changes the event payload accepted by the event
listeners
* refactor: fix failing tests and implement feedback
* add integration tests
* fix timeout
---------
Co-authored-by: Adrien de Peretti <adrien.deperetti@gmail.com >
2024-07-16 17:09:16 +01:00
Carlos R. L. Rodrigues
5813216c88
core(core-flows, medusa): remove request item return ( #8146 )
2024-07-16 11:23:34 -03:00
Carlos R. L. Rodrigues
7123f9ff63
feat(core-flows,medusa,order): remove return shipping ( #8137 )
...
What:
* `DELETE /admin/returs/:id/shipping_methods/:action_id`
FIXES: CC-187
2024-07-16 10:27:16 +00:00
Adrien de Peretti
4af7309170
fix: install modules-sdk for test-utils to work ( #8142 )
2024-07-16 12:00:24 +02:00
Adrien de Peretti
8a68919ed3
chore: Allow to fetch remote link using the service name or the alias from the use remote link step ( #8140 )
...
* chore: Allow to fetch remote link using the service name or the alias from the use remote link step
* revert package.json
* fix packages
2024-07-16 11:03:41 +02:00
Oli Juhl
ffd4b195ee
feat: Add exchange return shipping ( #8108 )
...
* wip
* finalize tests
* feat: Add exchange return shipping
* add shipping to preview
* test input
* move utils and ignore already inserted shipping method
* use custom price
---------
Co-authored-by: Carlos R. L. Rodrigues <rodrigolr@gmail.com >
2024-07-15 22:04:20 +02:00
Carlos R. L. Rodrigues
8d530aa7f2
Chore(core-flows,order): exchange/claim add item ( #8126 )
2024-07-15 08:08:43 -03:00
Stevche Radevski
874d511e13
feat: Add tax inclusivity management to currenices ( #8112 )
2024-07-14 18:03:44 +02:00
shij
ba58842d81
fix(payment, stripe) stripe payment cannot be captured ( #8075 )
2024-07-13 10:45:03 -03:00
Carlos R. L. Rodrigues
3d7d629e75
chore(pricing): big number support ( #8113 )
2024-07-12 19:27:28 +00:00
Carlos R. L. Rodrigues
4321241553
feat(core-flows): request return on order exchanges and claims ( #8107 )
...
FIXES: CC-92, CC-87
2024-07-12 15:48:24 +00:00
Adrien de Peretti
79ec2bcfe2
fix: Migration generator and generated migrations ( #8090 )
2024-07-11 18:21:09 +02:00
Carlos R. L. Rodrigues
b5c658f071
feat(core-flows): begin returns, claims and exchanges ( #8088 )
...
* chore(order): begin return
* claims and exchanges
2024-07-11 09:53:00 -03:00
Adrien de Peretti
143847ace4
fix: Investigate geo zones with address checks ( #8066 )
...
* fix: Investigate geo zones with address checks
* rm debug
* fix constraint building checks
* add more explanation
2024-07-11 11:11:42 +02:00
Oli Juhl
256912f392
fix(tax): Add indexes to enforce unique constraint on tax region ( #8067 )
2024-07-10 20:09:19 +02:00
Adrien de Peretti
e778870c68
chore: Ensure the events are emitted with the same shape all accross ( #8063 )
...
* chore: Ensure the events are emitted with the same shape all accross
* fixes:
* rm unsues type
* types
* fix tests
2024-07-10 19:34:28 +02:00
Carlos R. L. Rodrigues
de36e2b36e
chore: rename return flow ( #8050 )
2024-07-10 08:09:10 -03:00
Riqwan Thamir
bec2dcd667
feat(core-flows, order): add workflow to create change order actions ( #8056 )
...
what:
- adds workflow to create change order actions
2024-07-10 10:35:03 +00:00
Carlos R. L. Rodrigues
2b2e2fbb3d
chore(order): preview order change ( #8025 )
...
What:
- new method `previewOrderChange`
- Calculate all the actions related to an order change.
- Return the preview of the final Order, with all the calculated values.
- Associate actions with items and shipping_methods they modified.
FIXES: CORE-2509
2024-07-09 14:45:55 +00:00
Riqwan Thamir
566bbd5074
feat(core-flows,types): cancel order changes workflow ( #8035 )
...
what:
- adds cancel order changes workflow
2024-07-09 14:06:33 +00:00
Stevche Radevski
00a6e512dc
feat: Add support in BE for setting tax inclusivity on currency ( #8037 )
2024-07-09 15:22:24 +02:00
Riqwan Thamir
b6fd82e31e
feat(order,core-flows): added order change create workflow ( #8033 )
...
what:
- adds anorder change create workflow
- remove order change service, brings validation to entry point service
2024-07-09 12:12:05 +00:00
Stevche Radevski
1c3ef13371
feat: Add necessary middlewares for tax inclusive pricing ( #7827 )
...
We are adding tax inclusive pricing calculation when listing products.
Two things to keep in mind:
- `region_id` will be required if you request calculated prices.
- We won't accept `currency_code` anymore, as that will come from the region info (since ultimately a cart and its currency are tied to a region)
REF CORE-2376
DEPENDS ON #8003
2024-07-09 09:37:13 +00:00
Stevche Radevski
366231f658
feat: Add static server and adjust file local to work out of the box ( #8019 )
...
REF CORE-2496
Closes #8000
2024-07-08 17:44:36 +00:00
Adrien de Peretti
9750047af1
chore: Rename entity to model ( #7977 )
...
**What**
Start renaming `entity` to `model`
2024-07-08 07:43:49 +00:00
Adrien de Peretti
b368251ca3
chore: Migrate modules to use the Module util ( #7964 )
...
**What**
Apply the `Module` util to each module to handle the export and provide the linkable configuration object.
- Most joiner config that does not have any special config are removed/cleaned up in favor of the autogenerated one or simpler one
- linkable are now available in all modules
- cleaned up the dependencies of the modules
FIXES CORE-2410
2024-07-05 13:00:40 +00:00
Adrien de Peretti
f4dd390ab1
chore: Apply defineMikroOrmCliConfig ( #7975 )
...
**What**
Ensure all module rely on the same config for the dev db
FIXES CORE-2493
2024-07-05 11:10:03 +00:00
Riqwan Thamir
276c8b925f
chore: fix notification loader error ( #7969 )
2024-07-05 12:05:18 +02:00
Carlos R. L. Rodrigues
9badad24aa
feat(workflows-sdk): conditional step ( #7912 )
...
* chore: move ModuleRegistrationName to utils
* chore(workflows-sdk): conditional step
* type
* when condition
2024-07-05 10:54:18 +02:00
Stevche Radevski
3e86cb6ac3
feat: Add HTTP endpoints and workflows for price preference management ( #7960 )
...
REF CORE-2376
Remaining pieces are adding UI to manage the flag, showing the flag in price editor, plugging it in cart calculations, and https://github.com/medusajs/medusa/pull/7827
2024-07-05 08:47:01 +00:00
Riqwan Thamir
0d534d4f70
fix(product): category tree breaks due to pagination limit ( #7947 )
...
what:
- when children scope beyond the pagination limit, we fail to load all descendants and ancestors
- we fix this by fetching all categories in the tree scoped by the where clause
2024-07-04 14:58:21 +00:00
Stevche Radevski
5544303b91
feat: Add support for managing tax inclusivity ( #7943 )
...
UI / HTTP / Workflows will come in separate PRs
REF CORE-2376
2024-07-04 14:50:09 +00:00
Adrien de Peretti
32998b7527
fix: The table existence check should quote the table name ( #7949 )
2024-07-04 16:17:24 +02:00
Adrien de Peretti
7b84d854f0
Feat/mikro orm based linkable ( #7944 )
...
**What**
- Generate simple linkable for mikro orm based modules
- fix module util
- fix joiner config builder
- fix define link relationship extension
- fix migrations not loading custom links
2024-07-04 13:30:47 +00:00
Adrien de Peretti
cb36655b63
chore: Update defineMikroOrmCliConfig api ( #7940 )
...
* chore: Update defineMikroOrmCliConfig api
* update usage
2024-07-04 12:58:43 +02:00
Carlos R. L. Rodrigues
56394fe0d4
fix(order): order list payment and fulfillment status ( #7934 )
2024-07-04 06:37:25 -03:00
Adrien de Peretti
41c4307fc7
feat: define link util ( #7931 )
...
* feat: define link util
* handle pluralized fieldAlias for isList
* serviceName ar reference
* finalize
* todo
* WIP
* finalize
* fix tests
* update typings
* fix Module
* linkable
* update errors
2024-07-04 10:37:30 +02:00
Stevche Radevski
012a624ee4
feat: Flatten the provider config for all modules ( #7930 )
2024-07-03 16:57:12 +02:00
Riqwan Thamir
b6e4435c23
chore: cleanup migrations logs ( #7924 )
...
what:
when running `medusa run migrations`, cleanup logs with short descriptive message.
Before:
<img width="1262" alt="Screenshot 2024-07-03 at 14 31 36" src="https://github.com/medusajs/medusa/assets/5105988/504e9c24-371c-476d-9b6d-2dfe1a4088dc ">
After:
<img width="1004" alt="Screenshot 2024-07-03 at 14 42 57" src="https://github.com/medusajs/medusa/assets/5105988/a89eaed5-04a4-4efb-a2e9-ca480f1eaa6e ">
2024-07-03 13:53:59 +00:00
Adrien de Peretti
2711012d96
feat: Make the Module require the service name ( #7923 )
...
* feat: Make the Module require the service name
* finalize types
2024-07-03 15:44:57 +02:00
Adrien de Peretti
617a5972bf
feat: refactor module joiner config and links generation ( #7859 )
...
* feat: refactor module joiner config and links generation
* improve typings
* WIP
* WIP
* WIP
* rename type file
* create link config
* finish typings and add utils
* improve links
* WIP typings
* finalize ExportModule utils
* finalize ExportModule utils
* fix: dml tests
* improve and fixes
* simplify typings with id changes
* add toJSON
* multiple fixes and entity builder fixes
* fix currency searchable
* fix tests
* medusa service refactoring
* cleanup
* cleanup and fixes
* make module name optional
* renaming
---------
Co-authored-by: Harminder Virk <virk.officials@gmail.com >
2024-07-03 13:12:49 +02:00
Stevche Radevski
19d7d01805
fix: Update stripe options input ( #7919 )
2024-07-03 12:51:38 +02:00
Riqwan Thamir
00ba74c71f
fix: user email is set to a unique index ( #7917 )
2024-07-03 12:32:30 +02:00
Carlos R. L. Rodrigues
a7844efd09
chore: move ModuleRegistrationName to utils ( #7911 )
2024-07-03 06:30:56 -03:00
Stevche Radevski
b4aa7fb9a7
fix: Disallow creating duplicate prices ( #7866 )
...
* fix: Disallow creating duplicate prices
* fix: Don't pass id to manager create in upsertWithReplace
2024-07-02 17:06:58 +02:00
Stevche Radevski
8244fe03b7
fix: Several fixes based on preview testing ( #7906 )
...
* fix: Add searchable properties on currency
* fix: Format product type dates in table
* fix: Preserve line whitespace in section row
* fix: Continue through tabs on Enter in create product form
* fix: Pagination in variant prices section
* fix: Add missing inventory edit item translation
* fix: Use the correct options URL for editing
* fix: Correctly get the variant title in inventory item details
* fix: Completely remove variant titles section in inventory item
2024-07-02 14:56:34 +02:00
Carlos R. L. Rodrigues
07715e6b50
chore(order): cancel return ( #7881 )
2024-07-02 06:52:58 -03:00
Harminder Virk
074e4a888e
Mark keys as primary with explicit method call ( #7900 )
2024-07-02 13:27:21 +05:30
Carlos R. L. Rodrigues
17e6a83b59
fix(utils): joiner config from medusa project ( #7896 )
2024-07-01 13:48:34 -03:00