Commit graph

396 commits

Author SHA1 Message Date
6e81ffc7dd
Implements advanced filters (#90) (#91)
* Add advanced filters

Adds new filters to search:

* Full auto
* Charge attack
* Auto guard
* Number of weapons (user-selectable now)
* Number of summons
* Number of characters
* Maximum number of turns
* Maximum number of buttons
* Maximum clear time
* User quality (No anonymous users)
* Name quality (No untitled teams)
* Remixes (Only show original teams)

* Update advanced filter params

* Add default to party counter cache
2023-04-09 19:40:41 -07:00
6fd5aa8c27
Clear counter cache on remix (#87) (#88) 2023-03-17 09:07:51 -07:00
27441146ed
Re-implement latest PRs on a clean Git history (#86)
* Add granblue_id to WeaponKeys (#77)

Reimplementing #77

* Adds Ultimate Mastery and renames Master Level (#78)

* Render :created view on remix (#84)

This view is required as it shows the `edit_key` for unauth users
2023-03-17 05:03:50 -07:00
472fb6816b Allow adding EMP skills from prior rows to team
We let you search but didn't fix the server-side validation check for skills
2023-02-05 16:41:54 -08:00
158786b5a8 Show EMP skills for Row 5 classes
Row 4 EMP skills were not showing up, so you couldn't set Rage IV on Viking, for example
2023-02-05 16:32:57 -08:00
e2c1639d8f Remove log call 2023-02-05 15:49:09 -08:00
d587ceeeec
Small Rails 7 configuration changes (#72) 2023-02-05 00:56:27 -08:00
06f8d28874
February 2023 Update (#48) 2023-02-04 23:46:12 -08:00
2c9b15857c
Merge pull request #37 from jedmund/fix-party-creation
Minor support for wider party creation
2023-01-08 01:34:18 -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
d13230bdb7 Update database.yml 2023-01-03 18:34:20 -08:00
927078d6f0 Delete .env 2023-01-03 18:27:33 -08:00
aff1a10266 Merge branch 'main' of github.com:jedmund/hensei-api 2023-01-03 18:20:36 -08:00
b629a7ffc9 Update database.yml 2023-01-03 18:20:22 -08:00
248a3df375
Merge pull request #36 from jedmund/party-details-upgrade
Add new fields to Parties
2023-01-03 18:08:16 -08:00
da24ab2942 Update defaults to Rails 7.0 2023-01-03 18:07:04 -08:00
d505b35861 Update properties of new fields again 2023-01-03 18:06:57 -08:00
3226acdf4a Allow input of expanded details and output them 2023-01-03 08:05:47 -08:00
09973142e2 Update default value for turn count to 1 2023-01-03 08:05:16 -08:00
2cfaf0c1cf Add ruby-gemset and update Gemfile.lock 2023-01-03 08:05:03 -08:00
6cd75f8f16 Add new party details to database 2023-01-03 03:19:15 -08:00
660b4d918b
Merge pull request #35 from jedmund/fix-grids-more
Fix broken Extra Weapons and Characters slots
2023-01-03 02:42:12 -08:00
fb037b3249 Fix testing conflict_characters 2023-01-03 02:41:38 -08:00
5e4cb4fe2b Fix reference to weapon series 2023-01-03 02:41:30 -08:00
a36605bce7 Update schema.rb 2023-01-03 02:37:32 -08:00
e1eb0d037b Remove some data migrations 2023-01-02 22:18:52 -08:00
5404618b2f Update 20230102160350_migrate_limit_to_boolean.rb 2023-01-02 22:13:36 -08:00
cb810b3fd5 Update 20230102160350_migrate_limit_to_boolean.rb 2023-01-02 22:12:05 -08:00
e50dbeb9aa Revert to Ruby 3.0.0 2023-01-02 22:07:15 -08:00
e27d644941 Create Gemfile.lock 2023-01-02 22:04:19 -08:00
12c49d1241
Delete Gemfile.lock 2023-01-02 22:02:11 -08:00
86f6f67f5a Create Gemfile.lock 2023-01-02 22:00:15 -08:00
c92756b81f
Merge pull request #34 from jedmund/controller-refactor
Refactor GridWeaponsController and models for validation
2023-01-02 21:56:48 -08:00
7eeb30111d
Merge pull request #33 from jedmund/fix_migration_name
Update migration name
2023-01-02 21:52:47 -08:00
626ead7dfa Update 20230102160350_migrate_limit_to_boolean.rb 2023-01-02 21:52:24 -08:00
6c02106c49
Merge pull request #31 from jedmund/db-cleanup
Database schema updates
2023-01-02 21:47:27 -08:00
a5237d2fa0 Add AX type to blueprint 2023-01-02 21:32:11 -08:00
83c6b2397a Refactor weapon conflicts into model validations 2023-01-02 21:24:53 -08:00
c39abfe8d6 Fix AX reference
Was using int, now uses bool
2023-01-02 21:24:43 -08:00
fb9211bd2d Replace awesome_print, bump Ruby version 2023-01-02 21:24:17 -08:00
2485a52a76 Update seeds
Data is still dirty with bad ATK data across objects
2023-01-02 16:25:35 -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
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
540df78ee9 Change CORS for production or dev env 2023-01-02 16:24:40 -08:00
b3cc5a5432 Update schema and data_schema 2023-01-02 15:59:07 -08:00
5a0a03c2b7 Add more character mod fields
Ring and earring support
2023-01-02 15:58:57 -08:00