Replace session_strategy template tag with purchase_info_for_product in demo-site temaplates and doc. See https://github.com/tangentlabs/django-oscar/commit/a8a140fa94baa13f778f9a1529de8d5c2b75e3f2
Replace stockrecord_tags with purchase_info_tags in demo-site templates and docs as invented in oscar0.6. See https://github.com/tangentlabs/django-oscar/commit/6341b576bf9fa18c4dc1c78aaa88e174826763f6
nose-django-querycount gives individual and total query counts. This is
helpful to double-check changes that claim to affect query count
(e.g. #1056).
Total query count gives a quick overview, and diff'ing the output for
two different branches works well.
This is to enable some coarse metrics of who is using Oscar. We just
look at the referer header to get a rough idea of which sites are using
Oscar.
This is an important measure for Tangent, Oscar's sponsor. It's
documented in the release notes and we'll make sure everyone knows when
Oscar is released. It's easy to opt out of.
Fixes #656
Remove unused AbstractProductImage properties for thumbnailing
Images are resized on the template level with Sorl, so having
those properties only leads to confusion. They were not used by stock
Oscar. Furthermore, thumbnail_url returned the full-size image URL,
which is wrong.
Fixes #1011
The customisation section required some changes as it's not often
necessary to override the root application instance to change URLs or
views of subapps.
Previously, only calling "make clean && make html" would display all
errors and warnings in the docs. This was too slow to do by default, and
hence many errors would go unnoticed.
Adding the -a flag to Sphinx forces it to look at all the files again,
but is considerably quicker than deleting the build directory. As such,
I think it's good default behaviour as it isn't too slow even on
non-SSD machines.
bootstrap-wysihtml5 was too buggy. I was trying to avoid TinyMCE but it ended up
being the easier to use. I tried with CKEditor but it proved too
difficult to configure.
Fixes #757
Fixes #946
Fixes #945
Fixes #944
This involves some quite involved changes to the internals of how offers
and organised. A new boolean field has been added to the offer model to
indicate whether to apply to prices exclusive of tax. This is used
within the offer methods to determine whether a basket meets a
condition, and how to apply the benefit if it does.
Fixes #925
Fixes #924
Adjust how shipping methods are handled in the repository class
The old Repository class wasn't thread safe as the method instances were
created at compile time. Since the instance is configured by setting
the basket for each request, this poses thread safety issues as two
requests could share the same method instance (one of which would have
the wrong basket assigned).
This change fiddles with how the methods are handled, ensuring that they
are instanciated within the instance methods so that thread-safety
issues go away.
Shipping methods need a gentle rewrite for v0.7 to ensure they aren't
vulnerable to such issues.
- make sure all pages are linked from somewhere
- prohibit double indexing of source code modules
- remove old unused offers (we use GIT, no need to keep old files)
- use local version of Oscar logo
Fixes #921