7
Commit Graph

530 Commits

Author SHA1 Message Date
ef08403ba3 Set correct pypi classifiers 2017-06-02 15:46:20 +02:00
48935218db Add make release 0.9.0 2017-06-02 15:42:54 +02:00
4c315f067a Filter badges for pypi 2017-06-02 15:41:56 +02:00
6e56d8cf4d Forgotten rename (variation->variant) 2017-06-02 15:32:26 +02:00
281086a159 Rename variations to variants 2017-06-02 15:31:46 +02:00
2e74741033 Set version to 0.9.0 2017-06-02 15:20:26 +02:00
537dfb12a6 Fix test 2017-06-02 15:16:59 +02:00
1e885adf83 Simpler origin page check 2017-06-02 15:11:50 +02:00
12853c61e1 Hides all variants in the page explorer 2017-06-02 15:11:50 +02:00
d4ee67b778 Remove unnecessary query 2017-06-02 15:11:37 +02:00
c6e4d9cca8 Adds cool icons. Depends on #123 2017-06-02 15:11:37 +02:00
38aff16044 Adds additional options to the dropdown menu
Allows for quick access to both new and existing variations, as well as creation of new segments.
2017-06-02 15:11:37 +02:00
aafc8c4ed5 Simpler queries 2017-06-02 15:10:54 +02:00
f21c423b1c Updates functions for new mixin 2017-06-02 15:10:54 +02:00
7e24485aaf Adds comments to segment functions 2017-06-02 15:10:54 +02:00
12ae3fa173 Uses the Mixin for page lookups 2017-06-02 15:10:54 +02:00
961a58505a Adds variant count 2017-06-02 15:10:54 +02:00
cb03a36ba2 Work in progress 2017-06-02 15:10:54 +02:00
9605773a74 Update changelog 2017-06-02 15:06:26 +02:00
46d86d852d Adds stream fields to the sandbox 2017-06-02 15:00:34 +02:00
0776d2300a Feature/fa icons for rules (#123)
Integrate font-awesome for the rule icons
2017-06-02 14:53:41 +02:00
38620d916f Resolves page copy error (Fixes #159) 2017-06-02 14:11:49 +02:00
3ee0645267 Fixes summary icon 2017-06-02 13:18:45 +02:00
eda00d624e Merge pull request #157 from LabD/tomdyson-readme-2
Include sandbox admin URL in README
2017-06-02 12:59:27 +02:00
0e24ae17ac Fixes PersonalisableBlock segment validation 2017-06-02 12:58:09 +02:00
39c31dc81a Include sandbox admin URL in README 2017-06-02 10:55:31 +01:00
702fa233a9 Fixes line length and adds Middleware code example 2017-06-02 11:52:31 +02:00
7405c34252 Add missing migration for tests.app.pages (fixes build) 2017-06-02 11:26:57 +02:00
6f96f2f172 Add more tests for wagtail_hooks 2017-06-02 11:23:39 +02:00
559d3c5356 Add unittest for serving a regular page
See #150
2017-06-02 10:32:41 +02:00
5aa754dd80 Rename PersonalisablePageMixin.personalisable_metadata
Use PersonalisablePageMixin.personalisation_metadata instead to mirror
the package name
2017-06-02 10:23:46 +02:00
282baa4787 Add tests for the wagtail_hooks.serve_variaton 2017-06-02 10:19:32 +02:00
35c22cb6af Use correct filenames for the tests (and split some) 2017-06-02 10:11:46 +02:00
6c5ab9c6ae Merge HomePage/SpecialPage to ContentPage in the tests
No need to create separate models with the same functionality
2017-06-02 09:30:04 +02:00
d92fe13d37 Refactor the test structure
This renames the tests.sandbox app to tests.site to clear up some
confusion with the two sandbox app's.
2017-06-02 09:25:51 +02:00
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
15a0276041 Update import sorting and newlines 2017-06-01 18:06:41 +02:00
c0c3ce19fe Remove a few unused imports 2017-06-01 18:06:41 +02:00
e0fffb70b7 Remove redefinition of `class Meta` warning 2017-06-01 18:06:41 +02:00
7f2882ce0e Adds sandbox example data for personalisation 2017-06-01 16:57:40 +02:00
a629bfc862 Enables rich text for the sanbox home page 2017-06-01 16:23:11 +02:00
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
0f79cf1d15 Revert "Remove manage.py in the root"
This reverts commit dda0bc720e.
2017-06-01 13:55:39 +02:00
29001fac8e Remove custom wagtail page form
THe older page form allowed to change segment settings inline but since
support for this was temporarily removed in an earlier commit we can
clean this up too
2017-06-01 13:51:13 +02:00
dda0bc720e Remove manage.py in the root
This should not be here since it isn't a runnable project
2017-06-01 13:49:28 +02:00
5beef1b27c New icon for the segments menu item (#118)
New icon for the segments menu item
2017-06-01 08:48:34 +02:00
8465e6dcbb Fix serving the variant pages 2017-05-31 21:44:57 +02:00
cf8101156c Extend the sandbox home to show text content 2017-05-31 21:44:50 +02:00
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
c2735807b4 Adds ‘Create new segment’ option to dropdown 2017-05-31 20:02:46 +02:00