Commit Graph

2198 Commits

Author SHA1 Message Date
Shahed Nasser
61447863e0 merged 2022-06-16 19:08:25 +03:00
Shahed Nasser
1af7a9d1eb added how to create notification provider 2022-06-16 19:05:51 +03:00
Shahed Nasser
444ef1ea3f added notification overview 2022-06-16 19:05:51 +03:00
Shahed Nasser
c723f12fa7 docs: added additional steps section
docs: added additional steps section
2022-06-16 18:58:16 +03:00
Shahed Nasser
688d06e13a Merge branch 'docs/improve-quickstart' of https://github.com/medusajs/medusa into docs/improve-quickstart 2022-06-16 18:28:41 +03:00
Shahed Nasser
1594111cbf added additional steps section 2022-06-16 18:28:36 +03:00
Shahed Nasser
1110bc5966 docs: added contribution guidelines
docs: added contribution guidelines
2022-06-16 18:26:29 +03:00
Shahed Nasser
e227c20c3a Merge branch 'docs/contribution-guidelines' of https://github.com/medusajs/medusa into docs/contribution-guidelines 2022-06-16 18:05:48 +03:00
Shahed Nasser
9c2511a86d Added guidelines for sidebar labels 2022-06-16 18:05:44 +03:00
Shahed Nasser
dcbc1e9f5a added docs contribution guidelines 2022-06-16 18:05:44 +03:00
Shahed Nasser
d67c9ce5d4 docs: added documentation for entities
docs: added documentation for entities
2022-06-16 18:04:59 +03:00
Shahed Nasser
2a65168b53 Merge branch 'docs/entities-docs' of https://github.com/medusajs/medusa into docs/entities-docs 2022-06-16 17:36:47 +03:00
Shahed Nasser
4ae0aca827 added documentation for entities 2022-06-16 17:36:41 +03:00
Shahed Nasser
c50e9aaeb6 docs: updated frontend checkout flow documentation
docs: updated frontend checkout flow documentation
2022-06-16 17:26:43 +03:00
Shahed Nasser
890fdacfdb Merge branch 'docs/checkout-flow' of https://github.com/medusajs/medusa into docs/checkout-flow 2022-06-16 17:07:02 +03:00
Shahed Nasser
b3abf02a21 updated frontend checkout flow 2022-06-16 17:06:53 +03:00
Shahed Nasser
d0c384cba1 Docs: added integration with Segment
Docs: added integration with Segment
2022-06-16 16:57:58 +03:00
Shahed Nasser
c6b857251a fix double segment 2022-06-16 16:00:07 +03:00
Shahed Nasser
f7161d7693 Merge branch 'docs/segment-integration' of https://github.com/medusajs/medusa into docs/segment-integration 2022-06-16 15:58:28 +03:00
Shahed Nasser
1af5a83e19 add segment for API reference 2022-06-16 15:57:15 +03:00
Shahed Nasser
8a3e4ba355 added integration 2022-06-16 15:55:50 +03:00
Shahed Nasser
50412fb52d docs: use npm2yarn plugin in MinIO doc
docs: use npm2yarn plugin in MinIO doc
2022-06-16 15:43:54 +03:00
Shahed Nasser
bf5f13a9e2 Merge branch 'docs/fix-minio' of https://github.com/medusajs/medusa into docs/fix-minio 2022-06-16 15:22:42 +03:00
Shahed Nasser
ef344bb255 Use npm2yarn where missing 2022-06-16 15:21:16 +03:00
Shahed Nasser
c0eda251f6 docs: disable running tests for docs
docs: disable running tests for docs
2022-06-16 15:17:31 +03:00
Shahed Nasser
6c3ea4b2d7 Merge branch 'master' of https://github.com/medusajs/medusa into fix/action-for-docs 2022-06-16 15:00:40 +03:00
Adrien de Peretti
453688682c feat(medusa): Support batch-job API (#1547)
* feat(medusa): Implement confirm batch job end point

* feat(medusa): Implement confirm batch-job end point

* feat(medusa): Add create batch job end point and implementation

* feat(medusa): remove cancelled related

* feat(medusa): Remove unrelated content for batch job creation

* feat(medusa): Cleanup migration

* feat(medusa): Cleanup context

* fix(medusa): Batch-job service import

* feat(medusa): Update migration

* test(medusa): Fix batch job tests

* feat(medusa): Start batch job end point

* feat(medusa): Continue end points

* feat(medusa): Continue end points

* feat(medusa): Finalize batch-job end points

* style(medusa): Lint

* feat(medusa): Cleanup

* feat(medusa): Fix list-batch-job endpoint column selection

* feat(medusa): Batch-job feedback

* feat(medusa): Update create-batch-job endpoint doc

* test(integration-tests): Fix batch-job integration reguarding the response status code

* feat(medusa): Finalize rebase from develop

* feat(medusa): Extend batch job status with ready_at and failed_at

* feat(medusa): Update migration and tests accordingly

* feat(medusa): Update status order on batchJob

* feat(medusa): Enhance batchJobService status update

* style(medusa): Cleanup

* style(medusa): Typo

* style(medusa): Remove unnecessary comment

* cleanup(medusa): Address feedback

* test(integration-tests): Update naming and snapshots

* fix(medusa): Update validator

Co-authored-by: Philip Korsholm <88927411+pKorsholm@users.noreply.github.com>

* Fix(medusa): update validator

Co-authored-by: Philip Korsholm <88927411+pKorsholm@users.noreply.github.com>

* test(intergration-tests): Fix creates batch job

* test(integration-tests): Fix snapshot

* feat(medusa): Re-work status

* tests(integration-tests): Fix batch job

* feat(medusa): Addresses feedback

* fix(medusa): Revert package.json script

* feat(medusa/batch-job-api): Improve status management

* feat(medusa): Improve batch job status and remove some context validation from the service

* feat(medusa): BatchJob api merge params

* feat(medusa): Apply last changes on the batch job service

* Update packages/medusa/src/services/batch-job.ts

Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com>

* 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

* docs: Add Services reference (#1548)

* added events reference

* add upgrade guide for 1.3.0

* Update 1-3-0.md

* merge 1.3.0 with 1.3.1

* rename to 1.3.0

* added paypal documentation

* Improve storefront quickstart documents

* 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)

* fix: Issue with cache in CI pipeline

Co-authored-by: Philip Korsholm <88927411+pKorsholm@users.noreply.github.com>
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com>
Co-authored-by: Shahed Nasser <shahednasser@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-16 13:57:18 +02:00
olivermrbl
ee9fb8324c Merge branch 'master' into develop 2022-06-16 13:25:45 +02:00
Oliver Windall Juhl
c9041d042e fix: Issue with cache in CI pipeline 2022-06-16 13:25:04 +02:00
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
Shahed Nasser
04079b86a8 Merge branch 'master' into docs/checkout-flow 2022-06-14 10:39:34 +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
Shahed Nasser
98e61b8b20 Merge branch 'master' into docs/segment-integration 2022-06-10 17:20:07 +03: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
Shahed Nasser
2ac07400a6 added how to create notification provider 2022-06-09 16:35:06 +03:00
Adrien de Peretti
78bd61abe1 Refactor: claim service to TS + refactoring (#1287) 2022-06-09 10:29:44 +01:00
Shahed Nasser
f6d1d06228 Added guidelines for sidebar labels 2022-06-09 11:06:34 +03:00