David Winterbottom
b7a8bb9400
Allow customers to delete their profile
We add a new form to the profile section that requires the customer to
confirm their password, but which then deletes their user.
12 years ago
David Winterbottom
3e82571dff
Ensure deleting a user doesn't delete their orders too
This change ensures that the order model's FKs all use
on_delete=SET_NULL.
12 years ago
David Winterbottom
12880200f8
Show button "loading" message when authenticating
12 years ago
Maik Hoepfel
0b5b8f365c
Respect reviews feature flag on anonymous order status page
Reviews weren't hidden and hence the URL reversing failed.
Fixes #1133 .
12 years ago
Maik Hoepfel
1461e0180d
Allow HTML markup for rich text attributes
Previously, the HTML was unintentionally escaped.
Fixes #1132 .
12 years ago
Maik Hoepfel
375a8f4515
Use unicode for AdvanceSelect widget
The widget returned Python 2's string type, but should return unicode.
Fixes #1134 .
12 years ago
Maik Hoepfel
b0b5dacab5
String fixes for wish lists
One string wasn't marked for translation. And 'Edit' was unclear,
because 'view'ing a wish list would allow one to edit it's products. So
'Edit' has been renamed to 'wish list settings', where one currently can
only change the name.
12 years ago
Maik Hoepfel
52821db323
Add confirmation view for removing products from wish lists
We can't always POST to the view, so an optional confirmation view was
added.
Fixes #1121
12 years ago
David Winterbottom
fc7a4d76f6
Enable Sentry for demo site
The DSN is kept out of source control.
12 years ago
David Winterbottom
1bc09cf302
Pin django-oscar-stores version for demo
Need to start doing this more widely. Allowing ranges only opens up
painful conflicts.
12 years ago
Maik Hoepfel
9fa2589b6c
Change type and name of basket field on AbstractOrder
It used to be a PositiveIntegerField containing the primary key of the
basket. This was a minor design deficiency; a nullable ForeignKey field
seems like the correct way to model that relation.
It's also been renamed from basket_id to basket to reflect the change.
Migrations unfortunately are non-trivial:
* 0019 adds the new ForeignKey field, but called basket_alt
* 0020 migrates data from the old field to the new field
* 0021 drops the now unnecessary field basket_id
* 0022 renames the basket_alt field to basket
The additional step with naming it basket_alt is necessary because of a
column name conflict. Django will pick a column name of 'basket_id' for
a ForeignKey field named 'basket', which is the same column name the
old PositiveIntegerField had.
Fixes #912
12 years ago
Tim Jacobi
8af9400e37
HTML flash messages for product dashboard
After creating a product, the flash message has links to
(a) view on site
(b) edit again.
12 years ago
Maik Hoepfel
f22b7f93ca
Merge pull request #1022 from mbertheau/easily-add-new-formset-to-product-update-page
Easily add new formset to product update page
12 years ago
danyilmaz
e9747641df
Fix offer validation edge-case
Delete value if offer type is changed to multibuy
12 years ago
David Winterbottom
d0b76ce2d4
Set 0.7 version to dev (not final)
12 years ago
danyilmaz
7baa5ae4e7
Enable wishlist button when stock alert exists
Add to wishlist button now displays even when there is an active
stock alert on a product
12 years ago
David Winterbottom
a4ac2b16ce
Float logo to right on docs index page
12 years ago
David Winterbottom
78ebd56415
Bump version to 0.7-dev
12 years ago
David Winterbottom
ff4d794e46
Simplify version string generation
12 years ago
Maik Hoepfel
2cccbcc937
Refactor report date filtering
PEP8 warnings needed fixing anyway, so I've simplified the logic
slightly.
12 years ago
benvand
a61df5335f
Refactor tests to use WebTestCase instead of ClientTestsCase
ClientTestCase is deprecated.
Fixes #826
Fixes #1007
12 years ago
Maik Hoepfel
974e1feed8
Reintroduce a treshold for PEP8 warnings
To avoid littering the codebase with 'Fix PEP8' commits, we've decided
to reintroduce a treshold so PEP8 fixes can be batched together.
12 years ago
Maik Hoepfel
2b5cc467b7
Merge pull request #952 from tangentlabs/issue/83089/filter.reports.by.date
Filter by date range in Dasboard/Reporting, if provided
12 years ago
Maik Hoepfel
7f6745a0ce
Merge branch 'master' into issue/83089/filter.reports.by.date
Conflicts:
oscar/apps/dashboard/reports/views.py
12 years ago
Maik Hoepfel
678cc33027
Add more template blocks for basket and order templates
Originally reported in #859 , and contributed in #863 . Because there was
merge conflicts, it seemed easier to manually add the blocks than fixing
the conflicts.
Thanks to @itbabu for the work.
Fixes #863
12 years ago
Maik Hoepfel
ab4300d0c9
Merge pull request #602 from tangentlabs/issue/602/vagrant
Vagrant: add support for testing Oscar under different servers
12 years ago
Maik Hoepfel
478e9e556f
Fix some Vagrant issues
* Revived the Apache config deleted in 974187
* Fixed the MySQL packages bug with a hack
* Fixed a warning about the python-dev package being duplicate
There's probably more issues with the Vagrant machine. But this is good
enough to make it to master.
12 years ago
Maik Hoepfel
494409e436
Merge branch 'master' into issue/602/vagrant
Conflicts:
.gitignore
Makefile
12 years ago
Ashia
2e72dd07c2
Fix disappearing mobile menu
There's a bug in Bootstrap which affects the navbar when it's collapsed:
https://github.com/twbs/bootstrap/issues/11145
This commit fixes the issue.
Fixes #1118 , #1109
12 years ago
Markus Bertheau
46829eeecc
Provide a hook for cross-form validation
12 years ago
Markus Bertheau
dfc689bbef
Make it trivially easy to add more formsets to the product update page
12 years ago
Markus Bertheau
7eb3007b0a
Unify __init__ method signature of formset classes
so that we can treat them all the same in ProductCreateUpdateView. Also
add user argument as that will be needed for
https://github.com/tangentlabs/django-oscar/pull/1002
12 years ago
Markus Bertheau
e94626ecee
customize FormSet class after calling inlineformset_factory
That way there's no need to know what base class inlineformset_factory
uses and it's consistent with StockRecordFormSet.
12 years ago
Maik Hoepfel
0491122417
Add IRC channel to README
The #django-oscar channel has been in operation for some time.
12 years ago
David Winterbottom
40fb0e7de9
Fix pyflakes error for line length
12 years ago
David Winterbottom
c87b4baddb
Revert to using sandbox settings (but without debug toolbar)
This reverts ac7e8ee
12 years ago
David Winterbottom
3f6a08d92f
Bump version to 0.6
12 years ago
David Winterbottom
b3b00bf892
Update translation files from Transifex
12 years ago
David Winterbottom
51efa22525
Correct a few references in availability/prices doc
12 years ago
David Winterbottom
988ed28fb0
Update deprecated features notes in release notes
12 years ago
David Winterbottom
cdac414531
Document new model fields for release notes
Plus ensure the copyright notice is correct for the modified phone
number work.
12 years ago
David Winterbottom
8573052b89
Remove dead fields from phone number functionality
12 years ago
David Winterbottom
871baac965
Add release note for 0.5.3
12 years ago
David Winterbottom
1b65502ef5
Improve core functionality docs
Now using Napoleon :)
12 years ago
David Winterbottom
ac7e8ee272
Configure settings for docs using test function (not sandbox)
This avoids a pesky autodoc import issue that the debug toolbar creates when it
patches the URL conf. It was preventing the EventHandler class from
being loaded via autodoc. This fix solves that issue.
12 years ago
David Winterbottom
e662e25aa3
Use Napoleon Sphinx extension
12 years ago
David Winterbottom
74d8270bff
Use RTD theme locally
12 years ago
David Winterbottom
44b1753dda
Expand 0.6 release notes
- Include screenshots.
- Expand sections up to deprecation.
12 years ago
David Winterbottom
8ce8133524
Improve core documentation
- Expand the ref/apps docs. (Still lots to do here.)
- Split up the index page links for clarity.
12 years ago
David Winterbottom
9684790443
Remove old checkout decorators
Don't think they are used anyway anymore.
12 years ago