aboutsummaryrefslogtreecommitdiff
path: root/entities
AgeCommit message (Collapse)AuthorFilesLines
2026-02-25Refactor anime update logic and task managementBobby5-149/+131
- 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.
2026-02-24feat: Enhance person handling and synchronization logicBobby1-9/+57
- 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 handlingBobby2-7/+25
- 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-24Refactor entities and repositories: add AnimeCharacter and ↵Bobby4-16/+29
CharacterVoiceActor types, update character handling in anime, and enhance producer enrichment logic
2026-02-24Refactor producer sync logic: streamline data saving and enhance external ↵Bobby1-2/+2
URL enrichment process
2026-02-24Refactor entities and repositories: update JSON tags, add season number, and ↵Bobby4-3/+5
implement related anime fetching logic
2026-02-09Refactor AnimeUpdate worker logging and enhance API request for skip timesBobby10-70/+67
- 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-09Refactor task management: enhance task status handling and trigger dependent ↵Bobby1-1/+1
tasks; improve producer sync logic to skip recently updated producers
2026-02-06Refactor database interactions: replace direct database calls with DB ↵Bobby1-3/+3
variable and implement batch creation for images and producers
2026-02-06Refactor task management and producer synchronizationBobby4-66/+77
- 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 MALSync API client: enhance request handling with retry logic and ↵Bobby1-1/+1
error management, and introduce Malsync types for streaming site and anime response
2026-02-05Enhance episode and skip time structures: add EpisodeNumber and ↵Bobby1-13/+23
EpisodeLength fields, introduce Aniskip types, and refactor AniSkipClient for improved request handling
2026-02-04Add entity definitions for anime, episodes, genres, mappings, and related ↵Bobby9-272/+282
structures
2026-01-20Implement genre synchronization from MAL via Jikan API and add genre ↵Bobby1-258/+1
retrieval endpoint
2026-01-15Add episode streaming functionality and cachingBobby1-0/+19
2025-08-25Updated Database Sync for AnimePriyansh1-0/+222
2025-08-25updated routes, added episode ids to each episodePriyansh1-0/+1
2025-08-19fix foreign key constraints in anime entitiesPriyansh1-10/+9
2025-08-19episodes router; anilist support; general fixesPriyansh1-0/+4
2025-05-09fixed anime updaterBobby1-2/+18
2025-05-09removed time until airing from responsesBobby1-5/+4
2025-05-09added anime cacheBobby1-1/+244
2025-04-18basic anime details with episodes; added jikan and anilist as metadata ↵Bobby2-30/+33
fetchers; added tmdb for fetching episode descriptions
2025-04-06syncing anime lists via fribb mappingsBobby1-0/+45