Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release v1.11.0 #186

Merged
merged 52 commits into from
Mar 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
52 commits
Select commit Hold shift + click to select a range
d702e66
Update MS Teams docs
matt852 Oct 31, 2022
efb3b8e
Update docs/admin/install/microsoft_teams_setup.md
matt852 Nov 1, 2022
e6c4397
Merge pull request #162 from matt852/update_msteams_docs
smk4664 Nov 1, 2022
079ad72
Only check webex token if Webex is enabled
smk4664 Nov 10, 2022
4b8bda8
Indicate that Room and Channel are the same
smk4664 Nov 10, 2022
8e7fdfe
Left Align headers
smk4664 Nov 10, 2022
0558368
Update MS Teams ZIP file
matt852 Nov 15, 2022
ec08dec
Add WebSocket documentation.
smk4664 Nov 16, 2022
1dcb3cf
Add Towncrier for Changelog Documentation.
smk4664 Nov 16, 2022
cb16ebf
Update 166.added
smk4664 Nov 16, 2022
528b65d
Black
smk4664 Nov 16, 2022
c39fda3
Fix Documentation link
smk4664 Nov 16, 2022
447ca0f
Revert change for TYPE_CHANNEL
smk4664 Nov 16, 2022
174b546
Merge pull request #165 from matt852/update_msteams_zip
smk4664 Nov 21, 2022
f6d810e
Merge pull request #167 from smk4664/updates
smk4664 Nov 22, 2022
8d88517
Add upstream testing changes.
bryanculver Dec 5, 2022
b9e62b3
Previous defaults incompatible with pyproject.toml
bryanculver Dec 5, 2022
9842fd9
Test the workflow
bryanculver Dec 5, 2022
039beb7
Update __init__.py
jedelman8 Dec 20, 2022
ac74514
Fix minimum Nautobot Version
smk4664 Dec 23, 2022
3275556
Regenerate Poetry Lock
smk4664 Dec 23, 2022
a310e2f
Update Poetry to 1.2.0
smk4664 Dec 23, 2022
4c1acd4
Change extends 'base.html' to extends 'generic/object_list.html' in t…
briddo Jan 20, 2023
9617f04
Revert "Change extends 'base.html' to extends 'generic/object_list.ht…
briddo Jan 24, 2023
8b9b56c
Changed extends base.html to extends generic/object_list.html for lis…
briddo Jan 30, 2023
ee54abc
Removed unnecessary template blocks and updated .gitignore
briddo Jan 31, 2023
cd7b1e9
PR comments actioned
briddo Feb 1, 2023
7911b7a
Added required loads back
briddo Feb 1, 2023
4315961
Updates from feedback
bryanculver Feb 3, 2023
e332bff
Poetry install via script
bryanculver Feb 6, 2023
f749b61
No mount
bryanculver Feb 6, 2023
6bf94ef
Update CI specs
bryanculver Feb 6, 2023
b7a37d6
Poetry parallel is much more reliable these days
bryanculver Feb 7, 2023
1be8853
s/plugin/app/g
bryanculver Feb 7, 2023
87001ee
Merge pull request #171 from nautobot/bsc-2023-upstream-testing
smk4664 Feb 7, 2023
167001a
Add changelog fragment.
smk4664 Feb 7, 2023
0079dac
Merge remote-tracking branch 'upstream/develop' into jedelman8-patch-1
smk4664 Feb 7, 2023
1e4345c
Merge remote-tracking branch 'upstream/develop' into dpb-issue-174
smk4664 Feb 7, 2023
08c7adf
Remove unnecessary template code.
smk4664 Feb 7, 2023
2598c5e
Split description into multiple lines (pylint).
smk4664 Feb 7, 2023
bec9793
Add doc-strings.
smk4664 Feb 7, 2023
b61410a
Merge pull request #173 from nautobot/jedelman8-patch-1
smk4664 Feb 7, 2023
03ab9de
Add changelog fragment.
smk4664 Feb 7, 2023
7054d18
Merge pull request #175 from nautobot/dpb-issue-174
smk4664 Feb 7, 2023
5a30bf7
Add option to limit Help prompt based on user Access Grants.
smk4664 Feb 21, 2023
e46654d
Fix changelog fragment.
smk4664 Feb 21, 2023
d3901f6
Re-run black with updated version
smk4664 Feb 21, 2023
814a869
Merge pull request #183 from smk4664/permission_based_help
smk4664 Mar 11, 2023
aaadabf
Release 1.11.0
smk4664 Mar 11, 2023
e7e56de
Black
smk4664 Mar 11, 2023
dfe40ae
Add timeout for bandit.
smk4664 Mar 11, 2023
e9456b2
Merge pull request #185 from smk4664/release-1.11.0
smk4664 Mar 11, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
<!--
Thank you for your interest in contributing to Nautobot ChatOps! Please note
that our contribution policy recommends that a feature request or bug
report be opened for approval prior to filing a pull request. This
helps avoid wasting time and effort on something that we might not
be able to accept.

Please indicate the relevant feature request or bug report below.
-->
# Closes: #<ISSUE NUMBER GOES HERE>

## What's Changed
<!--
Please include:
- A summary of the proposed changes
- A sectioned breakdown for larger features under ## subheadings
- Screenshots, example payloads where relevant:
- Before/After for bugfixes
- Using a new feature
-->

## TODO
<!--
Please feel free to update todos to keep track of your own notes for WIP PRs.
-->
- [ ] Explanation of Change(s)
- [ ] Added change log fragment(s) (for more information see [the documentation](https://docs.nautobot.com/projects/chatops/en/latest/dev/dev_contributing/#creating-changelog-fragments))
- [ ] Attached Screenshots, Payload Example
- [ ] Unit, Integration Tests
- [ ] Documentation Updates (when adding/changing features)
- [ ] Outline Remaining Work, Constraints from Design
28 changes: 17 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,12 +103,8 @@ jobs:
strategy:
fail-fast: true
matrix:
python-version: ["3.7", "3.8", "3.9"]
nautobot-version: ["1.3.0", "1.4.2"]
# Also test Python 3.10 with Nautobot 1.3.x
include:
- python-version: "3.10"
nautobot-version: "1.4.2"
python-version: ["3.7", "3.8", "3.9", "3.10"]
nautobot-version: ["1.4.2", "latest"]
Comment on lines +106 to +107
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very quickly 3.7 will be removed too...

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, I have it removed in my 2.0 branch already.

runs-on: "ubuntu-20.04"
env:
INVOKE_NAUTOBOT_CHATOPS_PYTHON_VER: "${{ matrix.python-version }}"
Expand All @@ -122,11 +118,6 @@ jobs:
python-version: "${{ matrix.python-version }}"
- name: "Copy credentials"
run: "cp development/creds.example.env development/creds.env"
- name: "Remove Poetry Lock for Older Nautobot Tests"
run: "rm -f poetry.lock"
if: "matrix.nautobot-version != '1.4.2'"
- name: "Set Nautobot install to the testing version"
run: "poetry add nautobot==${{ matrix.nautobot-version }}"
- name: "Build Container"
run: "poetry run invoke build"
- name: "Run Tests"
Expand Down Expand Up @@ -196,3 +187,18 @@ jobs:
password: "${{ secrets.PYPI_API_TOKEN }}"
needs:
- "unittest"

changelog:
if: github.base_ref == 'develop' || github.base_ref == 'next'
runs-on: "ubuntu-20.04"
steps:
- name: "Check out repository code"
uses: "actions/checkout@v2"
with:
fetch-depth: "0"
- name: "Setup environment"
uses: "networktocode/gh-action-setup-poetry-environment@v2"
- name: "Check for changelog entry"
run: |
git fetch --no-tags origin +refs/heads/${{ github.base_ref }}:refs/remotes/origin/${{ github.base_ref }}
poetry run towncrier check --compare-with origin/${{ github.base_ref }}
13 changes: 13 additions & 0 deletions .github/workflows/upstream_testing.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
name: "Nautobot Upstream Testing"

on: # yamllint disable-line rule:truthy rule:comments
schedule:
- cron: "0 4 */2 * *" # every other day at midnight

jobs:
upstream-test:
uses: "nautobot/nautobot/.github/workflows/plugin_upstream_testing_base.yml@develop"
with: # Below could potentially be collapsed into a single argument if a concrete relationship between both is enforced
invoke_context_name: "NAUTOBOT_CHATOPS"
plugin_name: "nautobot-chatops-plugin"
24 changes: 2 additions & 22 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -193,28 +193,8 @@ $RECYCLE.BIN/
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839

# User-specific stuff
.idea/**/workspace.xml
.idea/**/tasks.xml
.idea/**/usage.statistics.xml
.idea/**/dictionaries
.idea/**/shelf

# Generated files
.idea/**/contentModel.xml

# Sensitive or high-churn files
.idea/**/dataSources/
.idea/**/dataSources.ids
.idea/**/dataSources.local.xml
.idea/**/sqlDataSources.xml
.idea/**/dynamic.xml
.idea/**/uiDesigner.xml
.idea/**/dbnavigator.xml

# Gradle
.idea/**/gradle.xml
.idea/**/libraries
# Jetbrains IDE configs
.idea/

# Gradle and Maven with auto-import
# When using Gradle or Maven with auto-import, you should exclude module files,
Expand Down
107 changes: 1 addition & 106 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,109 +1,4 @@
<!-- markdownlint-disable MD024 -->
# Changelog - Nautobot Plugin ChatOps

## 1.8.0

### Additions

Adds support For Nautobot 1.3

### Removes

Nautobot 1.0.x support
Python 3.6 support

## v1.7.0

### Additions

(#123) Adds export button of command usage
(#128) Adds QOL change for focusing of fields

### Fixes

(#129) Fixes errors on private messages
(#128) Access grants updates

## v1.6.0

### Additions

(#123) Added export button for chat command usage as CSV
(#120) Added `send_all_messages_private` setting

## v1.5.1

(#97) Fixes MS Teams Bold markdown. Moves from **<text>** to *<text>* to align with guides from Microsoft

## v1.5.0

### Updates

- Introduced support for MySQL database backends
- Introduced support for Nautobot Celery workers

### Fixes

#17 - Error with filtering by empty regions, no message back

## v1.4.1

### Updates

Minor update to better handle the versioning. This fixes an issue where the version number within Nautobot was not updated alongside the pyproject.toml.

## v1.4.0

Updates Nautobot ChatOps name for Webex Teams to Webex. As part of Cisco's renaming of Webex Teams to just Webex, the underlying configuration was updated.

### Fixes

(#68) Correct var names for Nautobot
(#61) Mattermost sending interactive Dialog

### Updates

(#63) Add additional Breadcrumbs
(#24) Rename Webex Teams to Webex

## v1.3.1

### Fixes
(#54) Reverted pinning of cryptography

## v1.3.0

Updates to pyjwt to address concerns with other dependencies in the Nautobot ecosystem.

### Updates

Updates pyjwt from 1.7.1 minimum to 2.1
Adds cryptography as separate requirement

## v1.2.0

- Replaces Slack client (slack_client) with Slack SDK (https://pypi.org/project/slack-sdk/)
- This update does not require any code changes to the bots that leverage Slack. This does require the update of system requirements on installation.

### Fixes
#2 - Cisco WebEx error on content too large

## v1.1.0

### What's New

Slack handling of list items > 100 items, now including a next option in the drop down list to get more options #10

### Bug Fixes
Updated MS Teams Zip File #29
Fix connection filter ordering #23

## v1.0.1

### FIXES

Fix issue with new Status field

## v1.0.0

Initial Release
The changelog has been moved to the [project release notes](https://docs.nautobot.com/projects/chatops/en/latest/admin/release_notes/).
Loading