author
int64
658
755k
date
stringlengths
19
19
timezone
int64
-46,800
43.2k
hash
stringlengths
40
40
message
stringlengths
5
490
mods
list
language
stringclasses
20 values
license
stringclasses
3 values
repo
stringlengths
5
68
original_message
stringlengths
12
491
575,403
17.09.2017 10:28:16
-3,600
5e96a9af4bcda75be8c2dabac814be867f086fd9
Simplify the SubMenu menu class. It bares some similarity to MenuFromRootPage, but is really quite different, and so it's simpler if it subclasses Menu and implement it's own overrides where necessary
[ { "change_type": "MODIFY", "old_path": "wagtailmenus/models/menus.py", "new_path": "wagtailmenus/models/menus.py", "diff": "@@ -692,39 +692,44 @@ class ChildrenMenu(DefinesSubMenuTemplatesMixin, PageModifiesMenuItemsMixin,\nreturn self.let_page_modify_menu_items(self.root_page, menu_items)\n-class S...
Python
MIT License
rkhleics/wagtailmenus
Simplify the SubMenu menu class. It bares some similarity to MenuFromRootPage, but is really quite different, and so it's simpler if it subclasses Menu and implement it's own overrides where necessary
575,403
17.09.2017 10:46:30
-3,600
61a58479121d9151f6d48856d954b7ece879d2df
Remove 'root_page' attribute from base Menu class (if it's not always relevant, it shouldn't be there) Have SubMenu and MenuFromRootPage set the 'parent_page' value in get_common_hook_kwargs accordingly
[ { "change_type": "MODIFY", "old_path": "wagtailmenus/models/menus.py", "new_path": "wagtailmenus/models/menus.py", "diff": "@@ -47,7 +47,6 @@ class Menu(object):\nmax_levels = 1\nuse_specific = app_settings.USE_SPECIFIC_AUTO\npages_for_display = None\n- root_page = None # Not relevant for all menu c...
Python
MIT License
rkhleics/wagtailmenus
- Remove 'root_page' attribute from base Menu class (if it's not always relevant, it shouldn't be there) - Have SubMenu and MenuFromRootPage set the 'parent_page' value in get_common_hook_kwargs accordingly
575,403
17.09.2017 10:50:57
-3,600
3e0e07b95fbd78fb17ab5619c28a91f6b6af6d7d
Use a for common hook kwargs
[ { "change_type": "MODIFY", "old_path": "wagtailmenus/models/menus.py", "new_path": "wagtailmenus/models/menus.py", "diff": "@@ -232,6 +232,10 @@ class Menu(object):\nhook_kwargs.update(kwargs)\nreturn hook_kwargs\n+ @cached_property\n+ def common_hook_kwargs(self):\n+ return self.get_common_hook_kwa...
Python
MIT License
rkhleics/wagtailmenus
Use a @cached_property for common hook kwargs
575,403
17.09.2017 11:01:57
-3,600
05bc209bf3ad36c1c36eac2d11076edcef1a2382
Remove 'template_engine' from the ContextualVals namedtuple, and instead add a 'get_template_engine' method to Menu, which should make it easier to override if necessary
[ { "change_type": "MODIFY", "old_path": "wagtailmenus/models/menus.py", "new_path": "wagtailmenus/models/menus.py", "diff": "@@ -27,7 +27,7 @@ from .pages import AbstractLinkPage\nContextualVals = namedtuple('ContextualVals', (\n'parent_context', 'request', 'current_site', 'current_level',\n'menu_tag...
Python
MIT License
rkhleics/wagtailmenus
Remove 'template_engine' from the ContextualVals namedtuple, and instead add a 'get_template_engine' method to Menu, which should make it easier to override if necessary
575,403
19.09.2017 22:58:55
-3,600
4a70e2301e8efd1ba908a3ba504513ac6ccc5f42
Add template_name and sub_menu_template_name class attributes to allow specific templates to be specified for custom menu classes
[ { "change_type": "MODIFY", "old_path": "wagtailmenus/models/menus.py", "new_path": "wagtailmenus/models/menus.py", "diff": "@@ -44,12 +44,13 @@ OptionVals = namedtuple('OptionVals', (\n# ########################################################\nclass Menu(object):\n- \"\"\"A base class that all othe...
Python
MIT License
rkhleics/wagtailmenus
Add template_name and sub_menu_template_name class attributes to allow specific templates to be specified for custom menu classes
575,403
19.09.2017 23:01:05
-3,600
47a1441aaf34fcbf427ef2a8fe8856afc537b577
Add 'parent_menu_instance' to ContextualVals definition
[ { "change_type": "MODIFY", "old_path": "wagtailmenus/models/menus.py", "new_path": "wagtailmenus/models/menus.py", "diff": "@@ -28,8 +28,9 @@ from .pages import AbstractLinkPage\nContextualVals = namedtuple('ContextualVals', (\n'parent_context', 'request', 'current_site', 'current_level',\n- 'menu_t...
Python
MIT License
rkhleics/wagtailmenus
Add 'parent_menu_instance' to ContextualVals definition
575,403
20.09.2017 08:37:46
-3,600
df02c1a5ff45566041666cfd7a412f583928850c
Fix the template issue
[ { "change_type": "MODIFY", "old_path": "wagtailmenus/models/menus.py", "new_path": "wagtailmenus/models/menus.py", "diff": "@@ -497,7 +497,9 @@ class Menu(object):\nspecified = self._option_vals.template_name\nif specified:\nreturn engine.get_template(specified)\n- if hasattr(self, 'template_name'):...
Python
MIT License
rkhleics/wagtailmenus
Fix the template issue
575,403
20.09.2017 08:49:25
-3,600
a930e0061c7013631cdb18be376b1cac98ecb241
Docstring/comment updates
[ { "change_type": "MODIFY", "old_path": "wagtailmenus/models/menus.py", "new_path": "wagtailmenus/models/menus.py", "diff": "@@ -114,11 +114,10 @@ class Menu(object):\nmethod and returns them in a structure that can be conveniently\nreferenced throughout the process of rendering.\n- Any additionaly o...
Python
MIT License
rkhleics/wagtailmenus
Docstring/comment updates
575,403
20.09.2017 09:56:33
-3,600
96eab40c6d9a115994ceec13cba52bdb4421cc46
Remove 'parent_menu_instance' from ContextualVals - I thought this would be useful for doing interesting things with sub-menu templates, but it's unnecessary right now
[ { "change_type": "MODIFY", "old_path": "wagtailmenus/models/menus.py", "new_path": "wagtailmenus/models/menus.py", "diff": "@@ -30,9 +30,8 @@ from .pages import AbstractLinkPage\nContextualVals = namedtuple('ContextualVals', (\n'parent_context', 'request', 'current_site', 'current_level',\n- 'menu_t...
Python
MIT License
rkhleics/wagtailmenus
Remove 'parent_menu_instance' from ContextualVals - I thought this would be useful for doing interesting things with sub-menu templates, but it's unnecessary right now
575,403
20.09.2017 10:40:01
-3,600
3c13d74c8d71a3af303d1f9eb245806c4386f5f3
Code tidy and docstring / comment improvements for MenuFromPage.modify_menu_items()
[ { "change_type": "MODIFY", "old_path": "wagtailmenus/models/menus.py", "new_path": "wagtailmenus/models/menus.py", "diff": "@@ -599,18 +599,22 @@ class MenuFromPage(Menu):\nreturn list(self.get_children_for_page(parent_page))\ndef modify_menu_items(self, menu_items):\n- if not self.use_specific:\n- ...
Python
MIT License
rkhleics/wagtailmenus
Code tidy and docstring / comment improvements for MenuFromPage.modify_menu_items()
575,403
20.09.2017 10:40:53
-3,600
4059093aa2d530a87d45a28206183fdced2b2d34
Docstring tweak for MenuFromPage class
[ { "change_type": "MODIFY", "old_path": "wagtailmenus/models/menus.py", "new_path": "wagtailmenus/models/menus.py", "diff": "@@ -550,8 +550,8 @@ class MenuFromPage(Menu):\nsupplied as an option value to the tag, or the menu class might identify it\nfrom values present in the parent context. However i...
Python
MIT License
rkhleics/wagtailmenus
Docstring tweak for MenuFromPage class
575,403
20.09.2017 10:42:55
-3,600
477d58d8be7430a5db05633be1dfa78cc1d9466b
Removed unnecessary complication from if statements in SectionMenu.prepare_to_render() - this method will only ever be called when 'current_level' is 1 - any sub levels will be rendered by a completely different menu instance with it's own 'prepare_to_render' implementation
[ { "change_type": "MODIFY", "old_path": "wagtailmenus/models/menus.py", "new_path": "wagtailmenus/models/menus.py", "diff": "@@ -699,10 +699,8 @@ class SectionMenu(DefinesSubMenuTemplatesMixin, MenuFromPage):\nrequest, contextual_vals, option_vals)\nif self.use_specific and type(self.root_page) is Pa...
Python
MIT License
rkhleics/wagtailmenus
Removed unnecessary complication from if statements in SectionMenu.prepare_to_render() - this method will only ever be called when 'current_level' is 1 - any sub levels will be rendered by a completely different menu instance with it's own 'prepare_to_render' implementation
575,403
20.09.2017 12:21:16
-3,600
7132cf59eb7b707ee48ff0fc2dcf32f04fa2108d
Fix incorrect method name on MenuFromRootPage
[ { "change_type": "MODIFY", "old_path": "wagtailmenus/models/menus.py", "new_path": "wagtailmenus/models/menus.py", "diff": "@@ -668,7 +668,7 @@ class MenuFromRootPage(MenuFromPage):\nself.use_specific = use_specific\nsuper(MenuFromRootPage, self).__init__()\n- def get_menu_items_parent_page(self):\n...
Python
MIT License
rkhleics/wagtailmenus
Fix incorrect method name on MenuFromRootPage
575,403
20.09.2017 13:47:53
-3,600
3f43d3f411d3beb663580802db1b7e5f29d433e5
If 'prime_menu_tags' and 'get_sub_menu_items_for_page' are going from 'actively used' in v2.4 to deprecated in v2.5, then they should be restored to work as they did in v2.4 (but with RemovedInWagtailMenus25Warning deprecation stuff removed, and new RemovedInWagtailMenus27Warning warnings added)
[ { "change_type": "MODIFY", "old_path": "wagtailmenus/templatetags/menu_tags.py", "new_path": "wagtailmenus/templatetags/menu_tags.py", "diff": "@@ -2,7 +2,6 @@ from __future__ import unicode_literals\nimport warnings\nfrom django.template import Library\n-from wagtail.wagtailcore import hooks\nfrom ...
Python
MIT License
rkhleics/wagtailmenus
If 'prime_menu_tags' and 'get_sub_menu_items_for_page' are going from 'actively used' in v2.4 to deprecated in v2.5, then they should be restored to work as they did in v2.4 (but with RemovedInWagtailMenus25Warning deprecation stuff removed, and new RemovedInWagtailMenus27Warning warnings added)
575,403
20.09.2017 13:49:41
-3,600
507a5e438a87e44deeaa94d8dc9f43357661e995
Add backwards-compatibility fixes to SubMenu
[ { "change_type": "MODIFY", "old_path": "wagtailmenus/models/menus.py", "new_path": "wagtailmenus/models/menus.py", "diff": "@@ -841,6 +841,48 @@ class SubMenu(MenuFromPage):\nmenu_short_name = 'sub' # used to find templates\nmenu_instance_context_name = 'sub_menu'\n+ @classmethod\n+ def get_contextu...
Python
MIT License
rkhleics/wagtailmenus
Add backwards-compatibility fixes to SubMenu
575,403
20.09.2017 13:53:38
-3,600
9d751fbf015fe3e3fe0281b6466bc786d066583e
Add an old-style custom menu tag and accompanying menu class that can be used for ensuring backwards compatibility / appropriate raising of warnings until deprecated behaviour is completely removed
[ { "change_type": "MODIFY", "old_path": "wagtailmenus/tests/models/menus.py", "new_path": "wagtailmenus/tests/models/menus.py", "diff": "@@ -3,8 +3,8 @@ from modelcluster.fields import ParentalKey\nfrom wagtail.wagtailadmin.edit_handlers import (\nFieldPanel, MultiFieldPanel, PageChooserPanel)\nfrom ...
Python
MIT License
rkhleics/wagtailmenus
Add an old-style custom menu tag and accompanying menu class that can be used for ensuring backwards compatibility / appropriate raising of warnings until deprecated behaviour is completely removed
575,403
20.09.2017 14:10:07
-3,600
25ca96376f7640139e3f3da8c77eb65c21812992
Utilise the 'template_name' attribute on the new test menu class to test that works too
[ { "change_type": "MODIFY", "old_path": "wagtailmenus/tests/models/menus.py", "new_path": "wagtailmenus/tests/models/menus.py", "diff": "@@ -18,7 +18,7 @@ class CustomSectionMenu(SectionMenu):\nclass OldStyleChildrenMenu(MenuFromRootPage):\n- pass\n+ template_name = \"menus/old_style_children_menu.ht...
Python
MIT License
rkhleics/wagtailmenus
Utilise the 'template_name' attribute on the new test menu class to test that works too
575,403
20.09.2017 14:25:19
-3,600
dd70c453769cf0ac5f715f98b9b12cf13da21960
Split test_models.py into test_menu_classes.py and test_page_models.py Move the 'TestNoAbsoluteUrlsPage' test case into test_custom_models.py, rather than having it in 'test_page_models.py', which is intended for testing the model functionality from wagtailmenus/models/pages.py than from custom models
[ { "change_type": "MODIFY", "old_path": "wagtailmenus/tests/test_custom_models.py", "new_path": "wagtailmenus/tests/test_custom_models.py", "diff": "# -*- coding: utf-8 -*-\nfrom __future__ import absolute_import, unicode_literals\n+import warnings\n+\nfrom bs4 import BeautifulSoup\nfrom django.contr...
Python
MIT License
rkhleics/wagtailmenus
- Split test_models.py into test_menu_classes.py and test_page_models.py - Move the 'TestNoAbsoluteUrlsPage' test case into test_custom_models.py, rather than having it in 'test_page_models.py', which is intended for testing the model functionality from wagtailmenus/models/pages.py than from custom models
575,403
20.09.2017 14:27:50
-3,600
35ad104ab82d11f441b019bdb4bf1ede8be5a175
Fix some incorrectly named tests on TestMenuClasses test case
[ { "change_type": "MODIFY", "old_path": "wagtailmenus/tests/test_menu_classes.py", "new_path": "wagtailmenus/tests/test_menu_classes.py", "diff": "@@ -13,13 +13,13 @@ from wagtailmenus.utils.deprecation import RemovedInWagtailMenus27Warning\nclass TestMenuClasses(TestCase):\nfixtures = ['test.json']\...
Python
MIT License
rkhleics/wagtailmenus
Fix some incorrectly named tests on TestMenuClasses test case
575,403
20.09.2017 15:02:33
-3,600
d08459627a391889ed82db66586be1f3619dea20
Add tests for ChildrenMenu deprecated behaviour
[ { "change_type": "MODIFY", "old_path": "wagtailmenus/tests/test_menu_classes.py", "new_path": "wagtailmenus/tests/test_menu_classes.py", "diff": "@@ -6,7 +6,8 @@ from django.test import TestCase\nfrom django.core.exceptions import ValidationError\nfrom wagtail.wagtailcore.models import Page\n-from w...
Python
MIT License
rkhleics/wagtailmenus
Add tests for ChildrenMenu deprecated behaviour
575,403
20.09.2017 15:03:55
-3,600
d1a28d6dcc701f9768a9650c74f98439237adb14
slight imrprovement to test_init_with_root_page
[ { "change_type": "MODIFY", "old_path": "wagtailmenus/tests/test_menu_classes.py", "new_path": "wagtailmenus/tests/test_menu_classes.py", "diff": "@@ -215,7 +215,7 @@ class TestChildrenMenu(TestCase):\nwith warnings.catch_warnings(record=True) as w:\nwarnings.simplefilter('always', RemovedInWagtailMe...
Python
MIT License
rkhleics/wagtailmenus
slight imrprovement to test_init_with_root_page
575,403
20.09.2017 15:57:34
-3,600
c05ae5c0f2c302ffe059c26b5ea7a1d46241ca63
Simplify the deprecation warnings for util methods
[ { "change_type": "MODIFY", "old_path": "wagtailmenus/utils/misc.py", "new_path": "wagtailmenus/utils/misc.py", "diff": "@@ -11,10 +11,8 @@ def get_attrs_from_context(context):\na tuple for use in most menu tags.\n\"\"\"\nwarning_msg = (\n- \"The 'get_attrs_from_context' method in wagtailmenus.utils....
Python
MIT License
rkhleics/wagtailmenus
Simplify the deprecation warnings for util methods
575,403
20.09.2017 16:04:25
-3,600
91070fc5d372942be0fd51aa855076807a2b9495
Fix typo in last commit and also simplify warnings in menu_tags.py
[ { "change_type": "MODIFY", "old_path": "wagtailmenus/templatetags/menu_tags.py", "new_path": "wagtailmenus/templatetags/menu_tags.py", "diff": "@@ -196,9 +196,7 @@ def get_sub_menu_items_for_page(\n):\nwarning_msg = (\n\"The 'get_sub_menu_items_for_page' method in menu_tags is deprecated \"\n- \"in ...
Python
MIT License
rkhleics/wagtailmenus
Fix typo in last commit and also simplify warnings in menu_tags.py
575,403
20.09.2017 16:25:53
-3,600
9b0ad6561049d844b7287a6dae65add10c02e6c1
Further warning msg tweaks
[ { "change_type": "MODIFY", "old_path": "wagtailmenus/templatetags/menu_tags.py", "new_path": "wagtailmenus/templatetags/menu_tags.py", "diff": "@@ -195,8 +195,9 @@ def get_sub_menu_items_for_page(\nuse_absolute_page_urls=False,\n):\nwarning_msg = (\n- \"The 'get_sub_menu_items_for_page' method in me...
Python
MIT License
rkhleics/wagtailmenus
Further warning msg tweaks
575,403
20.09.2017 16:28:04
-3,600
77667cbc3c9b31d53ba1f8e63d80cfa636b7b85b
Move the template_name arg to CustomChildrenMenu instead of OldStyleChildrenMenu, and confirm that it is picked up and used when the WAGTAILMENUS_CHILDREN_MENU_CLASS_PATH setting is used
[ { "change_type": "MODIFY", "old_path": "wagtailmenus/tests/models/menus.py", "new_path": "wagtailmenus/tests/models/menus.py", "diff": "@@ -10,7 +10,7 @@ from .utils import TranslatedField\nclass CustomChildrenMenu(ChildrenMenu):\n- pass\n+ template_name = \"menus/custom_children_menu.html\"\nclass ...
Python
MIT License
rkhleics/wagtailmenus
Move the template_name arg to CustomChildrenMenu instead of OldStyleChildrenMenu, and confirm that it is picked up and used when the WAGTAILMENUS_CHILDREN_MENU_CLASS_PATH setting is used
575,403
20.09.2017 16:31:38
-3,600
e42323935230629ae829ee9562bceb7eb6eeec41
Minor formatting fixing in test_menu_rendering.py
[ { "change_type": "MODIFY", "old_path": "wagtailmenus/tests/test_menu_rendering.py", "new_path": "wagtailmenus/tests/test_menu_rendering.py", "diff": "@@ -263,7 +263,6 @@ class TestTemplateTags(TestCase):\n<li class=\"call\">\n<a href=\"/contact-us/#call\">Speak to someone</a>\n</li>\n-\n<li class=\"...
Python
MIT License
rkhleics/wagtailmenus
Minor formatting fixing in test_menu_rendering.py
575,403
21.09.2017 09:36:03
-3,600
9ffc1a531d24bef8923dc6ad1a7d3145f95d97d6
Increase coverage in template list methods
[ { "change_type": "MODIFY", "old_path": "wagtailmenus/tests/test_menu_rendering.py", "new_path": "wagtailmenus/tests/test_menu_rendering.py", "diff": "@@ -68,10 +68,13 @@ class TestTemplateTags(TestCase):\nresponse = self.client.get('/')\nself.assertEqual(response.status_code, 200)\n+ @override_setti...
Python
MIT License
rkhleics/wagtailmenus
Increase coverage in template list methods
575,403
21.09.2017 10:00:16
-3,600
8a00d6f7b0a213430c6ce5b3a48031f2c7097417
Use the 'sub_menu_template' attribute to specify a template for CustomSectionMenu to use, and ensure it is used as expected
[ { "change_type": "MODIFY", "old_path": "wagtailmenus/tests/models/menus.py", "new_path": "wagtailmenus/tests/models/menus.py", "diff": "@@ -10,11 +10,11 @@ from .utils import TranslatedField\nclass CustomChildrenMenu(ChildrenMenu):\n- template_name = \"menus/custom_children_menu.html\"\n+ template_n...
Python
MIT License
rkhleics/wagtailmenus
Use the 'sub_menu_template' attribute to specify a template for CustomSectionMenu to use, and ensure it is used as expected
575,403
21.09.2017 13:30:14
-3,600
7a908a2a064b3d062ae87e9636f15536f0381497
Adjust custom tag to make it work in templates where a 'current_page' can't be identified
[ { "change_type": "MODIFY", "old_path": "wagtailmenus/tests/templatetags/custom_menu_tags.py", "new_path": "wagtailmenus/tests/templatetags/custom_menu_tags.py", "diff": "@@ -34,9 +34,7 @@ def custom_children_menu(\n# Use current page as parent_page if no value supplied\nif parent_page is None:\n- pa...
Python
MIT License
rkhleics/wagtailmenus
Adjust custom tag to make it work in templates where a 'current_page' can't be identified
575,403
21.09.2017 13:31:43
-3,600
2fd655fbf56d8e80292d60cf25a3d103b2ca21cb
Move the custom tag test code out of the 'page' template and instead create a new one specifically for testing whether SubMenuUsageError is raised
[ { "change_type": "ADD", "old_path": null, "new_path": "wagtailmenus/tests/templates/custom_menu_tag_page.html", "diff": "+{% extends 'base.html' %}\n+{% load menu_tags custom_menu_tags %}\n+\n+{% block content %}\n+ <div class=\"row\">\n+\n+ <div class=\"content-main\">\n+ <h1>Custom old-style 'chil...
Python
MIT License
rkhleics/wagtailmenus
Move the custom tag test code out of the 'page' template and instead create a new one specifically for testing whether SubMenuUsageError is raised
575,403
21.09.2017 13:33:29
-3,600
ae57651f18b91a5b5ee84b96f3ba2de24446cc89
Don't worry about adding 'sub_menu_class' to the context. The sub_menu tag will call 'get_sub_menu_class()' on the original menu instance directly
[ { "change_type": "MODIFY", "old_path": "wagtailmenus/models/menus.py", "new_path": "wagtailmenus/models/menus.py", "diff": "@@ -292,7 +292,6 @@ class Menu(object):\ndata = ctx_vals.parent_context.flatten()\ndata.update(ctx_vals._asdict())\ndata.update({\n- 'sub_menu_class': self.get_sub_menu_class()...
Python
MIT License
rkhleics/wagtailmenus
Don't worry about adding 'sub_menu_class' to the context. The sub_menu tag will call 'get_sub_menu_class()' on the original menu instance directly
575,403
21.09.2017 13:34:25
-3,600
f57ef5607e15edd3c7b64e0088dfbb749f4b1f3a
Remove stuff from the changelog that has been reversed by this PR
[ { "change_type": "MODIFY", "old_path": "CHANGELOG.md", "new_path": "CHANGELOG.md", "diff": "@@ -10,34 +10,21 @@ Changelog\n* Added the 'autopopulate_main_menus' command, that can be run as part of the\ninstallation process to help populate main menus based on the 'home' and\n'section root' pages for...
Python
MIT License
rkhleics/wagtailmenus
Remove stuff from the changelog that has been reversed by this PR
575,403
21.09.2017 14:01:25
-3,600
57422d7d6d8dda4ce150f3a460a29d35515c177a
Test the working custom tag and broken custom tag using two separate urls/templates to make the tests clearer
[ { "change_type": "MODIFY", "old_path": "wagtailmenus/tests/templates/custom_menu_tag_page.html", "new_path": "wagtailmenus/tests/templates/custom_menu_tag_page.html", "diff": "-{% extends 'base.html' %}\n-{% load menu_tags custom_menu_tags %}\n-\n-{% block content %}\n- <div class=\"row\">\n-\n- <di...
Python
MIT License
rkhleics/wagtailmenus
Test the working custom tag and broken custom tag using two separate urls/templates to make the tests clearer
575,403
21.09.2017 14:32:40
-3,600
5ed6bc5277767115ee5959de0329466a732c922d
Enable site-specific template dirs on a normal page too, to increase coverage in get_template() and get_sub_menu_template() methods
[ { "change_type": "MODIFY", "old_path": "wagtailmenus/tests/test_menu_rendering.py", "new_path": "wagtailmenus/tests/test_menu_rendering.py", "diff": "@@ -69,10 +69,15 @@ class TestTemplateTags(TestCase):\nresponse = self.client.get('/')\nself.assertEqual(response.status_code, 200)\n+ @override_setti...
Python
MIT License
rkhleics/wagtailmenus
Enable site-specific template dirs on a normal page too, to increase coverage in get_template() and get_sub_menu_template() methods
575,403
21.09.2017 15:08:14
-3,600
420d0d4b42453cda507feaf8e2b114716e596d75
Added new changes to CHANGELOG.md
[ { "change_type": "MODIFY", "old_path": "CHANGELOG.md", "new_path": "CHANGELOG.md", "diff": "@@ -4,7 +4,24 @@ Changelog\n2.5.0a (XX.XX.XXXX) IN DEVELOPMENT\n----------------------------------\n-\n+* Added rendering logic to Menu classes and refactored all existing template\n+ tags to make use of it (...
Python
MIT License
rkhleics/wagtailmenus
Added new changes to CHANGELOG.md
575,403
24.09.2017 21:47:59
-3,600
ac02aa09b1a909670ed092c65fa04e29e91a608c
Made some progress with release notes
[ { "change_type": "MODIFY", "old_path": "docs/source/releases/2.5.0a.rst", "new_path": "docs/source/releases/2.5.0a.rst", "diff": "@@ -13,6 +13,11 @@ Wagtailmenus 2.5.0a release notes\nWhat's new?\n===========\n+Menus are now rendered using logic added to the menu classes themselves\n+---------------...
Python
MIT License
rkhleics/wagtailmenus
Made some progress with release notes
575,403
26.09.2017 22:43:29
-3,600
2242d15ecd820bea1ccf8d351a1b76f0825c3a6e
Replace 'menu_tag' in ContextualVals with a 'related_templatetag_name' attribute on each class
[ { "change_type": "MODIFY", "old_path": "wagtailmenus/models/menus.py", "new_path": "wagtailmenus/models/menus.py", "diff": "@@ -30,7 +30,7 @@ from .pages import AbstractLinkPage\nContextualVals = namedtuple('ContextualVals', (\n'parent_context', 'request', 'current_site', 'current_level',\n- 'menu_t...
Python
MIT License
rkhleics/wagtailmenus
Replace 'menu_tag' in ContextualVals with a 'related_templatetag_name' attribute on each class
575,403
26.09.2017 22:44:25
-3,600
5561da24e6dbecb5cf5ae49fb19a5af6ec0f664a
Docstring / comment tweaks and minor tidying
[ { "change_type": "MODIFY", "old_path": "wagtailmenus/models/menus.py", "new_path": "wagtailmenus/models/menus.py", "diff": "@@ -176,7 +176,7 @@ class Menu(object):\ndef render_to_template(self):\n\"\"\"\n- Render the current menu instance to a template to return a string\n+ Render the current menu i...
Python
MIT License
rkhleics/wagtailmenus
Docstring / comment tweaks and minor tidying
575,403
26.09.2017 22:46:13
-3,600
ea8990883258ca53913354af47d05e1df52543be
Make 'get_sub_menu_class' method an instance method (since it's only ever called on instances)
[ { "change_type": "MODIFY", "old_path": "wagtailmenus/models/menus.py", "new_path": "wagtailmenus/models/menus.py", "diff": "@@ -151,9 +151,12 @@ class Menu(object):\n\"Subclasses of 'Menu' must define their own \"\n\"'get_instance_for_rendering' method\")\n- @classmethod\n- def get_sub_menu_class(cl...
Python
MIT License
rkhleics/wagtailmenus
Make 'get_sub_menu_class' method an instance method (since it's only ever called on instances)
575,403
01.10.2017 13:05:06
-3,600
6012c409e667d066d2ecf2659cc12dd3f791b377
Allow all tags to accept additional kwargs, and have those values be passed to 'render_from_tag', where they'll end up in the `extra` dict on the OptionVals instance
[ { "change_type": "MODIFY", "old_path": "wagtailmenus/templatetags/menu_tags.py", "new_path": "wagtailmenus/templatetags/menu_tags.py", "diff": "@@ -20,7 +20,7 @@ register = Library()\ndef main_menu(\ncontext, max_levels=None, use_specific=None, apply_active_classes=True,\nallow_repeating_parents=Tru...
Python
MIT License
rkhleics/wagtailmenus
Allow all tags to accept additional kwargs, and have those values be passed to 'render_from_tag', where they'll end up in the `extra` dict on the OptionVals instance
575,403
01.10.2017 14:13:39
-3,600
29a529b4555cd846395f2b684831b7bee1f0d422
There's no need to override 'render_to_template' on SectionMenu if the correct action is taken by get_instance_for_rendering()
[ { "change_type": "MODIFY", "old_path": "wagtailmenus/models/menus.py", "new_path": "wagtailmenus/models/menus.py", "diff": "@@ -686,6 +686,8 @@ class SectionMenu(DefinesSubMenuTemplatesMixin, MenuFromPage):\n@classmethod\ndef get_instance_for_rendering(cls, contextual_vals, option_vals):\n+ if not c...
Python
MIT License
rkhleics/wagtailmenus
There's no need to override 'render_to_template' on SectionMenu if the correct action is taken by get_instance_for_rendering()
575,403
01.10.2017 14:31:52
-3,600
b80cfbc830543d3d4e4af9d8d553e50392ef8c26
Added notes about the class-based rendering implementation
[ { "change_type": "MODIFY", "old_path": "docs/source/releases/2.5.0a.rst", "new_path": "docs/source/releases/2.5.0a.rst", "diff": "@@ -13,10 +13,37 @@ Wagtailmenus 2.5.0a release notes\nWhat's new?\n===========\n-Menus are now rendered using logic added to the menu classes themselves\n---------------...
Python
MIT License
rkhleics/wagtailmenus
Added notes about the class-based rendering implementation
575,403
01.10.2017 14:33:14
-3,600
b81dd3bb808f627d99605457b9f22df53741dd00
Rename heading for new section
[ { "change_type": "MODIFY", "old_path": "docs/source/releases/2.5.0a.rst", "new_path": "docs/source/releases/2.5.0a.rst", "diff": "@@ -13,7 +13,7 @@ Wagtailmenus 2.5.0a release notes\nWhat's new?\n===========\n-New class-based rendering logic for Menus\n+Class-based rendering behaviour for menus\n---...
Python
MIT License
rkhleics/wagtailmenus
Rename heading for new section
575,403
01.10.2017 22:39:03
-3,600
6f8c5505c1156406f34d4d43db92ca399038d176
Mention 'get_menu_items_for_rendering' , 'get_raw_menu_items', 'prime_menu_items', and 'modify_menu_items' in bit that discusses 'get_context_data'
[ { "change_type": "MODIFY", "old_path": "docs/source/releases/2.5.0a.rst", "new_path": "docs/source/releases/2.5.0a.rst", "diff": "@@ -36,14 +36,12 @@ Below is an outline of the new process, once the menu tag has prepared it's opti\n6. With access to everything it needs, the instance's ``render_to_te...
Python
MIT License
rkhleics/wagtailmenus
Mention 'get_menu_items_for_rendering' , 'get_raw_menu_items', 'prime_menu_items', and 'modify_menu_items' in bit that discusses 'get_context_data'
575,403
01.10.2017 22:40:38
-3,600
c6106e9a81309fe5c1720e9ecd1eaaf942c2cc0f
Add a note about deprecation of `root_page` in favour of 'parent_page' for ChildrenMenu
[ { "change_type": "MODIFY", "old_path": "docs/source/releases/2.5.0a.rst", "new_path": "docs/source/releases/2.5.0a.rst", "diff": "@@ -102,7 +102,11 @@ Upgrade considerations\nThe ChildrenMenu's 'root_page' attribute is deprectated in favour of 'parent_page'\n-----------------------------------------...
Python
MIT License
rkhleics/wagtailmenus
Add a note about deprecation of `root_page` in favour of 'parent_page' for ChildrenMenu
575,403
02.10.2017 11:04:01
-3,600
04a8ba902f20386c4b6552f0cf69fab2870d49cc
Update 2.5.0a.rst Minor language tweaks
[ { "change_type": "MODIFY", "old_path": "docs/source/releases/2.5.0a.rst", "new_path": "docs/source/releases/2.5.0a.rst", "diff": "@@ -26,9 +26,9 @@ Below is an outline of the new process, once the menu tag has prepared it's opti\n1. The menu class's ``render_from_tag()`` method is called. It takes t...
Python
MIT License
rkhleics/wagtailmenus
Update 2.5.0a.rst Minor language tweaks
575,403
02.10.2017 11:06:56
-3,600
ab0a39bb52c4aad183ff0c83d8afa95538df009f
Update 2.5.0a.rst
[ { "change_type": "MODIFY", "old_path": "docs/source/releases/2.5.0a.rst", "new_path": "docs/source/releases/2.5.0a.rst", "diff": "@@ -32,7 +32,7 @@ Below is an outline of the new process, once the menu tag has prepared it's opti\n4. ``render_from_tag()`` calls the class's ``get_instance_for_renderin...
Python
MIT License
rkhleics/wagtailmenus
Update 2.5.0a.rst
575,403
02.10.2017 11:51:25
-3,600
1f5f1c1ef162bb578fbc72a60b7cbbd90e1cb92d
Use 2.5rc1 instead of 2.5.0.rc1
[ { "change_type": "RENAME", "old_path": "docs/source/releases/2.5.0rc1.rst", "new_path": "docs/source/releases/2.5rc1.rst", "diff": "=================================\n-Wagtailmenus 2.5.0a release notes\n+Wagtailmenus 2.5rc1 release notes\n=================================\n.. NOTE::\n- This version ...
Python
MIT License
rkhleics/wagtailmenus
Use 2.5rc1 instead of 2.5.0.rc1
575,403
14.10.2017 20:29:12
-3,600
31616756b3cb76e728e115f4c13b3900000ae7ec
Update from 2.5rc1 to 2.5.0 (final)
[ { "change_type": "MODIFY", "old_path": "CHANGELOG.md", "new_path": "CHANGELOG.md", "diff": "Changelog\n=========\n-2.5.0a (XX.XX.XXXX) IN DEVELOPMENT\n-----------------------------------\n+2.X.X (XX.XX.XXXX) IN DEVELOPMENT\n+---------------------------------\n+\n+\n+2.5.0 (14.10.2017)\n+------------...
Python
MIT License
rkhleics/wagtailmenus
Update from 2.5rc1 to 2.5.0 (final)
575,403
16.10.2017 13:59:44
-3,600
2b191441eaa002cc69db54d03c6c7f3382506df8
Implement WAGTAILMENUS_ADMIN_USE_COLLAPSEDINLINEPANEL setting to toggle collapsedinlinepanel usage for wagtailmenus Move panel logic to panels.py where possible Split the edit interface for menus into a tabbed interface, with Content and Settings tabs Like pages, support separate 'content_panels' and 'settings_panels' ...
[ { "change_type": "MODIFY", "old_path": "wagtailmenus/app_settings.py", "new_path": "wagtailmenus/app_settings.py", "diff": "@@ -80,6 +80,10 @@ class AppSettings(object):\ndef FLATMENU_MENU_ICON(self):\nreturn self._setting('FLATMENU_MENU_ICON', 'list-ol')\n+ @property\n+ def ADMIN_USE_CONDENSEDINLIN...
Python
MIT License
rkhleics/wagtailmenus
- Implement WAGTAILMENUS_ADMIN_USE_COLLAPSEDINLINEPANEL setting to toggle collapsedinlinepanel usage for wagtailmenus - Move panel logic to panels.py where possible - Split the edit interface for menus into a tabbed interface, with Content and Settings tabs - Like pages, support separate 'content_panels' and 'settings_...
575,403
16.10.2017 18:39:37
-3,600
7be303aa3ded5d039abd6ad6310b6ee861877249
Ditch new setting and use condensedinlinepanel automatically if a sufficient version is installed
[ { "change_type": "MODIFY", "old_path": "setup.py", "new_path": "setup.py", "diff": "@@ -17,6 +17,7 @@ testing_extras = [\n'django-webtest>=1.8.0',\n'beautifulsoup4>=4.4.1,<4.5.02',\n'coverage>=3.7.0',\n+ 'wagtail-condensedinlinepanel==0.3',\n]\ndocumentation_extras = [\n" }, { "change_type":...
Python
MIT License
rkhleics/wagtailmenus
Ditch new setting and use condensedinlinepanel automatically if a sufficient version is installed
575,403
16.10.2017 22:26:49
-3,600
b0b9d674fe7108bb1ffe3e20bfb48a3466b19ad1
Increase coverage in views.py
[ { "change_type": "MODIFY", "old_path": "wagtailmenus/tests/test_custom_models.py", "new_path": "wagtailmenus/tests/test_custom_models.py", "diff": "@@ -242,6 +242,10 @@ class TestCustomMenuModels(TestCase):\nCustomMainMenuItem\n)\n+ def test_main_menu_edit_works(self):\n+ response = self.client.get(...
Python
MIT License
rkhleics/wagtailmenus
Increase coverage in views.py
575,403
16.10.2017 22:48:18
-3,600
6071cce99586786a8303dbf2e69aa853ab69dcf9
Fix url for new test
[ { "change_type": "MODIFY", "old_path": "wagtailmenus/tests/test_custom_models.py", "new_path": "wagtailmenus/tests/test_custom_models.py", "diff": "@@ -243,7 +243,7 @@ class TestCustomMenuModels(TestCase):\n)\ndef test_main_menu_edit_works(self):\n- response = self.client.get('/admin/test/custommain...
Python
MIT License
rkhleics/wagtailmenus
Fix url for new test
575,403
16.10.2017 22:50:55
-3,600
fa244210d1c583df0b2071489ac7e3fe848260a0
Restore the WAGTAILMENUS_ADMIN_USE_CONDENSEDINLINEPANEL setting for toggling the behaviour
[ { "change_type": "MODIFY", "old_path": "wagtailmenus/app_settings.py", "new_path": "wagtailmenus/app_settings.py", "diff": "@@ -80,6 +80,10 @@ class AppSettings(object):\ndef FLATMENU_MENU_ICON(self):\nreturn self._setting('FLATMENU_MENU_ICON', 'list-ol')\n+ @property\n+ def ADMIN_USE_CONDENSEDINLIN...
Python
MIT License
rkhleics/wagtailmenus
Restore the WAGTAILMENUS_ADMIN_USE_CONDENSEDINLINEPANEL setting for toggling the behaviour
575,403
16.10.2017 23:34:16
-3,600
92bf060092784cc8055669cb397240e2b54f2115
'test_main_menu_edit_works' test seems not to be loading with the custom menu model active, so ditching in favour of doing some monkeypatching in another test
[ { "change_type": "MODIFY", "old_path": "wagtailmenus/tests/test_backend.py", "new_path": "wagtailmenus/tests/test_backend.py", "diff": "@@ -7,8 +7,9 @@ from django.contrib.contenttypes.models import ContentType\nfrom django.test import TransactionTestCase, override_settings, modify_settings\nfrom dj...
Python
MIT License
rkhleics/wagtailmenus
'test_main_menu_edit_works' test seems not to be loading with the custom menu model active, so ditching in favour of doing some monkeypatching in another test
575,403
21.10.2017 21:44:35
-3,600
36d80f2043c9f935225c9406a244416062d8489f
Now that we're testing the result of FlatMenuItemsInlinePanel and MainMenuItemsInlinePanel instead of the values of flat_menu_content_panels and main_menu_content_panels, the SimpleLazyObject isn't needed, so removing. For consisitency/simplicity, just use standard dict definition syntax in _define_inlinepanel Update d...
[ { "change_type": "MODIFY", "old_path": "wagtailmenus/panels.py", "new_path": "wagtailmenus/panels.py", "diff": "@@ -2,7 +2,6 @@ from __future__ import absolute_import, unicode_literals\nfrom distutils.version import LooseVersion\nfrom django.conf import settings\n-from django.utils.functional import...
Python
MIT License
rkhleics/wagtailmenus
- Now that we're testing the result of FlatMenuItemsInlinePanel and MainMenuItemsInlinePanel instead of the values of flat_menu_content_panels and main_menu_content_panels, the SimpleLazyObject isn't needed, so removing. - For consisitency/simplicity, just use standard dict definition syntax in _define_inlinepanel - Up...
575,403
25.10.2017 10:01:50
-3,600
fa5dcce75cc5604441367a71eb7021653b2f0ecf
Update pypi list classifiers to indicate python / django version compatibility
[ { "change_type": "MODIFY", "old_path": "setup.py", "new_path": "setup.py", "diff": "@@ -47,7 +47,20 @@ setup(\n\"Framework :: Django\",\n\"Intended Audience :: Developers\",\n\"Operating System :: OS Independent\",\n- \"Programming Language :: Python\",\n+ 'Programming Language :: Python :: 2',\n+ '...
Python
MIT License
rkhleics/wagtailmenus
Update pypi list classifiers to indicate python / django version compatibility
575,403
25.10.2017 10:02:44
-3,600
1922386f016030205198422a5f13616a33369536
Remove duplicate list classifier
[ { "change_type": "MODIFY", "old_path": "setup.py", "new_path": "setup.py", "diff": "@@ -44,7 +44,6 @@ setup(\nzip_safe=False,\nclassifiers=[\n\"Environment :: Web Environment\",\n- \"Framework :: Django\",\n\"Intended Audience :: Developers\",\n\"Operating System :: OS Independent\",\n'Programming L...
Python
MIT License
rkhleics/wagtailmenus
Remove duplicate list classifier
575,403
27.10.2017 22:52:04
-3,600
bacdd8636b89b60e67ea4700398f026a9e80c745
prep for 2.5.1 release
[ { "change_type": "MODIFY", "old_path": "CHANGELOG.md", "new_path": "CHANGELOG.md", "diff": "@@ -5,6 +5,14 @@ Changelog\n---------------------------------\n+2.5.1 (27.10.2017)\n+------------------\n+\n+* Fixed a bug that was causing Django to create new migrations for wagtailmenus\n+ after changing D...
Python
MIT License
rkhleics/wagtailmenus
prep for 2.5.1 release
575,403
14.11.2017 17:07:59
0
2a7b404ef43de7d14942030f8eaf77c2c6e48be9
Add setting to allow condensedinlinepanel usage to be turned off for wagtailmenus if needed (for example, if it's not handling certain types of custom fields properly) Remove testing of version - we'll state clearly in the docs/release notes that condensedinlinepanel must be 0.3 or later
[ { "change_type": "MODIFY", "old_path": "wagtailmenus/app_settings.py", "new_path": "wagtailmenus/app_settings.py", "diff": "@@ -80,6 +80,10 @@ class AppSettings(object):\ndef FLATMENU_MENU_ICON(self):\nreturn self._setting('FLATMENU_MENU_ICON', 'list-ol')\n+ @property\n+ def USE_CONDENSEDINLINEPANEL...
Python
MIT License
rkhleics/wagtailmenus
- Add setting to allow condensedinlinepanel usage to be turned off for wagtailmenus if needed (for example, if it's not handling certain types of custom fields properly) - Remove testing of version - we'll state clearly in the docs/release notes that condensedinlinepanel must be 0.3 or later
575,403
14.11.2017 21:39:29
0
5c431a74d3f6204d3cc05b99a04cda0c759b1145
Added installation instructions for wagtail-condensedinlinepanel to installation instructions in docs Updated custom MainMenu and FlatMenu examples in docs to mention/use 'content_panels' and 'settings_panels' instead of 'panels'
[ { "change_type": "MODIFY", "old_path": "docs/source/advanced_topics/custom_menu_classes.rst", "new_path": "docs/source/advanced_topics/custom_menu_classes.rst", "diff": "@@ -111,6 +111,7 @@ If you also need to override the ``MainMenu`` model, that's possible too. But, b\nfrom django.db import models...
Python
MIT License
rkhleics/wagtailmenus
- Added installation instructions for wagtail-condensedinlinepanel to installation instructions in docs - Updated custom MainMenu and FlatMenu examples in docs to mention/use 'content_panels' and 'settings_panels' instead of 'panels'
575,403
19.11.2017 13:37:25
0
194f6870448c3ca0aee89b455823c633166d3bd9
Restore the version checking that was in place. This will ensure that things don't break if an earlier version of wagtailmenus is installed
[ { "change_type": "MODIFY", "old_path": "wagtailmenus/panels.py", "new_path": "wagtailmenus/panels.py", "diff": "from __future__ import absolute_import, unicode_literals\n+from distutils.version import LooseVersion\nfrom django.conf import settings\nfrom django.utils.translation import ugettext_lazy ...
Python
MIT License
rkhleics/wagtailmenus
Restore the version checking that was in place. This will ensure that things don't break if an earlier version of wagtailmenus is installed
575,403
19.11.2017 14:03:07
0
d5a3f8d9c49a25dcfde1c942788d554e034955b6
Add a temporary padding fix until wagtailcondensedinlinepanel 0.4 is released
[ { "change_type": "MODIFY", "old_path": "wagtailmenus/static/wagtailmenus/css/menu-edit.css", "new_path": "wagtailmenus/static/wagtailmenus/css/menu-edit.css", "diff": "padding-right: 3.5%;\n}\n+.condensed-inline-panel__form {\n+ padding-right: 1.5em;\n+}\n+\n@media screen and (min-width: 50em) {\nla...
Python
MIT License
rkhleics/wagtailmenus
Add a temporary padding fix until wagtailcondensedinlinepanel 0.4 is released
575,403
19.11.2017 14:25:53
0
727dba1682586ffb8f89b4213d517b282097bfbf
Remove the deprecation warning around using 'panels' for panel configuration. We don't want to be prescriptive about how users define their UI for custom menu models
[ { "change_type": "MODIFY", "old_path": "wagtailmenus/views.py", "new_path": "wagtailmenus/views.py", "diff": "from __future__ import absolute_import, unicode_literals\n-import warnings\nfrom copy import copy\nfrom django import forms\n@@ -18,7 +17,6 @@ from wagtail.contrib.modeladmin.views import (\...
Python
MIT License
rkhleics/wagtailmenus
Remove the deprecation warning around using 'panels' for panel configuration. We don't want to be prescriptive about how users define their UI for custom menu models
575,403
19.11.2017 14:54:25
0
c98b34a7d04516631c6c951e455cf44af916d713
Update installation instructions to specify wagtail-condensedinlinepanel==0.3 as a minimum requirement Add 2.6.0 release notes
[ { "change_type": "MODIFY", "old_path": "docs/source/installation.rst", "new_path": "docs/source/installation.rst", "diff": "@@ -123,7 +123,7 @@ Installing wagtailmenus\nInstalling ``wagtail-condensedinlinepanel``\n===========================================\n-Although doing so is entirely optional, ...
Python
MIT License
rkhleics/wagtailmenus
- Update installation instructions to specify wagtail-condensedinlinepanel==0.3 as a minimum requirement - Add 2.6.0 release notes
575,403
19.11.2017 16:48:00
0
f15aae79209ec8783be56903d133be96d9ddb98b
Tweak release notes and add instructions for using MainMenuItemsInlinePanel and FlatMenuItemsInlinePanel
[ { "change_type": "MODIFY", "old_path": "docs/source/releases/2.6.0.rst", "new_path": "docs/source/releases/2.6.0.rst", "diff": "@@ -14,11 +14,11 @@ What's new?\nNew tabbed interface for menu editing\n-------------------------------------\n-In an effort to improve the menu editing UI, Wagtail's tabbe...
Python
MIT License
rkhleics/wagtailmenus
Tweak release notes and add instructions for using MainMenuItemsInlinePanel and FlatMenuItemsInlinePanel
575,403
02.12.2017 23:18:22
0
5d257853f48ac1e9d76a576b2a20e7be05acb404
Make template engine neutrality changes backwards-compatible
[ { "change_type": "MODIFY", "old_path": "wagtailmenus/app_settings.py", "new_path": "wagtailmenus/app_settings.py", "diff": "@@ -204,6 +204,11 @@ class AppSettings(object):\ndef SECTION_MENU_CLASS(self):\nreturn self.class_from_path_setting('SECTION_MENU_CLASS_PATH')\n+ # TODO: To be removed in v2.8....
Python
MIT License
rkhleics/wagtailmenus
Make template engine neutrality changes backwards-compatible
575,403
03.12.2017 01:02:09
0
fcafb318132059045f93e383b61ef7e9ef0ac41f
Don't define a new global variable
[ { "change_type": "MODIFY", "old_path": "wagtailmenus/models/menus.py", "new_path": "wagtailmenus/models/menus.py", "diff": "@@ -49,8 +49,7 @@ OptionVals = namedtuple('OptionVals', (\n))\n# TODO: To be removed in v.2.8.0\n-USE_BACKEND_SPECIFIC_TEMPLATES = app_settings.USE_BACKEND_SPECIFIC_TEMPLATES\n...
Python
MIT License
rkhleics/wagtailmenus
Don't define a new global variable
575,403
03.12.2017 20:25:15
0
efd7444b3998e68d558512a13238f0f173ed6429
Tweak deprecation warning text and add 2nd test case to test_menu_rendering.py, which runs the same exact set of tests with WAGTAILMENUS_USE_BACKEND_SPECIFIC_TEMPLATES settting set to True
[ { "change_type": "MODIFY", "old_path": "wagtailmenus/models/menus.py", "new_path": "wagtailmenus/models/menus.py", "diff": "@@ -48,18 +48,21 @@ OptionVals = namedtuple('OptionVals', (\n'handle', 'template_name', 'sub_menu_template_name', 'extra'\n))\n+\n# TODO: To be removed in v.2.8.0\n-if not app_...
Python
MIT License
rkhleics/wagtailmenus
Tweak deprecation warning text and add 2nd test case to test_menu_rendering.py, which runs the same exact set of tests with WAGTAILMENUS_USE_BACKEND_SPECIFIC_TEMPLATES settting set to True
575,403
09.12.2017 13:44:50
0
0bcd8b42c815a6f4c4eb04622924a081558e84ca
Update warning text Link to release notes in docs instead of on github Ditch conditional warning on get_template_engine. If it's deprecated, it's deprectated
[ { "change_type": "MODIFY", "old_path": "wagtailmenus/models/menus.py", "new_path": "wagtailmenus/models/menus.py", "diff": "@@ -53,13 +53,11 @@ OptionVals = namedtuple('OptionVals', (\nTEMPLATES_WARNING = (\n\"Wagtailmenus currently uses django.template.Template instances for \"\n\"rendering by defa...
Python
MIT License
rkhleics/wagtailmenus
- Update warning text - Link to release notes in docs instead of on github - Ditch conditional warning on get_template_engine. If it's deprecated, it's deprectated
575,403
09.12.2017 16:06:01
0
d0c96df1b1b2b48d1dc4eefd010e68baa736ae24
Cycle deprecation warnings and fix any places where RemovedInWagtailMenus26Warning was being used
[ { "change_type": "MODIFY", "old_path": "docs/source/releases/2.6.0.rst", "new_path": "docs/source/releases/2.6.0.rst", "diff": "@@ -120,4 +120,6 @@ If you're overriding the ``panels`` attribute on a custom menu model in order to\nUpgrade considerations\n======================\n-N/A\n+- Following the...
Python
MIT License
rkhleics/wagtailmenus
Cycle deprecation warnings and fix any places where RemovedInWagtailMenus26Warning was being used
575,403
09.12.2017 16:15:55
0
029e52bb7d687d0a6536379df95400fcae4d0325
Add missing release notes from other branches
[ { "change_type": "ADD", "old_path": null, "new_path": "docs/source/releases/2.4.1.rst", "diff": "+================================\n+Wagtailmenus 2.4.1 release notes\n+================================\n+\n+This is a maintenence release to add a migration that should have been included in the previou...
Python
MIT License
rkhleics/wagtailmenus
Add missing release notes from other branches
575,403
09.12.2017 16:18:19
0
2b68376fa5aabf572882a61b6f2f825f5902d634
In-development release notes should use 'alpha' release number
[ { "change_type": "RENAME", "old_path": "docs/source/releases/2.6.0.rst", "new_path": "docs/source/releases/2.6.0a.rst", "diff": "=================================\n-Wagtailmenus 2.6.0 release notes\n+Wagtailmenus 2.6.0a release notes\n=================================\n.. contents::\n" }, { ...
Python
MIT License
rkhleics/wagtailmenus
In-development release notes should use 'alpha' release number
575,403
09.12.2017 16:45:00
0
4a3354d463af5dd395a118ea8f643a4e8306bfcb
Updated travis.yml to test compatibility with Wagtail 1.13 Update references to compatibility in README and docs index page Added note to CHANGELOG and 2.6 release notes
[ { "change_type": "MODIFY", "old_path": ".travis.yml", "new_path": ".travis.yml", "diff": "@@ -25,6 +25,8 @@ matrix:\npython: 3.6\n- env: TOXENV=py36-dj111-wt112\npython: 3.6\n+ - env: TOXENV=py36-dj111-wt113\n+ python: 3.6\ninstall:\n- pip install tox codecov\n" }, { "change_type": "MODIFY",...
Python
MIT License
rkhleics/wagtailmenus
- Updated travis.yml to test compatibility with Wagtail 1.13 - Update references to compatibility in README and docs index page - Added note to CHANGELOG and 2.6 release notes
575,403
18.12.2017 12:47:04
0
330a0b4041f1e29e7534425cf8011139788bb6e9
Designate 2.6 as LTS release and announce dropping of Python 2 support in coming releases
[ { "change_type": "MODIFY", "old_path": "docs/source/releases/2.6.0a.rst", "new_path": "docs/source/releases/2.6.0a.rst", "diff": "@@ -7,6 +7,15 @@ Wagtailmenus 2.6.0a release notes\n:depth: 1\n+.. NOTE ::\n+\n+ Wagtailmenus 2.6 is designated a Long Term Support (LTS) release. Long Term Support relea...
Python
MIT License
rkhleics/wagtailmenus
Designate 2.6 as LTS release and announce dropping of Python 2 support in coming releases
575,403
18.12.2017 12:56:09
0
bf7a271a817a3f99af27dcedb507c4d1ab0f6214
Announce dropping of support for Wagtail 1.5 to 1.9
[ { "change_type": "MODIFY", "old_path": "docs/source/releases/2.6.0a.rst", "new_path": "docs/source/releases/2.6.0a.rst", "diff": "@@ -15,6 +15,10 @@ Wagtailmenus 2.6.0a release notes\nWagtailmenus 2.6 will be the last LTS release to support Python 2.\n+.. NOTE ::\n+\n+ Wagtailmenus 2.6 will be the l...
Python
MIT License
rkhleics/wagtailmenus
Announce dropping of support for Wagtail 1.5 to 1.9
575,403
22.12.2017 20:13:39
0
17c6b47824fcaa1b4fdb04bd76021eab14d9cabb
Update 2.6.0a.rst Announce future dropping of Python 3.3 support too
[ { "change_type": "MODIFY", "old_path": "docs/source/releases/2.6.0a.rst", "new_path": "docs/source/releases/2.6.0a.rst", "diff": "@@ -13,7 +13,7 @@ Wagtailmenus 2.6.0a release notes\n.. NOTE ::\n- Wagtailmenus 2.6 will be the last LTS release to support Python 2.\n+ Wagtailmenus 2.6 will be the last...
Python
MIT License
rkhleics/wagtailmenus
Update 2.6.0a.rst Announce future dropping of Python 3.3 support too
575,403
22.12.2017 21:06:47
0
e6631842de47a8406535654a5c2fadc859fbc903
Bumped version and updated changelog / release notes
[ { "change_type": "MODIFY", "old_path": "CHANGELOG.md", "new_path": "CHANGELOG.md", "diff": "Changelog\n=========\n-2.6.0 (XX.XX.XXXX) IN DEVELOPMENT\n+2.X.X (XX.XX.XXXX) IN DEVELOPMENT\n---------------------------------\n+\n+2.6.0 (22.12.2017)\n+------------------\n+\n* Improve compatibility with al...
Python
MIT License
rkhleics/wagtailmenus
Bumped version and updated changelog / release notes
575,403
30.12.2017 17:25:05
0
a103915aa52a896c2eb95793664bdf841806bee1
Update version to 2.7.0a Add alpha release notes template Add empty release notes for 2.7a using the new template
[ { "change_type": "MODIFY", "old_path": "CHANGELOG.md", "new_path": "CHANGELOG.md", "diff": "Changelog\n=========\n-2.X.X (XX.XX.XXXX) IN DEVELOPMENT\n----------------------------------\n+2.7.0a (XX.XX.XXXX) IN DEVELOPMENT\n+----------------------------------\n+\n+TBA\n2.6.0 (22.12.2017)\n" }, { ...
Python
MIT License
rkhleics/wagtailmenus
- Update version to 2.7.0a - Add alpha release notes template - Add empty release notes for 2.7a using the new template
575,403
31.12.2017 00:28:33
0
432b0df593705a0dd21e7641f97077d72ca40b39
Cycle deprecation warnings for v2.7 Remove all behaviour, classes and methods pending deprecation, and any tests relating to them Document all of the removals in the v2.7.0a release notes
[ { "change_type": "MODIFY", "old_path": "docs/source/releases/2.7.0a.rst", "new_path": "docs/source/releases/2.7.0a.rst", "diff": "@@ -34,4 +34,22 @@ TBA\nUpgrade considerations\n======================\n-TBA\n+Following the standard deprecation period, the following classes, methods and\n+behaviour h...
Python
MIT License
rkhleics/wagtailmenus
- Cycle deprecation warnings for v2.7 - Remove all behaviour, classes and methods pending deprecation, and any tests relating to them - Document all of the removals in the v2.7.0a release notes
575,403
31.12.2017 00:33:38
0
38051ac3e9a32988c8414a33ed933d637af2102b
Add a new test to confirm that a SubMenuUsageError is raised when the sub_menu tag is used directly in a non menu template
[ { "change_type": "MODIFY", "old_path": "wagtailmenus/templatetags/menu_tags.py", "new_path": "wagtailmenus/templatetags/menu_tags.py", "diff": "from __future__ import unicode_literals\n-import warnings\nfrom django.template import Library\nfrom wagtail.wagtailcore.models import Page\nfrom wagtailmen...
Python
MIT License
rkhleics/wagtailmenus
Add a new test to confirm that a SubMenuUsageError is raised when the sub_menu tag is used directly in a non menu template
575,403
08.01.2018 09:22:17
0
cf69adc7fbdf68bb1ec4c661a70f8ff54a16c8d9
Added compatibility related change details to release notes Bring changelog up to date
[ { "change_type": "MODIFY", "old_path": "CHANGELOG.md", "new_path": "CHANGELOG.md", "diff": "@@ -4,7 +4,26 @@ Changelog\n2.7.0a (XX.XX.XXXX) IN DEVELOPMENT\n----------------------------------\n-TBA\n+* Dropped support for Python 2 and 3.3.\n+* Dropped support for Wagtail 1.9 and below.\n+* Dropped su...
Python
MIT License
rkhleics/wagtailmenus
- Added compatibility related change details to release notes - Bring changelog up to date
575,403
23.01.2018 21:21:12
0
04ac55a0f848ab01c9ef160e7445d28f87bbc1c6
Update hooks.rst Fix incorrect hook name usage in `menus_modify_raw_menu_items` hook example
[ { "change_type": "MODIFY", "old_path": "docs/source/advanced_topics/hooks.rst", "new_path": "docs/source/advanced_topics/hooks.rst", "diff": "@@ -195,7 +195,7 @@ This hook allows you to modify the list **before** it is 'primed' (a process tha\nfrom wagtail.wagtailcore import hooks\n- @hooks.register...
Python
MIT License
rkhleics/wagtailmenus
Update hooks.rst Fix incorrect hook name usage in `menus_modify_raw_menu_items` hook example
575,403
03.02.2018 19:46:06
0
a01906fc4b26f86c2c85675c2473aecd54ece713
Settings updates Use the wagtail version to add the correctly named wagtail apps to INSTALLED_APPS and middleware classes to MIDDLEWARE_CLASSES Remove 'django.contrib.auth.middleware.SessionAuthenticationMiddleware' from MIDDLEWARE_CLASSES Ensure the MIDDLEWARE setting is set for django >= 2
[ { "change_type": "MODIFY", "old_path": "wagtailmenus/settings/base.py", "new_path": "wagtailmenus/settings/base.py", "diff": "import os\n+from django import VERSION as DJANGO_VERSION\nfrom django.conf.global_settings import * # NOQA\n+from wagtail import VERSION as WAGTAIL_VERSION\nDEBUG = True\nSIT...
Python
MIT License
rkhleics/wagtailmenus
Settings updates - Use the wagtail version to add the correctly named wagtail apps to INSTALLED_APPS and middleware classes to MIDDLEWARE_CLASSES - Remove 'django.contrib.auth.middleware.SessionAuthenticationMiddleware' from MIDDLEWARE_CLASSES - Ensure the MIDDLEWARE setting is set for django >= 2
575,403
03.02.2018 22:04:18
0
c81457819703fc72749b7602719005cd6091a4a3
Remove unnecessary line from STATICFILES_FINDERS setting
[ { "change_type": "MODIFY", "old_path": "wagtailmenus/settings/base.py", "new_path": "wagtailmenus/settings/base.py", "diff": "@@ -122,7 +122,6 @@ if DJANGO_VERSION >= (2, 0):\nSTATICFILES_FINDERS = (\n'django.contrib.staticfiles.finders.FileSystemFinder',\n'django.contrib.staticfiles.finders.AppDire...
Python
MIT License
rkhleics/wagtailmenus
Remove unnecessary line from STATICFILES_FINDERS setting
575,403
03.02.2018 22:14:23
0
9f08ddd656f49c34c818d27d286f64b3a0e99bec
Test fixes Comment out the test that installs condensedinlinepanel to test integration (there isn't a wagtail 2.0 compatible version yet) Fix a test that created a Site referencing a page that does not exist in Wagtail 2.0's fixture
[ { "change_type": "MODIFY", "old_path": "wagtailmenus/tests/test_backend.py", "new_path": "wagtailmenus/tests/test_backend.py", "diff": "@@ -191,22 +191,9 @@ class TestSuperUser(TransactionTestCase):\nmenu_model.edit_handler = ObjectList(menu_model.content_panels)\nresponse = self.client.get('/admin/...
Python
MIT License
rkhleics/wagtailmenus
Test fixes - Comment out the test that installs condensedinlinepanel to test integration (there isn't a wagtail 2.0 compatible version yet) - Fix a test that created a Site referencing a page that does not exist in Wagtail 2.0's fixture
575,403
03.02.2018 22:15:24
0
024912f36ace38c95688d823bfb1620788c573ba
Remove unused stuff from tox.ini and set wt2 to the beta version for testing against
[ { "change_type": "MODIFY", "old_path": ".travis.yml", "new_path": ".travis.yml", "diff": "@@ -17,6 +17,10 @@ matrix:\npython: 3.6\n- env: TOXENV=py36-dj111-wt113\npython: 3.6\n+ - env: TOXENV=py36-dj111-wt2\n+ python: 3.6\n+ - env: TOXENV=py36-dj2-wt2\n+ python: 3.6\ninstall:\n- pip install tox code...
Python
MIT License
rkhleics/wagtailmenus
Remove unused stuff from tox.ini and set wt2 to the beta version for testing against
575,403
20.02.2018 22:27:18
0
d843a0f21fd51cda5e1cde1ab67657a036704482
Drop env tests for anything less the Wagtail 1.10 or Django 1.10
[ { "change_type": "MODIFY", "old_path": ".travis.yml", "new_path": ".travis.yml", "diff": "@@ -5,14 +5,10 @@ sudo: required\nmatrix:\ninclude:\n- - env: TOXENV=py34-dj18-wt110\n+ - env: TOXENV=py36-dj110-wt110\npython: 3.4\n- - env: TOXENV=py35-dj18-wt110\n+ - env: TOXENV=py36-dj10-wt111\npython: 3.5...
Python
MIT License
rkhleics/wagtailmenus
Drop env tests for anything less the Wagtail 1.10 or Django 1.10
575,403
20.02.2018 22:29:12
0
c4a52ead2554402e59b5355812e4f876f7ee715f
Update release notes Update support declarations in README and in docs Remove Django 1.8 and 1.9 classifiers from setup.py
[ { "change_type": "MODIFY", "old_path": "CHANGELOG.md", "new_path": "CHANGELOG.md", "diff": "@@ -4,7 +4,9 @@ Changelog\n2.7.0a (XX.XX.XXXX) IN DEVELOPMENT\n----------------------------------\n-TBA\n+* Added support for Wagtail 2.0 and Django 2.0\n+* Dropped support for Wagtail versions 1.8 to 1.9\n+*...
Python
MIT License
rkhleics/wagtailmenus
- Update release notes - Update support declarations in README and in docs - Remove Django 1.8 and 1.9 classifiers from setup.py
575,403
20.02.2018 22:36:01
0
35c8f8b269619a5b6b3608bcd4233055899efb44
Use correct python versions in travis env specifiers
[ { "change_type": "MODIFY", "old_path": ".travis.yml", "new_path": ".travis.yml", "diff": "@@ -5,9 +5,9 @@ sudo: required\nmatrix:\ninclude:\n- - env: TOXENV=py36-dj110-wt110\n+ - env: TOXENV=py34-dj110-wt110\npython: 3.4\n- - env: TOXENV=py36-dj10-wt111\n+ - env: TOXENV=py35-dj10-wt111\npython: 3.5\...
Python
MIT License
rkhleics/wagtailmenus
Use correct python versions in travis env specifiers
575,403
20.02.2018 23:00:43
0
875edac4215c469c40f50fc78f7b5d08fee5d7eb
Add note to installation docs about wagtail-condensedinlinepanel not being Django 2 compatible just yet
[ { "change_type": "MODIFY", "old_path": "docs/source/installation.rst", "new_path": "docs/source/installation.rst", "diff": "@@ -123,7 +123,10 @@ Installing wagtailmenus\nInstalling ``wagtail-condensedinlinepanel``\n===========================================\n-Although doing so is entirely optional,...
Python
MIT License
rkhleics/wagtailmenus
Add note to installation docs about wagtail-condensedinlinepanel not being Django 2 compatible just yet
575,411
26.02.2018 15:59:53
-3,600
62abeabc3463327737f6981e221b5170163fa6e9
Keep the 'handle' field label when switching to ChoiceField
[ { "change_type": "MODIFY", "old_path": "wagtailmenus/forms.py", "new_path": "wagtailmenus/forms.py", "diff": "@@ -14,7 +14,9 @@ class FlatMenuAdminForm(WagtailAdminModelForm):\nsuper().__init__(*args, **kwargs)\nif app_settings.FLAT_MENUS_HANDLE_CHOICES:\nself.fields['handle'] = forms.ChoiceField(\n...
Python
MIT License
rkhleics/wagtailmenus
Keep the 'handle' field label when switching to ChoiceField
575,403
01.03.2018 18:17:35
0
ee1e29f642f58f8a435bba09aa2a91cc776baf45
Remove alpha notice from release notes
[ { "change_type": "MODIFY", "old_path": "docs/source/releases/2.7.0.rst", "new_path": "docs/source/releases/2.7.0.rst", "diff": "-======================================\n-Wagtailmenus 2.7 (alpha) release notes\n-======================================\n-\n-.. NOTE ::\n-\n- Wagtailmenus 2.7 is in the a...
Python
MIT License
rkhleics/wagtailmenus
Remove alpha notice from release notes
575,403
05.03.2018 22:15:23
0
f0ab2d593b587b2c4aa290057b268a32e703c659
Update index.rst Added a 'migrate' step to the local development instructions, and a note about using Travis CI for running multi-environment tests.
[ { "change_type": "MODIFY", "old_path": "docs/source/contributing/index.rst", "new_path": "docs/source/contributing/index.rst", "diff": "@@ -78,25 +78,31 @@ If you'd like a runnable Django project to help with development of wagtailmenus\ncp manage.py.example manage.py\n-5. To load some test data int...
Python
MIT License
rkhleics/wagtailmenus
Update index.rst Added a 'migrate' step to the local development instructions, and a note about using Travis CI for running multi-environment tests.
575,403
05.03.2018 22:20:13
0
41a41c15daf4dcb8743a0399d729d9dfb08805d1
Update index.rst Minor rewording of Travis CI integration instructions
[ { "change_type": "MODIFY", "old_path": "docs/source/contributing/index.rst", "new_path": "docs/source/contributing/index.rst", "diff": "@@ -133,7 +133,7 @@ Testing in a single environment is a quick and easy way to identify obvious issu\ntox\n-You might find it easier to set up a Travis CI service i...
Python
MIT License
rkhleics/wagtailmenus
Update index.rst Minor rewording of Travis CI integration instructions
575,403
05.03.2018 22:35:50
0
f97f595ca1399752f3cfe47fca7a36efd3497b56
Add empty release notes for 2.8.0 and rename template to use the '.template' extension
[ { "change_type": "ADD", "old_path": null, "new_path": "docs/source/releases/2.8.0.rst", "diff": "+======================================\n+Wagtailmenus 2.8 (alpha) release notes\n+======================================\n+\n+.. NOTE ::\n+\n+ Wagtailmenus 2.8 is in the alpha stage of development. Any ...
Python
MIT License
rkhleics/wagtailmenus
Add empty release notes for 2.8.0 and rename template to use the '.template' extension
575,403
05.03.2018 22:49:55
0
78363620ef072f08e320c196c4cc96d4e066d6c2
Update README.rst Added badge for documentation build status
[ { "change_type": "MODIFY", "old_path": "README.rst", "new_path": "README.rst", "diff": ":alt: Code coverage\n:target: https://codecov.io/gh/rkhleics/wagtailmenus\n+.. image:: https://readthedocs.org/projects/wagtailmenus/badge/?version=stable\n+ :alt: Documentation Status\n+ :target: http://wagtailm...
Python
MIT License
rkhleics/wagtailmenus
Update README.rst Added badge for documentation build status
575,416
05.03.2018 15:02:38
28,800
5b9c3bc504bf0fc565d70172c95405d76657860f
Implement `CUSTOM_URL_SMART_ACTIVE_CLASSES` setting for ancestor highlighting of custom links Also strips out url params and hash fragments for active class checking
[ { "change_type": "MODIFY", "old_path": "wagtailmenus/app_settings.py", "new_path": "wagtailmenus/app_settings.py", "diff": "@@ -204,6 +204,10 @@ class AppSettings:\ndef SECTION_MENU_CLASS(self):\nreturn self.class_from_path_setting('SECTION_MENU_CLASS_PATH')\n+ @property\n+ def CUSTOM_URL_SMART_ACTI...
Python
MIT License
rkhleics/wagtailmenus
Implement `CUSTOM_URL_SMART_ACTIVE_CLASSES` setting for ancestor highlighting of custom links - Also strips out url params and hash fragments for active class checking
575,403
05.03.2018 23:25:35
0
351186d79be6bb77de3448daadfbfc3999163ebc
Update packaging_releases.rst Updated step 6 to use `find` with the `execdir` option to compile all .po's in a single line
[ { "change_type": "MODIFY", "old_path": "docs/source/contributing/packaging_releases.rst", "new_path": "docs/source/contributing/packaging_releases.rst", "diff": "@@ -108,11 +108,11 @@ When satisfied with the PR for prepping the files:\nrm -r wagtailmenus/locale/en_GB/\ngit add *.po\n-6. For each lan...
Python
MIT License
rkhleics/wagtailmenus
Update packaging_releases.rst Updated step 6 to use `find` with the `execdir` option to compile all .po's in a single line
575,403
05.03.2018 23:33:19
0
74e0fce217c4797f49ad17a6d921ee4107b37b26
Update packaging_releases.rst Fix typo
[ { "change_type": "MODIFY", "old_path": "docs/source/contributing/packaging_releases.rst", "new_path": "docs/source/contributing/packaging_releases.rst", "diff": "@@ -112,7 +112,7 @@ When satisfied with the PR for prepping the files:\n.. code-block:: console\n- find . -name *.po -execdir msgfmt djang...
Python
MIT License
rkhleics/wagtailmenus
Update packaging_releases.rst Fix typo