8
Commit Graph

424 Commits

Author SHA1 Message Date
Todd Dembrey
71d7faba1f Correctly initialise the form 2017-10-26 13:11:16 +01:00
Todd Dembrey
743d3f668e Limit the segemnt to count for all static case 2017-10-26 12:47:59 +01:00
Todd Dembrey
bc0b69fde5 Hide and show the count input as required 2017-10-26 11:47:28 +01:00
Todd Dembrey
7cf22d05f6 Tidy up the logic checks and remove the frozen property 2017-10-26 10:55:13 +01:00
Todd Dembrey
9e0fc8e6fd Make the static segments work with match_any and fix bug in visit count 2017-10-24 10:50:05 +01:00
Todd Dembrey
a116b14d57 Update to use the save method on the form to populate the segments 2017-10-23 15:46:34 +01:00
Todd Dembrey
44cc95617e Use a form to clean the instance 2017-10-23 15:00:31 +01:00
Todd Dembrey
c6ff2801c5 Update to use a post_init signal to populate the segment 2017-10-20 17:33:47 +01:00
Todd Dembrey
0d2834a55f Update the help text migration 2017-10-20 17:17:31 +01:00
Todd Dembrey
ff236a095d Improve the clarity of the help text 2017-10-20 12:18:29 +01:00
Todd Dembrey
ef20580334 Notify users to static compatible rules and update docs 2017-10-20 12:09:25 +01:00
Todd Dembrey
cf41be4b76 Add clean method to ensure mixed static segments are valid 2017-10-20 10:57:19 +01:00
Todd Dembrey
f339879907 Ensure that mixed static and dynamic segments are not populated at runtime 2017-10-20 09:53:18 +01:00
Todd Dembrey
aa2a239aec Update the dashboard to display information about static segments 2017-10-19 17:19:53 +01:00
Todd Dembrey
8c96fffd4e Ensure that the session is checked correctly 2017-10-17 17:35:57 +01:00
Todd Dembrey
675d219f1f Add the logic for static segments 2017-10-17 16:57:07 +01:00
blurrah
d160bb5217 adds documentation to util 2017-06-16 15:37:44 +02:00
Jasper Berghoef
b021164309 Cleans imports and created ‘filter variants’ util 2017-06-15 17:01:57 +02:00
Jasper Berghoef
6f6d6e3a06 Remove backslashes 2017-06-15 17:01:57 +02:00
Jasper Berghoef
fb7ed4936d Small improvements and item fix 2017-06-15 17:01:57 +02:00
Jasper Berghoef
80e33a467e Corrects pages item and adds personalisation pages 2017-06-15 17:01:57 +02:00
blurrah
9c88ec1582 fixes segment adapter add syntax for segment forcing 2017-06-12 11:12:33 +02:00
blurrah
785d1486e4 adds simple segment forcing for superusers 2017-06-12 07:56:38 +02:00
Tomasz Knapik
0da7f111e3 Use older migration dependencies that exist in older Wagtail versions 2017-06-05 20:00:08 +02:00
Tomasz Knapik
fe6a26e1fd Import reverse from core.urlresolvers instead of shortcuts for the sake of Django 1.9 compatibility 2017-06-05 19:51:53 +02:00
Jasper Berghoef
94c947a435 Fixes link name 2017-06-03 10:35:52 +02:00
Michael van Tellingen
6e56d8cf4d Forgotten rename (variation->variant) 2017-06-02 15:32:26 +02:00
Michael van Tellingen
281086a159 Rename variations to variants 2017-06-02 15:31:46 +02:00
Jasper Berghoef
1e885adf83 Simpler origin page check 2017-06-02 15:11:50 +02:00
Jasper Berghoef
12853c61e1 Hides all variants in the page explorer 2017-06-02 15:11:50 +02:00
Jasper Berghoef
d4ee67b778 Remove unnecessary query 2017-06-02 15:11:37 +02:00
Jasper Berghoef
c6e4d9cca8 Adds cool icons. Depends on #123 2017-06-02 15:11:37 +02:00
Jasper Berghoef
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
Jasper Berghoef
aafc8c4ed5 Simpler queries 2017-06-02 15:10:54 +02:00
Jasper Berghoef
f21c423b1c Updates functions for new mixin 2017-06-02 15:10:54 +02:00
Jasper Berghoef
7e24485aaf Adds comments to segment functions 2017-06-02 15:10:54 +02:00
Jasper Berghoef
12ae3fa173 Uses the Mixin for page lookups 2017-06-02 15:10:54 +02:00
Jasper Berghoef
961a58505a Adds variant count 2017-06-02 15:10:54 +02:00
Jasper Berghoef
cb03a36ba2 Work in progress 2017-06-02 15:10:54 +02:00
Jasper Berghoef
0776d2300a Feature/fa icons for rules (#123)
Integrate font-awesome for the rule icons
2017-06-02 14:53:41 +02:00
Jasper Berghoef
38620d916f Resolves page copy error (Fixes #159) 2017-06-02 14:11:49 +02:00
Jasper Berghoef
3ee0645267 Fixes summary icon 2017-06-02 13:18:45 +02:00
Jasper Berghoef
0e24ae17ac Fixes PersonalisableBlock segment validation 2017-06-02 12:58:09 +02:00
Michael van Tellingen
6f96f2f172 Add more tests for wagtail_hooks 2017-06-02 11:23:39 +02:00
Michael van Tellingen
5aa754dd80 Rename PersonalisablePageMixin.personalisable_metadata
Use PersonalisablePageMixin.personalisation_metadata instead to mirror
the package name
2017-06-02 10:23:46 +02:00
Mike Dingjan
15a0276041 Update import sorting and newlines 2017-06-01 18:06:41 +02:00
Mike Dingjan
c0c3ce19fe Remove a few unused imports 2017-06-01 18:06:41 +02:00
Mike Dingjan
e0fffb70b7 Remove redefinition of `class Meta` warning 2017-06-01 18:06:41 +02:00
Michael van Tellingen
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
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