Commit graph

162 commits

Author SHA1 Message Date
ac7ea76d9f Refactor default.py to standardize top padding for text elements in profile card rendering, ensuring consistent alignment of balance and level text. Move level text positioning to improve layout aesthetics and readability.
Some checks are pending
Run pre-commit / Run pre-commit (push) Waiting to run
2025-05-26 22:33:39 -04:00
a2032b4813 Adjust top padding in default.py to 20 for improved text placement in profile card rendering, enhancing overall layout aesthetics and readability.
Some checks are pending
Run pre-commit / Run pre-commit (push) Waiting to run
2025-05-26 22:21:00 -04:00
3ecf002c37 Refactor default.py to standardize top padding for text elements in profile card rendering, ensuring consistent alignment of balance and level text. Move level text positioning to improve layout aesthetics and readability.
Some checks are pending
Run pre-commit / Run pre-commit (push) Waiting to run
2025-05-26 22:18:38 -04:00
1c55a00e60 Update default.py to adjust level text positioning, moving it to start after the profile picture for better alignment and readability in profile card rendering.
Some checks are pending
Run pre-commit / Run pre-commit (push) Waiting to run
2025-05-26 22:13:10 -04:00
c840311f42 Refactor default.py to reposition stats and level text in profile card rendering, aligning elements consistently on the right side for improved readability. Adjust calculations for text placement and enhance overall layout aesthetics.
Some checks are pending
Run pre-commit / Run pre-commit (push) Waiting to run
2025-05-26 22:10:24 -04:00
173f3b2cc4 Refactor default.py to improve stats layout and positioning in profile card rendering. Adjust calculations for progress bar and text alignment to enhance overall readability and aesthetics, ensuring elements are consistently placed after the profile picture.
Some checks are pending
Run pre-commit / Run pre-commit (push) Waiting to run
2025-05-26 22:02:58 -04:00
bf4fbe7248 Refactor default.py to streamline profile card rendering, including adjustments to background layers, improved stats layout, and enhanced visibility of XP and progress percentage. Simplify the design by removing unnecessary elements and optimizing positioning for a cleaner aesthetic.
Some checks are pending
Run pre-commit / Run pre-commit (push) Waiting to run
2025-05-26 21:59:41 -04:00
b3cf61b4ec Refactor default.py to adjust profile card dimensions and layout, including conditional sizing for square cards, repositioning of the profile picture, and enhancements to the glass morphism effect for improved readability and aesthetics.
Some checks are pending
Run pre-commit / Run pre-commit (push) Waiting to run
2025-05-26 21:55:05 -04:00
7b8b81c777 Refactor default.py to improve profile card layout and styling, including adjustments to stroke width, positioning of elements, and enhancements to the glass morphism effect. Update pyproject.toml to maintain consistent formatting and remove unnecessary lines.
Some checks are pending
Run pre-commit / Run pre-commit (push) Waiting to run
2025-05-26 21:47:40 -04:00
18664d75c3 Remove svgwrite dependency from info.json and refactor profile.py to eliminate unused import of modern style, streamlining project requirements and improving code clarity.
Some checks are pending
Run pre-commit / Run pre-commit (push) Waiting to run
2025-05-26 21:42:50 -04:00
aa552e9a3d Refactor default.py to enhance profile progress bar rendering, including improved calculation of progress percentage and visibility of XP and percentage text. Remove modern.py as it is no longer needed, streamlining the profile generation process.
Some checks are pending
Run pre-commit / Run pre-commit (push) Waiting to run
2025-05-26 21:38:38 -04:00
7cf455e68d Update info.json to include additional project requirements for enhanced functionality, adding dependencies such as aiocache, colorgram.py, fastapi, msgpack, plotly, pydantic, python-multipart, python-decouple, psutil, skia-python, tenacity, ujson, and uvicorn.
Some checks are pending
Run pre-commit / Run pre-commit (push) Waiting to run
2025-05-26 21:13:43 -04:00
df23ae0fbc Refactor profile generation in modern.py to improve SVG card rendering, including enhanced stats presentation and avatar handling. Update pyproject.toml to remove unnecessary dependencies, streamlining project requirements.
Some checks are pending
Run pre-commit / Run pre-commit (push) Waiting to run
2025-05-26 21:11:06 -04:00
58b7e586d6 Update info.json to reflect new leveling system details, including author, description, and installation message. Modify pyproject.toml to remove Wand dependency. Enhance modern.py to generate SVG profile cards with improved stats presentation and avatar handling, streamlining profile generation process.
Some checks are pending
Run pre-commit / Run pre-commit (push) Waiting to run
2025-05-26 21:09:13 -04:00
653b16cb5e Update pyproject.toml to include Python and Wand dependencies. Modify default.py to enhance profile layout with adjusted positions and improved glass morphism effect. Update profile.py to set modern profile generation as the default style, ensuring a more contemporary user experience.
Some checks are pending
Run pre-commit / Run pre-commit (push) Waiting to run
2025-05-26 20:58:12 -04:00
9c5924418d Enhance leaderboard display in Leaderboard cog by adding a warning about potential inaccuracies, modernizing embed titles and descriptions, and improving user stats presentation. Update footer details for clarity and adjust formatting for better user experience.
Some checks are pending
Run pre-commit / Run pre-commit (push) Waiting to run
2025-05-26 20:51:46 -04:00
d638772e80 Refactor leaderboard display in Leaderboard cog to enhance user experience. Remove warning message, update embed formatting with server icons, and include percentage rankings. Modernize user stats presentation and improve footer details for clarity.
Some checks are pending
Run pre-commit / Run pre-commit (push) Waiting to run
2025-05-26 20:46:32 -04:00
2e402ff7cf Define profile picture size and positions in default.py to improve layout consistency and enhance image composition for user profiles.
Some checks are pending
Run pre-commit / Run pre-commit (push) Waiting to run
2025-05-26 20:37:52 -04:00
d335fc3d49 Add circle position definitions for animated profiles in default.py to enhance image composition functionality.
Some checks are pending
Run pre-commit / Run pre-commit (push) Waiting to run
2025-05-26 20:35:12 -04:00
6eedb65625 Update item creation completion message in ItemManager to simplify user feedback and enhance clarity.
Some checks are pending
Run pre-commit / Run pre-commit (push) Waiting to run
2025-05-26 20:27:22 -04:00
1b77d537be Remove command prefix check during item creation in ItemManager to streamline the user experience and prevent premature termination of the item creation process.
Some checks are pending
Run pre-commit / Run pre-commit (push) Waiting to run
2025-05-26 20:23:37 -04:00
224a01ad89 Enhance shop item creation process to support new shop creation. Update user prompts to inform about existing shops and allow for the creation of new shops if none exist. Streamline message handling and improve user experience during item addition.
Some checks are pending
Run pre-commit / Run pre-commit (push) Waiting to run
2025-05-26 20:21:26 -04:00
f80c66e1c1 Update positive method in Checks class to allow zero as a valid input, enhancing validation logic for user input.
Some checks are pending
Run pre-commit / Run pre-commit (push) Waiting to run
2025-05-26 20:18:27 -04:00
3794068ae5 Refactor API error handling in Leaderboard cog to improve JSON response validation and logging. Update authorization header format, streamline error message retrieval, and enhance exception handling for various API response statuses, ensuring better reliability and debugging capabilities.
Some checks are pending
Run pre-commit / Run pre-commit (push) Waiting to run
2025-05-26 09:59:16 -04:00
963d9e3e73 Enhance API error handling and logging in Leaderboard cog. Update authorization header format to use "Token" prefix, improve JSON response validation, and add detailed error messages for various API response statuses. Ensure robust exception handling for API requests to improve reliability and debugging.
Some checks are pending
Run pre-commit / Run pre-commit (push) Waiting to run
2025-05-26 09:50:08 -04:00
c15fb8ff47 Add warning message for potential inaccuracies in global leaderboard due to synchronization delays in Leaderboard cog
Some checks are pending
Run pre-commit / Run pre-commit (push) Waiting to run
2025-05-26 09:33:25 -04:00
76fd3bf053 Refactor leaderboard sync process in Leaderboard cog to streamline user credit aggregation and improve logging. Remove unnecessary checks for minimum credits during sync, and enhance error handling for API updates. Update user credit retrieval to sum credits across all guilds, ensuring accurate leaderboard representation.
Some checks are pending
Run pre-commit / Run pre-commit (push) Waiting to run
2025-05-26 09:29:56 -04:00
7cc05adc71 Update user credit retrieval in Leaderboard cog to use bank.get_balance for improved accuracy and performance. Enhance logging for better debugging of credit calculations.
Some checks are pending
Run pre-commit / Run pre-commit (push) Waiting to run
2025-05-26 09:20:56 -04:00
67ac390028 Refactor Skia image generation handling in DB model and Owner command to streamline property access and improve code clarity. Update the Owner command to directly manipulate the use_skia attribute, enhancing performance and maintainability.
Some checks are pending
Run pre-commit / Run pre-commit (push) Waiting to run
2025-05-26 09:17:11 -04:00
6cf3ff80ba Refactor Skia image generation command in Owner cog to remove unnecessary await for database calls, improving performance and simplifying code structure.
Some checks are pending
Run pre-commit / Run pre-commit (push) Waiting to run
2025-05-26 09:12:34 -04:00
55bd285ac9 Remove project metadata and dependencies from pyproject.toml, streamlining the configuration file for future updates.
Some checks are pending
Run pre-commit / Run pre-commit (push) Waiting to run
2025-05-26 09:08:06 -04:00
914e7a725b Add Skia support for image generation and update project metadata
Introduce a new command to toggle Skia-based image generation in the LevelUp cog, enhancing image quality and performance. Update the pyproject.toml file to include project metadata and dependencies, including skia-python. Modify the levelalert generator to support Skia, with fallback to the original implementation if necessary. Additionally, update the author list in info.json to include a new contributor.
2025-05-26 09:06:08 -04:00
258ba40f01 Refactor logging and user credit checks in Leaderboard cog to enhance clarity and user experience. Update log messages for credit retrieval and leaderboard display, ensuring accurate communication of user statuses. Improve embed descriptions for better user feedback on credit standings.
Some checks are pending
Run pre-commit / Run pre-commit (push) Waiting to run
2025-05-26 06:13:10 -04:00
deaa1aabb8 Refine leaderboard sync process in Leaderboard cog to focus on users with 10,000+ credits. Update logging for clarity on sync results and user credit checks. Enhance error handling and ensure accurate data aggregation while maintaining detailed debug information for better tracking of user states.
Some checks are pending
Run pre-commit / Run pre-commit (push) Waiting to run
2025-05-26 06:10:33 -04:00
7eddd891bc Enhance automatic leaderboard sync process in Leaderboard cog by refining user credit aggregation and error handling. Implement detailed logging for successes and failures during sync, and ensure opted-out users are included in the sync process. Improve API verification after sync to confirm data integrity. Update user credit retrieval to streamline balance fetching across servers.
Some checks are pending
Run pre-commit / Run pre-commit (push) Waiting to run
2025-05-26 06:06:05 -04:00
9b8d4be301 Refactor user credit retrieval logic in Leaderboard cog to improve error handling and processing efficiency. Implement additional logging for debugging, ensuring accurate balance aggregation across multiple servers while skipping opted-out users. Update embed descriptions for clarity in credit display.
Some checks are pending
Run pre-commit / Run pre-commit (push) Waiting to run
2025-05-26 05:58:09 -04:00
02d67baeef Add automatic leaderboard sync task and enhance user credit retrieval in Leaderboard cog
Some checks are pending
Run pre-commit / Run pre-commit (push) Waiting to run
Implement a background task for automatic leaderboard synchronization every 6 hours, improving data consistency. Update user credit retrieval to first check the current server's balance before aggregating from other servers, ensuring accurate total credits. Enhance error handling and logging for better debugging and user feedback during API interactions.
2025-05-26 05:55:32 -04:00
bc602b73bf Update minimum credits threshold in Leaderboard cog from 500 to 10,000, adjusting related error messages and embed descriptions for consistency and clarity.
Some checks are pending
Run pre-commit / Run pre-commit (push) Waiting to run
2025-05-26 05:48:38 -04:00
cbc2fb5ba9 Implement API connection testing and enhance user credit retrieval in Leaderboard cog
Some checks are pending
Run pre-commit / Run pre-commit (push) Waiting to run
Add a test for the API connection during initialization, improving error logging for connection failures. Update the user credit retrieval method to aggregate credits from all servers the user is a member of, enhancing accuracy. Introduce a cleanup command for removing old leaderboard entries, with appropriate error handling and user feedback for API interactions.
2025-05-26 05:35:50 -04:00
f1c5eef019 Update minimum credits threshold in Leaderboard cog from 10,000 to 500, adjusting related error messages and embed descriptions for improved user accessibility and experience.
Some checks are pending
Run pre-commit / Run pre-commit (push) Waiting to run
2025-05-26 05:32:38 -04:00
749f0df17c Enhance command processing in ExtendedCommands cog by introducing prefix tracking and preventing original messages from triggering commands. Update command execution logic to use the prefix that was actually used, improving command handling accuracy.
Some checks are pending
Run pre-commit / Run pre-commit (push) Waiting to run
2025-05-26 05:22:42 -04:00
6fbe4cda11 Refactor leaderboard display logic in Leaderboard cog to improve user experience by ensuring only users with 10,000 or more credits are shown. Update error messages for clarity and enhance privacy options with an opt-out feature for the global leaderboard.
Some checks are pending
Run pre-commit / Run pre-commit (push) Waiting to run
2025-05-26 05:15:11 -04:00
49902e8719 Add opt-in/opt-out functionality for global leaderboard in Leaderboard cog
Some checks are pending
Run pre-commit / Run pre-commit (push) Waiting to run
Implement user options to opt-out of the global leaderboard, ensuring their credits are not displayed. Update leaderboard display logic to only show users with 10,000 or more credits, enhancing user privacy and experience. Adjust error messages and embed descriptions accordingly for clarity.
2025-05-26 05:07:24 -04:00
18d38ac395 Enhance user credit retrieval in Leaderboard cog by updating balance fetching logic to support per-server banks. Improve error handling during balance retrieval and ensure accurate total credits are calculated across all guilds. Streamline the process of collecting and sorting user balances for leaderboard display.
Some checks are pending
Run pre-commit / Run pre-commit (push) Waiting to run
2025-05-26 05:03:39 -04:00
51320a8ed8 Add API initialization and cog loading in Leaderboard cog
Some checks are pending
Run pre-commit / Run pre-commit (push) Waiting to run
Introduce an optional API connection setup in the Leaderboard cog with error handling. Implement a cog_load method to ensure the API is initialized when the cog is loaded, enhancing overall functionality and resource management.
2025-05-26 04:59:31 -04:00
0114307e67 Refactor Leaderboard cog to enhance user credit retrieval and API integration. Simplify session management, remove redundant initialization logic, and improve error handling for credit updates. Introduce a new method for fetching all user balances and streamline leaderboard display logic.
Some checks are pending
Run pre-commit / Run pre-commit (push) Waiting to run
2025-05-26 04:56:55 -04:00
5ffc18d442 Refactor Leaderboard cog to streamline user credit retrieval and enhance session management. Simplify bank balance fetching logic, improve error handling during session initialization, and add cog load/unload methods for better resource management.
Some checks are pending
Run pre-commit / Run pre-commit (push) Waiting to run
2025-05-26 04:50:37 -04:00
8622d7e223 Refactor Leaderboard cog to replace points with credits, updating related methods and commands for consistency. Enhance user experience by renaming commands and improving error handling during credit updates. Introduce a resync command for global leaderboard updates.
Some checks are pending
Run pre-commit / Run pre-commit (push) Waiting to run
2025-05-26 04:48:58 -04:00
57c7b1aaa3 Update leaderboard point calculation logic in Leaderboard cog to handle global bank balance retrieval and improve LevelUp XP fetching. Enhance error handling for user data access and ensure accurate total points computation.
Some checks are pending
Run pre-commit / Run pre-commit (push) Waiting to run
2025-05-26 04:44:26 -04:00
b688f7a605 Refactor leaderboard data fetching in Leaderboard cog to retrieve global leaderboard from API, enhancing error handling and caching. Update point management logic to calculate points dynamically and improve user interaction by updating points on member data changes.
Some checks are pending
Run pre-commit / Run pre-commit (push) Waiting to run
2025-05-26 04:20:46 -04:00