From ace9e387d95784ba10ff74c5ab5ca95275d18bc2 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Thu, 24 Jan 2019 20:37:44 +0100 Subject: [PATCH] add changes for v1.7.0 --- tasks/install.yml | 1 + templates/custom/conf/app.ini.j2 | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/tasks/install.yml b/tasks/install.yml index 4520835..a5f38fa 100644 --- a/tasks/install.yml +++ b/tasks/install.yml @@ -33,6 +33,7 @@ src: "{{ gitea_bin_dir }}/gitea-{{ gitea_version }}" dest: "{{ gitea_base_dir }}/gitea-latest" state: link + notify: __gitea_restart become: True become_user: "{{ gitea_user }}" when: not gitea_installed.stat.exists or gitea_current.stdout is version_compare(gitea_version, operator='<', strict=True) diff --git a/templates/custom/conf/app.ini.j2 b/templates/custom/conf/app.ini.j2 index 26b9eae..72f8907 100644 --- a/templates/custom/conf/app.ini.j2 +++ b/templates/custom/conf/app.ini.j2 @@ -113,6 +113,7 @@ DEFAULT_KEEP_EMAIL_PRIVATE = false ENABLE_TIMETRACKING = true {% if gitea_mail_service_enabled %} ENABLE_NOTIFY_MAIL = true +ENABLE_USER_HEATMAP = true [mailer] ENABLED = true @@ -172,3 +173,7 @@ UPDATE_EXISTING = true SHOW_FOOTER_BRANDING = false SHOW_FOOTER_VERSION = false SHOW_FOOTER_TEMPLATE_LOAD_TIME = false + +[metrics] +ENABLED = false +TOKEN =