Michael van Tellingen
73ea5157ff
Minor code cleanups
2017-05-31 14:48:24 +02:00
Michael van Tellingen
e24cb9aee3
Use the segment adapter to retrieve user segments
2017-05-31 14:32:15 +02:00
Tom Dyson
fb95439d83
adapters docstring typo ( #120 )
2017-05-31 14:14:02 +02:00
Boris Besemer
dcb8867dc7
Merge pull request #108 from LabD/feature/segment-template-block
...
Adds an ifsegment template block
2017-05-31 14:02:08 +02:00
blurrah
de2c7f9988
fixes newline
2017-05-31 14:01:11 +02:00
blurrah
d3d4e7ec92
fixes a few code style issues and docs issues
2017-05-31 13:59:41 +02:00
blurrah
23537ac29b
adds docstrings, moves parse_tag to utils and adds documentation
2017-05-31 13:59:34 +02:00
blurrah
a78290281b
fixes adapter issues and fixes block for segments adapter
2017-05-31 13:58:31 +02:00
blurrah
20011f079d
adds simple block templatetag wip
2017-05-31 13:58:31 +02:00
Michael van Tellingen
9790a44fd1
Add migrations to the tests.sandbox.pages app
...
This fixes tests
2017-05-31 13:57:19 +02:00
Michael van Tellingen
7436384471
Move visit count logic to the segment adapter
...
This makes the code also a bit simpler and updates the tests
2017-05-31 13:57:19 +02:00
Jasper Berghoef
7034c09d4a
Allows switching between list and dashboard view
2017-05-31 13:55:08 +02:00
Jasper Berghoef
45f2de62ea
Splits segment dashboard view and set default table view
2017-05-31 13:55:08 +02:00
Michael van Tellingen
cc38634519
Add adapters.get_segment_adapter to set the segment adapter on the request
...
object.
Previously the segment adapter was set globally with the request as
attribute. This causes thread safety issues. Instead we now initialise
the segment adapter for each request and set it as attribute
2017-05-31 13:33:22 +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
Tom Dyson
531ae6df98
README tweaks
...
minor style changes, removal of segments adapter section.
2017-05-31 12:17:57 +02:00
Michael van Tellingen
699d24bc44
Fix tests on Python < 3.6 (remove f-string)
2017-05-31 12:11:07 +02:00
Boris Besemer
2977440ee7
Merge pull request #103 from robmoorman/modeladmin-docs
...
Point out more that modeladmin is required
2017-05-31 11:55:02 +02:00
Rob Moorman
23a9b1df84
Point out more that modeladmin is required
2017-05-31 11:48:35 +02:00
Michael van Tellingen
eb837fa7b2
Ingnore migration files for code coverage
2017-05-31 11:26:56 +02:00
Rob Moorman
b523327c8c
Only 1.10
2017-05-31 11:22:39 +02:00
Rob Moorman
a2957b7e77
Fix install version 1.10.1
2017-05-31 11:22:39 +02:00
Michael van Tellingen
9623e67dd7
set alabaster options
2017-05-31 11:11:52 +02:00
Michael van Tellingen
7531eb9451
Minor markup fixes to README
2017-05-31 10:51:13 +02:00
Michael van Tellingen
4503ad387e
Add travis badges, fix line length
2017-05-31 10:50:46 +02:00
Michael van Tellingen
5d1abee76c
Fix missing renames from personalisation -> wagtail_personalisation
2017-05-31 10:46:33 +02:00
Michael van Tellingen
e2d3b9bf9d
Update tox/travis config
2017-05-31 10:37:45 +02:00
Jasper Berghoef
dbb0ecde95
Merge branch 'master' of https://github.com/LabD/wagtail-personalisation
2017-05-31 10:34:47 +02:00
Jasper Berghoef
325c2d5801
Fixes package name in README
2017-05-31 10:34:39 +02:00
Michael van Tellingen
77005097c3
Add MIT license
2017-05-31 10:30:38 +02:00
Rob Moorman
c1f50a5add
Remove users.json
2017-05-31 10:06:57 +02:00
Michael van Tellingen
9edb0f736a
Remove AUTHORS again, was alreadiy in contributors.rst
2017-05-31 09:56:11 +02:00
Michael van Tellingen
39b26be325
Add the AUTHORS file
2017-05-31 09:55:00 +02:00
Michael van Tellingen
92f898462c
Use opensource@labdigital.nl for the email address
2017-05-31 09:53:01 +02:00
blurrah
33cf0217da
fixes page crashing when visiting a page that doesnt inherit PersonalisablePage
2017-05-30 17:36:32 +02:00
Jasper Berghoef
83a7db5952
Renames personalisation module in documentation
2017-05-30 15:46:27 +02:00
Jasper Berghoef
a73e356ffe
Adds a contributors file
2017-05-29 10:00:41 +02:00
Michael van Tellingen
3eac2cd4dd
Codestyle fixes (flake8)
...
This also adds the flake8 dependencies to the test extras for
installation.
2017-05-28 09:13:08 +02:00
Jasper Berghoef
55da67523f
Puts the receivers in a seperate file and adds appconfig
2017-05-26 16:40:50 +02:00
Jasper Berghoef
9a7d41284e
Renames template filters
2017-05-26 16:31:54 +02:00
Jasper Berghoef
ebde527ae9
Renames the module from ‘personalisation’ to ‘wagtail_personalisation’
2017-05-26 16:31:54 +02:00
Jasper Berghoef
5f1c52c93c
Fixes persistent rule persisting
2017-05-24 21:21:24 +02:00
Jasper Berghoef
974a4d6f46
Moves the form in to models.py to forms.py
2017-05-24 17:34:34 +02:00
Michael van Tellingen
97e4116945
Fix migrations for the sandbox
2017-05-24 17:29:00 +02:00
Michael van Tellingen
02e18491bb
Fix test dependencies and skip one test for now
2017-05-24 17:05:34 +02:00
Boris Besemer
5156887a9d
Merge pull request #79 from LabD/feature/move-views-in-hooks
...
Moves segment dashboard views from hooks to views
2017-05-24 15:56:31 +02:00
Boris Besemer
90c2289396
Merge branch 'master' into feature/move-views-in-hooks
2017-05-24 11:04:59 +02:00
Jasper Berghoef
fda9017c38
Assume usage of .js extension for react components
2017-05-24 11:03:35 +02:00
Jasper Berghoef
2cff8a01fe
Adds front-end tooling
2017-05-24 11:03:35 +02:00