fc7cde4c5a
Fix race condition for base skill mismatch check
2022-12-03 18:21:15 -08:00
a08421722f
Add GranblueError and move app errors to extend it
2022-12-03 18:21:01 -08:00
6ba5335668
Fix last bugs around adding skills with 0~3 existing
2022-12-03 16:39:38 -08:00
813c2ba202
Fix bug regarding finding old_position
2022-12-03 14:51:01 -08:00
243ba2de3e
Fix bug when desired position is empty
2022-12-03 14:10:18 -08:00
27d31d61c0
Fix race condition
2022-12-03 13:55:41 -08:00
b93d0dd366
Update routes.rb
2022-12-03 13:45:34 -08:00
ec3b42101b
Move logic to JobsController
...
It was getting too heavy to keep in PartiesController
2022-12-03 11:45:00 -08:00
bd33ee44fc
Update Job model to reference base_job
2022-12-03 11:44:09 -08:00
4ee90f6c09
Add new errors and fix handling in ApiController
2022-12-03 11:43:56 -08:00
b1c6930121
Add base_job so we can track base skills
2022-12-03 11:43:27 -08:00
5c9a2b8d7a
Refactor job skill assignment a bit
2022-12-02 20:46:51 -08:00
f6613d6e91
Add TooManySkillsOfTypeError
2022-12-02 20:45:46 -08:00
644ffd74e5
Added logic for swapping and replacing job skills
2022-12-02 11:20:43 -08:00
d1eba7aed8
Add == and update search
2022-12-02 11:20:22 -08:00
aa5d2451a8
Add skill uniqueness validation to Party
2022-12-02 11:20:11 -08:00
741d20aa70
Send job and skills when party is updated
2022-12-01 04:47:31 -08:00
296fa0187c
Save base job skills on job change
2022-12-01 04:46:53 -08:00
1ba16a2c61
Export job skills in template
2022-12-01 04:46:44 -08:00
8e5571265f
Add job skills to database
2022-12-01 04:46:24 -08:00
ae36ff59b4
Properly gate group conditions
...
The default group ("All Skills") is technically -1, not null
2022-11-30 05:17:40 -08:00
a69fda5ead
Small refactor of handling groups
...
Using the `filters` key so we can hook into existing search infrastructure on the frontend
2022-11-30 02:51:58 -08:00
c0bdb47d43
Add scoped search for job skills
2022-11-30 02:03:28 -08:00
353db31ef7
Move to JobSkillsController
...
It makes more sense to pre-fetch all job skills and filter on the client, so we're consolidating into a JobSkillsController
2022-11-27 19:27:45 -08:00
5755aab240
Disable object root
2022-11-27 18:54:32 -08:00
5fe712c31a
Add route to get skills for given job
2022-11-27 14:12:52 -08:00
b9bea3ecf4
Add model
2022-11-27 14:12:33 -08:00
b41a67df30
Add job skills table
2022-11-27 14:12:16 -08:00
9708ed39e1
Merge pull request #15 from jedmund/char-dedupe
...
Conflict resolution → Characters
2022-11-19 17:05:12 -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
c45a54e222
Added character_id to character template
2022-11-19 06:02:33 -08:00
33cef2050c
Added route for resolving character conflicts
2022-11-19 06:02:17 -08:00
a76bda993f
Add character_id field to character table
...
This is used for deduping characters so users can't add two of the same character to a grid.
2022-11-17 02:26:15 -08:00
9967d36f89
Fix race condition
2022-11-17 02:25:22 -08:00
05f6ecc1c7
Merge pull request #14 from jedmund/class
...
Add support for selecting Jobs for teams
2022-04-10 13:33:13 -07:00
ba632af5e7
Add gender to user database
2022-04-10 13:25:57 -07:00
cf132e20f5
Receive and output job data in templates
2022-04-04 23:41:00 -07:00
c3566944cd
Add endpoint for fetching all jobs
2022-03-22 03:41:00 -07:00
1eec816111
Add order to jobs
2022-03-22 03:40:52 -07:00
698968dbfe
Create job.rb
2022-03-22 02:56:34 -07:00
ae99019f64
Rename classes to jobs because reserved words
2022-03-22 02:55:56 -07:00
5c40bd144c
Completely unrelated cleanup migrations
2022-03-22 02:30:05 -07:00
f7e6afb1dc
Add class and master level support to db
2022-03-22 02:29:54 -07:00
e377306663
Merge pull request #13 from jedmund/paginate-collections
...
Paginate collections
2022-03-21 03:56:01 -07:00
483e9fe226
Update templates
2022-03-21 03:54:13 -07:00
5d45b8898e
Add favorites to parties
2022-03-21 03:53:59 -07:00
a99f0c31c5
Add pagination to favorites and teams
2022-03-21 03:53:52 -07:00
6756c24896
Remove duplicate current_user method
2022-03-21 03:53:34 -07:00
1f3ba2307f
Add pagination for collections
2022-03-14 19:42:29 -07:00
d98772e93c
Merge pull request #12 from jedmund/counter-cache
...
Add counter_cache to GridWeapons in Party
2022-03-14 18:22:42 -07:00