Wykres commitów

153 Commity (3ffae36fd5085c2f6782c732c8f9a8cb245d2e48)

Autor SHA1 Wiadomość Data
Samuel Murillo a3493a6293 Fix #164 (#171) 2018-06-02 13:36:30 +02:00
Sidney F. Guaro 5db44a30c3 [FIX] RE: quantity in api.BasketViewSet.destroy gets unicode instead of int (#170)
* [FIX] quantity in api.BasketViewSet.destroy gets unicode instead of int

* from rest_framework.decorators import detail_route, list_route
from rest_framework import permissions, status, viewsets
from rest_framework.response import Response
from longclaw.longclawbasket.models import BasketItem
from longclaw.longclawbasket.serializers import BasketItemSerializer
from longclaw.longclawbasket import utils
from longclaw.utils import ProductVariant

class BasketViewSet(viewsets.ModelViewSet):

* [FIX] RE: quantity in api.BasketViewSet.destroy gets unicode instead of int
2018-05-30 18:59:31 +02:00
Sidney F. Guaro ee5ae8ebe8 [FIX] quantity in api.BasketViewSet.destroy gets unicode instead of int (#168) 2018-05-22 21:19:59 +02:00
JamesRamm 22538ee331 Reverse argument ordering for py34. #146 2018-03-24 07:49:18 +01:00
JamesRamm d7f5bd46a9 Bump version: 0.2.0 → 0.2.1 2018-03-23 22:15:50 +01:00
JamesRamm 9e3edccf00 Switch to en-gb, en-us might not be recognized. #146 2018-03-23 22:11:09 +01:00
JamesRamm 5c224d8aff Fixes #96 and drops django 1.9 2018-03-23 22:08:34 +01:00
JamesRamm 6c239d7b9f Pin wagtail version to last 1.x release to get latest bugs for travis tests 2018-03-23 22:06:45 +01:00
JamesRamm b9747a3a9b Fixing errors from travis. #146 2018-03-23 21:50:38 +01:00
BenSturmfels f498ac084c Fix orders not showing up in admin. (#153)
This change anchors the longclaworders API URLs with a '^' to ensure they can't
confusingly match 'ANYTHING/api/order/...'. Also forces the order loading
JavaScript to use an absolute URL.

I'm not sure that this is the best architectural solution, but it resolves the
issues I'm having at least.

Fixes #131.
2018-03-23 19:56:57 +01:00
JamesRamm bcc0c3edfc Migration 2017-12-19 11:35:50 +01:00
Alex 1881e4b9ed Correct date return month_start, month_end (#107)
Changes solve the problem of the incorrect date to "def current_month()". The error occured due to incorrect date format month_start.
2017-12-04 15:00:25 +01:00
JamesRamm 5392ff6a12 Adds an api method for replacing the basket contents, for #75 2017-10-21 19:21:15 +02:00
JamesRamm 6864f5842d fixes 2017-10-15 19:06:21 +02:00
James Ramm 048e716db1 Product Requests (#95)
* Fixes #49
2017-10-10 19:49:56 +01:00
JamesRamm d790fecf1e Triple quotes on docstrings are pep257 2017-10-01 12:19:37 +02:00
JamesRamm d0f789df6c Test for remove_stale_baskets 2017-10-01 12:11:47 +02:00
James Ramm 944c887306 Order refunds (#93)
Basic refund mechanism. Fixes #40
2017-10-01 12:01:40 +02:00
JamesRamm b0a85b8ee4 Test and correction for ctx processor 2017-09-30 00:11:46 +02:00
JamesRamm 1d05882d46 Test for daily sales 2017-09-30 00:08:58 +02:00
JamesRamm 9cdae9b19e Test for daily sales 2017-09-30 00:07:00 +02:00
JamesRamm f3f9e5f853 Rewrite migration history for tests 2017-09-29 19:26:50 +02:00
James Ramm 966831f589 Fixes #71 (#92) 2017-09-29 19:00:37 +02:00
JamesRamm dcde8102a2 Fixes #90 2017-09-29 18:48:52 +02:00
JamesRamm 1c8238d747 Update reqs for project template 2017-09-29 16:28:46 +02:00
JamesRamm 9ab146f594 Update migration for new products app 2017-09-22 16:32:08 +02:00
JamesRamm 8c9d69b16f Correct migration in project template 2017-09-22 16:24:07 +02:00
James Ramm a34edc0088 Fixes #84 (#91)
* Fixes #84
2017-09-17 17:36:04 +02:00
JamesRamm e87c3faca3 Update changelog, remove external migration dependency 2017-09-17 14:29:22 +02:00
JamesRamm 58e5a7e332 Add a test for product title 2017-09-17 14:06:26 +02:00
James Ramm fd6cd2eab6 Reworking of Products (#86)
* Fixes #76 and fixes #47 by removing concrete product models from longclaw. Abstract classes are provided as a starting point and concrete models moved to the project template

* Products fully customisable (and therefore product index). Work on #76

* Removes concrete product models from longclaw, allowing customisation. For #76 and #47

* Product base testing

* Reorder imports for tests

* Drop py3.3

* Add back admin.py

* Update page panels

* Add tests to products
2017-09-17 14:01:12 +02:00
JamesRamm 5a027af692 Bump version for 1.0 2017-09-06 11:36:54 +02:00
JamesRamm 78a0ac7384 Remove unused imports 2017-09-06 10:06:13 +02:00
JamesRamm 22088f2ee4 Correct unknown variable in checkout api 2017-09-06 09:56:12 +02:00
James Ramm bcec8915c1 Add to basket template tag & docs (#82)
* fixes #61

* Update travis

* Update changelog for 0.2

* Add alex as contributor

* Docs update

* tests in longclawcore package

* Remove eggs dir

* update ignores

* Add last entry to changelog

* fixes #79
2017-08-25 08:33:47 +01:00
JamesRamm 44962381b8 Fixes #72 2017-08-09 14:46:48 +01:00
JamesRamm 5d7354cc8e Completes #2 2017-08-09 11:12:52 +01:00
JamesRamm 406ec27152 Fix tests 2017-08-09 10:48:34 +01:00
Alex 963cdb8809 Update requrements.txt (#77)
Updated the file to install the latest version of Django. Testing Django 1.11.4 and Wagtail 1.11.1 was successful.
2017-08-09 10:28:05 +01:00
JamesRamm f74c134468 Fix braintree integration 2017-08-08 15:25:07 +01:00
JamesRamm c87aed2faa Correct usage of decimal/float 2017-08-08 15:08:25 +01:00
JamesRamm dbc6c1492d Correct order creation 2017-08-08 13:50:57 +01:00
JamesRamm a1a05c6c1d Add braintree dropin js 2017-06-08 21:07:01 +01:00
JamesRamm c10170eb3f Correct shipping 2017-06-08 14:26:25 +01:00
JamesRamm 419fd5f0d3 Correct error in shipping_countries method 2017-06-08 14:00:21 +01:00
JamesRamm 0b0732926e Remove whitespace 2017-06-01 10:43:15 +01:00
JamesRamm 624bfef6a1 Test order model admin 2017-06-01 10:42:26 +01:00
JamesRamm 324fdfb902 Test order model props 2017-05-31 16:04:44 +01:00
JamesRamm 72c2c32225 shipping rate tests 2017-05-30 11:34:45 +01:00
JamesRamm f027664862 More tests 2017-05-27 16:40:02 +01:00