aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2026-02-26anime parser fixHEADmainBobby4-88/+333
2026-02-26Add MAL client and anime parsing functionalityBobby17-91/+12517
- 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-25chore: Update .env.example and README for environment variable configurationBobby2-25/+41
2026-02-25feat: Add golang.org/x/sync v0.19.0 dependency and remove indirect referenceBobby2-2/+1
2026-02-25Refactor anime update logic and task managementBobby22-642/+677
- 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 logicBobby12-62/+492
- 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 handlingBobby18-412/+584
- 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 logicBobby5-5/+168
2026-02-24Refactor rate limiter: simplify implementation and improve token managementBobby5-77/+37
2026-02-24Refactor GetAnime function: remove unnecessary service call and streamline ↵Bobby1-7/+1
anime retrieval logic
2026-02-24Add anime stub retrieval and enhance anime sync logic with force refresh ↵Bobby6-6/+113
capability
2026-02-24Refactor entities and repositories: add AnimeCharacter and ↵Bobby15-91/+312
CharacterVoiceActor types, update character handling in anime, and enhance producer enrichment logic
2026-02-24Refactor producer sync logic: streamline data saving and enhance external ↵Bobby2-76/+92
URL enrichment process
2026-02-24Refactor entities and repositories: update JSON tags, add season number, and ↵Bobby14-52/+342
implement related anime fetching logic
2026-02-09Refactor AnimeUpdate worker logging and enhance API request for skip timesBobby16-1708/+78
- 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 request handling: enhance facade structure to include fiber context ↵Bobby4-14/+26
for improved parameter access
2026-02-09Refactor task management: enhance task status handling and trigger dependent ↵Bobby5-13/+96
tasks; improve producer sync logic to skip recently updated producers
2026-02-09Refactor BatchCreateProducers: implement transaction handling and improve ↵Bobby2-11/+75
error logging; add title and external URL associations
2026-02-06Refactor database interactions: replace direct database calls with DB ↵Bobby10-63/+182
variable and implement batch creation for images and producers
2026-02-06Refactor Jikan API client: improve context management in GetAnimeProducers ↵Bobby2-5/+14
and enhance logging for pagination
2026-02-06Refactor RateLimiter: improve request handling and cleanup logicBobby1-19/+20
2026-02-06Refactor task management and producer synchronizationBobby24-3512/+2489
- 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-06Refactor TVDBAuthResponse to use TMDBAuthData for token management; remove ↵Bobby3-333/+6
Task and TaskStatus types
2026-02-06Refactor TMDB and TVDB API integrationBobby15-1072/+1013
- 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.
2026-02-05Refactor MALSync API client: enhance request handling with retry logic and ↵Bobby4-82/+139
error management, and introduce Malsync types for streaming site and anime response
2026-02-05Enhance episode and skip time structures: add EpisodeNumber and ↵Bobby5-393/+136
EpisodeLength fields, introduce Aniskip types, and refactor AniSkipClient for improved request handling
2026-02-05Add repository functions for genre, meta, and producer managementBobby7-680/+488
- 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.
2026-02-05Refactor Jikan API types: remove unused structures and add HTTP client ↵Bobby23-790/+3204
configuration
2026-02-04Refactor logger: enhance logging structure with zap integration and remove ↵Bobby2-71/+100
unused LogOptions
2026-02-04Implement request middleware enhancements: add BuildRequest function and ↵Bobby8-1/+213
improve request context handling
2026-02-04Refactor middleware: rename HTTPLogger to httpLogger and add middleware ↵Bobby4-3/+26
initialization function
2026-02-04Refactor database initialization and migration: update driver handling and ↵Bobby5-933/+62
streamline migration process
2026-02-04Add enums for database drivers and mapping typesBobby2-0/+40
2026-02-04Refactor server startup: improve logging with structured messages and use ↵Bobby1-10/+4
server host and port configuration
2026-02-04Refactor HTTP logging: simplify message formatting and remove unused log ↵Bobby1-41/+29
level and color functions
2026-02-04Add zap and multierr dependencies; update go.sumBobby2-0/+8
2026-02-04Add entity definitions for anime, episodes, genres, mappings, and related ↵Bobby9-272/+282
structures
2026-02-04Add environment variable utilities: implement functions for retrieving and ↵Bobby4-0/+247
setting environment variables with default values
2026-02-04Refactor configuration management: separate server, database, sync, and API ↵Bobby3-61/+87
configurations into distinct types and implement verification logic for configuration integrity
2026-02-03Add support for manual task triggering: update AnimeSync to run after ↵Bobby3-7/+18
AnimeFetch and enhance task status retrieval
2026-02-03Enhance episode ID generation and task management: include MAL ID and ↵Bobby5-8/+42
episode number for uniqueness, and update AnimeSync task to run weekly with last run tracking
2026-02-03Implement AniFetch task for fetching anime mappings and trigger AniSync ↵Bobby3-105/+276
after completion
2026-02-03Refactor anime and genre synchronization tasks: replace existing ↵Bobby2-0/+0
implementations with new structured code for improved maintainability and performance
2026-02-03Add genre-based anime retrieval with pagination and related database updatesBobby7-22/+244
2026-01-20Implement genre synchronization from MAL via Jikan API and add genre ↵Bobby8-262/+199
retrieval endpoint
2026-01-20Add TVDB integration for episode retrieval and configuration setupBobby8-21/+558
2026-01-16Enable GitHub Pages configuration in documentation workflowBobby1-0/+2
2026-01-16Add OpenAPI specification for MetaChan API with detailed endpoints and schemasBobby5-1/+12112
2026-01-16Rename streaming source type from "M3U8" to "HLS" for clarity in ↵Bobby1-1/+1
GetEpisodeLinks function
2026-01-16Enhance anime data retrieval and storage by adding comprehensive preload and ↵Bobby1-1/+386
save functionality for images, logos, covers, scores, airing status, broadcast info, genres, producers, studios, licensors, and seasons in GetAnimeByMALID and SaveAnimeToDatabase functions.