Stevche Radevski
8a070d5d85
Revamp the authentication setup ( #7419 )
...
* feat: Add email pass authentication provider package
* feat: Revamp auth module and remove concept of scope
* feat: Revamp the auth module to be more standardized in how providers are loaded
* feat: Switch from scope to actor type for authentication
* feat: Add support for per-actor auth methods
* feat: Add emailpass auth provider by default
* fix: Add back app_metadata in auth module
2024-05-23 20:56:40 +02:00
Riqwan Thamir
e3beaf5a29
chore: add cart links to promotions/product ( #7428 )
2024-05-23 16:54:09 +02:00
Riqwan Thamir
d1d23f1e8d
feat(dashboard,medusa): Promotion Campaign fixes ( #7337 )
...
* chore(medusa): strict zod versions in workspace
* feat(dashboard): add campaign create to promotion UI
* wip
* fix(medusa): Missing middlewares export (#7289 )
* fix(docblock-generator): fix how type names created from Zod objects are inferred (#7292 )
* feat(api-ref): show schema of a tag (#7297 )
* feat: Add support for sendgrid and logger notification providers (#7290 )
* feat: Add support for sendgrid and logger notification providers
* fix: changes based on PR review
* chore: add action to automatically label docs (#7284 )
* chore: add action to automatically label docs
* removes the paths param
* docs: preparations for preview (#7267 )
* configured base paths + added development banner
* fix typelist site url
* added navbar and sidebar badges
* configure algolia filters
* remove AI assistant
* remove unused imports
* change navbar text and badge
* lint fixes
* fix build error
* add to api reference rewrites
* fix build error
* fix build errors in user-guide
* fix feedback component
* add parent title to pagination
* added breadcrumbs component
* remove user-guide links
* resolve todos
* fix details about authentication
* change documentation title
* lint content
* chore: fix bug with form reset
* chore: address reviews
* chore: fix specs
* chore: loads of FE fixes + BE adds
* chore: add more polishes + reorg files
* chore: fixes to promotions modal
* chore: cleanup
* chore: cleanup
* chore: fix build
* chore: fkix cart spec
* chore: fix module tests
* chore: fix moar tests
* wip
* chore: templates + fixes + migrate currency
* chore: fix build, add validation for max_quantity
* chore: allow removing campaigns
* chore: fix specs
* chore: scope campaigns based on currency
* remove console logs
* chore: add translations + update keys
* chore: move over filesfrom v2 to routes
* chore(dashboard): Delete old translation files (#7423 )
* feat(dashboard,admin-sdk,admin-shared,admin-vite-plugin): Add support for UI extensions (#7383 )
* intial work
* update lock
* add routes and fix HMR of configs
* cleanup
* rm imports
* rm debug from plugin
* address feedback
* address feedback
* temp skip specs
---------
Co-authored-by: Adrien de Peretti <adrien.deperetti@gmail.com >
Co-authored-by: Shahed Nasser <shahednasser@gmail.com >
Co-authored-by: Stevche Radevski <sradevski@live.com >
Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com >
Co-authored-by: Kasper Fabricius Kristensen <45367945+kasperkristensen@users.noreply.github.com >
2024-05-23 15:28:00 +02:00
Carlos R. L. Rodrigues
f3d19f5394
fix(workflows-sdk): use loaded modules when container is empty ( #7422 )
2024-05-23 08:26:16 -03:00
Oli Juhl
9a10adfd91
fix: Remove log for read only links ( #7410 )
2024-05-22 22:36:23 +02:00
Carlos R. L. Rodrigues
e760dbc953
fix(link-modules): fix warn on readonly links ( #7403 )
2024-05-22 13:07:30 +00:00
Stevche Radevski
5ede560f70
feat(auth): Revamp authentication setup ( #7387 )
...
* chore: Clean up authentication middlewares
* chore: Rename AuthUser to AuthIdentity
* feat: Define link between user, customer, and auth identity
* feat: Use links for auth, update auth context content
* fix: Adjust user create command with new auth setup
* fix: Make auth login more dynamic, review fixes
* fix: Change test assertions for created by
2024-05-22 10:27:32 +02:00
Adrien de Peretti
c4fde7ea5c
feat(core-flows, fulfillment): Add create return specific method and add more tests ( #7357 )
...
* feat(core-flows, fulfillment): Add create return specific method and add more tests
* fix defautl providers in tests fixtures
* more tests
* wip fixes
* fix flow and tests
* cleanup
2024-05-21 13:48:59 +02:00
Carlos R. L. Rodrigues
f57dc98c7a
chore(order): Paid Total and Refunded Total ( #7373 )
2024-05-20 15:48:57 -03:00
Frane Polić
521b4e7926
feat(dashboard): order fulfillment UI ( #7262 )
...
* feat: initial impl. of Unfulfilled section and create flow
* feat: create fulfillment
* feat: order <> fulfillment link, fulfillment section
* feat: accept order_id when creating fulfillment
* feat: finish create and cancel
* fix: integration test
* refactor: real Order<>Fulfillment link instead readonly, add link step to the workflow
* fix: revert `order_id` definitions
* chore: add changeset
* fix: build
* fix: address comments
* fix: fetch inventory and location levels for fulfilled variant
* fix: loading inventory details
* add isList to order fulfillment link
* fix: duplicate declaration
* fix: type
* refactor: link orders step, fix client
* fix: move translations to the new file
* fix: pass order id in test
---------
Co-authored-by: olivermrbl <oliver@mrbltech.com >
2024-05-20 13:41:09 +02:00
Carlos R. L. Rodrigues
48aa09be23
Chore(order): endpoints - Part 1:N ( #7360 )
2024-05-19 14:51:08 -03:00
Oli Juhl
bf4724b8e6
feat: Destroy session + introduce http config ( #7336 )
2024-05-19 12:40:28 +02:00
Harminder Virk
cf15f5d498
refactor: use flatMap
2024-05-17 15:31:50 +05:30
Harminder Virk
72f98ea50b
refactor: implement query suggestions from Adrien
2024-05-17 14:42:57 +05:30
Harminder Virk
1abf9f19b3
test: increase notification module tests timeout
2024-05-17 13:10:35 +05:30
Harminder Virk
9c97356098
Merge branch 'develop' into fix/2152
2024-05-17 09:54:37 +05:30
Harminder Virk
a15f2b37b3
test: add tests
2024-05-17 09:33:34 +05:30
Adrien de Peretti
a775d57255
feat(core-flows, types): Create return order ( #7319 )
...
**what**
- Create return workflow partial implementation
- Update some order domain types
- create order fulfillment link
**NOTE**
this PR is partially done but can still be merged as is, it will require some discussions around the flow and some unknowns or uncertainty in regards to some data and some behaviour
2024-05-16 14:10:54 +00:00
Harminder Virk
9298a57be1
Merge branch 'develop' into fix/2152
2024-05-16 17:28:54 +05:30
Harminder Virk
230337aef9
refactor: remove early return check when products list is undefined
2024-05-16 17:13:49 +05:30
Stevche Radevski
ee924b1b28
feat: Add a simple configurable notifications subscriber ( #7331 )
...
* feat: Add a simple configurable notifications subscriber that is configurable
* Proposal on awaiting all subscribers to run
* fix: Clean up wait subscribers util and notifications test
---------
Co-authored-by: adrien2p <adrien.deperetti@gmail.com >
2024-05-16 13:36:09 +02:00
Harminder Virk
17486cda99
Validate product and collection handles to be URL safe ( #7310 )
...
* fix: allow URL safe characters for product handle
Fixes: CORE-2072
2024-05-15 17:50:26 +02:00
Carlos R. L. Rodrigues
7c4f4d7388
feat(payment): update payment collection status ( #7335 )
2024-05-15 15:11:40 +00:00
Adrien de Peretti
13ce60b999
fix(medusa, modules-sdk): Fix migrate command and fix revert support ( #7340 )
2024-05-15 15:46:23 +02:00
Carlos R. L. Rodrigues
70fd355e46
chore(order): link order and payment collection ( #7334 )
2024-05-14 20:37:27 +00:00
Carlos R. L. Rodrigues
4ef70d37bf
feat(order): receive return and additional calculations ( #7314 )
2024-05-14 08:35:31 -03:00
Carlos R. L. Rodrigues
9dae86daa2
chore: es target 2021 ( #7325 )
2024-05-14 08:07:14 -03:00
Harminder Virk
a502222582
refactor: remove usage of inventory_quantity from the codebase ( #7323 )
2024-05-14 13:01:49 +02:00
Carlos R. L. Rodrigues
6c94d0205c
Feat(order): return reason and transaction methods ( #7303 )
2024-05-13 16:15:25 +00:00
Adrien de Peretti
63623422fe
chore(): Autoload module resources ( #7291 )
...
**What**
- automatically build and consume connection and container loader if not exported by the module
- therefore load the services and repositories automatically, including baseRepository
- automatically build run and revert migrations if not provided
- cleaup modules to remove extra unnecessary bits and pieces
- remove the `initializeFactory` in favor of using `medusaApp`
Should drastically improve the module building DX by removing a lot of boilerplate to handle by the user, that plus the base entity should simplify quite a lot the flow cc @shahednasser
**Note**
I had to choose a way to identify connection and container loader from the exported loader from the module. I decided to go with named function `connectionLoader` and `containerLoader`, also, now the factories will return named function so if the user use the factories we are providing to build those loaders, the function will also be named and identified
2024-05-13 12:12:36 +00:00
Stevche Radevski
79758c46b6
feat: Add support for sendgrid and logger notification providers ( #7290 )
...
* feat: Add support for sendgrid and logger notification providers
* fix: changes based on PR review
2024-05-11 17:40:03 +02:00
Stevche Radevski
144e09e852
feat: Add the basic implementation of notification module ( #7282 )
...
* feat: Add the basic implementation of notification module
* fix: Minor fixes and introduction of idempotency key
* fix: Changes based on PR review
2024-05-10 11:22:03 +02:00
Riqwan Thamir
9a14aeebcf
feat(core-flows,types,medusa): API to add promotions to campaign ( #7277 )
...
what:
- adds an API to add promotions to campaign
- reworks module to perform atomic actions
2024-05-10 07:53:56 +00:00
Riqwan Thamir
6da2964998
feat(dashboard,core,medusa,promotion): add campaigns UI ( #7269 )
...
* feat(dashboard,core,medusa,promotion): add campaigns UI
* chore: add without campaign choice to promotion ui
* chore: fix builds and types
* chore: fix design issues
* chore: address pr reviews
2024-05-09 10:00:28 +02:00
Adrien de Peretti
8db62827ac
chore: remove generated client types ( #7259 )
...
* chores: rm generated client types
* chores: rm generated client types
* update lock file
* fix yarn
2024-05-07 15:36:29 +02:00
Adrien de Peretti
71f4f46cb9
chore(medusa): cleanup medusa package ( #7206 )
2024-05-07 12:48:49 +02:00
Frane Polić
39c3f6d92a
feat(dashboard): basic Order UI ( #7225 )
...
**WHAT**
- rudimentary list and details pages
- fix Order<>Promotion link
- fix Order<>SalesChannel link
**NOTE**
- displaying basic info since we don't have Fulfillments & Payments linked ATM
- `disaply_id` needs to be added to order
- `tax_rate` needs to be added to order
---
https://github.com/medusajs/medusa/assets/16856471/cd4e98c7-345e-4193-8c1e-ad4ed1584993
Co-authored-by: Carlos R. L. Rodrigues <37986729+carlos-r-l-rodrigues@users.noreply.github.com >
2024-05-07 07:28:42 +00:00
Adrien de Peretti
a736e728b8
fix: package.json run test integration in packages ( #7249 )
2024-05-06 19:25:37 +02:00
adrien2p
36eff7f10a
wip
2024-05-06 13:52:30 +02:00
Oli Juhl
cf9605fe6f
feat(order): Add display_id to order table ( #7242 )
...
Co-authored-by: Carlos R. L. Rodrigues <37986729+carlos-r-l-rodrigues@users.noreply.github.com >
2024-05-05 19:43:13 +02:00
Carlos R. L. Rodrigues
5443c69794
feat(link-module): Order Product link ( #7243 )
2024-05-05 17:26:16 +00:00
Carlos R. L. Rodrigues
aba194de9a
chore: complete cart part 2 ( #7227 )
2024-05-05 10:35:09 -03:00
Carlos R. L. Rodrigues
c32a31e139
feat(inventory): check stock to create reservation ( #7209 )
2024-05-05 10:24:52 +02:00
Adrien de Peretti
93f6e60c17
chore(): Modules providers reorganization ( #7234 )
...
Co-authored-by: Riqwan Thamir <rmthamir@gmail.com >
2024-05-05 10:08:07 +02:00
Oli Juhl
2f7b53488d
fix: Accept filters in softDelete + fulfillment location clean-up ( #7198 )
2024-05-03 16:32:07 +00:00
Oli Juhl
1366e2efad
fix: Retrieve ancestors and/or descendants on product categories ( #7226 )
2024-05-03 18:09:04 +02:00
Adrien de Peretti
520867b074
feat(fulfillment, core-flows): Apply correct address and context + cleanup ( #7230 )
...
The tests will be added in subsequent requests where the worklows are being worked on
2024-05-03 15:44:22 +00:00
Riqwan Thamir
f129415650
feat(medusa,core-flows): complete cart [part-1] ( #7201 )
...
what:
- adds a very basic complete cart endpoint that creates an order
- the complete cart workflow currently does the following:
- create tax lines
- create order
2024-05-02 22:24:50 +00:00
Oli Juhl
e78362c000
chore: Remove legacy MWH modules ( #7213 )
...
* chore: Remove legacy MWH modules
* chore: Add stock-location deps
2024-05-02 20:07:42 +02:00
Adrien de Peretti
4eae25e1ef
chore(): Reorganize modules ( #7210 )
...
**What**
Move all modules to the modules directory
2024-05-02 15:33:34 +00:00