Skip to content

Commit

Permalink
Merge pull request #820 from CDLUC3/728-maintenance-remove-matomo-api…
Browse files Browse the repository at this point in the history
…-tracking-code

Remove Matomo API tracking code and Celery task queue
  • Loading branch information
sfisher authored Feb 20, 2025
2 parents ce7d03c + 1c35b35 commit 3f19862
Show file tree
Hide file tree
Showing 8 changed files with 357 additions and 1,007 deletions.
1 change: 0 additions & 1 deletion ansible/group_vars/all
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,6 @@ email_new_account: "{{ ssm_params['email_new_account'] }}"
link_checker_admin: "{{ ssm_params['link_checker_admin'] }}"
log_level: "{{ ssm_params['log_level'] }}"
matomo_site_id: "{{ ssm_params['matomo_site_id'] }}"
matomo_auth_token: "{{ ssm_params['matomo_auth_token'] }}"
opensearch_base: "{{ ssm_params['opensearch_base'] }}"
opensearch_index: "{{ ssm_params['opensearch_index'] }}"
opensearch_user: "{{ ssm_params['opensearch_user'] }}"
Expand Down
3 changes: 0 additions & 3 deletions ezidapp/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,3 @@
# see https://docs.celeryq.dev/en/stable/django/first-steps-with-django.html
# This will make sure the app is always imported when
# Django starts so that shared_task will use this app.
from ezidapp.celery import app as celery_app

__all__ = ('celery_app',)
110 changes: 0 additions & 110 deletions ezidapp/celery.py

This file was deleted.

34 changes: 0 additions & 34 deletions ezidapp/management/commands/proc-celery.py

This file was deleted.

3 changes: 1 addition & 2 deletions impl/ui_common.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,7 @@ def render(request, template, context={}):
"feed_cache": [], # ezidapp.management.commands.newsfeed.getLatestItems(),
"matomo_site_id": django.conf.settings.MATOMO_SITE_ID,
"debug": django.conf.settings.DEBUG,
"matomo_site_url": django.conf.settings.MATOMO_SITE_URL,
"matomo_site_id": django.conf.settings.MATOMO_SITE_ID,
"matomo_site_url": django.conf.settings.MATOMO_SITE_URL
}
ctx.update(context)
templ = django.template.loader.get_template(f'{template}.html')
Expand Down
Loading

0 comments on commit 3f19862

Please sign in to comment.