Commit graph

379 commits

Author SHA1 Message Date
da24ab2942 Update defaults to Rails 7.0 2023-01-03 18:07:04 -08:00
d505b35861 Update properties of new fields again 2023-01-03 18:06:57 -08:00
3226acdf4a Allow input of expanded details and output them 2023-01-03 08:05:47 -08:00
09973142e2 Update default value for turn count to 1 2023-01-03 08:05:16 -08:00
2cfaf0c1cf Add ruby-gemset and update Gemfile.lock 2023-01-03 08:05:03 -08:00
6cd75f8f16 Add new party details to database 2023-01-03 03:19:15 -08:00
660b4d918b
Merge pull request #35 from jedmund/fix-grids-more
Fix broken Extra Weapons and Characters slots
2023-01-03 02:42:12 -08:00
fb037b3249 Fix testing conflict_characters 2023-01-03 02:41:38 -08:00
5e4cb4fe2b Fix reference to weapon series 2023-01-03 02:41:30 -08:00
a36605bce7 Update schema.rb 2023-01-03 02:37:32 -08:00
e1eb0d037b Remove some data migrations 2023-01-02 22:18:52 -08:00
5404618b2f Update 20230102160350_migrate_limit_to_boolean.rb 2023-01-02 22:13:36 -08:00
cb810b3fd5 Update 20230102160350_migrate_limit_to_boolean.rb 2023-01-02 22:12:05 -08:00
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