Commit graph

14 commits

Author SHA1 Message Date
bd15d91cdd Fix grid character creation
Grid characters were only replacing the character when replacing an existing character, so the mods were persisted. This creates a new GridCharacter every time a replacement happens and destroys the old one.
2023-01-22 21:24:00 -08:00
633db43e94 Implement removing characters and weapons 2023-01-20 21:39:20 -08:00
3617088418 Add update method for GridCharacter and other utils
* Add check_authorization for before update and eventually destroy runs
* Update permitted parameters
2023-01-07 07:51:40 -08:00
fb037b3249 Fix testing conflict_characters 2023-01-03 02:41:38 -08:00
9387bd321f Refactor GridCharactersController
This is a similar refactor to GridWeaponsController
2023-01-02 16:25:35 -08:00
464fe2f1aa Update output for GridObjects when uncapping 2022-12-22 23:41:04 -08:00
116ec9dbbc Refactor GridObjectControllers to use blueprinter 2022-12-21 20:53:48 -08:00
c1716c1e4f Run RuboCop on everything
yolo
2022-12-21 00:22:47 -08:00
559507977b Added logic for conflict resolution
* Conflict is detected when attempting to save a new GridCharacter
* New `resolve` method executes the replacement
* Template to render a decision on the frontend
2022-11-19 06:03:39 -08:00
8362fcf770 Refactor how GridCharacters are saved 2022-02-23 13:49:40 -08:00
3f2f1cd836 Allow id param and fix typos 2022-02-01 16:48:02 -08:00
66f281714b Add routes for updating the uncap level of an object 2022-02-01 03:28:57 -08:00
ba22aad8d3 Fix a typo 2020-10-19 04:05:19 -07:00
4bf7249d41 Add models, controllers and templates for Character objects 2020-10-19 03:55:53 -07:00