Commit Graph

93 Commits

Author SHA1 Message Date
b5816e6c28 feat: enhance character status extraction and update schema for nullable status
All checks were successful
Build Docker Image / build (push) Successful in 1m22s
2026-03-03 23:26:53 +01:00
70de84f3ab feat: update DevilFruitType to include 'Smile' for enhanced categorization
All checks were successful
Build Docker Image / build (push) Successful in 1m28s
2026-03-03 23:12:17 +01:00
6402c378dd feat: implement character changes page with new and modified character listings
All checks were successful
Build Docker Image / build (push) Successful in 1m23s
2026-03-03 19:58:02 +01:00
085dae6765 feat: add new snapshot for version 6 with updated schema and relationships
All checks were successful
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
bfc6d76dfe feat: add win count display for today's character in the UI
All checks were successful
Build Docker Image / build (push) Successful in 1m24s
2026-03-03 19:13:45 +01:00
4ee7445b68 feat: refactor WinPanel to use selectedCharacter prop for improved clarity and consistency 2026-03-03 19:11:08 +01:00
7ecc46b5a6 feat: enhance character data loading with distinct statuses and genders, optimize epithets handling
All checks were successful
Build Docker Image / build (push) Successful in 1m42s
2026-03-03 18:52:58 +01:00
8010ddf00e feat: replace SVG favicon with PNG and update layout reference
All checks were successful
Build Docker Image / build (push) Successful in 1m20s
2026-03-02 23:48:54 +01:00
91400f9910 feat: simplify uploads directory path assignment by removing redundant process.cwd() call
All checks were successful
Build Docker Image / build (push) Successful in 1m20s
2026-03-02 23:32:26 +01:00
2b4a55636e feat: use environment variable for uploads directory path
All checks were successful
Build Docker Image / build (push) Successful in 1m26s
2026-03-02 23:21:05 +01:00
6cd18992f6 feat: enhance WinPanel with dynamic attempt messages based on user performance
Some checks failed
Build Docker Image / build (push) Has been cancelled
2026-03-02 23:19:51 +01:00
26d3734e7e feat: update .env.example with body size limit and uploads directory
All checks were successful
Build Docker Image / build (push) Successful in 1m20s
2026-03-02 23:05:33 +01:00
33efee0707 feat: add lazy loading to character images in admin character list
All checks were successful
Build Docker Image / build (push) Successful in 1m19s
2026-03-02 22:37:42 +01:00
73593f99a6 feat: add lazy loading to character images in CharacterSearchInput component
All checks were successful
Build Docker Image / build (push) Successful in 1m19s
2026-03-02 22:35:54 +01:00
74d051cbfe feat: implement file upload functionality and create file serving endpoint
All checks were successful
Build Docker Image / build (push) Successful in 1m20s
2026-03-02 22:25:33 +01:00
bf963ee3fd feat: update GuessHistoryTable styles for improved layout and readability
All checks were successful
Build Docker Image / build (push) Successful in 1m23s
2026-03-02 22:00:25 +01:00
1ba853771e feat: add userCharacterHistory table schema and update journal with new version 2026-03-02 22:00:25 +01:00
949d9596a6 feat: add deployment webhook call to build image workflow 2026-03-02 22:00:25 +01:00
040a8963b0 feat: update Docker image build workflow to lowercase repository name in output 2026-03-02 22:00:25 +01:00
d78a70c473 feat: remove daily character seed from environment and implement random seed generation for selection 2026-03-02 22:00:25 +01:00
b70e47b0d6 feat: implement daily character seed from environment variable and enhance selection logic with hashing 2026-03-02 22:00:25 +01:00
60d2474f51 feat: refactor character history schema and related logic for improved date handling and data integrity 2026-03-02 22:00:25 +01:00
ef7ef4dd6c feat: refactor daily character logic to improve win count retrieval and streamline character selection 2026-03-02 22:00:25 +01:00
02c2ff2684 feat: enhance column visibility toggle with localized display names and improve layout 2026-03-02 22:00:25 +01:00
b245ee984a feat: implement infinite mode with character selection and scoring; refactor daily character storage logic 2026-03-02 22:00:25 +01:00
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
4d059d45ef feat: add promote admin script to manage user roles 2026-03-02 22:00:25 +01:00
a6a5055f3a feat: improve character update logic and handle haki fields more effectively 2026-03-02 22:00:25 +01:00
6c2e0886af fix: adjust main component height for consistent layout across game, login, and profile pages 2026-03-02 22:00:25 +01:00
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
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
e45dfb9832 fix: update @types/node version and improve type handling in daily character affiliations 2026-03-02 22:00:24 +01:00
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
031db29d62 feat: implement character overrides and update daily character retrieval logic 2026-03-01 17:43:33 +01:00
00bd718699 feat: update daily character management and local storage handling 2026-03-01 16:43:54 +01:00
0b81e9e350 feat: move fruit column 2026-03-01 15:53:05 +01:00
e23b268fda refactor: optimize Dockerfile to copy specific build artifacts for production 2026-03-01 15:51:28 +01:00
fb59e8b8db docs: update README.md with detailed features, tech stack, and game rules 2026-03-01 15:21:03 +01:00
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
b8b3f8bddc feat: implement daily character guessing game with local storage and hint system
- Added character selection and history management using local storage.
- Implemented hint system that unlocks based on the number of guesses.
- Enhanced UI with animations for hint unlocks and special win conditions.
- Created a server endpoint to record wins in the database.
2026-03-01 03:59:16 +01:00
6f7bae2307 feat(scraper): implement One Piece data scraper for devil fruits and characters
- Added a new script to scrape devil fruits and characters from One Piece fandom.
- Implemented functions to fetch, normalize, and save data in JSON, CSV, and SQL formats.
- Created a structured output directory for scraped data.

feat(database): update schema for devil fruits and characters

- Defined new types for devil fruits and haki in the database schema.
- Updated the character table to include fields for age, affiliations, devil fruit, haki, bounty, height, origin, first appearance, and picture URL.

feat(ui): enhance main page and daily mode layout

- Redesigned the main page with a new layout and styling for the OnePieceDle game.
- Created a new daily mode page with sections for clues and user input for guesses.
- Removed demo authentication routes and pages to streamline the application.
2026-02-27 01:14:44 +01:00
c494866a70 Init auth 2026-02-26 18:27:44 +01:00
27cc177cc2 Init repo 2026-02-26 18:27:38 +01:00