aboutsummaryrefslogtreecommitdiff
path: root/controllers
AgeCommit message (Collapse)AuthorFilesLines
2026-02-26Add MAL client and anime parsing functionalityBobby1-11/+9
- 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.
2026-02-24feat: Enhance person handling and synchronization logicBobby1-5/+34
- 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
2026-02-24feat: Refactor anime and character handlingBobby3-328/+103
- 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.
2026-02-24Add GetAnimeEpisodes endpoint and implement episode retrieval logicBobby1-0/+18
2026-02-24Refactor GetAnime function: remove unnecessary service call and streamline ↵Bobby1-7/+1
anime retrieval logic
2026-02-09Refactor AnimeUpdate worker logging and enhance API request for skip timesBobby1-2/+8
- 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.
2026-02-06Refactor task management and producer synchronizationBobby1-4/+0
- 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.
2026-02-05Refactor Jikan API types: remove unused structures and add HTTP client ↵Bobby3-192/+346
configuration
2026-02-03Add genre-based anime retrieval with pagination and related database updatesBobby1-0/+46
2026-01-20Implement genre synchronization from MAL via Jikan API and add genre ↵Bobby1-0/+18
retrieval endpoint
2026-01-16Handle missing anime mapping by checking for MAL ID in getAnimeMapping functionBobby1-1/+2
2026-01-15Add episode streaming functionality and cachingBobby1-0/+50
2025-08-25updated routes, added episode ids to each episodePriyansh1-2/+23
2025-08-19episodes router; anilist support; general fixesPriyansh1-11/+50
2025-05-09refactored typesBobby1-3/+2
2025-05-09move anime to services. refactor. add sub dub streaming countsBobby1-2/+15
2025-04-18basic anime details with episodes; added jikan and anilist as metadata ↵Bobby1-0/+40
fetchers; added tmdb for fetching episode descriptions
2025-04-06added health route for server statsBobby1-0/+36