Commit graph

356 commits

Author SHA1 Message Date
c39abfe8d6 Fix AX reference
Was using int, now uses bool
2023-01-02 21:24:43 -08:00
fb9211bd2d Replace awesome_print, bump Ruby version 2023-01-02 21:24:17 -08:00
2485a52a76 Update seeds
Data is still dirty with bad ATK data across objects
2023-01-02 16:25:35 -08:00
1789dcee4b Move conflict detection code to GridWeapon 2023-01-02 16:25:35 -08:00
eaa6234714 Refactor skills_are_unique 2023-01-02 16:25:35 -08:00
9387bd321f Refactor GridCharactersController
This is a similar refactor to GridWeaponsController
2023-01-02 16:25:35 -08:00
ebbbdc174b Fix bug in GridCharactersController refactor
This would show a conflict modal for any weapon as long as one of the weapons was an opus or draconic
2023-01-02 16:25:35 -08:00
540df78ee9 Change CORS for production or dev env 2023-01-02 16:24:40 -08:00
b3cc5a5432 Update schema and data_schema 2023-01-02 15:59:07 -08:00
5a0a03c2b7 Add more character mod fields
Ring and earring support
2023-01-02 15:58:57 -08:00
253678f693 Add transcendence_step to GridWeapons and GridSummons
This will allow the user to set the level of their transcendence for Eternals and Bahamut
2023-01-02 15:58:40 -08:00
b46b1fbfd2 Set defaults on summons
Summon FLB, ULB and max_level don't have defaults and can be null, which is bad
2023-01-02 15:58:12 -08:00
0c4ed3e157 Add XLB (Transcendence) to Summons
Thanks, Bahamut
2023-01-02 15:57:48 -08:00
cfe667ac4e Change AX on Weapons to boolean
Moves current column to `ax_type` but we will probably remove it and do series-based matching on the client
2023-01-02 15:57:29 -08:00
a6c43d5f57 Change limit on Weapons/Summons to boolean 2023-01-02 15:56:54 -08:00
10184af964 Add data_migrate gem 2023-01-02 15:56:42 -08:00
bac92ffdcd
Merge pull request #30 from jedmund/revert-refactor
Revert GridWeaponsController refactor
2022-12-30 15:40:27 -08:00
839be176ad Revert gridweaponscontroller refactor 2022-12-30 15:39:47 -08:00
31a7c67621
Merge pull request #29 from jedmund/fix-gridweaponscontroller
Fix bug introduced in last PR
2022-12-30 06:10:27 -08:00
7049e8e723 Fix bug introduced in last PR 2022-12-30 06:09:58 -08:00
d0f8b3a5e2
Merge pull request #28 from jedmund/refactor-gridweaponscontroller-create
Refactor GridWeaponsController#create
2022-12-30 05:26:36 -08:00
3e77365635 Refactor #create
This method is humongous and very confusing, and often gives double render errors. This refactor breaks things up into smaller methods to help make it a bit more readable.
2022-12-30 05:08:40 -08:00
f7ecbe16ec
Merge pull request #26 from jedmund/filter-weapons
Filter out grids that don't have more than two distinct weapons
2022-12-29 02:37:40 -08:00
6f588386d0 Filter out grids that don't have more than two distinct weapons 2022-12-29 02:36:52 -08:00
a8c8653aa9 Add default values to Weapon level and skill level 2022-12-25 21:46:27 -08:00
2fb2158dd9
Merge pull request #22 from jedmund/fix-user-settings
Fix user settings
2022-12-25 20:17:51 -08:00
1752081f3f Output theme 2022-12-25 20:17:20 -08:00
e9dbc36f2a Add default value to theme in user table 2022-12-25 16:11:51 -08:00
383d59703f Add theme to user table and blueprint 2022-12-25 16:01:40 -08:00
060a367f1d
Merge pull request #21 from jedmund/grid-mechanics
Implement grid mechanics
2022-12-25 00:58:15 -08:00
e2332f9652 Allow searching only for extra or subaura objects 2022-12-25 00:29:55 -08:00
adbb5b6c7d Disallow adding arbitrary weapons to Extra slots 2022-12-25 00:23:27 -08:00
ec25230bc5 Implement detecting and resolving weapon conflicts 2022-12-24 23:30:10 -08:00
a482c67700 Add route for resolving weapon conflicts 2022-12-24 23:29:54 -08:00
1c197d9b6b Loose schema.rb file 2022-12-24 15:08:27 -08:00
5ab30a06ef
Merge pull request #20 from jedmund/rake
Add Rake tasks for compiling URL lists and downloading images
2022-12-24 14:21:04 -08:00
6db048dcc8 Create task for downloading images 2022-12-24 14:16:56 -08:00
eb765e2463 Update tasks 2022-12-24 14:16:45 -08:00
0350d940c6 Ignore downloaded files 2022-12-24 14:16:28 -08:00
c9c52fbf15 Add rake tasks for exporting URL lists 2022-12-24 07:29:36 -08:00
8273af0f82 Ignore exported files 2022-12-24 07:29:12 -08:00
0246f01523
Merge pull request #19 from jedmund/awakening
Add support for Awakening and other Weapon Mod fixes
2022-12-24 05:04:14 -08:00
7a8cf30ffb Fix series for Class Champion emblems 2022-12-24 04:55:11 -08:00
ae1da20f27 Fix fetching weapon keys so you dont need filters 2022-12-24 04:54:50 -08:00
4f4d9e27a7 Add slug to weapon key table 2022-12-23 23:31:34 -08:00
ddae480f48 Merge branch 'main' into awakening 2022-12-23 19:28:03 -08:00
f17be0ea03 Merge branch 'main' of github.com:jedmund/hensei-api 2022-12-23 19:24:12 -08:00
e0df40f035 Remove log 2022-12-23 19:22:45 -08:00
36d3dafd2e
Merge pull request #18 from jedmund/fix-constants
Normalize constants in ApiController
2022-12-23 19:09:04 -08:00
574d8e0b3e Normalize constants in ApiController 2022-12-23 19:08:36 -08:00