Wykres commitów

406 Commity (master)

Autor SHA1 Wiadomość Data
Nick Moreton cfd2df17e0
Deals with the deprecation of request.site in wagtail 2.9 (#488) 2023-08-13 09:17:47 +01:00
Nick Moreton 7d4c22ca64
Developer docs update (#487)
* Add .nvmrc file to longclaw/client to keep us all on the same version of node

It's also inline with the version of node that is used in the github actions workflow

* Adding some further documentation to the README.md

It should help people to understand the current status of the project and
how to get started with development.

* Let github actions run on all branches
2023-07-10 11:53:55 +02:00
Nick Moreton 33f02445ef
Initial testing fixes (#485)
* Test py 37,38,39 (#1) dj 22 wt 211,212,213

* Fixes the template include issue with the lock/unlock menu item

* Pin the upper bound of the supported Wagtail version to 2.13 and Django to 2.2

* Add some initial documentation for development setup
2023-07-07 15:00:12 +02:00
dependabot[bot] d4e1257033
Bump qs from 6.5.2 to 6.5.3 in /website (#483)
Bumps [qs](https://github.com/ljharb/qs) from 6.5.2 to 6.5.3.
- [Release notes](https://github.com/ljharb/qs/releases)
- [Changelog](https://github.com/ljharb/qs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ljharb/qs/compare/v6.5.2...v6.5.3)

---
updated-dependencies:
- dependency-name: qs
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: James Ramm <JamesRamm@users.noreply.github.com>
2023-04-27 13:39:21 +02:00
dependabot[bot] 7159e9ae0b
Bump setuptools from 58.3.0 to 65.5.1 (#478)
Bumps [setuptools](https://github.com/pypa/setuptools) from 58.3.0 to 65.5.1.
- [Release notes](https://github.com/pypa/setuptools/releases)
- [Changelog](https://github.com/pypa/setuptools/blob/main/CHANGES.rst)
- [Commits](https://github.com/pypa/setuptools/compare/v58.3.0...v65.5.1)

---
updated-dependencies:
- dependency-name: setuptools
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: James Ramm <JamesRamm@users.noreply.github.com>
2023-04-27 13:37:57 +02:00
dependabot[bot] e48b016656
Bump wheel from 0.37.0 to 0.38.1 (#477)
Bumps [wheel](https://github.com/pypa/wheel) from 0.37.0 to 0.38.1.
- [Release notes](https://github.com/pypa/wheel/releases)
- [Changelog](https://github.com/pypa/wheel/blob/main/docs/news.rst)
- [Commits](https://github.com/pypa/wheel/compare/0.37.0...0.38.1)

---
updated-dependencies:
- dependency-name: wheel
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: James Ramm <JamesRamm@users.noreply.github.com>
2023-04-27 13:37:21 +02:00
dependabot[bot] 733fb51935
Bump express from 4.16.4 to 4.18.2 in /website (#476)
Bumps [express](https://github.com/expressjs/express) from 4.16.4 to 4.18.2.
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/master/History.md)
- [Commits](https://github.com/expressjs/express/compare/4.16.4...4.18.2)

---
updated-dependencies:
- dependency-name: express
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-27 13:36:45 +02:00
dependabot[bot] 9d97a098c1
Bump css-what from 2.1.2 to 2.1.3 in /website (#473)
Bumps [css-what](https://github.com/fb55/css-what) from 2.1.2 to 2.1.3.
- [Release notes](https://github.com/fb55/css-what/releases)
- [Commits](https://github.com/fb55/css-what/compare/v2.1.2...v2.1.3)

---
updated-dependencies:
- dependency-name: css-what
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: James Ramm <JamesRamm@users.noreply.github.com>
2023-04-27 13:36:27 +02:00
pyup.io bot 67fc5db915
Update setuptools from 58.3.0 to 62.4.0 (#471)
Co-authored-by: James Ramm <JamesRamm@users.noreply.github.com>
2023-04-27 13:36:10 +02:00
dependabot[bot] 32dcd50869
Bump django from 2.2.24 to 2.2.28 (#465)
Bumps [django](https://github.com/django/django) from 2.2.24 to 2.2.28.
- [Release notes](https://github.com/django/django/releases)
- [Commits](https://github.com/django/django/compare/2.2.24...2.2.28)

---
updated-dependencies:
- dependency-name: django
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-27 13:35:46 +02:00
dependabot[bot] 899b517972
Bump url-parse from 1.5.3 to 1.5.10 in /website (#458)
Bumps [url-parse](https://github.com/unshiftio/url-parse) from 1.5.3 to 1.5.10.
- [Release notes](https://github.com/unshiftio/url-parse/releases)
- [Commits](https://github.com/unshiftio/url-parse/compare/1.5.3...1.5.10)

---
updated-dependencies:
- dependency-name: url-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: James Ramm <JamesRamm@users.noreply.github.com>
2023-04-27 13:35:33 +02:00
dependabot[bot] 74f16b00c1
Bump prismjs from 1.25.0 to 1.27.0 in /website (#457)
Bumps [prismjs](https://github.com/PrismJS/prism) from 1.25.0 to 1.27.0.
- [Release notes](https://github.com/PrismJS/prism/releases)
- [Changelog](https://github.com/PrismJS/prism/blob/master/CHANGELOG.md)
- [Commits](https://github.com/PrismJS/prism/compare/v1.25.0...v1.27.0)

---
updated-dependencies:
- dependency-name: prismjs
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: James Ramm <JamesRamm@users.noreply.github.com>
2023-04-27 13:35:19 +02:00
dependabot[bot] 4e9e6809f4
Bump ajv from 6.6.2 to 6.12.6 in /website (#451)
Bumps [ajv](https://github.com/ajv-validator/ajv) from 6.6.2 to 6.12.6.
- [Release notes](https://github.com/ajv-validator/ajv/releases)
- [Commits](https://github.com/ajv-validator/ajv/compare/v6.6.2...v6.12.6)

---
updated-dependencies:
- dependency-name: ajv
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: James Ramm <JamesRamm@users.noreply.github.com>
2023-04-27 13:35:04 +02:00
dependabot[bot] 97b05eaa6d
Bump json5 from 2.1.0 to 2.2.3 in /website (#479)
Bumps [json5](https://github.com/json5/json5) from 2.1.0 to 2.2.3.
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](https://github.com/json5/json5/compare/v2.1.0...v2.2.3)

---
updated-dependencies:
- dependency-name: json5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: James Ramm <JamesRamm@users.noreply.github.com>
2023-04-27 13:34:29 +02:00
David Smejkal 47f835e071
Closes #480 Fixed broken link to the project's github documentation (#481) 2023-04-27 13:34:06 +02:00
pyup.io bot f570918530
Update bumpversion from 0.5.3 to 0.6.0 (#302)
Co-authored-by: James Ramm <JamesRamm@users.noreply.github.com>
2021-10-25 14:33:02 +02:00
dependabot[bot] 1acb45e59f
Bump websocket-extensions from 0.1.3 to 0.1.4 in /website (#308)
Bumps [websocket-extensions](https://github.com/faye/websocket-extensions-node) from 0.1.3 to 0.1.4.
- [Release notes](https://github.com/faye/websocket-extensions-node/releases)
- [Changelog](https://github.com/faye/websocket-extensions-node/blob/master/CHANGELOG.md)
- [Commits](https://github.com/faye/websocket-extensions-node/compare/0.1.3...0.1.4)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: James Ramm <JamesRamm@users.noreply.github.com>
2021-10-25 14:32:19 +02:00
patagoniapy 2873f51c8c
Update utils.py (#343)
Co-authored-by: James Ramm <JamesRamm@users.noreply.github.com>
2021-10-25 14:32:03 +02:00
Blake Gilmore f8d4de7eac
Remove duplicate FieldPanel (#345)
Co-authored-by: James Ramm <JamesRamm@users.noreply.github.com>
2021-10-25 14:31:28 +02:00
dependabot[bot] b8aba2387d
Bump highlight.js from 9.13.1 to 9.18.5 in /website (#349)
Bumps [highlight.js](https://github.com/highlightjs/highlight.js) from 9.13.1 to 9.18.5.
- [Release notes](https://github.com/highlightjs/highlight.js/releases)
- [Changelog](https://github.com/highlightjs/highlight.js/blob/9.18.5/CHANGES.md)
- [Commits](https://github.com/highlightjs/highlight.js/compare/9.13.1...9.18.5)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: James Ramm <JamesRamm@users.noreply.github.com>
2021-10-25 14:30:49 +02:00
dependabot[bot] 82f0de32a1
Bump djangorestframework from 3.10.3 to 3.11.2 (#371)
Bumps [djangorestframework](https://github.com/encode/django-rest-framework) from 3.10.3 to 3.11.2.
- [Release notes](https://github.com/encode/django-rest-framework/releases)
- [Commits](https://github.com/encode/django-rest-framework/compare/3.10.3...3.11.2)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: James Ramm <JamesRamm@users.noreply.github.com>
2021-10-25 14:30:26 +02:00
dependabot[bot] b21d137bbf
Bump lodash from 4.17.15 to 4.17.21 in /website (#383)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.21)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: James Ramm <JamesRamm@users.noreply.github.com>
2021-10-25 14:30:02 +02:00
dependabot[bot] fdcc70546c
Bump hosted-git-info from 2.7.1 to 2.8.9 in /website (#385)
Bumps [hosted-git-info](https://github.com/npm/hosted-git-info) from 2.7.1 to 2.8.9.
- [Release notes](https://github.com/npm/hosted-git-info/releases)
- [Changelog](https://github.com/npm/hosted-git-info/blob/v2.8.9/CHANGELOG.md)
- [Commits](https://github.com/npm/hosted-git-info/compare/v2.7.1...v2.8.9)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: James Ramm <JamesRamm@users.noreply.github.com>
2021-10-25 14:29:41 +02:00
dependabot[bot] ce0346e3bf
Bump django from 2.2.5 to 2.2.24 (#390)
Bumps [django](https://github.com/django/django) from 2.2.5 to 2.2.24.
- [Release notes](https://github.com/django/django/releases)
- [Commits](https://github.com/django/django/compare/2.2.5...2.2.24)

---
updated-dependencies:
- dependency-name: django
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-25 14:29:23 +02:00
dependabot[bot] bd94337c47
Bump wagtail from 2.6.2 to 2.11.8 (#391)
Bumps [wagtail](https://github.com/wagtail/wagtail) from 2.6.2 to 2.11.8.
- [Release notes](https://github.com/wagtail/wagtail/releases)
- [Changelog](https://github.com/wagtail/wagtail/blob/main/CHANGELOG.txt)
- [Commits](https://github.com/wagtail/wagtail/compare/v2.6.2...v2.11.8)

---
updated-dependencies:
- dependency-name: wagtail
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: James Ramm <JamesRamm@users.noreply.github.com>
2021-10-25 14:28:37 +02:00
dependabot[bot] 8791c1050e
Bump set-getter from 0.1.0 to 0.1.1 in /website (#392)
Bumps [set-getter](https://github.com/doowb/set-getter) from 0.1.0 to 0.1.1.
- [Release notes](https://github.com/doowb/set-getter/releases)
- [Commits](https://github.com/doowb/set-getter/commits/0.1.1)

---
updated-dependencies:
- dependency-name: set-getter
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: James Ramm <JamesRamm@users.noreply.github.com>
2021-10-25 14:28:14 +02:00
jan-capek 9178fb990a
fix: AppConfig full paths (#394)
Co-authored-by: Jan Capek <jan@webtune.net>
Co-authored-by: James Ramm <JamesRamm@users.noreply.github.com>
2021-10-25 14:27:47 +02:00
pyup.io bot 1e4cb09e3f
Update wheel from 0.33.6 to 0.37.0 (#399)
Co-authored-by: James Ramm <JamesRamm@users.noreply.github.com>
2021-10-25 14:27:05 +02:00
dependabot[bot] 699b05aec4
Bump path-parse from 1.0.6 to 1.0.7 in /website (#400)
Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/jbgutierrez/path-parse/releases)
- [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7)

---
updated-dependencies:
- dependency-name: path-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-25 14:26:15 +02:00
dependabot[bot] d62211be05
Bump prismjs from 1.15.0 to 1.25.0 in /website (#408)
Bumps [prismjs](https://github.com/PrismJS/prism) from 1.15.0 to 1.25.0.
- [Release notes](https://github.com/PrismJS/prism/releases)
- [Changelog](https://github.com/PrismJS/prism/blob/master/CHANGELOG.md)
- [Commits](https://github.com/PrismJS/prism/compare/v1.15.0...v1.25.0)

---
updated-dependencies:
- dependency-name: prismjs
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-25 14:26:03 +02:00
dependabot[bot] 87fecfa0d1
Bump url-parse from 1.4.4 to 1.5.3 in /website (#412)
Bumps [url-parse](https://github.com/unshiftio/url-parse) from 1.4.4 to 1.5.3.
- [Release notes](https://github.com/unshiftio/url-parse/releases)
- [Commits](https://github.com/unshiftio/url-parse/compare/1.4.4...1.5.3)

---
updated-dependencies:
- dependency-name: url-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-25 14:25:47 +02:00
dependabot[bot] 19d09d0dd4
Bump ini from 1.3.5 to 1.3.8 in /website (#415)
Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.8.
- [Release notes](https://github.com/isaacs/ini/releases)
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.8)

---
updated-dependencies:
- dependency-name: ini
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-25 14:24:30 +02:00
pyup.io bot 3a69eba22f
Update setuptools from 42.0.1 to 58.3.0 (#414) 2021-10-25 14:23:12 +02:00
James Ramm f9f2dc5f12
Update README.md 2021-04-07 13:25:29 +02:00
James Ramm f12512e598
Update README.md 2021-04-07 13:25:00 +02:00
James Ramm 0508231a90
Update CHANGELOG.rst
Remove in progress label
2019-12-24 17:53:33 +01:00
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