Commit graph

56 commits

Author SHA1 Message Date
0ff7e7a8dd Add JobAccessory model and add type to schema
We need type because we don't want to hardcode job ids in scripts
2023-01-23 20:52:06 -08:00
ee7085f65e
Merge branch 'staging' into summon-renewal 2023-01-22 23:12:57 -08:00
6ecc2a706c
Merge branch 'staging' into remix-teams 2023-01-22 23:09:55 -08:00
67cc1138e6 Implements limits on GridSummons 2023-01-21 18:44:25 -08:00
633db43e94 Implement removing characters and weapons 2023-01-20 21:39:20 -08:00
73022778f6 Add server-side validation for OM and AM rings
Note: Over mastery is not validating properly yet
2023-01-09 01:51:38 -08:00
f73593d8e1 Blank values using defaults instead of null 2023-01-09 00:29:01 -08:00
79b9b4e225 Exclude certain values from remixing 2023-01-09 00:05:18 -08:00
b6e8dd93b1 Add party validation and inverse to GridObject associations 2023-01-08 21:50:30 -08:00
a3e76d53e7 Add amoeba configuration to Party 2023-01-08 21:50:30 -08:00
2a465aca3b Move shortcode setting to before_save on Party model 2023-01-08 21:50:30 -08:00
5351123aa2 Add basic validation for various mastery bonuses
* Ensure transcendence is possible on that character
* Ensure transcendence_step is in bounds
* Ensure Over Mastery Attack is a valid value
* Ensure Over Mastery HP is a valid value
* Ensure Over Mastery Attack is 2x Over Mastery HP
* Ensure Awakening level is in bounds
2023-01-07 07:51:04 -08:00
5e4cb4fe2b Fix reference to weapon series 2023-01-03 02:41:30 -08:00
83c6b2397a Refactor weapon conflicts into model validations 2023-01-02 21:24:53 -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
e541182e36 Add all blueprints and associate with models 2022-12-21 03:31:55 -08:00
c1716c1e4f Run RuboCop on everything
yolo
2022-12-21 00:22:47 -08:00
813c2ba202 Fix bug regarding finding old_position 2022-12-03 14:51:01 -08:00
bd33ee44fc Update Job model to reference base_job 2022-12-03 11:44:09 -08:00
d1eba7aed8 Add == and update search 2022-12-02 11:20:22 -08:00
aa5d2451a8 Add skill uniqueness validation to Party 2022-12-02 11:20:11 -08:00
1ba16a2c61 Export job skills in template 2022-12-01 04:46:44 -08:00
c0bdb47d43 Add scoped search for job skills 2022-11-30 02:03:28 -08:00
b9bea3ecf4 Add model 2022-11-27 14:12:33 -08:00
cf132e20f5 Receive and output job data in templates 2022-04-04 23:41:00 -07:00
c3566944cd Add endpoint for fetching all jobs 2022-03-22 03:41:00 -07:00
698968dbfe Create job.rb 2022-03-22 02:56:34 -07:00
e6a09ab29b Make has_many readable 2022-03-14 18:21:54 -07:00
72c144ef65 Add counter_cache flag to GridWeapon 2022-03-14 18:20:29 -07:00
88f316d6a7 Implement JP search and trigram for EN 2022-03-08 17:43:40 -08:00
5ef04f9d13 Make GridWeapon/WeaponKey association optional
Otherwise, we can't save a record without weapon keys, which is not ideal
2022-03-03 00:17:47 -08:00
82a6b0d598 Add WeaponKey associations to GridWeapon 2022-03-01 23:33:21 -08:00
186fde79be Enable filtering list of favorite parties 2022-02-27 22:52:25 -08:00
8d9b434d1e Add attr_accessor for favorited 2022-02-27 22:27:10 -08:00
6afe242abe Return a boolean indicating favorite in party object 2022-02-27 21:14:37 -08:00
a45193d1b8 Association update and favorites method on User 2022-02-27 20:00:18 -08:00
b2adbd0400 Add favorites model 2022-02-27 19:04:51 -08:00
bb736ce084 Add Raid model and add Parties as belonging to Raids 2022-02-23 18:11:03 -08:00
53e6e8bd39 Add destroy dependencies to models 2022-02-23 16:31:01 -08:00
659abae07a Refactor Portal 2022-01-29 18:02:09 -08:00
75702ac4d2 Add exclusion for characters 2022-01-25 17:02:08 -08:00
00476ec86c Add display_resource to models 2022-01-25 16:56:09 -08:00
56f166d816 Remove case_sensitive validator from User
This was removed in Rails 6.1
2021-10-27 09:43:15 -07:00
201a5f4157 Add characters to Party model and template 2020-10-19 05:10:32 -07:00
4bf7249d41 Add models, controllers and templates for Character objects 2020-10-19 03:55:53 -07:00
b44b8e9b70 Update Party model to have summons 2020-10-18 22:25:17 -07:00
132f676e2a Add Summon and GridSummons model and controllers 2020-10-18 22:24:28 -07:00
71a0a090ba Add route for viewing a profile 2020-09-25 14:59:50 -07:00
cb499a68ac Add validations and hooks to User model 2020-09-25 10:54:08 -07:00