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

[pull] master from kyb3r:master #70

Merged
merged 276 commits into from
Mar 12, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
276 commits
Select commit Hold shift + click to select a range
a6ebd81
Sending files in threads (non-images) now work. resolves #2926
fourjr Jan 6, 2021
beb73d8
Deleting messages no longer shows a false error, resolves #2910
fourjr Jan 6, 2021
1de48fd
Linting
fourjr Jan 6, 2021
6cb26a7
Fix `?perms get` command showing IDs instead of user or role mentions.
Jerrie-Aries Jan 7, 2021
baf9a5b
Support discord.py v1.6 & LOTTIE stickers
fourjr Jan 8, 2021
a4684fe
Release v3.8
fourjr Jan 8, 2021
b3c47e4
Merge pull request #2927 from Jerrie-Aries/development
fourjr Jan 8, 2021
bb81225
Linting & Changelog
fourjr Jan 8, 2021
60bd4a7
Merge branch 'development' of https://github.com/kyb3r/modmail into d…
fourjr Jan 8, 2021
35f24ee
Update to v3.8.0 - Merge from development into master
fourjr Jan 8, 2021
68fa13a
Fix bug when sending multiple images at once.
Jerrie-Aries Jan 10, 2021
8d72b79
Fix error when reacting on confirm thread creation message.
Jerrie-Aries Jan 10, 2021
d19adcf
Update changelog
fourjr Jan 11, 2021
80010ca
Autotriggers no longer sends attachments back. resolves #2932
fourjr Jan 11, 2021
bdbebff
Merge branch 'development'
fourjr Jan 11, 2021
2efd4a5
Fix `logs` command without argument in thread channel when the recipi…
Jerrie-Aries Jan 13, 2021
232accb
Fix error raised when recipient is not cached and reacts to reactions…
Jerrie-Aries Jan 13, 2021
cc17001
Fixed bug with update notifiations
fourjr Jan 14, 2021
d00b562
Retry with diff name if channel cant be created resolves #2934
fourjr Jan 14, 2021
04b706b
Merge commit '232accba33a700b48cda451980774fc7fe188cc5' into development
fourjr Jan 14, 2021
0ab4eaf
Retrieve user from Discord API if user has left the server, #2935 #2936
fourjr Jan 14, 2021
9a8f61e
IDs in `<member>` commands work now.
fourjr Jan 14, 2021
efdc606
Merge branch 'development'
fourjr Jan 14, 2021
a56f947
update version in discord version error string
ayamdobhal Jan 24, 2021
0a9c35a
Merge pull request #2943 from AyamDobhal/patch-1
fourjr Jan 24, 2021
8b893bd
Hotfix: Corrupted data no longer saved to thread cache
fourjr Feb 1, 2021
6f28445
Merge branch 'master' of https://github.com/kyb3r/modmail
fourjr Feb 1, 2021
308d669
Bump version
fourjr Feb 1, 2021
d81e67b
3.8.4 - Another fix attempt
fourjr Feb 2, 2021
7b2e63d
Improved cache saving methods
fourjr Feb 2, 2021
4054c51
Ability to disable mention on thread creation.
Jerrie-Aries Feb 2, 2021
15a38bc
Update thread move message in case `mention` was set to disable/None.
Jerrie-Aries Feb 2, 2021
0bfb02e
Formatting...
Jerrie-Aries Feb 2, 2021
270483f
Apply suggestions from code review
Jerrie-Aries Feb 3, 2021
c5a48f0
Fix typo in 'config_help.json' (#2957)
Jerrie-Aries Feb 28, 2021
049508f
Update README.md (#2955)
lorenzo132 Feb 28, 2021
907b10d
Add msglink command to get DM message URLs.
scragly Mar 7, 2021
5482bed
Add DM channel ID to genesis message footer.
scragly Mar 7, 2021
784aa4f
Amend typo and black formatting.
scragly Mar 7, 2021
31883e6
Merge remote-tracking branch 'origin/jumplink' into jumplink
scragly Mar 7, 2021
e0956c4
Improve messages
fourjr Mar 7, 2021
89e1555
Merge branch 'jumplink' into development
fourjr Mar 7, 2021
9d9a609
Changelog update
fourjr Mar 7, 2021
41d5593
Non-master/development branch deployments no longer cause erros to be…
fourjr Mar 7, 2021
ae88073
Merge branch 'dev-01' of https://github.com/Jerrie-Aries/modmail into…
fourjr Mar 7, 2021
f8982cf
Merge branch 'Jerrie-Aries-dev-01' into development
fourjr Mar 7, 2021
3c42c22
Update changelog
fourjr Mar 7, 2021
baa7e5f
Fix bug where autotriggers are in dm context, resolve #2961
fourjr Mar 7, 2021
480ad57
Merge branch 'development'
fourjr Mar 7, 2021
d24501b
Use the ID attribute of DM Channel.
scragly Mar 7, 2021
93b0270
Confirm thread creation when user opens a thread using react to contact.
Jerrie-Aries Mar 11, 2021
df41d31
Block new thread from react to contact when Modmail DM is disabled (n…
Jerrie-Aries Mar 11, 2021
fd6dfb7
Bot will not attempt to find for linked message when the recipient re…
Jerrie-Aries Mar 11, 2021
ccc8e6f
Fix previous commit.
Jerrie-Aries Mar 11, 2021
69a272e
Fix a few bad refs and typos
Taaku18 Mar 13, 2021
695baa5
Add local plugins
Taaku18 Mar 13, 2021
5146097
Add local plugin dir
Taaku18 Mar 13, 2021
d6ba02e
Add local plugins
Taaku18 Mar 13, 2021
b6b9e6c
Updated version, deps, and plugins code
Taaku18 Mar 13, 2021
bf1668a
Forgot to finish sentence
Taaku18 Mar 13, 2021
7454a80
Merge pull request #2972 from kyb3r/local-plugins
Taaku18 Mar 13, 2021
ee2f25a
Merge branch 'master' into development
fourjr Mar 14, 2021
dee5228
new plugin
6days9weeks Mar 15, 2021
e42546a
Potentially breaking: improved plugin events
fourjr Mar 19, 2021
2ebf39e
Merge branch 'dmid-fix' of git://github.com/scragly/modmail into scra…
fourjr Mar 19, 2021
ac37091
Merge branch 'scragly-dmid-fix' into development
fourjr Mar 19, 2021
4d65cab
Merge branch 'dev-01' of git://github.com/Jerrie-Aries/modmail into J…
fourjr Mar 19, 2021
dd23edf
Fix bug where cancelled still attempts to start thread
fourjr Mar 19, 2021
6b26e30
Merge branch 'Jerrie-Aries-dev-07' into development
fourjr Mar 19, 2021
9d4813d
Changelog & Ghost errors are no longer raised when threads are create…
fourjr Mar 19, 2021
25608c2
Merge branch 'action-plugin' of git://github.com/6days9weeks/modmail …
fourjr Mar 19, 2021
2867f24
Merge branch '6days9weeks-action-plugin'
fourjr Mar 19, 2021
5efdbbe
Add reaciton menu plugin
fourjr Mar 19, 2021
b008d8a
better run command, 3.9.1
Taaku18 Mar 21, 2021
380ea6a
add music plugin
lorenzo132 Mar 25, 2021
40ac09b
Merge pull request #2984 from lorenzo132/patch-1
Taaku18 Mar 26, 2021
c434a1e
Update registry.json
lorenzo132 Mar 26, 2021
4ecff8a
Merge pull request #2985 from lorenzo132/patch-2
Taaku18 Mar 26, 2021
68d8d88
Update bot.py
lorenzo132 Mar 28, 2021
9fedb5b
Update models.py
lorenzo132 Mar 28, 2021
af7b4f3
Merge branch 'lorenzo132-development22' into development
fourjr Mar 31, 2021
0f78ce8
Merge branch 'master' into development
fourjr Mar 31, 2021
e3d1ab8
Force update dev? Weird history
fourjr Mar 31, 2021
159a5ae
Proper update dev
fourjr Mar 31, 2021
b6e2dad
Add docker hostingmethod
fourjr Mar 31, 2021
de36b95
Update config_help.json
lorenzo132 Mar 19, 2021
4b16d10
Merge branch 'lorenzo132-patch-5' into development
fourjr Mar 31, 2021
3105235
Bump versions
fourjr Mar 31, 2021
7026147
Merge branch 'development'
fourjr Mar 31, 2021
edf6364
Update readme
fourjr Mar 31, 2021
20877d9
did i not commit this
fourjr Mar 31, 2021
fa6cf62
Update `mention` command.
Jerrie-Aries Apr 3, 2021
a4389b4
Add Coolguy (Prime Servers) to SPONSORS
Coolguy3289 Apr 5, 2021
d77d47d
Small correction
Coolguy3289 Apr 5, 2021
b4ac84f
Add Coolguy (Prime Servers) to SPONSORS
Coolguy3289 Apr 5, 2021
4f52b68
Update to HTTPS
Coolguy3289 Apr 6, 2021
4da97a7
Update to HTTPS
Coolguy3289 Apr 6, 2021
2306559
v3.9.3 add use_user_id_channel_name
Taaku18 Apr 8, 2021
a0e580c
black
Taaku18 Apr 8, 2021
3e4d9b0
Possibly fix emoji problem
Taaku18 Apr 12, 2021
ac2e0c6
Cleaner code :D
Jerrie-Aries Apr 12, 2021
c74e5f4
Bump python runtime version
infinitepower18 Apr 14, 2021
404decc
Update sponsors
Taaku18 Apr 24, 2021
58e8944
Add docker-compose configuration for self hosting
redstonedesigner Apr 24, 2021
b145cf1
Change Max Channel per Category to 49, fix fallback save logic
fourjr Apr 25, 2021
3877041
Merge branch 'master' of https://github.com/kyb3r/modmail
fourjr Apr 25, 2021
2163484
Merge branch 'patch-1' of git://github.com/codeinteger6/modmail into …
fourjr Apr 25, 2021
ecbde29
Merge branch 'codeinteger6-patch-1' into development
fourjr Apr 25, 2021
44750f1
Merge branch 'patch-2' of git://github.com/Coolguy3289/modmail into C…
fourjr Apr 25, 2021
26eaada
Merge branch 'Coolguy3289-patch-2' into development
fourjr Apr 25, 2021
535c114
Merge branch 'dev-01' of git://github.com/Jerrie-Aries/modmail into J…
fourjr Apr 25, 2021
8aa3a89
Merge branch 'Jerrie-Aries-dev-01-2' into development
fourjr Apr 25, 2021
b557a9b
There is now a proper message when trying to contact a bot.
fourjr Apr 25, 2021
ea52a8b
Changelog - v3.9.4
fourjr Apr 25, 2021
2e58872
Merge branch 'development'
fourjr Apr 25, 2021
5241e54
Fix typo
fourjr Apr 25, 2021
7ed1fcb
add fourjr claim
fourjr Apr 25, 2021
c1dcf7f
Add volume for persistent data storage to Mongo
redstonedesigner Apr 25, 2021
7024866
Update pyproject.toml
lorenzo132 Apr 25, 2021
aec76a0
Update README.md
lorenzo132 Apr 25, 2021
3717df6
Update sponsors
Taaku18 Apr 26, 2021
b101530
Fix typo in config help.
StephenDaDev Apr 28, 2021
9bb615b
Update 'bot.py' and 'clients.py':
Jerrie-Aries Apr 28, 2021
6b00612
Update database after resetting/purging all plugins.
Jerrie-Aries Apr 28, 2021
fbb45e3
`plugin reset`, remove unloaded plugins from `self.loaded_plugins`
Jerrie-Aries Apr 30, 2021
039b4b9
turn mentions into set
RealCyGuy May 5, 2021
ef4b5b2
Hopefully resolves #3022.
Jerrie-Aries May 11, 2021
08bc39b
Improve contact and react to contact:
Jerrie-Aries May 11, 2021
a6c24d9
Remove publish plugin
infinitepower18 May 14, 2021
00dfd61
Merge pull request #3031 from codeinteger6/patch-2
fourjr May 24, 2021
c71efc3
Merge pull request #3008 from StephenDaDev/patch-1
fourjr May 24, 2021
98f731c
Merge pull request #3007 from lorenzo132/master
fourjr May 24, 2021
e002867
Merge branch 'dev-03' of git://github.com/Jerrie-Aries/modmail into J…
fourjr May 24, 2021
d912146
Merge branch 'Jerrie-Aries-dev-03' into development
fourjr May 24, 2021
3b8b662
Merge branch 'dev-02' of git://github.com/Jerrie-Aries/modmail into J…
fourjr May 24, 2021
03bacc1
Merge branch 'Jerrie-Aries-dev-02' into development
fourjr May 24, 2021
7073fca
Initial 3.9.5-dev1
fourjr May 24, 2021
4f09b92
Merge
fourjr May 24, 2021
204c538
Update registry.json
lorenzo132 May 31, 2021
5fab5b7
Merge pull request #3040 from lorenzo132/patch-1
Taaku18 May 31, 2021
5648289
Group conversation ALPHA #143
fourjr Jun 2, 2021
82047db
Remove debug
fourjr Jun 2, 2021
f6b5bf7
Push ver
fourjr Jun 2, 2021
975b158
Fix closes for group conversations
fourjr Jun 3, 2021
e794325
Bump version
fourjr Jun 3, 2021
e6d682b
Update registry.json
RealCyGuy Jun 6, 2021
882c60e
Changelog
fourjr Jun 9, 2021
e48eed5
Add solution to CERTIFICATE_VERIFY_FAILED
Taaku18 Jun 20, 2021
1a6ae31
New issue forms
fourjr Jun 26, 2021
bbe4c00
formatting
fourjr Jun 26, 2021
5567071
Update SPONSORS.json
Taaku18 Jul 2, 2021
a69d79e
fix issue template
fourjr Jul 4, 2021
04dc08b
Update requirements system and removed poetry
Taaku18 Jul 7, 2021
f976165
Sort pipfile
Taaku18 Jul 7, 2021
b5f5930
Remove flake8 from req, use new rec line-width of 110, black format
Taaku18 Jul 7, 2021
b3a2918
Remove flake8 from req, use new rec line-width of 110, black format
Taaku18 Jul 7, 2021
77a1ac4
Add dnspython (pymongo[srv]) as req
Taaku18 Jul 8, 2021
79acb35
Updates channel.move, bot.close, emoji changes
Taaku18 Jul 8, 2021
69d69e6
Keep more log files
Taaku18 Jul 8, 2021
703f04f
Bump version
Taaku18 Jul 8, 2021
3ed0eb7
Black format
Taaku18 Jul 8, 2021
2ace13f
Updated sponsors
Taaku18 Jul 8, 2021
1efdc34
Improved dockerfile
Taaku18 Jul 9, 2021
2c26227
Add restart and environment for bot
Taaku18 Jul 9, 2021
37e2485
Merge pull request #3004 from redstonedesigner/redstonedesigner-patch-1
Taaku18 Jul 9, 2021
05cde28
Update sponsors
Taaku18 Jul 9, 2021
10f1bcc
Update modmail.py
lorenzo132 Jul 10, 2021
d726b78
Merge pull request #3070 from lorenzo132/patch-4
Taaku18 Jul 10, 2021
0056ad9
Merge remote-tracking branch 'origin/dep-update'
fourjr Jul 22, 2021
1a238b3
Formatting and final updates to deps
fourjr Jul 22, 2021
8db612b
formatting
fourjr Jul 22, 2021
7e86407
Merge remote-tracking branch 'origin/ssl-err'
fourjr Jul 22, 2021
cf65018
Fix SSL Error
fourjr Jul 22, 2021
22fd835
Changelog
fourjr Jul 22, 2021
52c0fb3
bump v
fourjr Jul 22, 2021
c7514b1
Fix failing Docker build
nikkelma Jul 26, 2021
c5eb0dd
Merge pull request #3074 from nikkelma/fix-docker-build
Taaku18 Jul 26, 2021
3e04dd0
Fix UnicodeEncodeError on Windows. (#3043)
Jerrie-Aries Aug 1, 2021
d50ec33
Plugins: add Python Discord's
Akarys42 Aug 2, 2021
d07b1a8
Let snippets be invoked case-insensitively.
Qwerty-133 Aug 3, 2021
8d6cdab
Merge branch 'development' of https://github.com/kyb3r/modmail into d…
fourjr Aug 6, 2021
e579568
Merge from master
fourjr Aug 6, 2021
f99245f
Update changelogs
fourjr Aug 6, 2021
7f6c589
Merge branch 'patch-01' of git://github.com/Jerrie-Aries/modmail into…
fourjr Aug 6, 2021
435e8d5
Merge branch 'Jerrie-Aries-patch-01' into development
fourjr Aug 6, 2021
dc7a61d
Update changelog
fourjr Aug 6, 2021
8321e73
Merge branch 'remove-duplicate-notifications' of git://github.com/Rea…
fourjr Aug 6, 2021
927ac8d
Merge branch 'RealCyGuy-remove-duplicate-notifications'
fourjr Aug 6, 2021
2ab65a0
Merge pull request #3042 from RealCyGuy/patch-1
fourjr Aug 6, 2021
07f372f
Merge branch 'master' of git://github.com/Qwerty-133/modmail into Qwe…
fourjr Aug 6, 2021
3358622
Improved way to do case insensitive snippets
fourjr Aug 6, 2021
f30959a
Merge branch 'Qwerty-133-master' into development
fourjr Aug 6, 2021
c00e6be
Update changelog and merge issues
fourjr Aug 6, 2021
0c9c129
Formatting
fourjr Aug 6, 2021
323a557
Fix contact with category and silent, #3076
fourjr Aug 6, 2021
0c49598
Resolve close_on_leave_reason not properly working
fourjr Aug 6, 2021
adac1de
Invalid arguments are now properly catched and a proper error message…
fourjr Aug 6, 2021
dcfdfea
Removeuser (resolve #3065), silent adding/removing (#3054)
fourjr Aug 6, 2021
00eb779
Formatting
fourjr Aug 6, 2021
417f303
add multiple users to a thread (resolve #3066), new group config options
fourjr Aug 6, 2021
d240e56
Formatting
fourjr Aug 6, 2021
ebcfe4e
Fix formatter, allow add by roles (resolve #3053)
fourjr Aug 6, 2021
835390b
Remove tagging and case insensitive plugins
fourjr Aug 6, 2021
ae531c4
Merge pull request #3079 from Akarys42/registry/add-pydis-plugins
fourjr Aug 6, 2021
0377176
Merge branch 'development' of https://github.com/kyb3r/modmail; branc…
fourjr Aug 6, 2021
27995df
Merge branch 'Jerrie-Aries-patch-03' into development
fourjr Aug 6, 2021
fe11759
Changelog
fourjr Aug 6, 2021
1a885bc
Use highest hoisted role as default tag, resolves #3014
fourjr Aug 7, 2021
3407e05
Reload thread cache only when it's the first on_ready trigger. Resolv…
fourjr Aug 7, 2021
20b31f8
Resolve linked messages issues, improve group functionality (bugfixes…
Jerrie-Aries Aug 7, 2021
ddbee35
Persistent notes are now properly deleted,resolve #3013
fourjr Aug 7, 2021
a71c1c7
Fix changelog formatting
fourjr Aug 7, 2021
476994a
Fix changelog formatting
fourjr Aug 7, 2021
68ede9d
Fix changelog formatting
fourjr Aug 7, 2021
daf04b0
New thread related config, resolves #3072
fourjr Aug 7, 2021
145788e
Resolve issues with deleting messages
fourjr Aug 7, 2021
9343298
use_timestamp_channel_name config
fourjr Aug 7, 2021
0ebf364
formatting
fourjr Aug 7, 2021
fcc3fad
add documentation and fix timestamp related bugs
fourjr Aug 7, 2021
55b311f
Initial commit
popeeyy Aug 8, 2021
115ccfa
Bug fixes and debug removal
popeeyy Aug 8, 2021
a24cae3
Remove debug
popeeyy Aug 8, 2021
4c0d871
Remove additional debug
popeeyy Aug 8, 2021
ed0631c
Update bot.py
popeeyy Aug 8, 2021
25cba86
Edit error message
popeeyy Aug 8, 2021
bc45118
move format_channel_name to Bot, resolve #2982
fourjr Aug 8, 2021
cc890c4
Formatting
fourjr Aug 8, 2021
f3c2246
bump ver
fourjr Aug 8, 2021
8ab48fc
Bug fixes
fourjr Aug 8, 2021
736863b
Redo alias conversion
popeeyy Aug 9, 2021
e31cc76
Remove redundant category checks
fourjr Aug 10, 2021
499d947
Merge branch 'master' of https://github.com/kyb3r/modmail
fourjr Aug 10, 2021
0110130
?contact accepts multiple users, or role #3082
fourjr Aug 17, 2021
e460565
Merge branch 'master' into development
fourjr Aug 17, 2021
86ccf50
Merge branch 'autotrigger-alias' into development
fourjr Aug 21, 2021
936585a
Changelog and fix bot perm level
fourjr Aug 21, 2021
7a4582d
Remove extra loop.close
fourjr Aug 21, 2021
4e54fd4
Push version to 3.10
fourjr Sep 4, 2021
b30e0d7
Quick bugfix on config help and debug hastebin
fourjr Sep 4, 2021
4ef8033
Fix bug where snippet add did not check command name
fourjr Sep 4, 2021
83225e9
v3.10.1 - fix edit cmd
fourjr Sep 4, 2021
a2f5731
Fix contact
fourjr Sep 4, 2021
ed7a2ae
bump ver
fourjr Sep 4, 2021
778574e
oops
fourjr Sep 4, 2021
3d494bb
Add phish checker plugin
TheDiscordHistorian Oct 21, 2021
6c481b4
Merge pull request #3113 from TheDiscordHistorian/patch-1
Taaku18 Nov 5, 2021
b02934d
Added sponsor
Taaku18 Nov 8, 2021
80dafca
Update SPONSORS.json
Taaku18 Nov 8, 2021
a1aacbf
Update bandit baseline:
fourjr Nov 20, 2021
9b58b99
3.10.3 contact fix
Taaku18 Feb 8, 2022
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
67 changes: 41 additions & 26 deletions .bandit_baseline.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"errors": [],
"generated_at": "2020-11-12T15:17:38Z",
"generated_at": "2021-11-20T17:06:28Z",
"metrics": {
"./bot.py": {
"CONFIDENCE.HIGH": 1.0,
Expand All @@ -11,7 +11,7 @@
"SEVERITY.LOW": 1.0,
"SEVERITY.MEDIUM": 0.0,
"SEVERITY.UNDEFINED": 0.0,
"loc": 1264,
"loc": 1406,
"nosec": 0
},
"./cogs/modmail.py": {
Expand All @@ -23,7 +23,7 @@
"SEVERITY.LOW": 0.0,
"SEVERITY.MEDIUM": 0.0,
"SEVERITY.UNDEFINED": 0.0,
"loc": 1280,
"loc": 1678,
"nosec": 0
},
"./cogs/plugins.py": {
Expand All @@ -35,7 +35,7 @@
"SEVERITY.LOW": 1.0,
"SEVERITY.MEDIUM": 0.0,
"SEVERITY.UNDEFINED": 0.0,
"loc": 572,
"loc": 597,
"nosec": 0
},
"./cogs/utility.py": {
Expand All @@ -47,7 +47,7 @@
"SEVERITY.LOW": 1.0,
"SEVERITY.MEDIUM": 1.0,
"SEVERITY.UNDEFINED": 0.0,
"loc": 1710,
"loc": 1768,
"nosec": 0
},
"./core/_color_data.py": {
Expand All @@ -63,15 +63,15 @@
"nosec": 0
},
"./core/changelog.py": {
"CONFIDENCE.HIGH": 0.0,
"CONFIDENCE.HIGH": 1.0,
"CONFIDENCE.LOW": 0.0,
"CONFIDENCE.MEDIUM": 0.0,
"CONFIDENCE.UNDEFINED": 0.0,
"SEVERITY.HIGH": 0.0,
"SEVERITY.LOW": 0.0,
"SEVERITY.LOW": 1.0,
"SEVERITY.MEDIUM": 0.0,
"SEVERITY.UNDEFINED": 0.0,
"loc": 145,
"loc": 159,
"nosec": 0
},
"./core/checks.py": {
Expand All @@ -83,7 +83,7 @@
"SEVERITY.LOW": 0.0,
"SEVERITY.MEDIUM": 0.0,
"SEVERITY.UNDEFINED": 0.0,
"loc": 89,
"loc": 105,
"nosec": 0
},
"./core/clients.py": {
Expand All @@ -95,7 +95,7 @@
"SEVERITY.LOW": 1.0,
"SEVERITY.MEDIUM": 0.0,
"SEVERITY.UNDEFINED": 0.0,
"loc": 585,
"loc": 598,
"nosec": 0
},
"./core/config.py": {
Expand All @@ -107,7 +107,7 @@
"SEVERITY.LOW": 0.0,
"SEVERITY.MEDIUM": 0.0,
"SEVERITY.UNDEFINED": 0.0,
"loc": 327,
"loc": 375,
"nosec": 0
},
"./core/decorators.py": {
Expand All @@ -131,7 +131,7 @@
"SEVERITY.LOW": 0.0,
"SEVERITY.MEDIUM": 0.0,
"SEVERITY.UNDEFINED": 0.0,
"loc": 199,
"loc": 204,
"nosec": 0
},
"./core/paginator.py": {
Expand All @@ -155,7 +155,7 @@
"SEVERITY.LOW": 0.0,
"SEVERITY.MEDIUM": 0.0,
"SEVERITY.UNDEFINED": 0.0,
"loc": 993,
"loc": 1097,
"nosec": 0
},
"./core/time.py": {
Expand All @@ -167,7 +167,7 @@
"SEVERITY.LOW": 0.0,
"SEVERITY.MEDIUM": 0.0,
"SEVERITY.UNDEFINED": 0.0,
"loc": 158,
"loc": 156,
"nosec": 0
},
"./core/utils.py": {
Expand All @@ -179,32 +179,32 @@
"SEVERITY.LOW": 0.0,
"SEVERITY.MEDIUM": 0.0,
"SEVERITY.UNDEFINED": 0.0,
"loc": 283,
"loc": 351,
"nosec": 0
},
"_totals": {
"CONFIDENCE.HIGH": 4.0,
"CONFIDENCE.HIGH": 5.0,
"CONFIDENCE.LOW": 0.0,
"CONFIDENCE.MEDIUM": 1.0,
"CONFIDENCE.UNDEFINED": 0.0,
"SEVERITY.HIGH": 0.0,
"SEVERITY.LOW": 4.0,
"SEVERITY.LOW": 5.0,
"SEVERITY.MEDIUM": 1.0,
"SEVERITY.UNDEFINED": 0.0,
"loc": 8989,
"loc": 9878,
"nosec": 0
}
},
"results": [
{
"code": "11 from datetime import datetime\n12 from subprocess import PIPE\n13 from types import SimpleNamespace\n",
"code": "13 from datetime import datetime\n14 from subprocess import PIPE\n15 from types import SimpleNamespace\n",
"filename": "./bot.py",
"issue_confidence": "HIGH",
"issue_severity": "LOW",
"issue_text": "Consider possible security implications associated with PIPE module.",
"line_number": 12,
"line_number": 14,
"line_range": [
12
14
],
"more_info": "https://bandit.readthedocs.io/en/latest/blacklists/blacklist_imports.html#b404-import-subprocess",
"test_id": "B404",
Expand Down Expand Up @@ -240,27 +240,42 @@
"test_name": "blacklist"
},
{
"code": "1985 try:\n1986 exec(to_compile, env) # pylint: disable=exec-used\n1987 except Exception as exc:\n",
"code": "2061 try:\n2062 exec(to_compile, env) # pylint: disable=exec-used\n2063 except Exception as exc:\n",
"filename": "./cogs/utility.py",
"issue_confidence": "HIGH",
"issue_severity": "MEDIUM",
"issue_text": "Use of exec detected.",
"line_number": 1986,
"line_number": 2062,
"line_range": [
1986
2062
],
"more_info": "https://bandit.readthedocs.io/en/latest/plugins/b102_exec_used.html",
"test_id": "B102",
"test_name": "exec_used"
},
{
"code": "68 \n69 def __init__(self, bot, access_token: str = \"\", username: str = \"\", **kwargs):\n70 self.bot = bot\n71 self.session = bot.session\n72 self.headers: dict = None\n73 self.access_token = access_token\n74 self.username = username\n75 self.avatar_url: str = kwargs.pop(\"avatar_url\", \"\")\n76 self.url: str = kwargs.pop(\"url\", \"\")\n77 if self.access_token:\n78 self.headers = {\"Authorization\": \"token \" + str(access_token)}\n79 \n80 async def request(\n",
"code": "2 import re\n3 from subprocess import PIPE\n4 from typing import List\n",
"filename": "./core/changelog.py",
"issue_confidence": "HIGH",
"issue_severity": "LOW",
"issue_text": "Consider possible security implications associated with PIPE module.",
"line_number": 3,
"line_range": [
3
],
"more_info": "https://bandit.readthedocs.io/en/latest/blacklists/blacklist_imports.html#b404-import-subprocess",
"test_id": "B404",
"test_name": "blacklist"
},
{
"code": "67 \n68 def __init__(self, bot, access_token: str = \"\", username: str = \"\", **kwargs):\n69 self.bot = bot\n70 self.session = bot.session\n71 self.headers: Optional[dict] = None\n72 self.access_token = access_token\n73 self.username = username\n74 self.avatar_url: str = kwargs.pop(\"avatar_url\", \"\")\n75 self.url: str = kwargs.pop(\"url\", \"\")\n76 if self.access_token:\n77 self.headers = {\"Authorization\": \"token \" + str(access_token)}\n78 \n79 @property\n80 def BRANCH(self):\n",
"filename": "./core/clients.py",
"issue_confidence": "MEDIUM",
"issue_severity": "LOW",
"issue_text": "Possible hardcoded password: ''",
"line_number": 69,
"line_number": 68,
"line_range": [
68,
69,
70,
71,
Expand Down
13 changes: 4 additions & 9 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -133,23 +133,18 @@ node_modules/
config.json
plugins/
!plugins/registry.json
!plugins/@local/
temp/
test.py

# Other stuff
.env.example
.gitignore
.lint.py
.pylintrc
.travis.yml
.github/
app.json
CHANGELOG.md
CODE_OF_CONDUCT.md
CONTRIBUTING.md
requirements.min.txt
Procfile
pyproject.toml
README.md
runtime.txt
SPONSORS.json
stack.yml
Pipfile
Pipfile.lock
38 changes: 0 additions & 38 deletions .github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

55 changes: 55 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
name: Bug Report
description: File a bug report
title: "[BUG]: your bug report title"
labels: "maybe: bug"
body:
- type: input
id: bot-info-version
attributes:
label: Bot Version
description: Check it with `@modmail about`
placeholder: eg. v3.9.4
validations:
required: true
- type: dropdown
id: bot-info-hosting
attributes:
label: How are you hosting Modmail?
description: You can check it with `@modmail about` if you are unsure
options:
- Heroku
- Systemd
- PM2
- Patreon
- Other
validations:
required: true
- type: input
id: logs
attributes:
label: Error Logs
placeholder: https://hastebin.cc/placeholder
description:
"If your Modmail bot is online, type `@modmail debug hastebin` and include the link here.

If your Modmail bot is not online or the previous command did not generate a link, do the following:

1. Select your *bot* application at https://dashboard.heroku.com

2. [Restart your bot](https://i.imgur.com/3FcrlKz.png)

3. Reproduce the error to populate the error logs

4. [Copy and paste the logs](https://i.imgur.com/TTrhitm.png)"
validations:
required: true
- type: textarea
id: screenshots
attributes:
label: Screenshots
description: "[optional] You may add screenshots to further explain your problem."
- type: textarea
id: additional-info
attributes:
label: Additional Information
description: "[optional] You may provide additional context for us to better understand how this issue occured."
23 changes: 0 additions & 23 deletions .github/ISSUE_TEMPLATE/command-request.md

This file was deleted.

5 changes: 5 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
blank_issues_enabled: false
contact_links:
- name: Discord Server
url: https://discord.gg/etJNHCQ
about: Please ask hosting-related questions here before creating an issue.
23 changes: 0 additions & 23 deletions .github/ISSUE_TEMPLATE/feature_request.md

This file was deleted.

Loading