Commit graph

176 commits

Author SHA1 Message Date
4430331da9 merge next-main, keep both modifier associations and orphan handling 2025-12-31 22:16:08 -08:00
02ca7905d3 add game_skill_ids for befoulment modifiers 2025-12-31 19:32:53 -08:00
5fd2f5758d fix ax modifier column naming and migration approach 2025-12-31 19:32:53 -08:00
30971de2b7 fix remaining has_ax_skills and ax_modifier references 2025-12-31 19:32:53 -08:00
abc30c151b update tests and factories for weapon_stat_modifier fks 2025-12-31 19:32:53 -08:00
4d87d113dc add weapon_stat_modifiers controller and update params for fks 2025-12-31 19:32:53 -08:00
9074f7301f add fk columns for ax modifiers and befoulments, replace has_ax_skills with augment_type 2025-12-31 19:12:16 -08:00
f30deea5d7 add weapon_stat_modifiers table for ax skills and befoulments 2025-12-31 19:12:16 -08:00
a6b7e26210
collection sync with orphan handling (#200)
- preview_sync endpoint shows what'll get deleted before you commit
- import services handle reconciliation (find missing items, delete them)
- grid items get flagged as orphaned when their collection source is gone
- party exposes has_orphaned_items
- blueprints include orphaned field
2025-12-23 22:44:35 -08:00
5c578ee527 auto-compute forge chain fields from forged_from
- add before_save callback to calculate forge_order and forge_chain_id
- add validation to prevent circular forge chains
2025-12-22 19:52:59 -08:00
85d9060dc9 add forge chain support to weapons 2025-12-21 22:14:32 -08:00
405d0ea88c add extra_prerequisite to weapons for extra grid positions 2025-12-21 22:14:23 -08:00
25aa1f3a62 add video_url and summon_count to parties 2025-12-21 02:56:22 -08:00
7a084920f1 raids controller and model updates 2025-12-20 04:13:48 -08:00
3afee9463f add unlimited flag to raid groups 2025-12-20 01:58:23 -08:00
b3dadf24ef add excused field to gw individual scores
- excused boolean and excuse_reason fields
- excuse_reason only visible to crew officers
- include excused in blueprints
2025-12-18 23:15:27 -08:00
db2aa43d81 add game_name columns for artifact skill matching
separate game names (used for import matching) from display names
2025-12-18 22:48:08 -08:00
3390eaf755 remove game_skill_id from artifact_skills (not needed)
added then removed - name matching approach doesn't need it
2025-12-18 22:30:59 -08:00
af061f3ab2 add aux_weapon flag to jobs 2025-12-18 21:34:30 -08:00
5afd31fdb6 soft delete phantoms after claim confirmation
keeps phantom records for logging, excludes from all queries
2025-12-17 20:08:28 -08:00
7f2db88a6c Fix merge conflict 2025-12-15 17:53:06 -08:00
00a9b61d92 add migration to remove standard series from db 2025-12-15 17:51:51 -08:00
3ac6829a45 add migration to remove standard series from db 2025-12-15 17:48:17 -08:00
b341185b54 add image_id and action_id fields to job_skills 2025-12-15 16:08:53 -08:00
056aa3676f move gacha from characters to weapons
weapons have gacha boolean now, characters don't
2025-12-15 12:46:43 -08:00
d54af86dc1 remove Standard season, remap values to start at 1 2025-12-15 09:51:19 -08:00
65a10abe6d update schema files 2025-12-14 11:58:45 -08:00
3b5b8412d3 add summon series lookup table 2025-12-14 11:58:22 -08:00
e7e9bd0f86 add character series lookup table 2025-12-14 11:58:10 -08:00
513f8c6a66 use 1-based values for collection_privacy enum 2025-12-14 01:23:42 -08:00
e0ba2d98c3 add show_granblue_id to users 2025-12-14 01:23:33 -08:00
d4c88997ff add retired flag to phantom players 2025-12-04 03:02:46 -08:00
26718b5a3e gw event improvements: status field, members_during_event endpoint 2025-12-04 03:02:35 -08:00
5968ed74d5 add joined_at to memberships and phantoms for historical data
- editable field separate from created_at
- active_during scope uses joined_at for filtering
- backfills from created_at in migration
2025-12-04 03:02:13 -08:00
4c8f4ffcf3 add phantom players for non-registered crew members
- phantom_players table for tracking scores of non-user members
- claim flow: officer assigns phantom to user, user confirms, scores transfer
- CRUD endpoints plus /assign and /confirm_claim actions
- model/request specs for all functionality (37 examples)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-03 23:55:15 -08:00
f2a058b6b2 add GW events and scoring system
- create gw_events, crew_gw_participations, gw_crew_scores, gw_individual_scores
- add models, blueprints, controllers for GW tracking
- add model specs and gw_events controller specs

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-03 23:34:54 -08:00
b75a905e2e add crew invitations system
- create crew_invitations table with status enum
- add CrewInvitation model with accept/reject flow
- add CrewInvitationsController for send/accept/reject
- add invitation error classes
- add invitation routes nested under crews
- add pending invitations endpoint for current user
- 38 passing specs for model and controller
2025-12-03 23:06:07 -08:00
9b01aa0ff3 add crew and crew_membership models with migrations
- crews table with name, gamertag, granblue_crew_id, description
- crew_memberships with role enum (member/vice_captain/captain)
- partial unique index ensures one active crew per user
- updated User model with crew associations and helper methods
2025-12-03 22:41:19 -08:00
35b8a674ab add collection references to grid tables 2025-12-03 22:40:34 -08:00
6cf85a5b3e add artifact import from game data
- Add ArtifactImportService to parse game JSON and create collection artifacts
- Maps game skill_id to our (group, modifier) format using verified mapping
- Handles skill quality -> strength lookup via ArtifactSkill.base_values
- Supports duplicate detection via game_id, with optional update_existing flag
- Quirk artifacts get proficiency from game data; skills stored as empty
- Add POST /collection/artifacts/import endpoint
- Add game_id column to collection_artifacts, collection_weapons,
  collection_summons for tracking game inventory instance IDs
2025-12-03 14:20:21 -08:00
e6539ad7e1 add reroll_slot to artifact models 2025-12-03 13:27:26 -08:00
183641b842 add data migrations for artifacts and artifact_skills 2025-12-03 13:00:45 -08:00
c0f13c6b9c update data_schema 2025-12-03 12:59:11 -08:00
d6d655297b add artifact seed data 2025-12-03 12:58:35 -08:00
210af50477 add migrations for artifacts feature 2025-12-03 12:58:22 -08:00
83d065e2f9 split weapon_series data migration into three separate files 2025-12-03 12:56:51 -08:00
38f126f2ef fix weapon_series boolean flags and ordering 2025-12-03 12:33:55 -08:00
3a8d42f800 fix weapon_series data migration to match canonical order 2025-12-03 12:14:44 -08:00
4a51b18ab8 update schema files 2025-12-03 10:47:06 -08:00
efe9abed60 add test factories and fixtures for weapon_series 2025-12-03 10:46:54 -08:00