diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 1bd477d..b8a8214 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -14,6 +14,15 @@ Change Log Unreleased ~~~~~~~~~~ +[3.0.0] - 2023-10-30 +~~~~~~~~~~~~~~~~~~~~ + +Changed +_______ + +* Renamed ``ConfigWatcherApp`` to ``ConfigWatcher`` to be less redundant. This is technically a breaking change but the app was not in use yet. +* Enabled ``ConfigWatcher`` as a plugin for LMS + [2.2.0] - 2023-10-27 ~~~~~~~~~~~~~~~~~~~~ diff --git a/edx_arch_experiments/__init__.py b/edx_arch_experiments/__init__.py index f0eaad3..04cb836 100644 --- a/edx_arch_experiments/__init__.py +++ b/edx_arch_experiments/__init__.py @@ -2,4 +2,4 @@ A plugin to include applications under development by the architecture team at 2U. """ -__version__ = '2.2.0' +__version__ = '3.0.0' diff --git a/edx_arch_experiments/config_watcher/apps.py b/edx_arch_experiments/config_watcher/apps.py index afb6d97..654657a 100644 --- a/edx_arch_experiments/config_watcher/apps.py +++ b/edx_arch_experiments/config_watcher/apps.py @@ -5,12 +5,15 @@ from django.apps import AppConfig -class ConfigWatcherApp(AppConfig): +class ConfigWatcher(AppConfig): """ Django application to report configuration changes to operators. """ name = 'edx_arch_experiments.config_watcher' + # Mark this as a plugin app + plugin_app = {} + def ready(self): from .signals import receivers # pylint: disable=import-outside-toplevel diff --git a/edx_arch_experiments/config_watcher/signals/receivers.py b/edx_arch_experiments/config_watcher/signals/receivers.py index 32d7d5f..1e3a436 100644 --- a/edx_arch_experiments/config_watcher/signals/receivers.py +++ b/edx_arch_experiments/config_watcher/signals/receivers.py @@ -75,7 +75,7 @@ def _report_waffle_delete(model_short_name, instance): { 'model': waffle.models.Flag, 'short_name': 'flag', - 'fields': ['everyone', 'percent', 'superusers', 'staff', 'authenticated', 'note', 'languages'], + 'fields': ['everyone', 'percent', 'note'], }, { 'model': waffle.models.Switch, diff --git a/setup.py b/setup.py index 16d460b..0a6fb7e 100644 --- a/setup.py +++ b/setup.py @@ -162,6 +162,7 @@ def is_requirement(line): entry_points={ "lms.djangoapp": [ "arch_experiments = edx_arch_experiments.apps:EdxArchExperimentsConfig", + "config_watcher = edx_arch_experiments.config_watcher.apps:ConfigWatcher", ], }, )