jack1142
f9211ff50f
[Downloader] Fix UnboundLocalError in cog update that happened when cogs were already up-to-date. ( #3230 )
...
* Update downloader.py
* Create 3229.misc.rst
2019-12-27 18:53:38 -05:00
jack1142
aabdabf3bc
[Core] Prevent users from locking out themselves or guild owner with localblacklist ( #3221 )
...
* Update core_commands.py
* Update core_commands.py
* Create 3207.bugfix.rst
* Update core_commands.py
* Create 3221.bugfix.rst
* Update redbot/core/core_commands.py
Co-Authored-By: Michael H <michael@michaelhall.tech>
* Update bot.py
* Rename 3221.bugfix.rst to 3221.bugfix.1.rst
* Create 3221.bugfix.2.rst
* Update bot.py
Co-authored-by: Michael H <michael@michaelhall.tech>
2019-12-27 17:33:22 -05:00
jack1142
de229f63fe
[Downloader] Add more information to [p]repo info, [p]cog info and [p]findcog ( #3225 )
...
* Update downloader.py
* Update downloader.py
* Update downloader.py
* Create 3225.enhance.1.rst
* Create 3225.enhance.2.rst
* Create 3225.enhance.3.rst
* Update downloader.py
* Style fix, ready for review
2019-12-27 17:14:04 -05:00
jack1142
75c4bee8a3
[Core] Tell user that the (local) whitelist/blacklist is empty when using a list command. ( #3219 )
...
* Update core_commands.py
* Create 3219.bugfix.rst
2019-12-27 17:07:43 -05:00
zephyrkul
60a1b3294d
[CustomCom] add Query typehint for URI-based CCs ( #3228 )
...
* [cc] add Query typehint for URI query ccs
* Create 3228.enhance.rst
2019-12-27 11:43:25 -05:00
Michael H
ef99174585
prevent abuse cases with qualname length ( #3223 )
2019-12-26 17:20:59 -05:00
Michael H
8b18526f46
[Help] Fix embed size calculation for additional text ( #3208 )
...
* Fix size calculation for additional text
* changelog
* ffs
* because of course that's a thing
* *sigh*
* prevent an edge case
* more
* ...
* ...
2019-12-26 16:53:03 -05:00
Michael H
12af6232e2
[Docs] Config best practices ( #3189 )
...
* config best practices, resolves #3149
* Update framework_config.rst
* update to config wording
2019-12-26 15:34:59 -05:00
Michael H
153f4d20f1
exta info in docs about context attrs ( #3151 )
...
* exta info in docs about context attrs
* changelog
* slight addition for clarity
2019-12-26 15:34:37 -05:00
jack1142
df5cfabfe5
[Core] Use [p] for command prefix in help docstring of [p]removepath ( #3214 )
...
* Update cog_manager.py
* Create 3214.misc.rst
2019-12-24 22:57:21 -05:00
Michael H
bf6297aaf2
Add a small wrapper for APSW use ( #3202 )
...
* Add a small wrapper for APSW use
* changelog
2019-12-22 13:18:31 -05:00
jack1142
b72c05d3d4
[Core] Print a link to the guide explaining how to obtain token when Red prompts for it ( #3204 )
...
* Update cli.py
* Create 3204.enhance.rst
2019-12-21 03:55:32 -05:00
Michael H
a36e95c286
Remove a large amount of fetch_user calls ( #3075 )
...
* Non-audio changes
* address Flame's feedback
2019-12-21 01:15:34 -05:00
jack1142
b457f8d1c1
[Core] Add deprecation warnings about removal of shared libraries. ( #3106 )
...
* feat: add deprecation warning when importing shared libs
* enhance(downloader): add shared libs deprecation warns
* enhance: add deprecation warning when (re)loading cogs
* docs(downloader): add deprecation note about shared libs
* chore(changelog): add towncrier entries
* style: split long tuple unpacks in multiple lines
* fix: argument to `humanize_list` has to be a sequence
2019-12-20 02:06:53 -05:00
jack1142
9d027747d1
[Backup] Fix generation of repos.json file in backup process ( #3114 )
...
* fix: generation of `repos.json` file in backup process
* chore(changelog): add towncrier entry
2019-12-20 02:03:46 -05:00
Draper
6bf9ff5637
[Audio] Fix console spam caused by disconnect_timer if a player is destroyed before the task completes ( #3123 )
...
* Remove servers from the auto disconnect/pause list is their players no longer exist...
Prevents a console spam
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com>
* Chore
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com>
2019-12-20 01:59:09 -05:00
Draper
0b042532fd
[Audio] Fix Attribute error raised by is_alone method when channel was None ( #3122 )
...
* Fix attribute Fixes #3120
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com>
* Chore
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com>
2019-12-20 01:58:08 -05:00
Draper
61f467a323
Audio converters - Remove all da fetches ( #3089 )
...
* Removes `MAX_BALANCE` from bank, user `bank.get_max_balance()` now
`[p]bankset maxbal` can be used to set the maximum bank balance
Signed-off-by: Guy <guyreis96@gmail.com>
* Update Audio Scope converters to respect changes done in #3075
To be merged after #3075
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com>
* Change logs
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com>
* Fix Typo
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com>
* Fix an attribute error when the converter returned None
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com>
* 🤦
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com>
* 🤦 2x
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com>
* Address Aika's review
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com>
2019-12-20 01:55:34 -05:00
Michael H
02bb1fc390
add apsw-wheels to deps ( #3192 )
2019-12-20 01:51:33 -05:00
Michael H
e32eecd6e7
[Docs] Update windows deps instructions ( #3188 )
...
* update windows deps instructions
* changelog
* be more explicit that manual dependency handling is an excersice left to the reader
* let's only grab the MSVC C++ stuff here...
* Meh
* update language
* Update install_windows.rst
* it's really that easy
2019-12-14 21:00:08 -05:00
jack1142
988536f96b
[Downloader] Possible solution for "partial" unload of cog in [p]cog uninstall ( #3180 )
...
* Update downloader.py
* Create 3180.bugfix.rst
* Rename 3180.bugfix.rst to 3179.bugfix.rst
* Update redbot/cogs/downloader/downloader.py
Co-Authored-By: Michael H <michael@michaelhall.tech>
2019-12-11 18:28:52 -05:00
jack1142
335ded674e
[Core] Add Python executable field to [p]debuginfo command ( #3184 )
...
* Update core_commands.py
* Create 3184.enhance.rst
2019-12-11 16:40:27 -05:00
jack1142
b6ae7a6d21
[Core] Add redbot --debuginfo flag ( #3183 )
...
* [Core] Add `redbot --debuginfo` flag
* Update cli.py
* Create 3183.enhance.rst
* Update __main__.py
* Update __main__.py
2019-12-11 15:49:57 -05:00
Draper
c67b6cd443
[Audio] Say no to busylooping :Awesome: ( #3176 )
...
* Say no to busylooping :Awesome:
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com>
* chrore
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com>
* black y u do dis 2 me
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com>
* Return regardless if error is raised here
2019-12-09 20:26:26 -05:00
Flame442
8cba47f382
Fixed [p]announce failing due to errors messaging the owner. ( #3166 )
...
* Fixed owner message behavior
* Create 3166.bugfix.rst
* Reduce messages
* Fix plurality
2019-12-08 18:04:57 -05:00
Vexed
203cde9805
Slightly reword installation guide to attempt to stop people using dev ( #3079 )
...
* create
* add the code
* change de logs
* lets remember linux exists
* fix formtting and change wording
* change the wording a bit more... after running `sphinx-build` it def looks like i used bold a lot
god that was a long commit mesage
* review changes
* draper's review (see description)
i have put or worse partially to scare users and partially as there are other possible effects of a downgrade
* review
* clarity
2019-12-08 18:02:40 -05:00
Tomas S
064d97f87b
[Downloader] Catch and handle erorr in update_all when target repository/branch is missing ( #3080 )
...
* [Downloader] Catch and handle erorr in update_all when target repository/branch is removed from remote
* Rewrite fix, remove ctx from repo_manager, edit docstring, add annotations
* Text formatting
* Group failed repo messages into padded table, catch single updated repo fails
* Error catching v2; repo_manager design change
* Docstrings, typos and changelog
* Add Optional to update_repos annotatition
* Wrong logic
* Clear-er log message.
* add format_failed_repos, change _repo_update for failed messages
* Merge cog updating with fail repo logic; Filter out failed repos
* Merge cog updating with fail repo logic; Cog updating logic shuffled to support sending fails at the end
* Docstring typo
* format_failed_repos - proper docstring
* repo_manager.update_repos argument name fix
* downloader._cog_checkforupdates added missed failed message
* downloader._cog_update_logic place back return on some errors
* Purge unused stuff from downloader._repo_update
* downloader._cog_update_logic Change exception catching
* _cog_update_logic purging obsolete
* Remove obsolete 'message' from _cog_checkforupdates
* Fix forgotten ctx.send
* Wording
* Removed obsolete 'message'
* Fix wrong type hint in , update docstring
* repo update logic fix
* format_failed_repos type hint and docstring repair
* Extend _get_cogs_to_check with 'update_repos'
* Fix type mangling in _get_cogs_to_check
* fix: typo
Co-Authored-By: jack1142 <6032823+jack1142@users.noreply.github.com>
* _repo_update; Added single repo up-to-date message
2019-12-08 17:59:53 -05:00
jack1142
9a051ef2c6
[Downloader] Fix [p]findcog not working with different levels of imports ( #3178 )
...
* Update downloader.py
* Create 3177.bugfix.rst
2019-12-08 17:58:43 -05:00
jack1142
0f62614055
[Downloader] Disable all git auth prompts on clone/pull ( #3159 )
...
* fix(downloader): disable all git auth prompts on clone/pull
* chore(changelog): add towncrier entry
2019-12-07 19:54:49 -05:00
jack1142
672050727f
[Downloader] Ensure consistent output from git commands ( #3160 )
...
* fix(downloader): ensure consistent output from git commands
* chore(changelog): add towncrier entry
2019-12-07 19:31:43 -05:00
jack1142
d136d594f4
[Changelogs] Remove info about branch support in revision argument ( #3158 )
...
* chore(changelog): remove info about branch support
* chore(changelog): fix grammar issue
2019-12-07 19:29:41 -05:00
Flame442
b4186d6724
Clarifies what [p]backup does ( #3172 )
...
* Clarify `[p]backup`
* Create 3172.enhance.rst
2019-12-07 19:24:07 -05:00
jack1142
02d6b7d658
[Launcher] To make experience with launcher amazing /s ( #3175 )
...
* Update launcher.py
* Create 3174.bugfix.rst
* Revert launcher.py
* Update launcher.py
* Update launcher.py
2019-12-07 18:56:23 -05:00
Flame442
d07e718ab8
Fixes errors on repo add from empty string values for install_msg ( #3153 )
...
* Fixes errors on repo add from empty string values for `install_msg`
* Create 3153.bugfix.rst
2019-12-02 11:41:28 -05:00
jack1142
f0836d7182
[Core] Dispatch on_red_api_tokens_update event on api keys update ( #3146 )
...
* feat: dispatch `on_red_api_tokens_update` event on api keys update
* docs: add event reference in Shared API Keys docs
* chore(changelog): add tonwcrier entries
* fix: wrap dispatched api tokens in MappingProxyType
* docs: reflect change of type change to read-only Mapping
2019-11-23 16:58:35 -05:00
jack1142
bc5c2513f6
[Audio] Improve help string for [p]audioset emptydisconnect ( #3051 )
...
* enhance(audio): improve help string for [p]audioset emptydisconnect
* chore(changelog): add towncrier entry
2019-11-22 18:59:38 -05:00
Vexed
ec834a0666
Audio playlist capitalisation changes ( #3048 )
...
* commit une
* changelog
* help me whi can i mot thnik
* i can make changelogs correctly
2019-11-22 18:54:39 -05:00
PredaaA
77742179c0
[Core] Add [p]listdisabled command ( #3118 )
...
* Update core_commands.py
* Create 3115.feature.rst
* Rename 3115.feature.rst to 3118.feature.rst
* Add a message if there's any disabled commands.
* Use the same format as [p]command disable/enable
* Make strings more i18n friendly.
* Flame's requested changes.
2019-11-22 18:54:01 -05:00
kennnyshiwa
a3140b6659
[audio] adds typing indicator to playlist dedupe ( #3058 )
...
* [audio] adds typing indicator to playlist dedupe
* [audio] not sure what happened here lol
* [audio] forgot the return
* add changelog
* [audio] fix for black
2019-11-22 18:53:42 -05:00
jack1142
4b62598a3d
[Downloader] Make Repo.clean_url work with relative urls. ( #3142 )
...
* fix(downloader): return string, catch ValueError for relative urls
* chore(changelog): add towncrier entry
2019-11-19 13:14:22 -05:00
Michael H
ddfabb0c0e
Changes from 3.1.8 ( #3139 )
2019-11-18 23:45:32 -05:00
Michael H
51298f156b
pt2 ( #3132 )
2019-11-17 11:08:30 -05:00
Michael H
141b48d3cf
Add .codeclimate.yml ( #3131 )
...
- This is still not ready to be used as a PR check
- Can be used to get an idea of where we can look to clean up code
2019-11-17 11:00:26 -05:00
jack1142
5a7c36c581
chore(changelog): fix wrong references in changelog entries for Downloader ( #3130 )
2019-11-17 16:35:48 +01:00
jack1142
8a90996b36
[Downloader] Add Repo.clean_url and use it in [p]findcog ( #3129 )
...
* enhance(downloader): add `Repo.clean_url` and use it in `[p]findcog`
* chore(changelog): add towncrier entries
2019-11-17 10:25:15 -05:00
jack1142
548a50b984
[Docs] Add information about `info.json's min_python_version` key in Downloader Framework page. ( #3125 )
...
* docs(downloader): add missing `min_python_version` key
* chore(changelog): add towncrier entry
2019-11-15 22:28:17 +01:00
jack1142
19e8e60a4d
[Audio] Stop player before destroying on emptydisconnect ( #3119 )
...
* fix(audio): stop player before disconnect in emptydisconnect
* chore(changelog): add towncrier entry
2019-11-14 13:05:48 -05:00
Vexed
6aeca83c63
Increased clarity of wording in info command ( #3121 )
...
* make branch + preliminary code
* correction
* towncrier
* sinbad's changes
2019-11-14 13:04:00 -05:00
Draper
33178ef034
[Audio-3.2] Fix an issue with mixplaylist being recognised as single tracks ( #3104 )
...
* Fix an issue with mixplaylist being recognised as single tracks
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com>
* Add changelogs
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com>
2019-11-11 11:59:51 -05:00
flaree
710b520da9
[Docs] get_shared_api_keys -> get_shared_api_tokens ( #3110 )
...
* keys -> tokens
* Changelog
2019-11-09 14:58:10 -05:00