{"push_id":1065864842,"size":10,"distinct_size":1,"ref":"refs/heads/master","head":"651299c611e20e6dd6081824e347aee9f49896ef","before":"1c8ad2b195fd77b74d1895b60dd13baff7fd75c5","commits":[{"sha":"8d1ed19de75b9182fcd8d5fd21eff2858abd3c5f","author":{"email":"6d184dbaea4c76d9c2496f5b6d33cbc2e2c86567@shoop.io","name":"Tuomas Suutari"},"message":"Core: Add PolymorphicTranslatableShoopModel etc\n\nAdd new abstract model classes which can be used as base for new models\nin Shoop or addons, and export the previously unexported ShoopModel and\nTranslatableShoopModel classes.\n\nThe new ones are PolymorphicShoopModel and\nPolymorphicTranslatableShoopModel.\n\nRefs SHOOP-2293","distinct":false,"url":"https://api.github.com/repos/shoopio/shoop/commits/8d1ed19de75b9182fcd8d5fd21eff2858abd3c5f"},{"sha":"e82de1e7c1ff146d12239063bf544099b6274074","author":{"email":"6d184dbaea4c76d9c2496f5b6d33cbc2e2c86567@shoop.io","name":"Tuomas Suutari"},"message":"Contact: Utilize PolymorphicShoopModel\n\nRefs SHOOP-2293","distinct":false,"url":"https://api.github.com/repos/shoopio/shoop/commits/e82de1e7c1ff146d12239063bf544099b6274074"},{"sha":"3146f4abe562ff2c22054005a0d230b992b67f50","author":{"email":"6d184dbaea4c76d9c2496f5b6d33cbc2e2c86567@shoop.io","name":"Tuomas Suutari"},"message":"Core: Add DurationRange class\n\nAdd DurationRange class for expressing a range of durations.  An\ninstance of DurationRange has min_duration and max_duration and can be\nused to express inaccurate shipping times like \"3--9 days\" or more\naccurate ones too, e.g. \"7 days\", when min_duration=max_duration.\n\nRefs SHOOP-2293","distinct":false,"url":"https://api.github.com/repos/shoopio/shoop/commits/3146f4abe562ff2c22054005a0d230b992b67f50"},{"sha":"d2efdd5eae3ea0eb397995bcd7d4560bcfd0d782","author":{"email":"96c5f7ba1ad5dd22bc8652753f11c09b6dc16fe7@anders.fi","name":"Panu Tulimäki"},"message":"Admin: Remove MethodModule\n\nRemove payment and shipping method admin to make it easier to refactor\nthe shipping and payment API in core.  New admin modules will be\nprovided later after the core is refactored.\n\nRefs SHOOP-2293","distinct":false,"url":"https://api.github.com/repos/shoopio/shoop/commits/d2efdd5eae3ea0eb397995bcd7d4560bcfd0d782"},{"sha":"5903efd0ddd00204079bca8c38ddfd6d2c3913d0","author":{"email":"6d184dbaea4c76d9c2496f5b6d33cbc2e2c86567@shoop.io","name":"Tuomas Suutari"},"message":"New service and method API\n\nReplace shoop.core.methods with a new models based API.\n\nThe new API is (shortly) documented at doc/services.rst.\n\nChanges by component\n====================\n\nCore\n----\n\n* Add new models for service, service provider and behavior component\n* Update PaymentMethod and ShippingMethod models\n* Add migration for the model changes\n* Amend initial migration\n* Remove shoop.core.methods\n* Create service providers in shoop_init\n* OrderSource: Amend for Service API changes:\n  - `get_source_lines` => `get_lines`\n  - `get_validation_errors` => `get_unavailability_reasons`\n\nFront\n-----\n\n* Remove signal: get_method_validation_errors\n* Amend for API changes:\n   - basket: `is_valid_for_source` => `is_available_for`\n   - checkout: `get_effective_price_info` => `get_total_cost`\n   - checkout: `module.checkout_phase_class` => `get_checkout_phase`\n   - payment: Use PaymentUrls\n\nAdmin\n-----\n\n* Order creating: Amend for API change:\n   - `.filter(status=MethodStatus.ENABLED)` => `.enabled()`\n\nTesting\n-------\n\n* factories: Create service providers too when creating methods\n* Add ExpensiveSwedenBehaviorComponent for test use\n* Replace PseudoPaymentMethodModule with PseudoPaymentProcessor\n\nTests\n-----\n\n* test_methods\n* campaigns: Create Methods for correct shop\n* test_foreignkeys: Add shop argument for Method creation\n\nGeneral\n-------\n\n* Add documentation for the new service API\n* Update provides documentation:\n   - Remove `shipping_method_module` and `payment_method_module`\n* Regenerate API documentation\n* Update translations\n\nRefs SHOOP-2293","distinct":false,"url":"https://api.github.com/repos/shoopio/shoop/commits/5903efd0ddd00204079bca8c38ddfd6d2c3913d0"},{"sha":"9809cd473eb5186ffce6a13746a9d35fc8665c66","author":{"email":"6d184dbaea4c76d9c2496f5b6d33cbc2e2c86567@shoop.io","name":"Tuomas Suutari"},"message":"Add tests for service providers\n\nAdd some tests for service providers (using CustomCarrier), mostly\nmanager related tests for testing PolymorphicTranslatableShoopModel.\n\nRefs SHOOP-2293","distinct":false,"url":"https://api.github.com/repos/shoopio/shoop/commits/9809cd473eb5186ffce6a13746a9d35fc8665c66"},{"sha":"06465a0f84b0b43b2250a55e10317ed4dbc01be9","author":{"email":"96c5f7ba1ad5dd22bc8652753f11c09b6dc16fe7@anders.fi","name":"Panu Tulimäki"},"message":"Rename test_product_flow to test_checkout_flow\n\nRefs SHOOP-2293","distinct":false,"url":"https://api.github.com/repos/shoopio/shoop/commits/06465a0f84b0b43b2250a55e10317ed4dbc01be9"},{"sha":"92ed2f0145ae91ebe36b32510129f5aa5a1d7768","author":{"email":"96c5f7ba1ad5dd22bc8652753f11c09b6dc16fe7@anders.fi","name":"Panu Tulimäki"},"message":"Add test: test_order_flow_with_payment_phase\n\nAdd a test case for testing payment method with a custom checkout phase.\n\nAdd new payment processor called `PaymentWithCheckoutPhase` to\nshoop.testing for implementing the test.\n\nRefs SHOOP-2293","distinct":false,"url":"https://api.github.com/repos/shoopio/shoop/commits/92ed2f0145ae91ebe36b32510129f5aa5a1d7768"},{"sha":"657522d1adc6ad67f8f44074dd9ac39faa2be7a6","author":{"email":"96c5f7ba1ad5dd22bc8652753f11c09b6dc16fe7@anders.fi","name":"Panu Tulimäki"},"message":"Add new method tests\n\nAdd two new test cases: test_source_lines_with_multiple_fixed_costs and\ntest_process_payment_return_request.\n\nRefs SHOOP-2293","distinct":false,"url":"https://api.github.com/repos/shoopio/shoop/commits/657522d1adc6ad67f8f44074dd9ac39faa2be7a6"},{"sha":"651299c611e20e6dd6081824e347aee9f49896ef","author":{"email":"96c5f7ba1ad5dd22bc8652753f11c09b6dc16fe7@anders.fi","name":"Panu Tulimäki"},"message":"Merge pull request #412 from suutari-ai/service-core\n\nNew service and method API (SHOOP-2293)","distinct":true,"url":"https://api.github.com/repos/shoopio/shoop/commits/651299c611e20e6dd6081824e347aee9f49896ef"}]}