Commit Graph

138 Commits

Author SHA1 Message Date
Unknown
74f0f0aaef Add original gear ability/price to SplatNet tweets 2017-10-15 14:17:42 -07:00
Unknown
5d6c5b45bb Show the original ability/price for SplatNet gear
Data is sourced from Inkipedia.
2017-10-15 14:08:43 -07:00
Unknown
d389708bfa Fix a mistake that caused an empty "new weapon" tweet 2017-10-13 20:55:11 -07:00
Unknown
add1768470 Update "new weapon" twitter screenshot title 2017-10-13 13:30:00 -07:00
Unknown
214d489943 Display all new weapons instead of just the first one
This also updates the Twitter message to show the names of all new weapons.
2017-10-13 13:19:52 -07:00
Unknown
5c95be6dca Add "new weapon" tweet 2017-10-10 09:32:01 -07:00
Unknown
95a38d7462 Clean up screenshot components, use props instead of accessing route parameters 2017-10-10 09:01:13 -07:00
Unknown
b0eb218d11 Swap the order of the region dropdown and the SplatNet Gear button
This keeps the SplatNet Gear button in the same place regardless of whether the region dropdown is visible.
2017-10-06 22:05:08 -07:00
Unknown
0fed5c80cb Show new weapons when available
I might need to tweak this to display more than one weapon, or to hide the weapon after some period of time.
2017-10-06 22:03:53 -07:00
Unknown
b72e05a0d6 Update JS dependencies 2017-10-06 22:01:53 -07:00
Matt Isenhower
f9ad4ecdcf Remove #splatoon2 hashtag
More attempts to reduce what Twitter sees as spam. Removing the links from each Tweet helped briefly, but the bot is now being excluded again.
2017-10-01 10:00:39 -07:00
Matt Isenhower
64d17dff4a Remove links from each tweet
Twitter stopped displaying the bot's tweets in search results, possibly because it triggered some spam protection. Removing the links from each tweet for now to hopefully help deal with this.
2017-09-28 11:13:52 -07:00
Matt Isenhower
087e7dca36 Reverse the order of SplatNet gear for Twitter posts
This should make the display order a little more clear (going from newest to oldest left to right, top to bottom).
2017-09-28 10:43:17 -07:00
Matt Isenhower
aa88ea100e Fix some mistakes and display UTC as 24-hour time 2017-09-26 17:15:01 -07:00
Matt Isenhower
ecfeb9ff87 Simplify the time dropdown since Salmon Run schedules only start at 0/6 AM/PM UTC 2017-09-26 17:04:54 -07:00
Matt Isenhower
c978a800f1 Reformat the bottom bar on the Twitter images
This also now uses Moment to format the dates/times for different regions. Moment handles things like Daylight Saving Time (for regions other than the current browser region) more reliably.
2017-09-26 16:57:07 -07:00
Matt Isenhower
0e7b301944 Add some screenshot test helpers 2017-09-26 15:33:36 -07:00
Matt Isenhower
563b7864f9 Twitter: Display Salmon Run duration in hours 2017-09-21 14:44:43 -07:00
Matt Isenhower
ac763a5c54 Twitter: Add rule name to each schedule box 2017-09-21 14:42:46 -07:00
Matt Isenhower
3c3f7ea2c6 Add Twitter link to the footer 2017-09-20 20:37:41 -07:00
Matt Isenhower
56f0a9c9d9 Update tweet format 2017-09-20 15:26:11 -07:00
Matt Isenhower
9a063798f2 Add Salmon Run tweets 2017-09-20 15:21:13 -07:00
Matt Isenhower
6ecd3ea983 Fix a mistake 2017-09-20 15:16:44 -07:00
Matt Isenhower
83a56196f7 Add SplatNet gear tweets 2017-09-20 14:27:28 -07:00
Matt Isenhower
3b586db65a Log a message to the console after posting a tweet 2017-09-20 13:22:52 -07:00
Matt Isenhower
c50aea150c Move the SplatNet user agent string to .env
This way, if someone else uses the library it won't be attributed to splatoon2.ink.
2017-09-20 12:10:00 -07:00
Matt Isenhower
d2988f06ce Enable automatic Twitter posts for map schedules 2017-09-20 12:05:29 -07:00
Matt Isenhower
01a5b98a2b Update the Docker config to support headless Chrome 2017-09-20 11:06:32 -07:00
Matt Isenhower
3daa26d1fc Add page screenshot generator
This adds a new, separate page used for generating screenshots. Currently this page only supports displaying the regular/ranked/leagued schedules.
These screenshots will be used for images in automated Twitter posts.
2017-09-20 10:43:10 -07:00
Matt Isenhower
a5be068ac6 Update description tag 2017-09-17 11:31:35 -07:00
Matt Isenhower
ab5c5bf159 Add user agent string for SplatNet requests 2017-09-15 10:16:13 -07:00
Matt Isenhower
22e3a1641f Add Salmon Run "mystery weapon"
https://twitter.com/SplatoonJP/status/907893421146226688
2017-09-13 10:00:17 -07:00
Matt Isenhower
3ea939c3ce Make it easier to add Salmon Run dates 2017-09-12 16:55:00 -07:00
Matt Isenhower
07bfdc9acf Clean up and simplify the Salmon Run admin dialog 2017-09-12 13:55:55 -07:00
Matt Isenhower
a0f7826dd3 Some fixes to allow for partial Splatfest data
This is mostly for manually-entered JP/EU Splatfests.
2017-09-02 10:03:15 -07:00
Matt Isenhower
7667ced0fc Improve appearance of Salmon Run stages/weapons 2017-09-01 21:23:43 -07:00
Matt Isenhower
2345661768 Give some extra time for league battle results to come in
This should fix some 404 errors when retrieving this data on the cron schedule.
2017-09-01 17:05:11 -07:00
Matt Isenhower
d8c4368eb4 Add Salmon Run map/weapon data display 2017-09-01 14:25:36 -07:00
Matt Isenhower
891f7f8140 Add hidden Salmon Run admin dialog
This is just a helper for building the Salmon Run data JSON file, the contents still have to be stored on the server manually. I might build an actual back end and move this somewhere else eventually.
2017-09-01 14:22:18 -07:00
Matt Isenhower
88d591a584 Enable merging in additional data for the Salmon Run schedule
This will enable adding map/weapon data and additional schedules.
2017-09-01 14:16:40 -07:00
Matt Isenhower
920ee6bd04 Fix a mistake, this was moved elsewhere 2017-09-01 12:52:15 -07:00
Matt Isenhower
b9abcaf67c Retrieve weapon data from SplatNet
This will be used for
2017-09-01 10:11:14 -07:00
Matt Isenhower
1e2b865f1c Reorganize region detection and save the selected region in localStorage 2017-08-28 17:03:22 -07:00
Matt Isenhower
4520e85dbc Add EU and JP Splatfest regions
These have to be entered manually for now since data from the SplatNet API is restricted to the region you purchased the game from.
2017-08-28 16:28:02 -07:00
Matt Isenhower
721df0d774 Add common gear ability when hovering over merchandise boxes 2017-08-28 12:55:34 -07:00
Matt Isenhower
2161ded21c Hide seconds countdown for upcoming Salmon Run times
This saves some space, especially when the Splatfest box appears next to it on smaller screens.
2017-08-25 23:16:46 -07:00
Matt Isenhower
9568b6b2c3 Fix a mistake
This shouldn't ever be needed, but just in case.
2017-08-25 23:13:02 -07:00
Matt Isenhower
bf9db79a40 Add the word "upcoming" to the Splatfest title 2017-08-25 23:12:01 -07:00
Matt Isenhower
a93c6d5f16 Fix a mistake where switching to "global" would hide the region dropdown 2017-08-25 23:10:46 -07:00
Matt Isenhower
c055ce04c1 Add some simple GA activity tracking 2017-08-24 14:12:23 -07:00