Commit graph

409 commits

Author SHA1 Message Date
86e5b9fffb compute strength from quality at display time
blueprint looks up skill and calculates strength
validation checks quality range instead of strength value
2025-12-18 22:30:44 -08:00
3b9eab8b79 switch artifact import to name matching, store quality
match skills by name field instead of skill_id
store raw quality (1-5) instead of computed strength
2025-12-18 22:30:39 -08:00
6c12a202ff add name-based skill lookup for artifact import
- cached_by_name indexes by both EN and JP names
- find_by_name looks up skill by either language
- strength_for_quality computes strength from quality tier
2025-12-18 22:30:33 -08:00
af061f3ab2 add aux_weapon flag to jobs 2025-12-18 21:34:30 -08:00
0c595792f7 support boomerang players in gw scores
- aggregate scores across all membership periods for a user
- add gap markers for events where player wasn't in crew
- add membership history endpoint for editing multiple periods
2025-12-18 19:35:39 -08:00
1520fd8d2f optimize gw_scores endpoints with SQL aggregation 2025-12-18 17:55:19 -08:00
ad5c9893e4 include phantoms in active/retired member filters 2025-12-18 17:48:49 -08:00
687f7ae926 support username lookup for member gw scores 2025-12-18 13:20:38 -08:00
4a6ae93d20 add gw scores history endpoints for members and phantoms 2025-12-18 11:02:59 -08:00
cc722b9660 exclude claimed phantoms from gw event player list 2025-12-18 00:41:25 -08:00
e60f3c48d6 allow retired_at in member/phantom update params 2025-12-18 00:35:47 -08:00
3e21cb697d fix confirm_claim not setting deleted_at 2025-12-18 00:35:41 -08:00
42f3d3a9cf include crew_total_score in gw events index 2025-12-17 23:03:22 -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
de72d21e24 add decline/pending endpoints for phantom claims
- decline_claim action lets assigned user reject assignment
- pending_phantom_claims endpoint for user's pending claims
- with_crew blueprint view for phantom claims context
2025-12-17 18:28:23 -08:00
75862aec03 add sorting and filtering to collection weapons 2025-12-16 21:15:44 -08:00
0c9d1d8e06 add element variant downloading for null element weapons 2025-12-16 21:15:39 -08:00
244e3f51eb remove Standard series, shift IDs down 2025-12-15 17:47:23 -08:00
c17dbfbcc7 add download_image endpoint for job skills 2025-12-15 16:09:02 -08:00
834192dc11 fix /jobs/:id/skills to return job's own skills, add emp_skills endpoint 2025-12-15 14:30:32 -08:00
b458335e31 add update endpoint for jobs 2025-12-15 14:21:25 -08:00
b91ef0a4dd standardize links format in blueprints
return wiki: {en, ja} + gamewith, kamigame at top level
2025-12-15 12:47:11 -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
f28e61b303 add Holiday to CHARACTER_SERIES enum 2025-12-15 09:50:53 -08:00
acf8010669 accept wiki_raw in entity create/update 2025-12-14 21:50:30 -08:00
f589f58eb5 batch_preview: accept pre-fetched wiki_data from client 2025-12-14 13:12:25 -08:00
4d75835c71 move WikiError into Granblue namespace to fix production autoloading 2025-12-14 12:41:07 -08:00
1054920fcb add gbf series mapping for weapon/summon imports 2025-12-14 11:58:42 -08:00
e1d212c764 update summon model and blueprint for series lookup 2025-12-14 11:58:34 -08:00
c4e42b0968 update character model and blueprint for series lookup 2025-12-14 11:58:30 -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
349b542c0e fix rescue_from order so StandardError is checked last 2025-12-14 01:48:11 -08:00
d4131cf51d allow :retired param in membership and phantom player controllers 2025-12-14 01:48:06 -08:00
371f2a29dd fix artifact import: preload queries, handle symbol keys 2025-12-14 01:42:06 -08:00
5666ee300c fix import_params to pass nested game data 2025-12-14 01:42:05 -08:00
513f8c6a66 use 1-based values for collection_privacy enum 2025-12-14 01:23:42 -08:00
07f23e2b74 add /users/me settings endpoint 2025-12-14 01:23:37 -08:00
f4ef04881e add bulk_create endpoint for phantom players
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-13 23:33:49 -08:00
fb253adf45 add catch-all exception handler to log 500 errors 2025-12-13 21:41:29 -08:00
4224dcb257 move recruited_by to separate view to avoid N+1 2025-12-13 21:40:42 -08:00
981feff814 add grid_artifact and weapon_series to party show includes 2025-12-13 21:39:47 -08:00
56280eb0ff preload crews and favorites to fix remaining N+1s 2025-12-13 21:38:54 -08:00
6f3f0d92ff fix N+1 queries in parties index 2025-12-13 21:32:37 -08:00
272f612357 add import services for characters, weapons, summons
parses game JSON inventory data and creates collection records

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-13 20:54:38 -08:00
c498278c89 fix array extraction order in artifact import 2025-12-13 20:12:00 -08:00
36dc4207c9 increase awakening_level max to 20 2025-12-13 20:11:53 -08:00
aa198f072b add import endpoints to collection controllers 2025-12-13 20:10:18 -08:00
860177c0a4 add show_gamertag to user 2025-12-13 20:09:52 -08:00
534414939b add current_membership to crew response 2025-12-13 20:09:44 -08:00