Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release v1 #1

Merged
merged 21 commits into from
Jan 12, 2025
Merged

Release v1 #1

merged 21 commits into from
Jan 12, 2025

Conversation

goldpulpy
Copy link
Owner

No description provided.

goldpulpy and others added 21 commits January 5, 2025 17:04
…r setup, environment configuration, and core bot functionality. Added necessary files such as Dockerfile, docker-compose.yml, and .env.example, along with the main application logic, database models, and handlers for user interactions.
…tion handling. Updated requirements to include BeautifulSoup. Added service module with music search and download capabilities.
…to the database and updating user search statistics. Introduced new database models for song mapping and search history. Refactored CRUD operations to allow retrieval by any field. Updated the MusicService to use constants for URLs and improved error handling. Added inline keyboard templates for displaying search results.
… new get_song handler for retrieving and sending song audio. Updated account and search handlers' registration documentation. Renamed methods in MusicService for clarity, and modified inline button callback data format for song downloads.
…downloads. Updated README for language representation. Refactored MusicService to include thumbnail retrieval and improved error logging. Modified song model to store thumbnail hash and adjusted data parsing logic. Updated user feedback messages during song sending process.
… a new pages handler for navigating search results and updated the get_song handler to include error messaging. Enhanced the search handler to clean up keyword input and improved inline keyboard generation for paginated song selection. Added error message template for user feedback.
…ong retrieval in pages handler. Added PROMO_CAPTION template for user engagement and ensured proper song mapping in search results.
…ostgreSQL. Added environment variables for PostgreSQL user, password, and database name, and updated the database URL format accordingly.
…ed environment configuration in .env.example and docker-compose.yml to include PostgreSQL settings and Adminer for database management. Removed SQLite references and adjusted database connection logic in the application. Enhanced README with updated setup instructions and added utility functions for song retrieval from the database.
…andling. Introduced a new `send_song` function for better code organization and added `get_all_from_page_handler` for batch song sending. Updated pagination logic in `get_keyboard_of_songs` to streamline song navigation. Enhanced error logging across handlers and removed unnecessary keyword parameter from inline keyboard generation. Updated `.dockerignore` to include `.env.example`.
…ith installation instructions and feature highlights. Changed placeholder values to lowercase for consistency and improved clarity in setup steps, including Docker prerequisites and database management details.
…Updated .env.example for clearer bot and database configuration, added TIMEZONE variable, and improved README with new features. Transitioned to using I18n for multilingual support in handlers, removed deprecated middleware, and streamlined environment variable usage in docker-compose.yml. Enhanced song retrieval and error handling in handlers, ensuring better user feedback and engagement.
…ed new menu and FAQ handlers, replacing the deprecated start handler. Updated language handler to integrate with the new menu structure. Enhanced inline keyboard generation for better user interaction and added localized messages for menu and FAQ options. Improved error handling in message sending processes.
…essaging in the `send_song` handler for clearer user feedback. Introduced new functions in the `search` handler to fetch top songs and novelties, along with corresponding inline keyboard buttons for better navigation. Improved localization support by adding new message entries for top songs and novelties in both English and Russian. Refactored song data model to streamline audio and thumbnail URL handling.
…erviceConfig to load headers from a JSON file, enhancing flexibility and maintainability of HTTP session settings.
…uctions, and usage details for better accessibility to Russian-speaking users.
…ection headers to English, enhancing understanding for non-Russian speakers. Adjusted installation prerequisites and usage instructions for better guidance. Added feature highlights and clarified database management details.
@goldpulpy goldpulpy merged commit e0acf66 into main Jan 12, 2025
1 check passed
@goldpulpy goldpulpy deleted the dev branch January 12, 2025 02:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant