Skip to content

Commit b84bbf2

Browse files
committed
Update changelog, workflow & remove bandit
1 parent c999004 commit b84bbf2

File tree

5 files changed

+11
-347
lines changed

5 files changed

+11
-347
lines changed

.bandit_baseline.json

Lines changed: 0 additions & 342 deletions
This file was deleted.

.github/workflows/docker-image.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Create and publish a Docker image
33

44
on:
55
push:
6-
branches: ['master']
6+
branches: ['main', 'develop']
77

88
env:
99
REGISTRY: ghcr.io

.github/workflows/lints.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,6 @@ jobs:
2222
run: |
2323
python -m pip install --upgrade pip pipenv
2424
pipenv install --dev --system
25-
# to refresh: bandit -f json -o .bandit_baseline.json -r .
26-
# - name: Bandit syntax check
27-
# run: bandit -r . -b .bandit_baseline.json
2825
- name: Pylint
2926
run: pylint ./bot.py cogs/*.py core/*.py --exit-zero -r y
3027
continue-on-error: true

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,23 @@ however, insignificant breaking changes do not guarantee a major version bump, s
1212
- `?alias make/create` as aliases to `?alias add`. This improves continuity between the bot and its command structure. ([PR #3195](https://github.com/kyb3r/modmail/pull/3195))
1313
- Loading the blocked list with the `?blocked` command takes a long time when the list is large. ([PR #3242](https://github.com/kyb3r/modmail/pull/3242))
1414
- Reply not being forwarded from DM. (PR [#3239](https://github.com/modmail-dev/modmail/pull/3239))
15+
- Fix changing from disabling all threads (`?disable all`) to new threads only (`?disable new`) not updating `dm_disabled` config
16+
- A few typo in `config_help.json` and corrected its formatting
17+
- Fixed typo for silent close command
1518

1619
### Added
1720
- New .env config option: `REGISTRY_PLUGINS_ONLY`, restricts to only allow adding registry plugins. ([PR #3247](https://github.com/modmail-dev/modmail/pull/3247))
21+
- Added custom database name detection in `CONNECTION_URI`
1822

1923
### Changed
2024
- Guild icons in embed footers and author urls now have a fixed size of 128. ([PR #3261](https://github.com/modmail-dev/modmail/pull/3261))
2125
- Repo moved to https://github.com/modmail-dev/modmail.
26+
- Optimized Dockerfile for smaller overall image size
27+
- Removed unused dependencies from requirements.txt
28+
- Migrated all dependencies from `requirements.txt` to `Pipfile`
29+
- Edited .env.example to only include what's necessary
30+
- Changed `confirm_thread_creation` reactions to buttons
31+
- Removed bandit from dev dependencies
2232

2333
# v4.0.2
2434

Pipfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ url = "https://pypi.org/simple"
44
verify_ssl = true
55

66
[dev-packages]
7-
bandit = "~=1.7.0"
87
black = "==22.3.0"
98
pylint = "~=2.9.3"
109
typing-extensions = "==4.2.0"

0 commit comments

Comments
 (0)