Commit Graph
100 Commits
Author SHA1 Message Date
Whidix 262f619013 fix: update fetch URL for recording daily character win
Build Docker Image / build (push) Successful in 1m28s
2026-06-28 22:19:25 +02:00
Whidix 42c4c7e20c feat: add DailyFruitHint component and integrate it into the daily fruit page
Build Docker Image / build (push) Successful in 1m32s
2026-06-23 19:57:24 +02:00
Whidix 2d9cd43def feat: implement character selection and filtering functionality in infinite game mode 2026-06-23 19:51:44 +02:00
Whidix 33d8d17d33 fix: update daily title in English and French localization files
Build Docker Image / build (push) Successful in 1m30s
2026-06-22 21:37:24 +02:00
Whidix 7183b17678 feat: add daily fruit feature and related components
Build Docker Image / build (push) Successful in 2m8s
- Introduced a new daily fruit selection mechanism with associated database schema.
- Created routes and components for displaying and interacting with daily fruit.
- Implemented logic for tracking wins related to daily fruit and character guesses.
- Added localization support for new daily fruit titles in English and French.
- Enhanced the user experience with history tracking for guesses and wins.
- Refactored existing character-related logic to accommodate new fruit functionality.
2026-06-22 20:56:31 +02:00
Whidix e45683ed65 fix: remove 'Smile' type from DevilFruitType definition
Build Docker Image / build (push) Has been cancelled
2026-06-22 20:01:24 +02:00
Whidix be7d3bc983 feat: add haki user categorization in character fetch logic
Build Docker Image / build (push) Successful in 1m57s
2026-05-25 21:38:41 +02:00
Whidix a77f84f595 feat: enhance character and devil fruit data structures with additional fields and parsing functions
Build Docker Image / build (push) Successful in 2m10s
2026-05-25 19:03:12 +02:00
Whidix ef6bf9862e feat: add FriendsTodaySection component for displaying friends' results
Build Docker Image / build (push) Successful in 2m4s
2026-04-14 22:08:49 +02:00
Whidix d75c74ac3c Refactor character affiliations to singular form
- Updated character data structure to replace 'affiliations' and 'frAffiliations' with 'affiliation' and 'frAffiliation'.
- Modified related functions and components to accommodate the new structure.
- Adjusted database schema and server-side logic to reflect the changes in character affiliation handling.
- Ensured all references in the UI components and data import/export scripts are updated accordingly.
2026-04-14 21:56:26 +02:00
Whidix fa14156d82 feat: remove overrides
Build Docker Image / build (push) Has been cancelled
2026-04-12 02:01:01 +02:00
Whidix 29297d3773 fix: include 'Four Emperors' in character exclusion logic
Build Docker Image / build (push) Successful in 1m12s
2026-03-18 22:42:32 +01:00
Whidix 28bb8f526b fix: include Kuja in female character categorization
Build Docker Image / build (push) Successful in 1m13s
2026-03-18 22:40:39 +01:00
Whidix 288271fb04 fix: include Queens Regnant in female character categorization
Build Docker Image / build (push) Successful in 1m12s
2026-03-18 22:22:54 +01:00
Whidix fb64c84a17 fix: include Gorgon Sisters in female character categorization
Build Docker Image / build (push) Successful in 1m11s
2026-03-18 22:19:46 +01:00
Whidix 81e205dd4e fix: expand gender categorization in character fetch logic
Build Docker Image / build (push) Successful in 1m23s
2026-03-18 22:07:28 +01:00
Whidix ded1c8313d fix: update character link URLs to remove language prefix
Build Docker Image / build (push) Successful in 1m11s
2026-03-16 23:15:02 +01:00
Whidix 4426b5d28a fix: correct href interpolation for character links in admin page
Build Docker Image / build (push) Has been cancelled
2026-03-16 23:14:21 +01:00
Whidix 5ad0428420 feat: enhance character scrape validation and management
Build Docker Image / build (push) Successful in 1m14s
- Added a new entry for "fuzzy_talisman" in the journal.
- Updated import-json script to handle character deletion and mark absent characters as deleted in the scrape validation.
- Modified schema to include an `isDeleted` field in the characterScrapeValidation table.
- Renamed function `upsertCharacterFromScrapeValidation` to `applyCharacterChangeFromScrapeValidation` for clarity.
- Enhanced character change loading to include deleted characters and updated UI to display them.
- Improved character change handling in the Svelte component to reflect new, modified, and deleted states.
2026-03-16 23:12:06 +01:00
Whidix 7760570365 feat: exclude characters with 'family' in their name from fetch results
Build Docker Image / build (push) Successful in 1m14s
2026-03-16 22:31:40 +01:00
Whidix 5fde54a2a7 feat: add age filter functionality and localization support in guess history
Build Docker Image / build (push) Successful in 1m12s
2026-03-16 22:05:09 +01:00
Whidix 2a3c82f777 feat: add age attribute to character history and localization support
Build Docker Image / build (push) Successful in 1m13s
2026-03-16 22:00:49 +01:00
Whidix 835163f5bb feat: add tried characters tracking and display in daily game profile
Build Docker Image / build (push) Successful in 1m10s
2026-03-16 21:39:44 +01:00
Whidix 5020393b22 fix: normalize character status text to lowercase for consistency
Build Docker Image / build (push) Successful in 1m22s
2026-03-16 21:17:01 +01:00
Whidix 94393851c8 feat: support French epithets in character extraction logic
Build Docker Image / build (push) Successful in 1m14s
2026-03-15 22:44:45 +01:00
Whidix 997b2f1781 feat: add French localization support for character attributes and improve character display logic
Build Docker Image / build (push) Successful in 1m18s
- Added optional French names, affiliations, origins, and epithets to character records.
- Updated character import logic to handle new French fields.
- Enhanced character search and display components to show French names and epithets based on selected language.
- Modified database schema to include French fields for characters.
- Improved error handling in daily character setup to check for existing characters.
- Refactored components to utilize helper functions for displaying names and attributes based on language.
2026-03-15 22:00:19 +01:00
Whidix bd121b7d85 feat(i18n): integrate internationalization for game pages
- Added translation support for various game-related texts in the home, daily, infinite, login, and profile pages.
- Replaced hardcoded French strings with translation keys using the `$t` function.
- Updated titles, descriptions, and button texts to enhance localization.
2026-03-15 20:19:26 +01:00
Whidix 6d2dccd47f refactor: update link generation to use resolve for consistent path handling 2026-03-15 19:53:47 +01:00
Whidix 5fdde9d177 refactor: remove unused fandomUrl and getDifferenceColor functions, simplify character link generation 2026-03-14 18:34:03 +01:00
Whidix b1cc691422 refactor: enhance character data transformation and improve fetching logic in character-related scripts 2026-03-14 18:32:43 +01:00
Whidix 8b08950719 refactor: streamline character selection and improve rendering logic in +page.svelte 2026-03-14 17:29:57 +01:00
Whidix fd83ac911a refactor: improve type definitions for selectedCharacter and selectedCharacters in WinPanel component 2026-03-14 17:22:44 +01:00
Whidix eeccf812cf refactor: improve type definitions for dailyCharacter and selectedCharacters in HintsPanel component 2026-03-14 17:20:26 +01:00
Whidix 9485d9841c refactor: improve type definitions and event handling in CharacterSearchInput component 2026-03-14 17:18:58 +01:00
Whidix 31308ef126 refactor: enhance affiliation handling and improve type definitions in GuessHistoryTable component 2026-03-14 17:13:13 +01:00
Whidix 57a0427e77 refactor: improve bounty extraction logic and enhance character selection in infinite mode 2026-03-14 17:09:33 +01:00
Whidix 3bd2506c2f refactor: enhance type safety and improve layout structure in GuessHistoryTable component 2026-03-14 16:33:43 +01:00
Whidix e5a21cb0af refactor: improve type definitions and enhance state management in profile and daily components 2026-03-14 16:31:16 +01:00
Whidix 4e95abf09f fix: update devil fruit extraction to handle redirects and ensure correct title retrieval
Build Docker Image / build (push) Has been cancelled
2026-03-14 15:41:20 +01:00
Whidix 66afda5101 Refactor code structure for improved readability and maintainability 2026-03-14 15:34:30 +01:00
Whidix a041a8caf5 Refactor database schema and update scraping logic for One Piece characters and arcs
- Updated database schema to include French names and adjusted field names for consistency.
- Modified scraping script to fetch and store French names for arcs and characters.
- Improved API calls to handle redirects and fetch additional data for characters.
- Enhanced data extraction methods for character attributes and devil fruits.
- Cleaned up code for better readability and maintainability.
2026-03-14 01:23:29 +01:00
Whidix a91b298ee5 fix: unify fetch concurrency constant for character and devil fruit fetching
Build Docker Image / build (push) Successful in 1m12s
2026-03-06 21:57:09 +01:00
Whidix d3e36e486f feat: display GuessHistoryTable after winning condition and friends' results
Build Docker Image / build (push) Successful in 1m12s
2026-03-06 20:26:04 +01:00
Whidix 249da5ad2e feat(auth): add username field to user schema and authentication process
Build Docker Image / build (push) Successful in 1m12s
- Updated user schema to include a unique username field.
- Modified authentication logic to support sign-in using either email or username.
- Enhanced sign-up process to require a username and validate its uniqueness.
- Updated login and profile routes to reflect changes in user identification.
- Adjusted frontend forms to accommodate username input alongside email.
2026-03-06 20:16:05 +01:00
Whidix ce08329b2d feat: add friends' results display for today's game
Build Docker Image / build (push) Successful in 1m12s
2026-03-06 19:34:46 +01:00
Whidix f35f4565b6 feat: implement friendship system with requests and management features
Build Docker Image / build (push) Successful in 1m15s
- Added a new friendship table schema to manage friend requests and relationships.
- Updated profile page to include tabs for managing friends, incoming requests, and outgoing requests.
- Implemented functionality to send, accept, decline, cancel, and remove friend requests.
- Enhanced user experience with feedback messages for friend request actions.
2026-03-06 19:28:42 +01:00
Whidix 5cd989b098 fix: normalize character status filtering logic to handle unknown and null values 2026-03-06 19:05:02 +01:00
Whidix edab42fd26 fix: improve status display logic in GuessHistoryTable for unknown and null values 2026-03-06 19:03:03 +01:00
Whidix a78473b5ff fix: correct height extraction logic to convert centimeters to meters
Build Docker Image / build (push) Successful in 1m11s
2026-03-06 00:05:21 +01:00
Whidix 2ddcd548a2 fix: enhance affiliation comparison logic in GuessHistoryTable
Build Docker Image / build (push) Successful in 1m11s
2026-03-05 23:42:48 +01:00
Whidix 0b2797440e feat: add arc filter functionality to character selection
Build Docker Image / build (push) Successful in 1m12s
2026-03-05 23:25:03 +01:00
Whidix c268cd5301 feat: implement character filters for gender, status, haki, devil fruit, height, and origin
Build Docker Image / build (push) Successful in 1m12s
2026-03-05 23:09:49 +01:00
Whidix 5978963939 feat: add reveal answer functionality to reset score and update selected characters
Build Docker Image / build (push) Successful in 1m10s
2026-03-05 22:57:09 +01:00
Whidix 1035a98eca refactor: simplify tries display by removing win/loss status
Build Docker Image / build (push) Successful in 1m10s
2026-03-05 22:51:39 +01:00
Whidix df224d97bb fix: correct win count message grammar for singular and plural cases 2026-03-05 22:10:54 +01:00
Whidix 08f5d620be feat: add daily history tab and fetch daily character history for user profile
Build Docker Image / build (push) Successful in 1m11s
2026-03-05 22:08:36 +01:00
Whidix b4601a5caf feat: create new character table and migrate data from existing character table
Build Docker Image / build (push) Successful in 1m17s
2026-03-05 22:03:09 +01:00
Whidix a7775783af feat: add filtering for characters with null origin data
Build Docker Image / build (push) Successful in 1m24s
2026-03-04 13:11:53 +01:00
Whidix e6bfc1e413 feat: refactor character loading to use let for mutable characters and improve filtering logic
Build Docker Image / build (push) Successful in 1m37s
2026-03-04 12:45:55 +01:00
Whidix 7c9aef1aee feat: add scrape import functionality with status messages and logs
Build Docker Image / build (push) Successful in 1m22s
2026-03-03 23:44:03 +01:00
Whidix de2c8cdc77 feat: improve search functionality by normalizing input and character names
Build Docker Image / build (push) Successful in 1m23s
2026-03-03 23:38:07 +01:00
Whidix b5816e6c28 feat: enhance character status extraction and update schema for nullable status
Build Docker Image / build (push) Successful in 1m22s
2026-03-03 23:26:53 +01:00
Whidix 70de84f3ab feat: update DevilFruitType to include 'Smile' for enhanced categorization
Build Docker Image / build (push) Successful in 1m28s
2026-03-03 23:12:17 +01:00
Whidix 6402c378dd feat: implement character changes page with new and modified character listings
Build Docker Image / build (push) Successful in 1m23s
2026-03-03 19:58:02 +01:00
Whidix 085dae6765 feat: add new snapshot for version 6 with updated schema and relationships
Build Docker Image / build (push) Successful in 1m23s
- Created a new snapshot file for version 6 of the database schema.
- Added tables for arc, character, characterHistory, characterOverride, characterScrapeValidation, config, devilFruit, userCharacterHistory, account, session, user, and verification with appropriate columns and constraints.
- Updated the journal to include new entries for version 6.
- Modified the userCharacterHistory table to enforce unique constraints on userId and characterHistoryId.
- Enhanced daily game logic to track user attempts and prevent duplicate entries for the same day.
2026-03-03 19:31:10 +01:00
Whidix bfc6d76dfe feat: add win count display for today's character in the UI
Build Docker Image / build (push) Successful in 1m24s
2026-03-03 19:13:45 +01:00
Whidix 4ee7445b68 feat: refactor WinPanel to use selectedCharacter prop for improved clarity and consistency 2026-03-03 19:11:08 +01:00
Whidix 7ecc46b5a6 feat: enhance character data loading with distinct statuses and genders, optimize epithets handling
Build Docker Image / build (push) Successful in 1m42s
2026-03-03 18:52:58 +01:00
Whidix 8010ddf00e feat: replace SVG favicon with PNG and update layout reference
Build Docker Image / build (push) Successful in 1m20s
2026-03-02 23:48:54 +01:00
Whidix 91400f9910 feat: simplify uploads directory path assignment by removing redundant process.cwd() call
Build Docker Image / build (push) Successful in 1m20s
2026-03-02 23:32:26 +01:00
Whidix 2b4a55636e feat: use environment variable for uploads directory path
Build Docker Image / build (push) Successful in 1m26s
2026-03-02 23:21:05 +01:00
Whidix 6cd18992f6 feat: enhance WinPanel with dynamic attempt messages based on user performance
Build Docker Image / build (push) Has been cancelled
2026-03-02 23:19:51 +01:00
Whidix 26d3734e7e feat: update .env.example with body size limit and uploads directory
Build Docker Image / build (push) Successful in 1m20s
2026-03-02 23:05:33 +01:00
Whidix 33efee0707 feat: add lazy loading to character images in admin character list
Build Docker Image / build (push) Successful in 1m19s
2026-03-02 22:37:42 +01:00
Whidix 73593f99a6 feat: add lazy loading to character images in CharacterSearchInput component
Build Docker Image / build (push) Successful in 1m19s
2026-03-02 22:35:54 +01:00
Whidix 74d051cbfe feat: implement file upload functionality and create file serving endpoint
Build Docker Image / build (push) Successful in 1m20s
2026-03-02 22:25:33 +01:00
Whidix bf963ee3fd feat: update GuessHistoryTable styles for improved layout and readability
Build Docker Image / build (push) Successful in 1m23s
2026-03-02 22:00:25 +01:00
Whidix 1ba853771e feat: add userCharacterHistory table schema and update journal with new version 2026-03-02 22:00:25 +01:00
Whidix 949d9596a6 feat: add deployment webhook call to build image workflow 2026-03-02 22:00:25 +01:00
Whidix 040a8963b0 feat: update Docker image build workflow to lowercase repository name in output 2026-03-02 22:00:25 +01:00
Whidix d78a70c473 feat: remove daily character seed from environment and implement random seed generation for selection 2026-03-02 22:00:25 +01:00
Whidix b70e47b0d6 feat: implement daily character seed from environment variable and enhance selection logic with hashing 2026-03-02 22:00:25 +01:00
Whidix 60d2474f51 feat: refactor character history schema and related logic for improved date handling and data integrity 2026-03-02 22:00:25 +01:00
Whidix ef7ef4dd6c feat: refactor daily character logic to improve win count retrieval and streamline character selection 2026-03-02 22:00:25 +01:00
Whidix 02c2ff2684 feat: enhance column visibility toggle with localized display names and improve layout 2026-03-02 22:00:25 +01:00
Whidix b245ee984a feat: implement infinite mode with character selection and scoring; refactor daily character storage logic 2026-03-02 22:00:25 +01:00
Whidix cf25a96719 feat: add WinPanel and YesterdayCharacter components; refactor daily game page
- Introduced WinPanel component to display win/loss messages based on game outcome.
- Added YesterdayCharacter component to show the character from the previous day.
- Refactored daily game page to utilize new components for better code organization and readability.
- Updated server-side logic to fetch daily character ID and count wins more efficiently.
- Cleaned up character selection logic and hint availability tracking.
2026-03-02 22:00:25 +01:00
Whidix 4d059d45ef feat: add promote admin script to manage user roles 2026-03-02 22:00:25 +01:00
Whidix a6a5055f3a feat: improve character update logic and handle haki fields more effectively 2026-03-02 22:00:25 +01:00
Whidix 6c2e0886af fix: adjust main component height for consistent layout across game, login, and profile pages 2026-03-02 22:00:25 +01:00
Whidix 18ac6220f1 feat: enhance admin layout with navigation and return link; add name field for sign-up in login 2026-03-02 22:00:25 +01:00
Whidix 114f6cde7a feat: add daily win recording endpoint, user authentication, and profile management
- Implemented a POST endpoint for recording daily wins in the game.
- Created login and signup functionality with email and password.
- Developed a profile page allowing users to update their profile information, change passwords, and manage active sessions.
- Added a toggle feature for switching between login and signup forms.
- Enhanced the layout by removing the profile button and adjusting the header structure.
2026-03-02 22:00:24 +01:00
Whidix e45dfb9832 fix: update @types/node version and improve type handling in daily character affiliations 2026-03-02 22:00:24 +01:00
Whidix b45909f86e feat: add user admin status and profile management
- Updated user schema to include isAdmin field.
- Enhanced authentication hooks to fetch and set user admin status.
- Created ProfileButton component for user profile actions.
- Implemented profile and password update functionality.
- Added session management for user accounts.
- Developed login and signup pages with form handling.
- Introduced layout server for user session data.
- Updated daily page to reflect character changes.
2026-03-02 22:00:24 +01:00
Whidix 031db29d62 feat: implement character overrides and update daily character retrieval logic 2026-03-01 17:43:33 +01:00
Whidix 00bd718699 feat: update daily character management and local storage handling 2026-03-01 16:43:54 +01:00
Whidix 0b81e9e350 feat: move fruit column 2026-03-01 15:53:05 +01:00
Whidix e23b268fda refactor: optimize Dockerfile to copy specific build artifacts for production 2026-03-01 15:51:28 +01:00
Whidix fb59e8b8db docs: update README.md with detailed features, tech stack, and game rules 2026-03-01 15:21:03 +01:00
Whidix 56bd6f5545 refactor: update package.json and scripts for One Piece scraper
- Changed the scrape script to use tsx for TypeScript execution.
- Added new TypeScript script for scraping One Piece data.
- Refactored package.json to include dependencies for the new scraper.
- Removed unused dependencies and organized devDependencies.

feat: implement One Piece data scraping functionality

- Added functionality to scrape arcs, characters, and devil fruits from One Piece fandom.
- Implemented data extraction methods for character attributes and devil fruit details.
- Added JSON and CSV export capabilities for scraped data.

fix: update auth configuration to handle missing secret

- Modified the auth configuration to use a default secret if BETTER_AUTH_SECRET is not set.

fix: improve database client initialization

- Updated database client creation to use a local database file if DATABASE_URL is not set.

chore: switch Svelte adapter to node

- Changed Svelte adapter from auto to node for better server-side rendering support.
2026-03-01 15:17:17 +01:00