Commit graph

170 commits

Author SHA1 Message Date
7d576c3485 Update controllers to properly authorize
For some of these, they weren't authorizing at all, so this is a good safety improvement
2023-01-31 02:51:38 -08:00
4b7b48cbd3 Create edit_key global in ApiController 2023-01-31 02:51:13 -08:00
cce33ebf08 Add local_id to Party object
We can't save in the user_id column because it is an association, but that's okay
2023-01-31 00:54:17 -08:00
bedd72a753 Add edit_key to Parties output on create
We create a new view `created` that includes the `full` view but adds the `edit_key` param
2023-01-31 00:29:29 -08:00
df21dd6f37 Send replace position 2023-01-29 23:37:24 -08:00
6c12b1937a Fix response when requesting nonexistent user 2023-01-28 20:50:35 -08:00
54ed380d57
Merge pull request #61 from jedmund/fix-base-skills
Fix bug preventing selection of base skills
2023-01-28 02:38:31 -08:00
3dc606de9e Fix bug preventing selection of base skills 2023-01-28 02:36:48 -08:00
7a290c2945 Fix limit when adding summons 2023-01-28 02:20:52 -08:00
159439a67e Rename to version 2023-01-25 20:02:56 -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
7d142ada54 Add accessory_id to Party and enable saving
Saves without validation right now
2023-01-24 02:11:54 -08:00
ea7650a9bb Add controller, blueprint and route for JobAccessories 2023-01-23 20:52:20 -08:00
0797306569
Merge pull request #47 from jedmund/transcendence
Adds support for transcendence
2023-01-22 23:14:40 -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
a8a0a5944c Merge branch 'summon-renewal' into transcendence 2023-01-22 21:24:28 -08:00
d343adeca3 Merge branch 'character-mods' into summon-renewal 2023-01-22 21:24:14 -08:00
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
5460a1d167 Reset transcendence step on uncap 2023-01-22 21:02:19 -08:00
422651668e Permit transcendence_step 2023-01-22 20:41:24 -08:00
8c1fae02d4 Add update method to GridSummonsController 2023-01-22 20:37:52 -08:00
bb79f68a2c Remove extraneous code 2023-01-22 20:37:15 -08:00
cfee8b0b31 Support for frontend transcendence
Set transcendence step when updating uncap level
2023-01-22 19:58:45 -08:00
67cc1138e6 Implements limits on GridSummons 2023-01-21 18:44:25 -08:00
c5f2c9d080 Implement deleting summons 2023-01-21 15:41:16 -08:00
633db43e94 Implement removing characters and weapons 2023-01-20 21:39:20 -08:00
18ca78a272 Implement localized remix names 2023-01-09 00:29:12 -08:00
fa2962ae1c Add remix method to parties controller 2023-01-08 21:50:30 -08:00
1925678888 Return when no params 2023-01-08 21:50:30 -08:00
b0b446aba3 Fix set_from_slug 2023-01-08 21:50:30 -08:00
433bd19f6d Fix party creation 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
70bbd47606 Add endpoint and stub method 2023-01-08 21:49:57 -08:00
3f914d3be7 Merge branch 'main' into character-mods 2023-01-08 05:54:00 -08:00
78df1df683 Allow empty strong params 2023-01-08 01:30:12 -08:00
382b2e2a92 Enable extra if the GridWeapon is in position 9, 10, 11 2023-01-08 01:16:43 -08:00
beeeef3104 TEMP: Comment out problematic code
We don't ever send parameters when posting a party, so for now we don't need to worry about this.

We can't leave this like this though: You should be able to send a complete party in the future (for API creation via strings)
2023-01-08 01:16:25 -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
3226acdf4a Allow input of expanded details and output them 2023-01-03 08:05:47 -08:00
fb037b3249 Fix testing conflict_characters 2023-01-03 02:41:38 -08:00
83c6b2397a Refactor weapon conflicts into model validations 2023-01-02 21:24:53 -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
839be176ad Revert gridweaponscontroller refactor 2022-12-30 15:39:47 -08:00
7049e8e723 Fix bug introduced in last PR 2022-12-30 06:09:58 -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
6f588386d0 Filter out grids that don't have more than two distinct weapons 2022-12-29 02:36:52 -08:00
1752081f3f Output theme 2022-12-25 20:17:20 -08:00
e2332f9652 Allow searching only for extra or subaura objects 2022-12-25 00:29:55 -08:00