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

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
Stevche Radevski
e8d6025374
Add support for tax inclusivity to region and store ( #7808 )
...
This also includes rework of the currency model for the Store module.
This change is breaking as existing stores won't have any supported currencies set, so users would need to go to the store settings again and choose the supported currencies there.
2024-06-24 15:25:44 +00:00
Stevche Radevski
944051a951
fix: Allow filtering products by variant options in store ( #7784 )
2024-06-21 10:42:09 +02:00
Stevche Radevski
ee35379e21
chore: Rename all event keys to uppercase ( #7787 )
...
* chore: Rename all event keys to uppercase
* fix: Remove main entity from event builder
2024-06-21 10:41:35 +02:00
Stevche Radevski
dd1a8e6016
fix: Sort product categories based on rank ( #7702 )
2024-06-13 14:35:50 +00:00
Stevche Radevski
d862d03de0
feat: Revamp of product categories ( #7695 )
...
* feat: Normalize the categories interface to match standards
* feat: Revamp the product category implementation
* fix: Adjustments to code and tests around product categories
2024-06-13 09:10:12 +02:00
Stevche Radevski
0e731dbad0
feat: Add support for category deletion ( #7679 )
2024-06-11 16:49:42 +02:00
Stevche Radevski
bef5941714
feat: Add support for scheduled jobs ( #7674 )
2024-06-11 11:35:56 +00:00
Stevche Radevski
3d72002c28
fix: Remove scheduled workflows if they no longer exist when executed ( #7673 )
2024-06-11 12:57:25 +02:00
Stevche Radevski
8e2a42b786
Clean up product typings ( #7663 )
...
There are a lot of issues in the admin after applying the correct typings, but fixing those should be done gradually, it's better to keep it out of this PR
2024-06-11 09:28:40 +00:00
Stevche Radevski
69410162f6
feat: Add support for scheduled workflows ( #7651 )
...
We still need to:
But wanted to open the PR for early feedback on the approach
2024-06-10 14:49:52 +00:00
Stevche Radevski
a62a8be016
chore: Move price list tests to HTTP folder ( #7632 )
...
* chore: Move price list tests to HTTP folder
* chore: Remove several unused helpers
2024-06-06 17:17:41 +02:00
Stevche Radevski
78768574af
chore: Remove generated client types folder ( #7633 )
...
* chore: Remove generated client types folder
* chore: Remove typescript-codegen package and client commands for oas
2024-06-06 16:14:35 +02:00
Stevche Radevski
d2e1e9f8c7
fix: Apply strict schema for all body and query parameters ( #7624 )
2024-06-05 15:40:54 +00:00
Stevche Radevski
a39b542759
chore: Move fulfillment set tests to http folder ( #7618 )
2024-06-05 17:35:04 +02:00
Stevche Radevski
37b794b89d
chore: Move upload tests to HTTP layer ( #7610 )
2024-06-05 12:24:33 +00:00
Stevche Radevski
b2f2c366ec
chore: Move stock location tests to HTTP folder ( #7615 )
2024-06-05 10:37:14 +00:00
Stevche Radevski
1e3c8747e5
chore: Move inventory tests to HTTP layer ( #7613 )
2024-06-05 09:36:58 +00:00
Stevche Radevski
fafc92b875
Revamp auth module to support multiple providers linked to a single auth identity ( #7521 )
2024-06-05 07:47:16 +00:00
Stevche Radevski
e44fe78b96
fix: Several fixes to store product endpoints, moved several test suites to HTTP ( #7601 )
...
* chore: Move publishable api key tests to HTTP
* chore: Move store tests to HTTP folder
* fix: Add tests for store products, fix several bugs around publishable keys
2024-06-04 21:00:07 +02:00
Stevche Radevski
0929c4f457
Feat: Add product tag endpoints, move tests to HTTP folder ( #7591 )
...
* chore: Move product type tests to HTTP folder
* feat: Add product tags endpoints and move tests to HTTP folder
2024-06-04 10:56:22 +02:00
Stevche Radevski
fdd9022376
chore: Move payment tests to http folder ( #7588 )
2024-06-03 15:04:18 +00:00
Stevche Radevski
eb9b77a4d7
chore: Temporarily disable variant ordering test ( #7578 )
2024-06-03 12:26:39 +02:00
Stevche Radevski
100154d905
chore: Move currency, collection, and auth tests to http folder ( #7581 )
...
* chore: Move auth tests to http folder
* chore: Migrate collection tests to http folder
* chore: Move currency tests to http folder
2024-06-03 12:13:22 +02:00
Stevche Radevski
3ede9d7863
fix: Use integer for variant and category ranks ( #7572 )
2024-06-01 16:25:04 +02:00
Stevche Radevski
97327670a5
feat: Add support for uploading media when creating a product ( #7567 )
2024-05-31 15:34:16 +00:00
Stevche Radevski
294ec36cc3
Move few test suites from api to http folder ( #7558 )
...
* chore: Move api key tests to http folder
* chore: Move some of the product category tests to http
* chore: Move collection tests to http
* chore: Remove unused database test
2024-05-31 16:12:04 +02:00
Stevche Radevski
cec9af1b80
feat: Add support for uploading media in admin ( #7564 )
2024-05-31 13:11:34 +02:00
Stevche Radevski
4117beed58
chore: Refactor batch product workflows and add tests ( #7540 )
2024-05-30 15:53:03 +02:00
Stevche Radevski
eeb8225b5e
chore: Remove redundant product tests, add missing to http layer ( #7543 )
2024-05-30 11:26:50 +00:00
Stevche Radevski
6698f3ab7b
feat: Add http integration tests and enable them in pipeline ( #7532 )
2024-05-30 10:51:31 +02:00
Stevche Radevski
5ad6864b82
feat: Improve zod error messages ( #7535 )
2024-05-30 09:52:47 +02:00
Stevche Radevski
89b0876abc
fix: Build auth-google as commonjs module ( #7528 )
2024-05-29 17:17:25 +02:00
Stevche Radevski
aeda24265d
feat: Remove returning token from customer and user endpoints ( #7523 )
...
* chore: Move generateJwtToken to utils
* feat: Stop returning token on user and customer endpoints
2024-05-29 17:13:01 +02:00
Stevche Radevski
8e66e10995
fix: Use correct config for auth methods per actor ( #7515 )
2024-05-29 10:42:53 +02:00
Stevche Radevski
af7a885b5b
fix: Ensure sales channel updates don't remove sales channel on other products ( #7510 )
...
* fix: Make all product tests pass
* fix: Ensure product update doesnt remove sales channels on other products
2024-05-28 18:24:27 +02:00
Stevche Radevski
e60b4bafe1
feat: Add google authentication package, cleanup old code ( #7496 )
2024-05-28 14:25:40 +02:00
Stevche Radevski
fb16ef485c
fix: Use the correct header for publishable key ( #7492 )
2024-05-28 08:32:42 +00:00
Stevche Radevski
10ef32c5a3
feat: Apply authentication middleware globally ( #7396 )
...
* feat: Apply auth middleware globally
* feat: Remove local auth middleware where it makes sense
2024-05-27 15:24:53 +02:00
Stevche Radevski
28a3f9a3df
feat: Add list cart option typings, make region optional on update cart ( #7455 )
2024-05-27 09:37:10 +02:00
Stevche Radevski
8acba7aba6
feat: Add customer address methods to sdk ( #7445 )
2024-05-24 19:01:11 +02:00