Commit graph

358 commits

Author SHA1 Message Date
186fde79be Enable filtering list of favorite parties 2022-02-27 22:52:25 -08:00
86640d5986 Remove log 2022-02-27 22:28:42 -08:00
07dc8dd457 Refactor how we output favorite bool on parties 2022-02-27 22:28:17 -08:00
8d9b434d1e Add attr_accessor for favorited 2022-02-27 22:27:10 -08:00
e295df0fdd Remove log and unused parameter 2022-02-27 22:12:57 -08:00
6afe242abe Return a boolean indicating favorite in party object 2022-02-27 21:14:37 -08:00
57b6f2a7b4 Add back render call 2022-02-27 20:55:55 -08:00
09ef36cfe6 Update base.json.rabl 2022-02-27 20:00:33 -08:00
7feb5157c8 Add method for displaying a user's favorites 2022-02-27 20:00:29 -08:00
a45193d1b8 Association update and favorites method on User 2022-02-27 20:00:18 -08:00
6a00c60a33 Add route for favorites 2022-02-27 19:59:54 -08:00
b9140430e2 Add favorites controller and templates
Allows saving and deleting favorites
2022-02-27 19:05:25 -08:00
b2adbd0400 Add favorites model 2022-02-27 19:04:51 -08:00
25b12b10c4 Add routes for Favorites 2022-02-27 19:03:29 -08:00
ac12d4cda3 Add migration to create Favorites table 2022-02-27 19:03:21 -08:00
438fc7294d Add custom errors 2022-02-27 19:03:04 -08:00
3841c4f76c
Merge pull request #4 from jedmund/discover
Discover Teams
2022-02-27 00:34:08 -08:00
4907f7c584 Properly implement filtering 2022-02-27 00:33:00 -08:00
0c405d7f5a Add user object to JSON templates
instead of just user id
2022-02-27 00:32:50 -08:00
af8b9d3570 Implement filterable endpoint for all parties 2022-02-26 20:57:24 -08:00
2a40abf08f Save the party's element when the mainhand is changed 2022-02-26 20:47:09 -08:00
f5a4afc01d Begrudgingly adding an element field to parties
Also added it in the JSON template
2022-02-26 20:44:16 -08:00
3f979f6d62 Add endpoint for getting all parties
No filters yet
2022-02-26 19:29:19 -08:00
6f0dd42cc8 Add route for all parties 2022-02-26 19:27:49 -08:00
47d5de057c Remove ap call 2022-02-26 18:40:32 -08:00
a04a1cb5c8 Fix bug with wrong key when creating party 2022-02-26 18:25:54 -08:00
5338e83be3 Add timestamps to party json output 2022-02-26 17:45:17 -08:00
58173606ed
Merge pull request #3 from jedmund/team-details
Add the ability to add details to teams
2022-02-26 16:00:03 -08:00
5dd25e1953 Add element to raid json template 2022-02-26 15:59:41 -08:00
49c8f55b6c Add element to raids for sorting and fix raid id 2022-02-26 15:59:33 -08:00
374e294a33 Change permitted param for extra toggle 2022-02-23 19:22:42 -08:00
09a009ccfb Add team details to all existing templates 2022-02-23 19:04:54 -08:00
edf489ce31 Add route to get all raids 2022-02-23 19:04:34 -08:00
3cb18aa8ef Add group to raids
This is so that we can group them easier on the front end instead of receiving a long list
2022-02-23 19:04:12 -08:00
ace4fb8568 Permit detail attributes and update all attributes instead of just extra 2022-02-23 18:11:19 -08:00
bb736ce084 Add Raid model and add Parties as belonging to Raids 2022-02-23 18:11:03 -08:00
6175c909ee Add new fields to parties table and raids table 2022-02-23 18:00:12 -08:00
29c3415df2 Don't allow destroy if owner is not current user 2022-02-23 16:34:36 -08:00
53e6e8bd39 Add destroy dependencies to models 2022-02-23 16:31:01 -08:00
18049385ce Add destroy implementation and json template 2022-02-23 16:30:52 -08:00
00be912c31 Fix whitespace 2022-02-23 16:30:38 -08:00
e5ef3dc528 Update schema.rb 2022-02-23 16:30:27 -08:00
8362fcf770 Refactor how GridCharacters are saved 2022-02-23 13:49:40 -08:00
bc5d127ce7 Change unique canonical keys to generic object key 2022-02-23 13:49:27 -08:00
15b72c43c6 GridCharacter wasn't using UUID keys for some reason 2022-02-23 13:49:09 -08:00
9d4706b741 Add route for updating parties 2022-02-04 14:47:47 -08:00
818a756f28 Removed max_level
Somehow my ULB column became max_level at some point, all fixed now
2022-02-04 02:10:39 -08:00
3eeb013126 Add ULB to Characters
How was this not here???
2022-02-04 01:26:00 -08:00
c07c2cc2b5 Remove stray log 2022-02-04 01:10:54 -08:00
db2dd635ae Create favicon.ico 2022-02-04 01:10:02 -08:00