From 038181c494e129eabb6fbd2f6f878afcf83ff4d6 Mon Sep 17 00:00:00 2001 From: Erik Saaltink <167866698+erik-civity@users.noreply.github.com> Date: Fri, 20 Sep 2024 15:22:39 +0200 Subject: [PATCH] Release 1.1 (#3) * Remove mandatory Register button from UI + Versioning and Changelog * Update __init__.py * Update CHANGELOG.md --------- Co-authored-by: CKAN User Co-authored-by: HilariousGil --- CHANGELOG.md | 13 +++++++++++++ CHANGELOG.rst | 4 ---- ckanext/oauth2/__init__.py | 2 +- ckanext/oauth2/templates/header.html | 8 -------- 4 files changed, 14 insertions(+), 13 deletions(-) create mode 100644 CHANGELOG.md delete mode 100644 CHANGELOG.rst delete mode 100644 ckanext/oauth2/templates/header.html diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..5dd65ba --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,13 @@ +# Changelog + +The file contains all specific changes to the ckanext-oauth2. + +## 1.1.0 (...) +- `oauth2` + - Remove template that would make Register button always visible in the UI. -- ([CIVDEV-1058](https://civity.atlassian.net/browse/CIVDEV-1058)) + + +## 1.0.0 (2024-08-30) + +- `oauth2` + - First Civity Version diff --git a/CHANGELOG.rst b/CHANGELOG.rst deleted file mode 100644 index 49ae331..0000000 --- a/CHANGELOG.rst +++ /dev/null @@ -1,4 +0,0 @@ -CHANGELOG -========= - -Nothing yet diff --git a/ckanext/oauth2/__init__.py b/ckanext/oauth2/__init__.py index 9d37ea0..f47975b 100644 --- a/ckanext/oauth2/__init__.py +++ b/ckanext/oauth2/__init__.py @@ -17,5 +17,5 @@ # You should have received a copy of the GNU Affero General Public License # along with OAuth2 CKAN Extension. If not, see . -__version__ = '1.0.0' +__version__ = '1.1.0' __description__ = 'OAuth2 support for CKAN' diff --git a/ckanext/oauth2/templates/header.html b/ckanext/oauth2/templates/header.html deleted file mode 100644 index 89eab54..0000000 --- a/ckanext/oauth2/templates/header.html +++ /dev/null @@ -1,8 +0,0 @@ -{% ckan_extends %} - -{% if header_account_notlogged is defined %} - {% block header_account_notlogged %} -
  • {% link_for _('Log in'), named_route='user.login' %}
  • -
  • {% link_for _('Register'), named_route='user.register', class_='sub' %}
  • - {% endblock %} -{% endif %} \ No newline at end of file