diff --git a/.editorconfig b/.editorconfig index 89bbf68e2..0609db6ce 100644 --- a/.editorconfig +++ b/.editorconfig @@ -2,9 +2,11 @@ indent_size = 4 indent_style = space end_of_line = lf +insert_final_newline = true +charset = utf-8 [*.yml, *.yaml] indent_size = 2 [*.md, *.mdx] -trim_trailing_whitespace = false \ No newline at end of file +trim_trailing_whitespace = false diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml index 35d3f328e..8e8c8d4db 100644 --- a/.github/FUNDING.yml +++ b/.github/FUNDING.yml @@ -1,13 +1,3 @@ -# These are supported funding model platforms - -github: onesoft-sudo -patreon: +#github: onesoft-sudo # open_collective: sudobot -ko_fi: # Replace with a single Ko-fi username -tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel -community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry -liberapay: # Replace with a single Liberapay username -issuehunt: # Replace with a single IssueHunt username -otechie: # Replace with a single Otechie username -lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry custom: https://www.sudobot.online/donate diff --git a/.github/cra-metadata.json b/.github/cra-metadata.json index 594eba572..95e4bf883 100644 --- a/.github/cra-metadata.json +++ b/.github/cra-metadata.json @@ -1,3 +1,3 @@ { - "lastReadCommit": "488865f642bcd30ffe8feea45c92db7e46a9dde5" + "lastReadCommit": "04f849ee5e093072e7b3186ef3de36c41a7f8ecc" } diff --git a/.license-notice b/.license-notice new file mode 100644 index 000000000..8797fbb04 --- /dev/null +++ b/.license-notice @@ -0,0 +1,18 @@ +/* + * This file is part of SudoBot. + * + * Copyright (C) 2021, 2022, 2023, 2024 OSN Developers. + * + * SudoBot is free software; you can redistribute it and/or modify it + * under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * SudoBot is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with SudoBot. If not, see . + */ diff --git a/CHANGELOG.md b/CHANGELOG.md index e4110fe8a..d43db4be6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,179 @@ # Changelog +### 20-09-2024 - [[Ar Rakin](mailto:rakinar2@onesoftnet.eu.org)] + + * **fix:** eslint issues + + **Signed-off-by:** Ar Rakin + * **fix:** type errors + + **Signed-off-by:** Ar Rakin + * **feat:** auto configure guilds on guildCreate + + **Signed-off-by:** Ar Rakin + * **chore(extensions):** build extensions [skip ci] + + **Signed-off-by:** Ar Rakin + + +### 19-09-2024 - [[Ar Rakin](mailto:rakinar2@onesoftnet.eu.org)] + + * **chore(extensions):** build extensions [skip ci] + + **Signed-off-by:** Ar Rakin + + +### 18-09-2024 - [[Ar Rakin](mailto:rakinar2@onesoftnet.eu.org)] + + * **test:** update tests + + **Signed-off-by:** Ar Rakin + + * **fix:** type errors + + **Signed-off-by:** Ar Rakin + + * **chore:** update eslint config + + **Signed-off-by:** Ar Rakin + + * **refactor:** fix eslint issues + + **Signed-off-by:** Ar Rakin + + +### 18-09-2024 - [[Conventional Release Action](mailto:rakinar2@onesoftnet.eu.org)] + + * **release:** v10.14.5 [skip ci] + + **Signed-off-by:** Conventional Release Action + + +### 17-09-2024 - [[Ar Rakin](mailto:rakinar2@onesoftnet.eu.org)] + + * **chore:** update eslint.config.mjs + + **Signed-off-by:** Ar Rakin + + * **chore:** update .editorconfig + + **Signed-off-by:** Ar Rakin + + * **chore:** add .license-notice file + + **Signed-off-by:** Ar Rakin + + * **chore:** add `addlicense` script from OSN commons + + **Signed-off-by:** Ar Rakin + + * **style:** update license comments + + **Signed-off-by:** Ar Rakin + + * **style:** add license comments + + **Signed-off-by:** Ar Rakin + + * **chore(extensions):** build extensions [skip ci] + + **Signed-off-by:** Ar Rakin + + +### 16-09-2024 - [[Ar Rakin](mailto:rakinar2@onesoftnet.eu.org)] + + * **docs:** fix table of contents spacing on desktop + + **Signed-off-by:** Ar Rakin + * **chore:** update VERSIONS.md + + **Signed-off-by:** Ar Rakin + * **chore(extensions):** build extensions [skip ci] + + **Signed-off-by:** Ar Rakin + + +### 15-09-2024 - [[Ar Rakin](mailto:rakinar2@onesoftnet.eu.org)] + + * **chore:** update FUNDING.yml + + **Signed-off-by:** Ar Rakin + * **chore:** update VERSIONS.md + + **Signed-off-by:** Ar Rakin + * **chore(extensions):** build extensions [skip ci] + + **Signed-off-by:** Ar Rakin + + +### 14-09-2024 - [[Ar Rakin](mailto:rakinar2@gmail.com)] + + * **docs:** add max width to the navbar search icon + +### 14-09-2024 - [[nin](mailto:95270582+ninsaccplayzyt@users.noreply.github.com)] + + * make it sound correct + + **Signed-off-by:** nin <95270582+ninsaccplayzyt@users.noreply.github.com> + +### 14-09-2024 - [[Ar Rakin](mailto:rakinar2@onesoftnet.eu.org)] + + * **chore(extensions):** build extensions [skip ci] + + **Signed-off-by:** Ar Rakin + + +### 13-09-2024 - [[Ar Rakin](mailto:rakinar2@onesoftnet.eu.org)] + + * **chore:** update VERSIONS.md + * **fix(services:auditlog):** do not list `@everyone` as a role on `guildMemberRemove` + + **Signed-off-by:** Ar Rakin + * **chore:** update VERSIONS.md + + **Signed-off-by:** Ar Rakin + * **chore:** update VERSIONS.md + + **Signed-off-by:** Ar Rakin + * **deps:** bump discord.js to 14.16.2 + + **Signed-off-by:** Ar Rakin + * **chore(extensions):** build extensions [skip ci] + + **Signed-off-by:** Ar Rakin + + +### 13-09-2024 - [[Conventional Release Action](mailto:rakinar2@onesoftnet.eu.org)] + + * **release:** v10.14.4 [skip ci] + + **Signed-off-by:** Conventional Release Action + + ### 12-09-2024 - [[Ar Rakin](mailto:rakinar2@onesoftnet.eu.org)] + * **chore:** update VERSIONS.md + + **Signed-off-by:** Ar Rakin + + * **chore:** create VERSIONS.md + + **Signed-off-by:** Ar Rakin + * **chore:** update readme + + **Signed-off-by:** Ar Rakin + * **docs:** update vcs guide + + **Signed-off-by:** Ar Rakin + * **docs:** fix broken links + + **Signed-off-by:** Ar Rakin + * **docs:** fix typo + + **Signed-off-by:** Ar Rakin + * **docs:** update vcs guide + + **Signed-off-by:** Ar Rakin * **fix:** set default config for AI automod **Signed-off-by:** Ar Rakin @@ -11,6 +183,13 @@ **Signed-off-by:** Ar Rakin +### 12-09-2024 - [[Conventional Release Action](mailto:rakinar2@onesoftnet.eu.org)] + + * **release:** v10.14.3 [skip ci] + + **Signed-off-by:** Conventional Release Action + + ### 11-09-2024 - [[Ar Rakin](mailto:rakinar2@onesoftnet.eu.org)] * **docs:** fix pageinfo action diff --git a/VERSIONS.md b/VERSIONS.md index 3821f9641..5494e95e8 100644 --- a/VERSIONS.md +++ b/VERSIONS.md @@ -2,4 +2,22 @@ Here is a list of SudoBot's notable versions: -[TODO] +| Version | Description | Release Date | Supported Until | Status | +|---------------------------------------------------------------------|---------------------------|--------------|-----------------|------------------| +| [1.x](https://github.com/onesoft-sudo/sudobot/tree/1.x) | Initial release | 2022-03-26 | - | EOL | +| [2.x](https://github.com/onesoft-sudo/sudobot/tree/2.x) | 2.x release | 2022-04-30 | - | EOL | +| [3.x](https://github.com/onesoft-sudo/sudobot/tree/3.x) | 3.x release | 2022-07-16 | - | EOL | +| [4.x](https://github.com/onesoft-sudo/sudobot/tree/4.x) | 4.x release | 2022-08-02 | - | EOL | +| [5.x](https://github.com/onesoft-sudo/sudobot/tree/5.x) | 5.x release | 2022-08-24 | - | EOL | +| [6.x](https://github.com/onesoft-sudo/sudobot/tree/6.x) | 6.x release | 2023-03-09 | - | EOL | +| [7.x](https://github.com/onesoft-sudo/sudobot/tree/7.x) | 7.x release | 2023-08-01 | - | EOL | +| [8.x](https://github.com/onesoft-sudo/sudobot/tree/8.x) | 8.x release [LTS] | 2024-02-03 | 2025-01-01 | LTS | +| 9.x [< 9.26.7] | 9.x release | 2024-06-16 | 2024-08-31 | EOL | +| [9.x](https://github.com/onesoft-sudo/sudobot/tree/9.x) [>= 9.26.7] | 9.x [Security Fix] | 2024-08-30 | 2024-09-30 | Maintenance only | +| [10.x](https://github.com/onesoft-sudo/sudobot/tree/main) | 10.x release [Current] | 2024-08-31 | [No due date] | Stable | + +### Terminology + +- **EOL**: End of Life. No longer supported. +- **LTS**: Long Term Support. Supported for a longer period of time. +- **Maintenance only**: Only security fixes are provided. diff --git a/docs/app/(docs)/getting-started/page.mdx b/docs/app/(docs)/getting-started/page.mdx index 62c26e2fa..3234983ce 100644 --- a/docs/app/(docs)/getting-started/page.mdx +++ b/docs/app/(docs)/getting-started/page.mdx @@ -21,7 +21,7 @@ This guide will help you get started with SudoBot. You will learn how to build t This guide assumes you have a Linux/Unix-based system where you'll install SudoBot. Windows users, please [scroll down](#windows-compatibility) to see how you can run SudoBot on Windows. -Before you start, you need to have the following installed on your system: +Before you start, you need to have the following: - A Discord API Application token (bot token). Go to the [Discord Developer Portal](https://discord.com/developers/applications) to create a new application, and get the token. - A [PostgreSQL](https://www.postgresql.org/) database server. You can use a local server or use a cloud service like [Supabase](https://supabase.com/). diff --git a/docs/components/MDX/TableOfContents.tsx b/docs/components/MDX/TableOfContents.tsx index 4b7af5b53..d47da8002 100644 --- a/docs/components/MDX/TableOfContents.tsx +++ b/docs/components/MDX/TableOfContents.tsx @@ -72,7 +72,7 @@ export default function TableOfContents({

On this page

-