From c7094ee8f984c1234cb682845baec643abea74a7 Mon Sep 17 00:00:00 2001 From: Michael Kochell <6913320+mickmister@users.noreply.github.com> Date: Mon, 5 Feb 2024 11:07:26 -0500 Subject: [PATCH] Remove section in README about version 1.2.0 (#95) * remove section in README about version 1.2.0 * exclude unused-parameter golangci lint rule --- .golangci.yml | 3 +++ README.md | 19 +------------------ 2 files changed, 4 insertions(+), 18 deletions(-) diff --git a/.golangci.yml b/.golangci.yml index d73f4b9..2e1b9bc 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -56,3 +56,6 @@ issues: - bodyclose - goconst - scopelint # https://github.com/kyoh86/scopelint/issues/4 + - linters: + - revive + text: unused-parameter diff --git a/README.md b/README.md index 8fb5c8b..9b91762 100644 --- a/README.md +++ b/README.md @@ -11,19 +11,12 @@ This plugin adds custom attributes to users in your Mattermost instance. You can specify an Attribute, and then specify specific users, teams or groups which will display that attribute on their public profile - so other users can identify them easily. This can be useful when there are Team Leads, Timezones, etc. and makes it easy to show who is on a particular team or Project. -Currently the plugin only exposes the specified attributes in the user profile popover, but this plugin could be extended to allow displaying attributes elsewhere in the user interface, such as badges next to usernames. +Currently the plugin only exposes the specified attributes in the user profile popover, but this plugin could be extended to allow displaying attributes elsewhere in the user interface, such as badges next to usernames. To use the "Group" features in this plugin requires a [Mattermost E20 License](https://mattermost.com/pricing/) to enable the AD/LDAP Groups Feature. We use this plugin on https://community.mattermost.com to distinguish Mattermost core committers and staff. ![image](https://user-images.githubusercontent.com/13119842/58710612-b5c7b380-838a-11e9-9974-4487daf82da5.png) - -# Version 1.20 (Latest) - -## Requirements -- Mattermost Sever 5.20+ -- To use the "Group" features in this plugin requires a [Mattermost E20 License](https://mattermost.com/pricing/) to enable the AD/LDAP Groups Feature - ## Installation Install via Plugin Marketplace (Recommended) @@ -55,16 +48,6 @@ Their respective profile popovers display their information: ![2020-04-14_12-19-24](https://user-images.githubusercontent.com/915956/79267480-169a9600-7e4e-11ea-8c04-4775a395ff5b.png) - -# Version 1.10 and Below instructions - -## Configuration - -1. Go to **System Console > Plugins > Management** and click **Enable** to enable the Customer Attributes plugin. - - If you are running Mattermost v5.11 or earlier, you must first go to the [releases page of this GitHub repository](https://github.com/mattermost/mattermost-plugin-custom-attributes/releases), download the latest release, and upload it to your Mattermost instance [following this documentation](https://docs.mattermost.com/administration/plugins.html#plugin-uploads). - -2. Modify your `config.json` file to include your custom attributes, under the `PluginSettings`. See below for an example of what this should look like. - ## Usage To add a custom attribute, edit your `config.json` file and add a "CustomAttributes" field. This field contains an array of the attributes you want to add.