Commit graph

502 commits

Author SHA1 Message Date
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
309961e5b0
Merge pull request #8 from jedmund/i18n
i18n support
2022-03-06 02:16:55 -08:00
6d3bf693d2 Delete 20220305015755_rename_templates_to_ja.rb 2022-03-06 02:16:46 -08:00
b62465539e All canonical objects return "ja" instead of "jp" now 2022-03-04 17:59:05 -08:00
1c08d64b55 Fix grid_weapon not being able to be created 2022-03-04 14:54:36 -08:00
376c286a77
Merge pull request #7 from jedmund/account-settings
Added support for account settings
2022-03-04 05:33:24 -08:00
9fd1c33296 Add routes for User 2022-03-04 05:14:46 -08:00
49e4a02150 Add update and info method on User 2022-03-04 05:14:36 -08:00
b5ba7725d2 Add picture node to user template 2022-03-04 03:57:35 -08:00
e7099b2d34 Add element to user
The bg color for pictures
2022-03-04 03:56:20 -08:00
5e2a28c340 Add new fields to json template 2022-03-04 01:33:48 -08:00
840dbeb697 Update field nullable and default value 2022-03-04 01:33:39 -08:00
c78a28c676 Add new fields to user object 2022-03-04 01:17:04 -08:00
b7500617e3 Trying to fix DoubleRenderError 2022-03-03 17:10:03 -08:00
4b57267386
Merge pull request #6 from jedmund/weapon-mods
Add ability to add weapon modifications to grid weapons
2022-03-03 16:41:46 -08:00
1b28de1bda Add order to WeaponKey
There is a specific order for keys in game, so we want to mirror that.
2022-03-03 01:31:04 -08:00
92ef43abcd Add a rudimentary update method
We still need to do server-side validation since a lot of things can go wrong here if users get cheeky
2022-03-03 00:22:11 -08:00
5ef04f9d13 Make GridWeapon/WeaponKey association optional
Otherwise, we can't save a record without weapon keys, which is not ideal
2022-03-03 00:17:47 -08:00
4892153f87 Add route for updating grid weapons 2022-03-03 00:17:22 -08:00
0ee5fc765c Update weapon key method to have conditions
We never want all keys, only ever a subset for the weapon we're currently working on
2022-03-02 14:39:44 -08:00
0f72a24e0c Add weapon keys route 2022-03-02 14:39:25 -08:00
cb4ff0e1f2 Add rendering for all the new stuff 2022-03-01 23:33:53 -08:00
45c4cc5af6 Create weapon_keys_controller.rb 2022-03-01 23:33:28 -08:00
82a6b0d598 Add WeaponKey associations to GridWeapon 2022-03-01 23:33:21 -08:00
e7e0cd790b Add cols for supporting Granblue weapon mechanics
Added:
- Weapon Key 3
- AX Modifier and Strength
- Perpetuity (on Characters)
- Slot and Group on WeaponKeys
2022-03-01 23:19:28 -08:00
c7d53d4ffd Remove print log 2022-03-01 12:51:11 -08:00
d5ed98f0cf Implement filters on profiles 2022-03-01 02:19:44 -08:00
96adcc9540 Don't run set_from_slug before destroying parties
This caused a 500 that caused parties to be unable to deleted
2022-02-28 16:55:42 -08:00
d09036348d
Merge pull request #5 from jedmund/saving
Implement the ability to save your favorite grids
2022-02-28 01:04:21 -08:00
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