Commit Graph

1956 Commits

Author SHA1 Message Date
olivermrbl
34f3d1c242 Merge branch 'master' into develop 2022-06-15 13:47:38 +02:00
dependabot[bot]
150fc4978f chore(deps): bump sqlite3 from 5.0.2 to 5.0.3 (#1453)
Bumps [sqlite3](https://github.com/TryGhost/node-sqlite3) from 5.0.2 to 5.0.3.
- [Release notes](https://github.com/TryGhost/node-sqlite3/releases)
- [Changelog](https://github.com/TryGhost/node-sqlite3/blob/master/CHANGELOG.md)
- [Commits](https://github.com/TryGhost/node-sqlite3/compare/v5.0.2...v5.0.3)
2022-06-15 13:44:16 +02:00
Philip Korsholm
886dcbc82f feat(medusa): BatchJobStrategy and loaders (#1434)
* add batch job strategy interface

* update plugin loaders

* remove comment

* make map async

* ensure that only one of each strategy is registered

* register strategies plural

* add identifier and batchType properties

* extend batch job strategy identification method

* initial test

* update loaders to accomodate different ways of accessing batch job strategies

* identifier batch type field

* redo merge in plugins

* update interface and load only js files

* use switches instead of elif

* remove comments

* use static properties for strategy registration

* update tests

* fix unit tests

* update test names

* update isBatchJobStrategy method

* add check for TransactionBaseService in services for plugins

* update interfaces export

* update batchjob strategy interface with a prepare script

* update loaders

* update batchjob strategy interface

* remove everything but public interface methods from batchJobStrategy

* add default implementation to prepareBathJobForProcessing

* remove unused import
2022-06-15 10:46:55 +02:00
Sebastian Rindom
cffb03d197 fix(medusa): update cron schedule to be every 6 hours (#1658) 2022-06-14 14:52:27 +02:00
Sebastian Rindom
14366f536d fix: adds tax calculation to product pricing (#1354)
* fix: adds tax calculation to product pricing

* fix: dedupe

* fix: merge inconsistencies

* fix: merge inconsistencies
2022-06-14 10:11:18 +02:00
Shahed Nasser
7bfc224ca4 docs: Improve storefront quickstart documents
docs: Improve storefront quickstart documents
2022-06-14 10:40:50 +03:00
Shahed Nasser
a66babe9f1 docs: added PayPal documentation
docs: added PayPal documentation
2022-06-14 10:40:25 +03:00
Adrien de Peretti
9a3ff32b42 refactor(medusa): Convert DraftOrderService to TS (#1259) 2022-06-13 20:29:23 +02:00
Adrien de Peretti
28ddf10446 fix(medusa): Plugin loader must also check for TransactionBaseService (#1601) 2022-06-13 17:53:52 +02:00
Adrien de Peretti
012513b6a1 feat(medusa-cli): Allow to revert migrations from the CLI (#1353) 2022-06-13 14:15:09 +02:00
Philip Korsholm
b478b10438 refactor(medusa): Convert ShippingOptionService to typescript (#1644)
* convert shipping option service to typescript

* update jsdoc

* make update look update object

* update price reverting for calculated prices  when deselecting free shipping option

* update typescript service implementation

* pr feedback
2022-06-13 09:55:50 +02:00
Adrien de Peretti
3359e189a7 feat(medusa): Support transformQuery/Body middleware, introduction of pipe feature (#1593)
* feat(medusa): Support transformQuery middleware

* feat(medusa): Add support for transformBody

* test(medusa): Fix unit tests

* feat(medusa): Cleanup import

* feat(medusa): Update pipe required fields

* feat(medusa): Cleanup

* feat(medusa): Types cleanup

* feat(medusa): Types cleanup

* feat(medusa): Improve global typings and add one more example

* fix(medusa): Wrong wording in the error for prepareListQuery utility
2022-06-10 16:25:09 +02:00
Philip Korsholm
d011f38305 add default file service (#1627) 2022-06-10 16:24:11 +02:00
Philip Korsholm
1fe518b4af Feat(medusa) refactor claim-item service to typescript (#1640)
* refactor claim-item service to typescript

* update pr
2022-06-10 10:15:48 +02:00
Adrien de Peretti
a605622bcb refactor(medusa): Migrate StoreService to TS (#1413) 2022-06-09 19:46:50 +01:00
Adrien de Peretti
5172b21d09 refactor(medusa): Refactor and fix EventBusService (#1377) 2022-06-09 17:18:22 +01:00
Adrien de Peretti
78bd61abe1 Refactor: claim service to TS + refactoring (#1287) 2022-06-09 10:29:44 +01:00
Adrien de Peretti
63bf684e66 refactor(medusa): Migrate middlewares to ts (#1469) 2022-06-08 14:52:45 +01:00
Adrien de Peretti
d98cd85d23 feat(medusa): Migrate utils to TS (#1415) 2022-06-08 11:05:24 +01:00
Zakaria El Asri
247ad6dc6d fix: includes variant prices when listing products using a search query (#1607)
* fix: return prices when lsiting products with a query

* add: integration test

* fix: integration test

* fix: move WithRequiredProperty to common.ts

* fix: comment
2022-06-05 21:52:31 +01:00
Philip Korsholm
abaf10b31d feat(medusa-file-spaces): DigitalOcean fileservice streaming (#1585)
* add file service interface initial

* pr feedback

* use abstract fileservice for file service plugins

* update plugin loader for services

* implement fileservices with abstractFileService and convert to ts

* update fileservice interface

* remove fileservice loading of old interface

* re-add loading of old fileservice interface

* re-rename digital ocean fileservice to javascript

* revert s3 to js

* revert minio to js

* remove irrelevant method implementation

* rename download stream method to reflect upload stream method

* update fileservice

* use isFileService in loaders

* remove fields from js class

* rename "generatePresignedDownloadUrl" to "getPresignedDownloadUrl"

* make methods abstract in AbstractFileService

* create download stream endpoint (#1583)

* Feat/upload to storage (#1580)

* add test generate endpoint to api

* rename method to getUploadStream

* cleanup generate example

* upload file example

* remove comment

* make vars const

* Feat/create presigned download url (#1582)

* implement "generatePresignedDownloadUrl"

* add get-download-url endpoint for testing

* remove examples

* update index ts

* create generalized method for aws update in DO fileservice

* update bucket configuration

* update interface types

* add typings to fileservice methods

* update service loaders

* update fileservice interface to extend transaction base service

* create download stream endpoint (#1583)

* Feat/upload to storage (#1580)

* add test generate endpoint to api

* rename method to getUploadStream

* cleanup generate example

* upload file example

* remove comment

* make vars const

* Feat/create presigned download url (#1582)

* implement "generatePresignedDownloadUrl"

* add get-download-url endpoint for testing

* remove examples

* update index ts

* create generalized method for aws update in DO fileservice

* update bucket configuration

* update interface types

* update download method name

* revert changes

* add filekey and optional extension to the fileservice result

* add key to the result of getUploadStream

* rename key to filekey

* rename key to filekey in getUploadStream result

* rename key to filekey in getDownloadStream and getPresignedDownloadUrl

* rename key to fileKey for getUploadedFileType

Co-authored-by: olivermrbl <oliver@mrbltech.com>
2022-06-04 10:37:21 +02:00
Philip Korsholm
8e42d37e84 feat(medusa): Extend file-service interface + move to core (#1577) 2022-06-04 10:11:17 +02:00
Shahed Nasser
2eb2126fe3 docs: Update upgrade guide for 1.3.0
docs: Update upgrade guide for 1.3.0
2022-06-01 19:46:30 +03:00
Shahed Nasser
045bd8d6af docs: Add events reference
docs: Add events reference
2022-06-01 19:45:44 +03:00
Shahed Nasser
c87ddd73ff docs: Add Services reference (#1548) 2022-06-01 18:33:08 +02:00
Shahed Nasser
239de7dfdd rename to 1.3.0 2022-06-01 19:20:25 +03:00
Shahed Nasser
b75867b119 merge 1.3.0 with 1.3.1 2022-06-01 19:16:26 +03:00
Shahed Nasser
a20261b319 Update 1-3-0.md 2022-06-01 14:15:17 +03:00
Adrien de Peretti
d7a3218fbe test(medusa): Add few tests on PriceListService#update method (#1554) 2022-05-31 09:26:42 +02:00
olivermrbl
6c1a722b38 chore(release): Publish
- medusa-file-minio@1.0.5
 - medusa-file-s3@1.1.1
 - medusa-file-spaces@1.2.1
 - medusa-fulfillment-webshipper@1.3.1
 - @medusajs/medusa-js@1.2.1
 - medusa-payment-paypal@1.2.1
 - medusa-payment-stripe@1.1.39
 - medusa-plugin-algolia@0.2.1
 - medusa-plugin-contentful@1.2.1
 - medusa-plugin-mailchimp@1.1.40
 - medusa-plugin-meilisearch@0.2.1
 - medusa-plugin-sendgrid@1.3.1
 - medusa-plugin-slack-notification@1.3.1
 - medusa-plugin-twilio-sms@1.2.1
 - medusa-react@0.3.1
 - @medusajs/medusa@1.3.1
2022-05-31 09:12:18 +02:00
olivermrbl
a8330003d9 Merge branch 'master' into develop 2022-05-31 08:41:57 +02:00
Philip Korsholm
3f23edea23 fix(medusa): Allow de-selecting configurations in price lists (#1596) 2022-05-30 19:34:34 +02:00
Adrien de Peretti
d0c679fc7e feat(medusa): Export BaseEntity/SoftDeletableEntity from the core (#1594) 2022-05-30 17:47:20 +02:00
Shahed Nasser
2a942d52af Merge pull request #1592 from medusajs/docs/fix-storefront-endpoints
docs: fix for storefront endpoints
2022-05-30 13:12:59 +03:00
Shahed Nasser
527fa5eef1 change endpoint route 2022-05-30 12:49:46 +03:00
Shahed Nasser
8c00e9673a docs: fix for storefront endpoints 2022-05-30 12:48:20 +03:00
Shahed Nasser
b808618be6 Merge pull request #1591 from medusajs/docs/fix-admin-endpoint
docs: fix for admin endpoints
2022-05-30 12:46:46 +03:00
Shahed Nasser
97f8ce39fc docs: fix for admin endpoints 2022-05-30 12:14:56 +03:00
Shahed Nasser
9529f4ae80 docs: fix create migration command
docs: fix create migration command
2022-05-30 11:14:04 +03:00
Shahed Nasser
903f5982c2 docs: fix migrations 2022-05-30 10:51:06 +03:00
olivermrbl
d4470b0c4a Merge branch 'master' into develop 2022-05-30 09:49:05 +02:00
olivermrbl
a777e28282 chore: update yarn.lock 2022-05-30 09:48:50 +02:00
Kasper Fabricius Kristensen
083ab09361 fix(medusa): Prevent discount type updates (#1584) 2022-05-30 09:44:53 +02:00
Adrien de Peretti
fa031fd28b feat(medusa): Support deleting prices from a price list by product or variant (#1555) 2022-05-30 09:41:57 +02:00
Shahed Nasser
269cbafe43 docs: Improved documentation for MinIO (#1524) 2022-05-30 09:22:14 +02:00
Shahed Nasser
4a23c65023 docs: Remove Create Your Medusa Server document (#1578) 2022-05-30 09:17:50 +02:00
Shahed Nasser
eff089a26c docs: Add sitemap to API reference (#1581) 2022-05-30 09:15:40 +02:00
Sebastian Rindom
ad9cfedf04 chore: add telemetry ping (#1509)
* chore: add telemetry ping

* fix: add track and 6th hour
2022-05-28 13:58:48 +02:00
Shahed Nasser
22eeefba53 added events reference 2022-05-27 16:59:25 +03:00
Shahed Nasser
9c47736f4e Improve storefront quickstart documents 2022-05-25 14:47:42 +03:00