caaafe84d8
Add full auto toggles to GridCharacter
2023-03-15 04:36:01 -07:00
8bef63d521
Add tables for storing character skills and effects
2023-03-15 04:24:06 -07:00
1fe6f45cae
Add Ultimate Mastery
2023-03-15 04:03:25 -07:00
71a217d33f
Rename ml to master level
2023-03-15 04:02:39 -07:00
8ff5a5a1e9
Add granblue_id to WeaponKeyBlueprint
2023-03-15 03:04:11 -07:00
74a70b8ecd
Add granblue_id column to WeaponKeys table
...
This should have a `NOT NULL` constraint, but due to existing data it is nullable until we can update all environments with values.
2023-03-15 03:03:58 -07:00
2596e2785a
Update README.md
2023-02-05 23:42:52 -08:00
39567fcefd
Update README.md
2023-02-05 23:42:00 -08:00
9247e38353
Regenerate credentials
2023-02-05 00:07:32 -08:00
31c9245c98
Merge branch 'main' of github.com:jedmund/hensei-api into staging
2023-02-05 00:06:31 -08:00
5f92d64373
Merge pull request #71 from jedmund/unauth-remix
...
Assign local ID when remixing as unauthorized account
2023-02-03 19:33:27 -08:00
a123e5fe23
Assign local ID when remixing as unauth
2023-02-03 19:32:22 -08:00
bdb68f17a9
Fix bug in party controller authorization
2023-02-02 02:28:46 -08:00
c5ecd8d6e9
Merge pull request #70 from jedmund/download-images-task
...
Update download tasks
2023-02-02 02:28:16 -08:00
36761f0185
Update download tasks
...
* Renames old `download_images` task to `download_all_images`
* Creates a new task for downloading images for a specific list of granblue IDs
2023-02-02 02:27:16 -08:00
b05670bbd3
Remove log
2023-02-01 21:46:24 -08:00
260ca449a7
GridWeapon decides if it is mainhand or not
2023-02-01 21:45:57 -08:00
2dd6dbae57
Merge pull request #69 from jedmund/info_endpoints
...
Add endpoints for getting info about canonical items
2023-01-31 22:18:05 -08:00
6e837e5d18
Add endpoints for getting info about canonical items
2023-01-31 21:48:00 -08:00
6bbeeb3df2
Merge pull request #68 from jedmund/unauth-teams
...
Allow editing of unauth teams
2023-01-31 03:13:43 -08:00
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
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
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
c4ae38a432
Add edit key to Parties table
2023-01-31 00:28:58 -08:00
e13bc6f636
Merge pull request #67 from jedmund/add-job-accessory-to-blueprint
...
Add job accessory boolean and type to output
2023-01-30 04:09:12 -08:00
c0bc62acc2
Add job accessory boolean and type to output
...
This whole commit from before seems to have disappeared
2023-01-30 04:08:45 -08:00
0ae9b5ba6b
Merge pull request #66 from jedmund/add-migration
...
Make migration more robust
2023-01-30 03:48:49 -08:00
50c9dbe7b3
Make migration more robust
2023-01-30 03:48:12 -08:00
05ea4a41f3
Merge pull request #65 from jedmund/add-migration
...
Add missing migration
2023-01-30 03:45:57 -08:00
8d68a97ab1
Add missing migration
2023-01-30 03:45:09 -08:00
91fdbfe393
Merge pull request #64 from jedmund/fix-weapon-conflicts
...
Small change to assist with weapon conflicts
2023-01-29 23:38:14 -08:00
df21dd6f37
Send replace position
2023-01-29 23:37:24 -08:00
1474580d37
Merge pull request #63 from jedmund/fix-users-response
...
Fix response when requesting nonexistent user
2023-01-28 20:51:08 -08:00
6c12b1937a
Fix response when requesting nonexistent user
2023-01-28 20:50:35 -08:00
8fb6fab0d7
Merge pull request #62 from jedmund/fix-blueprint
...
Remove accessory fields from JobBlueprint
2023-01-28 04:20:10 -08:00
c336aef449
Remove accessory fields from JobBlueprint
2023-01-28 04:19:53 -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
651a7ff5f6
Merge pull request #60 from jedmund/fix-yatima
...
Fix limit when adding summons
2023-01-28 02:38:19 -08:00
d39dca337b
Merge pull request #58 from jedmund/remove-weapon-count
...
Fix counter caches
2023-01-28 02:38:07 -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
6c084610ad
Fix counter caches
2023-01-28 01:19:46 -08:00
2c4d8b6fe1
Add source party to output
2023-01-28 00:23:06 -08:00
906faaeb1e
Change view for remixes
2023-01-28 00:01:40 -08:00
986ef2fb56
Add remix state and remixes to output
2023-01-27 23:33:28 -08:00
1e0ada0613
Merge pull request #56 from jedmund/shields-manabelly
...
Add accessory output
2023-01-27 11:54:09 -08:00
584fd31776
Update job_blueprint.rb
2023-01-27 11:53:30 -08:00
5025f51d04
Merge pull request #55 from jedmund/updates
...
Adds support for managing app updates
2023-01-25 22:56:20 -08:00
8bd78d7764
Add version field
2023-01-25 20:03:00 -08:00
159439a67e
Rename to version
2023-01-25 20:02:56 -08:00
c70290d6d5
Add primary key to migration
2023-01-25 19:30:06 -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
7911374c1e
Add updates table
2023-01-25 19:12:29 -08:00
bc14ac80ec
Update rake task for manaturas
2023-01-25 18:56:52 -08:00
404720d259
Add relation to Party and output in Blueprint
2023-01-24 02:38:09 -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
c474d8030b
Add rake task for downloading job accessory images
2023-01-23 20:52:10 -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
7de4bb6863
Add job accessories table
2023-01-23 17:03:41 -08:00
95748db677
Merge pull request #53 from jedmund/add-host-to-rails7
...
Add host to development environment file
2023-01-23 01:20:56 -08:00
90f2f6e390
Add host to development environment file
2023-01-23 01:20:39 -08:00
1f785d4695
Merge pull request #52 from jedmund/rails7
...
Properly update to Rails 7
2023-01-23 01:02:45 -08:00
3ced0c6523
Upgrade to rails 7
2023-01-23 01:01:08 -08:00
5b7a61c3bb
Add sprockets to gemfile
2023-01-23 00:53:57 -08:00
7d7c96df80
Merge pull request #51 from jedmund/fix-staging-2023012302
...
Attempt to fix staging by updating gems
2023-01-23 00:44:11 -08:00
cbfe7ce2da
Attempt to fix staging by updating gems
2023-01-23 00:42:55 -08:00
bb7d32d262
Merge pull request #50 from jedmund/fix-staging-20230123
...
Attempt to fix staging (2023-01-23)
2023-01-23 00:01:43 -08:00
31240936ab
Move bootsnap back
2023-01-23 00:00:56 -08:00
fcbf97fe0a
Recreate schema.rb
2023-01-23 00:00:38 -08:00
6bf100a830
Merge pull request #49 from jedmund/fix-staging-20230122
...
Attempt to fix staging (2023-01-22)
2023-01-22 23:48:18 -08:00
ec0549cd18
Merge branch 'staging' into fix-staging-20230122
2023-01-22 23:48:11 -08:00
098fdbffa8
Attempt moving Gemfile
2023-01-22 23:45:49 -08:00
a1967bbd2c
Merge pull request #46 from jedmund/job-icons
...
Adds support for Granblue IDs on Jobs
2023-01-22 23:15:39 -08:00
99578d33ee
Merge branch 'staging' into job-icons
2023-01-22 23:15:31 -08:00
0797306569
Merge pull request #47 from jedmund/transcendence
...
Adds support for transcendence
2023-01-22 23:14:40 -08:00
559f30226d
Merge pull request #45 from jedmund/summon-renewal
...
Update summon grid features
2023-01-22 23:13:08 -08:00
ee7085f65e
Merge branch 'staging' into summon-renewal
2023-01-22 23:12:57 -08:00
9fea1350b3
Merge pull request #39 from jedmund/remix-teams
...
Implements remixing teams
2023-01-22 23:10:05 -08:00
6ecc2a706c
Merge branch 'staging' into remix-teams
2023-01-22 23:09:55 -08:00
d91fd72431
Merge pull request #38 from jedmund/character-mods
...
Implements mods on GridCharacter
2023-01-22 23:08:59 -08:00
ed76afe44c
Add granblue_id to Job output
2023-01-22 22:31:25 -08:00
4ee65aecd3
Add Rake task for creating a list of Job icon URLs
2023-01-22 22:25:02 -08:00
67146e3ab3
Add Granblue ID instead of slug
2023-01-22 21:59:43 -08:00
54948e4435
Add slug to Jobs table
2023-01-22 21:56:08 -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
b248fb62ea
Add transcendence_step to output
2023-01-22 21:02:06 -08:00
717c08ea8f
Update summon task to download XLB images
2023-01-22 21:01:58 -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
cf270f0243
Add XLB and stats to JSON output
2023-01-22 19:57:57 -08:00
65d8024476
Add XLB stat fields
2023-01-22 19:57:49 -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
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
18ca78a272
Implement localized remix names
2023-01-09 00:29:12 -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
fa2962ae1c
Add remix method to parties controller
2023-01-08 21:50:30 -08:00
a3e76d53e7
Add amoeba configuration to Party
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
c2576973bb
Add source party column to parties
2023-01-08 21:50:30 -08:00
70bbd47606
Add endpoint and stub method
2023-01-08 21:49:57 -08:00
24b15c0740
Add amoeba gem for cloning ActiveRecord objects
2023-01-08 21:49:57 -08:00
3f914d3be7
Merge branch 'main' into character-mods
2023-01-08 05:54:00 -08:00
8f9bd0077e
Add new fields to output of GridCharacter
2023-01-07 07:51:54 -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
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
beb9f5aa0c
Add GridCharacters#update route
2023-01-07 07:49:39 -08:00
a2fff663d6
More database updates for mastery cols
...
* Awakening should be jsonb
* All mastery columns are not nullable
2023-01-07 07:49:28 -08:00
7404bcbac9
Change mastery columns to use jsonb
...
5 columns better than 10
2023-01-07 05:33:16 -08:00
6cf9c8d2ae
Create 20230106023753_change_awakening_type_default_value.rb
2023-01-06 01:29:09 -08:00