7
Commit Graph

24 Commits

Author SHA1 Message Date
Jasper Berghoef
46d86d852d Adds stream fields to the sandbox 2017-06-02 15:00:34 +02:00
Jasper Berghoef
dfb364b7fc Adds additional segment to avoid confusion
As the dropdown checks if a page has been segmented, and disables when there are no segments available
2017-06-02 07:43:56 +02:00
Jasper Berghoef
7f2882ce0e Adds sandbox example data for personalisation 2017-06-01 16:57:40 +02:00
Jasper Berghoef
a629bfc862 Enables rich text for the sanbox home page 2017-06-01 16:23:11 +02:00
Jasper Berghoef
e3ceecfa7d Adds a default value to the homepage text content
Ensures the migration prefills the RichTextField, wich in turn prevents validation errors when copying the page for personalisation. Fixes #154.
2017-06-01 16:06:27 +02:00
Jasper Berghoef
5beef1b27c New icon for the segments menu item (#118)
New icon for the segments menu item
2017-06-01 08:48:34 +02:00
Michael van Tellingen
cf8101156c Extend the sandbox home to show text content 2017-05-31 21:44:50 +02:00
Michael van Tellingen
7076973fc8 Refactor personalisable pages
Instead of working with django model mixins it now uses a separate
model entity to keep track of the personalized pages (metadata).

The current downside of this approach is that the segment of an existing
variant is no longer easily adjustable for now.
2017-05-31 21:31:40 +02:00
Michael van Tellingen
18838b2e8c Revert "Fix migrations (#151)"
This reverts commit d35a7fee57.
2017-05-31 18:21:57 +02:00
Michael van Tellingen
763a67e2d4 Switch mixin ordering 2017-05-31 18:12:19 +02:00
Rob Moorman
d35a7fee57 Fix migrations (#151) 2017-05-31 18:09:50 +02:00
Paul J Stevens
2450bd45ac remove redundant migration dependency 2017-05-31 15:59:09 +02:00
Paul J Stevens
f693e62bbf rename base-class to reflect mixin nature 2017-05-31 15:59:09 +02:00
Paul J Stevens
4e61ff0d08 remove all references or uses of old PersonalisablePage model 2017-05-31 15:59:09 +02:00
Michael van Tellingen
59b6e7f31e Add django debug toolbar to the sandbox 2017-05-31 15:27:29 +02:00
Rob Moorman
194daba67b Remove postgres dependencies fixes #115 2017-05-31 14:51:50 +02:00
Tom Dyson
4158bafe58 Python 2.x compatibility fix for sandbox 2017-05-31 13:19:47 +02:00
Tom Dyson
b55bdb60b9 Remove psycopg2 from sandbox requirements
The sandbox's `settings.py` specifies `django.db.backends.sqlite3`.
2017-05-31 12:44:46 +02:00
Jasper Berghoef
ebde527ae9 Renames the module from ‘personalisation’ to ‘wagtail_personalisation’ 2017-05-26 16:31:54 +02:00
Michael van Tellingen
97e4116945 Fix migrations for the sandbox 2017-05-24 17:29:00 +02:00
blurrah
bffd13dd3e fixes personalisable homepage in sandbox and try except for segment visit count 2017-05-16 11:46:47 +02:00
blurrah
e451f792e3 adds sqlite to sandbox and fixes summary panel 2017-05-08 10:39:30 +02:00
Michael van Tellingen
b62fabd47b Fix PROJECT_DIR path in te sandbox 2017-05-08 09:57:40 +02:00
Michael van Tellingen
c70ecbc408 Add a sandbox environment 2017-05-08 09:48:05 +02:00