| Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
- Implemented a new CloudflareClient to handle requests with randomized browser profiles.
- Created structures and functions for parsing anime data from MyAnimeList (MAL), including anime details, episodes, and theme songs.
- Added enums for anime types, statuses, sources, and ratings.
- Developed utility functions for making HTTP requests with rate limiting and error handling.
- Introduced image handling for anime covers and thumbnails.
- Established a comprehensive data model for anime, including fields for statistics, trailers, and external links.
|
|
|
|
|
|
- Simplified title retrieval in AnimeUpdate and updateAnime functions.
- Updated next airing checks to use new fields directly.
- Removed unnecessary nil checks for titles in various functions.
- Enhanced task management by eliminating redundant LastRun updates.
- Improved dependency handling in triggerDependentTasks for better clarity and performance.
- Streamlined Jikan API response structure by merging related fields.
- Added StopRateLimiters function to rate limiter utilities for better control.
- Refined episode title handling in TMDB and TVDB enrichment functions.
- Introduced Stop method in MultiLimiter for graceful shutdown of rate limiters.
|
|
- Introduced new Person entity with detailed attributes
- Updated repositories and controllers to support person data retrieval
- Implemented PersonSync task for background enrichment of person data
- Refactored existing character and voice actor logic to utilize Person entity
- Added Jikan API integration for fetching person details
|
|
- Removed old GetAnimeEpisodes and GetAnimeEpisodesByMALID functions, replaced with a new implementation in episodes.go.
- Added GetAnimeCharacters and GetAnimeCharacter functions to handle character retrieval.
- Introduced CharacterAnimeAppearance entity to track character appearances in anime.
- Updated repositories to manage character data and enrich character details.
- Implemented enriched_at timestamp for both anime and characters to track data updates.
- Added CharacterSync task to periodically enrich character data from the Jikan API.
- Updated router to include new character-related endpoints.
|
|
|
|
|
|
anime retrieval logic
|
|
capability
|
|
CharacterVoiceActor types, update character handling in anime, and enhance producer enrichment logic
|
|
URL enrichment process
|
|
implement related anime fetching logic
|
|
- Updated worker logging in AnimeUpdate to display worker ID starting from 1 instead of 0.
- Modified the API request in GetSkipTimesForEpisode to include episodeLength=0 in the query parameters for better handling of skip times.
- Added a new BaseModel struct in entities package to standardize model definitions with hidden ID and timestamp fields for JSON responses.
|
|
for improved parameter access
|
|
tasks; improve producer sync logic to skip recently updated producers
|
|
error logging; add title and external URL associations
|
|
variable and implement batch creation for images and producers
|
|
and enhance logging for pagination
|
|
|
|
- Updated TaskManager to utilize repositories for database operations, improving separation of concerns.
- Enhanced logging functionality by replacing logger.Log with logger.Infof, logger.Warnf, and logger.Errorf for better readability and consistency.
- Simplified ProducerSync function by removing unnecessary pagination logic and directly fetching producer data.
- Introduced helper functions for calculating progress and managing task statuses.
- Added new service for fetching and saving anime data, integrating multiple data sources (Jikan, Anilist, MALsync, TMDB, TVDB, Aniskip).
- Created new types for task management and improved overall code organization.
- Removed deprecated database calls and replaced them with repository methods for better maintainability.
|
|
Task and TaskStatus types
|
|
- Removed redundant struct definitions in TMDB types.go for cleaner code.
- Introduced a client struct in both TMDB and TVDB to manage HTTP client and authentication tokens.
- Updated TVDB authentication logic to use a single client instance with improved error handling.
- Refactored episode fetching and processing functions in TVDB to enhance readability and maintainability.
- Simplified episode ID generation logic by consolidating it into a single function.
- Improved logging for better debugging and tracking of API interactions.
|
|
error management, and introduce Malsync types for streaming site and anime response
|
|
EpisodeLength fields, introduce Aniskip types, and refactor AniSkipClient for improved request handling
|
|
- Implement CreateOrUpdateGenre function in genre.go for managing genres in the database.
- Add CreateOrUpdateSimpleImage, CreateOrUpdateSimpleTitle, and CreateOrUpdateExternalURL functions in meta.go for handling images, titles, and external URLs.
- Introduce CreateOrUpdateProducer function in producer.go to manage producer data.
- Define Anilist data structures in types/anilist.go for handling API responses.
- Refactor Anilist API client in utils/api/anilist/anilist.go to improve request handling with retries and error management.
- Remove deprecated JikanClient code and related functions in utils/api/jikan/jikan.go to streamline the codebase.
|
|
configuration
|
|
unused LogOptions
|
|
improve request context handling
|
|
initialization function
|
|
streamline migration process
|
|
|
|
server host and port configuration
|
|
level and color functions
|
|
|
|
structures
|
|
setting environment variables with default values
|
|
configurations into distinct types and implement verification logic for configuration integrity
|
|
AnimeFetch and enhance task status retrieval
|
|
episode number for uniqueness, and update AnimeSync task to run weekly with last run tracking
|
|
after completion
|
|
implementations with new structured code for improved maintainability and performance
|
|
|
|
retrieval endpoint
|
|
|
|
|
|
|
|
GetEpisodeLinks function
|
|
save functionality for images, logos, covers, scores, airing status, broadcast info, genres, producers, studios, licensors, and seasons in GetAnimeByMALID and SaveAnimeToDatabase functions.
|