Wykres commitów

144 Commity (89e958c0bc3621d9e8db039e5beed13d3cedcd50)

Autor SHA1 Wiadomość Data
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
JamesRamm bf57748c2d More tests 2017-05-26 22:11:27 +01:00
JamesRamm acd76a19a5 Fixes #67; brings longclawbasket coverage past 80% 2017-05-26 17:46:38 +01:00
JamesRamm dde0648b1e Fixes #70 2017-05-26 17:20:18 +01:00
James Ramm 3de6f48124 Checkout view (#68)
Fixes #50, #59, #60, #65
2017-05-24 11:12:36 +01:00
James Ramm c58c7f303e Fixes #51 (#66)
* Fixes #51

* Add immutable to the dependencies

* Makes it possible to load the client in a template tage

* Add longclawcore app

* Add short readme

* ADd longclawtags and docs
2017-05-16 17:34:29 +02:00
Alex 3285562967 CSS changes to order detail view #38 (#64)
* CSS changes to order detail view

Change class FULFILLED and UNFULFILLED, add padding.

Now the warning is highlighted in color.

* CSS changes to order detail view

Changed class FULFILLED and UNFULFILLED, added an padding

* Update style element for span FULFILLED

Add const spanStyle

* Update style span

Changes in the design of <span> according to the norms of inline styles React

* Update class to span
2017-05-12 15:28:39 +02:00
JamesRamm 98da093a13 Bump versions for next release 2017-04-28 12:07:18 +01:00
JamesRamm fec787c514 Bump version number 2017-04-13 08:30:34 +01:00
JamesRamm 929992f229 Fixes #57 and #58 2017-04-13 08:29:16 +01:00