hensei-api/app/controllers/api/v1
Justin Edmund 7bda9a1432
Improve collection sync with scoped filtering and orphan handling (#201)
* collection sync with orphan handling

- 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

* scope artifact sync by element and proficiency

- accept filter param in preview_sync and import
- only check/delete items matching active filter
- prevents accidental deletion of filtered-out items

* scope weapon sync by element and proficiency

- accept filter param in preview_sync and import
- element checks collection_weapon first, falls back to weapon
- proficiency joins through weapon table

* scope summon sync by element

- accept filter param in preview_sync and import
- element joins through summon table
2025-12-31 22:20:10 -08:00
..
api_controller.rb fix rescue_from order so StandardError is checked last 2025-12-14 01:48:11 -08:00
artifact_skills_controller.rb add show/update endpoints for artifact skills 2025-12-18 23:14:41 -08:00
artifacts_controller.rb add artifact image download endpoints 2025-12-03 13:37:24 -08:00
character_series_controller.rb add character series lookup table 2025-12-14 11:58:10 -08:00
characters_controller.rb move gacha from characters to weapons 2025-12-15 12:46:43 -08:00
collection_artifacts_controller.rb Improve collection sync with scoped filtering and orphan handling (#201) 2025-12-31 22:20:10 -08:00
collection_characters_controller.rb fix collection filters to support comma-separated array params 2025-12-19 12:26:26 -08:00
collection_controller.rb add collection counts endpoint 2025-12-19 15:52:40 -08:00
collection_job_accessories_controller.rb fix blueprints: use correct association names instead of 'object' 2025-11-29 17:41:29 -08:00
collection_summons_controller.rb Improve collection sync with scoped filtering and orphan handling (#201) 2025-12-31 22:20:10 -08:00
collection_weapons_controller.rb Improve collection sync with scoped filtering and orphan handling (#201) 2025-12-31 22:20:10 -08:00
crew_gw_participations_controller.rb exclude claimed phantoms from gw event player list 2025-12-18 00:41:25 -08:00
crew_invitations_controller.rb add crew invitations system 2025-12-03 23:06:07 -08:00
crew_memberships_controller.rb support boomerang players in gw scores 2025-12-18 19:35:39 -08:00
crews_controller.rb fix character transcendence in roster endpoint 2025-12-20 20:12:43 -08:00
favorites_controller.rb Return proper REST response for deleting a party for more endpoints 2025-09-22 02:51:50 -07:00
grid_artifacts_controller.rb add sync endpoints and collection_id params to controllers 2025-12-03 22:46:17 -08:00
grid_characters_controller.rb allow 8 character positions for unlimited raids 2025-12-21 13:46:55 -08:00
grid_summons_controller.rb add sync endpoints and collection_id params to controllers 2025-12-03 22:46:17 -08:00
grid_weapons_controller.rb Add weapon stat modifiers for AX skills and befoulments (#202) 2025-12-31 22:20:00 -08:00
guidebooks_controller.rb Adds guidebooks and gacha tables (#95) 2023-06-04 22:23:34 -07:00
gw_crew_scores_controller.rb fix gw controller params and add request specs 2025-12-03 23:40:38 -08:00
gw_events_controller.rb include crew_total_score in gw events index 2025-12-17 23:03:22 -08:00
gw_individual_scores_controller.rb add excused field to gw individual scores 2025-12-18 23:15:27 -08:00
import_controller.rb add gbf series mapping for weapon/summon imports 2025-12-14 11:58:42 -08:00
job_accessories_controller.rb February 2023 Update (#48) 2023-02-04 23:46:12 -08:00
job_skills_controller.rb add download_image endpoint for job skills 2025-12-15 16:09:02 -08:00
jobs_controller.rb add update endpoint for jobs 2025-12-15 14:21:25 -08:00
parties_controller.rb Add weapon stat modifiers for AX skills and befoulments (#202) 2025-12-31 22:20:00 -08:00
phantom_claims_controller.rb soft delete phantoms after claim confirmation 2025-12-17 20:08:28 -08:00
phantom_players_controller.rb support boomerang players in gw scores 2025-12-18 19:35:39 -08:00
raid_groups_controller.rb add unlimited flag to raid groups 2025-12-20 01:58:23 -08:00
raids_controller.rb raids controller and model updates 2025-12-20 04:13:48 -08:00
search_controller.rb fix weapon series filter to use weapon_series_id 2025-12-22 01:12:26 -08:00
summon_series_controller.rb add summon series lookup table 2025-12-14 11:58:22 -08:00
summons_controller.rb accept wiki_raw in entity create/update 2025-12-14 21:50:30 -08:00
users_controller.rb add /users/me settings endpoint 2025-12-14 01:23:37 -08:00
weapon_keys_controller.rb support series_slug filter in weapon_keys endpoint 2025-12-03 12:59:07 -08:00
weapon_series_controller.rb Add weapon stat modifiers for AX skills and befoulments (#202) 2025-12-31 22:20:00 -08:00
weapon_stat_modifiers_controller.rb Add weapon stat modifiers for AX skills and befoulments (#202) 2025-12-31 22:20:00 -08:00
weapons_controller.rb expose extra_prerequisite and forge chain in weapon api 2025-12-21 22:14:41 -08:00