Skip to content

Commit

Permalink
here we go lol - Ben (#5)
Browse files Browse the repository at this point in the history
thanks Redbot team

* Docs: remove Atom from the list of recommended editors (Cog-Creators#6388)

* Fix info.json keys in approved CC guide (Cog-Creators#6382)

* Use YouTube source plugin over the deprecated built-in source (Cog-Creators#6373)

Co-authored-by: aikaterna <[email protected]>

* Bump d.py version to 2.4.0 (Cog-Creators#6401)

Co-authored-by: Ryan <[email protected]>

* Fix `@commands.can_manage_channel` always passing (Cog-Creators#6398)

* Bump dependencies (Cog-Creators#6402)

* Red 3.5.10 - Changelog (Cog-Creators#6403)

* Automated Crowdin downstream (Cog-Creators#6405)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Version bump to 3.5.10 (Cog-Creators#6404)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Last-minute changelog fixes

* Version bump to 3.5.11.dev1 (Cog-Creators#6406)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

---------

Co-authored-by: Seaswimmer <[email protected]>
Co-authored-by: Michael Oliveira <[email protected]>
Co-authored-by: Jakub Kuczys <[email protected]>
Co-authored-by: aikaterna <[email protected]>
Co-authored-by: Ryan <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
7 people authored Jul 11, 2024
1 parent b5c5b4d commit 0d7f797
Show file tree
Hide file tree
Showing 168 changed files with 16,343 additions and 14,406 deletions.
88 changes: 88 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,93 @@
.. Red changelogs
Redbot 3.5.10 (2024-07-10)
==========================

| Thanks to all these amazing people that contributed to this release:
| :ghuser:`aikaterna`, :ghuser:`Flame442`, :ghuser:`Jackenmen`, :ghuser:`Kowlin`, :ghuser:`SeaswimmerTheFsh`, :ghuser:`TrustyJAID`, :ghuser:`yamikaitou`
Read before updating
--------------------

#. This release fixes a security issue in one of the APIs we provide for 3rd-party cog creators. See `Security changelog below <important-3510-1>` for more information.
#. Following operating systems are no longer supported as they have already reached their end of life:

- CentOS 7
- CentOS Stream 8
- Fedora 38
- versions of RHEL/Alma Linux/Oracle Linux/Rocky Linux 8 older than 8.8
- versions of RHEL/Alma Linux/Oracle Linux/Rocky Linux 9 older than 9.2

#. Information for Audio users that are using an external Lavalink instance (if you don't know what that is, you should skip this point):

We've updated our default application.yml file and you should update your instance's ``application.yml`` accordingly.
More specifically, we switched from using the built-in YT source to YT source plugin.
`Download Red 3.5.10's default application.yml file <https://github.com/Cog-Creators/Red-DiscordBot/releases/download/3.5.10/Red-DiscordBot-3.5.10-default-lavalink-application.yml>`__

End-user changelog
------------------

.. _important-3510-1:

Security
********

- **Core** - Fixed incorrect authorization in one of the utilities provided to 3rd-party cog creators (`commands.can_manage_channel()`) resulting in anyone being authorized to run a command using it, if the command has no other permission controls. None of the core commands or core cogs are affected. The maintainers of the project are not aware of any public 3rd-party cog utilizing this API at the time of writing this changelog. `Full security advisory can be found on our GitHub <https://github.com/Cog-Creators/Red-DiscordBot/security/advisories/GHSA-5jq8-q6rj-9gq4>`__.

Additions
*********

- **Core - Bot Commands** - Added ``[p]set bot banner`` command for setting the bot's banner (:issue:`6321`, :issue:`6401`)

Changes
*******

- **Core** - Red's ``--team-members-are-owners`` flag now only considers Team Owner, Admins, and Developers as bot owners (:issue:`6401`)
- **Core - Dependencies** - Red's dependencies have been bumped (:issue:`6402`)
- **Cogs - Audio** - Updated the cog to configure managed Lavalink node to use YT source plugin instead of the built-in, no longer supported, implementation (:issue:`6373`)
- **Cogs - Filter** - The cog now checks poll contents and attachment alt text for filtered words (:issue:`6401`)

Fixes
*****

- **Core** - Fixed command autocompletion not showing any proper result (error message) when bot's global checks (channel/server ignores, allowlist/blocklist) do not pass (:issue:`6374`, :issue:`6375`)
- **Cogs - Audio** - Fixed one of the recent YT playback issues (:issue:`6373`)

Developer changes
-----------------

Changes
*******

- |cool| **Core - Dependencies** - Bumped ``discord.py`` to version 2.4.0 (:issue:`6401`)

Documentation changes
---------------------

Additions
*********

- Added Ubuntu 24.04 install guide (:issue:`6364`)

Changes
*******

- Bumped Python version used by Arch Linux, RHEL 8, and RHEL 9 install guides to 3.11 (:issue:`6386`)
- Removed a mention of the Atom editor from the list of the recommended editor now that it's discontinued (:issue:`6388`)

Removals
********

- Removed all mentions of pyenv now that the last OS using it (CentOS 7) is no longer supported (:issue:`6386`)

Fixes
*****

- Fixed Java instructions in macOS install guide (:issue:`6368`)
- Fixed list of required ``info.json`` keys from the `guide_cog_creators` document (:issue:`6382`)

----

Redbot 3.5.9 (2024-04-21)
=========================

Expand Down
53 changes: 52 additions & 1 deletion docs/cog_guides/core.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2867,7 +2867,7 @@ Supports either an attachment or an image URL.
**Examples:**
- ``[p]set bot avatar`` - With an image attachment, this will set the avatar.
- ``[p]set bot avatar`` - Without an attachment, this will show the command help.
- ``[p]set bot avatar https://links.flaree.xyz/k95`` - Sets the avatar to the provided url.
- ``[p]set bot avatar https://avatars.githubusercontent.com/u/23690422`` - Sets the avatar to the provided url.

**Arguments:**
- ``[url]`` - An image url to be used as an avatar. Leave blank when uploading an attachment.
Expand Down Expand Up @@ -2895,6 +2895,57 @@ Removes Red's avatar.
**Example:**
- ``[p]set bot avatar remove``

.. _core-command-set-bot-banner:

""""""""""""""
set bot banner
""""""""""""""

.. note:: |owner-lock|

**Syntax**

.. code-block:: none
[p]set bot banner [url]
**Description**

Sets Red's banner

Supports either an attachment or an image URL.

**Examples:**
- ``[p]set bot banner`` - With an image attachment, this will set the banner.
- ``[p]set bot banner`` - Without an attachment, this will show the command help.
- ``[p]set bot banner https://opengraph.githubassets.com`` - Sets the banner to the provided url.

**Arguments:**
- ``[url]`` - An image url to be used as an banner. Leave blank when uploading an attachment.

.. _core-command-set-bot-banner-remove:

"""""""""""""""""""""
set bot banner remove
"""""""""""""""""""""

.. note:: |owner-lock|

**Syntax**

.. code-block:: none
[p]set bot banner remove
.. tip:: Alias: ``set bot banner clear``

**Description**

Removes Red's banner.

**Example:**
- ``[p]set bot banner remove``

.. _core-command-set-bot-custominfo:

""""""""""""""""""
Expand Down
5 changes: 4 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,10 @@
extlinks = {
"dpy_docs": (f"{dpy_docs_url}%s", None),
"issue": ("https://github.com/Cog-Creators/Red-DiscordBot/issues/%s", "#%s"),
"ghuser": ("https://github.com/%s", "@%s"),
# below URL redirects to user page, if they don't have GH Sponsors set up,
# while allowing us to direct readers directly at a sponsorship opportunity,
# if they do
"ghuser": ("https://github.com/sponsors/%s", "@%s"),
}

# Doctest
Expand Down
2 changes: 1 addition & 1 deletion docs/guide_cog_creation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ the purposes of this example, we'll call this :code:`mycog`).
In this folder, create three files: :code:`__init__.py`,
:code:`mycog.py`, and :code:`info.json`. Open the folder in
a text editor or IDE (examples include `Sublime Text 3 <https://www.sublimetext.com/>`_,
`Visual Studio Code <https://code.visualstudio.com/>`_, `Atom <https://atom.io/>`_, and
`Visual Studio Code <https://code.visualstudio.com/>`_, and
`PyCharm <http://www.jetbrains.com/pycharm/>`_).

.. attention::
Expand Down
3 changes: 1 addition & 2 deletions docs/guide_cog_creators.rst
Original file line number Diff line number Diff line change
Expand Up @@ -41,17 +41,16 @@ Any Cog Creator that does not follow these requirements will have their repo rem
- Repo-wide ``info.json`` file with the keys

- ``author``
- ``name``
- ``short``
- ``description``

- Cog ``info.json`` files with the keys

- ``author``
- ``name``
- ``short``
- ``requirements`` (if applicable)
- ``description``
- ``min_python_version`` (if applicable)

See `info-json-format` for more information on how to set up ``info.json`` files.

Expand Down
2 changes: 1 addition & 1 deletion redbot/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ def _early_init():


# This is bumped automatically by release workflow (`.github/workflows/scripts/bump_version.py`)
_VERSION = "3.5.10.dev1"
_VERSION = "3.5.11.dev1"

__version__, version_info = VersionInfo._get_version()

Expand Down
3 changes: 2 additions & 1 deletion redbot/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,8 @@ async def run_bot(red: Red, cli_flags: Namespace) -> None:
"With that out of the way, depending on who you want to be considered as owner,"
" you can:\n"
"a) pass --team-members-are-owners when launching Red"
" - in this case Red will treat all members of the bot application's team as owners\n"
" - in this case Red will treat members of the bot application's team as owners,"
" if their team role is Owner, Admin, or Developer\n"
f"b) set owner manually with `redbot --edit {cli_flags.instance_name}`\n"
"c) pass owner ID(s) when launching Red with --owner"
" (and --co-owner if you need more than one) flag\n"
Expand Down
18 changes: 11 additions & 7 deletions redbot/cogs/admin/locales/ar-SA.po

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 0d7f797

Please sign in to comment.