Commit graph

236 commits

Author SHA1 Message Date
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
e6a09ab29b Make has_many readable 2022-03-14 18:21:54 -07:00
c7196f7c79 Add a permanent weapon count condition to Teams
This way, Discover Teams will only show high quality parties
2022-03-14 18:21:40 -07:00
72c144ef65 Add counter_cache flag to GridWeapon 2022-03-14 18:20:29 -07:00
ff85de2f86 Add counter cache for number of weapons in a party 2022-03-14 18:20:12 -07:00
c027a473ea
Merge pull request #11 from jedmund/search
Implement filtering objects on the backend
2022-03-11 01:19:57 -08:00
ad74ed4a14 Add will_paginate 2022-03-11 01:13:03 -08:00
0561c11ebc Update path 2022-03-11 01:12:54 -08:00
6a2f5e1a5c Updated search templates 2022-03-11 01:12:45 -08:00
0584ac84e5 Added filters to summons and characters 2022-03-11 01:12:35 -08:00
14260e4ce0 Add filtering to weapon search 2022-03-09 11:02:51 -08:00
29b533d104 Update search routes to use POST instead of GET 2022-03-09 11:02:32 -08:00
29b35595b7
Merge pull request #10 from jedmund/search
Better search
2022-03-08 17:45:18 -08:00
88f316d6a7 Implement JP search and trigram for EN 2022-03-08 17:43:40 -08:00
0661b5a50d Add GIN indexes to canonical object tables 2022-03-08 17:43:27 -08:00
d6e94353cd
Merge pull request #9 from jedmund/query-params
Implement query params
2022-03-07 18:26:15 -08:00
3fc09d9f12 Add slug to output 2022-03-07 18:25:38 -08:00
039bf85227 Add slug to raids table
This is for URL query params
2022-03-06 05:50:51 -08:00
62543858bd Fix a small variable bug in GridWeapons Controller 2022-03-06 03:47:28 -08:00