Commit graph

325 commits

Author SHA1 Message Date
adbb5b6c7d Disallow adding arbitrary weapons to Extra slots 2022-12-25 00:23:27 -08:00
ec25230bc5 Implement detecting and resolving weapon conflicts 2022-12-24 23:30:10 -08:00
a482c67700 Add route for resolving weapon conflicts 2022-12-24 23:29:54 -08:00
1c197d9b6b Loose schema.rb file 2022-12-24 15:08:27 -08:00
5ab30a06ef
Merge pull request #20 from jedmund/rake
Add Rake tasks for compiling URL lists and downloading images
2022-12-24 14:21:04 -08:00
6db048dcc8 Create task for downloading images 2022-12-24 14:16:56 -08:00
eb765e2463 Update tasks 2022-12-24 14:16:45 -08:00
0350d940c6 Ignore downloaded files 2022-12-24 14:16:28 -08:00
c9c52fbf15 Add rake tasks for exporting URL lists 2022-12-24 07:29:36 -08:00
8273af0f82 Ignore exported files 2022-12-24 07:29:12 -08:00
0246f01523
Merge pull request #19 from jedmund/awakening
Add support for Awakening and other Weapon Mod fixes
2022-12-24 05:04:14 -08:00
7a8cf30ffb Fix series for Class Champion emblems 2022-12-24 04:55:11 -08:00
ae1da20f27 Fix fetching weapon keys so you dont need filters 2022-12-24 04:54:50 -08:00
4f4d9e27a7 Add slug to weapon key table 2022-12-23 23:31:34 -08:00
ddae480f48 Merge branch 'main' into awakening 2022-12-23 19:28:03 -08:00
f17be0ea03 Merge branch 'main' of github.com:jedmund/hensei-api 2022-12-23 19:24:12 -08:00
e0df40f035 Remove log 2022-12-23 19:22:45 -08:00
36d3dafd2e
Merge pull request #18 from jedmund/fix-constants
Normalize constants in ApiController
2022-12-23 19:09:04 -08:00
574d8e0b3e Normalize constants in ApiController 2022-12-23 19:08:36 -08:00
6ccc8fd338 Add awakenings to blueprints 2022-12-23 16:40:42 -08:00
7bdee95c0e Merge branch 'main' into awakening 2022-12-23 16:36:50 -08:00
bb15db45f6
Merge pull request #17 from jedmund/blueprinter
Migrate to Blueprinter
2022-12-23 16:21:19 -08:00
13dae81737 Fix bug preventing selecting Row IV, V and EXII 2022-12-23 15:49:30 -08:00
8b69a44d83 Allow unsetting of jobs
Unsetting a job also removes all of its skills
2022-12-23 15:42:46 -08:00
464fe2f1aa Update output for GridObjects when uncapping 2022-12-22 23:41:04 -08:00
a837210029 Removed current job's subskills from search 2022-12-22 23:27:46 -08:00
874c20245d Refined selecting skills based on job
* Bugfix: You can now select a third subskill on Rows 1, 2 and 3
* Edgecase: When switching from a Row 1, 2 or 3 class to Row 4, 5 or EX2, the third EMP skill set is removed
2022-12-22 23:27:24 -08:00
8c1d51fb4f Updated getting skills assignable to a job
This endpoint isn't used though
2022-12-22 23:26:23 -08:00
b7a537f540 Fix token generation on signup 2022-12-22 21:27:38 -08:00
041f8ee189 Fix errors with error handling 2022-12-22 18:12:47 -08:00
e91e1664a6 Update blueprint for availability endpoints 2022-12-22 18:12:34 -08:00
153d36be5a We need to include the User in the Party 2022-12-22 01:40:02 -08:00
a397fc722d Pass root when rendering in SearchController 2022-12-22 01:01:03 -08:00
c5391a6683 Fix bug where now wasn't replaced 2022-12-22 00:44:39 -08:00
7ddc916216 Remove rabl views
Our work here is done
2022-12-21 23:29:20 -08:00
c0be03dcb6 Finish migrating ApiController error methods 2022-12-21 23:28:54 -08:00
415ef39158 Add per_page to methods that return collections 2022-12-21 23:15:17 -08:00
5c97488a20 Update UsersController to use blueprinter 2022-12-21 23:13:19 -08:00
41c031092e Update weapon_keys_controller.rb 2022-12-21 22:10:35 -08:00
89e666219a Update SearchController for blueprinter 2022-12-21 22:10:31 -08:00
9a27ac853d Update JobsController and JobSkillsController for blueprinter 2022-12-21 21:46:35 -08:00
349c42f839 Update blueprints to remove id field or identifier
This is built into ApiBlueprint
2022-12-21 21:07:26 -08:00
3b6edfae5d Update WeaponKey output for blueprinter 2022-12-21 21:04:42 -08:00
116ec9dbbc Refactor GridObjectControllers to use blueprinter 2022-12-21 20:53:48 -08:00
2a74b8aa4d Add minimal view to Party and use in GridObject 2022-12-21 20:53:34 -08:00
a15ba3c376 Correct ConflictBlueprint
ConflictBlueprint uses `options` to display arbitrary values, but I think those are only available behind conditional statements. This adds those statements and checks if the key that will be used exists on the hash.

ConflictBlueprint was also inheriting from ApiBlueprint which requires a real object (with an ID), so instead we inherit from Blueprinter::Base
2022-12-21 20:40:27 -08:00
747ffbc4ff Update GridObject blueprints with view 2022-12-21 20:39:17 -08:00
33775539cd Add ConflictBlueprint
This should be used for character conflicts (implemented) and weapon conflicts (to-do in a future PR)
2022-12-21 19:27:55 -08:00
bf04ddcbba Fix GridObject blueprints 2022-12-21 19:27:33 -08:00
979d28be75 Update party_blueprint.rb 2022-12-21 16:20:04 -08:00