1
Fork 0
mirror of https://github.com/allthingslinux/tux.git synced 2024-10-02 16:43:12 +00:00
tux/config
kzndotsh 464a23af8e feat(settings.json): add PERMISSION_LEVELS object to manage user permissions more effectively
docs(PERMISSIONS.md): add new documentation file explaining the permissions management system
refactor(schema.prisma): simplify GuildConfig model by removing unnecessary fields and adding permission level roles fields for better permissions management

feat(config.py): add ConfigSelectMenu and ConfigSelectView classes for guild role configuration
refactor(config.py): replace individual role setting commands with a single command using the new classes
chore(config.py): comment out old role setting commands for reference, to be removed in future commits

refactor: consolidate channel setting commands into a single command for better maintainability
feat: add a new command to set all roles and channels using a select menu for improved user experience

feat: add role configuration options for different permission levels

This commit introduces the ability to configure roles for different permission levels (0-9) in the application. This allows for more granular control over user permissions and enhances the flexibility of the role management system.

refactor(client.py): conditionally set log_queries based on DEBUG constant for better control over logging in different environments

refactor(guild_config.py): simplify method and variable names for readability and maintainability
style(guild_config.py): improve code formatting for better readability

refactor(guild_config.py): simplify variable names by removing redundant 'guild_' prefix
chore(guild_config.py): comment out unused methods to improve code readability and performance

refactor(guild_config.py): simplify field names for better readability and consistency
feat(guild_config.py): comment out unused role retrieval methods to improve performance
chore(guild_config.py): add commented out code for future permission level roles feature

fix(main.py): uncomment debug related imports and function calls to enable debugging
feat(constants.py): change default value of DEBUG constant to True to enable debugging by default
2024-07-27 20:21:24 +00:00
..
settings.json feat(settings.json): add PERMISSION_LEVELS object to manage user permissions more effectively 2024-07-27 20:21:24 +00:00