Commit Graph
100 Commits
Author SHA1 Message Date
Stevche Radevski 05c8a67d8e feat: Add support for creating payment methods to payment module (#11063)
CLOSES CLO-407
2025-01-21 11:31:44 +00:00
Stevche Radevski a0fc612bf4 feat: Add translations for Macedonian (#11039)
I figured I should at least translate Medusa in my own language 😄 

I did some AI translation first, and did a quick round of obvious improvements. Can be made better but it's pretty good as-is.
2025-01-20 16:37:23 +00:00
Stevche Radevski f99f720dd4 feat: Add support for listing saved payment methods in module and Stripe (#10994) 2025-01-16 16:16:04 +01:00
Stevche Radevski da8e173974 feat: Remove fields from payment models that were leftovers from v1 (#10987) 2025-01-16 10:10:03 +01:00
Stevche RadevskiandOli Juhl f5235862c0 feat: Improvements to payment module and Stripe provider (#10980)
* fix: Correctly parse Stripe error, remove unused method

* fix: Isolate the payment provider error check function

* fix: Allow passing few extra parameters to Stripe

---------

Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
2025-01-16 08:12:53 +01:00
Stevche Radevski 44cd0224af fix: Put routes loader error inline (#10912) 2025-01-16 08:11:19 +01:00
Stevche RadevskiandOli Juhl d845adc68b fix: Include is default billing and shipping fields in the address response (#10970)
Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
2025-01-15 12:52:51 -05:00
Stevche Radevski fde73dbfae feat(auth-google,auth-github): Allow passing a custom callbackUrl to … (#10829)
* feat(auth-google,auth-github): Allow passing a custom callbackUrl to oauth providers

* feat: Add state management in auth providers

* chore: Changes based on PR review
2025-01-06 17:33:29 +01:00
Stevche Radevski c8f9938865 feat(medusa): Add health endpoint for all running modes of medusa (#10737) 2024-12-26 13:53:12 +08:00
Stevche Radevski 3626118eef feat(file-s3): Add support for IAM role authentication to file-s3 provider (#10528) 2024-12-11 18:30:37 +08:00
Stevche Radevski bed00e154d feat(js-sdk): Make credentials configurable in SDK (#10464) 2024-12-06 15:39:35 +08:00
Stevche Radevski f7279f1b96 fix: Use the correct defaults for the invite token expiry (#10344) 2024-11-28 12:06:32 +01:00
Stevche Radevski 6e447da33c fix: Fix product module creation example (#10228) 2024-11-25 16:23:54 +01:00
Stevche Radevski cd578e89ff fix: Use sub instead of email for google entity ID (#9949) 2024-11-07 09:24:14 +01:00
Stevche Radevski b3cbc160eb fix: Default to a relative path for the admin backend URL (#9947) 2024-11-06 15:08:38 +01:00
Stevche Radevski 30edc8fa40 fix: Support relative path in SDK (#9942) 2024-11-06 09:45:59 +01:00
Stevche Radevski abe003a5d6 fix: Don't store token in SDK by default (#9704) 2024-10-22 10:42:55 +02:00
Stevche Radevski e81dbc754c chore: Correctly assert test (#9695) 2024-10-21 18:07:13 +00:00
Stevche Radevski a461e21ae7 fix: Get backend URL from environment variable if available (#9450) 2024-10-03 11:50:28 +00:00
Stevche Radevski bffb36cd11 fix: Use the default admin port in create medusa app env definition (#9439) 2024-10-03 09:53:57 +02:00
Stevche Radevski 86badc6804 fix: Export all classes and types from the SDK (#9422) 2024-10-02 10:40:26 +02:00
Stevche Radevski 9e299cf130 fix: Correctly reference job hander in loader (#9396) 2024-10-01 10:04:32 +02:00
Stevche Radevski e7bde31bdb fix: Pass order object to create fulfillment (#9391) 2024-09-30 19:18:23 +02:00
Stevche Radevski d8c4e0de1d fix: Use correct propname for stroke opacity (#9331) 2024-09-30 11:57:38 +00:00
Stevche Radevski 262aa4291a fix: Bind abort controller to abort in sdk (#9341) 2024-09-27 08:57:30 +02:00
Stevche Radevski 7c4960a4d1 fix: Add actor type to password reset event (#9301) 2024-09-25 12:26:45 +02:00
Stevche Radevski bb342d46f6 fix: Add missing await when refetching region (#9283)
FIXES #9280 
FIXES #9277
2024-09-24 14:28:12 +00:00
Stevche Radevski c94f89610f fix: Remove test listeners after the event has happened (#9115) 2024-09-12 10:45:58 +02:00
Stevche Radevski 3244067ee4 feat: Add support for fetch streaming to js SDK (#9065) 2024-09-10 09:14:10 +02:00
Stevche Radevski 4031da35b0 fix: Allow specifying PORT for tests through environment (#9055) 2024-09-09 11:56:15 +02:00
Stevche Radevski f32091f702 fix: Check for star actor types when allowing unregistered access (#9037) 2024-09-06 15:16:10 +02:00
Stevche Radevski 62e0c593c8 feat: Add support for refreshing JWT tokens (#9013)
* feat: Add support for refreshing JWT tokens

* feat: Add refresh method to the auth SDK
2024-09-06 12:58:57 +02:00
Stevche Radevski b9ea116697 fix: Remove deprecated method, generalize typings in auth (#8998) 2024-09-04 16:05:56 +00:00
Stevche Radevski ed26fb4d19 fix: Check actor type on account creation, fix github entity id (#8996) 2024-09-04 17:23:31 +02:00
Stevche Radevski af4f8811bd feat: Add github authentication provider (#8980)
* feat: Add github authentication provider

* feat: Change callback to always return a token, expect callbackUrl to point to FE

* fix: Return login redirect URLas a 200 response
2024-09-04 13:14:00 +02:00
Stevche Radevski 57e7653adf fix: Doing update to cart with shipping options set removes them (#8752) 2024-08-25 10:46:48 +02:00
Stevche Radevski 9ba52021d0 fix: Log on error by default in async workflow executions (#8723) 2024-08-22 13:33:11 +02:00
Stevche Radevski 4980285317 chore: Remove create user tests that are no longer relevant (#8638) 2024-08-18 16:53:56 +02:00
Stevche Radevski 0f240137e9 fix: Remove the endpoint to create a user (#8629) 2024-08-16 16:12:32 +02:00
Stevche Radevski a013c4edc5 feat: Move userpass default definition to defineConfig instead of a hard-coded value (#8557) 2024-08-13 11:10:23 +02:00
Stevche Radevski 4af82aab32 fix: Use local notification provider for feed channel by default (#8518) 2024-08-08 18:22:50 +02:00
Stevche Radevski 4155d0354f fix: Use a global reference to distributed transaction and scheduler (#8462)
* fix: Add storage cleanup on scheduled jobs

* fix: Use a global reference to distributed transaction and scheduler classes
2024-08-06 14:14:51 +02:00
Stevche Radevski 5c09f0813d fix: Upgrade bullmq and adjust to breaking changes in repeatable jobs (#8446) 2024-08-05 13:00:27 +02:00
Stevche Radevski 4b0119f7ce fix: Don't remove pricing if no variant is passed to update (#8416) 2024-08-02 17:55:47 +02:00
Stevche Radevski dbfc145ab3 fix: Check for existence of modules when seeding default data (#8406) 2024-08-02 08:44:57 +00:00
Stevche Radevski 3a068c6b27 feat: Use tag ids instead of values wherever possible (#8394) 2024-08-02 09:22:03 +02:00
Stevche Radevski d36d48df76 feat: Show notice on new notifications (#8390) 2024-08-01 17:10:34 +02:00
Stevche Radevski 4081b3359d feat: Add support for sorting export headers (#8386)
* feat: Add support for sorting export headers

* fix: Minor fixes to import flow
2024-08-01 13:23:49 +02:00
Stevche Radevski 7569fd1605 fix: Updating product prices removed existing prices (#8388)
RESOLVES #8376
CLOSES CC-288
2024-08-01 08:46:11 +00:00
Stevche Radevski 123dad7db8 feat: Add support for categories in product import and export (#8375)
* feat: Add support for product categories on export and import

* fix: Make the rest of the import workflow async as well
2024-08-01 09:07:30 +02:00
Stevche Radevski 31449972ed fix: Use region name in product pricing exports (#8373)
* fix:Bug fixes to product import

* fix:Add an export failed notification if an export fails

* fix: Use region name in product export prices
2024-07-31 15:34:27 +02:00
Stevche Radevski 8a6e172dec feat:Make product import v1 compatible (#8362) 2024-07-31 13:03:05 +02:00
Stevche Radevski 9de1d8c9c3 fix: Added more tests and fixed a couple of issues with product import (#8341) 2024-07-30 22:14:33 +02:00
Stevche Radevski 1066499402 feat: Add support for product imports (#8298)
* feat: Add support for product imports

* fix: Add product import template to import UI
2024-07-30 16:46:08 +02:00
Stevche Radevski b539c6d5bb feat: Add support for product export in UI (#8281)
* feat: Add support for product export in UI

* fix:Return the backend URL for private files of local file provider
2024-07-29 21:50:22 +02:00
Stevche Radevski e98012a858 feat:Allow updating prices through product update workflow (#8316)
* feat:Allow updating prices through product update workflow

* fix:Changes based on PR feedback
2024-07-29 19:56:03 +03:00
Stevche Radevski df734a3ce9 fix: Store private files in the static directory by default (#8325) 2024-07-29 12:41:47 +03:00
Stevche Radevski 639ecdfd74 fix: Correctly associate options to variants (#8285) 2024-07-25 17:56:13 +02:00
Stevche Radevski 47c132c70b feat: Add empty state to notifications and remove no more data (#8277)
CLOSES CC-242
CLOSES CC-243
CLOSES CC-245
2024-07-25 15:08:16 +00:00
Stevche Radevski 5d9ea4f718 fix: Also apply simple type to operator map (#8278) 2024-07-25 16:54:42 +02:00
Stevche Radevski 6d0650818a feat:Add confirmation step to product import (#8284)
CLOSES CC-251
2024-07-25 14:54:31 +00:00
Stevche Radevski 444a244eab feat: Add basic support for importing products (#8266) 2024-07-25 11:07:24 +02:00
Stevche Radevski a26b7cf253 feat: Implement notifications feed (#8224)
Designs: https://www.figma.com/design/z3aUuOVWUKmdHH0ofmMpEV/Web-app-3.0?node-id=10-50&t=9k6K9k7oJh5tIi09-0

![Screenshot 2024-07-22 at 17 02 10](https://github.com/user-attachments/assets/bc7da39f-8ddb-4f93-bf4e-884f063bc1c6)


CLOSES CC-219
2024-07-25 07:37:01 +00:00
Stevche Radevski 44f593a7ca fix:Product options were not preserved over updates (#8267) 2024-07-25 08:24:26 +02:00
Stevche Radevski bcba5b3a6c chore: Make scheduled job tests less likely to fail (#8241) 2024-07-23 16:59:27 +02:00
Stevche Radevski 4b09be3a88 feat: Add skeleton for supporting product imports in BE (#8232) 2024-07-23 11:16:14 +02:00
Stevche Radevski 4c67599730 fix: Event emitter not cleared in export tests (#8228) 2024-07-22 21:43:22 +02:00
Stevche Radevski 0d2e7befbd feat: Add support for exporting products in backend (#8214)
CLOSES CC-221
CLOSES CC-223
CLOSES CC-224
2024-07-22 13:40:04 +00:00
Stevche Radevski bb2cbe963a chore: Fix flaky test for scheduled workflows (#8216) 2024-07-22 12:53:59 +02:00
Stevche Radevski 56f2ddc4b6 feat: Add notification endpoints for admin (#8196) 2024-07-19 22:00:53 +02:00
Stevche Radevski 8d083d6d0f feat: Add product export endpoint and a dummy workflow (#8178) 2024-07-18 15:19:15 +02:00
Stevche Radevski 1a774d1a43 fix: Dont restart server if static file is added to the private folder (#8181) 2024-07-18 14:18:56 +02:00
Stevche Radevski c58a35f0c0 feat: Add support for private files to file module (#8169) 2024-07-18 09:46:10 +02:00
Stevche Radevski 8ef4483afb fix: Remove the option to pass a container to workflow engine API (#8165) 2024-07-17 15:27:56 +02:00
Stevche Radevski 2ba400f6f1 fix: Log error if a scheduled job handler throws (#8164)
CLOSES TRI-19
2024-07-17 10:45:41 +00:00
Stevche Radevski 26d600b6db feat: Ensure async workflow executions have access to shared container (#8157)
* feat: Ensure async workflow executions have access to shared container

* fix: Register workflow worker on application start
2024-07-17 12:17:48 +02:00
Stevche Radevski 874d511e13 feat: Add tax inclusivity management to currenices (#8112) 2024-07-14 18:03:44 +02:00
Stevche Radevski 101ebbe0f0 fix: Have shipping options open by default (#8040)
CLOSES CORE-2455
2024-07-09 13:59:45 +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
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 db6969578f feat: Plug tax inclusivity in cart and order workflows (#8013) 2024-07-09 11:10:42 +02:00
Stevche Radevski b86812f615 fix: Test failing after recent changes (#8031) 2024-07-09 11:05:32 +02:00
Stevche Radevski cbf2fcd559 Feat: Add tax inclusivity to admin (#8003)
* feat: Add price preference to sdk

* feat: Plug tax inclusivity settings for region in UI

* feat: Add price inclusivity indicator to variant and shipping price table columns

* fix: Rename price title to correct variable name

* feat: Add support for tax inclusive crud on region

* fix: Use the region endpoint for updating tax inclusivity

* chore: Factor out price columns from hooks
2024-07-09 09:26:20 +02: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
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
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
Stevche Radevski 012a624ee4 feat: Flatten the provider config for all modules (#7930) 2024-07-03 16:57:12 +02:00
Stevche Radevski 3f499c829e fix: Minor fixes to the inventory pages (#7921) 2024-07-03 15:45:53 +02:00
Stevche Radevski 19d7d01805 fix: Update stripe options input (#7919) 2024-07-03 12:51:38 +02:00
Stevche Radevski 0dd927a26c fix: Select region and email by default for order (#7909) 2024-07-02 15:20:03 +00: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 e3a0df3ba0 fix: Prefix the job workflow names with job (#7908) 2024-07-02 13:13:00 +00: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
Stevche Radevski ef5f5363a1 fix: Delete before upsert in upsertWithReplace to handle relations with unique constraint (#7875) 2024-07-02 13:56:12 +02:00
Stevche Radevski 357621d5d6 fix: Correctly choose the existing price ID when editing variant prices (#7894) 2024-07-01 17:56:31 +02:00
Stevche Radevski 5c7c28709f fix: Only list price set prices when calling the price set methods (#7889)
FIXES CORE-2417
2024-07-01 14:24:14 +00:00
Stevche Radevski 63e64e738a fix: Return null for calculated price if no prices are defined (#7886) 2024-07-01 15:09:21 +02:00
Stevche Radevski 9daec5d7ac chore: Migrate notification module to DML (#7835) 2024-07-01 09:17:32 +00:00
Stevche Radevski c661180c44 feat: Completely revamp the pricing module (#7852)
* feat: Completely revamp the pricing module

* chore: Update all places to the new pricing interfaces

* fix: Remove unnecessary join to itself

* chore: Add data migration for existing users

* fix: Apply the correct index to price rule
2024-07-01 09:47:03 +02:00
Stevche Radevski 7c3f5cc334 fix: Missed import breaks the variant price edit page (#7871) 2024-06-29 09:23:39 +02:00