Commit graph

273 commits

Author SHA1 Message Date
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
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
5dd25e1953 Add element to raid json template 2022-02-26 15:59:41 -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
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
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
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
9d4706b741 Add route for updating parties 2022-02-04 14:47:47 -08:00
c07c2cc2b5 Remove stray log 2022-02-04 01:10:54 -08:00
5ea9f367c1 Add routes to pull data for individual objects in a party 2022-02-04 01:00:30 -08:00
ea0ca460f5 Expose ULB for characters 2022-02-01 17:20:47 -08:00
5bbeed54ea Add special field for non-standard story SR characters 2022-02-01 17:08:46 -08:00
3f2f1cd836 Allow id param and fix typos 2022-02-01 16:48:02 -08:00
4633f0e531 Expose uncap_level in GridObject templates 2022-02-01 03:29:37 -08:00
66f281714b Add routes for updating the uncap level of an object 2022-02-01 03:28:57 -08:00
659abae07a Refactor Portal 2022-01-29 18:02:09 -08:00
75702ac4d2 Add exclusion for characters 2022-01-25 17:02:08 -08:00
e95baf7ee6 Add extra slots to Parties 2022-01-25 17:00:26 -08:00
00476ec86c Add display_resource to models 2022-01-25 16:56:09 -08:00
56f166d816 Remove case_sensitive validator from User
This was removed in Rails 6.1
2021-10-27 09:43:15 -07:00
201a5f4157 Add characters to Party model and template 2020-10-19 05:10:32 -07:00
ba22aad8d3 Fix a typo 2020-10-19 04:05:19 -07:00
55537d995e Add search template for Characters 2020-10-19 03:58:36 -07:00
be6a05124a Add search for Characters 2020-10-19 03:57:07 -07:00
4bf7249d41 Add models, controllers and templates for Character objects 2020-10-19 03:55:53 -07:00
b44b8e9b70 Update Party model to have summons 2020-10-18 22:25:17 -07:00
0117f0e629 Add weapons template 2020-10-18 22:24:59 -07:00
cf36fa9ffa Add search 2020-10-18 22:24:50 -07:00
132f676e2a Add Summon and GridSummons model and controllers 2020-10-18 22:24:28 -07:00
4e3c628c8d Update api_controller.rb 2020-09-26 10:51:17 -07:00
b08d851341 Store user id from access token 2020-09-26 10:51:14 -07:00
5d5a09f552 Fix saving weapons to parties 2020-09-26 10:51:03 -07:00
e97afb72bc Update users_controller.rb 2020-09-25 17:57:32 -07:00
71a0a090ba Add route for viewing a profile 2020-09-25 14:59:50 -07:00
10cca8e4b0 Update api_controller.rb 2020-09-25 10:56:08 -07:00
0861968e16 Update templates 2020-09-25 10:56:04 -07:00
975dd39ec8 Update parties_controller.rb
Finding parties based on shortcode, and saving parties with user ID where available
2020-09-25 10:55:13 -07:00
cb499a68ac Add validations and hooks to User model 2020-09-25 10:54:08 -07:00
12a98d4abd Update UsersController
Adds registration, check_email, and check_username methods
2020-09-25 10:53:56 -07:00
c78af47582 Add validation error serializers 2020-09-25 10:51:08 -07:00
2def96352f Add custom TokensController for login 2020-09-25 10:42:34 -07:00
00d9e7f5f6 Add 404 template 2020-09-19 12:46:29 -07:00
071f6b4664 Controllers should inherit from ApiController 2020-09-19 12:46:24 -07:00
64073bdae8 Limit weapon search to 10 at once 2020-09-18 07:16:04 -07:00
39490461bd Use the correct partial for weapons 2020-09-18 07:15:55 -07:00
35551be964 Update show.json.rabl 2020-09-18 06:49:13 -07:00
e2e83b246c Move templates 2020-09-18 06:47:52 -07:00
2164c10ab1 Move route from party to parties 2020-09-18 06:43:49 -07:00
fb34e8e292 Updating templates 2020-09-16 23:49:25 -07:00
529e78e098 Fix the set to only pull one party 2020-09-16 23:49:16 -07:00
80ca5b8fd0 Find the weapon associated with a GridWeapon
because associations are hard and dumb
2020-09-16 23:48:57 -07:00
8655343382 Fix association 2020-09-16 23:48:10 -07:00
bdb597d95e Delete base.json.rabl 2020-09-16 03:43:43 -07:00
68a29f4941 Add templates 2020-09-16 03:43:39 -07:00
25ba612742 Add associations to Party 2020-09-16 03:43:30 -07:00
a53d350c8f Add association to GridWeapon 2020-09-16 03:43:21 -07:00
993fc30f91 Add GridWeaponsController 2020-09-16 03:43:08 -07:00
aa7820dd22 Add PartiesController 2020-09-16 03:42:12 -07:00
f3b2416919 Rename parties.rb to party.rb 2020-09-16 03:26:54 -07:00
f616fe23db Restart on Rails 2020-09-14 18:30:54 -07:00