1
Fork 0
mirror of https://github.com/allthingslinux/tux.git synced 2024-10-03 00:53:12 +00:00
Commit graph

64 commits

Author SHA1 Message Date
renovate[bot]
ebd89a0496
fix(deps): update dependency sentry-sdk to v2.5.1 2024-06-07 21:18:33 +00:00
renovate[bot]
c425a33fcf
fix(deps): update dependency ruff to v0.4.7 2024-05-31 21:32:28 +00:00
kzndotsh
02d5894449
Merge pull request #241 from allthingslinux/renovate/pyright-1.x-lockfile
fix(deps): update dependency pyright to v1.1.365
2024-05-29 13:41:23 -04:00
kzndotsh
6985c3664e
Merge pull request #240 from allthingslinux/renovate/ruff-0.x-lockfile
fix(deps): update dependency ruff to v0.4.6
2024-05-29 13:41:12 -04:00
renovate[bot]
8592686d44
fix(deps): update dependency pyright to v1.1.365 2024-05-29 11:24:07 +00:00
renovate[bot]
174ba664c5
fix(deps): update dependency ruff to v0.4.6 2024-05-28 23:06:28 +00:00
renovate[bot]
6fabb602b3
fix(deps): update dependency sentry-sdk to v2.3.1 2024-05-23 13:59:48 +00:00
kzndotsh
4b51762863
Merge pull request #232 from allthingslinux/renovate/githubkit-0.x-lockfile
fix(deps): update dependency githubkit to v0.11.5
2024-05-23 00:42:51 -04:00
kzndotsh
37bf8983a3
Merge pull request #228 from allthingslinux/renovate/sentry-sdk-2.x-lockfile
fix(deps): update dependency sentry-sdk to v2.2.1
2024-05-23 00:42:27 -04:00
kzndotsh
58f971565a
Merge pull request #220 from allthingslinux/renovate/pre-commit-3.x-lockfile
fix(deps): update dependency pre-commit to v3.7.1
2024-05-23 00:41:53 -04:00
kzndotsh
d3162f2374
Merge pull request #218 from allthingslinux/renovate/ruff-0.x-lockfile
fix(deps): update dependency ruff to v0.4.5
2024-05-23 00:41:38 -04:00
renovate[bot]
addbe0be2f
fix(deps): update dependency ruff to v0.4.5 2024-05-23 01:41:50 +00:00
renovate[bot]
6b89e4d1ad
fix(deps): update dependency pyright to v1.1.364 2024-05-22 12:49:36 +00:00
renovate[bot]
c1b5d9071c
fix(deps): update dependency githubkit to v0.11.5 2024-05-22 12:49:25 +00:00
renovate[bot]
08f28da244
fix(deps): update dependency sentry-sdk to v2.2.1 2024-05-21 18:47:39 +00:00
renovate[bot]
ddab98f7b0
fix(deps): update dependency pre-commit to v3.7.1 2024-05-11 03:08:07 +00:00
kzndotsh
59e650ca6d
Merge pull request #205 from allthingslinux/renovate/sentry-sdk-2.x-lockfile
fix(deps): update dependency sentry-sdk to v2.1.1
2024-05-07 09:39:55 -04:00
renovate[bot]
e98453b881
fix(deps): update dependency sentry-sdk to v2.1.1 2024-05-06 12:22:25 +00:00
renovate[bot]
fc495149d0
fix(deps): update dependency ruff to v0.4.3 2024-05-04 02:10:37 +00:00
kzndotsh
9fe55312b0
Merge pull request #197 from allthingslinux/renovate/pyright-1.x-lockfile
fix(deps): update dependency pyright to v1.1.361
2024-05-01 13:20:28 -04:00
renovate[bot]
a80a9423fe
fix(deps): update dependency pyright to v1.1.361 2024-05-01 16:52:20 +00:00
renovate[bot]
37d18205e1
fix(deps): update dependency aioconsole to v0.7.1 2024-05-01 16:52:11 +00:00
kzndotsh
a31864be9e
Merge pull request #187 from allthingslinux/renovate/sentry-sdk-2.x-lockfile
fix(deps): update dependency sentry-sdk to v2.0.1
2024-05-01 00:24:19 -04:00
renovate[bot]
e07ce2ccd1
fix(deps): update dependency sentry-sdk to v2.0.1 2024-04-26 11:12:03 +00:00
renovate[bot]
083d6e50b2
fix(deps): update dependency ruff to v0.4.2 2024-04-25 19:52:37 +00:00
renovate[bot]
102079f138
fix(deps): update dependency sentry-sdk to v2 2024-04-25 16:42:18 +00:00
kzndotsh
b8ea10b468
Merge pull request #183 from allthingslinux/renovate/mypy-1.x-lockfile
fix(deps): update dependency mypy to v1.10.0
2024-04-25 12:40:14 -04:00
renovate[bot]
40ef30c989
fix(deps): update dependency mypy to v1.10.0 2024-04-24 15:40:46 +00:00
renovate[bot]
577c1fe1f9
fix(deps): update dependency pyright to v1.1.360 2024-04-24 11:42:15 +00:00
renovate[bot]
d72eb101a3
fix(deps): update dependency githubkit to v0.11.4 2024-04-20 09:45:15 +00:00
renovate[bot]
e4214e861a
fix(deps): update dependency ruff to v0.4.1 2024-04-20 04:36:59 +00:00
renovate[bot]
67e65edd97
fix(deps): update dependency ruff to ^0.4.0 2024-04-18 23:18:29 +00:00
kzndotsh
83e2c6dbe7
Merge pull request #166 from allthingslinux/githubapi
Add Github Functionality
2024-04-18 03:19:17 -04:00
kzndotsh
669e31f4f4 chore(.gitignore): add github-private-key.pem to .gitignore to prevent accidental commit of private keys
refactor(pyproject.toml): replace pygithub with githubkit for better GitHub App authentication support
2024-04-18 07:04:39 +00:00
renovate[bot]
2d6baac356
fix(deps): update dependency pyright to v1.1.359 2024-04-17 17:02:44 +00:00
kzndotsh
267eb8aec5 fix(auto_respond.py): update harmful_commands list to include more dangerous commands
feat(auto_respond.py): add more variations of 'rm -rf' command and fork bomb to harmful_commands list to enhance bot's ability to detect and respond to harmful commands
2024-04-15 20:29:03 +00:00
Kasen Engel
5f7178b2f9
Merge branch 'main' into githubapi 2024-04-14 06:56:36 -07:00
kzndotsh
2725df1cec Merge 2024-04-12 15:10:26 -04:00
kzndotsh
5e7ed577da feat(pyproject.toml): add rsa dependency to support new encoding methods
feat(tools.py): add new encoding methods (base64, md5, sha256, sha512) to Tools class
feat(tools.py): add new command 'encode' to encode a string to a specified format
fix(tools.py): remove '#' from color if color format is HEX to ensure correct color conversion
style(tools.py): update description of 'tools' group to 'Various tool commands' for clarity
2024-04-12 19:09:38 +00:00
kzndotsh
cafc3672d3
Merge pull request #161 from allthingslinux/renovate/ruff-0.x-lockfile
fix(deps): update dependency ruff to v0.3.7
2024-04-12 12:31:54 -04:00
kzndotsh
ff1c83a7a6 feat(pyproject.toml): add httpx, cairosvg, and pillow dependencies for new color conversion feature
feat(tools.py): add new Tools cog with color conversion command to convert colors to different formats
2024-04-12 16:29:35 +00:00
renovate[bot]
48ddbfa4b1
fix(deps): update dependency ruff to v0.3.7 2024-04-12 04:11:23 +00:00
yaboytabby
e91e981ab8 Added logic 2024-04-11 21:25:51 -05:00
kzndotsh
7b117b1060 feat: add .editorconfig for consistent coding style across different editors
feat: add dependabot.yml for weekly updates of GitHub Actions
chore: update Python version from 3.11 to 3.12 in .mise.toml and pyproject.toml
chore: update various dependencies in pyproject.toml to their latest versions
feat: add dependency-review.yml for automated dependency review on pull requests and weekly schedule
feat: add docker-compose.yml for setting up bot and postgres services in Docker environment
2024-04-11 20:22:47 +00:00
kzndotsh
67cdc52212 chore(pre-commit-config.yaml): update ruff-pre-commit version to v0.3.6 for latest features and bug fixes
feat(mypy.ini): add new mypy.ini file for better type checking configuration
fix(schema.prisma): make created_at field in Users model nullable to handle users without creation time
feat(schema.prisma): add color field to Roles model to store role's color information
refactor(pyproject.toml): rearrange linting configuration for better readability and remove redundant mypy configuration
2024-04-11 17:56:45 +00:00
kzndotsh
b944385860 feat(pyproject.toml): add psutil package to monitor system resources
refactor(guide.py): replace custom embed creation with EmbedCreator utility
feat(ping.py): add CPU and RAM usage to bot's latency check
refactor(poll.py): replace custom embed creation with EmbedCreator utility, add TODO for future improvements
refactor(rolecount.py): replace custom embed creation with EmbedCreator utility, improve choice names for clarity
refactor(controllers.py): move DatabaseController class to top for better readability
style(main.py): remove unnecessary newline
feat(constants.py): add POLL color and icon to constants
feat(embeds.py): add method to create poll embeds with specific color and icon
2024-04-08 20:48:59 +00:00
kzndotsh
fcc152d4a7 refactor(pyproject.toml): remove unused dependencies and add new ones for better functionality
fix(cog_loader.py): add exception handling to cog loading process to prevent crashes due to faulty cogs
feat(main.py): add shutdown process to handle bot termination gracefully and prevent data loss
refactor(main.py): remove console task from bot ready event to improve startup speed
feat(main.py): add KeyboardInterrupt handling to allow graceful shutdown on manual termination

refactor(console.py): replace ThreadPoolExecutor with aioconsole.ainput for non-blocking input
feat(console.py): add shutdown_bot method to initiate bot shutdown from console
fix(console.py): handle ValueError when channel_id is not an integer in send_message method
fix(console.py): handle discord.HTTPException when sending message fails in send_message method
refactor(console.py): use dictionary.get method to fetch command function to avoid KeyError

refactor(sentry.py): remove unused opentelemetry and aiohttp integrations to simplify code and improve performance
fix(sentry.py): remove unused variables 'instrumenter' and 'provider' to clean up code and improve readability
2024-04-08 15:51:14 +00:00
kzndotsh
29970db833 chore(.mise.toml): remove unused env section
build(.pre-commit-config.yaml): update ruff-pre-commit version to v0.3.5
refactor(tux/cogs/utility/guide.py): remove guild banner from server guide embed
refactor(tux/cogs/utility/ping.py): use EmbedCreator for creating embeds
refactor(tux/utils/constants.py): reorganize and add new constants for embeds and interactions
feat(tux/utils/embeds.py): add new EmbedCreator class for creating standardized embeds
refactor(tux/utils/embedbuilder.py): remove unused embedbuilder file
2024-04-06 19:48:57 +00:00
kzndotsh
3080f23d63 feat(pyproject.toml): add dateparser and opentelemetry-distro dependencies
fix(pyproject.toml): update sentry-sdk version and extras from httpx to opentelemetry
refactor(pyproject.toml): update linting configuration and ignore rules
refactor(tux/*): rename Constants alias from C to CONST for better readability
refactor(tux/database/models.py): improve function parameters naming for clarity
feat(tux/main.py): integrate opentelemetry for better tracing and monitoring
refactor(tux/utils/_utils.py): improve is_convertible_to_type function readability

refactor(constants.py): change all constant keys to uppercase for better readability and consistency
refactor(constants.py): rename class instance from 'C' to 'CONST' for better clarity and understanding
feat(constants.py): change import statement and usage examples to reflect the new class instance name 'CONST'
2024-03-31 19:29:27 +00:00
kzndotsh
669617b611 feat(pyproject.toml): add dateparser library to handle date parsing
refactor(ban.py): simplify ban command, add role checks, improve logging and error handling
refactor(kick.py): simplify kick command, add role checks, improve logging and error handling
refactor(slowmode.py): simplify slowmode command, add role checks, improve logging and error handling

refactor(unban.py): rename class 'unban' to 'Unban' for better code readability
feat(unban.py): add role check to unban command to restrict access to certain roles
refactor(unban.py): simplify unban logic by using discord.utils.get and discord.utils.find
fix(unban.py): handle discord.HTTPException for better error handling
refactor(unban.py): extract embed creation and error message sending to separate methods for better code organization
2024-03-31 17:46:58 +00:00