7
Commit Graph

317 Commits

Author SHA1 Message Date
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
4158bafe58 Python 2.x compatibility fix for sandbox 2017-05-31 13:19:47 +02:00
b55bdb60b9 Remove psycopg2 from sandbox requirements
The sandbox's `settings.py` specifies `django.db.backends.sqlite3`.
2017-05-31 12:44:46 +02:00
531ae6df98 README tweaks
minor style changes, removal of segments adapter section.
2017-05-31 12:17:57 +02:00
699d24bc44 Fix tests on Python < 3.6 (remove f-string) 2017-05-31 12:11:07 +02:00
2977440ee7 Merge pull request #103 from robmoorman/modeladmin-docs
Point out more that modeladmin is required
2017-05-31 11:55:02 +02:00
23a9b1df84 Point out more that modeladmin is required 2017-05-31 11:48:35 +02:00
eb837fa7b2 Ingnore migration files for code coverage 2017-05-31 11:26:56 +02:00
b523327c8c Only 1.10 2017-05-31 11:22:39 +02:00
a2957b7e77 Fix install version 1.10.1 2017-05-31 11:22:39 +02:00
9623e67dd7 set alabaster options 2017-05-31 11:11:52 +02:00
7531eb9451 Minor markup fixes to README 2017-05-31 10:51:13 +02:00
4503ad387e Add travis badges, fix line length 2017-05-31 10:50:46 +02:00
5d1abee76c Fix missing renames from personalisation -> wagtail_personalisation 2017-05-31 10:46:33 +02:00
e2d3b9bf9d Update tox/travis config 2017-05-31 10:37:45 +02:00
dbb0ecde95 Merge branch 'master' of https://github.com/LabD/wagtail-personalisation 2017-05-31 10:34:47 +02:00
325c2d5801 Fixes package name in README 2017-05-31 10:34:39 +02:00
77005097c3 Add MIT license 2017-05-31 10:30:38 +02:00
c1f50a5add Remove users.json 2017-05-31 10:06:57 +02:00
9edb0f736a Remove AUTHORS again, was alreadiy in contributors.rst 2017-05-31 09:56:11 +02:00
39b26be325 Add the AUTHORS file 2017-05-31 09:55:00 +02:00
92f898462c Use opensource@labdigital.nl for the email address 2017-05-31 09:53:01 +02:00
33cf0217da fixes page crashing when visiting a page that doesnt inherit PersonalisablePage 2017-05-30 17:36:32 +02:00
83a7db5952 Renames personalisation module in documentation 2017-05-30 15:46:27 +02:00
a73e356ffe Adds a contributors file 2017-05-29 10:00:41 +02:00
3eac2cd4dd Codestyle fixes (flake8)
This also adds the flake8 dependencies to the test extras for
installation.
2017-05-28 09:13:08 +02:00
55da67523f Puts the receivers in a seperate file and adds appconfig 2017-05-26 16:40:50 +02:00
9a7d41284e Renames template filters 2017-05-26 16:31:54 +02:00
ebde527ae9 Renames the module from ‘personalisation’ to ‘wagtail_personalisation’ 2017-05-26 16:31:54 +02:00
5f1c52c93c Fixes persistent rule persisting 2017-05-24 21:21:24 +02:00
974a4d6f46 Moves the form in to models.py to forms.py 2017-05-24 17:34:34 +02:00
97e4116945 Fix migrations for the sandbox 2017-05-24 17:29:00 +02:00
02e18491bb Fix test dependencies and skip one test for now 2017-05-24 17:05:34 +02:00
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
90c2289396 Merge branch 'master' into feature/move-views-in-hooks 2017-05-24 11:04:59 +02:00
fda9017c38 Assume usage of .js extension for react components 2017-05-24 11:03:35 +02:00
2cff8a01fe Adds front-end tooling 2017-05-24 11:03:35 +02:00
7fda6f411a Moves static files to sub directories 2017-05-24 11:03:35 +02:00
32748b0d6f Moves segment dashboard views from hooks to views
Because it makes more sense
2017-05-23 14:38:40 +02:00
479aec516e Adds front-end tooling 2017-05-23 14:26:36 +02:00
d773d0e8f8 Adds lines between the short and long description 2017-05-23 13:43:00 +02:00
3391087944 Moves static files to sub directories 2017-05-23 13:41:30 +02:00
111e6e1568 Docstrings for thje rules 2017-05-23 13:24:22 +02:00
a34386f811 Model docstrings 2017-05-23 12:53:06 +02:00
6c4178cf21 Merge branch 'master' of https://github.com/LabD/wagtail-personalisation 2017-05-23 12:03:22 +02:00
7e240d50b1 Docstrings for the wagtail hooks 2017-05-23 12:03:19 +02:00
0a4e8af6ad Mergens ‘enable’ and ‘disable’ view and adds security 2017-05-22 17:30:23 +02:00
9dce9578f0 Adds docstrings to BaseSegmentsAdapter 2017-05-22 17:00:53 +02:00
33eabf4b77 Four lines to one line 2017-05-22 16:24:44 +02:00
4f114689a5 Updates docstrings for the views 2017-05-22 16:16:48 +02:00