Commit Graph

426 Commits

Author SHA1 Message Date
Matt Isenhower
b3f39bfdce Fix a potential issue with Salmon Run mystery weapons
I'm not sure how mystery weapons will appear with the new JSON format, but this should prevent issues in case the base weapon object is set to null.
2018-06-14 08:58:10 -07:00
Matt Isenhower
452fb89e00 Update Salmon Run weapons for new JSON format 2018-06-14 08:56:29 -07:00
Matt Isenhower
ad70899e8e Move iCal code to the main updater and add Splatfest calendar files 2018-06-07 13:59:04 -07:00
Matt Isenhower
0275c83c22 Merge remote-tracking branch 'ticky/icalendar-schedules' 2018-06-07 11:28:29 -07:00
Matt Isenhower
73c0670907 Update original gear data from Inkipedia (again) 2018-06-07 11:26:30 -07:00
Matt Isenhower
c1bc1b4bea Update original gear data from Inkipedia 2018-05-03 09:40:57 -07:00
Matt Isenhower
cef292c424 Fix Splatfest result display with new precision
Splatfest result values are now reported with two decimal points. A value of "5427" means 54.27%.
2018-04-24 19:36:30 -07:00
Matt Isenhower
c8710b2baa Revert "Temporary: Use smaller weapon boxes for the announcement of 4 new weapons"
This reverts commit 4684e8d940.
2018-04-24 19:30:30 -07:00
Matt Isenhower
4684e8d940 Temporary: Use smaller weapon boxes for the announcement of 4 new weapons 2018-04-24 19:24:20 -07:00
Jessica Stokes
a9e15b596b
Add functionality to export co-op schedules in iCalendar format 2018-04-04 18:15:54 -07:00
Matt Isenhower
7a6d44a854 Fix JSON character encoding header
Fixes #13.
2018-03-23 11:20:59 -07:00
Matt Isenhower
85d4ff6afe Add a permissive CORS header on the assets directory 2018-03-20 12:07:58 -07:00
Matt Isenhower
2cb9eb62c9 Add a SplatNet updater command to the Shipit file 2018-03-13 09:33:48 -07:00
Matt Isenhower
3f1ca22eaf Fix Chicken vs. Egg Splatfest images 2018-03-13 09:31:51 -07:00
Matt Isenhower
19bc5081d7 Modify Splatfest tweets to better handle multi-region Splatfests
I had previously updated this to handle global Splatfests, but the current Splatfest is only in NA/EU (and not JP) so it wasn't detected with the previous code.
2018-03-09 18:40:16 -08:00
Matt Isenhower
712dac874f Fix a bug with the short time format 2018-03-04 19:32:38 -08:00
Matt Isenhower
0025c5b319 Change Salmon Run tweet wording when the rotation includes mystery weapons 2018-03-02 18:52:12 -08:00
Matt Isenhower
b14ded81b8 Update wording on "new stage" tweets 2018-03-02 18:47:58 -08:00
Matt Isenhower
783b2ed7b4 Display a message in the "previous Splatfests" dialog when results aren't available yet 2018-03-02 18:46:49 -08:00
Matt Isenhower
f62f20f08f Improve German translations
Closes #12.
2018-03-02 18:45:33 -08:00
Matt Isenhower
57a65b77a7 Use short Splatfest team names on mobile 2018-02-04 11:48:26 -08:00
Matt Isenhower
fecded07d6 Splatfest box: Fix an issue with the team name labels when displaying results
Bulma adds a margin on .columns:not(:last-child).
2018-02-04 11:48:11 -08:00
Matt Isenhower
d3e464e7cd Include the team names in the Splatfest announcement tweet 2018-02-04 11:39:15 -08:00
Matt Isenhower
79dd022159 Use the long name for Splatfest teams 2018-02-04 11:35:05 -08:00
Matt Isenhower
1249643445 Splatfest history dialog: scroll to the top when changing regions 2018-02-03 11:53:56 -08:00
Matt Isenhower
3f9d65f308 Fix a mistake 2018-02-03 11:53:35 -08:00
Matt Isenhower
8a22193bda Add Splatfest history dialog
Closes #11.
2018-02-03 10:44:40 -08:00
Matt Isenhower
4fe925752f Add some padding around the name of Salmon Run gear 2018-02-01 09:02:07 -08:00
Matt Isenhower
c502fb95c3 Add Shipit config 2018-01-30 17:11:53 -08:00
Matt Isenhower
2f0cfcfb8e Re-enable the blur on the Splatfest image when showing results
The Chrome bug in issue #6 appears to be fixed now.
This reverts commit 0b2ea67dac.
This also disables the blur in screenshot mode.
Closes #6.
2018-01-30 17:00:10 -08:00
Matt Isenhower
6086f2c1f3 Show Splatfest results for 3 days (instead of just 2) 2018-01-30 16:51:19 -08:00
Matt Isenhower
cb6faef647 Fix issues with missing Splatfest vote/win numbers
Unfortunately, Nintendo has removed this data from SplatNet. I'm leaving this in here for now though in case it comes back.
2018-01-30 16:50:18 -08:00
Matt Isenhower
83fed268e2 Revert "Force cache busting on the Splatfest image"
This reverts commit 8b0c1641f4.
The relevant issue was fixed a while ago so we don't need this anymore.
2018-01-24 08:45:09 -08:00
Matt Isenhower
479bf4cfba Fix an issue where some gear displayed the wrong name
The "Annaki Blue Cuff" and "Moist Ghillie Helmet" both share the same ID (7010), but they are of different kinds. I didn't realize gear of different kinds could share the same ID, so the localization code didn't take this into account.
This change also makes the localization code work with multi-part IDs.
2018-01-12 16:26:43 -08:00
Matt Isenhower
da59394901 Update original gear data 2018-01-12 11:25:44 -08:00
Matt Isenhower
2bfc784a84 Improve tweets for global Splatfests 2018-01-12 11:17:59 -08:00
Matt Isenhower
3bd1e688f1 Tweak wording on the "new stage" tweet 2018-01-12 11:17:53 -08:00
Matt Isenhower
12fc03f55e Tweak wording in "new weapon" tweet 2018-01-07 12:07:31 -08:00
Matt Isenhower
f0ebdb8db1 Add some more German translations
#9
2017-12-13 10:54:36 -08:00
Matt Isenhower
9105888ea2 Localize "original gear" text 2017-12-12 18:18:47 -08:00
Matt Isenhower
0069ed622c Add German translations (provided by GitHub user lolametro)
#9
2017-12-12 18:16:22 -08:00
Matt Isenhower
2f4947690c Continue trying other requests even if one fails 2017-12-12 18:12:56 -08:00
Matt Isenhower
31470f5cc1 Add monthly Salmon Run gear tweet
Closes #7.
2017-12-10 17:43:51 -08:00
Matt Isenhower
a9d46c1600 Add total number of votes/wins for each team in the Splatfest results 2017-12-10 17:16:48 -08:00
Matt Isenhower
9c92314a36 Simplify Splatfest winner determination
We don't actually need to calculate this because it's included in the data retrieved from SplatNet.
This also renames the "splatfest.results.votes" translation key to make it consistent with the other keys.
2017-12-10 17:06:45 -08:00
Matt Isenhower
146dad3554 Add a shadow to the winner marks in the Splatfest results 2017-12-10 16:53:27 -08:00
Matt Isenhower
c430074885 Add winner info to the Splatfest results tweet 2017-12-09 13:19:31 -08:00
Matt Isenhower
d0c8a41400 Simplify the Splatfest results box HTML and display the winner name 2017-12-09 12:48:40 -08:00
Matt Isenhower
8b0c1641f4 Force cache busting on the Splatfest image
There was an issue with the NA Splatfest image download, adding this in for now just to make sure nobody has a cached version of the old one.
2017-12-09 09:31:27 -08:00
Matt Isenhower
cb11dbfda1 Fix issues that prevented the Splatfest images from downloading
It was trying to encode the images as JSON and errors were being discarded silently.
2017-12-09 09:21:25 -08:00