Boris Besemer
4e9a6e902d
Merge pull request #186 from wagtail/feature/show-to-everyone-block
...
Add an option to show a personalised block to everyone (no segment)
2018-08-06 19:25:27 +02:00
Tomasz Knapik
3ce0aef8d5
Add an option to show a personalised block to everyone
2018-08-06 15:16:36 +01:00
tm-kn
a47803eca5
Delete related variants when deleting the segment ( #183 )
...
* Delete related variants when deleting the segment
Closes #155
* Fix typo
* Fix migration ordering
* Split metadata migrations
2018-07-19 12:59:46 +02:00
Jasper Berghoef
e42e1a865b
Add width and height to logo in README
2018-07-17 17:14:44 +02:00
Jasper Berghoef
293004fdc6
Feature/documentation ( #170 )
...
* Splits documentation over multiple folders
* Editor guide documentation intro
* Adds segment dashboard documentation
* Adds editor documenation regarding segment creation
* Adds logo with padding for the documentation
* Updates usage guide documentation
* Splits sandbox and custom rules documentation
* Improves ‘Create a variant’ documentation
* Adds documentation regarding streamfield and template tags
* Consistent StreamField references
* Feedback from M. Dingjan
* Remove ‘coming soon’ section
* Enable sandbox debug toolbar
* Updated documentation
2018-07-17 16:59:32 +02:00
Boris Besemer
6f0425cd5f
Merge pull request #184 from wagtail/182-deleting-the-page-deletes-its-variants
...
Delete page variants when deleting the page
2018-07-09 08:05:26 +02:00
Tomasz Knapik
0fd6d4d2e5
Delete variants of a page that is being deleted
2018-07-06 15:11:03 +01:00
Boris Besemer
e0fbefd53f
Update contributors list with all the committers
2018-06-08 18:03:50 +02:00
Jasper Berghoef
c87b2936e9
Merge pull request #179 from wagtail/feature/fix-page-summary-item-page-count
...
Feature/fix page summary item page count
2018-05-31 13:54:58 +02:00
Jasper Berghoef
7010f5acea
Move comment to top of function
2018-05-31 11:02:39 +02:00
Jasper Berghoef
d94890848d
Add description of logic
2018-05-31 10:26:17 +02:00
Jasper Berghoef
f8d226efaf
Prevent corrected summary item from counting the root page
2018-05-31 10:22:22 +02:00
Jasper Berghoef
037381f79f
Merge pull request #178 from tm-kn/use-the-same-way-as-wagtail-to-count-pages
...
Use Wagtail's logic in the page count in the dash
2018-05-30 22:26:25 +02:00
Jasper Berghoef
0f5501ceef
Merge pull request #177 from tm-kn/django-get-field-bug
...
Fix bug on visiting a segment page in the admin
2018-05-30 22:25:08 +02:00
Tomasz Knapik
4e5454b348
Use Wagtail's logic in the page count in the dash
...
This adds a check if root page is root page in order to calculate the
count properly the same way as Wagtail does [1].
[1] 5c9ff23e22/wagtail/admin/site_summary.py (L38)
2018-05-30 20:13:04 +01:00
Jasper Berghoef
9919d76741
Merge pull request #176 from tm-kn/fix-excluding-pages-without-variant
...
Fix excluding pages without variant
2018-05-30 21:07:32 +02:00
Tomasz Knapik
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
Tomasz Knapik
6514bc1763
Fix excluding pages without variant
...
Currently count in the admin dashboard shows "-1" and no pages are
displayed in the explorer.
2018-05-30 19:47:28 +01:00
blurrah
65a46f2bd9
Fix segment model naming for forced_segment and the userbar
2018-05-26 16:37:53 +02:00
Paul J Stevens
f1b62a7546
add missing migration
2018-05-26 16:27:20 +02:00
blurrah
03e02e8b91
Change all mentions of LabD urls to wagtail urls
2018-05-26 16:26:59 +02:00
Boris Besemer
8d8975ac36
Merge pull request #126 from wagtail/feature/force-as-segment
...
adds simple segment forcing for superusers
2018-05-26 16:24:44 +02:00
Paul J Stevens
2324a30afd
Merge branch 'feature/djangoconf-sprint'
2018-05-26 16:11:27 +02:00
Paul J Stevens
0bdb80f25a
improve SessionSegmentAdapter
2018-05-26 16:04:11 +02:00
blurrah
1c1a7ce1b8
Remove wagtail icon from segment link in user bar
2018-05-26 15:08:17 +02:00
Paul J Stevens
2a48eb3498
fix django version in tox.ini
2018-05-26 14:59:25 +02:00
Paul J Stevens
4ad097b4fa
include wagtail-2.1 in test matrix
2018-05-26 14:57:03 +02:00
blurrah
939247c147
Add force as segment to the Wagtail user bar
2018-05-26 14:52:09 +02:00
Paul J Stevens
12f110d913
remove customer manager again for now
2018-05-26 14:35:53 +02:00
Paul J Stevens
c8fe62d2b1
remove praekholt deployment target from travis setup
2018-05-26 14:35:53 +02:00
Jasper Berghoef
83c2a4289e
Adjust README for ordering
2018-05-26 12:56:18 +02:00
Jasper Berghoef
84ac76f33e
Adjust tox.ini for wagtail 2.1
2018-05-26 12:56:02 +02:00
Jasper Berghoef
f6598ca1f7
Adjust requirements
2018-05-26 12:55:29 +02:00
Paul J Stevens
726c0cd70f
update travis setup
2018-05-26 12:32:39 +02:00
Paul J Stevens
4f3f9a4d40
lint
2018-05-26 12:28:01 +02:00
Paul J Stevens
3a378830e0
fix basepython
2018-05-26 12:27:52 +02:00
Paul J Stevens
8a151e3bab
python2 cleanups
2018-05-26 12:06:35 +02:00
Paul J Stevens
bb34bddaf4
add custom model manager
2018-05-26 12:01:26 +02:00
Paul J Stevens
9710d3b479
post-merge cleanups
2018-05-26 11:45:28 +02:00
Paul J Stevens
5536adc3ec
Merge branch 'develop' into feature/djangoconf-sprint
2018-05-26 10:48:33 +02:00
Paul J Stevens
5b8d578493
only test for wagtail2 and django2 on python3
2018-05-26 09:54:56 +02:00
Paul J Stevens
bdba6b65cf
use new wagtail_factories package
2018-03-22 14:41:54 +01:00
Paul J Stevens
cbcd80d248
update tox.ini
2018-03-17 11:56:14 +01:00
Paul J Stevens
9b1c5a6ab6
fixes test runs
...
added dependency link to Makefile until Michael releases new
wagtail-factories
2018-03-17 11:37:11 +01:00
Paul J Stevens
62d258fd9e
fixes wagtail2 compatibility
...
return QuerySets instead of lists
2018-03-17 11:26:56 +01:00
blurrah
32e73329c3
Revert wagtail-factories setting
2018-03-16 11:51:25 +01:00
blurrah
fde53ea0ef
Fix all tests for django and wagtail 2
2018-03-16 11:45:07 +01:00
blurrah
22a7367211
Update module paths for tests
2018-03-16 11:16:47 +01:00
Jasper Berghoef
0d89d47735
Prevent webpack copy error from img dir
2018-03-16 11:14:19 +01:00
Jasper Berghoef
92189a3be8
Fix dashboard edit links
2018-03-16 11:14:19 +01:00