Wykres commitów

164 Commity (b4f552860df2ca8a380d65672ce8cb1e43ab3901)

Autor SHA1 Wiadomość Data
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 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
James Ramm 356833b484 Add explicit checks for existence of JS. Fixes #165 2018-12-28 15:52:37 +01:00
James Ramm fdacf23803 Gitbook setup 2018-12-28 11:05:31 +01:00
jamesramm 52ee54d9e6
GitBook: [master] 8 pages modified 2018-12-28 09:46:53 +00:00
James Ramm 4a33b63d4c Fixes #130 2018-12-28 09:55:57 +01:00
James Ramm 8ff51b9274
Longclaw 1.0 (#205)
* Compatibility with Wagtail 2 and Django 2
* Fixes #154 

Wagtail 2 compatibility:

* Fixes references to Wagtail packages which use the `wagtail.wagtail*` naming scheme. Wagtail 2 removes the redundancy.
* Wraps imports in `try`/`except` blocks to maintain compatibility with Wagtail 1.

Django 2 comaptibility:

Included because Wagtail 2 adds support for Django 2.

* Adds `on_delete` to all `ForeignKey` model fields, which is now required by Django 2.

* Updates for wagtail 2

* rename modules

* Longclaw v2: Rename and new migrations

* Longclaw 2: Reduce fails to 2 errors

* Longclaw v2: All tests passing

* Update travisconf

* Travis: Enable py37

* Update project template for v2

* longclawv2: update project template

* Fix migrations for longclaw 2

* Corrections in project template for longclaw1.0

* Correct location of templates and update docs

* Automatically load shipping countries

* Add loadcountries command

* Add info on loading country data
2018-12-26 12:58:05 +01:00
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