7
Commit Graph

530 Commits

Author SHA1 Message Date
2651eb0e3c Add related_name to PersonalisablePageMixin 2017-05-31 18:25:34 +02:00
18838b2e8c Revert "Fix migrations (#151)"
This reverts commit d35a7fee57.
2017-05-31 18:21:57 +02:00
763a67e2d4 Switch mixin ordering 2017-05-31 18:12:19 +02:00
d35a7fee57 Fix migrations (#151) 2017-05-31 18:09:50 +02:00
c100dc603c fix regression 2017-05-31 18:01:19 +02:00
d4421eebcb minor cleanup 2017-05-31 17:58:25 +02:00
fea3bc8b8e Updated commons.js.map 2017-05-31 17:56:14 +02:00
38a18f80a4 Merge pull request #146 from LabD/simplifications+optimisations
Handles both Python 2 & 3, and multiple optimisations & simplifications.
2017-05-31 17:50:56 +02:00
85613db363 Merge branch 'simplifications+optimisations' of github.com:LabD/wagtail-personalisation into simplifications+optimisations 2017-05-31 17:43:18 +02:00
5fbfb82480 Switches back to absolute wagtail_personalisation imports. 2017-05-31 17:41:12 +02:00
f88722c827 Further simplifications. 2017-05-31 17:38:51 +02:00
46ad32236c Merge branch 'master' into simplifications+optimisations 2017-05-31 17:21:07 +02:00
e6fac5f7fb Fix templatetag tests 2017-05-31 17:19:24 +02:00
82f2dd460e adds tests for templatetag 2017-05-31 17:19:24 +02:00
4f2dc3a304 Handles both Python 2 & 3, and multiple optimisations & simplifications. 2017-05-31 17:13:33 +02:00
8905f471ee adds tx config file 2017-05-31 17:10:58 +02:00
6587d0fd56 Merge pull request #96 from LabD/feature/translation-support
Fixes a few translation strings and adds translation files
2017-05-31 16:58:50 +02:00
4e221b6666 Update README.rst 2017-05-31 16:52:02 +02:00
99d2e4a347 support multiple uses of the mixin class (#140) 2017-05-31 16:50:56 +02:00
4deaaa985f Redirect to existing variant if present 2017-05-31 16:39:03 +02:00
63d5de9803 Optimize query for the segment visits 2017-05-31 16:37:10 +02:00
18eea8a9b1 updates faulty strings 2017-05-31 16:30:18 +02:00
a4cf8120b4 fixes blocktrans with html 2017-05-31 16:27:16 +02:00
09fbb5d795 adds package name to copyright 2017-05-31 16:23:49 +02:00
d79765efee adds copyright information to translation file 2017-05-31 16:23:49 +02:00
0aa07261ad fixes a few translation strings and adds translation files 2017-05-31 16:23:49 +02:00
361f0b1700 Re-remove the segments adapter instructions
Too specific for the README.
2017-05-31 16:19:33 +02:00
5eefa21699 Add test for sessionadapter.refresh when segment is disable 2017-05-31 16:19:09 +02:00
c5579fa8d4 Sets dashboard as the default view 2017-05-31 16:18:07 +02:00
7bb523d962 Minor codestyle issue in the adapters.refresh() code 2017-05-31 16:13:30 +02:00
03073eb004 Add unittests for the session adapter 2017-05-31 16:13:30 +02:00
e107d73716 Add docstring to set_segments() 2017-05-31 16:13:30 +02:00
cbc2ec7270 Simplify saving/retrieving user segments 2017-05-31 16:13:30 +02:00
2450bd45ac remove redundant migration dependency 2017-05-31 15:59:09 +02:00
1b73119766 post rebase fixes 2017-05-31 15:59:09 +02:00
ebef7f8785 refactor and add tests 2017-05-31 15:59:09 +02:00
623af1a06a start using correct model in tests 2017-05-31 15:59:09 +02:00
f693e62bbf rename base-class to reflect mixin nature 2017-05-31 15:59:09 +02:00
4e61ff0d08 remove all references or uses of old PersonalisablePage model 2017-05-31 15:59:09 +02:00
49062d36b4 remove PersonalisablePage model 2017-05-31 15:59:09 +02:00
66ed40f8ec make personalisedpage class abstract 2017-05-31 15:59:09 +02:00
59b6e7f31e Add django debug toolbar to the sandbox 2017-05-31 15:27:29 +02:00
f2aa8879a9 Add Adapter.set_segments() and use it when refreshig the segment
This makes the internal API a bit more consistent
2017-05-31 15:15:27 +02:00
decfc88efe Fix depth to parent selector 2017-05-31 14:59:39 +02:00
fc442171e4 Move to edit page if variant exists fixes #106 and fixes #89 2017-05-31 14:59:39 +02:00
5076dd60bd Remove the unfinished datalayer template tag 2017-05-31 14:57:17 +02:00
194daba67b Remove postgres dependencies fixes #115 2017-05-31 14:51:50 +02:00
9705947d3f Use the Segment Adapter for retrieving page visits
This fixes the last occurence of directly accessing the session in the
codebase
2017-05-31 14:49:07 +02:00
31f8a329f2 Use constants for enabled/disabling status on Segment 2017-05-31 14:48:46 +02:00
3d920d8ed8 Minor codestyle fix 2017-05-31 14:48:24 +02:00