Commit graph

466 commits

Author SHA1 Message Date
e50dbeb9aa Revert to Ruby 3.0.0 2023-01-02 22:07:15 -08:00
e27d644941 Create Gemfile.lock 2023-01-02 22:04:19 -08:00
12c49d1241
Delete Gemfile.lock 2023-01-02 22:02:11 -08:00
86f6f67f5a Create Gemfile.lock 2023-01-02 22:00:15 -08:00
c92756b81f
Merge pull request #34 from jedmund/controller-refactor
Refactor GridWeaponsController and models for validation
2023-01-02 21:56:48 -08:00
7eeb30111d
Merge pull request #33 from jedmund/fix_migration_name
Update migration name
2023-01-02 21:52:47 -08:00
626ead7dfa Update 20230102160350_migrate_limit_to_boolean.rb 2023-01-02 21:52:24 -08:00
6c02106c49
Merge pull request #31 from jedmund/db-cleanup
Database schema updates
2023-01-02 21:47:27 -08:00
a5237d2fa0 Add AX type to blueprint 2023-01-02 21:32:11 -08:00
83c6b2397a Refactor weapon conflicts into model validations 2023-01-02 21:24:53 -08:00
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