Commit Graph

247 Commits

Author SHA1 Message Date
pKorsholm 3ae6bdb7fc add ranking of variants to product creation implementation 2021-09-03 17:18:20 +02:00
pKorsholm 32880dbed3 add ranking of variants to product creation 2021-09-03 17:17:43 +02:00
Sebastian Rindom ae82cfc70a feat: creates support for swaps on the storefront (#355) 2021-08-30 12:14:56 +02:00
Oliver Windall Juhl 5d63b0c8d2 hotfix: Allow sale_amount product updates (#346) 2021-08-20 17:14:19 +02:00
Sebastian Rindom 9467f7ecbd fix: build openapi (#338) 2021-08-16 15:45:50 +02:00
Sebastian Rindom 1039d040e9 Add SQLite support for easy setup (#336)
* Modifies schema to allow SQLite as a DB driver. SQLite is preinstalled in most OSes allowing for minimal prerequisites in the installation process.

* Removes Redis dependency and replaces "real" redis instance with ioredis-mock this is not feature complete and errors are expected.

* Updates medusa new command to only ask for Postgres credentials if the starter template has database_type === "postgres" in medusa-config.js

* Small improvements to bin resolution

* Improvements to endpoint stability
2021-08-16 15:45:26 +02:00
Zakaria El Asri ca0de00d0b add: is_discount filtering + unit tests (#330) 2021-08-05 16:44:19 +02:00
Zakaria El Asri b101725396 fix: product and variant api route validation (#331) 2021-08-05 15:36:14 +01:00
Kasper Fabricius Kristensen f07cc0fa40 feat: In band inventory updates (#311)
Co-authored-by: olivermrbl <oliver@mrbltech.com>
2021-08-05 12:21:15 +02:00
Oliver Windall Juhl 6053c4a8dd feat: Add discountable flag to product (#329) 2021-08-05 10:40:12 +02:00
Zakaria El Asri 821d8be733 feat: add route for retrieving a swap (#326)
* feat: swap details

* test: add get-swap and list-swaps route tests

* test: add swaps integration tests

* fix: use IdMap.getId in complete-cart unit test

commit 289d191 uses the IdMap.getId in the SwapServiceMock retrieve method, so a unit test in complete-cart needs to be adjusted accordingly

* fix: prefix default fields and totals with 'cart'
2021-07-29 16:47:33 +01:00
Sebastian Rindom 79ed86daec docs: route 2021-07-13 10:43:07 +02:00
Sebastian Rindom 5a1cbc68b7 fix: allow updating billing address on customer 2021-07-13 10:41:06 +02:00
Sebastian Mateos Nicolajsen 92caff845e Feat/improve overview of gift cards (#297)
* modified list-gift-card

* added search with relations to gift cards to allow for proper lookup

* removed new line

* created skeleton for testing

* began impl. tests

* added more test

* finished tests

* reverted failed changes

* updated tests to accomodate re-introduced additions

* removed VSCode settings file

* updated according to comments

* corrected use of findOneWithRelations for gift-card

* corrected parsing to be postgresql instead of an if-statement for gift-card

* changed bits and pieces
2021-07-08 09:59:59 +02:00
Sebastian Mateos Nicolajsen 0c96813e2f Merge pull request #293 from medusajs/feat/disabling-of-notification
Feat/disabling of notification
2021-07-08 09:59:09 +02:00
--list 96e6c73a33 removed unused imports 2021-07-05 11:03:44 +02:00
--list fa3cde07ac snake_cased noNotification and other minor changes 2021-07-05 09:49:58 +02:00
--list 243fbe7e79 corrected failing tests 2021-07-05 08:35:15 +02:00
--list 38a59b2c2e incl. order notification for draft-order 2021-07-02 15:29:49 +02:00
--list c1a14a647f readded needed relations to GET order 2021-07-02 15:19:23 +02:00
Sebastian Rindom c0132700b7 fix: adds tracking links to customer orders 2021-07-02 14:17:20 +02:00
--list 100352ad09 removed errornous changes 2021-07-02 12:45:54 +02:00
--list 7cecc021f4 corrected formatting based on walkthrough of pr 2021-07-02 12:31:44 +02:00
--list 92710eb1de Merge branch 'develop' into feat/disabling-of-notification 2021-07-02 12:11:45 +02:00
--list 02b6c19391 added changes 2021-07-02 12:11:09 +02:00
--list 46a3cb3710 corrected tests 2021-07-02 10:53:27 +02:00
Sebastian Rindom 41bb7463bb chore: update tests 2021-06-29 16:44:52 +02:00
Sebastian Rindom 6342e68d06 fix: better store/customer support 2021-06-29 16:31:30 +02:00
--list bb85edb5ca revamped way of propegating noNotification, now redo tests 2021-06-28 15:03:03 +02:00
--list 5e0f2f64ac Merge branch 'master' into feat/disabling-of-notification 2021-06-28 13:15:06 +02:00
--list 534b321dc0 Merge branch 'master' of github.com:medusajs/medusa 2021-06-28 12:42:38 +02:00
--list e86f4656a9 testing 2021-06-28 12:42:26 +02:00
--list b62d4a7038 post code-review discussion 2021-06-25 15:04:24 +02:00
--list c789e01fdd corrected indent and duplications 2021-06-24 16:31:12 +02:00
--list 7a071cc817 added some more tests 2021-06-24 16:12:09 +02:00
--list f0f5d175da Merge branch 'develop' into feat/disabling-of-notification 2021-06-24 08:51:45 +02:00
Sebastian Rindom db9d6c0cf5 Merge pull request #271 from medusajs/fix/mp
Fix/mp
2021-06-22 10:38:44 +02:00
--list 8cd4e2e818 added expect-relations helper and used it to test get-cart 2021-06-17 16:55:05 +02:00
--list 0f2fe26b0e properly removed all merge conflicts 2021-06-17 08:51:57 +02:00
--list 99c95c8bfb fixed merge conflicts 2021-06-17 08:37:54 +02:00
Sebastian Rindom 88d96a29fd fix: adds transformer to map field names to field_id names 2021-06-15 17:55:22 +02:00
--list 24a8b242b2 added draft-cart no_notification element to allow passing this to orders as admin 2021-06-15 17:29:42 +02:00
--list 6a0da1a423 corrected tests and added null checks 2021-06-15 10:33:53 +02:00
--list bd6d0c6130 added tests to remaining components 2021-06-10 13:14:42 +02:00
--list 5b65345af1 began testing no_notification in different layers 2021-06-10 13:14:42 +02:00
--list b8833055b2 began impl. of no_notification 2021-06-10 13:14:08 +02:00
--list 86d91da31f added changes to swap and notification service 2021-06-10 13:11:56 +02:00
--list 5fd1993139 added no_notification to services and api endpoints 2021-06-10 13:05:00 +02:00
--list bc3fc2188c began impl. of no_notification 2021-06-10 13:05:00 +02:00
--list ea53b79831 added changes to swap and notification service 2021-06-10 13:05:00 +02:00