Commit Graph
100 Commits
Author SHA1 Message Date
Andrew Miner 6fa71233b8 Update author for Iron Chests #119 2015-03-26 19:03:14 -07:00
Andrew Miner 0de93f9e63 Update README.md 2015-03-26 18:51:41 -07:00
Andrew Miner 321cffcdcc Add unit tests to verify data integrity 2015-03-25 19:11:19 -07:00
Andrew Miner 351d84178d Use NPM published version of common module 2015-03-25 16:12:50 -07:00
Andrew Miner f015bcb9ac Update README.md 2015-03-25 15:47:10 -07:00
Andrew Miner 74c292eef9 Merge branch 'master' of github.com-andrewminer:andrewminer/crafting-guide 2015-03-25 15:14:26 -07:00
Andrew Miner d75ee61fbe Update package.json to properly specify deps
Update the `package.json` file to properly specify the dependency on
`crafting-guide-common` by referring to it's GitHub repository. This
should allow someone working on this package to have NPM donwload it
like anything else (including CircleCI).

Also change the `link-deps` Grunt command to `use-local-deps` and
make it remove the NPM-downloaded version and replace it with a
symlink to a local copy.
2015-03-25 15:12:37 -07:00
Andrew Miner 6c88d5a2ed Add CircleCI status badge 2015-03-25 14:51:03 -07:00
Andrew Miner f720df974b Update package.json to use proper test command 2015-03-25 14:49:19 -07:00
Andrew Miner 873434e938 Refactoring tests and moving code to common module
1. All tests have been converted into regular command-line mocha
   tests (instead of running in the browser), and the deployment
   script has been changed to automatically fail any `--new`
   deployment which doesn't pass.
2. Several small class (e.g., `Logger`) have been moved into a common
   module, `crafting-guide-common` so that they may be shared between
   the client and server.
2015-03-25 14:42:15 -07:00
Andrew Miner c7322ccf83 Fix issues with Google Adsense 2015-03-24 19:50:39 -07:00
Andrew Miner abaf617079 Add a tutorial for Iron Chests 2015-03-24 19:09:29 -07:00
Andrew Miner 9a4860a0e5 Update "What's New?" section for Iron Chests 2015-03-24 19:05:36 -07:00
Andrew Miner d964047974 Update markdown processing to handle more cases 2015-03-24 19:05:13 -07:00
Andrew Miner 4a45be71f9 Add Iron Chests mod 2015-03-24 17:14:11 -07:00
Andrew Miner 96ddd1bd4d Update markdown parsing to allow wiki links
Any link inside a item detail page's markdown description which does
not have a URL will be assumed to be the name of an item covered by
Crafting Guide and an URL will be added to reference the appropiate
browse page.
2015-03-24 17:12:25 -07:00
Andrew Miner 492d6854ac Update the "What's New?" section 2015-03-24 08:57:39 -07:00
Andrew Miner dd9645ef38 Add JABBA 2015-03-24 08:53:41 -07:00
Andrew Miner fac8139a19 Update description for BC 2015-03-23 01:03:02 -07:00
Andrew Miner 7c99f77639 Fix more animation bugs 2015-03-22 09:22:41 -07:00
Andrew Miner 40efc8ccc9 Fix various small issues from animation changes 2015-03-21 19:48:18 -07:00
Andrew Miner d0d0f65233 Update "What's new?" section 2015-03-21 19:04:46 -07:00
Andrew Miner 9956e64af0 Replace jQuery animations with CSS animations 2015-03-21 19:00:46 -07:00
Andrew Miner 3d0908c421 Fix recipe for 200mB Energized Glowstone 2015-03-20 20:02:54 -07:00
Andrew Miner 0a797df95b Remove debug logging 2015-03-20 19:54:35 -07:00
Andrew Miner b18e2e8c08 Fix sort order problem for mods 2015-03-20 19:51:55 -07:00
Andrew Miner 14cee92883 Merge branch 'andrewminer-tutorial-pages' into andrewminer-thermal-dynamics 2015-03-20 19:21:25 -07:00
Andrew Miner 5f9f28eecb Add ThermalDynamics 2015-03-20 19:21:10 -07:00
Andrew Miner ac120e81ee Fix minor error in Gates, Chips and Wires tutorial 2015-03-20 16:01:01 -07:00
Andrew Miner dc68615bb3 Add tutorials to sitemap & prerender 2015-03-20 14:12:56 -07:00
Andrew Miner b34d6ef483 Improve Gates, Wires, and Chips tutorial for BC 2015-03-20 14:05:34 -07:00
Andrew Miner 2faf4bfe7f Add videos section to tutorial page 2015-03-20 14:05:21 -07:00
Andrew Miner e58cc28815 Fix bug in here-doc parsing
When a here-doc contains an empty line, any whitespace it contains
should be ignored for purposes of determining the amount of leading
whitespace to trim from each line.
2015-03-20 14:02:58 -07:00
Andrew Miner 89a7f7a9d3 Initial implementation of tutorial pages 2015-03-20 12:22:01 -07:00
Andrew Miner ee5ff2b578 Correct recipe for Iron AND/OR Gates 2015-03-18 19:35:07 -07:00
Andrew Miner e7723b9452 Fix reinforced obsidian recipe 2015-03-18 17:16:32 -07:00
Andrew Miner b10fe74ba5 Update "What's New?" section 2015-03-13 22:18:06 -07:00
Andrew Miner 08eba99413 Don't show recipes for similarly name items
On item detail pages for items where multiple mods add an item of the
same name, recipes for both items would incorrectly be displayed.
2015-03-13 22:09:12 -07:00
Andrew Miner c9ab80e7ab Add BigReactors 0.4.2A2 2015-03-13 21:52:55 -07:00
Andrew Miner 8894124520 Don't show pass-through recipes
A pass-through recipe is one which requires an item as input which is
carried through to the output (e.g., using a Golden Railway Ticket to
create a regular Railway Ticket in Railcraft). As these aren't really
recipes, they should not be listed as such in the item detail page.
2015-03-13 19:06:33 -07:00
Andrew Miner 1333132cd8 Remove extraneous debug logging 2015-03-13 19:06:06 -07:00
Andrew Miner 57342bfbfa Don't show empty item detail page for disabled mod
When a mod is disabled, a naïve search for the item will yield an
empty set. Instead, ignore whether a mod is disabled when looking for
the principle item for a given page.
2015-03-13 18:32:16 -07:00
Andrew Miner 9ef8480da8 Add item descriptions for some BuildCraft items 2015-03-13 18:21:54 -07:00
Andrew Miner a7859087d7 Update home page "What's New" message 2015-03-12 22:42:02 -07:00
Andrew Miner 0525f49008 Show official URL on item detail page 2015-03-12 22:33:42 -07:00
Andrew Miner 9ac8593ba3 Add ability to display videos in item pages 2015-03-12 21:54:06 -07:00
Andrew Miner fa916117b6 Update "What's new?" text 2015-03-12 19:36:42 -07:00
Andrew Miner 48e2ae841d Regenerate prerendered pages for Forestry 2015-03-12 19:24:55 -07:00
Andrew Miner eb0d487188 Fix a last few remaining issues 2015-03-12 16:46:02 -07:00
Andrew Miner d4be16033b Fix several small errors in the Forestry data 2015-03-11 22:37:02 -07:00
Andrew Miner 53c08eab80 Update reformat script for project dir. changes 2015-03-11 22:37:02 -07:00
Andrew Miner a16ad26814 Convert Forestry data into new format 2015-03-11 22:37:01 -07:00
Andrew Miner c22b352345 Add script to restructure mod images 2015-03-11 22:37:00 -07:00
Andrew Miner 5576a5e6a1 A few more Forestry fixes 2015-03-11 22:37:00 -07:00
Andrew Miner 757e9a0857 Minor adjustments to Forestry data 2015-03-11 22:36:59 -07:00
Andrew Miner 35e3712783 Bug: Make sure mod recipes for MC items show up
This fixes a regression where recipes for vanilla Minecraft items
(e.g., Iron Ingot) added by mods (e.g., Pulverized Iron to Iron
Ingot) didn't show up on that item's detail page.
2015-03-11 22:17:17 -07:00
Andrew Miner b9ced9b3d1 Fix default versions 2015-03-11 19:25:38 -07:00
Andrew Miner 7c564ad135 Fix error in Gruntfile 2015-03-11 08:39:38 -07:00
Andrew Miner 1cd788586a Allow adsense/addthis in staging 2015-03-11 08:39:22 -07:00
Andrew Miner 556c15cd2b Refresh index.html w/o Adsense and AddThis 2015-03-11 08:35:30 -07:00
Andrew Miner 6db25d7a77 Don't show AddThis in non-prod envs 2015-03-10 23:14:06 -07:00
Andrew Miner 50c3d95440 Only load Adsense in prod. and reset on each page 2015-03-10 21:34:41 -07:00
Andrew Miner ee75415729 Allow each mod to have a default version
When a visitor arrives at the site for the first time, this will
ensure they have a certain set of mods on/off. Right now, that means
IC2-Classic is off by default, and everything else is on.
2015-03-10 09:57:23 -07:00
Andrew Miner b1cfe9221e Merge branch 'andrewminer-item-detail-file' 2015-03-10 08:47:34 -07:00
Andrew Miner a2a474fb51 Update IC2 key to use existing key 2015-03-10 08:37:35 -07:00
Andrew Miner 544bbf7784 Remove --clean & add --only options 2015-03-10 08:36:57 -07:00
Andrew Miner 240c35233c Refresh pre-rendered pages 2015-03-10 08:35:13 -07:00
Andrew Miner 8a012ca811 Add update message 2015-03-09 08:39:35 -07:00
Andrew Miner fcf687c70d Regenerate pre-rendered HTML pages for /browse 2015-03-09 08:32:13 -07:00
Andrew Miner ff17d5f9ba Show markdown description text on item detail page
* Update build process to *not* copy over prerendered pages during a
  regular build (only during a `dist` build)
* Add dependency on npm "markdown" package and include it in the
  scripts loaded in the default layout
* Update the Item model to be able to load from a *.cg file
* Add an ItemParser to process the `item.cg` file
* Update the general parser to be able to work with HereDoc-style
  text blocks
* Add a markdown-specific stylesheet
* Add a sample of the `item.cg` file format (Advanced Crafting Table)
2015-03-08 22:24:15 -07:00
Andrew Miner f92e98674a Remove old IC2 data 2015-03-08 22:16:49 -07:00
Andrew Miner 6e090d3d59 Separate IC2-Classic and IC2-Exp 2015-03-08 20:39:48 -07:00
Andrew Miner 0a6c185965 Restructure static files into a single directory 2015-03-08 15:05:24 -07:00
Andrew Miner 997b37ab7d Bug: Don't redirect to browse page erroneously 2015-03-08 11:04:05 -07:00
Andrew Miner d43876c507 Replace GA code in prerendered pages 2015-03-07 15:13:56 -08:00
Andrew Miner 3e71e1eddd Update GA property code 2015-03-07 14:59:03 -08:00
Andrew Miner 4027a6eaa1 Re-route invalid browse paths 2015-03-07 14:47:14 -08:00
Andrew Miner f3f6a1036e Fix #116: Ensure "report a problem" works 2015-03-07 13:18:54 -08:00
Andrew Miner 4553a3af3e Add AdSense code 2015-03-07 10:30:24 -08:00
Andrew Miner 6c7274c38c Improve SEO by pre-rendering all HTML pages
* Change all internal links to use URLs ending in `/`
* Add the prerender script which uses PhantomJS to pre-render the
  HTML for all possible pages in the system
* Change the build process to incorporate the pre-rendered files
* Update the sitemap script to generate the new URLs
2015-03-06 22:31:39 -08:00
Andrew Miner a9dc4e3a26 wip 2015-03-06 22:31:29 -08:00
Andrew Miner 6a7f542414 Update README.md 2015-03-06 19:33:26 -08:00
Andrew Miner 58ce5fdd63 Add 'Cache-Control' header to S3 files 2015-03-04 23:31:00 -08:00
Andrew Miner 318cd6f8ee Replace aws CLI with s3cmd for better syncing 2015-03-04 22:52:37 -08:00
Andrew Miner 0e16088e6e Replace EnderIO logo 2015-03-04 21:51:27 -08:00
Andrew Miner 15d868b930 Update sitemap for new URL structure 2015-03-02 15:14:49 -08:00
Andrew Miner d7613764f2 Add social media sharing buttons 2015-03-01 18:52:24 -08:00
Andrew Miner 1eb89cf580 Fix another copper cable recipe for IC2 2015-03-01 17:49:46 -08:00
Andrew Miner e6f80ad4dc Add missing image for Railcraft Detector - Energy 2015-03-01 17:46:50 -08:00
Andrew Miner 8a978b5c47 Fix recipe for copper cable from IC2 2015-03-01 17:44:03 -08:00
Andrew Miner f9cab162d7 Allow "/configure/" as a route 2015-03-01 17:28:20 -08:00
Andrew Miner 2d9cf12f66 Update "What's new" section with proper dates 2015-03-01 17:19:49 -08:00
Andrew Miner 570242ec48 Update /craft URL on quantity changes 2015-03-01 17:18:28 -08:00
Andrew Miner c31e511080 Fix a bunch of internal links to avoid reloading 2015-03-01 16:38:12 -08:00
Andrew Miner d4e7cc6a39 Update jQuery-UI to latest version 2015-03-01 16:37:35 -08:00
Andrew Miner 6c40711f73 Improve perf. of mod version parsing
Add a SimpleStack model which is identical to the regular Stack model
except for not being a Backbone.Model subclass.  Since so many stacks
are created during mod version parsing, this makes about a 50%
difference in performance during loading.
2015-03-01 12:08:04 -08:00
Andrew Miner d530ff73a3 Ensure page titles are always correct 2015-03-01 11:18:30 -08:00
Andrew Miner ef63d6f110 Add initial version of the Browse page 2015-03-01 10:35:37 -08:00
Andrew Miner b79369980c Fix styling issue with Full Recipe view 2015-03-01 08:53:56 -08:00
Andrew Miner 7182a643ec Design the new "Browse" main page 2015-03-01 08:50:10 -08:00