Wykres commitów

370 Commity (a041d3d505539f03dce4d0570f067ecc1eb4e7a9)

Autor SHA1 Wiadomość Data
Michael Borisov a041d3d505 Update readme (#212)
* Update readme

* Update README.md

Co-Authored-By: James Ramm <JamesRamm@users.noreply.github.com>

* Merge two commands
2019-11-30 10:42:41 +01:00
pyup.io bot 80c629a202 Update setuptools from 41.4.0 to 42.0.1 (#277) 2019-11-30 10:42:20 +01:00
Brady 1dfb817ecb Jinja2 Tag Support (#268)
* first stab at adding jinja2 tag support

* prefer relative imports
2019-11-30 10:42:07 +01:00
dependabot[bot] f1089da6f2 Bump mixin-deep from 1.3.1 to 1.3.2 in /website (#273)
Bumps [mixin-deep](https://github.com/jonschlinkert/mixin-deep) from 1.3.1 to 1.3.2.
- [Release notes](https://github.com/jonschlinkert/mixin-deep/releases)
- [Commits](https://github.com/jonschlinkert/mixin-deep/compare/1.3.1...1.3.2)

Signed-off-by: dependabot[bot] <support@github.com>
2019-11-30 10:41:32 +01:00
dependabot[bot] f6b030522f Bump lodash.merge from 4.6.1 to 4.6.2 in /website (#274)
Bumps [lodash.merge](https://github.com/lodash/lodash) from 4.6.1 to 4.6.2.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/commits)

Signed-off-by: dependabot[bot] <support@github.com>
2019-11-30 10:41:20 +01:00
dependabot[bot] 8cfe34a7db Bump lodash from 4.17.11 to 4.17.15 in /website (#275)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.11 to 4.17.15.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.11...4.17.15)

Signed-off-by: dependabot[bot] <support@github.com>
2019-11-30 10:41:04 +01:00
thenewguy 85e4cfed61 Issue 219 calculated rates base class (#230)
* add test for get_shipping_cost with a basket rate

* add fields to allow us to tie shipping rate to a basket & address

* add test for testing specified address and basket

* add migration for new shipping rate fields

* add missing import

* fix name errors

* add shipping possibilities based on shipping address and basket id

* test basket, shipping address, & basket+shipping address rate assignment

* return correct rates for basket and address rate cases

* rename shipping rate address for clarity (origin/destination)

* send basket modified signal when basket is modified via api endpoints

* test address only rate

* remove basket rates when the basket_modified signal is sent

* show response content on error

* print response content on failure for more tests and include more 200
statuses for put

* getting different status codes back from our endpoints, check success

* clear shipping rates based on destination address when address modified

* allow get params

* return cost and rate options for more cases (test not complete)

* fix mock

* return applicable shipping options and test some combinations

* stub the rate processor interface

* add fk from rate to processor that created it

* set rate basket and destination

* shipping processor instance can apply to more than one country

* run processor get_rates if configured

* let child models handle assignment

* add some initial testing for processor

* rename _get_rates() to process_rates()

* allow disabling the success check

* test country shipping option with processor requires destination

* test that the endpoint calls get_rate on the processor

* test that multiple processors are called once

* add shipping_origin fk to site settings

* add default cache key based on origin, destination, & basket items

* test a trivial rate processor implementation is used

* test cost endpoint returns the processed rate

* pin version requirement

* fix wagtail version

* start vagrant config

* get tox to run

* install nvm for vagrant user

* add instructions to move npm deps off shared folder for speed

* compact into a shell script for ease of use

* add some more examples as temporary documentation

* tests require dev reqs

* clean this up a little

* add migrations for productrequest app to fix test runner

* raise exception on error instead of returning error response

* test exception raised when country and country code specified

* test for destination address does not exist

* test exception when country and country code are not supplied

* set request.site as it is expected

* test get_shipping_cost_kwargs with only country code

* check the basket id and the settings

* value passed for country is supposed to be PK

* test with country specified

* write test so we can test with iso as string of known value

* tes destination is respected

* test with destination and country code

* test shipping_rate_name is set as name

* move models

* rename models.py

* rename to be consistent with rates being plural

* move serializers

* move models

* ignore private vagrant subdir

* move code around to fix circular imports to allow top level imports

* move address serializer import to top level

* ws

* ws
2019-11-06 13:46:07 +01:00
thenewguy 0cac5ba8e3 Vagrant for local testing (#257)
* Vagrantfile for running tests
2019-10-07 20:01:15 +02:00
pyup.io bot 667732a516 Update setuptools from 41.2.0 to 41.4.0 (#264) 2019-10-07 19:54:53 +02:00
JamesRamm 0cd3e095b7 Add dockerfile for development 2019-10-06 16:41:15 +02:00
JamesRamm bbf17b1096 Fix deps 2019-10-06 16:41:03 +02:00
pyup.io bot 79cac6ebd5 Update djangorestframework from 3.9.2 to 3.10.3 (#255) 2019-10-06 11:25:11 +02:00
Jonas Ghyllebert 4b9cb70d3e Add docs for integrating Longclaw in existing projects (#235)
* Add docs for integrating Longclaw

* Fix id name for add to basket button

* Add context processor step
2019-10-06 11:17:24 +02:00
thenewguy 98d39540fe add migrations for productrequest app to fix test runner (#259) 2019-10-06 11:16:20 +02:00
JamesRamm 5d5ed2afb4 Merge branch 'master' of https://github.com/JamesRamm/longclaw 2019-09-22 12:34:42 +02:00
JamesRamm 2594246221 Fixes #256, Fixes #248 2019-09-22 12:33:34 +02:00
pyup.io bot 54c9e09725 Update wheel from 0.33.1 to 0.33.6 (#253) 2019-09-22 12:08:06 +02:00
pyup.io bot 6435e097bc Update setuptools from 41.0.1 to 41.2.0 (#254) 2019-09-22 12:07:14 +02:00
James Ramm 109b7b214c
Update requirements.txt
Fixes #246
2019-08-02 08:22:53 +02:00
pyup.io bot 8bbf2e6d70 Update setuptools from 41.0.0 to 41.0.1 (#234) 2019-04-28 20:29:35 +02:00
JamesRamm 70e8ffa47c Merge branch 'master' of https://github.com/JamesRamm/longclaw 2019-04-14 18:41:23 +02:00
pyup.io bot 92e0e2fbf9 Update setuptools from 40.8.0 to 41.0.0 (#232) 2019-04-14 09:49:16 +02:00
JamesRamm 44b49e07f4 Bump version: 1.0.1 → 1.0.2 2019-03-28 21:12:42 +01:00
JamesRamm d17eecca0e Merge branch 'master' of https://github.com/JamesRamm/longclaw 2019-03-28 21:12:12 +01:00
JamesRamm 12c50e6d55 Force inclusion of JSON files 2019-03-28 21:11:54 +01:00
pyup.io bot cf9e0b6d41 Update django-extensions from 2.1.5 to 2.1.6 (#226) 2019-03-28 20:23:35 +01:00
pyup.io bot 0243ee67df Update wheel from 0.33.0 to 0.33.1 (#225) 2019-03-28 20:23:02 +01:00
pyup.io bot 99261d8a6a Update djangorestframework from 3.9.1 to 3.9.2 (#227) 2019-03-28 20:22:32 +01:00
JamesRamm 4c59050350 Bump version: 1.0.0 → 1.0.1 2019-03-28 20:13:58 +01:00
JamesRamm 0d753f60dd Merge branch 'master' of https://github.com/JamesRamm/longclaw 2019-03-28 20:00:52 +01:00
pyup.io bot 7f2c0cc319 Update django-extensions from 2.1.4 to 2.1.5 (#216) 2019-02-13 07:29:02 +01:00
pyup.io bot 79f7330b42 Update setuptools from 40.6.3 to 40.8.0 (#220) 2019-02-13 07:28:51 +01:00
pyup.io bot 4b9477af4c Update wheel from 0.32.3 to 0.33.0 (#223) 2019-02-13 07:27:54 +01:00
JamesRamm 5b3ea482f2 Use twin for distribution 2019-02-03 10:53:53 +01:00
JamesRamm b9751c3715 Merge branch 'master' of https://github.com/JamesRamm/longclaw 2019-02-03 10:46:12 +01:00
JamesRamm d4fe830e69 README update 2019-02-03 10:45:52 +01:00
pyup.io bot a52b91192a Update djangorestframework from 3.9.0 to 3.9.1 (#211) 2019-01-18 07:16:01 +01:00
JamesRamm b4f552860d Documentation updates 2019-01-16 07:35:27 +01:00
James Ramm 9188b3e10c
Fixes #210
Bump the version
2019-01-08 20:32:38 +01:00
JamesRamm 6c3abc47b7 update readme 2019-01-06 22:38:38 +01:00
JamesRamm 3ae511eec9 Update docs on creating frontend 2019-01-06 22:30:24 +01:00
JamesRamm 7f9648546d Product index with price 2019-01-06 19:12:45 +01:00
JamesRamm cd64f01ba7 Improve project template HTML starters 2019-01-06 15:37:28 +01:00
JamesRamm eb4215cc53 Correct name of template in project setup 2019-01-06 12:13:03 +01:00
JamesRamm b0238018ad Update project template to show images 2019-01-05 22:45:56 +01:00
JamesRamm ae73f306e8 Update product admin tutorial 2019-01-05 22:20:37 +01:00
JamesRamm b0db4495c2 Update tutorial - adding products 2019-01-05 18:29:04 +01:00
JamesRamm f949d526ce Update installation tutorial 2019-01-05 17:23:36 +01:00
JamesRamm 68456b983a Update config fo gh-pages 2018-12-31 16:18:01 +01:00
JamesRamm 3741dc5234 Update documentation 2018-12-31 16:09:12 +01:00