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,416 | 05.03.2018 17:00:45 | 28,800 | e5564fe181e1fc2d4761864b6be1eab3e94508d8 | Add development markup and tests | [
{
"change_type": "MODIFY",
"old_path": "wagtailmenus/settings/base.py",
"new_path": "wagtailmenus/settings/base.py",
"diff": "@@ -128,4 +128,5 @@ WAGTAILMENUS_FLAT_MENUS_HANDLE_CHOICES = (\n('contact', 'contact'),\n('footer', 'footer'),\n('header-secondary', 'header-secondary'),\n+ ('custom-links', ... | Python | MIT License | rkhleics/wagtailmenus | Add development markup and tests |
575,403 | 06.03.2018 10:39:51 | 0 | cc560010a8cb02e214742f09fe17c8a5cbe354ad | Update CHANGELOG
Add 2.7.1 release notes
Bump version | [
{
"change_type": "MODIFY",
"old_path": "CHANGELOG.md",
"new_path": "CHANGELOG.md",
"diff": "@@ -7,6 +7,16 @@ Changelog\nTBA\n+2.7.1 (07.03.2018)\n+------------------\n+\n+* Fixed a bug in MenuTabbedInterfaceMixin preventing `content_panels` and `settings_panels` being picked up in the editing UI whe... | Python | MIT License | rkhleics/wagtailmenus | - Update CHANGELOG
- Add 2.7.1 release notes
- Bump version |
575,416 | 06.03.2018 10:46:16 | 28,800 | 34615db9c08a595ded82246fc1c3b1b727a73a4c | Add styling for `active` and `ancestor` classes for easier development | [
{
"change_type": "MODIFY",
"old_path": "wagtailmenus/tests/templates/base.html",
"new_path": "wagtailmenus/tests/templates/base.html",
"diff": "<meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge,chrome=1\"/>\n<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\"/>\n<title>Wag... | Python | MIT License | rkhleics/wagtailmenus | Add styling for `active` and `ancestor` classes for easier development |
575,416 | 06.03.2018 10:46:43 | 28,800 | 4cd3a796feb701dfee7c9a8587e25485b156c196 | Readable logic for netloc | [
{
"change_type": "MODIFY",
"old_path": "wagtailmenus/models/menuitems.py",
"new_path": "wagtailmenus/models/menuitems.py",
"diff": "@@ -134,9 +134,10 @@ class AbstractMenuItem(models.Model, MenuItem):\nif app_settings.CUSTOM_URL_SMART_ACTIVE_CLASSES:\n# new behaviour\nparsed_url = urlparse(self.link... | Python | MIT License | rkhleics/wagtailmenus | Readable logic for netloc |
575,416 | 06.03.2018 11:20:26 | 28,800 | 9e905bb8b745cd1dccd9c06257fd898d6abf6a7e | Add documentation for `CUSTOM_URL_SMART_ACTIVE_CLASSES` | [
{
"change_type": "MODIFY",
"old_path": "docs/source/rendering_menus/template_tag_reference.rst",
"new_path": "docs/source/rendering_menus/template_tag_reference.rst",
"diff": "@@ -96,6 +96,8 @@ The tag will attempt to add 'active' and 'ancestor' CSS classes to the menu item\nYou can change the CSS c... | Python | MIT License | rkhleics/wagtailmenus | Add documentation for `CUSTOM_URL_SMART_ACTIVE_CLASSES` |
575,416 | 06.03.2018 13:28:25 | 28,800 | 1f78a76065d1435237424363668787a3e5e754a6 | Remove custom_link info from section_menu docs | [
{
"change_type": "MODIFY",
"old_path": "docs/source/rendering_menus/template_tag_reference.rst",
"new_path": "docs/source/rendering_menus/template_tag_reference.rst",
"diff": "@@ -433,8 +433,6 @@ The tag will add 'active' and 'ancestor' classes to the menu items where applica\nYou can change the CSS... | Python | MIT License | rkhleics/wagtailmenus | Remove custom_link info from section_menu docs |
575,416 | 06.03.2018 13:28:50 | 28,800 | f3f63a10b4f130705f9ee9a544b933742c0b842e | Limit CSS highlighting to direct descendants | [
{
"change_type": "MODIFY",
"old_path": "wagtailmenus/tests/templates/base.html",
"new_path": "wagtailmenus/tests/templates/base.html",
"diff": "<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\"/>\n<title>Wagtailmenus Test</title>\n<style>\n- .active a {\n+ .active > a {\ncolo... | Python | MIT License | rkhleics/wagtailmenus | Limit CSS highlighting to direct descendants |
575,416 | 06.03.2018 13:31:32 | 28,800 | a50261b7227a08fd5a4d3a28684d26acb4891aa9 | Add test for main menu ancestor class max_levels=2 with custom_link | [
{
"change_type": "MODIFY",
"old_path": "wagtailmenus/models/menuitems.py",
"new_path": "wagtailmenus/models/menuitems.py",
"diff": "@@ -129,7 +129,7 @@ class AbstractMenuItem(models.Model, MenuItem):\ndef get_active_class_for_request(self, request=None):\n# Returns the 'active_class' for a custom li... | Python | MIT License | rkhleics/wagtailmenus | Add test for main menu ancestor class max_levels=2 with custom_link |
575,416 | 06.03.2018 13:39:02 | 28,800 | 71f5bfc525b22f58aebe02a962272ffaae896788 | Add tests for custom_url with url_append, but without query params in the request | [
{
"change_type": "MODIFY",
"old_path": "wagtailmenus/tests/test_menu_rendering.py",
"new_path": "wagtailmenus/tests/test_menu_rendering.py",
"diff": "@@ -1010,6 +1010,31 @@ class TestTemplateTags(TestCase):\n\"\"\"\nself.assertHTMLEqual(menu_html, expected_menu_html)\n+ response = self.client.get('/... | Python | MIT License | rkhleics/wagtailmenus | Add tests for custom_url with url_append, but without query params in the request |
575,416 | 06.03.2018 16:00:09 | 28,800 | 22f7781c3b726ec51ed8a31273b8e10a1006025c | Do not highlight custom 'home' menu item as ancestor for all pages | [
{
"change_type": "MODIFY",
"old_path": "wagtailmenus/models/menuitems.py",
"new_path": "wagtailmenus/models/menuitems.py",
"diff": "@@ -139,7 +139,10 @@ class AbstractMenuItem(models.Model, MenuItem):\npass\nelif request_path == parsed_url.path:\nactive_class = app_settings.ACTIVE_CLASS\n- elif requ... | Python | MIT License | rkhleics/wagtailmenus | Do not highlight custom 'home' menu item as ancestor for all pages |
575,416 | 06.03.2018 16:01:28 | 28,800 | 113f6e286c6b3ab13c5e1f26857fd981a90ab64d | Better documentation for WAGTAILMENUS_CUSTOM_URL_SMART_ACTIVE_CLASSES setting | [
{
"change_type": "MODIFY",
"old_path": "docs/source/settings_reference.rst",
"new_path": "docs/source/settings_reference.rst",
"diff": "@@ -335,4 +335,4 @@ Use this to specify the 'depth' value of a project's 'section root' pages. For m\nDefault value: ``False``\n-Set this to ``True`` if a ``custom_... | Python | MIT License | rkhleics/wagtailmenus | Better documentation for WAGTAILMENUS_CUSTOM_URL_SMART_ACTIVE_CLASSES setting |
575,416 | 06.03.2018 16:33:42 | 28,800 | 89f70c882f5171f89107840921da9514f156763c | Respond to requested changes from tidy up code/remove unneeded variables | [
{
"change_type": "MODIFY",
"old_path": "wagtailmenus/models/menuitems.py",
"new_path": "wagtailmenus/models/menuitems.py",
"diff": "@@ -129,26 +129,22 @@ class AbstractMenuItem(models.Model, MenuItem):\ndef get_active_class_for_request(self, request=None):\n# Returns the 'active_class' for a custom ... | Python | MIT License | rkhleics/wagtailmenus | Respond to requested changes from @ababic, tidy up code/remove unneeded variables |
575,416 | 07.03.2018 13:43:01 | 28,800 | 8f08a8e45520d3147c52c8abe44283ef05f2a5f3 | Respond to second round of requested changes - docs and cleanup | [
{
"change_type": "MODIFY",
"old_path": "docs/source/rendering_menus/template_tag_reference.rst",
"new_path": "docs/source/rendering_menus/template_tag_reference.rst",
"diff": "@@ -96,7 +96,7 @@ The tag will attempt to add 'active' and 'ancestor' CSS classes to the menu item\nYou can change the CSS c... | Python | MIT License | rkhleics/wagtailmenus | Respond to second round of @ababic requested changes - docs and cleanup |
575,416 | 07.03.2018 18:00:51 | 28,800 | dc25d33eded985e2da3a350d70fa4d8573c90b34 | Isolated Unit-testing for menu_items | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "wagtailmenus/tests/test_menu_items.py",
"diff": "+from django.test import TestCase, override_settings\n+from django.test.client import RequestFactory\n+\n+from wagtailmenus.models import AbstractMenuItem\n+from wagtailmenus import app_settings\n... | Python | MIT License | rkhleics/wagtailmenus | Isolated Unit-testing for menu_items |
575,403 | 08.03.2018 21:58:46 | 0 | 13d6c706d642edd861e34a7058cf660bedc38afd | bump version to 2.8.0a | [
{
"change_type": "MODIFY",
"old_path": "wagtailmenus/__init__.py",
"new_path": "wagtailmenus/__init__.py",
"diff": "@@ -2,7 +2,7 @@ from wagtailmenus.utils.version import get_version, get_stable_branch_name\n# major.minor.patch.release.number\n# release must be one of alpha, beta, rc, or final\n-VER... | Python | MIT License | rkhleics/wagtailmenus | bump version to 2.8.0a |
575,420 | 26.03.2018 23:59:52 | -7,200 | d2142d52063622558260b3c5a62c77030515e500 | Update overview.rst
beleive -> believe | [
{
"change_type": "MODIFY",
"old_path": "docs/source/overview.rst",
"new_path": "docs/source/overview.rst",
"diff": "@@ -31,7 +31,7 @@ You can also define additional values to be added to a page's URL, letting you j\nMulti-level menus generated from your existing page tree\n==========================... | Python | MIT License | rkhleics/wagtailmenus | Update overview.rst (#226)
beleive -> believe |
575,403 | 29.03.2018 15:23:24 | -3,600 | 00f3e6acd01f473ddfac688dd53d7bfc9b1730f7 | Update settings_reference.rst
Fix formatting of string default value | [
{
"change_type": "MODIFY",
"old_path": "docs/source/settings_reference.rst",
"new_path": "docs/source/settings_reference.rst",
"diff": "@@ -31,7 +31,7 @@ By default, wagtailmenus adds some additional styles to improve the readability\n``WAGTAILMENUS_FLATMENU_MENU_ICON``\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~... | Python | MIT License | rkhleics/wagtailmenus | Update settings_reference.rst
Fix formatting of string default value |
575,403 | 29.03.2018 18:39:46 | -3,600 | d567ba7ecc3442391314f9c03a82916a2d4e24d4 | Remove zh_TW for now, as there seem to be no translated strings in the .po | [
{
"change_type": "DELETE",
"old_path": "wagtailmenus/locale/zh_TW/LC_MESSAGES/django.mo",
"new_path": "wagtailmenus/locale/zh_TW/LC_MESSAGES/django.mo",
"diff": "Binary files a/wagtailmenus/locale/zh_TW/LC_MESSAGES/django.mo and /dev/null differ\n"
},
{
"change_type": "DELETE",
"old_path... | Python | MIT License | rkhleics/wagtailmenus | Remove zh_TW for now, as there seem to be no translated strings in the .po |
575,403 | 03.05.2018 09:26:50 | -3,600 | 9229ca0e6154a5767a53cdef5fa72a3d23556d69 | Move new documentation for the new settings to under the Admin / UI settings heading | [
{
"change_type": "MODIFY",
"old_path": "docs/source/settings_reference.rst",
"new_path": "docs/source/settings_reference.rst",
"diff": "@@ -67,6 +67,26 @@ Default value: ``'list-ol'``\nUse this to change the icon used to represent 'Main menus' in the Wagtail CMS.\n+.. _WAGTAILMENUS_MAIN_MENUS_EDITAB... | Python | MIT License | rkhleics/wagtailmenus | Move new documentation for the new settings to under the Admin / UI settings heading |
575,403 | 03.05.2018 10:01:58 | -3,600 | 04c693231ca85f4c572a10fd69ced74e9ed62ec9 | Pin an earlier version of django-webtest | [
{
"change_type": "MODIFY",
"old_path": "setup.py",
"new_path": "setup.py",
"diff": "@@ -14,7 +14,7 @@ branch_url = \"%stree/stable/%s\" % (base_url, stable_branch_name)\n# Testing dependencies\ntesting_extras = [\n- 'django-webtest>=1.8.0',\n+ 'django-webtest>=1.8.0,<1.9.3',\n'beautifulsoup4>=4.4.1,... | Python | MIT License | rkhleics/wagtailmenus | Pin an earlier version of django-webtest |
575,403 | 03.05.2018 10:09:00 | -3,600 | e487181c1075d6629375c488e0ccbf2df3d5e2fc | Pin exact versions of test dependencies for clarity | [
{
"change_type": "MODIFY",
"old_path": "setup.py",
"new_path": "setup.py",
"diff": "@@ -14,8 +14,8 @@ branch_url = \"%stree/stable/%s\" % (base_url, stable_branch_name)\n# Testing dependencies\ntesting_extras = [\n- 'django-webtest>=1.8.0,<1.9.3',\n- 'beautifulsoup4>=4.4.1,<4.5.02',\n+ 'django-webte... | Python | MIT License | rkhleics/wagtailmenus | Pin exact versions of test dependencies for clarity |
575,403 | 03.05.2018 10:14:05 | -3,600 | d2c71a3bd53b56d121af1c97c159ec33e1a8ffe0 | Fix too-short underline for WAGTAILMENUS_CUSTOM_URL_SMART_ACTIVE_CLASSES heading | [
{
"change_type": "MODIFY",
"old_path": "docs/source/settings_reference.rst",
"new_path": "docs/source/settings_reference.rst",
"diff": "@@ -352,7 +352,7 @@ Use this to specify the 'depth' value of a project's 'section root' pages. For m\n.. _CUSTOM_URL_SMART_ACTIVE_CLASSES:\n``WAGTAILMENUS_CUSTOM_UR... | Python | MIT License | rkhleics/wagtailmenus | Fix too-short underline for WAGTAILMENUS_CUSTOM_URL_SMART_ACTIVE_CLASSES heading |
575,403 | 03.05.2018 10:19:57 | -3,600 | 1a8d9fd0809eb1255d4f5020d915f01149b2d263 | Populate changelog and release notes with information about new settings | [
{
"change_type": "MODIFY",
"old_path": "CHANGELOG.md",
"new_path": "CHANGELOG.md",
"diff": "Changelog\n=========\n+\n2.X.X (XX.XX.XXXX) IN DEVELOPMENT\n----------------------------------\nTBA\n+2.9.0a (XX.XX.XXXX) IN DEVELOPMENT\n+----------------------------------\n+\n+* Added `WAGTAILMENUS_MAIN_ME... | Python | MIT License | rkhleics/wagtailmenus | Populate changelog and release notes with information about new settings |
575,403 | 06.05.2018 11:57:21 | -3,600 | 1bcb4b4da6e33a7f1f7a80b04df82c674b4b6fd2 | 'Pulled updated translations from Transifex and converted to .mo' | [
{
"change_type": "MODIFY",
"old_path": "wagtailmenus/locale/pt_BR/LC_MESSAGES/django.mo",
"new_path": "wagtailmenus/locale/pt_BR/LC_MESSAGES/django.mo",
"diff": "Binary files a/wagtailmenus/locale/pt_BR/LC_MESSAGES/django.mo and b/wagtailmenus/locale/pt_BR/LC_MESSAGES/django.mo differ\n"
},
{
... | Python | MIT License | rkhleics/wagtailmenus | 'Pulled updated translations from Transifex and converted to .mo' |
575,403 | 06.05.2018 12:24:06 | -3,600 | d3bc06955edf9033ed3893939c32b8714cdc75e7 | Update packaging release notes RE test pypi | [
{
"change_type": "MODIFY",
"old_path": "docs/source/contributing/packaging_releases.rst",
"new_path": "docs/source/contributing/packaging_releases.rst",
"diff": "@@ -137,12 +137,12 @@ When satisfied with the PR for prepping the files:\npython setup.py sdist\npython setup.py bdist_wheel --universal\n... | Python | MIT License | rkhleics/wagtailmenus | Update packaging release notes RE test pypi |
575,403 | 06.05.2018 12:29:41 | -3,600 | 70fc487900271a896df75330ff4d78590159c2ea | Correct release data in CHANGELOG | [
{
"change_type": "MODIFY",
"old_path": "CHANGELOG.md",
"new_path": "CHANGELOG.md",
"diff": "@@ -8,7 +8,7 @@ Changelog\nTBA\n-2.9.0 (04.05.2018)\n+2.9.0 (06.05.2018)\n------------------\n* Added `WAGTAILMENUS_MAIN_MENUS_EDITABLE_IN_WAGTAILADMIN` setting to the 'Main menu' menu item and underlying man... | Python | MIT License | rkhleics/wagtailmenus | Correct release data in CHANGELOG |
575,403 | 06.05.2018 12:36:36 | -3,600 | 870774c03480828f3665d625bcfdf1863a202aaf | Minor release notes typo fix | [
{
"change_type": "MODIFY",
"old_path": "docs/source/releases/2.9.0.rst",
"new_path": "docs/source/releases/2.9.0.rst",
"diff": "@@ -44,7 +44,7 @@ For example, if you had a template (e.g ``abc.html``) that you'd like to use for\n{% section_menu max_levels=3 sub_menu_templates=\"path/abc.html, path/le... | Python | MIT License | rkhleics/wagtailmenus | Minor release notes typo fix |
575,403 | 06.05.2018 12:38:32 | -3,600 | 52dc219b4286cd24371531dac23b083ec086ec13 | Heading format fix for release notes | [
{
"change_type": "MODIFY",
"old_path": "docs/source/releases/2.9.0.rst",
"new_path": "docs/source/releases/2.9.0.rst",
"diff": "@@ -50,7 +50,7 @@ See the updated documentation form more information:\nDisable 'Main menu' or 'Flat menu' management options in the Wagtail admin area\n-------------------... | Python | MIT License | rkhleics/wagtailmenus | Heading format fix for release notes |
575,403 | 06.05.2018 12:42:13 | -3,600 | 77367f632ef73eed14dd7c91c8b57d9cd0b7a1c0 | Add django 2.0 classifier to setup.py | [
{
"change_type": "MODIFY",
"old_path": "setup.py",
"new_path": "setup.py",
"diff": "@@ -56,6 +56,7 @@ setup(\n'Framework :: Django',\n'Framework :: Django :: 1.10',\n'Framework :: Django :: 1.11',\n+ 'Framework :: Django :: 2.0',\n'Topic :: Internet :: WWW/HTTP',\n\"Topic :: Internet :: WWW/HTTP :: ... | Python | MIT License | rkhleics/wagtailmenus | Add django 2.0 classifier to setup.py |
575,403 | 14.05.2018 08:40:42 | -3,600 | 0ca2f1fc746ff1ac3ddf3dcf27982e1769228710 | Create a more convenient reference to self.request at the top of Menu.prime_menu_items() and use throughout the method to reduce line lengths | [
{
"change_type": "MODIFY",
"old_path": "wagtailmenus/models/menus.py",
"new_path": "wagtailmenus/models/menus.py",
"diff": "@@ -393,6 +393,7 @@ class Menu:\n\"\"\"\nctx_vals = self._contextual_vals\nopt_vals = self._option_vals\n+ request = self.request\ncurrent_site = ctx_vals.current_site\ncurrent... | Python | MIT License | rkhleics/wagtailmenus | Create a more convenient reference to self.request at the top of Menu.prime_menu_items() and use throughout the method to reduce line lengths |
575,403 | 19.05.2018 20:10:48 | -3,600 | 081a896c167cf0110722b357f32afeb8aea89231 | Update testing and documentation dependencies | [
{
"change_type": "MODIFY",
"old_path": "setup.py",
"new_path": "setup.py",
"diff": "@@ -14,18 +14,17 @@ branch_url = \"%stree/stable/%s\" % (base_url, stable_branch_name)\n# Testing dependencies\ntesting_extras = [\n- 'django-webtest==1.9.2',\n- 'beautifulsoup4==4.5.1',\n- 'coverage>=3.7.0',\n- 'wag... | Python | MIT License | rkhleics/wagtailmenus | Update testing and documentation dependencies (#247) |
575,403 | 16.06.2018 16:44:56 | -3,600 | 0947a9b83572b398e6b2d87b7cf8d6948466a97a | Test command updates
Update runtests command to pass on args not handled by the custom parser to Django's own test method in execute_from_command_line()
Unless --deprecation=all is passed, filter out warnings that don't originate from wagtailmenus itself | [
{
"change_type": "MODIFY",
"old_path": "runtests.py",
"new_path": "runtests.py",
"diff": "@@ -20,28 +20,29 @@ def make_parser():\ndef parse_args(args=None):\n- return make_parser().parse_args(args)\n+ return make_parser().parse_known_args(args)\ndef runtests():\n- args = parse_args()\n+ args, rest =... | Python | MIT License | rkhleics/wagtailmenus | Test command updates
- Update runtests command to pass on args not handled by the custom parser to Django's own test method in execute_from_command_line()
- Unless --deprecation=all is passed, filter out warnings that don't originate from wagtailmenus itself |
575,403 | 16.06.2018 16:53:24 | -3,600 | 46ad497f8626200c84768f1531787b1cf6f22b78 | Use nicer variable names | [
{
"change_type": "MODIFY",
"old_path": "runtests.py",
"new_path": "runtests.py",
"diff": "@@ -24,25 +24,25 @@ def parse_args(args=None):\ndef runtests():\n- args, rest = parse_args()\n+ parsed_args, unparsed_args = parse_args()\nonly_wagtailmenus = r'^wagtailmenus(\\.|$)'\n- if args.deprecation == '... | Python | MIT License | rkhleics/wagtailmenus | Use nicer variable names |
575,403 | 16.06.2018 17:33:58 | -3,600 | 604058d75226c06dfc03239f0d588aa7bfd25150 | Remove test environment for anything other than wagtail 2.0 and Django 2.0 | [
{
"change_type": "MODIFY",
"old_path": ".travis.yml",
"new_path": ".travis.yml",
"diff": "@@ -5,16 +5,10 @@ sudo: required\nmatrix:\ninclude:\n- - env: TOXENV=py34-dj110-wt110\n+ - env: TOXENV=py34-dj2-wt2\npython: 3.4\n- - env: TOXENV=py35-dj110-wt111\n+ - env: TOXENV=py35-dj2-wt2\npython: 3.5\n- -... | Python | MIT License | rkhleics/wagtailmenus | Remove test environment for anything other than wagtail 2.0 and Django 2.0 |
575,403 | 16.06.2018 18:25:03 | -3,600 | df8f28fb9fd9a44659a1a3d048b53502bd90604b | Remove all django/wagtail version conditional stuff from base settings | [
{
"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 | Remove all django/wagtail version conditional stuff from base settings |
575,403 | 16.06.2018 21:04:33 | -3,600 | 583e8d6bd75221a9c46dcd74baa32f9376661897 | Add webtest back into test requirements | [
{
"change_type": "MODIFY",
"old_path": "setup.py",
"new_path": "setup.py",
"diff": "@@ -16,6 +16,7 @@ branch_url = \"%stree/stable/%s\" % (base_url, stable_branch_name)\ntesting_extras = [\n'beautifulsoup4>=4.5',\n'coverage>=4.5',\n+ 'django-webtest==1.9.2', # Pinned for Django <2 compatibility\n'wa... | Python | MIT License | rkhleics/wagtailmenus | Add webtest back into test requirements |
575,403 | 16.06.2018 21:06:09 | -3,600 | 5fa964603174df668509100b75d202ce13d012d4 | Use a later version of webtest now that django 1.11 support isn't needed | [
{
"change_type": "MODIFY",
"old_path": "setup.py",
"new_path": "setup.py",
"diff": "@@ -16,7 +16,7 @@ branch_url = \"%stree/stable/%s\" % (base_url, stable_branch_name)\ntesting_extras = [\n'beautifulsoup4>=4.5',\n'coverage>=4.5',\n- 'django-webtest==1.9.2', # Pinned for Django <2 compatibility\n+ '... | Python | MIT License | rkhleics/wagtailmenus | Use a later version of webtest now that django 1.11 support isn't needed |
575,403 | 16.06.2018 21:14:17 | -3,600 | adedf2c083f1a1b8189bafa4a181055d671d901d | Simplify the code that uses Page.get_url() and Page.get_full_url() and update MenuItem.relative_url() to accept a HttpRequest instance, like Page.relative_url() does | [
{
"change_type": "MODIFY",
"old_path": "wagtailmenus/models/menuitems.py",
"new_path": "wagtailmenus/models/menuitems.py",
"diff": "@@ -10,6 +10,7 @@ from wagtail.core.models import Page, Orderable\nfrom wagtailmenus.conf import settings\nfrom wagtailmenus.managers import MenuItemManager\n+\n#######... | Python | MIT License | rkhleics/wagtailmenus | Simplify the code that uses Page.get_url() and Page.get_full_url() and update MenuItem.relative_url() to accept a HttpRequest instance, like Page.relative_url() does |
575,403 | 16.06.2018 22:10:09 | -3,600 | d76825c4025bea04fbc850f3a38e29f32923847a | Use wagtail.admin.messages.validation_error() in form_invalid, so that we can have nice validation error handling in all menu editing views | [
{
"change_type": "MODIFY",
"old_path": "wagtailmenus/views.py",
"new_path": "wagtailmenus/views.py",
"diff": "@@ -56,9 +56,12 @@ class MenuTabbedInterfaceMixin:\n])\nreturn edit_handler.bind_to_model(self.model)\n- def get_edit_handler_class(self):\n- # For wagtail < 2.0\n- return self.get_edit_hand... | Python | MIT License | rkhleics/wagtailmenus | Use wagtail.admin.messages.validation_error() in form_invalid, so that we can have nice validation error handling in all menu editing views |
575,403 | 16.06.2018 22:11:52 | -3,600 | 44b58eba1d45a80808cd3b7a2e33eb2c64b9ee73 | Remove AbstractFlatMenu.clean() override now that non-field errors are being handled properly | [
{
"change_type": "MODIFY",
"old_path": "wagtailmenus/models/menus.py",
"new_path": "wagtailmenus/models/menus.py",
"diff": "@@ -1153,23 +1153,6 @@ class AbstractFlatMenu(DefinesSubMenuTemplatesMixin, MenuWithMenuItems):\ndef __str__(self):\nreturn '%s (%s)' % (self.title, self.handle)\n- def clean(s... | Python | MIT License | rkhleics/wagtailmenus | Remove AbstractFlatMenu.clean() override now that non-field errors are being handled properly |
575,403 | 16.06.2018 22:20:28 | -3,600 | 5d3bc45fad7e9308c89cc46ee7be285235cebc41 | Raise a non-field error when neither or both link_page and link_url have been specified, instead of raising a field error for both fields. | [
{
"change_type": "MODIFY",
"old_path": "wagtailmenus/models/pages.py",
"new_path": "wagtailmenus/models/pages.py",
"diff": "@@ -195,14 +195,22 @@ class AbstractLinkPage(Page):\nif self.link_page and isinstance(\nself.link_page.specific, AbstractLinkPage\n):\n- msg = _(\"A link page cannot link to an... | Python | MIT License | rkhleics/wagtailmenus | Raise a non-field error when neither or both link_page and link_url have been specified, instead of raising a field error for both fields. |
575,403 | 16.06.2018 22:54:37 | -3,600 | 5ae6a38409ef7dad5e511d5ae4dd81543706db48 | Look for correct error message in test | [
{
"change_type": "MODIFY",
"old_path": "wagtailmenus/tests/test_backend.py",
"new_path": "wagtailmenus/tests/test_backend.py",
"diff": "@@ -83,7 +83,7 @@ class CMSUsecaseTests(WebTest):\nresponse = form.submit()\nassert 'The flat menu could not be saved due to errors' in response\n- assert 'Site and... | Python | MIT License | rkhleics/wagtailmenus | Look for correct error message in test |
575,403 | 16.06.2018 23:36:18 | -3,600 | 6df1261e15a01fab0f761401180c105b466d72c9 | Pass the current HttpRequest instance to item.relative_url() (as expected by Page.relative_url), but raise a deprecation warning if the method doesn't accept it. | [
{
"change_type": "MODIFY",
"old_path": "wagtailmenus/models/menus.py",
"new_path": "wagtailmenus/models/menus.py",
"diff": "+import warnings\nfrom collections import defaultdict, namedtuple\nfrom types import GeneratorType\nfrom django.db import models\nfrom django.db.models import BooleanField, Cas... | Python | MIT License | rkhleics/wagtailmenus | Pass the current HttpRequest instance to item.relative_url() (as expected by Page.relative_url), but raise a deprecation warning if the method doesn't accept it. |
575,403 | 17.06.2018 20:14:51 | -3,600 | cf042bd50e406c9c32231bd564470b35781ddabf | Test against django 1.11 with wagtail 2, and django 2 with wagtail 2.1 | [
{
"change_type": "MODIFY",
"old_path": ".travis.yml",
"new_path": ".travis.yml",
"diff": "@@ -5,12 +5,16 @@ sudo: required\nmatrix:\ninclude:\n+ - env: TOXENV=py34-dj111-wt2\n+ python: 3.4\n- env: TOXENV=py34-dj2-wt2\npython: 3.4\n- env: TOXENV=py35-dj2-wt2\npython: 3.5\n- env: TOXENV=py36-dj2-wt2\n... | Python | MIT License | rkhleics/wagtailmenus | Test against django 1.11 with wagtail 2, and django 2 with wagtail 2.1 |
575,403 | 17.06.2018 21:14:21 | -3,600 | 285643ceacbdb5452853d6be1b037a37c010f8f9 | Adjust notice at top of 2.10 release notes to allow for django 1.11 support | [
{
"change_type": "MODIFY",
"old_path": "docs/source/releases/2.10.0.rst",
"new_path": "docs/source/releases/2.10.0.rst",
"diff": "@@ -4,7 +4,7 @@ Wagtailmenus 2.10 release notes\n.. NOTE ::\n- In order to keep wagtailmenus working with the latest versions of Wagtail and Django, with code that is cle... | Python | MIT License | rkhleics/wagtailmenus | Adjust notice at top of 2.10 release notes to allow for django 1.11 support |
575,403 | 17.06.2018 21:19:33 | -3,600 | 6114e73350b26cca55d957ec759ac7bceb62ca18 | Add Django 1.11 trove classifier back in, and add new Wagtail classifiers :) | [
{
"change_type": "MODIFY",
"old_path": "setup.py",
"new_path": "setup.py",
"diff": "@@ -52,7 +52,10 @@ setup(\n'Programming Language :: Python :: 3.5',\n'Programming Language :: Python :: 3.6',\n'Framework :: Django',\n+ 'Framework :: Django :: 1.11',\n'Framework :: Django :: 2.0',\n+ 'Framework :: ... | Python | MIT License | rkhleics/wagtailmenus | Add Django 1.11 trove classifier back in, and add new Wagtail classifiers :) |
575,403 | 18.06.2018 00:38:46 | -3,600 | 4ca3ea0b78c0b3398baf9ddee80cfdb761dffb85 | Update README.rst and docs index to reflect changes in Wagtail/Django support | [
{
"change_type": "MODIFY",
"old_path": "README.rst",
"new_path": "README.rst",
"diff": "@@ -23,8 +23,8 @@ wagtailmenus is an extension for Torchbox's `Wagtail CMS <https://github.com/tor\nThe current version is tested for compatiblily with the following:\n-- Wagtail versions 1.10 to 2.0\n-- Django v... | Python | MIT License | rkhleics/wagtailmenus | Update README.rst and docs index to reflect changes in Wagtail/Django support |
575,403 | 18.06.2018 11:14:43 | -3,600 | 423d62a9e09e5e7213c4c65f660b950d351bac76 | Update prime_menu_items() to return a generator at the end of the method, rather than have the method be a generator itself. This is required to allow useful deprecation warnings to be raised | [
{
"change_type": "MODIFY",
"old_path": "wagtailmenus/models/menus.py",
"new_path": "wagtailmenus/models/menus.py",
"diff": "@@ -381,6 +381,7 @@ class Menu:\nancestor_css_class = settings.ACTIVE_ANCESTOR_CLASS\nstop_at_this_level = (ctx_vals.current_level >= self.max_levels)\n+ return_list = []\nfor ... | Python | MIT License | rkhleics/wagtailmenus | Update prime_menu_items() to return a generator at the end of the method, rather than have the method be a generator itself. This is required to allow useful deprecation warnings to be raised |
575,403 | 18.06.2018 11:17:06 | -3,600 | c4ede7e176a151b810426b0eb3ba49ebfe43030c | Missed these changes in last commit | [
{
"change_type": "MODIFY",
"old_path": "wagtailmenus/models/menus.py",
"new_path": "wagtailmenus/models/menus.py",
"diff": "@@ -507,7 +507,8 @@ class Menu:\nwarnings.warn(\n\"The relative_url() method on custom MenuItem classes \"\n\"must accept a 'request' keyword argument. Please update \"\n- \"th... | Python | MIT License | rkhleics/wagtailmenus | Missed these changes in last commit |
575,403 | 18.06.2018 11:41:03 | -3,600 | 14287ba5041c85f142c82fd3fc2e23d150521ae5 | Remove python < 3.4 support from utils.inspection.accepts_kwarg | [
{
"change_type": "MODIFY",
"old_path": "wagtailmenus/utils/inspection.py",
"new_path": "wagtailmenus/utils/inspection.py",
"diff": "import inspect\n-import sys\n\"\"\"\nThis method below was copied from wagtail.wagtailcore.utils (v1.11) and allows\n@@ -13,15 +12,9 @@ def accepts_kwarg(func, kwarg):\... | Python | MIT License | rkhleics/wagtailmenus | Remove python < 3.4 support from utils.inspection.accepts_kwarg |
575,403 | 18.06.2018 11:42:18 | -3,600 | 0ba044da0c42f6a7aef181473e182ff5df7b406a | Add a test to show that a deprecation warning is raised as expected when a menu item's 'relative_url' method does not accept 'request' | [
{
"change_type": "MODIFY",
"old_path": "wagtailmenus/tests/test_mainmenu_class.py",
"new_path": "wagtailmenus/tests/test_mainmenu_class.py",
"diff": "+import warnings\n+from unittest import mock\nfrom django.test import TestCase\nfrom wagtailmenus.conf import constants\n-from wagtailmenus.models imp... | Python | MIT License | rkhleics/wagtailmenus | Add a test to show that a deprecation warning is raised as expected when a menu item's 'relative_url' method does not accept 'request' |
575,403 | 21.06.2018 09:22:40 | -3,600 | 3f443ed8ffe16c85becde929b43daa9e1ef13323 | Move MainMenuAdmin, FlatMenuAdmin and FlatMenuButtonHelper into a 'modeladmin' module | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "wagtailmenus/modeladmin.py",
"diff": "+from django.conf.urls import url\n+from django.contrib.admin.utils import quote\n+from django.utils.safestring import mark_safe\n+from django.utils.translation import ugettext_lazy as _\n+from wagtail.contr... | Python | MIT License | rkhleics/wagtailmenus | Move MainMenuAdmin, FlatMenuAdmin and FlatMenuButtonHelper into a 'modeladmin' module |
575,403 | 21.06.2018 10:19:03 | -3,600 | 05048216652df0493e1659e002516200d269e1ef | Add the settings and use the settings module to get the relevant class in wagtail_hooks | [
{
"change_type": "MODIFY",
"old_path": "wagtailmenus/conf/defaults.py",
"new_path": "wagtailmenus/conf/defaults.py",
"diff": "@@ -11,18 +11,18 @@ ADD_EDITOR_OVERRIDE_STYLES = True\nFLATMENU_MENU_ICON = 'list-ol'\n+FLAT_MENUS_EDITABLE_IN_WAGTAILADMIN = True\n+\nFLAT_MENUS_MODELADMIN_CLASS = 'wagtailm... | Python | MIT License | rkhleics/wagtailmenus | Add the settings and use the settings module to get the relevant class in wagtail_hooks |
575,403 | 21.06.2018 10:20:40 | -3,600 | 7b55dff2d6b5c074dc6edd37ecd422252432365f | Update settings reference documentation | [
{
"change_type": "MODIFY",
"old_path": "docs/source/settings_reference.rst",
"new_path": "docs/source/settings_reference.rst",
"diff": "@@ -50,6 +50,8 @@ For example, if your project uses an 'info' menu in the header, a 'footer' menu\n.. code-block:: python\n+ # settings.py\n+\nWAGTAILMENUS_FLAT_MEN... | Python | MIT License | rkhleics/wagtailmenus | Update settings reference documentation |
575,403 | 21.06.2018 11:37:01 | -3,600 | 90d0dcf4af5e53784ff45c40f61eb9a33c2c0e87 | Add setting tests to their own module | [
{
"change_type": "ADD",
"old_path": "wagtailmenus/conf/tests/__init__.py",
"new_path": "wagtailmenus/conf/tests/__init__.py",
"diff": ""
},
{
"change_type": "ADD",
"old_path": null,
"new_path": "wagtailmenus/conf/tests/test_menu_class_override_settings.py",
"diff": "+from django.... | Python | MIT License | rkhleics/wagtailmenus | Add setting tests to their own module |
575,403 | 21.06.2018 11:43:46 | -3,600 | 57aa6c56229d8925dfdadeb0902ca9e59ac625dc | Move deprecated settings tests to the conf app too | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "wagtailmenus/conf/tests/test_deprecations.py",
"diff": "+import warnings\n+\n+from django.test import TestCase, override_settings\n+from wagtailmenus.conf import settings\n+\n+\n+class TestDeprecationWarningsRaised(TestCase):\n+\n+ @override_set... | Python | MIT License | rkhleics/wagtailmenus | Move deprecated settings tests to the conf app too |
575,403 | 21.06.2018 11:54:17 | -3,600 | 19b39b0431befd636a2aa917511e62d80616d984 | Remove tests from test_custom_models.py where necessary (the value of the leftover tests is questionable, but will deal with thos some other time) | [
{
"change_type": "MODIFY",
"old_path": "wagtailmenus/tests/test_custom_models.py",
"new_path": "wagtailmenus/tests/test_custom_models.py",
"diff": "@@ -3,14 +3,12 @@ from __future__ import absolute_import, unicode_literals\nfrom bs4 import BeautifulSoup\nfrom django.contrib.auth import get_user_mode... | Python | MIT License | rkhleics/wagtailmenus | Remove tests from test_custom_models.py where necessary (the value of the leftover tests is questionable, but will deal with thos some other time) |
575,403 | 21.06.2018 12:16:56 | -3,600 | 9881251557ded6acaeab9f55f13ac017b1a22e2a | Move modeladmin toggle setting tests to conf app too | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "wagtailmenus/conf/tests/test_modeladmin_disable_settings.py",
"diff": "+from importlib import reload\n+from unittest.mock import call, patch\n+\n+from django.test import TestCase, override_settings\n+\n+from wagtailmenus.modeladmin import FlatMe... | Python | MIT License | rkhleics/wagtailmenus | Move modeladmin toggle setting tests to conf app too |
575,403 | 21.06.2018 12:56:27 | -3,600 | fc79dcb4ec2bff934ce70158bc67be1bbd694ca3 | Improve consistency of reference naming in settings_reference docs | [
{
"change_type": "MODIFY",
"old_path": "docs/source/releases/2.9.0.rst",
"new_path": "docs/source/releases/2.9.0.rst",
"diff": "@@ -58,6 +58,6 @@ Projects come in all shapes and sizes, and not all call for both types of menu.\nSee the settings documentation for more information:\n-:ref:`WAGTAILMENUS... | Python | MIT License | rkhleics/wagtailmenus | Improve consistency of reference naming in settings_reference docs |
575,403 | 25.06.2018 16:58:50 | -3,600 | 5c7760876460419c5bf5fd8e81e7b6054879c523 | Replacing custom app settings implementation with cogwheels
Add conf.settings.py with a custom app settings helper in the same style as the one previously defined in 'conf.__init__', but using cogwheels.BaseAppSettingsHelper
Use settings.objects.SETTING_NAME shortcut throughout instead of settings.get_object('SETTING_N... | [
{
"change_type": "MODIFY",
"old_path": "requirements/development.txt",
"new_path": "requirements/development.txt",
"diff": "wagtail>=1.13,<2.0\nhtml5lib>=1.0,<1.1\nbeautifulsoup4>=4.6,<4.7\n+django-cogwheels\ndjango-debug-toolbar\ndjango-extensions\nipdb\n"
},
{
"change_type": "MODIFY",
... | Python | MIT License | rkhleics/wagtailmenus | Replacing custom app settings implementation with cogwheels
- Add conf.settings.py with a custom app settings helper in the same style as the one previously defined in 'conf.__init__', but using cogwheels.BaseAppSettingsHelper
- Use settings.objects.SETTING_NAME shortcut throughout instead of settings.get_object('SETTI... |
575,403 | 25.06.2018 17:22:26 | -3,600 | 4ba6f12172e3c64bfd502bc714960dba27392767 | Delete tests for functionality covered by cogwheels | [
{
"change_type": "DELETE",
"old_path": "wagtailmenus/conf/tests/test_deprecations.py",
"new_path": null,
"diff": "-import warnings\n-\n-from django.test import TestCase, override_settings\n-from wagtailmenus.conf import settings\n-\n-\n-class TestDeprecationWarningsRaised(TestCase):\n-\n- @override_... | Python | MIT License | rkhleics/wagtailmenus | Delete tests for functionality covered by cogwheels |
575,403 | 25.06.2018 17:48:15 | -3,600 | f1562aed1e660120eebea4a86af9a944747a8e81 | Add cogwheels as a dependency | [
{
"change_type": "MODIFY",
"old_path": "setup.py",
"new_path": "setup.py",
"diff": "@@ -12,6 +12,12 @@ base_url = \"https://github.com/rkhleics/wagtailmenus/\"\ndowload_url = '%starball/v%s' % (base_url, __version__)\nbranch_url = \"%stree/stable/%s\" % (base_url, stable_branch_name)\n+# Essential d... | Python | MIT License | rkhleics/wagtailmenus | Add cogwheels as a dependency |
575,403 | 15.07.2018 11:06:35 | -3,600 | 2ef5d4c375619f18eea835bb0d6fc61974a692ab | Update settings_reference.rst
Remove unnecessary underscores from new setting headings | [
{
"change_type": "MODIFY",
"old_path": "docs/source/settings_reference.rst",
"new_path": "docs/source/settings_reference.rst",
"diff": "@@ -71,7 +71,7 @@ By default, 'Flat menus' are editable in the Wagtail CMS. Setting this to `False\n.. _FLAT_MENUS_MODELADMIN_CLASS:\n-``_WAGTAILMENUS_FLAT_MENUS_MO... | Python | MIT License | rkhleics/wagtailmenus | Update settings_reference.rst
Remove unnecessary underscores from new setting headings |
575,403 | 15.07.2018 12:56:22 | -3,600 | 1699c6489ef7165f4cb1f8783c02487da4661058 | Wagtail 2.1 test should pass now that 2.1.1 is available | [
{
"change_type": "MODIFY",
"old_path": ".travis.yml",
"new_path": ".travis.yml",
"diff": "@@ -15,9 +15,6 @@ matrix:\npython: 3.6\n- env: TOXENV=py36-dj2-wt21\npython: 3.6\n- allow_failures:\n- # Ignore failures for Wagtail 2.1 until #4612 is fixed\n- - env: TOXENV=py36-dj2-wt21\ninstall:\n- pip inst... | Python | MIT License | rkhleics/wagtailmenus | Wagtail 2.1 test should pass now that 2.1.1 is available |
575,403 | 15.07.2018 13:23:56 | -3,600 | beafbde8c8bd1443cf40dbed56bf702c0d04c240 | Add wagtail 2.1 support to changelog and release notes | [
{
"change_type": "MODIFY",
"old_path": "CHANGELOG.md",
"new_path": "CHANGELOG.md",
"diff": "@@ -4,6 +4,7 @@ Changelog\n2.11.0 (XX.XX.XXX)\n------------------\n+* Added support for Wagtail version 2.1.\n* Dropped support for Wagtail versions 1.10 to 1.13.\n* Dropped support for Django versions 1.8 to... | Python | MIT License | rkhleics/wagtailmenus | Add wagtail 2.1 support to changelog and release notes |
575,403 | 15.07.2018 15:33:39 | -3,600 | 8f354b37a4d1ef0a439722bc2512bda0e0b6033c | Further changelog/release note additions | [
{
"change_type": "MODIFY",
"old_path": "CHANGELOG.md",
"new_path": "CHANGELOG.md",
"diff": "@@ -17,7 +17,8 @@ Changelog\n* Moved custom `wagtail.contrib.modeladmin` classes out of `wagtailmenus.wagtail_hooks` and into a new `wagtailmenus.modeladmin` module.\n* Added the `WAGTAILMENUS_FLAT_MENUS_MODE... | Python | MIT License | rkhleics/wagtailmenus | Further changelog/release note additions |
575,403 | 02.08.2018 16:34:34 | -3,600 | f538bc550d2d5bed76aa05db2348220a36679b1a | Test against py7 and deploy to pypi when tagging from master | [
{
"change_type": "MODIFY",
"old_path": ".travis.yml",
"new_path": ".travis.yml",
"diff": "language: python\ncache: pip\n-dist: trusty\n-sudo: required\nmatrix:\ninclude:\n- env: TOXENV=py34-dj111-wt2\n+ sudo: false\n+ dist: trusty\npython: 3.4\n- - env: TOXENV=py34-dj2-wt2\n- python: 3.4\n- - env: T... | Python | MIT License | rkhleics/wagtailmenus | Test against py7 and deploy to pypi when tagging from master |
575,403 | 02.08.2018 16:38:12 | -3,600 | e8cc14bc843065366cfae3c21baf11cf3af11fae | Add necessaries to tox.ini | [
{
"change_type": "MODIFY",
"old_path": "tox.ini",
"new_path": "tox.ini",
"diff": "@@ -3,7 +3,7 @@ skipsdist = True\nusedevelop = True\nenvlist =\n- py{34,35,36}-dj{111,2}-wt{2,21}\n+ py{34,35,36,37}-dj{111,2}-wt{2,21}\n[testenv]\ninstall_command = pip install -e \".[testing]\" -U {opts} {packages}\n... | Python | MIT License | rkhleics/wagtailmenus | Add necessaries to tox.ini |
575,403 | 02.08.2018 16:48:37 | -3,600 | 3c7c97b47a76b5f20004e235ff37635c96af13a8 | Update python version support in README / docs | [
{
"change_type": "MODIFY",
"old_path": "README.rst",
"new_path": "README.rst",
"diff": "@@ -25,7 +25,7 @@ The current version is tested for compatiblily with the following:\n- Wagtail versions 2.0 to 2.1\n- Django versions 1.11 to 2.0\n-- Python versions 3.4 to 3.6\n+- Python versions 3.4 to 3.7\n..... | Python | MIT License | rkhleics/wagtailmenus | Update python version support in README / docs |
575,403 | 02.08.2018 17:03:38 | -3,600 | 466fa5d22be1107eb8ea0f4d3d33243297c30a16 | Update package releasing guide now that Travis CI takes care of deploying to PyPI | [
{
"change_type": "MODIFY",
"old_path": "docs/source/contributing/packaging_releases.rst",
"new_path": "docs/source/contributing/packaging_releases.rst",
"diff": "@@ -107,7 +107,7 @@ When satisfied with the PR for preparing the files:\n.. code-block:: console\n- pip install -e '.[testing,docs]' -U\n+... | Python | MIT License | rkhleics/wagtailmenus | Update package releasing guide now that Travis CI takes care of deploying to PyPI |
575,403 | 10.09.2018 22:19:20 | -3,600 | 1699141412d15531f18e59767e6da1b62827756d | Add missing date to 2.11 and add items for 2.12 | [
{
"change_type": "MODIFY",
"old_path": "CHANGELOG.md",
"new_path": "CHANGELOG.md",
"diff": "Changelog\n=========\n-2.11.0 (XX.XX.XXX)\n-------------------\n+2.12.0 (XX.XX.XXXX)\n+-------------------\n+\n+* Fix an issue with the release notes section menu in docs.\n+* Updated Travis CI to deploy to P... | Python | MIT License | rkhleics/wagtailmenus | Add missing date to 2.11 and add items for 2.12 |
575,403 | 10.09.2018 22:46:19 | -3,600 | a241a009ffdc7858e7e3534104cf2dd8755159e8 | Test against wagtail 2.2 | [
{
"change_type": "MODIFY",
"old_path": ".travis.yml",
"new_path": ".travis.yml",
"diff": "@@ -15,11 +15,11 @@ matrix:\nsudo: false\ndist: trusty\npython: 3.6\n- - env: TOXENV=py37-dj2-wt2\n- sudo: true\n- dist: xenial\n- python: 3.7\n- - env: TOXENV=py37-dj2-wt21\n+ - env: TOXENV=py36-dj2-wt21\n+ su... | Python | MIT License | rkhleics/wagtailmenus | Test against wagtail 2.2 |
575,403 | 10.09.2018 22:54:37 | -3,600 | 5fc359226a75491d7f7f9664ede04fbbdc8f32bb | Update README and docs index to reflect support for Wagtail 2.2 | [
{
"change_type": "MODIFY",
"old_path": "README.rst",
"new_path": "README.rst",
"diff": "@@ -23,7 +23,7 @@ wagtailmenus is an extension for Torchbox's `Wagtail CMS <https://github.com/tor\nThe current version is tested for compatiblily with the following:\n-- Wagtail versions 2.0 to 2.1\n+- Wagtail v... | Python | MIT License | rkhleics/wagtailmenus | Update README and docs index to reflect support for Wagtail 2.2 |
575,403 | 10.09.2018 22:57:02 | -3,600 | b91e9f74f175304b81291197e3f39374305d6eb7 | Bumped version to 2.11.1 and updated release notes and changelog accordingly | [
{
"change_type": "MODIFY",
"old_path": "CHANGELOG.md",
"new_path": "CHANGELOG.md",
"diff": "@@ -4,9 +4,16 @@ Changelog\n2.12.0 (XX.XX.XXXX)\n-------------------\n-* Fix an issue with the release notes section menu in docs.\n-* Updated Travis CI to deploy to PyPi automatically when commits are tagged... | Python | MIT License | rkhleics/wagtailmenus | Bumped version to 2.11.1 and updated release notes and changelog accordingly |
575,403 | 16.09.2018 15:45:36 | -3,600 | 38f2f17a95352e61498f7de6fb90491837738e53 | Remove request, max_levels and use_specific class attributes from Menu | [
{
"change_type": "MODIFY",
"old_path": "wagtailmenus/models/menus.py",
"new_path": "wagtailmenus/models/menus.py",
"diff": "@@ -46,19 +46,12 @@ OptionVals = namedtuple('OptionVals', (\nclass Menu:\n\"\"\"The base class that which all other menu classes should inherit from\"\"\"\n- request = None\nme... | Python | MIT License | rkhleics/wagtailmenus | Remove request, max_levels and use_specific class attributes from Menu |
575,403 | 16.09.2018 16:45:47 | -3,600 | 8f7f201f04143341912b5377d1b5f2d24ff76b5e | Simplify ChildrenMenu.__init__()
Modify the signature of ChildrenMenu.__init__() to make max_levels and use_specific required, and ditch the custom TypeErrors | [
{
"change_type": "MODIFY",
"old_path": "wagtailmenus/models/menus.py",
"new_path": "wagtailmenus/models/menus.py",
"diff": "@@ -770,15 +770,7 @@ class ChildrenMenu(DefinesSubMenuTemplatesMixin, MenuFromPage):\ndef get_least_specific_template_name(cls):\nreturn settings.DEFAULT_CHILDREN_MENU_TEMPLATE... | Python | MIT License | rkhleics/wagtailmenus | Simplify ChildrenMenu.__init__() (#271)
Modify the signature of ChildrenMenu.__init__() to make max_levels and use_specific required, and ditch the custom TypeErrors |
575,403 | 16.09.2018 17:45:49 | -3,600 | 14747bd4211733c2d9d4a6f9d621f2ed63438ce8 | The value of 'use_specific' in hook kwargs should match self.use_specific, not self.max_levels | [
{
"change_type": "MODIFY",
"old_path": "wagtailmenus/models/menus.py",
"new_path": "wagtailmenus/models/menus.py",
"diff": "@@ -228,7 +228,7 @@ class Menu:\n'menu_tag': self.related_templatetag_name,\n'parent_page': None,\n'max_levels': self.max_levels,\n- 'use_specific': self.max_levels,\n+ 'use_sp... | Python | MIT License | rkhleics/wagtailmenus | The value of 'use_specific' in hook kwargs should match self.use_specific, not self.max_levels (#272) |
575,403 | 23.09.2018 12:10:40 | -3,600 | b05ec8639ab924c99cfc0d9d2e728a66c1782d80 | Rename deprecation warning classes to indicate that the version after 2.13 will be 3.0 | [
{
"change_type": "MODIFY",
"old_path": "wagtailmenus/utils/deprecation.py",
"new_path": "wagtailmenus/utils/deprecation.py",
"diff": "@@ -5,9 +5,9 @@ class RemovedInWagtailMenus213Warning(DeprecationWarning):\nremoved_in_next_version_warning = RemovedInWagtailMenus213Warning\n-class RemovedInWagtail... | Python | MIT License | rkhleics/wagtailmenus | Rename deprecation warning classes to indicate that the version after 2.13 will be 3.0 (#273) |
575,403 | 23.09.2018 22:53:22 | -3,600 | 2d059374bd85845f21e4686a31f39d45191ddd02 | Break responsibility for getting/creating an appropriate menu instance and calling it's prepare_to_render() method out to a separate method: _get_render_prepared_object() | [
{
"change_type": "MODIFY",
"old_path": "wagtailmenus/models/menus.py",
"new_path": "wagtailmenus/models/menus.py",
"diff": "@@ -71,16 +71,37 @@ class Menu:\nmore specific methods for overriding certain behaviour at different\nstages of rendering, such as:\n- * get_from_collected_values() (if the cla... | Python | MIT License | rkhleics/wagtailmenus | Break responsibility for getting/creating an appropriate menu instance and calling it's prepare_to_render() method out to a separate method: _get_render_prepared_object() (#276) |
575,403 | 08.10.2018 22:15:32 | -3,600 | bb8cd00aa52c30e8b48812e45eeb204d860fd81d | Add a Menu.prime_menu_item() method, that primes only a single item | [
{
"change_type": "MODIFY",
"old_path": "wagtailmenus/models/menus.py",
"new_path": "wagtailmenus/models/menus.py",
"diff": "@@ -521,79 +521,79 @@ class Menu:\nraise NotImplementedError(\"Subclasses of 'Menu' must define their own \"\n\"'get_raw_menu_items' method\")\n- def prime_menu_items(self, men... | Python | MIT License | rkhleics/wagtailmenus | Add a Menu.prime_menu_item() method, that primes only a single item (#281) |
575,403 | 09.10.2018 08:59:40 | -3,600 | 3d5a1b971d2ce4ae203f1cc68c87cdf04217d170 | Update menus.py
Fix incorrect warning message in get_instance_for_rendering() | [
{
"change_type": "MODIFY",
"old_path": "wagtailmenus/models/menus.py",
"new_path": "wagtailmenus/models/menus.py",
"diff": "@@ -266,8 +266,10 @@ class Menu:\ndef get_instance_for_rendering(cls, contextual_vals, option_vals):\nwarnings.warn(\n'The get_instance_for_rendering() class method is deprecat... | Python | MIT License | rkhleics/wagtailmenus | Update menus.py
Fix incorrect warning message in get_instance_for_rendering() |
575,403 | 21.10.2018 15:52:43 | -3,600 | 816d9635b822d7bf5610d37872ebfacd8b2d141c | Update panels.py
Panel heading typo fix: "Rendering setings" -> "Render settings" | [
{
"change_type": "MODIFY",
"old_path": "wagtailmenus/panels.py",
"new_path": "wagtailmenus/panels.py",
"diff": "@@ -81,7 +81,7 @@ flat_menu_content_panels = (\nmenu_settings_panels = (\nMultiFieldPanel(\n- heading=_('Rendering setings'),\n+ heading=_('Render settings'),\nchildren=(\nFieldPanel('max_... | Python | MIT License | rkhleics/wagtailmenus | Update panels.py (#284)
Panel heading typo fix: "Rendering setings" -> "Render settings" |
575,403 | 21.10.2018 16:26:24 | -3,600 | cbede6da2756e4e81b40a1b678c8659251c0fe5b | Update CHANGELOG.md
Add missing CHANGELOG entries for the latest version | [
{
"change_type": "MODIFY",
"old_path": "CHANGELOG.md",
"new_path": "CHANGELOG.md",
"diff": "@@ -11,6 +11,13 @@ indication of what the method does.\n* Renamed ``Menu.get_option_vals_from_options`` to ``Menu._create_optionvals_obj_from_values()`` to give a better indication of what the method does.\n*... | Python | MIT License | rkhleics/wagtailmenus | Update CHANGELOG.md
Add missing CHANGELOG entries for the latest version |
575,403 | 10.11.2018 19:00:40 | 0 | 1a63666ad2b7a92517a1bbd4e899d5eaea14b726 | Update 2.12.rst
Deprecations section additions | [
{
"change_type": "MODIFY",
"old_path": "docs/source/releases/2.12.rst",
"new_path": "docs/source/releases/2.12.rst",
"diff": "@@ -39,15 +39,26 @@ Deprecations\nThe following items have been deprecated in this release. They will continue to be supported for a standard deprecation period of two minor ... | Python | MIT License | rkhleics/wagtailmenus | Update 2.12.rst
Deprecations section additions |
575,403 | 12.11.2018 09:05:15 | 0 | 11b44f2f8eac26f738c226b0825e8d2dbacc289f | Update 2.12.rst
Add details of 'add_sub_menus_inline' template tag option to release notes | [
{
"change_type": "MODIFY",
"old_path": "docs/source/releases/2.12.rst",
"new_path": "docs/source/releases/2.12.rst",
"diff": "@@ -16,22 +16,54 @@ Wagtailmenus 2.12 (alpha) release notes\nWhat's new?\n===========\n-TBA\n+New ``add_sub_menus_inline`` option for menu tags\n+----------------------------... | Python | MIT License | rkhleics/wagtailmenus | Update 2.12.rst
Add details of 'add_sub_menus_inline' template tag option to release notes |
575,403 | 12.11.2018 09:06:41 | 0 | 5a56e88e85438248b74a82b6bed463e87a787233 | Update 2.12.rst
Fix type | [
{
"change_type": "MODIFY",
"old_path": "docs/source/releases/2.12.rst",
"new_path": "docs/source/releases/2.12.rst",
"diff": "@@ -20,7 +20,7 @@ What's new?\nNew ``add_sub_menus_inline`` option for menu tags\n-------------------------------------------------\n-By default, you have to call the ``{% su... | Python | MIT License | rkhleics/wagtailmenus | Update 2.12.rst
Fix type |
575,403 | 12.11.2018 09:07:42 | 0 | ccf44a232898fd752da040f3c8a852761db680f5 | Update 2.12.rst
Use correct syntax for code | [
{
"change_type": "MODIFY",
"old_path": "docs/source/releases/2.12.rst",
"new_path": "docs/source/releases/2.12.rst",
"diff": "@@ -20,7 +20,7 @@ What's new?\nNew ``add_sub_menus_inline`` option for menu tags\n-------------------------------------------------\n-By default, you have to call the ``{% su... | Python | MIT License | rkhleics/wagtailmenus | Update 2.12.rst
Use correct syntax for code |
575,403 | 15.11.2018 22:36:06 | 0 | 11d6b751b8b447dc7a0f83e2a5593673ae42c2b9 | Update 2.9.0.rst
Fixed a couple of typos | [
{
"change_type": "MODIFY",
"old_path": "docs/source/releases/2.9.0.rst",
"new_path": "docs/source/releases/2.9.0.rst",
"diff": "@@ -41,10 +41,9 @@ For example, if you had a template (e.g ``abc.html``) that you'd like to use for\n.. code-block:: html\n- {% section_menu max_levels=3 sub_menu_templates... | Python | MIT License | rkhleics/wagtailmenus | Update 2.9.0.rst
Fixed a couple of typos |
575,403 | 25.11.2018 09:23:03 | 0 | 5644f485acb800a949960ffe246f84ddc57038bf | Cycled deprecation warnings and remove behaviour marked for removal in this version | [
{
"change_type": "MODIFY",
"old_path": "CHANGELOG.md",
"new_path": "CHANGELOG.md",
"diff": "@@ -4,7 +4,8 @@ Changelog\n2.13a (XX.XX.XXXX)\n------------------\n-* TBA\n+* Dropped support for ``relative_url()`` methods on custom menu item models that do not support a ``request`` keyword argument.\n+\n... | Python | MIT License | rkhleics/wagtailmenus | Cycled deprecation warnings and remove behaviour marked for removal in this version (#297) |
575,403 | 25.11.2018 20:50:46 | 0 | d9d6cb2c273465f9e51a7edba76148bedf1ec7a4 | Adds support for Wagtail 2.3 and Django 2.1 | [
{
"change_type": "MODIFY",
"old_path": ".travis.yml",
"new_path": ".travis.yml",
"diff": "@@ -19,7 +19,15 @@ matrix:\nsudo: false\ndist: trusty\npython: 3.6\n- - env: TOXENV=py37-dj2-wt22\n+ - env: TOXENV=py36-dj2-wt22\n+ sudo: false\n+ dist: trusty\n+ python: 3.6\n+ - env: TOXENV=py36-dj21-wt23\n+ ... | Python | MIT License | rkhleics/wagtailmenus | Adds support for Wagtail 2.3 and Django 2.1 (#298) |
575,403 | 02.12.2018 14:19:54 | 0 | 6b20f29a77eed81dc294ba111f33e8b93d1c1d0f | Safeguarding against infinite loops when using 'menuitem.sub_menu' | [
{
"change_type": "MODIFY",
"old_path": "CHANGELOG.md",
"new_path": "CHANGELOG.md",
"diff": "@@ -7,6 +7,8 @@ Changelog\n* Dropped support for ``relative_url()`` methods on custom menu item models that do not support a ``request`` keyword argument.\n* Added support for Wagtail 2.3.\n* Added support fo... | Python | MIT License | rkhleics/wagtailmenus | Safeguarding against infinite loops when using 'menuitem.sub_menu' (#299) |
575,403 | 02.12.2018 14:50:19 | 0 | 9f9c49e6b40566dc6b2d6319258da62ec03177e3 | Tidy 'root_page' augmentation logic in SectionMenu
Updated SectionMenu.prepare_to_render() to augment root_page with 'text', 'href' and 'active_class' attributes, so that it no longer has to be done in get_context_data() | [
{
"change_type": "MODIFY",
"old_path": "CHANGELOG.md",
"new_path": "CHANGELOG.md",
"diff": "@@ -9,6 +9,7 @@ Changelog\n* Added support for Django 2.1.\n* Updated ``MenuPage.get_repeated_menu_item()`` to nullify `sub_menu` on the copy to reduce likelihood of infinite recursion errors.\n* Updated ``Me... | Python | MIT License | rkhleics/wagtailmenus | Tidy 'root_page' augmentation logic in SectionMenu (#300)
Updated SectionMenu.prepare_to_render() to augment root_page with 'text', 'href' and 'active_class' attributes, so that it no longer has to be done in get_context_data() |
575,403 | 02.12.2018 15:16:28 | 0 | 846297c4606e7a8b3147da3554bee267df87b038 | Minor tidying in SectionMenu.prepare_to_render() | [
{
"change_type": "MODIFY",
"old_path": "wagtailmenus/models/menus.py",
"new_path": "wagtailmenus/models/menus.py",
"diff": "@@ -901,13 +901,9 @@ class SectionMenu(DefinesSubMenuTemplatesMixin, MenuFromPage):\nroot_page.href = href\nactive_class = ''\n- current_page = contextual_vals.current_page\nif... | Python | MIT License | rkhleics/wagtailmenus | Minor tidying in SectionMenu.prepare_to_render() (#301) |
575,403 | 24.01.2019 20:06:53 | 0 | 163627de2617a1f9eb6a509ab13c60f0f314a5b1 | Add / announce support for Wagtail 2.4 | [
{
"change_type": "MODIFY",
"old_path": ".travis.yml",
"new_path": ".travis.yml",
"diff": "@@ -27,7 +27,11 @@ matrix:\nsudo: false\ndist: trusty\npython: 3.6\n- - env: TOXENV=py37-dj21-wt23\n+ - env: TOXENV=py36-dj21-wt24\n+ sudo: false\n+ dist: trusty\n+ python: 3.6\n+ - env: TOXENV=py37-dj21-wt24\n... | Python | MIT License | rkhleics/wagtailmenus | Add / announce support for Wagtail 2.4 (#307) |
575,417 | 24.01.2019 21:20:25 | -3,600 | 390caade687f80da3ac4866b018d2abdb4a6becd | small html changes | [
{
"change_type": "MODIFY",
"old_path": "CONTRIBUTORS.md",
"new_path": "CONTRIBUTORS.md",
"diff": "* Pierre Manceaux (pierremanceaux)\n* Michael van de Waeter (mvdwaeter)\n* Philipp Bosch (philippbosch) (A Color Bright)\n+* Oktay Altay (OktayAltay)\n## Translators\n"
},
{
"change_type": "MODI... | Python | MIT License | rkhleics/wagtailmenus | small html changes (#306) |
575,403 | 24.01.2019 21:32:20 | 0 | 9b191bd27f99a586b8f277d3e36484f72d0b89a3 | CHANGELOG and release notes updates | [
{
"change_type": "MODIFY",
"old_path": "CHANGELOG.md",
"new_path": "CHANGELOG.md",
"diff": "@@ -5,8 +5,10 @@ Changelog\n------------------\n* Dropped support for ``relative_url()`` methods on custom menu item models that do not support a ``request`` keyword argument.\n+* Added support for Wagtail 2.... | Python | MIT License | rkhleics/wagtailmenus | CHANGELOG and release notes updates (#308) |
575,401 | 02.02.2019 14:57:12 | 0 | a85a428d8c1b6ab85c35ba2f4a7d98b974e48c4c | Update AbstractLinkPag. get_sitemap_urls() signature to match Wagtail 2.2 | [
{
"change_type": "MODIFY",
"old_path": "CONTRIBUTORS.md",
"new_path": "CONTRIBUTORS.md",
"diff": "* Michael van de Waeter (mvdwaeter)\n* Philipp Bosch (philippbosch) (A Color Bright)\n* Oktay Altay (OktayAltay)\n+* Dan Bentley (danbentley)\n## Translators\n"
},
{
"change_type": "MODIFY",
... | Python | MIT License | rkhleics/wagtailmenus | Update AbstractLinkPag. get_sitemap_urls() signature to match Wagtail 2.2 (#310) |
575,403 | 16.03.2019 09:31:09 | 0 | b1183b59976a187a6e25b447a2e7d26c64fe31bb | Update 2.13.rst | [
{
"change_type": "MODIFY",
"old_path": "docs/source/releases/2.13.rst",
"new_path": "docs/source/releases/2.13.rst",
"diff": "@@ -16,7 +16,7 @@ Wagtailmenus 2.13 (alpha) release notes\nWhat's new?\n===========\n-TBA\n+There are no new major features in this release.\nMinor changes & bug fixes\n@@ -2... | Python | MIT License | rkhleics/wagtailmenus | Update 2.13.rst |
575,403 | 16.03.2019 22:03:28 | 0 | d4bdd8db495d1b51b14d957c7a4482504207b71f | Fix example development settings | [
{
"change_type": "MODIFY",
"old_path": "wagtailmenus/settings/development.py.example",
"new_path": "wagtailmenus/settings/development.py.example",
"diff": "@@ -13,7 +13,6 @@ INSTALLED_APPS += (\n'debug_toolbar',\n'wagtailmenus.tests',\n'wagtailmenus.development',\n- 'wagtail.contrib.wagtailstyleguid... | Python | MIT License | rkhleics/wagtailmenus | Fix example development settings (#315) |
575,403 | 16.03.2019 22:21:10 | 0 | cd94e495b4218fc9c8515203f15e964c1194dfd7 | Respect the WAGTAILMENUS_USE_CONDENSEDINLINEPANEL setting | [
{
"change_type": "MODIFY",
"old_path": "wagtailmenus/panels.py",
"new_path": "wagtailmenus/panels.py",
"diff": "@@ -17,7 +17,10 @@ from wagtailmenus.conf import settings\ndef _define_inlinepanel(relation_name, **kwargs):\nklass = InlinePanel\ndefaults = {'label': _('menu items')}\n- if 'condensedinl... | Python | MIT License | rkhleics/wagtailmenus | Respect the WAGTAILMENUS_USE_CONDENSEDINLINEPANEL setting (#316) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.