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
Update the docs regarding migrations for custom user model
The docs on pitfalls with migrations and a custom user model are
not accurate anymore since migrations in Oscar have been fixed. Hence
this update them.
Delete unused fields on [Shipping|Payment]EventType
is_required and sequence_number are removed. That also makes the unused
get_prerequisites function obsolete.
Those fields were added with the idea that those event flows are linear,
but all implementations assume a non-linear pattern.
We currently mention it in internals/sandbox.rst. I've added a note to
the dashboard app (ref/apps/dashboard.rst), the sandbox/urls.py and
expanded on the feature explanation on index.rst.
Fixes #816
Docs: Add autodoc for analytics, promotions, shipping apps
They were missing the autodoc documentation for views (abstract) and
abstract models.
Also added two docstrings to the views in the promotions app to have
them showing in the autodoc.
Dependencies installed via setup.py stay in their eggs and their
templates won't be found by Django. This caused a
TemplateNotFoundError when users were trying to use
Django's admin to set categories.
Using the admin is unsupported, but this still prevents a similar error
from happening when we use other dependencies that ship templates. It
also shouldn't slow down production use.
Fixes #761
# Last 5 commit messages
# ----------------------
# 30eead5 Remove custom user app from sandbox [Maik Hoepfel]
# ee3ee02 Drop create_migration.py helper [Maik Hoepfel]
# a77e78c Don't show country field if only one is available [David Winterbottom]
# b5790aa Handle products without a category in GA subission [David Winterbottom]
# 39e0932 Merge pull request #782 from tangentlabs/feature/add_eway_extension_to_docs [David Winterbottom]