Commit graph

65 commits

Author SHA1 Message Date
260ca449a7 GridWeapon decides if it is mainhand or not 2023-02-01 21:45:57 -08:00
6b24970c54 Edit key should create before create, not save 2023-01-31 02:51:01 -08:00
e45dabf39a Save edit key for parties with no user ID 2023-01-31 00:55:17 -08:00
651a7ff5f6
Merge pull request #60 from jedmund/fix-yatima
Fix limit when adding summons
2023-01-28 02:38:19 -08:00
7a290c2945 Fix limit when adding summons 2023-01-28 02:20:52 -08:00
6c084610ad Fix counter caches 2023-01-28 01:19:46 -08:00
986ef2fb56 Add remix state and remixes to output 2023-01-27 23:33:28 -08:00
caf357a84d Add support for AppUpdates
* Added model
* Added blueprint
* Added method to ApiController
* Added route
2023-01-25 19:27:49 -08:00
404720d259 Add relation to Party and output in Blueprint 2023-01-24 02:38:09 -08:00
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