7
Commit Graph

720 Commits

Author SHA1 Message Date
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
73ea5157ff Minor code cleanups 2017-05-31 14:48:24 +02:00
e24cb9aee3 Use the segment adapter to retrieve user segments 2017-05-31 14:32:15 +02:00
fb95439d83 adapters docstring typo (#120) 2017-05-31 14:14:02 +02:00
dcb8867dc7 Merge pull request #108 from LabD/feature/segment-template-block
Adds an ifsegment template block
2017-05-31 14:02:08 +02:00
de2c7f9988 fixes newline 2017-05-31 14:01:11 +02:00
d3d4e7ec92 fixes a few code style issues and docs issues 2017-05-31 13:59:41 +02:00
23537ac29b adds docstrings, moves parse_tag to utils and adds documentation 2017-05-31 13:59:34 +02:00
a78290281b fixes adapter issues and fixes block for segments adapter 2017-05-31 13:58:31 +02:00
20011f079d adds simple block templatetag wip 2017-05-31 13:58:31 +02:00
9790a44fd1 Add migrations to the tests.sandbox.pages app
This fixes tests
2017-05-31 13:57:19 +02:00