c7eaec1315
Wagtail 3 changes
2022-11-08 14:47:25 +00:00
06569a3cc1
Fix 'bool' object is not callable error
2019-08-27 11:43:39 +02:00
69a4514129
update testcode
...
run isort
2019-03-15 12:58:30 +01:00
585cb0b16a
clean out some python2-isms
2019-03-15 11:50:34 +01:00
956c1bf4f5
Use timezone-aware dates and times in rules ( #197 )
...
* use timezone-aware dates and times re #196
* remove redundant newlines
* Fix flake8 linting errors in python 3.6
2019-01-24 16:27:34 +01:00
7d679d7111
Add origin country rule ( #190 )
2018-09-25 07:51:25 +02:00
7e9dd8624b
Fix bug on visiting a segment page in the admin
...
Wagtail's InlinePanel's relies on
django.db.models.options.Options.get_field -
bcf6b6da77/wagtail/admin/edit_handlers.py (L688)
which seems to have a bug of using related_query_name rather than
related_name naming and therefore trying to edit segment always
fails - https://code.djangoproject.com/ticket/29458 . The bug has not
yet been confirmed by others but it's impossible to edit segments.
Therefore this change deletes related_query_name from relations from
rules to the Segment model.
2018-05-30 20:00:53 +01:00
4f3f9a4d40
lint
2018-05-26 12:28:01 +02:00
5536adc3ec
Merge branch 'develop' into feature/djangoconf-sprint
2018-05-26 10:48:33 +02:00
6b7a1ed591
Updated requirements and module paths
2018-03-16 11:14:19 +01:00
7f5e958ee3
Catch the exception if the visit count rule doesn't have a page
2018-03-09 19:20:30 +02:00
fdc0a7f2e1
Get user info for Visit count rule
2018-02-21 19:08:29 +02:00
12b0cd9231
Make visit count session retrieval seperate method
2018-02-21 19:07:35 +02:00
330557be8d
Make VisitCountRule.test_user actually test with only a user
2018-02-21 18:48:44 +02:00
364cb1a7e6
Query rule should not be static
2018-02-20 15:08:12 +02:00
33f96af4a3
Allow test_user() for static rules to accept a user
2018-01-24 15:14:24 +02:00
a00929846e
Set query rule to be static
2018-01-18 16:17:30 +02:00
9e0fc8e6fd
Make the static segments work with match_any and fix bug in visit count
2017-10-24 10:50:05 +01:00
675d219f1f
Add the logic for static segments
2017-10-17 16:57:07 +01:00
94c947a435
Fixes link name
2017-06-03 10:35:52 +02:00
0776d2300a
Feature/fa icons for rules ( #123 )
...
Integrate font-awesome for the rule icons
2017-06-02 14:53:41 +02:00
15a0276041
Update import sorting and newlines
2017-06-01 18:06:41 +02:00
e0fffb70b7
Remove redefinition of `class Meta
` warning
2017-06-01 18:06:41 +02:00
46ad32236c
Merge branch 'master' into simplifications+optimisations
2017-05-31 17:21:07 +02:00
4f2dc3a304
Handles both Python 2 & 3, and multiple optimisations & simplifications.
2017-05-31 17:13:33 +02:00
18eea8a9b1
updates faulty strings
2017-05-31 16:30:18 +02:00
0aa07261ad
fixes a few translation strings and adds translation files
2017-05-31 16:23:49 +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
73ea5157ff
Minor code cleanups
2017-05-31 14:48:24 +02:00
699d24bc44
Fix tests on Python < 3.6 (remove f-string)
2017-05-31 12:11:07 +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
ebde527ae9
Renames the module from ‘personalisation’ to ‘wagtail_personalisation’
2017-05-26 16:31:54 +02:00