419 Commits

Author SHA1 Message Date
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
Matt Isenhower
aca5fa1023 Fix CSS purification for SplatNet gear bars 2017-08-24 12:42:16 -07:00
Matt Isenhower
94bbae9ffa Hide the region dropdown when there aren't any active festivals
There isn't really any point in showing this dropdown unless a festival is active since that's the only regional difference.
This also moves the "SplatNet Gear" button to the right side of the screen.
2017-08-24 12:29:17 -07:00
Matt Isenhower
f2a26dd79f Add SplatNet merchandise 2017-08-24 12:19:35 -07:00
Matt Isenhower
fbaf780986 Close the stage image modal when the image is clicked 2017-08-24 09:54:03 -07:00
Matt Isenhower
288bdbe7b0 Add Google Analytics
This change also disables automatic script/style injection in the HTML Webpack Plugin so we can maintain control over script order.
2017-08-20 11:51:27 -07:00
Matt Isenhower
4c93e3f573 Enable error overlay with the webpack dev server 2017-08-20 11:36:57 -07:00
Matt Isenhower
869d0b605d Extract CSS from Vue comonents into the main stylesheet file 2017-08-18 08:54:56 -07:00
Matt Isenhower
30d5625aa6 Close the topmost modal when pressing escape 2017-08-16 20:53:36 -07:00
Matt Isenhower
bc70952901 Add larger stage images
These are displayed in the modal popup when you click on each stage.
2017-08-16 20:47:07 -07:00
Matt Isenhower
274b227297 Fix specificity 2017-08-16 20:31:26 -07:00
Matt Isenhower
272a2fc9c3 Switch to locally-hosted stage images
The updater now downloads stage images when updating data from SplatNet. This way, users' browsers will no longer request images from the Nintendo servers.
2017-08-16 14:28:29 -07:00
Matt Isenhower
0f1509a070 Switch to the official Node.js Docker image
The official image already contains Yarn and everything we need so there's no need for a custom image.
2017-08-16 13:22:01 -07:00
Matt Isenhower
87c648b785 Restructure data updater 2017-08-16 13:07:16 -07:00
Matt Isenhower
f24262a026 Fix an issue when a Sentry DSN isn't set
We can still set it up without a DSN, it'll just disable error reporting. Without running config(), calling raven.captureException() will throw its own exception.
2017-08-16 12:55:02 -07:00
Matt Isenhower
f44c17e54b Clarify cron run time 2017-08-15 17:41:39 -07:00
Matt Isenhower
102cf4ef4d Fix CSS purification paths
This only seemed to cause issues when building inside of Docker.
2017-08-15 17:11:38 -07:00
Matt Isenhower
20981f8a65 Add link to GitHub on the About dialog 2017-08-15 16:58:24 -07:00
Matt Isenhower
281bde13e3 Move schedule dialog into a separate component 2017-08-15 16:50:29 -07:00
Matt Isenhower
b117b099ca Use CSS autoprefixer 2017-08-15 16:50:29 -07:00